fa_PE is no valid language code (how comes no one noted that yet?), fa_IR seems the...
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 17 Feb 2012 12:27:58 +0000 (12:27 +0000)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 17 Feb 2012 12:27:58 +0000 (12:27 +0000)
Else, persian was just unavailable on Linux (at least, on Debian...).

source/blender/blenfont/intern/blf_lang.c
source/blender/makesrna/intern/rna_userdef.c

index d96011f0f1edfc188f266ce6f5e6c2476a3d7b38..95203c2b1c02fdbce951edd417ebc0492115cbff 100644 (file)
@@ -101,7 +101,7 @@ static const char *locales[] = {
        "greek", "el_GR",
        "korean", "ko_KR",
        "nepali", "ne_NP",
-       "persian", "fa_PE",
+       "persian", "fa_IR",
        "indonesian", "id_ID",
        "serbian (latin)", "sr_RS@latin",
        "kyrgyz", "ky",
index f7c85583150944a5a4783f7947a2465838ce24e3..919ee215f29e27d3ddeb45293a191738d003ed47 100644 (file)
@@ -2827,7 +2827,7 @@ static void rna_def_userdef_system(BlenderRNA *brna)
                {24, "KOREAN", 0, "Korean (한국 언어)", "ko_KR"},
                {25, "NEPALI", 0, "Nepali (नेपाली)", "ne_NP"},
                /* using the utf8 flipped form of Persian (فارسی) */
-               {26, "PERSIAN", 0, "Persian (ﯽﺳﺭﺎﻓ)", "fa_PE"},
+               {26, "PERSIAN", 0, "Persian (ﯽﺳﺭﺎﻓ)", "fa_IR"},
                {19, "POLISH", 0, "Polish (Polski)", "pl_PL"},
                {20, "ROMANIAN", 0, "Romanian (Român)", "ro_RO"},
                {17, "SERBIAN", 0, "Serbian (Српски)", "sr_RS"},