Merge pull request #3889 from 9chu/master

Adding translation for Simplified Chinese
This commit is contained in:
Twinaphex 2016-10-29 06:49:34 +02:00 committed by GitHub
commit 6699b8efd2
4 changed files with 4823 additions and 1 deletions

View File

@ -247,7 +247,8 @@ OBJ += intl/msg_hash_de.o \
intl/msg_hash_pl.o \
intl/msg_hash_pt.o \
intl/msg_hash_ru.o \
intl/msg_hash_vn.o
intl/msg_hash_vn.o \
intl/msg_hash_chs.o
endif

4812
intl/msg_hash_chs.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -68,6 +68,9 @@ int menu_hash_get_help_enum(enum msg_hash_enums msg, char *s, size_t len)
case RETRO_LANGUAGE_VIETNAMESE:
ret = menu_hash_get_help_vn_enum(msg, s, len);
break;
case RETRO_LANGUAGE_CHINESE_SIMPLIFIED:
ret = menu_hash_get_help_chs_enum(msg, s, len);
break;
default:
break;
}
@ -124,6 +127,9 @@ const char *msg_hash_to_str(enum msg_hash_enums msg)
case RETRO_LANGUAGE_VIETNAMESE:
ret = msg_hash_to_str_vn(msg);
break;
case RETRO_LANGUAGE_CHINESE_SIMPLIFIED:
ret = msg_hash_to_str_chs(msg);
break;
default:
break;
}

View File

@ -2242,6 +2242,9 @@ int menu_hash_get_help_nl_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_vn(enum msg_hash_enums msg);
int menu_hash_get_help_vn_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_chs(enum msg_hash_enums msg);
int menu_hash_get_help_chs_enum(enum msg_hash_enums msg, char *s, size_t len);
const char *msg_hash_to_str_us(enum msg_hash_enums msg);
int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len);