List of suggestions

Laurens Holst laurens.nospam at grauw.nl
Fri Dec 9 19:13:57 CST 2011


Op 9-12-2011 23:26, Fabian Kreutz schreef:
> then there is for so many keywords (that take no argument):
> msgid "mq takes no arguments"
> msgid "modified takes no arguments"
> msgid "added takes no arguments"
> msgid "removed takes no arguments"
> msgid "deleted takes no arguments"
> msgid "unknown takes no arguments"
> msgid "ignored takes no arguments"
> msgid "clean takes no arguments"
> msgid "binary takes no arguments"
> msgid "exec takes no arguments"
> msgid "symlink takes no arguments"
> msgid "resolved takes no arguments"
> msgid "unresolved takes no arguments"
> msgid "hgignore takes no arguments"
> msgid "copied takes no arguments"
> msgid "closed takes no arguments"
> msgid "follow takes no arguments"
> msgid "all takes no arguments"
> msgid "head takes no arguments"
> msgid "merge takes no arguments"
>
> Why not _("%s takes no arguments") % 'Zoidberg'?
> It's even defined in two files only:
> mercurial/fileset.py
> mercurial/revset.py

That is probably not a good idea, as in various language the conjugation 
of the verb can change based on the name. Afaik this includes several 
slavic languages like Russian, Ukrainian and Polish.

To give an example of a similar problem in English, consider if all 
these strings were prefixed with ‘a’, whether you should write ‘a’ or 
‘an’ depends on the pronunciation of the noun.

Therefore even though there is some amount of duplication here, it is 
still best to retain as much context in translation strings as possible.

~Laurens

-- 
~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, developer, Utrecht, the Netherlands
Website: www.grauw.nl. Working @ www.roughcookie.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4332 bytes
Desc: S/MIME cryptografische ondertekening
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20111210/37bd0e95/attachment.bin>


More information about the Mercurial-devel mailing list