mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-09 03:29:43 -10:00
(Intl) Drop "Restart required" from the languages that no longer need it
42a711f made a menu language change rebuild the fonts in place, so
Arabic, Persian, Chinese (both) and Korean take effect immediately.
Their labels still told the user to restart.
Only those five. Nine language labels keep the note, for two different
reasons:
Thai is selectable and does still need one, though a restart will not
help either: it has no case in font_driver_language_font_file()
because no shipped font has the glyphs. Reading the cmap tables,
fallback-font.ttf covers Arabic and Georgian but not U+0E01, and
neither Chinese nor Korean fallback covers it. Thai needs an asset
before it needs code, and until then the label is at least a hint that
something is wrong.
The other eight - Bengali, Georgian, Gujarati, Hindi, Kannada, Tamil,
Telugu, Urdu - are not selectable as UI languages at all. They are AI
translation targets; RETRO_LANGUAGE stops at Thai and none of them
appear in the LANG_DATA list the selector is built from. Their labels
never show up next to a restart prompt, so the note is inert there.
Worth knowing before someone reads the remaining nine as a to-do list:
only one of them is.
Two of those eight would work today if they were selectable, which is
the useful part of having looked: fallback-font.ttf covers Georgian
(U+10D0) and Urdu renders through Arabic script. Whoever adds them to
RETRO_LANGUAGE gets the font for free.
intl/msg_hash_us.h only. No other translation carries these strings.
This commit is contained in:
1 parent
534f21cb4f
commit
a147b6dbdc
1 file changed
+5
-5
+5
-5
@@ -25374,7 +25374,7 @@ MSG_HASH(
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_ARABIC,
|
||||
"Arabic - العربية (Restart required)"
|
||||
"Arabic - العربية"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_ASTURIAN,
|
||||
@@ -25406,11 +25406,11 @@ MSG_HASH(
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_CHINESE_SIMPLIFIED,
|
||||
"Chinese (Simplified) - 简体中文 (Restart required)"
|
||||
"Chinese (Simplified) - 简体中文"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_CHINESE_TRADITIONAL,
|
||||
"Chinese (Traditional) - 繁體中文 (Restart required)"
|
||||
"Chinese (Traditional) - 繁體中文"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_CROATIAN,
|
||||
@@ -25518,7 +25518,7 @@ MSG_HASH(
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_KOREAN,
|
||||
"Korean - 한국어 (Restart required)"
|
||||
"Korean - 한국어"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_LATIN,
|
||||
@@ -25550,7 +25550,7 @@ MSG_HASH(
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_PERSIAN,
|
||||
"Persian - فارسی (Restart required)"
|
||||
"Persian - فارسی"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_POLISH,
|
||||
|
||||
Reference in new issue
Block a user