Skip to content

Commit 5baa8a6

Browse files
committed
mp3 error translation
1 parent af5756d commit 5baa8a6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Minecraft Note Block Studio.yyp

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/macros/macros.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function macros() {
22
#macro gm_runtime_version "2022.2.0.487"
3-
#macro version_date "2022.03.25"
3+
#macro version_date "2022.03.29"
44
#macro version "3.9.4"
55
#macro is_prerelease 1 // remember to change to 0 in the release!
66
#macro nbs_version 5

scripts/mp3_export/mp3_export.gml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ function mp3_export() {
1818
try {
1919
var result = python_call_function("audio_export", "main", args, kwargs);
2020
} catch (e) {
21-
show_message("An error occurred while exporting the song:\n\n" + e)
21+
if (language != 1) show_message("An error occurred while exporting the song:\n\n" + e)
22+
else show_message("导出歌曲时发生错误:\n\n" + e)
2223
return -1;
2324
}
2425

0 commit comments

Comments
 (0)