Skip to content

Commit

Permalink
Revert "Change wording and size of leave and exit confirmation dialog…
Browse files Browse the repository at this point in the history
…s" (#333)
  • Loading branch information
AntlerForce authored Feb 16, 2023
1 parent 4fda854 commit e821c94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions LuaMenu/widgets/chobby/components/interface_root.lua
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ function GetInterfaceRoot(optionsParent, mainWindowParent, fontFunction)
end

local function MakeExitPopup()
ConfirmationPopup(ConfirmationPopup.dispose, nil, nil, 315, 100, i18n("return_to_game"), i18n("exit"), ExitSpring)
ConfirmationPopup(ExitSpring, "Are you sure you want to quit?", nil, 315, 200)
return true
end

Expand Down Expand Up @@ -972,7 +972,7 @@ function GetInterfaceRoot(optionsParent, mainWindowParent, fontFunction)

OnClick = {
function ()
ConfirmationPopup(ConfirmationPopup.dispose, nil, nil, 315, 100, i18n("resume"), i18n("end_game"), LeaveGameFunction)
ConfirmationPopup(LeaveGameFunction, "Are you sure you want to leave the game?", nil, 315, 200)
end
}
}
Expand Down
9 changes: 6 additions & 3 deletions LuaMenu/widgets/chobby/i18n/chililobby.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ return {
accept = "Accept",
reject = "Reject",
ready = "Ready",
apply = "Apply",
enter_battle_password = "Enter Battle Password",
set_window_position = "Set Window Position",
set_resolution = "Set Resolution",
Expand Down Expand Up @@ -97,6 +98,7 @@ return {
tutorials = "Tutorials",
training = "Training",
instruction = "Instruction",
community = "Community",
report_a_bug = "Report A Bug",
benchmark = "Benchmark",
["exit"] = "Exit",
Expand Down Expand Up @@ -136,9 +138,6 @@ return {
skip_tutorial = "Skip Tutorial",
rejoin = "Rejoin",
abandon = "Abandon",
resume = "Resume",
end_game = "End Game",
return_to_game = "Return",

tooltip_is_spectator = "You will spectate this game.",
tooltip_become_spectator = "Press to watch the game as a spectator.",
Expand Down Expand Up @@ -284,6 +283,7 @@ return {
saveload = "Save / Load",
quit_confirm = "Quitting will lose any unsaved progress. Are you sure?",
next_episode = "Next Episode",
technology = "Technology",
options = "Options",
codex = "Codex",
technology = "Technology",
Expand Down Expand Up @@ -374,6 +374,7 @@ return {
party = "Gruppe",
accept = "Akzeptieren",
reject = "Zurückweisen",
apply = "Anwenden",
enter_battle_password = "Bitte Passwort eingeben",
set_window_position = "Fenster positionieren",
set_resolution = "Auflösung wählen",
Expand All @@ -400,6 +401,7 @@ return {
tutorials = "Tutorials",
training = "Training",
instruction = "Anleitung",
community = "Gemeinschaft",
report_a_bug = "Fehler melden",
["exit"] = "Exit",
matchMaking = "Spielvermittlung",
Expand Down Expand Up @@ -535,6 +537,7 @@ return {
technology = "Technologie",
options = "Optionen",
codex = "Codex",
technology = "Technologie",

-- gui_rank_update_window.lua
rank_gained = "Beförderung",
Expand Down

0 comments on commit e821c94

Please sign in to comment.