|
@@ -147,7 +147,9 @@ class LangAreaView(TemplateView):
|
|
if type == 'ios' or type == 'link_ios':
|
|
if type == 'ios' or type == 'link_ios':
|
|
content = content + '"' + l + '"="' + content_val + '";\n'
|
|
content = content + '"' + l + '"="' + content_val + '";\n'
|
|
else:
|
|
else:
|
|
- content = content + '{"' + l + '":"' + content_val + '"},\n'
|
|
|
|
|
|
+ content = content + '"' + l + '":"' + content_val + '",\n'
|
|
|
|
+ if type == 'flutter':
|
|
|
|
+ content = '{\n' + content + '}'
|
|
elif type == 'android' or type == 'link_android':
|
|
elif type == 'android' or type == 'link_android':
|
|
res_qs = LangKeyModel.objects.filter(langvalmodel__la__id=id, type__in=langType). \
|
|
res_qs = LangKeyModel.objects.filter(langvalmodel__la__id=id, type__in=langType). \
|
|
values('word_key', 'langvalmodel__word_val').order_by('addTime')
|
|
values('word_key', 'langvalmodel__word_val').order_by('addTime')
|