(Language) Greek translation of RetroArch

First steps of the translation.
Still a WIP. Most of the menu labels have been translated. Lots of sublabels still need translation.
This commit is contained in:
LamboLighting 2018-10-12 01:22:33 +03:00
parent 5b4473b948
commit 8509132ebd
9 changed files with 9952 additions and 2 deletions

View File

@ -308,7 +308,8 @@ OBJ += intl/msg_hash_de.o \
intl/msg_hash_vn.o \
intl/msg_hash_chs.o \
intl/msg_hash_cht.o \
intl/msg_hash_ar.o
intl/msg_hash_ar.o \
intl/msg_hash_el.o
endif

View File

@ -1035,6 +1035,7 @@ RETROARCH
#include "../intl/msg_hash_chs.c"
#include "../intl/msg_hash_cht.c"
#include "../intl/msg_hash_ar.c"
#include "../intl/msg_hash_el.c"
#endif
#include "../intl/msg_hash_us.c"

2256
intl/msg_hash_el.c Normal file

File diff suppressed because it is too large Load Diff

7677
intl/msg_hash_el.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1515,6 +1515,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_ARABIC,
"Arabic"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LANG_GREEK,
"Greek"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_LEFT_ANALOG,
"Left Analog"

View File

@ -271,6 +271,7 @@ enum retro_language
RETRO_LANGUAGE_POLISH = 14,
RETRO_LANGUAGE_VIETNAMESE = 15,
RETRO_LANGUAGE_ARABIC = 16,
RETRO_LANGUAGE_GREEK = 17,
RETRO_LANGUAGE_LAST,
/* Ensure sizeof(enum) == sizeof(int) */

View File

@ -1873,7 +1873,7 @@ static void setting_get_string_representation_uint_user_language(
modes[RETRO_LANGUAGE_POLISH] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_POLISH);
modes[RETRO_LANGUAGE_VIETNAMESE] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_VIETNAMESE);
modes[RETRO_LANGUAGE_ARABIC] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_ARABIC);
modes[RETRO_LANGUAGE_GREEK] = msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LANG_GREEK);
strlcpy(s, modes[*msg_hash_get_uint(MSG_HASH_USER_LANGUAGE)], len);
}
#endif

View File

@ -82,6 +82,9 @@ int menu_hash_get_help_enum(enum msg_hash_enums msg, char *s, size_t len)
case RETRO_LANGUAGE_ARABIC:
ret = menu_hash_get_help_ar_enum(msg, s, len);
break;
case RETRO_LANGUAGE_GREEK:
ret = menu_hash_get_help_el_enum(msg, s, len);
break;
default:
break;
}
@ -151,6 +154,9 @@ const char *msg_hash_to_str(enum msg_hash_enums msg)
case RETRO_LANGUAGE_ARABIC:
ret = msg_hash_to_str_ar(msg);
break;
case RETRO_LANGUAGE_GREEK:
ret = msg_hash_to_str_el(msg);
break;
default:
break;
}

View File

@ -1838,6 +1838,7 @@ enum msg_hash_enums
MENU_ENUM_LABEL_VALUE_LANG_POLISH,
MENU_ENUM_LABEL_VALUE_LANG_VIETNAMESE,
MENU_ENUM_LABEL_VALUE_LANG_ARABIC,
MENU_ENUM_LABEL_VALUE_LANG_GREEK,
MENU_ENUM_LABEL_VALUE_NONE,
MENU_ENUM_LABEL_VALUE_NO_INFORMATION_AVAILABLE,
@ -2443,6 +2444,9 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_ar(enum msg_hash_enums msg);
int menu_hash_get_help_ar_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_el(enum msg_hash_enums msg);
int menu_hash_get_help_el_enum(enum msg_hash_enums msg, char *s, size_t len);
int menu_hash_get_help_enum(enum msg_hash_enums msg, char *s, size_t len);
enum msg_file_type msg_hash_to_file_type(uint32_t hash);