Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-10-15 21:48:33 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-10-15 21:48:33 +0400
commitd485fdcf34164a47488b000ffa4e3ef203af07a7 (patch)
treed64a492026edef2910be34e2ecdcb2d7ba685512 /source/blender
parent827c70abd8c81089af13c4738e0586bf44e501ea (diff)
Adding new Esperanto language.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenfont/intern/blf_lang.c1
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c
index 1a1eff6a48c..ff574a71549 100644
--- a/source/blender/blenfont/intern/blf_lang.c
+++ b/source/blender/blenfont/intern/blf_lang.c
@@ -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)
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 98045137c43..a2e3116fe6d 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -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"},