mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
parent
a59833102f
commit
a6f8b3b3d7
2 changed files with 2 additions and 2 deletions
|
|
@ -271,7 +271,7 @@ function closePage()
|
|||
{
|
||||
let btCaptions = [translate("No"), translate("Yes")];
|
||||
let btCode = [null, function(){ closePageWithoutConfirmation(); }];
|
||||
messageBox(500, 200, translate("You have unsaved changes, are you sure you want to quit ?"),
|
||||
messageBox(500, 200, translate("You have unsaved changes, do you want to close this window ?"),
|
||||
translate("Warning"), 0, btCaptions, btCode);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
<action on="Press">saveChanges();</action>
|
||||
</object>
|
||||
<object type="button" style="ModernButtonRed" size="50%+70 100%-44 50%+170 100%-16">
|
||||
<translatableAttribute id="caption">Quit</translatableAttribute>
|
||||
<translatableAttribute id="caption">Close</translatableAttribute>
|
||||
<translatableAttribute id="tooltip">Unsaved changes affect this session only</translatableAttribute>
|
||||
<action on="Press">closePage();</action>
|
||||
</object>
|
||||
|
|
|
|||
Loading…
Reference in a new issue