Adding new Esperanto language.

This commit is contained in:
Bastien Montagne
2012-10-15 17:48:33 +00:00
parent 827c70abd8
commit d485fdcf34
2 changed files with 3 additions and 1 deletions

View File

@@ -110,6 +110,7 @@ static const char *locales[] = {
"portuguese-brazilian", "pt_BR",
"hebrew", "he_IL",
"estonian", "et_EE",
"esperanto", "eo", /* No country code for esperanto! ;) */
};
void BLF_lang_init(void)

View File

@@ -2987,7 +2987,7 @@ static void rna_def_userdef_system(BlenderRNA *brna)
/* locale according to http://www.roseindia.net/tutorials/I18N/locales-list.shtml */
/* if you edit here, please also edit the source/blender/blenfont/intern/blf_lang.c 's locales */
/* Note: As this list is in alphabetical order, and not defined order,
* here is the highest define currently in use: 34 (Estonian). */
* here is the highest define currently in use: 35 (Esperanto). */
static EnumPropertyItem language_items[] = {
{ 0, "", 0, N_("Nearly Done"), ""},
{ 0, "DEFAULT", 0, "Default (Default)", ""},
@@ -3010,6 +3010,7 @@ static void rna_def_userdef_system(BlenderRNA *brna)
{16, "CROATIAN", 0, "Croatian (Hrvatski)", "hr_HR"},
{11, "CZECH", 0, "Czech (Český)", "cs_CZ"},
{ 3, "DUTCH", 0, "Dutch (Nederlandse taal)", "nl_NL"},
{35, "ESPERANTO", 0, "Esperanto (Esperanto)", "eo"},
{34, "ESTONIAN", 0, "Estonian (Eestlane)", "et_EE"},
{ 6, "FINNISH", 0, "Finnish (Suomi)", "fi_FI"},
{ 5, "GERMAN", 0, "German (Deutsch)", "de_DE"},