Open main menu

Difference between revisions of "HOWTO-Translate ScummVM GUI"

m
→‎FAQ: Add one question to FAQ
(Add list of po file editors)
m (→‎FAQ: Add one question to FAQ)
Line 54: Line 54:
=== What does c-format means? ===
=== What does c-format means? ===
The c-format flag indicates that the untranslated string and the translation are supposed to be C format strings (as used by printf()). These strings have format specifiers (e.g. %d, %s) to indicate that numbers or sub-strings are inserted at run time into the string. These specifiers should be kept in the translation in the same order as they are present in the english string (see [[#Limitations|Limitations]]).
The c-format flag indicates that the untranslated string and the translation are supposed to be C format strings (as used by printf()). These strings have format specifiers (e.g. %d, %s) to indicate that numbers or sub-strings are inserted at run time into the string. These specifiers should be kept in the translation in the same order as they are present in the english string (see [[#Limitations|Limitations]]).
=== Why are some strings preceded by '#~'? ===
They are obsolete strings that were used in the past in ScummVM but have since been removed. They are kept in the file to help translators (e.g. if the string is added back or a similar string is added), but will not be used in ScummVM. There is therefore no need to translate those.


=== What are "Plural-forms"? ===
=== What are "Plural-forms"? ===
TrustedUser
2,147

edits