Update file main.py

This commit is contained in:
Slava
2023-08-29 01:37:31 +00:00
parent 4d6191acea
commit 8ac3a092b7

View File

@@ -76,7 +76,7 @@ def all_to_translate(_dir):
_entity = f'#: {_file.split("weapon-project-extended")[1]}:\n{_msgctxt}{_msgid}{_msgstr}\n'
_str = _str + _entity
with open('ru.po', 'w', encoding='utf8') as f:
with open('data/localization/ru.po', 'w', encoding='utf8') as f:
f.write(_str)