Ticket #3440: t3440_fix_main_menu_entry_add_warning_v2.patch
File t3440_fix_main_menu_entry_add_warning_v2.patch, 3.0 KB (added by , 9 years ago) |
---|
-
binaries/data/mods/public/gui/pregame/mainmenu.xml
337 337 tooltip_style="pgToolTip" 338 338 > 339 339 <translatableAttribute id="caption">Language</translatableAttribute> 340 340 <translatableAttribute id="tooltip">Choose the language of the game.</translatableAttribute> 341 341 <action on="Press"> 342 342 <![CDATA[ 343 343 closeMenu(); 344 344 Engine.PushGuiPage("page_locale.xml"); 345 345 ]]> 346 346 </action> 347 347 </object> 348 348 349 349 <object name="submenuReplayButton" 350 350 type="button" 351 351 style="StoneButtonFancy" 352 352 size="0 64 100% 92" 353 353 tooltip_style="pgToolTip" 354 354 > 355 355 <translatableAttribute id="caption">Replays</translatableAttribute> 356 <translatableAttribute id="tooltip">Playback previous games. </translatableAttribute>356 <translatableAttribute id="tooltip">Playback previous games. Warning: Could take some time to load initially.</translatableAttribute> 357 357 <action on="Press"> 358 358 closeMenu(); 359 359 Engine.SwitchGuiPage("page_replaymenu.xml"); 360 360 </action> 361 361 </object> 362 362 363 363 <object name="submenuEditorButton" 364 364 style="StoneButtonFancy" 365 365 type="button" 366 366 size="0 96 100% 124" 367 367 tooltip_style="pgToolTip" 368 368 > 369 369 <translatableAttribute id="caption">Scenario Editor</translatableAttribute> 370 370 <translatableAttribute id="tooltip">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".</translatableAttribute> 371 371 <action on="Press"> 372 372 pressedScenarioEditorButton(); 373 373 </action> 374 374 </object> 375 375 376 376 <object name="submenuWelcomeScreenButton" 377 377 style="StoneButtonFancy" 378 378 type="button" 379 379 size="0 128 100% 156" 380 380 tooltip_style="pgToolTip" 381 381 > 382 382 <translatableAttribute id="caption">Welcome Screen</translatableAttribute> 383 383 <translatableAttribute id="tooltip">Show the Welcome Screen. Useful if you hid it by mistake.</translatableAttribute> 384 384 <action on="Press"> 385 385 <![CDATA[ 386 386 closeMenu(); 387 387 Engine.PushGuiPage("page_splashscreen.xml", { "page": "splashscreen", callback : "SplashScreenClosedCallback" } ); 388 388 ]]> 389 389 </action> 390 390 </object> 391 391 <object name="submenuModSelection" 392 392 style="StoneButtonFancy" 393 393 type="button" 394 size="0 1 56100% 188"394 size="0 160 100% 188" 395 395 tooltip_style="pgToolTip" 396 396 > 397 397 <translatableAttribute id="caption">Mod Selection</translatableAttribute> 398 398 <translatableAttribute id="tooltip">Select mods to use.</translatableAttribute> 399 399 <action on="Press"> 400 400 Engine.SwitchGuiPage("page_modmod.xml", {}); 401 401 </action> 402 402 </object> 403 403 </object> 404 404 </object><!-- end of submenu --> 405 405 406 406 407 407 <!-- 408 408 ========================================== 409 409 - MAIN MENU PANEL 410 410 ========================================== 411 411 --> 412 412 <object name="mainMenu" 413 413 type="image"