Skip to content

Commit

Permalink
mp3 error translation
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxi050402 committed Mar 29, 2022
1 parent af5756d commit 5baa8a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Minecraft Note Block Studio.yyp
Expand Up @@ -647,7 +647,7 @@
{"CopyToMask":0,"filePath":"datafiles/Data/Python/.vscode","resourceVersion":"1.0","name":"settings.json","resourceType":"GMIncludedFile",},
],
"MetaData": {
"IDEVersion": "2022.2.1.618",
"IDEVersion": "2022.2.0.614",
},
"resourceVersion": "1.5",
"name": "Minecraft Note Block Studio",
Expand Down
2 changes: 1 addition & 1 deletion scripts/macros/macros.gml
@@ -1,6 +1,6 @@
function macros() {
#macro gm_runtime_version "2022.2.0.487"
#macro version_date "2022.03.25"
#macro version_date "2022.03.29"
#macro version "3.9.4"
#macro is_prerelease 1 // remember to change to 0 in the release!
#macro nbs_version 5
Expand Down
3 changes: 2 additions & 1 deletion scripts/mp3_export/mp3_export.gml
Expand Up @@ -18,7 +18,8 @@ function mp3_export() {
try {
var result = python_call_function("audio_export", "main", args, kwargs);
} catch (e) {
show_message("An error occurred while exporting the song:\n\n" + e)
if (language != 1) show_message("An error occurred while exporting the song:\n\n" + e)
else show_message("导出歌曲时发生错误:\n\n" + e)
return -1;
}

Expand Down

0 comments on commit 5baa8a6

Please sign in to comment.