rename the Close button, refs #3737

This was SVN commit r17671.
This commit is contained in:
mimo 2016-01-18 19:44:48 +00:00
parent a59833102f
commit a6f8b3b3d7
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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>