Update file main.py
This commit is contained in:
2
main.py
2
main.py
@@ -76,7 +76,7 @@ def all_to_translate(_dir):
|
|||||||
|
|
||||||
_entity = f'#: {_file.split("weapon-project-extended")[1]}:\n{_msgctxt}{_msgid}{_msgstr}\n'
|
_entity = f'#: {_file.split("weapon-project-extended")[1]}:\n{_msgctxt}{_msgid}{_msgstr}\n'
|
||||||
_str = _str + _entity
|
_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)
|
f.write(_str)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user