[kopete-bugs] [Bug 172690] In plural message text only %2 is present

Charles Connell charles at connells.org
Mon Nov 17 22:43:20 CET 2008


http://bugs.kde.org/show_bug.cgi?id=172690


Charles Connell charles connells org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Charles Connell <charles connells org>  2008-11-17 22:43:19 ---
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.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list