Hook up remaining languages

This commit is contained in:
twinaphex 2019-08-22 22:20:31 +02:00
parent 84491736ab
commit 32029731c0
21 changed files with 211 additions and 44 deletions

View File

@ -3938,6 +3938,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -4956,6 +4956,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -3714,6 +3714,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -3843,6 +3843,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -7920,6 +7920,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -3602,6 +3602,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -8072,6 +8072,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -8860,6 +8860,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -3823,6 +3823,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -9235,6 +9235,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -9067,6 +9067,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -3596,6 +3596,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -4387,6 +4387,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -9147,6 +9147,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -3668,6 +3668,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -3866,6 +3866,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -8872,6 +8872,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -9211,6 +9211,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -3758,6 +3758,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
"Estonian"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
"Filipino"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
"Finnish"

View File

@ -2854,51 +2854,141 @@ static void setting_get_string_representation_uint_ai_service_lang(
case TRANSLATION_LANG_NL:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_DUTCH;
break;
case TRANSLATION_LANG_CS:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_CZECH;
break;
case TRANSLATION_LANG_DA:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_DANISH;
break;
/* TODO/FIXME */
case TRANSLATION_LANG_CS: /* Czech */
case TRANSLATION_LANG_DA: /* Danish */
case TRANSLATION_LANG_SV: /* Swedish */
case TRANSLATION_LANG_HR: /* Croatian */
case TRANSLATION_LANG_CA: /* Catalan */
case TRANSLATION_LANG_BG: /* Bulgarian */
case TRANSLATION_LANG_BN: /* Bengali */
case TRANSLATION_LANG_EU: /* Basque */
case TRANSLATION_LANG_AZ: /* Azerbaijani */
case TRANSLATION_LANG_SQ: /* Albanian */
case TRANSLATION_LANG_AF: /* Afrikaans */
case TRANSLATION_LANG_ET: /* Estonian */
case TRANSLATION_LANG_FI: /* Finnish */
case TRANSLATION_LANG_GL: /* Galician */
case TRANSLATION_LANG_KA: /* Georgian */
case TRANSLATION_LANG_GU: /* Gujarati */
case TRANSLATION_LANG_HT: /* Haitian Creole */
case TRANSLATION_LANG_IW: /* Hebrew */
case TRANSLATION_LANG_HI: /* Hindi */
case TRANSLATION_LANG_HU: /* Hungarian */
case TRANSLATION_LANG_IS: /* Icelandic */
case TRANSLATION_LANG_ID: /* Indonesian */
case TRANSLATION_LANG_GA: /* Irish */
case TRANSLATION_LANG_KN: /* Kannada */
case TRANSLATION_LANG_LA: /* Latin */
case TRANSLATION_LANG_LV: /* Latvian */
case TRANSLATION_LANG_LT: /* Lithuanian */
case TRANSLATION_LANG_MK: /* Macedonian */
case TRANSLATION_LANG_MS: /* Malay */
case TRANSLATION_LANG_MT: /* Maltese */
case TRANSLATION_LANG_NO: /* Norwegian */
case TRANSLATION_LANG_FA: /* Persian */
case TRANSLATION_LANG_RO: /* Romanian */
case TRANSLATION_LANG_SR: /* Serbian */
case TRANSLATION_LANG_SK: /* Slovak */
case TRANSLATION_LANG_SL: /* Slovenian */
case TRANSLATION_LANG_SW: /* Swahili */
case TRANSLATION_LANG_TA: /* Tamil */
case TRANSLATION_LANG_TE: /* Telugu */
case TRANSLATION_LANG_TH: /* Thai */
case TRANSLATION_LANG_UK: /* Ukrainian */
case TRANSLATION_LANG_UR: /* Urdu */
case TRANSLATION_LANG_CY: /* Welsh */
case TRANSLATION_LANG_YI: /* Yiddish */
case TRANSLATION_LANG_SV:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_SWEDISH;
break;
case TRANSLATION_LANG_HR:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_CROATIAN;
break;
case TRANSLATION_LANG_CA:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_CATALAN;
break;
case TRANSLATION_LANG_BG:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_BULGARIAN;
break;
case TRANSLATION_LANG_BN:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_BENGALI;
break;
case TRANSLATION_LANG_EU:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_BASQUE;
break;
case TRANSLATION_LANG_AZ:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_AZERBAIJANI;
break;
case TRANSLATION_LANG_SQ:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_ALBANIAN;
break;
case TRANSLATION_LANG_AF:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_AFRIKAANS;
break;
case TRANSLATION_LANG_ET:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN;
break;
case TRANSLATION_LANG_TL:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_FILIPINO;
break;
case TRANSLATION_LANG_FI:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_FINNISH;
break;
case TRANSLATION_LANG_GL:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_GALICIAN;
break;
case TRANSLATION_LANG_KA:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_GEORGIAN;
break;
case TRANSLATION_LANG_GU:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_GUJARATI;
break;
case TRANSLATION_LANG_HT:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_HAITIAN_CREOLE;
break;
case TRANSLATION_LANG_IW:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_HEBREW;
break;
case TRANSLATION_LANG_HI:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_HINDI;
break;
case TRANSLATION_LANG_HU:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_HUNGARIAN;
break;
case TRANSLATION_LANG_IS:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_ICELANDIC;
break;
case TRANSLATION_LANG_ID:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_INDONESIAN;
break;
case TRANSLATION_LANG_GA:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_IRISH;
break;
case TRANSLATION_LANG_KN:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_KANNADA;
break;
case TRANSLATION_LANG_LA:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_LATIN;
break;
case TRANSLATION_LANG_LV:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_LATVIAN;
break;
case TRANSLATION_LANG_LT:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_LITHUANIAN;
break;
case TRANSLATION_LANG_MK:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_MACEDONIAN;
break;
case TRANSLATION_LANG_MS:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_MALAY;
break;
case TRANSLATION_LANG_MT:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_MALTESE;
break;
case TRANSLATION_LANG_NO:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_NORWEGIAN;
break;
case TRANSLATION_LANG_FA:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_PERSIAN;
break;
case TRANSLATION_LANG_RO:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_ROMANIAN;
break;
case TRANSLATION_LANG_SR:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_SERBIAN;
break;
case TRANSLATION_LANG_SK:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_SLOVAK;
break;
case TRANSLATION_LANG_SL:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_SLOVENIAN;
break;
case TRANSLATION_LANG_SW:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_SWAHILI;
break;
case TRANSLATION_LANG_TA:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_TAMIL;
break;
case TRANSLATION_LANG_TE:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_TELUGU;
break;
case TRANSLATION_LANG_TH:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_THAI;
break;
case TRANSLATION_LANG_UK:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_UKRAINIAN;
break;
case TRANSLATION_LANG_UR:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_URDU;
break;
case TRANSLATION_LANG_CY:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_WELSH;
break;
case TRANSLATION_LANG_YI:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_YIDDISH;
break;
case TRANSLATION_LANG_RU:
enum_idx = MENU_ENUM_LABEL_VALUE_LANG_RUSSIAN;

View File

@ -2095,6 +2095,7 @@ enum msg_hash_enums
MENU_ENUM_LABEL_VALUE_LANG_ALBANIAN,
MENU_ENUM_LABEL_VALUE_LANG_AFRIKAANS,
MENU_ENUM_LABEL_VALUE_LANG_ESTONIAN,
MENU_ENUM_LABEL_VALUE_LANG_FILIPINO,
MENU_ENUM_LABEL_VALUE_LANG_FINNISH,
MENU_ENUM_LABEL_VALUE_LANG_GALICIAN,
MENU_ENUM_LABEL_VALUE_LANG_GEORGIAN,