i18n module cleanup: remove hack used during svn -> git transition phase!

This commit is contained in:
2013-11-25 21:58:54 +01:00
parent 20d96761cb
commit a5c7b9202b

View File

@@ -791,7 +791,7 @@ def dump_src_messages(msgs, reports, settings):
##### Main functions! ##### ##### Main functions! #####
def dump_messages(do_messages, do_checks, settings): def dump_messages(do_messages, do_checks, settings):
bl_ver = "Blender " + bpy.app.version_string bl_ver = "Blender " + bpy.app.version_string
bl_hash = bpy.app.build_hash or b'0000000000000000000000000000000000000000' bl_hash = bpy.app.build_hash
bl_date = datetime.datetime.strptime(bpy.app.build_date.decode() + "T" + bpy.app.build_time.decode(), bl_date = datetime.datetime.strptime(bpy.app.build_date.decode() + "T" + bpy.app.build_time.decode(),
"%Y-%m-%dT%H:%M:%S") "%Y-%m-%dT%H:%M:%S")
pot = utils.I18nMessages.gen_empty_messages(settings.PARSER_TEMPLATE_ID, bl_ver, bl_hash, bl_date, bl_date.year, pot = utils.I18nMessages.gen_empty_messages(settings.PARSER_TEMPLATE_ID, bl_ver, bl_hash, bl_date, bl_date.year,