diff --git a/megamek/src/megamek/client/ui/swing/DeploymentDisplay.java b/megamek/src/megamek/client/ui/swing/DeploymentDisplay.java index 80d4b81ea2e..78f626d89ae 100644 --- a/megamek/src/megamek/client/ui/swing/DeploymentDisplay.java +++ b/megamek/src/megamek/client/ui/swing/DeploymentDisplay.java @@ -689,8 +689,8 @@ public void actionPerformed(ActionEvent evt) { if (!choices.isEmpty()) { // If we have multiple choices, display a selection dialog. Entity other = EntityChoiceDialog.showSingleChoiceDialog(clientgui.getFrame(), + "DeploymentDisplay.loadUnitDialog.title", Messages.getString("DeploymentDisplay.loadUnitDialog.message", ce().getShortName(), ce().getUnusedString()), - Messages.getString("DeploymentDisplay.loadUnitDialog.title"), choices); if (!(other instanceof Infantry)) { @@ -765,8 +765,8 @@ public void actionPerformed(ActionEvent evt) { if (!choices.isEmpty()) { Entity loaded = EntityChoiceDialog.showSingleChoiceDialog(clientgui.getFrame(), + "DeploymentDisplay.unloadUnitDialog.title", Messages.getString("DeploymentDisplay.unloadUnitDialog.message", ce().getShortName(), ce().getUnusedString()), - Messages.getString("DeploymentDisplay.unloadUnitDialog.title"), choices); if (loaded != null) { diff --git a/megamek/src/megamek/client/ui/swing/boardview/BoardView.java b/megamek/src/megamek/client/ui/swing/boardview/BoardView.java index 9b6168ee591..f0c842607c9 100644 --- a/megamek/src/megamek/client/ui/swing/boardview/BoardView.java +++ b/megamek/src/megamek/client/ui/swing/boardview/BoardView.java @@ -5407,8 +5407,8 @@ private Entity chooseEntity(Coords pos) { } else if (entities.size() > 1) { // If we have multiple choices, display a selection dialog. choice = EntityChoiceDialog.showSingleChoiceDialog(clientgui.getFrame(), + "BoardView1.ChooseEntityDialog.title", Messages.getString("BoardView1.ChooseEntityDialog.message", pos.getBoardNum()), - Messages.getString("BoardView1.ChooseEntityDialog.title"), entities); }