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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-09-15 17:20:18 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-15 17:20:18 +0400
commit0eda51f2eabe24016efdc8f07825f1ba667cac33 (patch)
tree03d6f876da6b1256b8890b89db09b63952fa544f /release/scripts/startup/bl_ui/space_graph.py
parent30293dc2ca8052ad0c7113c77365feca590f4d05 (diff)
Fixing issues with i18n stuff:
- Make gettext stuff draw-time. so switching between languages can happens without restart now. - Added option to translate visible interface (menus, buttons, labels) and tooltips. Now it's possible to have english UI and localized tooltips. - Clean-up sources, do not use gettext stuff for things which can be collected with RNA. - Fix issues with windows 64bit and ru_RU locale on my desktop (it was codepage issue). - Added operator "Get Messages" which generates new text block with with all strings collected from RNA. - Changed script for updating blender.pot so now it appends messages collected from rna to automatically gathered messages. To update .pot you have to re-generate messages.txt using "Get Messages" operator and then run update_pot script. - Clean up old translation stuff which wasn't used and most probably wouldn't be used. - Return back "International Fonts" option, so if it's disabled, no gettext lookups happens on draw. - Merged read_homefile function back. No need in splitting it. TODO: - Custom fonts and font size. Current font isn't nice at least for russian locale, it's difficult to read it. - Put references to messages.txt so gettext can merge translation when name/description of some property changes.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_graph.py')
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index 7048d5febf8..fd50d60bd45 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -62,7 +62,7 @@ class GRAPH_HT_header(Header):
class GRAPH_MT_view(Menu):
- bl_label = _("View")
+ bl_label = "View"
def draw(self, context):
layout = self.layout
@@ -106,7 +106,7 @@ class GRAPH_MT_view(Menu):
class GRAPH_MT_select(Menu):
- bl_label = _("Select")
+ bl_label = "Select"
def draw(self, context):
layout = self.layout
@@ -140,7 +140,7 @@ class GRAPH_MT_select(Menu):
class GRAPH_MT_marker(Menu):
- bl_label = _("Marker")
+ bl_label = "Marker"
def draw(self, context):
layout = self.layout
@@ -160,7 +160,7 @@ class GRAPH_MT_marker(Menu):
class GRAPH_MT_channel(Menu):
- bl_label = _("Channel")
+ bl_label = "Channel"
def draw(self, context):
layout = self.layout
@@ -191,7 +191,7 @@ class GRAPH_MT_channel(Menu):
class GRAPH_MT_key(Menu):
- bl_label = _("Key")
+ bl_label = "Key"
def draw(self, context):
layout = self.layout
@@ -229,7 +229,7 @@ class GRAPH_MT_key(Menu):
class GRAPH_MT_key_transform(Menu):
- bl_label = _("Transform")
+ bl_label = "Transform"
def draw(self, context):
layout = self.layout