Skip to content

Commit 21ec3dc

Browse files
committed
Add layer new tooltip translations
1 parent 0c4efde commit 21ec3dc

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

scripts/control_draw/control_draw.gml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,15 +1405,15 @@ function control_draw() {
14051405
// Lock button
14061406
p = 0
14071407
if (startb + b < endb2) p = (layerlock[startb + b] = 1)
1408-
if (draw_layericon(0, x1 + 126-!realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Lock this layer\n(Click and drag to lock multiple layers)", "静音本层\n________"), 0, p)) {
1408+
if (draw_layericon(0, x1 + 126-!realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Lock this layer\n(Click and drag to lock multiple layers)", "静音本层\n拖拽可批量操作"), 0, p)) {
14091409
if (layerlock[startb + b] = 2) solostr = string_replace_all(solostr, "|" + string(startb + b) + "|", "")
14101410
if (layerlock[startb + b] = 1) {layerlock[startb + b] = 0} else {layerlock[startb + b] = 1}
14111411
changed = 1
14121412
}
14131413
// Solo button
14141414
p = 0
14151415
if (startb + b < endb2) p = (layerlock[startb + b] = 2)
1416-
if (draw_layericon(1, x1 + 144 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Solo this layer\n(Click and drag to solo multiple layers)", "独奏本层\n________"), 0, p)) {
1416+
if (draw_layericon(1, x1 + 144 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Solo this layer\n(Click and drag to solo multiple layers)", "独奏本层\n拖拽可批量操作"), 0, p)) {
14171417
if (layerlock[startb + b] = 2) {
14181418
layerlock[startb + b] = 0
14191419
solostr = string_replace_all(solostr, "|" + string(startb + b) + "|", "")
@@ -1424,7 +1424,7 @@ function control_draw() {
14241424
changed = 1
14251425
}
14261426
// Select all
1427-
if (draw_layericon(2, x1 + 162 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Select all note blocks in this layer\n(Click and drag to select multiple; click again to deselect)", "选择本层所有方块\n________"), 0, 0)) {
1427+
if (draw_layericon(2, x1 + 162 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Select all note blocks in this layer\n(Click and drag to select multiple; click again to deselect)", "选择本层所有方块\n拖拽可批量选择,再次点选取消选择"), 0, 0)) {
14281428
playing = 0
14291429

14301430
// TODO: replace with array_contains() if we ever upgrade GameMaker...
@@ -1439,22 +1439,22 @@ function control_draw() {
14391439
}
14401440
}
14411441
// Add layer
1442-
if (draw_layericon(3, x1 + 180 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Add empty layer here\n(Click and drag to add multiple layers)", "新建层\n________"), 0, 0)) {
1442+
if (draw_layericon(3, x1 + 180 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Add empty layer here\n(Click and drag to add multiple layers)", "新建层\n拖拽可批量添加"), 0, 0)) {
14431443
playing = 0
14441444
add_layer(startb + b, false)
14451445
}
14461446
// Remove layer
1447-
if (draw_layericon(4, x1 + 198 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Remove this layer\n(Click and drag to remove multiple layers)", "删除层\n________"), 0, 0)) {
1447+
if (draw_layericon(4, x1 + 198 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Remove this layer\n(Click and drag to remove multiple layers)", "删除层\n拖拽可批量删除"), 0, 0)) {
14481448
playing = 0
14491449
remove_layer(startb + b, false)
14501450
}
14511451
// Shift layer up
1452-
if ((startb + b > 0) && draw_layericon(5, x1 + 216 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Shift layer up\n(Click and drag to shift multiple layers)", "上移本层\n________"), 0, 0)) {
1452+
if ((startb + b > 0) && draw_layericon(5, x1 + 216 - !realvolume-realstereo * 10, y1 + 8, condstr(language != 1, "Shift layer up\n(Click and drag to shift multiple layers)", "上移本层\n拖拽可上移多层"), 0, 0)) {
14531453
playing = 0
14541454
shift_layers(startb + b, startb + b - 1, false)
14551455
}
14561456
// Shift layer down
1457-
if (draw_layericon(6, x1 + 234 - !realvolume-realstereo * 10 - (startb + b = 0) * 8, y1 + 8, condstr(language != 1, "Shift layer down\n(Click and drag to shift multiple layers)", "下移本层\n________"), 0, 0)) {
1457+
if (draw_layericon(6, x1 + 234 - !realvolume-realstereo * 10 - (startb + b = 0) * 8, y1 + 8, condstr(language != 1, "Shift layer down\n(Click and drag to shift multiple layers)", "下移本层\n拖拽可下移多层"), 0, 0)) {
14581458
playing = 0
14591459
shift_layers(startb + b, startb + b + 1, false)
14601460
}

0 commit comments

Comments
 (0)