diff --git a/src/FormMapWithSetWarships.java b/src/FormMapWithSetWarships.java index a099a4c..d360886 100644 --- a/src/FormMapWithSetWarships.java +++ b/src/FormMapWithSetWarships.java @@ -123,7 +123,7 @@ public class FormMapWithSetWarships extends JFrame{ fs.setAcceptAllFileFilterUsed(false); FileNameExtensionFilter filter = new FileNameExtensionFilter(".txt file", "txt"); fs.addChoosableFileFilter(filter); - fs.setDialogTitle("Загрузка"); + fs.setDialogTitle("Load"); int result = fs.showSaveDialog(null); if (result == JFileChooser.APPROVE_OPTION) { File selectedFile = fs.getSelectedFile(); @@ -146,7 +146,7 @@ public class FormMapWithSetWarships extends JFrame{ fs.setAcceptAllFileFilterUsed(false); FileNameExtensionFilter filter = new FileNameExtensionFilter(".txt file", "txt"); fs.addChoosableFileFilter(filter); - fs.setDialogTitle("Сохранение карты"); + fs.setDialogTitle("SaveMap"); int result = fs.showSaveDialog(null); if (result == JFileChooser.APPROVE_OPTION) { File selectedFile = fs.getSelectedFile(); @@ -168,7 +168,7 @@ public class FormMapWithSetWarships extends JFrame{ fs.setAcceptAllFileFilterUsed(false); FileNameExtensionFilter filter = new FileNameExtensionFilter(".txt file", "txt"); fs.addChoosableFileFilter(filter); - fs.setDialogTitle("Загрузка карты"); + fs.setDialogTitle("LoadMap"); int result = fs.showSaveDialog(null); if (result == JFileChooser.APPROVE_OPTION) { File selectedFile = fs.getSelectedFile();