mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add comments for translators (#9510)
* Add translator comments for "special" strings * Add translator comments for some "tricky" strings
This commit is contained in:
parent
5c1b72544a
commit
625b100593
8 changed files with 30 additions and 0 deletions
|
@ -194,6 +194,14 @@ void FontEngine::readSettings()
|
|||
m_default_size[FM_Fallback] = m_settings->getU16("fallback_font_size");
|
||||
m_default_size[FM_Mono] = m_settings->getU16("mono_font_size");
|
||||
|
||||
/*~ DO NOT TRANSLATE THIS LITERALLY!
|
||||
This is a special string. Put either "no" or "yes"
|
||||
into the translation field (literally).
|
||||
Choose "yes" if the language requires use of the fallback
|
||||
font, "no" otherwise.
|
||||
The fallback font is (normally) required for languages with
|
||||
non-Latin script, like Chinese.
|
||||
When in doubt, test your translation. */
|
||||
m_currentMode = is_yes(gettext("needs_fallback_font")) ?
|
||||
FM_Fallback : FM_Standard;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue