Internationalisation of bzr cli
Jelmer Vernooij
jelmer at samba.org
Fri Apr 29 20:13:09 UTC 2011
On Fri, 2011-04-29 at 19:10 +0200, Martin Ueding wrote:
> What kind of alias should I use when wrapping strings?
>
> The underscore might be a little troublesome with its special value in
> the Python interpreter as the last return value.
>
> gettext.gettext is not very agile, is there something that would make
> sense and be obvious?
>
> gt() or _gt() or l10n() maybe?
FWIW bzr-gtk uses _i18n as the name for the function, and it lives in i18n.py.
Cheers,
Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110429/0715e426/attachment.pgp>
More information about the bazaar
mailing list