| 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 |
| 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 |
|
|