Skip to content

Commit

Permalink
Remove unused NEWCampaignOptionsDialog properties file.
Browse files Browse the repository at this point in the history
Deleted the `NEWCampaignOptionsDialog.properties` file as it was no longer required or in use. This helps reduce clutter and maintain repository cleanliness. Also, added a placeholder `MekHQ.png` image for further use.
  • Loading branch information
IllianiCBT committed Jan 14, 2025
1 parent 98f2b2e commit c15e78b
Show file tree
Hide file tree
Showing 8 changed files with 2,208 additions and 3,209 deletions.
Binary file added MekHQ/data/images/misc/MekHQ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,187 changes: 2,203 additions & 984 deletions MekHQ/resources/mekhq/resources/CampaignOptionsDialog.properties

Large diffs are not rendered by default.

2,220 changes: 0 additions & 2,220 deletions MekHQ/resources/mekhq/resources/NEWCampaignOptionsDialog.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import static mekhq.gui.dialog.campaignOptions.SelectPresetDialog.PRESET_SELECTION_CANCELLED;

public class CampaignOptionsDialog extends AbstractMHQButtonDialog {
private static final String RESOURCE_PACKAGE = "mekhq/resources/NEWCampaignOptionsDialog";
private static final String RESOURCE_PACKAGE = "mekhq/resources/CampaignOptionsDialog";
private static final ResourceBundle resources = ResourceBundle.getBundle(RESOURCE_PACKAGE);

private final Campaign campaign;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import static mekhq.gui.dialog.campaignOptions.CampaignOptionsUtilities.createSubTabs;

public class CampaignOptionsPane extends AbstractMHQTabbedPane {
private static final String RESOURCE_PACKAGE = "mekhq/resources/NEWCampaignOptionsDialog";
private static final String RESOURCE_PACKAGE = "mekhq/resources/CampaignOptionsDialog";
private static final ResourceBundle resources = ResourceBundle.getBundle(RESOURCE_PACKAGE);

private static final int SCROLL_SPEED = 16;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import static megamek.client.ui.swing.util.FlatLafStyleBuilder.setFontScaling;

public class CampaignOptionsUtilities {
private static final String RESOURCE_PACKAGE = "mekhq/resources/NEWCampaignOptionsDialog";
private static final String RESOURCE_PACKAGE = "mekhq/resources/CampaignOptionsDialog";
static final ResourceBundle resources = ResourceBundle.getBundle(RESOURCE_PACKAGE);
final static String IMAGE_DIRECTORY = "data/images/universe/factions/";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

public class EquipmentAndSuppliesTab {
// region Variable Declarations
private static String RESOURCE_PACKAGE = "mekhq/resources/NEWCampaignOptionsDialog";
private static String RESOURCE_PACKAGE = "mekhq/resources/CampaignOptionsDialog";
private static final ResourceBundle resources = ResourceBundle.getBundle(RESOURCE_PACKAGE,
MekHQ.getMHQOptions().getLocale());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* Provides options to select a preset, customize a preset, or cancel the operation.
*/
public class SelectPresetDialog extends JDialog {
private static String RESOURCE_PACKAGE = "mekhq/resources/NEWCampaignOptionsDialog";
private static String RESOURCE_PACKAGE = "mekhq/resources/CampaignOptionsDialog";
private static final ResourceBundle resources = ResourceBundle.getBundle(RESOURCE_PACKAGE,
MekHQ.getMHQOptions().getLocale());

Expand Down

0 comments on commit c15e78b

Please sign in to comment.