mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2024-11-14 19:37:49 +08:00
翻译保存器
This commit is contained in:
parent
5011efcdee
commit
91446bfd81
3
.idea/.gitignore
vendored
Normal file
3
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
12
.idea/Musicreater.iml
Normal file
12
.idea/Musicreater.iml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="PYTHON_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
<component name="PyDocumentationSettings">
|
||||||
|
<option name="format" value="PLAIN" />
|
||||||
|
<option name="myDocStringFormat" value="Plain" />
|
||||||
|
</component>
|
||||||
|
</module>
|
47
.idea/inspectionProfiles/Project_Default.xml
Normal file
47
.idea/inspectionProfiles/Project_Default.xml
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<profile version="1.0">
|
||||||
|
<option name="myName" value="Project Default" />
|
||||||
|
<inspection_tool class="LongLine" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="PyArgumentEqualDefaultInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="PyAugmentAssignmentInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="PyClassicStyleClassInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="PyCompatibilityInspection" enabled="false" level="WARNING" enabled_by_default="false">
|
||||||
|
<option name="ourVersions">
|
||||||
|
<value>
|
||||||
|
<list size="1">
|
||||||
|
<item index="0" class="java.lang.String" itemvalue="3.10" />
|
||||||
|
</list>
|
||||||
|
</value>
|
||||||
|
</option>
|
||||||
|
</inspection_tool>
|
||||||
|
<inspection_tool class="PyMandatoryEncodingInspection" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="PyMissingTypeHintsInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true" />
|
||||||
|
<inspection_tool class="PyPep8Inspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
||||||
|
<option name="ignoredErrors">
|
||||||
|
<list>
|
||||||
|
<option value="E501" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</inspection_tool>
|
||||||
|
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
||||||
|
<option name="ignoredErrors">
|
||||||
|
<list>
|
||||||
|
<option value="N802" />
|
||||||
|
<option value="N803" />
|
||||||
|
<option value="N806" />
|
||||||
|
<option value="N813" />
|
||||||
|
<option value="N801" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</inspection_tool>
|
||||||
|
<inspection_tool class="PyUnboundLocalVariableInspection" enabled="false" level="WARNING" enabled_by_default="false" />
|
||||||
|
<inspection_tool class="PyUnresolvedReferencesInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
||||||
|
<option name="ignoredIdentifiers">
|
||||||
|
<list>
|
||||||
|
<option value="list.__getitem__" />
|
||||||
|
<option value="list.split" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</inspection_tool>
|
||||||
|
</profile>
|
||||||
|
</component>
|
6
.idea/inspectionProfiles/profiles_settings.xml
Normal file
6
.idea/inspectionProfiles/profiles_settings.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<settings>
|
||||||
|
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||||
|
<version value="1.0" />
|
||||||
|
</settings>
|
||||||
|
</component>
|
4
.idea/misc.xml
Normal file
4
.idea/misc.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
|
||||||
|
</project>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/Musicreater.iml" filepath="$PROJECT_DIR$/.idea/Musicreater.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,13 @@
|
|||||||
zh-CN
|
zh-ME
|
||||||
简体中文 中国大陆
|
喵喵文 中国大陆
|
||||||
Simplified Chinese, Chinese Mainland
|
Meow Catsese, China Mainland
|
||||||
简体中文 中国大陆
|
喵喵喵~ 祖国喵~
|
||||||
|
金羿,Email EillesWan@outlook.com,QQ 2647547478
|
||||||
|
音创创喵~
|
||||||
|
音·创 Musicreater
|
||||||
|
音创创喵的主人们
|
||||||
|
凌天之云创新我的世界开发团队\n×\n凌天之云创新计算机应用软件开发团队
|
||||||
|
~ 主人们 ~
|
||||||
|
~ 爸爸妈妈们 ~
|
||||||
|
好哒~
|
||||||
|
|
||||||
|
@ -84,6 +84,7 @@ def __loadLanguage(languageFilename: str):
|
|||||||
from msctLib.log import log
|
from msctLib.log import log
|
||||||
log(f'丢失对于 {line[0]} 的本地化文本', 'WARRING')
|
log(f'丢失对于 {line[0]} 的本地化文本', 'WARRING')
|
||||||
langkeys = _text.keys()
|
langkeys = _text.keys()
|
||||||
|
# print(_text)
|
||||||
return _text
|
return _text
|
||||||
|
|
||||||
|
|
||||||
@ -180,6 +181,8 @@ if __name__ == '__main__':
|
|||||||
Translatetextbar.edit_redo()
|
Translatetextbar.edit_redo()
|
||||||
Translatetextbar.bind("<Control-y>", ctrlY)
|
Translatetextbar.bind("<Control-y>", ctrlY)
|
||||||
|
|
||||||
|
Translatetextbar.bind("<Control-s>", _autoSave)
|
||||||
|
|
||||||
tk.Button(Translaterame, text='保存', command=_autoSave).pack(side='bottom', fill='x')
|
tk.Button(Translaterame, text='保存', command=_autoSave).pack(side='bottom', fill='x')
|
||||||
|
|
||||||
tk.Label(Orignrame, text='中文原文').pack(side='top')
|
tk.Label(Orignrame, text='中文原文').pack(side='top')
|
||||||
|
1
languages/log/2022-03-28 22_56_14.msct.log
Normal file
1
languages/log/2022-03-28 22_56_14.msct.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
22:56:14-[ERROR] 无法找到本地化文本LANGLOCALNAME
|
1
languages/log/2022-03-28 22_57_35.msct.log
Normal file
1
languages/log/2022-03-28 22_57_35.msct.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
22:57:35-[ERROR] 无法找到本地化文本LANGLOCALNAME
|
1
languages/log/2022-03-28 22_59_36.msct.log
Normal file
1
languages/log/2022-03-28 22_59_36.msct.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
22:59:36-[ERROR] 无法找到本地化文本LANGLOCALNAME
|
1
languages/log/2022-03-28 23_08_19.msct.log
Normal file
1
languages/log/2022-03-28 23_08_19.msct.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
23:08:19-[ERROR] 无法找到本地化文本LANGLOCALNAME
|
1
languages/log/2022-03-28 23_08_51.msct.log
Normal file
1
languages/log/2022-03-28 23_08_51.msct.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
23:08:51-[ERROR] 无法找到本地化文本LANGLOCALNAME
|
1
languages/log/2022-03-28 23_09_24.msct.log
Normal file
1
languages/log/2022-03-28 23_09_24.msct.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
23:09:24-[ERROR] 无法找到本地化文本LANGLOCALNAME
|
1
languages/log/2022-03-28 23_09_42.msct.log
Normal file
1
languages/log/2022-03-28 23_09_42.msct.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
23:09:42-[ERROR] 无法找到本地化文本LANGLOCALNAME
|
1
languages/log/2022-03-28 23_10_49.msct.log
Normal file
1
languages/log/2022-03-28 23_10_49.msct.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
23:10:49-[ERROR] 无法找到本地化文本LANGLOCALNAME
|
1
languages/log/2022-03-28 23_11_14.msct.log
Normal file
1
languages/log/2022-03-28 23_11_14.msct.log
Normal file
@ -0,0 +1 @@
|
|||||||
|
23:11:14-[ERROR] 无法找到本地化文本LANGLOCALNAME
|
BIN
msctLib/__pycache__/__init__.cpython-39.pyc
Normal file
BIN
msctLib/__pycache__/__init__.cpython-39.pyc
Normal file
Binary file not shown.
BIN
msctLib/__pycache__/log.cpython-39.pyc
Normal file
BIN
msctLib/__pycache__/log.cpython-39.pyc
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user