From 625b1005939e76d6a5b2d241635be3b8a89eb128 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 20 Mar 2020 08:41:07 +0000 Subject: Add comments for translators (#9510) * Add translator comments for "special" strings * Add translator comments for some "tricky" strings --- src/client/fontengine.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/client/fontengine.cpp') 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; -- cgit v1.2.3