Skip to content

Commit

Permalink
Rename "Export screenshot" -> "Export Map Snapshot"
Browse files Browse the repository at this point in the history
  • Loading branch information
ron-murhammer committed Oct 6, 2016
1 parent aa34961 commit 0e86423
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/games/strategy/triplea/ui/menubar/ExportMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private void exportXMLFile() {


private void addSaveScreenshot(final JMenu parentMenu) {
final AbstractAction abstractAction = SwingAction.of("Export Screenshot", e -> {
final AbstractAction abstractAction = SwingAction.of("Export Map Snapshot", e -> {

final HistoryPanel historyPanel = frame.getHistoryPanel();
final HistoryNode curNode;
Expand Down Expand Up @@ -177,7 +177,8 @@ public String getDescription() {
final File file = f;
final Runnable t = () -> {
if (saveScreenshot(node, file, frame, gameData)) {
JOptionPane.showMessageDialog(null, "Screenshot Saved", "Screenshot Saved", JOptionPane.INFORMATION_MESSAGE);
JOptionPane.showMessageDialog(null, "Map Snapshot Saved", "Map Snapshot Saved",
JOptionPane.INFORMATION_MESSAGE);
}
};
SwingAction.invokeAndWait(t);
Expand Down

0 comments on commit 0e86423

Please sign in to comment.