#2179 i18n strings do not use named substitutions
Closed: Fixed None Opened 12 years ago by jdennis.

Word ordering is locale dependent, if there are more than one format substitution in a string (e.g. %s) the translator may need to reorder the wording. But if the format substitutions use positional arguments the translator cannot reorder. Instead you should always used named format substitutions (e.g. %(name)s), this permits reordering.

Attached are the current xgettext warning from both the ipa-2-1 branch and the master branch.

I was going just update the strings myself but I realized some of the substitutions had logical meanings I did not immediately comprehend. The edit should be done by someone familiar with the intent or at a moment when there is more time to investigate the intended meaning than I felt I had available today.


xgettext warnings in ipa-2-1 branch
warnings.ipa-2-1

xgettext warnings in master branch
warnings.master

Needs to be fixed before the string freeze.

Metadata Update from @jdennis:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/02

7 years ago

Login to comment on this ticket.

Metadata