From 836a8860991f1774571eeee692b0c7b49e648a97 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sun, 27 Feb 2022 12:27:17 +0100 Subject: [PATCH] [fix, i18n] Add gettext() to info text about UI fallback fonts (#8849) Fixes #8810. --- frontend/ui/elements/font_ui_fallbacks.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/ui/elements/font_ui_fallbacks.lua b/frontend/ui/elements/font_ui_fallbacks.lua index 7c1789425..4995fcff3 100644 --- a/frontend/ui/elements/font_ui_fallbacks.lua +++ b/frontend/ui/elements/font_ui_fallbacks.lua @@ -48,13 +48,13 @@ local genFallbackCandidates = function() end end -local more_info_text = [[ +local more_info_text = _([[ If some book titles, dictionary entries and such are not displayed well but shown as ￾￾ or ��, it may be necessary to download the required fonts for those languages. They can then be enabled as additional UI fallback fonts. Fonts for many languages can be downloaded at: https://fonts.google.com/noto -Only fonts named "Noto Sans xyz" or "Noto Sans xyz UI" (regular, not bold nor italic, not Serif) will be available in this menu.]] +Only fonts named "Noto Sans xyz" or "Noto Sans xyz UI" (regular, not bold nor italic, not Serif) will be available in this menu.]]) local getSubMenuItems = function() genFallbackCandidates()