Quoting Christian Biere <[EMAIL PROTECTED]> from ml.softs.gtk-gnutella.devel: :Personally, I don't understand why people have a problem with :"1 sources" or "1 Quellen". Human language needs redundance but :actually requesting perfect grammar from a machine that hasn't :got a single IQ is highly questionable - to say the least. As a :compromise I'd just stick to "1 source(s)" and translate it with :"1 Quelle(n)".
I beg to differ. Everytime I see "1 sources", I'm shocked. It hurts. When I see "1 source(s)", that makes me puke. What, a program that cannot count? Or rather, a programmer too lazy to generate correct English! Aargh! People have no respect for correct syntax and grammar any more? No. Never in gtk-gnutella. Please! :I'm afraid that ngettext() is no option. We'd lose the ability to :check format strings at compile-time and we'd have to "translate" :English messages for the plural form. gtk-gnutella should be :compilable without NLS. Also I have no idea how you can properly :translate "%u match(es) in %u result(s)" because this might require :3 (if not 4) translations and sometimes you might have to change the :order of the elements. This is all possible, but in my humble opinion :it's abusing the "format string" interface and not worth the price. For all the translated strings, we could make the little effort to generate them dynamically and correctly. For all the strings in g_message(), g_warning() and others, I don't want to translate them or have them translated. That would really make the code heavier and harder to read, needlessly. Those are mostly meant for debugging anyway, and if something is really important (like for mandatory warnings), we can make some exceptions when it is justified. Raphael ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Gtk-gnutella-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
