* no more untranslated "options:", "--version", "--help" definitions.

(special thanks go to gurer-san.)
This commit is contained in:
Faik Uygur
2006-09-27 12:01:04 +00:00
parent d39e75c575
commit 43144be9c1
5 changed files with 1430 additions and 561 deletions
+2
View File
@@ -22,6 +22,8 @@ import pisi.context as ctx
import pisi.cli.pisicli as pisicli import pisi.cli.pisicli as pisicli
import gettext import gettext
gettext.bindtextdomain('pisi', "/usr/share/locale")
gettext.textdomain('pisi')
__trans = gettext.translation('pisi', fallback=True) __trans = gettext.translation('pisi', fallback=True)
_ = __trans.ugettext _ = __trans.ugettext
+476 -185
View File
File diff suppressed because it is too large Load Diff
+478 -186
View File
File diff suppressed because it is too large Load Diff
+473 -189
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
find pisi -iname '*.py' | grep -v pisi/cli/commands.py >exclude 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/tr.po po/pisi.pot
msgmerge -U po/nl.po po/pisi.pot msgmerge -U po/nl.po po/pisi.pot
rm exclude rm exclude