RPTools / maptool

Virtual Tabletop for playing roleplaying games with remote players or face to face.
http://rptools.net
GNU Affero General Public License v3.0
787 stars 259 forks source link

[Bug]: Campaign properties can't be opened in some locales #4951

Open kwvanderlinde opened 1 day ago

kwvanderlinde commented 1 day ago

Describe the Bug

When running MT under a certain locales, the campaign properties dialog can't be opened due to a missing I18N key:

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key CampaignPropertiesDialog.label.owner

To Reproduce

  1. Start MT
  2. Try to open the campaign properties

Expected Behaviour

The campaign properties dialog can be opened without issue.

Screenshots

No response

MapTool Info

1.15.1

Desktop

Linux Mint 22

Additional Context

There was recently a fix to a typo: CampaginPropertiesDialog.label.owner -> CampaignPropertiesDialog.label.owner. Unfortunately the root i18n.properties file was missed and so does not have the new key. Any locale that doesn't have an "override" for the correct spelling will fail with this bug.