Skip to content

Commit bd62146

Browse files
LifeHckrRmojarro1
andauthored
Update Quit game button (#178)
* Changed text for 'Quit' Button to 'Quit Game' Changed the line in the translation file to make it more clear that the user will be quitting the game. Also changed the translation entry to reflect this * Fixed typo Changed quit game translation from japanese to chinese simplified * Reordered buttons Swapped position of quit game and quit to title * Update focus neighbors --------- Co-authored-by: Rmojarro1 <48000819+Rmojarro1@users.noreply.github.com>
1 parent 1197066 commit bd62146

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Globals/Translations/Translations.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CONTROLS_CHOOSE_TEXT_CONTROLLER,"Press Start to close","按下 Start 键关闭"
2222
CONTROLS_CHOOSE_INVALID,"System input, can't be used!",预留输入,无法重定向!
2323
CONTROLS_CHOOSE_DUPLICATE,"Input already set, can't be used again!",输入冲突,无法继续!
2424
ESCAPE_MENU_RESUME,Resume,继续
25-
ESCAPE_MENU_QUIT,Quit,退出
25+
ESCAPE_MENU_QUIT,Quit Game,退出游戏
2626
ESCAPE_MENU_TITLE,Quit to Title,返回标题
2727
INBETWEEN_CONTINUE,Continue,继续
2828
CHEST_ROOM_REWARDS,Reward Selection!,奖励!

Scenes/UI/Pause.tscn

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ anchor_bottom = 1.0
1414
grow_horizontal = 2
1515
grow_vertical = 2
1616
script = ExtResource("1_6jc8n")
17-
PauseButtons = [NodePath("MarginContainer/VBoxContainer/MarginContainer/ResumeButton"), NodePath("MarginContainer/VBoxContainer/MarginContainer4/OptionsButton"), NodePath("MarginContainer/VBoxContainer/MarginContainer2/QuitButton"), NodePath("MarginContainer/VBoxContainer/MarginContainer3/PlaceHolderButton")]
17+
PauseButtons = [NodePath("MarginContainer/VBoxContainer/MarginContainer/ResumeButton"), NodePath("MarginContainer/VBoxContainer/MarginContainer4/OptionsButton"), NodePath("MarginContainer/VBoxContainer/MarginContainer3/QuitButton"), NodePath("MarginContainer/VBoxContainer/MarginContainer2/PlaceHolderButton")]
1818

1919
[node name="Background" type="NinePatchRect" parent="."]
2020
self_modulate = Color(1, 1, 1, 0.75)
@@ -62,7 +62,7 @@ theme_override_constants/margin_bottom = 20
6262

6363
[node name="ResumeButton" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer"]
6464
layout_mode = 2
65-
focus_neighbor_top = NodePath("../../MarginContainer3/PlaceHolderButton")
65+
focus_neighbor_top = NodePath("../../MarginContainer3/QuitButton")
6666
focus_neighbor_bottom = NodePath("../../MarginContainer4/OptionsButton")
6767
theme = ExtResource("4_lw4m2")
6868
text = "ESCAPE_MENU_RESUME"
@@ -78,7 +78,7 @@ theme_override_constants/margin_bottom = 20
7878
[node name="OptionsButton" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer4"]
7979
layout_mode = 2
8080
focus_neighbor_top = NodePath("../../MarginContainer/ResumeButton")
81-
focus_neighbor_bottom = NodePath("../../MarginContainer2/QuitButton")
81+
focus_neighbor_bottom = NodePath("../../MarginContainer2/PlaceHolderButton")
8282
theme = ExtResource("4_lw4m2")
8383
text = "TITLE_OPTIONS"
8484

@@ -90,12 +90,12 @@ theme_override_constants/margin_top = 20
9090
theme_override_constants/margin_right = 20
9191
theme_override_constants/margin_bottom = 20
9292

93-
[node name="QuitButton" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer2"]
93+
[node name="PlaceHolderButton" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer2"]
9494
layout_mode = 2
9595
focus_neighbor_top = NodePath("../../MarginContainer4/OptionsButton")
96-
focus_neighbor_bottom = NodePath("../../MarginContainer3/PlaceHolderButton")
96+
focus_neighbor_bottom = NodePath("../../MarginContainer3/QuitButton")
9797
theme = ExtResource("4_lw4m2")
98-
text = "ESCAPE_MENU_QUIT"
98+
text = "ESCAPE_MENU_TITLE"
9999

100100
[node name="MarginContainer3" type="MarginContainer" parent="MarginContainer/VBoxContainer"]
101101
layout_mode = 2
@@ -105,9 +105,9 @@ theme_override_constants/margin_top = 20
105105
theme_override_constants/margin_right = 20
106106
theme_override_constants/margin_bottom = 20
107107

108-
[node name="PlaceHolderButton" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer3"]
108+
[node name="QuitButton" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer3"]
109109
layout_mode = 2
110-
focus_neighbor_top = NodePath("../../MarginContainer2/QuitButton")
110+
focus_neighbor_top = NodePath("../../MarginContainer2/PlaceHolderButton")
111111
focus_neighbor_bottom = NodePath("../../MarginContainer/ResumeButton")
112112
theme = ExtResource("4_lw4m2")
113-
text = "ESCAPE_MENU_TITLE"
113+
text = "ESCAPE_MENU_QUIT"

0 commit comments

Comments
 (0)