diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-15 17:20:18 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-15 17:20:18 +0400 |
commit | 0eda51f2eabe24016efdc8f07825f1ba667cac33 (patch) | |
tree | 03d6f876da6b1256b8890b89db09b63952fa544f /release/scripts/startup/bl_ui/space_time.py | |
parent | 30293dc2ca8052ad0c7113c77365feca590f4d05 (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_time.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_time.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_time.py b/release/scripts/startup/bl_ui/space_time.py index 157fe9939e8..d654c1e4d8b 100644 --- a/release/scripts/startup/bl_ui/space_time.py +++ b/release/scripts/startup/bl_ui/space_time.py @@ -93,7 +93,7 @@ class TIME_HT_header(Header): class TIME_MT_view(Menu): - bl_label = _("View") + bl_label = "View" def draw(self, context): layout = self.layout @@ -118,7 +118,7 @@ class TIME_MT_view(Menu): class TIME_MT_cache(Menu): - bl_label = _("Cache") + bl_label = "Cache" def draw(self, context): layout = self.layout @@ -138,7 +138,7 @@ class TIME_MT_cache(Menu): class TIME_MT_frame(Menu): - bl_label = _("Frame") + bl_label = "Frame" def draw(self, context): layout = self.layout @@ -164,7 +164,7 @@ class TIME_MT_frame(Menu): class TIME_MT_playback(Menu): - bl_label = _("Playback") + bl_label = "Playback" def draw(self, context): layout = self.layout @@ -189,7 +189,7 @@ class TIME_MT_playback(Menu): class TIME_MT_autokey(Menu): - bl_label = _("Auto-Keyframing Mode") + bl_label = "Auto-Keyframing Mode" def draw(self, context): layout = self.layout |