A. Notice: \r escape sequence in pt.po
pt:
msgmerge pt.po tmw.pot -o pt.new.po
..................... done.
pt.po:796: internationalized messages should not contain the `\r' escape sequence
pt.po:803: internationalized messages should not contain the `\r' escape sequence
pt.po:810: internationalized messages should not contain the `\r' escape sequence
pt.po:817: internationalized messages should not contain the `\r' escape sequence
Code: Select all
msgid "Attack:"
msgstr ""
"Copy text \t\r\n"
"Ataque %+d"
B. Question: Non valid C format strings in sv.po
Not sure how to work around this, I wasn’t able to escape the percentage sign. “% A...â€ÂÂ, “% E...†and “% R...†works, but for instance “% T†does not. Personally I would change the text from “% Accuracy: __†to “Accuracy: __ %â€ÂÂ, then this problem is solved, but I’m still curious how to enter a percentage sign in the gettext msgs.rm -f sv.gmo && /usr/bin/msgfmt -c --statistics -o sv.gmo sv.po
sv.po:808: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 1, the character 'T' is not a valid conversion specifier.
sv.po:813: 'msgstr' is not a valid C format string, unlike 'msgid'. Reason: In the directive number 1, the character 'U' is not a valid conversion specifier.
/usr/bin/msgfmt: found 2 fatal errors
C. Strings not marked for translation
I’m willing to go through the source and enable gettext support for more strings (both the eAthena as the tmwserv client), if I’m ‘allowed’, a few questions:
- tmwserv: is the server messages translateable as of now?
- Error/log messages: the wiki says they shouldn’t be translated, personally I support translation of them; when English debug messages are needed they can be given with “LANG=C tmw†or some such, and having them in your own language as a user can help quite much
- As of now some strings are translateable as “Label: %d†and others “Label:â€ÂÂ, which should be used? (I guess the first way could be mandatory for some languages in some cases, even if I cannot come up with any real scenario in my mind just now.)