Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/pregame/MainMenuItems.js
Show All 40 Lines | "submenu": [ | ||||
Engine.PushGuiPage(data.nextPage, { "civ": data.civ }, callback); | Engine.PushGuiPage(data.nextPage, { "civ": data.civ }, callback); | ||||
}; | }; | ||||
Engine.PushGuiPage("page_civinfo.xml", {}, callback); | Engine.PushGuiPage("page_civinfo.xml", {}, callback); | ||||
} | } | ||||
} | } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
"caption": translate("Single Player"), | "caption": translate("Single-player"), | ||||
"tooltip": translate("Click here to start a new single player game."), | "tooltip": translate("Click here to start a new single-player game."), | ||||
elexis: This is a button caption, should be Title Case afaik rP20000? | |||||
Done Inline ActionsGood question! Do you happen to know if and where 0 A.D. manual of style on title case is specified? Nescio: Good question! Do you happen to know if and where 0 A.D. manual of style on title case is… | |||||
"submenu": [ | "submenu": [ | ||||
{ | { | ||||
"caption": translate("Matches"), | "caption": translate("Matches"), | ||||
"tooltip": translate("Start the economic tutorial."), | "tooltip": translate("Start the economic tutorial."), | ||||
"onPress": () => { | "onPress": () => { | ||||
Engine.SwitchGuiPage("page_gamesetup.xml", {}); | Engine.SwitchGuiPage("page_gamesetup.xml", {}); | ||||
} | } | ||||
}, | }, | ||||
Show All 13 Lines | "submenu": [ | ||||
}, | }, | ||||
{ | { | ||||
"caption": translate("Replays"), | "caption": translate("Replays"), | ||||
"tooltip": translate("Playback previous games."), | "tooltip": translate("Playback previous games."), | ||||
"onPress": () => { | "onPress": () => { | ||||
Engine.SwitchGuiPage("page_replaymenu.xml", { | Engine.SwitchGuiPage("page_replaymenu.xml", { | ||||
"replaySelectionData": { | "replaySelectionData": { | ||||
"filters": { | "filters": { | ||||
"singleplayer": "Singleplayer" | "singleplayer": "Singleplayer" | ||||
NescioAuthorUnsubmitted Done Inline ActionsWhat does this line do? Is it also a user-facing text string, or something else? Nescio: What does this line do? Is it also a user-facing text string, or something else? | |||||
FreagarachUnsubmitted Not Done Inline ActionsThis is the standard filter applied in the replay menu. (See replay_filters.js L143.) It is not user-facing. Freagarach: This is the standard filter applied in the replay menu. (See `replay_filters.js` L143.) It is… | |||||
} | } | ||||
} | } | ||||
}); | }); | ||||
} | } | ||||
} | } | ||||
] | ] | ||||
}, | }, | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
This is a button caption, should be Title Case afaik rP20000?