[PATCH] i18n: unmark untranslatable string
Wagner Bruna
wagner.bruna+mercurial at gmail.com
Thu Oct 21 13:04:38 UTC 2010
On 10/20/2010 08:16 PM, Laurens Holst wrote:
> Op 18-10-2010 14:34, Martin Geisler schreef:
>> timeless<timeless at gmail.com> writes:
>>
>>> On Mon, Sep 13, 2010 at 4:38 PM, Martin Geisler<mg at lazybytes.net>
>>> wrote:
>>>> Wagner Bruna<wagner.bruna+mercurial at gmail.com> writes:
>>>>
>>>>> # HG changeset patch
>>>>> # User Wagner Bruna<wbruna at softwareexpress.com.br>
>>>>> # Date 1284383081 10800
>>>>> # Node ID 02da067e2848847d9cc83fc961fcb45c9cebfba0
>>>>> # Parent 5f1f0ff652a982ad2295d46444cec9064e698f3b
>>>>> i18n: unmark untranslatable string
>>>> Yeah, that makes sense :) Pushed as 0c605364373c, thanks!
>>> Is this technically correct? Couldn't a linguist want to use<<%s>>
>>> or random whitespace between () and %s or use [] or ...?
>> I see what you mean -- you're fraid there is a language where
>> parenthesis look different than they do in English?
>>
>> If that problem ever occurs, then I'm happy to put it back in.
>
> It’s the case in Japanese, they use full-width parentheses:
> ()(U+FF08 U+FF09).
>
> See e.g. right at the top on http://ja.wikipedia.org/wiki/Mercurial
>
> Also for quote marks they use 「」, but I guess you normally already
> include these as translatable as they also differ in western languages
> that use (e.g. «» in French).
All right, I stand corrected :-)
But the translator may still miss a bit more context for this
particular case (to know that "(%s)" is text: the parenthesis on
things like "heads(branch)" should not be replaced!). Looks like
update-pot currently don't extract comments; I'll experiment a bit
with that.
Regards,
Wagner
> ~Laurens
More information about the Mercurial-devel
mailing list