mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-22 23:49:50 +00:00
Modify translation completeness labels in order for them to appear in Crowdin. (#14785)
This commit is contained in:
parent
4609c7f90a
commit
8b536ec35d
@ -8914,23 +8914,23 @@ MSG_HASH(
|
||||
"Yiddish - ײִדיש"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_95_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_95_PLUS,
|
||||
">95%"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_75_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_75_PLUS,
|
||||
"75-95%"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_50_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_50_PLUS,
|
||||
"50-74%"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_25_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_25_PLUS,
|
||||
"25-49%"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_25_MINUS,
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_25_MINUS,
|
||||
"<25%"
|
||||
)
|
||||
MSG_HASH( /* FIXME Should be MENU_LABEL_VALUE */
|
||||
|
@ -6908,11 +6908,11 @@ static void setting_get_string_representation_uint_user_language(
|
||||
modes[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)]);
|
||||
} else {
|
||||
rating = msg_hash_to_str(
|
||||
translated[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)] > 95 ? MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_95_PLUS :
|
||||
translated[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)] > 74 ? MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_75_PLUS :
|
||||
translated[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)] > 49 ? MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_50_PLUS :
|
||||
translated[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)] > 24 ? MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_25_PLUS :
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_25_MINUS);
|
||||
translated[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)] > 95 ? MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_95_PLUS :
|
||||
translated[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)] > 74 ? MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_75_PLUS :
|
||||
translated[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)] > 49 ? MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_50_PLUS :
|
||||
translated[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)] > 24 ? MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_25_PLUS :
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_25_MINUS);
|
||||
snprintf(s, len, "%s [%s]",
|
||||
modes[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)], rating);
|
||||
}
|
||||
|
11
msg_hash.h
11
msg_hash.h
@ -3075,11 +3075,12 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_VALUE_LANG_CATALAN_VALENCIA,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_WELSH,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_YIDDISH,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_95_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_75_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_50_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_25_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LANG_COMPLETION_25_MINUS,
|
||||
/* Entries beginning with MENU_ENUM_LABEL_VALUE_LANG will not be uploaded to Crowdin. */
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_95_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_75_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_50_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_25_PLUS,
|
||||
MENU_ENUM_LABEL_VALUE_LNG_COMPLETION_25_MINUS,
|
||||
MENU_ENUM_LABEL_VALUE_AI_SERVICE_IMAGE_MODE,
|
||||
MENU_ENUM_LABEL_VALUE_AI_SERVICE_SPEECH_MODE,
|
||||
MENU_ENUM_LABEL_VALUE_AI_SERVICE_NARRATOR_MODE,
|
||||
|
Loading…
Reference in New Issue
Block a user