* no more untranslated "options:", "--version", "--help" definitions.
(special thanks go to gurer-san.)
This commit is contained in:
@@ -22,6 +22,8 @@ import pisi.context as ctx
|
||||
import pisi.cli.pisicli as pisicli
|
||||
|
||||
import gettext
|
||||
gettext.bindtextdomain('pisi', "/usr/share/locale")
|
||||
gettext.textdomain('pisi')
|
||||
__trans = gettext.translation('pisi', fallback=True)
|
||||
_ = __trans.ugettext
|
||||
|
||||
|
||||
+478
-186
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
find pisi -iname '*.py' | grep -v pisi/cli/commands.py >exclude
|
||||
python tools/pygettext.py -D -X exclude -o po/pisi.pot pisi pisi-cli scripts
|
||||
python tools/pygettext.py -D -X exclude -o po/pisi.pot pisi pisi-cli scripts /usr/lib/python2.4/optparse.py
|
||||
msgmerge -U po/tr.po po/pisi.pot
|
||||
msgmerge -U po/nl.po po/pisi.pot
|
||||
rm exclude
|
||||
|
||||
Reference in New Issue
Block a user