mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2026-07-30 23:14:32 +00:00
翻译保存器
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user