Fixes in translations

This commit is contained in:
Antonio de la Rosa 2017-07-17 16:56:18 +02:00
parent 0ab45f567d
commit b0efd48866

View file

@ -103,11 +103,12 @@ def admin(**args):
for key, text in I18n.l[lang][selected_module].items(): for key, text in I18n.l[lang][selected_module].items():
arr_l=json.loads(forms.post[key]) if key in forms.post:
arr_l=json.loads(forms.post[key])
file_lang+="I18n.l['"+lang+"']['"+selected_module+"']['"+key+"']='"+arr_l[lang].replace("'", "\\'")+"'\n\n" file_lang+="I18n.l['"+lang+"']['"+selected_module+"']['"+key+"']='"+arr_l[lang].replace("'", "\\'")+"'\n\n"
z+=1 z+=1
""" """
for key, text in tmp_lang[selected_module].items(): for key, text in tmp_lang[selected_module].items():