added basic prompt messages

This commit is contained in:
Darius Morawiec
2014-08-03 15:48:53 +02:00
parent 63afa4e810
commit c6774578b6
6 changed files with 10 additions and 10 deletions

View File

@@ -677,7 +677,7 @@ public class JavaEditor extends Editor {
*/
protected boolean handleExportCheckModified() {
if (sketch.isModified()) {
Object[] options = { "OK", "Cancel" };
Object[] options = { Language.text("prompt.ok"), Language.text("prompt.cancel") };
int result = JOptionPane.showOptionDialog(this,
"Save changes before export?",
"Save",