[QBzr][MERGE] i18n: support for translations of QBzr interface

Alexander Belchenko bialix at ukr.net
Fri Oct 5 20:08:08 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Lukas,

This is final version of my patch for translation support of QBzr interface.
POT file and PO-translations placed by default to "po" subdirectory.
Compiled mo-files placed to "locale" subdirectory.
To generate POT file and update existing PO run command:
python setup.py build_pot
To translate PO-files to MO-files run command:
python setup.py build_mo
(The latter is the part of full build process, and will be invoked automatically
for each full build/install operation).

In run-time module bzrlib.plugins.qbzr.i18n try to determine absolute
path to "locale" subdirectory using his own absolute path. For translations
used unicode gettext function.

I tested this code with incomplete russian translation and it works for me.

I hope you could send to launchpad import request for POT file soon.

Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBouYzYr338mxwCURAnRQAJ0ZP2vumx9qxLpugBl5IGyV1t6VLQCfQ7eo
C/Jo6prTuMX1quCQGkzOnhk=
=iSEj
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bzr-mail-szv5ky.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20071005/0e84fbc6/attachment-0001.diff 


More information about the bazaar mailing list