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-04-14 00:25:05 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-04-14 00:25:05 +0400
commit134bf10e4d3bc3ab629c38c618fed467aa817891 (patch)
tree5d5cfe7061bc271a3191b816e2547e19c8f6a394 /source/blender/makesrna/intern/rna_userdef.c
parent4c1c092fb95f1ee8edf05e91280e0ac71521ccd1 (diff)
i18n: "labels" of multi-section enums need to be marked for gettext (N_()), as they are not available from python...
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 1635b98f74c..dbe4aa47151 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -43,6 +43,7 @@
#include "WM_types.h"
#include "BLI_utildefines.h"
+
#include "BLF_translation.h"
#include "BKE_sound.h"
@@ -2860,7 +2861,7 @@ static void rna_def_userdef_system(BlenderRNA *brna)
/* Note: As this list is in alphabetical order, and not defined order,
* here is the highest define currently in use: 30 (turkish). */
static EnumPropertyItem language_items[] = {
- { 0, "", 0, "Nearly done", ""},
+ { 0, "", 0, N_("Nearly done"), ""},
{ 0, "DEFAULT", 0, "Default (Default)", ""},
{ 1, "ENGLISH", 0, "English (English)", "en_US"},
{ 8, "FRENCH", 0, "French (Français)", "fr_FR"},
@@ -2869,7 +2870,7 @@ static void rna_def_userdef_system(BlenderRNA *brna)
{13, "SIMPLIFIED_CHINESE", 0, "Simplified Chinese (简体中文)", "zh_CN"},
{ 9, "SPANISH", 0, "Spanish (Español)", "es"},
{14, "TRADITIONAL_CHINESE", 0, "Traditional Chinese (繁體中文)", "zh_TW"},
- { 0, "", 0, "In progress", ""},
+ { 0, "", 0, N_("In progress"), ""},
/* using the utf8 flipped form of Arabic (العربية) */
{21, "ARABIC", 0, "Arabic (ﺔﻴﺑﺮﻌﻟﺍ)", "ar_EG"},
{22, "BULGARIAN", 0, "Bulgarian (Български)", "bg_BG"},