[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [53769] trunk/blender/release/scripts/ modules/bl_i18n_utils/bl_process_msg.py: Grumph, going quicker than the music! :P

Bastien Montagne montagne29 at wanadoo.fr
Sun Jan 13 15:36:59 CET 2013


Revision: 53769
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53769
Author:   mont29
Date:     2013-01-13 14:36:50 +0000 (Sun, 13 Jan 2013)
Log Message:
-----------
Grumph, going quicker than the music! :P

Modified Paths:
--------------
    trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py

Modified: trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py
===================================================================
--- trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py	2013-01-13 14:22:37 UTC (rev 53768)
+++ trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py	2013-01-13 14:36:50 UTC (rev 53769)
@@ -397,8 +397,11 @@
             eval_str = ast.literal_eval(node)
             if eval_str:
                 # Parse optional context included in string!
-                if bpy.app.i18n.context_sep in eval_str:
-                    key = eval_str.split(bpy.app.i18n.context_sep, 1)
+                # XXX Not yet!
+                #if bpy.app.i18n.context_sep in eval_str:
+                    #key = eval_str.split(bpy.app.i18n.context_sep, 1)
+                if 0:
+                    pass
                 else:
                     key = (CONTEXT_DEFAULT, eval_str)
                 msgsrc = "{}:{}".format(fp_rel, node.lineno)




More information about the Bf-blender-cvs mailing list