diff options
author | Wuzzy <wuzzy2@mail.ru> | 2020-03-20 08:41:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-20 09:41:07 +0100 |
commit | 625b1005939e76d6a5b2d241635be3b8a89eb128 (patch) | |
tree | 07c47b2f6925a2da46dc6f648e8b35c3da02cf2b /src/client/fontengine.cpp | |
parent | 5c1b72544a6158346b7d8608c895678fe7d5a19b (diff) | |
download | minetest-625b1005939e76d6a5b2d241635be3b8a89eb128.tar.xz |
Add comments for translators (#9510)
* Add translator comments for "special" strings
* Add translator comments for some "tricky" strings
Diffstat (limited to 'src/client/fontengine.cpp')
-rw-r--r-- | src/client/fontengine.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/fontengine.cpp b/src/client/fontengine.cpp index 26ceda4c5..2b5841cd8 100644 --- a/src/client/fontengine.cpp +++ b/src/client/fontengine.cpp @@ -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; |