mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Initial work on locales, more work on netcode
This commit is contained in:
@@ -12,7 +12,7 @@ class IMICFPS
|
||||
push_state(IMICFPS::MapEditorTool::MainMenu)
|
||||
end
|
||||
|
||||
link "Back" do
|
||||
link I18n.t("menus.back") do
|
||||
pop_state
|
||||
end
|
||||
end
|
||||
|
||||
@@ -9,11 +9,11 @@ class IMICFPS
|
||||
pop_state
|
||||
end
|
||||
|
||||
link "Settings" do
|
||||
link I18n.t("menus.settings") do
|
||||
push_state(SettingsMenu)
|
||||
end
|
||||
|
||||
link "Leave" do
|
||||
link I18n.t("menus.leave") do
|
||||
push_state(MainMenu)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -12,7 +12,7 @@ class IMICFPS
|
||||
end
|
||||
end
|
||||
|
||||
link "Back" do
|
||||
link I18n.t("menus.back") do
|
||||
pop_state
|
||||
end
|
||||
end
|
||||
|
||||
@@ -3,23 +3,23 @@ class IMICFPS
|
||||
def setup
|
||||
title IMICFPS::NAME
|
||||
|
||||
link "Single Player" do
|
||||
link I18n.t("menus.singleplayer") do
|
||||
push_state(LevelSelectMenu)
|
||||
end
|
||||
|
||||
link "Multiplayer" do
|
||||
link I18n.t("menus.multiplayer") do
|
||||
push_state(MultiplayerMenu)
|
||||
end
|
||||
|
||||
link "Settings" do
|
||||
link I18n.t("menus.settings") do
|
||||
push_state(SettingsMenu)
|
||||
end
|
||||
|
||||
link "Extras" do
|
||||
link I18n.t("menus.extras") do
|
||||
push_state(ExtrasMenu)
|
||||
end
|
||||
|
||||
link "Quit" do
|
||||
link I18n.t("menus.quit") do
|
||||
window.close
|
||||
end
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ class IMICFPS
|
||||
link "Profile" do
|
||||
push_state(MultiplayerProfileMenu)
|
||||
end
|
||||
link "Back" do
|
||||
link I18n.t("menus.back") do
|
||||
pop_state
|
||||
end
|
||||
end
|
||||
|
||||
@@ -7,7 +7,7 @@ class IMICFPS
|
||||
stack(width: 0.25, height: 1.0) do
|
||||
button "Edit Profile", width: 1.0
|
||||
button "Log Out", width: 1.0
|
||||
button "Back", width: 1.0, margin_top: 64 do
|
||||
button I18n.t("menus.back"), width: 1.0, margin_top: 64 do
|
||||
pop_state
|
||||
end
|
||||
end
|
||||
|
||||
@@ -34,7 +34,7 @@ class IMICFPS
|
||||
button "Host Game", width: 1.0
|
||||
button "Direct Connect", width: 1.0
|
||||
|
||||
button "Back", width: 1.0, margin_top: 64 do
|
||||
button I18n.t("menus.back"), width: 1.0, margin_top: 64 do
|
||||
pop_state
|
||||
end
|
||||
end
|
||||
|
||||
@@ -29,7 +29,7 @@ class IMICFPS
|
||||
end
|
||||
end
|
||||
|
||||
button "Back", width: 1.0, margin_top: 64 do
|
||||
button I18n.t("menus.back"), width: 1.0, margin_top: 64 do
|
||||
pop_state
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user