Summary: | In plural message text only %2 is present | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Freek de Kruijf <f.de.kruijf> |
Component: | Cryptography Plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | charles |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Freek de Kruijf
2008-10-13 01:54:37 UTC
This is not really a bug. I have taken the reworking suggestions you have made, but left the %2 usage. Here's why: The call to i18ncp use its fourth argument to determine if the singular or plural message should be used. This argument would appear in the string in place of the %1 placeholder. However, I do not want this number to appear in the string. So, I provide the i18ncp call with a fifth argument, containing the string I want my placeholder replaced with. This string must be referenced by %2, since it is the fifth argument, and that is how i18ncp does its numbering. |