This commit is contained in:
parent
dbb6cb8b65
commit
67c7b4f8bd
@ -38,10 +38,10 @@
|
||||
if o.ext == "desktop":
|
||||
value = encode_desktop_string(value)
|
||||
- outfile.write(f"{OUTKEY}[{locale}]={value}\n")
|
||||
+ outfile.write(u"""{}[{}]={}\n""".format(OUTKEY, locale, value))
|
||||
+ outfile.write("{}[{}]={}\n".format(OUTKEY, locale, value))
|
||||
else:
|
||||
- outfile.write(f"\t[{locale}]{OUTKEY}={value}\n")
|
||||
+ outfile.write(u"""\t[{}]{}={}\n""".format(locale, OUTKEY, value))
|
||||
+ outfile.write("\t[{}]{}={}\n".format(locale, OUTKEY, value))
|
||||
|
||||
template_file.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user