[smc-discuss] Error in nautilus .po

Praveen A pravi.a at gmail.com
Sat Mar 24 01:51:24 PDT 2012


2012, മാര്‍ച്ച് 24 12:34 am നു, Aslam Muhammad <aslamckra at gmail.com> എഴുതി:
>
>
> Here is my .po file. Please check. Thanks in advance.
>
> got this error nautilus.master.ml.old.po:1643: format specifications in
> 'msgid_plural' and 'msgstr[0]' for argument 1 are not the same msgfmt: found
> 2 fatal errors
>
> how to rectify?

Since you are changing the order of parameters (%s before %d), you
have to explicitly mention it.

msgid "Duplicate %d item in '%s'"
msgid_plural "Duplicate %d items in '%s'"
msgstr[0] "'%2$s' ല്‍ %1$d ഇനത്തിന്റെ തനിപ്പകര്‍പ്പുണ്ടാക്കുക"
msgstr[1] "'%2$s' ല്‍ %1$d ഇനങ്ങള്‍ക്ക് തനിപ്പകര്‍പ്പുണ്ടാക്കുക"

I would have also made the same mistake because it is different types
(not two %s or two %d).

-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
You have to keep reminding your government that you don't get your
rights from them; you give them permission to rule, only so long as
they follow the rules: laws and constitution.


More information about the discuss mailing list