switch language in User Preference's System page. with some known switch failure...
[blender.git] / source / blender / makesrna / intern / rna_userdef.c
index f6ed440a10c4ef9a5f51d4f86708bba543751a24..5a29b4a82113f9c39d1c43fff223e0de49b24ff7 100644 (file)
@@ -2436,29 +2436,31 @@ static void rna_def_userdef_system(BlenderRNA *brna)
        
                /* hardcoded here, could become dynamic somehow */
        static EnumPropertyItem language_items[] = {
-               {0, "ENGLISH", 0, "English", ""},
-               {1, "JAPANESE", 0, "Japanese", ""},
-               {2, "DUTCH", 0, "Dutch", ""},
-               {3, "ITALIAN", 0, "Italian", ""},
-               {4, "GERMAN", 0, "German", ""},
-               {5, "FINNISH", 0, "Finnish", ""},
-               {6, "SWEDISH", 0, "Swedish", ""},
-               {7, "FRENCH", 0, "French", ""},
-               {8, "SPANISH", 0, "Spanish", ""},
-               {9, "CATALAN", 0, "Catalan", ""},
-               {10, "CZECH", 0, "Czech", ""},
-               {11, "BRAZILIAN_PORTUGUESE", 0, "Brazilian Portuguese", ""},
-               {12, "SIMPLIFIED_CHINESE", 0, "Simplified Chinese", ""},
-               {13, "RUSSIAN", 0, "Russian", ""},
-               {14, "CROATIAN", 0, "Croatian", ""},
-               {15, "SERBIAN", 0, "Serbian", ""},
-               {16, "UKRAINIAN", 0, "Ukrainian", ""},
-               {17, "POLISH", 0, "Polish", ""},
-               {18, "ROMANIAN", 0, "Romanian", ""},
-               {19, "ARABIC", 0, "Arabic", ""},
-               {20, "BULGARIAN", 0, "Bulgarian", ""},
-               {21, "GREEK", 0, "Greek", ""},
-               {22, "KOREAN", 0, "Korean", ""},
+               {0, "DEFAULT", 0, N_("Default"), ""},
+               {1, "ENGLISH", 0, "English (English)", ""},
+               {2, "JAPANESE", 0, "Japanese (日本語)", ""},
+               {3, "DUTCH", 0, "Dutch (Nederlandse taal)", ""},
+               {4, "ITALIAN", 0, "Italian (Italian)", ""},
+               {5, "GERMAN", 0, "German (German)", ""},
+               {6, "FINNISH", 0, "Finnish (Finnish)", ""},
+               {7, "SWEDISH", 0, "Swedish (Swedish)", ""},
+               {8, "FRENCH", 0, "French (French)", ""},
+               {9, "SPANISH", 0, "Spanish (Spanish)", ""},
+               {10, "CATALAN", 0, "Catalan (Catalan)", ""},
+               {11, "CZECH", 0, "Czech (Czech)", ""},
+               {12, "BRAZILIAN_PORTUGUESE", 0, "Brazilian Portuguese (Brazilian Portuguese)", ""},
+               {13, "SIMPLIFIED_CHINESE", 0, "Simplified Chinese (简体中文)", ""},
+               {14, "TRADITIONAL_CHINESE", 0, "Traditional Chinese (繁體中文)", ""},
+               {15, "RUSSIAN", 0, "Russian (Russian)", ""},
+               {16, "CROATIAN", 0, "Croatian (Croatian)", ""},
+               {17, "SERBIAN", 0, "Serbian (Serbian)", ""},
+               {18, "UKRAINIAN", 0, "Ukrainian (Ukrainian)", ""},
+               {19, "POLISH", 0, "Polish (Polish)", ""},
+               {20, "ROMANIAN", 0, "Romanian (Român)", ""},
+               {21, "ARABIC", 0, "Arabic (العربية)", ""},
+               {22, "BULGARIAN", 0, "Bulgarian (Bulgarian)", ""},
+               {23, "GREEK", 0, "Greek (Greek)", ""},
+               {24, "KOREAN", 0, "Korean (한국 언어)", ""},
                {0, NULL, 0, NULL, NULL}};
 
        srna= RNA_def_struct(brna, "UserPreferencesSystem", NULL);