Adding FA (Persian - Farsi) language to po + flipping Arabic name in the Language...
authorDalai Felinto <dfelinto@gmail.com>
Tue, 11 Oct 2011 05:52:58 +0000 (05:52 +0000)
committerDalai Felinto <dfelinto@gmail.com>
Tue, 11 Oct 2011 05:52:58 +0000 (05:52 +0000)
source/blender/blenfont/intern/blf_lang.c
source/blender/makesrna/intern/rna_userdef.c

index 0a1028849697b3d18c6142af26a56738a5f28c57..ec9501c06a69720e67fe7efa9d703ea1bb0d4195 100644 (file)
@@ -94,6 +94,7 @@ static const char *locales[] = {
        "greek", "el_GR",
        "korean", "ko_KR",
        "nepali", "ne_NP",
        "greek", "el_GR",
        "korean", "ko_KR",
        "nepali", "ne_NP",
+       "persian", "fa_PE",
 };
 
 void BLF_lang_init(void)
 };
 
 void BLF_lang_init(void)
index e7f534a3528ec8ebed89ab6ca838f64f88a632c6..11157e67741f1c32224962b210eba57bd802e205 100644 (file)
@@ -2532,11 +2532,14 @@ static void rna_def_userdef_system(BlenderRNA *brna)
                {18, "UKRAINIAN", 0, N_("Ukrainian (Український)"), "uk_UA"},
                {19, "POLISH", 0, N_("Polish (Polski)"), "pl_PL"},
                {20, "ROMANIAN", 0, N_("Romanian (Român)"), "ro_RO"},
                {18, "UKRAINIAN", 0, N_("Ukrainian (Український)"), "uk_UA"},
                {19, "POLISH", 0, N_("Polish (Polski)"), "pl_PL"},
                {20, "ROMANIAN", 0, N_("Romanian (Român)"), "ro_RO"},
-               {21, "ARABIC", 0, N_("Arabic (العربية)"), "ar_EG"},
+               /* using the utf8 flipped form of Arabic (العربية) */
+               {21, "ARABIC", 0, N_("Arabic (ﺔﻴﺑﺮﻌﻟﺍ)"), "ar_EG"},
                {22, "BULGARIAN", 0, N_("Bulgarian (Български)"), "bg_BG"},
                {23, "GREEK", 0, N_("Greek (Ελληνικά)"), "el_GR"},
                {24, "KOREAN", 0, N_("Korean (한국 언어)"), "ko_KR"},
                {22, "BULGARIAN", 0, N_("Bulgarian (Български)"), "bg_BG"},
                {23, "GREEK", 0, N_("Greek (Ελληνικά)"), "el_GR"},
                {24, "KOREAN", 0, N_("Korean (한국 언어)"), "ko_KR"},
-               /*{25, "Nepali", 0, N_("Nepali (नेपाली)"), "ne_NP"},*/
+               /*{25, "NEPALI", 0, N_("Nepali (नेपाली)"), "ne_NP"},*/
+               /* using the utf8 flipped form of Persian (فارسی) */
+               {26, "PERSIAN", 0, N_("Persian (ﺱﺭﺎﻓ)"), "fa_PE"},
                {0, NULL, 0, NULL, NULL}};
 
        srna= RNA_def_struct(brna, "UserPreferencesSystem", NULL);
                {0, NULL, 0, NULL, NULL}};
 
        srna= RNA_def_struct(brna, "UserPreferencesSystem", NULL);