[ZBX-7085] different placeholder count in plural forms breaks translations Created: 2013 Oct 01 Updated: 2017 May 30 Resolved: 2013 Oct 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 2.1.6 |
Fix Version/s: | 2.1.9 |
Type: | Incident report | Priority: | Blocker |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | localisations | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
some zabbix translatable strings have a different amount of placeholders in singular and plural forms. this breaks pootle checks & gettext. for example : https://www.zabbix.org/pootle/ru/Zabbix-trunk/translate.html#filter=checks,printf it's currently unclear what would be the correct solution (reordering the placeholders does not seem to be it) |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Oct 15 ] |
The errors raised by having different placeholder count in singular and plural forms have been resolved by Rich in r39253. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Oct 15 ] |
(1) This _n() function must be changed so that the numeric parameter would come last. This will allow to omit it in translations if necessary. jelisejev RESOLVED in r39453. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Oct 21 ] |
RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7085. |
Comment by Eduards Samersovs (Inactive) [ 2013 Oct 23 ] |
Tested! |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Oct 23 ] |
Fixed in 2.1.9 r39499. CLOSED. |