Internationalisation of bzr cli
Ben Finney
ben+bazaar at benfinney.id.au
Fri Apr 29 23:24:02 UTC 2011
Martin Ueding <list at martin-ueding.de> writes:
> 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.
That exists only in the interactive interpreter.
Using ‘_’ for the ‘gettext’ alias is common practice in a lot of Python
code; I don't see a good reason not to use it here.
--
\ “I wish there was a knob on the TV to turn up the intelligence. |
`\ There's a knob called ‘brightness’ but it doesn't work.” |
_o__) —Eugene P. Gallagher |
Ben Finney
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110430/06f608c3/attachment.pgp>
More information about the bazaar
mailing list