Index: ps/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js =================================================================== --- ps/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js (revision 23386) +++ ps/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js (revision 23387) @@ -1,204 +1,211 @@ var g_MainMenuItems = [ { "caption": translate("Learn To Play"), "tooltip": translate("Learn how to play, start the tutorial, discover the technology trees, and the history behind the civilizations."), "submenu": [ { "caption": translate("Manual"), "tooltip": translate("Open the 0 A.D. Game Manual."), "onPress": () => { Engine.PushGuiPage("page_manual.xml"); } }, { "caption": translate("Tutorial"), "tooltip": translate("Start the economic tutorial."), "onPress": () => { Engine.SwitchGuiPage("page_gamesetup.xml", { "mapType": "scenario", "map": "maps/tutorials/starting_economy_walkthrough" }); } }, { "caption": translate("Structure Tree"), "tooltip": colorizeHotkey(translate("%(hotkey)s: View the structure tree of civilizations featured in 0 A.D."), "structree"), "hotkey": "structree", "onPress": () => { let callback = data => { if (data.nextPage) Engine.PushGuiPage(data.nextPage, { "civ": data.civ }, callback); }; Engine.PushGuiPage("page_structree.xml", {}, callback); }, }, { "caption": translate("History"), "tooltip": colorizeHotkey(translate("%(hotkey)s: Learn about the civilizations featured in 0 A.D."), "civinfo"), "hotkey": "civinfo", "onPress": () => { let callback = data => { if (data.nextPage) Engine.PushGuiPage(data.nextPage, { "civ": data.civ }, callback); }; Engine.PushGuiPage("page_civinfo.xml", {}, callback); } } ] }, { "caption": translate("Single-player"), "tooltip": translate("Start, load, or replay a single-player game."), "submenu": [ { "caption": translate("Matches"), "tooltip": translate("Start a new single-player game."), "onPress": () => { Engine.SwitchGuiPage("page_gamesetup.xml"); } }, { "caption": translate("Campaigns"), "tooltip": translate("Relive history through historical military campaigns. \\[NOT YET IMPLEMENTED]"), "enabled": false }, { "caption": translate("Load Game"), "tooltip": translate("Load a saved game."), "onPress": () => { Engine.PushGuiPage("page_loadgame.xml"); } }, { "caption": translate("Replays"), "tooltip": translate("Playback previous games."), "onPress": () => { Engine.SwitchGuiPage("page_replaymenu.xml", { "replaySelectionData": { "filters": { "singleplayer": "Single-player" } } }); } } ] }, { "caption": translate("Multiplayer"), "tooltip": translate("Fight against one or more human players in a multiplayer game."), "submenu": [ { // Translation: Join a game by specifying the host's IP address. "caption": translate("Join Game"), "tooltip": translate("Joining an existing multiplayer game."), "onPress": () => { Engine.PushGuiPage("page_gamesetup_mp.xml", { "multiplayerGameType": "join" }); } }, { "caption": translate("Host Game"), "tooltip": translate("Host a multiplayer game."), "onPress": () => { Engine.PushGuiPage("page_gamesetup_mp.xml", { "multiplayerGameType": "host" }); } }, { "caption": translate("Game Lobby"), "tooltip": colorizeHotkey(translate("%(hotkey)s: Launch the multiplayer lobby to join and host publicly visible games and chat with other players."), "lobby") + (Engine.StartXmppClient ? "" : translate("Launch the multiplayer lobby. \\[DISABLED BY BUILD]")), "enabled": !!Engine.StartXmppClient, "hotkey": "lobby", "onPress": () => { if (Engine.StartXmppClient) Engine.PushGuiPage("page_prelobby_entrance.xml"); } }, { "caption": translate("Replays"), "tooltip": translate("Playback previous games."), "onPress": () => { Engine.SwitchGuiPage("page_replaymenu.xml", { "replaySelectionData": { "filters": { "singleplayer": "Multiplayer" } } }); } } ] }, { "caption": translate("Settings"), "tooltip": translate("Change game options."), "submenu": [ { "caption": translate("Options"), "tooltip": translate("Adjust game settings."), "onPress": () => { Engine.PushGuiPage( "page_options.xml", {}, fireConfigChangeHandlers); } }, { "caption": translate("Language"), "tooltip": translate("Choose the language of the game."), "onPress": () => { Engine.PushGuiPage("page_locale.xml"); } }, { "caption": translate("Mod Selection"), "tooltip": translate("Select and download mods for the game."), "onPress": () => { Engine.SwitchGuiPage("page_modmod.xml"); } }, { "caption": translate("Welcome Screen"), "tooltip": translate("Show the Welcome Screen again. Useful if you hid it by mistake."), "onPress": () => { Engine.PushGuiPage("page_splashscreen.xml"); } } ] }, { "caption": translate("Scenario Editor"), "tooltip": translate('Open the Atlas Scenario Editor in a new window. You can run this more reliably by starting the game with the command-line argument "-editor".'), "onPress": () => { if (Engine.AtlasIsAvailable()) messageBox( 400, 200, translate("Are you sure you want to quit 0 A.D. and open the Scenario Editor?"), translate("Confirmation"), [translate("No"), translate("Yes")], [null, Engine.RestartInAtlas]); else messageBox( 400, 200, translate("The scenario editor is not available or failed to load. See the game logs for additional information."), translate("Error")); } }, { + "caption": translate("Credits"), + "tooltip": translate("Show the 0 A.D. credits."), + "onPress": () => { + Engine.PushGuiPage("page_credits.xml"); + } + }, + { "caption": translate("Exit"), "tooltip": translate("Exit the game."), "onPress": () => { messageBox( 400, 200, translate("Are you sure you want to quit 0 A.D.?"), translate("Confirmation"), [translate("No"), translate("Yes")], [null, Engine.Exit]); } } ]; Index: ps/trunk/binaries/data/mods/public/gui/pregame/ProjectInformation.js =================================================================== --- ps/trunk/binaries/data/mods/public/gui/pregame/ProjectInformation.js (revision 23386) +++ ps/trunk/binaries/data/mods/public/gui/pregame/ProjectInformation.js (revision 23387) @@ -1,72 +1,64 @@ /** * IMPORTANT: Remember to update session/top_panel/BuildLabel.xml in sync with this. */ var g_ProjectInformation = { "organizationName": { "caption": translate("WILDFIRE GAMES") }, "organizationLogo": { "sprite": "WildfireGamesLogo" }, "productLogo": { "sprite": "0ADLogo" }, "productBuild": { "caption": getBuildString() }, "productDescription": { "caption": setStringTags(translate("Alpha XXIV"), { "font": "sans-bold-16" }) + "\n\n" + translate("Notice: This game is under development and many features have not been added yet.") } }; var g_CommunityButtons = [ { "caption": translate("Website"), "tooltip": translate("Click to open play0ad.com in your web browser."), - "size": "8 100%-180 50%-4 100%-152", + "size": "8 100%-144 50%-4 100%-116", "onPress": () => { openURL("https://play0ad.com/"); } }, { "caption": translate("Chat"), "tooltip": translate("Click to open the 0 A.D. IRC chat in your browser. (#0ad on webchat.quakenet.org)"), - "size": "50%+4 100%-180 100%-8 100%-152", + "size": "50%+4 100%-144 100%-8 100%-116", "onPress": () => { openURL("https://webchat.quakenet.org/?channels=0ad"); } }, { "caption": translate("Report a Bug"), "tooltip": translate("Click to visit 0 A.D. Trac to report a bug, crash, or error."), - "size": "8 100%-144 100%-8 100%-116", + "size": "8 100%-108 100%-8 100%-80", "onPress": () => { openURL("https://trac.wildfiregames.com/wiki/ReportingErrors/"); } }, { "caption": translate("Translate the Game"), "tooltip": translate("Click to open the 0 A.D. translate page in your browser."), - "size": "8 100%-108 100%-8 100%-80", + "size": "8 100%-72 100%-8 100%-44", "onPress": () => { openURL("https://trac.wildfiregames.com/wiki/Localization"); } }, { "caption": translate("Donate"), "tooltip": translate("Help with the project expenses by donating."), - "size": "8 100%-72 100%-8 100%-44", - "onPress": () => { - openURL("https://play0ad.com/community/donate/"); - } - }, - { - "caption": translate("Credits"), - "tooltip": translate("Click to see the 0 A.D. credits."), "size": "8 100%-36 100%-8 100%-8", "onPress": () => { - Engine.PushGuiPage("page_credits.xml"); + openURL("https://play0ad.com/community/donate/"); } } ]; Index: ps/trunk/binaries/data/mods/public/gui/pregame/ProjectInformation.xml =================================================================== --- ps/trunk/binaries/data/mods/public/gui/pregame/ProjectInformation.xml (revision 23386) +++ ps/trunk/binaries/data/mods/public/gui/pregame/ProjectInformation.xml (revision 23387) @@ -1,22 +1,22 @@ - + - +