Update file main.py

This commit is contained in:
Slava
2023-08-29 01:16:15 +00:00
parent 329067aa3b
commit 4d6191acea

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('data/localization/ru.po', 'w', encoding='utf8') as f:
with open('ru.po', 'w', encoding='utf8') as f:
f.write(_str)