diff --git a/src/main/java/de/aikiit/spamprotector/AntiSpamApplication.java b/src/main/java/de/aikiit/spamprotector/AntiSpamApplication.java index 6f4b4868d..6aff5fdea 100755 --- a/src/main/java/de/aikiit/spamprotector/AntiSpamApplication.java +++ b/src/main/java/de/aikiit/spamprotector/AntiSpamApplication.java @@ -3,6 +3,9 @@ //DEPS com.google.guava:guava:32.1.2-jre //DEPS org.apache.logging.log4j:log4j-core:3.0.0-alpha1 //SOURCES ** +// how to integrate properties - https://github.com/jbangdev/jbang/issues/1665 +//FILES **/src/main/resources/spamprotector.properties +//FILES **/src/main/resources/spamprotector_en.properties // https://github.com/jbangdev/jbang/issues/1666 - adding as file not working /** FILES src/main/resources/Version.java=de.aikiit.spamprotector.util.Version.java */ diff --git a/src/main/java/de/aikiit/spamprotector/GUI.java b/src/main/java/de/aikiit/spamprotector/GUI.java index a444ad9de..799f6e0c9 100755 --- a/src/main/java/de/aikiit/spamprotector/GUI.java +++ b/src/main/java/de/aikiit/spamprotector/GUI.java @@ -59,7 +59,8 @@ private void init() { help.setMnemonic(getBundleString("spamschutz.ui.help.mnemonic").charAt(0)); help.addActionListener(e -> JOptionPane.showMessageDialog(null, getParameterizedBundleString("spamschutz.ui.help.text", String.valueOf(now.getYear()), - de.aikiit.spamprotector.util.Version.VERSION), + // TODO remove me, once #94 is resolved + "de.aikiit.spamprotector.util.Version.VERSION"), getBundleString("spamschutz.ui.help.title"), JOptionPane.INFORMATION_MESSAGE));