Add support for i18n_plural(): Translation of plural forms
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 12 Dec 2011 16:55:16 +0000 (17:55 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 12 Dec 2011 16:55:16 +0000 (17:55 +0100)
commit0f10aacae682feb48bbb55b24172173ac332ef7b
tree0f794923e58c88aec454180f364a75707bd11f70
parent4e8888606859fbdd0aa5cf7397daed4461f1e16f
Add support for i18n_plural(): Translation of plural forms

To recognize our custom i18n_plural keyword in poedit, use this syntax:

i18n_plural:1,2

We also need to set a "plural form" in poedit. Example for German:

nplurals=2; plural=n != 1;
src/i18n.h
test/test_i18n.cpp