aboutsummaryrefslogtreecommitdiff
path: root/src/client/fontengine.cpp
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2020-03-20 08:41:07 +0000
committerGitHub <noreply@github.com>2020-03-20 09:41:07 +0100
commit625b1005939e76d6a5b2d241635be3b8a89eb128 (patch)
tree07c47b2f6925a2da46dc6f648e8b35c3da02cf2b /src/client/fontengine.cpp
parent5c1b72544a6158346b7d8608c895678fe7d5a19b (diff)
downloadminetest-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.cpp8
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;