[packagekit] Translations: Ambiguous, unclear and other dodgy messages

Ville-Pekka Vainio vpivaini at cs.helsinki.fi
Wed Oct 15 12:53:55 PDT 2008


Nils and Richard, thanks for working on the messages.

Nils Philippsen wrote:
> (1): Then, I don't know how likely it is that there is a language that
> would reverse the order of both placeholders (en_YODA maybe ;-), but to
> be 100% on the safe-side you could use indexed placeholders wherever
> there is more than one placeholder used:
>
> #. TRANSLATORS: The package named %1$s was not found in any software
> sources, the error is %2$s
> #: ../client/pk-console.c:555
> #, c-format
> msgid "The package '%1$s' could not be installed: %2$s"
> msgstr ""
>
> Maybe always using indexed placeholders (when there are 2 or more) helps
> getting used to that strange notation...

Are you sure the indexed placeholders are needed in the msgid to allow the 
order to be changed? I believe the translators can change the order with %1$ 
and so even if the indexes are not in the msgid.


-- 
Ville-Pekka Vainio



More information about the PackageKit mailing list