forked from bartvdbraak/blender
Adding brazilian portuguese language, as requested by portuguese team.
This commit is contained in:
parent
d490277194
commit
b9e544e823
@ -82,7 +82,7 @@ static const char *locales[] = {
|
||||
"spanish", "es",
|
||||
"catalan", "ca_AD",
|
||||
"czech", "cs_CZ",
|
||||
"portuguese", "pt",
|
||||
"portuguese", "pt_PT",
|
||||
#if defined(_WIN32) && !defined(FREE_WINDOWS)
|
||||
"Chinese (Simplified)_China.1252", "zh_CN",
|
||||
"Chinese (Traditional)_China.1252", "zh_TW",
|
||||
@ -107,6 +107,7 @@ static const char *locales[] = {
|
||||
"kyrgyz", "ky_KG",
|
||||
"turkish", "tr_TR",
|
||||
"hungarian", "hu_HU",
|
||||
"brazilian portuguese", "pt_BR",
|
||||
};
|
||||
|
||||
void BLF_lang_init(void)
|
||||
|
@ -2982,11 +2982,12 @@ 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: 31 (Hungarian). */
|
||||
* here is the highest define currently in use: 32 (Brazilian Portuguese). */
|
||||
static EnumPropertyItem language_items[] = {
|
||||
{ 0, "", 0, N_("Nearly done"), ""},
|
||||
{ 0, "DEFAULT", 0, "Default (Default)", ""},
|
||||
{21, "ARABIC", 0, "Arabic (ﺔﻴﺑﺮﻌﻟﺍ)", "ar_EG"},
|
||||
{32, "BRAZILIANPORTUGUESE", 0, "Brazilian Portuguese (Português do Brasil)", "pt_BR"},
|
||||
{ 1, "ENGLISH", 0, "English (English)", "en_US"},
|
||||
{ 8, "FRENCH", 0, "French (Français)", "fr_FR"},
|
||||
{ 4, "ITALIAN", 0, "Italian (Italiano)", "it_IT"},
|
||||
|
Loading…
Reference in New Issue
Block a user