[opensuse-translation] Increase number of Plural forms
Hi, Now in Lithuania is 3 plural forms (1, 21, 31...; x2-x9; 10-20, 30, 40): "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>20) ? 1 : 2);\n" But I would like to have 4 plural forms (1; 21, 31...; x2-x9; 10-20, 30, 40...): "Plural-Forms: nplurals=4; plural=(n%10==1 ? 0 : n%10==1 && n%100!=11 ? 1 : n%10>2 && (n%100<10 || n%100>=20) ? 2 : 3);\n" This is because of diference of translating like "Copy file." from lcn/gnome-packagekit: if there is 1 file, it should be translated as "Kopijuoti rinkmeną."; if there are 21 files, it should be translated as "Kopijuoti rinkmenas". So translation is diferent. But now I must to translated "... rinkmeną", because 1, 21, 31, 41 is in same group... (of coure, all is OK, if some number is near the text, for example, 1 rinkmena, 21 rinkmena.) This idea arrived from Lithuanian KDE translation team. They already uses 4 plural forms. I also changed manualy my trunk translation locally (but not in svn - I not commited this yet for trunk) (2 days before commit in 11.3 was with 3 plural forms) So, can I commit 4 plural forms for trunk? If yes, can I do this simply, or I must do some additional changes? Translator to Lithuanian, Mindaugas Baranauskas -- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2010-08-02 23:41, Mindaugas Baranauskas wrote:
So, can I commit 4 plural forms for trunk? If yes, can I do this simply, or I must do some additional changes?
I have absolutely no experience in this, my language has just two forms (singular, plural), but I think you just commit it. The gettext libraries should just handle it. Then, try to run a program that uses the new form, and see what happens... Perhaps someone out there can make a simple program that prints several strings for testing. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" GM (Elessar)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkxXvg4ACgkQU92UU+smfQUqBwCcD5lEAK/at2YsT9gJCFo3L8gn nfkAn2NYOPL+93gNsT/UaypHttDm0G5e =AVgL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org
"Carlos E. R." <robin.listas@telefonica.net> writes:
On 2010-08-02 23:41, Mindaugas Baranauskas wrote:
So, can I commit 4 plural forms for trunk? If yes, can I do this simply, or I must do some additional changes?
I have absolutely no experience in this, my language has just two forms (singular, plural), but I think you just commit it. The gettext libraries should just handle it. Then, try to run a program that uses the new form, and see what happens...
Yes, I would not expect technical problems, as long as the expression is valid (C code). But, IIRC, I implemented something that enforces consistency. This means, you must change it everywhere in one hierarchy (yast, lcn, etc.). Start changing with the "header" file in the 50-memory directory. In case of trouble, please ask again. -- Karl Eichwalder R&D / Documentation SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-translation+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Karl Eichwalder
-
Mindaugas Baranauskas