翻译保存器

This commit is contained in:
bgArray
2022-03-28 23:12:24 +08:00
parent 5011efcdee
commit 91446bfd81
22 changed files with 110 additions and 4 deletions
+3
View File
@@ -84,6 +84,7 @@ def __loadLanguage(languageFilename: str):
from msctLib.log import log
log(f'丢失对于 {line[0]} 的本地化文本', 'WARRING')
langkeys = _text.keys()
# print(_text)
return _text
@@ -180,6 +181,8 @@ if __name__ == '__main__':
Translatetextbar.edit_redo()
Translatetextbar.bind("<Control-y>", ctrlY)
Translatetextbar.bind("<Control-s>", _autoSave)
tk.Button(Translaterame, text='保存', command=_autoSave).pack(side='bottom', fill='x')
tk.Label(Orignrame, text='中文原文').pack(side='top')