Difference between revisions of "Supporting GUI Translation"

Jump to navigation Jump to search
m
Text replacement - "<source lang=" to "<syntaxhighlight lang="
(Fix syntax highlighting)
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=")
Line 11: Line 11:
If you want to give some additional explanations to the translators, or your string could be understood in a different ways, it is recommended to precede it with a comment tagged I18N.
If you want to give some additional explanations to the translators, or your string could be understood in a different ways, it is recommended to precede it with a comment tagged I18N.


<source lang="cpp">
<syntaxhighlight lang="cpp">
// I18N: This is explanation to the line below and will be included in .pot and .po files
// I18N: This is explanation to the line below and will be included in .pot and .po files
static const char *foo = _s("Some translatable text");
static const char *foo = _s("Some translatable text");
TrustedUser
2,147

edits

Navigation menu