diff options
Diffstat (limited to 'po/xgettext_sh.py')
-rwxr-xr-x | po/xgettext_sh.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/po/xgettext_sh.py b/po/xgettext_sh.py index 00a548a..6e5dddc 100755 --- a/po/xgettext_sh.py +++ b/po/xgettext_sh.py @@ -101,11 +101,13 @@ def print_pot(): def main(): i18n_tokens = [] - i18n_tokens.append(('echo', 0)) - i18n_tokens.append(('echo -n', 0)) - i18n_tokens.append(('echo -e', 0)) - i18n_tokens.append(('echo -en', 0)) - i18n_tokens.append(('echo -ne', 0)) +### "echo" commands don't translate, so their contents must not be +### included in the created *.pot file -- pablo@mandrakesoft.com +# i18n_tokens.append(('echo', 0)) +# i18n_tokens.append(('echo -n', 0)) +# i18n_tokens.append(('echo -e', 0)) +# i18n_tokens.append(('echo -en', 0)) +# i18n_tokens.append(('echo -ne', 0)) i18n_tokens.append(('action', 0)) i18n_tokens.append(('failure', 0)) i18n_tokens.append(('passed', 0)) |