/[d-i]/trunk/installer/doc/manual/scripts/mark_untranslated.awk
ViewVC logotype

Diff of /trunk/installer/doc/manual/scripts/mark_untranslated.awk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 23464 by fjpop-guest, Mon Sep 27 18:43:52 2004 UTC revision 23465 by fjpop-guest, Mon Oct 25 16:56:18 2004 UTC
# Line 25  BEGIN { Line 25  BEGIN {
25      line = $0      line = $0
26      gsub(/^#: [^:]*:/, "", line)      gsub(/^#: [^:]*:/, "", line)
27      TPOS = index(line, ", ")      TPOS = index(line, ", ")
28        if (STRLINE == "") {
29            STRLINE_FIRST = line
30        }
31      STRLINE_PREV = STRLINE      STRLINE_PREV = STRLINE
32      if (TPOS == 0) {      if (TPOS == 0) {
33          STRLINE = line          STRLINE = line
# Line 91  BEGIN { Line 94  BEGIN {
94    
95  END {  END {
96      if (TRANS_STATUS == 0) {      if (TRANS_STATUS == 0) {
97          print "** Strings look untranslated: " UNTRANS_START " - " STRLINE >"/dev/stderr"          if (UNTRANS_START == STRLINE_FIRST) {
98                print "** File looks untranslated (" UNTRANS_START " - " STRLINE ")" >"/dev/stderr"
99            } else {
100                print "** Strings look untranslated: " UNTRANS_START " - " STRLINE >"/dev/stderr"
101            }
102      }      }
103  }  }
104    

Legend:
Removed from v.23464  
changed lines
  Added in v.23465

  ViewVC Help
Powered by ViewVC 1.1.5