i18n: do not translate obect mode enum and transform orientation enum if UI translation is disabled

This commit is contained in:
Sergey Sharybin
2011-09-19 10:32:53 +00:00
parent cd131098ab
commit 9b7b8464b9
5 changed files with 52 additions and 33 deletions

View File

@@ -483,10 +483,9 @@ class USERPREF_PT_system(Panel):
column.prop(system, "use_international_fonts")
if system.use_international_fonts:
column.label(text=_("Select Language:"))
column.prop(system, "language", text="")
column.label(text="Translate:")
column.prop(system, "language")
row = column.row()
row.label(text="Translate:")
row.prop(system, "use_translate_interface", text="Interface")
row.prop(system, "use_translate_tooltips", text="Tooltips")