diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-23 20:15:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-23 20:15:59 +0000 |
commit | 3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72 (patch) | |
tree | 0f0e78f3634deed3d2c36161430ecbdbd6b53bf2 /po | |
parent | a4a25465cd2844d72bf518188b813c009450f505 (diff) | |
download | initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.gz initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.bz2 initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.tar.xz initscripts-3b0c07cb110c35ecb9b68ccc0fce8ed5f865cd72.zip |
tag action, runcmd, etc. lines as well
Diffstat (limited to 'po')
-rw-r--r-- | po/xgettext_sh.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/po/xgettext_sh.py b/po/xgettext_sh.py index f26dd830..ce0021ec 100644 --- a/po/xgettext_sh.py +++ b/po/xgettext_sh.py @@ -39,11 +39,11 @@ def xgettext(arq, tokens_i18n): elif l[0:1] == '\n': continue else: for token in tokens_i18n: - pos = find(l, token + ' "') + pos = find(l, token + ' $"') if pos != -1: text = split(l[pos:], '"')[1] - if find (text, '$') != -1: - continue + #if find (text, '$') != -1: + # continue if s.has_key(text): s[text].append((arq, line)) else: @@ -75,7 +75,7 @@ def print_pot(): def main(): i18n_tokens = [] - i18n_tokens.append('gprintf') + i18n_tokens.append('echo') i18n_tokens.append('action') i18n_tokens.append('failure') i18n_tokens.append('passed') |