Fix script for translations

This commit is contained in:
Julia Radzhabova
2024-08-13 20:18:50 +03:00
parent 520be9dae2
commit f813b4c65a

View File

@ -70,7 +70,7 @@ def compareJsonInFolder(path):
if os.path.exists(f'{path_to_compare}/en.json'): if os.path.exists(f'{path_to_compare}/en.json'):
compareJsonInFolder(f'{path_to_compare}/en.json') compareJsonInFolder(f'{path_to_compare}/en.json')
else: else:
for editor in ['documenteditor','spreadsheeteditor','presentationeditor']: for editor in ['documenteditor','spreadsheeteditor','presentationeditor','pdfeditor']:
path = f'{path_to_compare}/{editor}/main/locale/en.json' path = f'{path_to_compare}/{editor}/main/locale/en.json'
if os.path.exists(path): if os.path.exists(path):
compareJsonInFolder(path) compareJsonInFolder(path)