sep = ''
for s in strings:
if s != strings[s]:
- sys.stdout.write('%s"%s", "%s"' % (sep, cstr(s), cstr(strings[s])));
+ a = cstr(s)
+ b = cstr(strings[s])
+ sys.stdout.write('%s"%s", "%s"' % (sep, a, b));
sep = ',\n'
sys.stdout.write('%sNULL, NULL' % sep)
sys.stdout.write('\n};\n\n');
sep = ''
for s in po.strings:
if s != po.strings[s]:
- sys.stdout.write("%s'%s':'%s'" % (sep, jsstr(s), jsstr(po.strings[s])))
+ a = jsstr(s)
+ b = jsstr(po.strings[s])
+ if a != b:
+ sys.stdout.write("%s'%s':'%s'" % (sep, a, b))
sep = ',\n'
sys.stdout.write("\n}\n");