[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] uptime module i18n

Massimo Maiurana wrote:
trying to update the italian translation for uptime I found that in
e_mod_main.c there is now this line:

snprintf(users, sizeof(users), D_("user%s: %d"), (inst->nusers != 1)
? "s" : "", inst->nusers);

for what I understand this assumes that the way to obtain a plural
name is to add an "s" in the word, but unfortunately this is true
for english and false for (almost?) every other language.
the result is an untranslatable item (I should remove "%s" to
translate it, but msgfmt will complain about it).


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo


enlightenment-devel mailing list

Fixed this in cvs by adding some if statements are it so that is users == 1 it will print just user, and if users > 1 it will print users. You should now be able to translate "user" and "users".