Minor corrections to several tooltips in the pre-game main menu.
Details
- Reviewers
Gallaecio - Commits
- rP23367: main menu item tooltip corrections.
Check for mistakes and omissions.
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Successful build - Chance fights ever on the side of the prudent.
Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/590/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Linter detected issues: Executing section Source... Executing section JS... | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 193| 193| "tooltip": translate("Exit the game."), | 194| 194| "onPress": () => { | 195| 195| messageBox( | 196| |- 400, 200, | | 196|+ 400, 200, | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 194| 194| "onPress": () => { | 195| 195| messageBox( | 196| 196| 400, 200, | 197| |- translate("Are you sure you want to quit 0 A.D.?"), | | 197|+ translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | 200| 200| [null, Engine.Exit]); | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 195| 195| messageBox( | 196| 196| 400, 200, | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| |- translate("Confirmation"), | | 198|+ translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | 200| 200| [null, Engine.Exit]); | 201| 201| } | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 196| 196| 400, 200, | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| |- [translate("No"), translate("Yes")], | | 199|+ [translate("No"), translate("Yes")], | 200| 200| [null, Engine.Exit]); | 201| 201| } | 202| 202| } | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | 200| |- [null, Engine.Exit]); | | 200|+ [null, Engine.Exit]); | 201| 201| } | 202| 202| } | 203| 203| ]; Executing section cli...
Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1106/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/625/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Linter detected issues: Executing section Source... Executing section JS... | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 193| 193| "tooltip": translate("Exit the game."), | 194| 194| "onPress": () => { | 195| 195| messageBox( | 196| |- 400, 200, | | 196|+ 400, 200, | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 194| 194| "onPress": () => { | 195| 195| messageBox( | 196| 196| 400, 200, | 197| |- translate("Are you sure you want to quit 0 A.D.?"), | | 197|+ translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | 200| 200| [null, Engine.Exit]); | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 195| 195| messageBox( | 196| 196| 400, 200, | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| |- translate("Confirmation"), | | 198|+ translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | 200| 200| [null, Engine.Exit]); | 201| 201| } | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 196| 196| 400, 200, | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| |- [translate("No"), translate("Yes")], | | 199|+ [translate("No"), translate("Yes")], | 200| 200| [null, Engine.Exit]); | 201| 201| } | 202| 202| } | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | 200| |- [null, Engine.Exit]); | | 200|+ [null, Engine.Exit]); | 201| 201| } | 202| 202| } | 203| 203| ]; Executing section cli...
Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1141/display/redirect
Corrected start new match tooltip.
binaries/data/mods/public/gui/pregame/MainMenuItems.js | ||
---|---|---|
54 ↗ | (On Diff #10388) | Nice catch! Now corrected. |
Successful build - Chance fights ever on the side of the prudent.
Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/647/display/redirect
binaries/data/mods/public/gui/pregame/MainMenuItems.js | ||
---|---|---|
54 ↗ | (On Diff #10388) | Just for the record https://trac.wildfiregames.com/ticket/5641 |
Successful build - Chance fights ever on the side of the prudent.
Linter detected issues: Executing section Source... Executing section JS... | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 193| 193| "tooltip": translate("Exit the game."), | 194| 194| "onPress": () => { | 195| 195| messageBox( | 196| |- 400, 200, | | 196|+ 400, 200, | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 194| 194| "onPress": () => { | 195| 195| messageBox( | 196| 196| 400, 200, | 197| |- translate("Are you sure you want to quit 0 A.D.?"), | | 197|+ translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | 200| 200| [null, Engine.Exit]); | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 195| 195| messageBox( | 196| 196| 400, 200, | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| |- translate("Confirmation"), | | 198|+ translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | 200| 200| [null, Engine.Exit]); | 201| 201| } | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 196| 196| 400, 200, | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| |- [translate("No"), translate("Yes")], | | 199|+ [translate("No"), translate("Yes")], | 200| 200| [null, Engine.Exit]); | 201| 201| } | 202| 202| } | | [NORMAL] ESLintBear (indent): | | Expected indentation of 4 tabs but found 5. |----| | /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | |++++| /zpool0/trunk/binaries/data/mods/public/gui/pregame/MainMenuItems.js | 197| 197| translate("Are you sure you want to quit 0 A.D.?"), | 198| 198| translate("Confirmation"), | 199| 199| [translate("No"), translate("Yes")], | 200| |- [null, Engine.Exit]); | | 200|+ [null, Engine.Exit]); | 201| 201| } | 202| 202| } | 203| 203| ]; Executing section cli...
Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1163/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Link to build: https://jenkins.wildfiregames.com/job/macos-differential/102/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1524/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/1006/display/redirect