Skip to content

Commit e38252c

Browse files
committed
Add loop end tick translations
1 parent b4af991 commit e38252c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

scripts/control_create/control_create.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ function control_create() {
581581
acrylic = 0
582582
can_draw_mica = 0
583583
if (language != 1) show_message("Note Block Studio encountered an error creating the background sprite. Transparency effects will be disabled.\nThis usually happens when your desktop wallpaper is either too tall or too long.")
584-
else show_message("Note Block Studio 在创建模糊背景贴图时遇到错误,透明效果将被关闭。\n这种情况一般是由于您的桌面壁纸图片过高或过长。")
584+
else show_message("Note Block Studio 在创建背景贴图时遇到错误,透明效果将被关闭。\n这种情况一般是由于您的桌面壁纸图片过高或过长。")
585585
}
586586
if (show_welcome) window = w_greeting
587587
draw_accent_init()

scripts/draw_window_properties/draw_window_properties.gml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function draw_window_properties() {
9292
// Loop end tick
9393
if (!loop) draw_set_color(c_gray)
9494
if (language != 1) draw_text_dynamic(x1 + 252, y1 + 325, "Loop end tick:")
95-
else draw_text_dynamic(x1 + 252, y1 + 325, "Loop end tick:")
95+
else draw_text_dynamic(x1 + 252, y1 + 325, "循环结束刻:")
9696
a = loopend
9797
if (loop) {
9898
loopend = median(enda + 1, draw_dragvalue(20, x1 + 340, y1 + 325, loopend, 0.5), obj_controller.enda + 16 + 1)
@@ -104,7 +104,8 @@ function draw_window_properties() {
104104
draw_theme_font(font_small_bold)
105105
draw_text_dynamic(x1 + 25, y1 + 390, "[!]")
106106
draw_theme_font(font_small)
107-
draw_text_dynamic(x1 + 40 + (theme != 3) * 2, y1 + 390 + (theme == 3), "A silent note will be added to extend the length of the song.")
107+
if (language != 1) draw_text_dynamic(x1 + 40 + (theme != 3) * 2, y1 + 390 + (theme == 3), "A silent note will be added to extend the length of the song.")
108+
else draw_text_dynamic(x1 + 40 + (theme != 3) * 2, y1 + 390 + (theme == 3), "歌曲结尾将会自动添加一个 0 音量音符用于延长歌曲结尾。")
108109
draw_theme_font(font_main)
109110
draw_theme_color()
110111
}

0 commit comments

Comments
 (0)