From cdb5e557b03cbe2e29a48fca3bb4bbd1faa66052 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Sun, 13 Jan 2013 14:36:50 +0000 Subject: [PATCH] Grumph, going quicker than the music! :P --- release/scripts/modules/bl_i18n_utils/bl_process_msg.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/release/scripts/modules/bl_i18n_utils/bl_process_msg.py b/release/scripts/modules/bl_i18n_utils/bl_process_msg.py index 531ad2faf50..5d2f90f0da7 100644 --- a/release/scripts/modules/bl_i18n_utils/bl_process_msg.py +++ b/release/scripts/modules/bl_i18n_utils/bl_process_msg.py @@ -397,8 +397,11 @@ def dump_py_messages_from_files(messages, check_ctxt, files): 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)