更改一些东西

This commit is contained in:
EillesWan 2022-01-14 22:49:21 +08:00
parent 3dc099af7e
commit ce441e4905
8 changed files with 97 additions and 96 deletions

View File

@ -1,3 +0,0 @@
{
"python.formatting.provider": "autopep8"
}

13
LICENSE
View File

@ -175,18 +175,8 @@
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Copyright 2022 Eilles Wan (金羿)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -199,3 +189,4 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -8,6 +8,21 @@
# 版权所有 Team-Ryoun 金羿
# 若需转载或借鉴 请附作者
'''
Copyright 2022 Eilles Wan (金羿)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'''
# 代码写的并非十分的漂亮还请大佬多多包涵本软件源代码依照Apache软件协议公开
@ -1318,12 +1333,10 @@ def __main__():
# 下半部分框容器
DownFrame = tk.Frame(root, bg='blue')
#经典名言语录
import random
texts = open('./resources/myWords.txt','r',encoding='utf-8').readlines()
tk.Label(DownFrame,text=texts[random.randint(0,len(texts)-1)].replace('\n','').replace('\\n','\n'),fg='white',bg='black',font=('DengXian Light',20)).pack(fill='x')
del texts
# 音符列表菜单

View File

@ -33,7 +33,7 @@ __author__ = 'W-YI (金羿)'
from languages.lang import READABLETEXT
@ -1320,12 +1320,10 @@ def __main__():
# 下半部分框容器
DownFrame = tk.Frame(root, bg='blue')
#经典名言语录
import random
texts = open('./resources/myWords.txt','r',encoding='utf-8').readlines()
tk.Label(DownFrame,text=texts[random.randint(0,len(texts)-1)].replace('\n','').replace('\\n','\n'),fg='white',bg='black',font=('DengXian Light',20)).pack(fill='x')
del texts
# 音符列表菜单

View File

@ -26,10 +26,10 @@ READABLETEXT = {
17:"QQ: 2647547478",
18:"讨论群: 861684859",
19:"音·创 - 帮助",
20:"请选择钢琴声音的 MP3 文件",
20:"请选择钢琴声音的音乐文件",
21:"请选择 MIDI 文件",
22:"请选择 音符文本 文件",
23:"获取信息",
23:"获取音符信息",
24:"音符数据写入{}",
25:"请选择文件生成的位置",
26:"请选择文件夹生成的位置",
@ -39,7 +39,7 @@ READABLETEXT = {
30:"请选择函数包生成的位置",
31:"请选择 .mcfunction 文件",
32:"请选择需要生成的.bdx文件",
33:"完成",
33:"完成",
34:"输入播放速度",
35:"创建中",
36:"请选择世界文件夹所在的位置",

View File

@ -1,7 +1,7 @@
# -*- coding:utf-8 -*-
# 由金羿翻译工具生成字符串列表
# 请在所需翻译文件前from 此文件 import READABLETEXT
# 由金羿翻译工具generate字符串列表
# 请在所需翻译 file 前from 此 file import READABLETEXT
@ -26,88 +26,88 @@ READABLETEXT = {
17:"QQ: 2647547478",
18:"QQ group: 861684859",
19:"Musicreater - Help",
20:"请选择钢琴声音的 MP3 文件",
21:"请选择 MIDI 文件",
22:"请选择 音符文本 文件",
23:"获取信息",
24:"音符数据写入{}",
25:"请选择文件生成的位置",
26:"请选择文件夹生成的位置",
27:"请选择.mcpack文件生成的位置",
28:"坐标信息输入",
29:"请选择世界文件夹生成的位置",
30:"请选择函数包生成的位置",
31:"请选择 .mcfunction 文件",
32:"请选择需要生成的.bdx文件",
33:"完成!",
34:"输入播放速度",
35:"创建中",
36:"请选择世界文件夹所在的位置",
37:"请确认",
38:"生成.RyStruct文件",
39:"失败",
20:"Select sound file",
21:"Select MIDI file",
22:"Select NoteText file",
23:"Get Note info",
24:"Write in Note info: {}",
25:"Select generating file",
26:"Select generating folder",
27:"Select generating .mcpack file",
28:"Input position info",
29:"Select generating world folder",
30:"Select generating Function Pack",
31:"Select .mcfunction file ",
32:"Select .bdx file ",
33:"DONE",
34:"Input playing rate",
35:"Generating",
36:"Select a world folder",
37:"Make sure",
38:"Generate .RyStruct file",
39:"FAILED",
40:"邮件反馈信息输入",
41:"音·创 - 金羿 - {}",
42:"执行实体名{}",
43:"使用计分板{}",
44:"所用的乐器{}",
45:"当前音轨名{}",
46:"包名:{}",
47:"音乐标题:{}",
48:"是否重复:{}",
49:"玩家选择器{}",
41:"Musicreater - Eilles - {}",
42:"执行实体名: {}",
43:"使用计分板: {}",
44:"所用的乐器: {}",
45:"当前音轨名: {}",
46:"Pack Name: {}",
47:"MusicTitle: {}",
48:"IsRepeat?: {}",
49:"玩家选择器: {}",
50:"修改主设置",
51:"修改节设置",
52:"游戏内置乐器如下请输入英文\n",
53:"打开音·创项目...",
54:"打开旧项目...",
55:"保存项目",
56:"另存为...",
57:"退出",
58:"文件",
59:"从钢琴MP3导入音轨",
60:"从midi导入音轨",
61:"从文本文件导入音轨",
62:"输入音符至音轨",
63:"编辑",
64:"生成文件至...",
65:"生成函数包至...",
66:"生成附加包文件至...",
67:"函数(包)",
68:"将音乐以方块存储生成地图",
69:"将音乐以方块存储载入地图…",
70:"将音乐以指令存储生成地图",
71:"将音乐以指令存储载入地图…",
72:"将音乐以音符盒存储生成地图",
73:"将音乐以音符盒存储载入地图…",
74:"世界",
75:"生成符合当前音乐的函数播放器…",
76:"将选中音轨以指令存储生成.bdx文件…",
77:"地图导出至.bdx文件…",
78:"地图导出至.RyStruct文件…",
79:"将函数载入世界…",
80:"将大函数分割并建立执行链",
52:"游戏内置乐器如下: 请输入英文\n",
53:"Open...",
54:"Open Old Project...",
55:"Save",
56:"Save as...",
57:"Exit",
58:"File",
59:"Load tracks from sound",
60:"Load tracks from Midi",
61:"Load tracks from Text",
62:"Input notes to track",
63:"Edit",
64:"Generate file...",
65:"Generate function pack...",
66:"Generate .mcpack file...",
67:"Functions(Pack)",
68:"Save music as blocks into a map",
69:"Save music as blocks into a exist map...",
70:"Save music as commands into a map",
71:"Save music as commands into a exist map...",
72:"Save music as notebox into a map",
73:"Save music as notebox into a exist map...",
74:"World",
75:"generate符合当前音乐的函数播放器...",
76:"Save selected track as commands in .bdx file...",
77:" map导出至.bdx file...",
78:" map导出至.RyStruct file...",
79:"将函数载入 world...",
80:"将大函数分割并建立执行链...",
81:"辅助功能",
82:"展示生成结果",
82:"Show generating result",
83:"建立位于localhost:8080上的websocket服务器播放选中音轨",
84:"实验功能",
85:"清除临时文件",
86:"清除存在文件",
85:"清除临时 file ",
86:"清除存在 file ",
87:"帮助",
88:"关于",
89:"发送错误日志反馈",
90:"帮助与疑问",
91:"音乐总设置(项目设置)",
92:"地图/函数包名:",
93:"音乐标题",
94:"是否重复",
95:"玩家选择器",
92:" map/函数包名: ",
93:"音乐标题: ",
94:"是否重复: ",
95:"玩家选择器: ",
96:"重置项目设置",
97:"当前音轨设置(段落设置)",
98:"执行实体名",
99:"使用计分板",
100:"所用的乐器",
101:"当前音轨名",
98:"执行实体名: ",
99:"使用计分板: ",
100:"所用的乐器: ",
101:"当前音轨名: ",
102:"删除选中音轨",
}

View File

@ -23,4 +23,6 @@
你的眼眸是剔透的晶灯 散发着醉人心扉的清光
海波激出透人心脾的欢呼
英雄何必要站在光中?\n深入黑暗我自发光。
如果我们有三生三世的时间\n那我们将渡过三百乘以三百六十个潮涨潮落
如果我们有三生三世的时间\n那我们将渡过三百乘以三百六十个潮涨潮落
善善不能用 恶恶不能去
知行合一,格物致知;远沂博索,夕惕若厉;\n蕙心执质嘉言懿行怀瑾握瑜心若芷萱。