kopia lustrzana https://github.com/inkstitch/inkstitch
handle unicode in inx generation
rodzic
9382532dc2
commit
d02ddff475
|
@ -28,7 +28,7 @@ def build_environment():
|
|||
def write_inx_file(name, contents):
|
||||
inx_file_name = "inkstitch_%s_%s.inx" % (name, current_locale)
|
||||
with open(os.path.join(inx_path, inx_file_name), 'w') as inx_file:
|
||||
print >> inx_file, contents
|
||||
print >> inx_file.encode("utf-8"), contents
|
||||
|
||||
def iterate_inx_locales():
|
||||
global current_translation, current_locale
|
||||
|
|
Ładowanie…
Reference in New Issue