All strings translatable in -help

This commit is contained in:
Denis Fomin 2013-08-26 00:59:46 +04:00
parent 2139105da2
commit 0320ad611b
1 changed files with 5 additions and 5 deletions

View File

@ -132,13 +132,13 @@ def parseOpts():
sys.exit(2) sys.exit(2)
for o, a in opts: for o, a in opts:
if o in ('-h', '--help'): if o in ('-h', '--help'):
print 'Usage: ' + \ print _('Usage:') + \
'\n gajim [options] filename\n' + \ '\n gajim [options] filename\n\n' + \
'\nOptions:' + \ _('Options:') + \
'\n -h, --help ' + \ '\n -h, --help ' + \
_('Show this help message and exit') + \ _('Show this help message and exit') + \
'\n -q, --quiet ' + _\ '\n -q, --quiet ' + \
('Show only critical errors') + \ _('Show only critical errors') + \
'\n -v, --verbose ' + \ '\n -v, --verbose ' + \
_('Print xml stanzas and other debug information') + \ _('Print xml stanzas and other debug information') + \
'\n -p, --profile ' + \ '\n -p, --profile ' + \