More regex path-fixes

This commit is contained in:
Eugene E. Kashpureff Jr
2016-05-15 20:09:03 +00:00
parent ab0ac29be8
commit 88b01ca563
3 changed files with 5 additions and 5 deletions
@@ -218,8 +218,8 @@ public class SettingsService {
"VideoMask", "CoverArtMask, HlsCommand", "HlsCommand2", "JukeboxCommand", "UrlRedirectTrialExpires", "VideoTrialExpires", "VideoMask", "CoverArtMask, HlsCommand", "HlsCommand2", "JukeboxCommand", "UrlRedirectTrialExpires", "VideoTrialExpires",
"CoverArtFileTypes", "UrlRedirectCustomHost", "CoverArtLimit", "StreamPort"); "CoverArtFileTypes", "UrlRedirectCustomHost", "CoverArtLimit", "StreamPort");
private static final String LOCALES_FILE = "/org.libresonic.player/i18n/locales.txt"; private static final String LOCALES_FILE = "/org/libresonic/player/i18n/locales.txt";
private static final String THEMES_FILE = "/org.libresonic.player/theme/themes.txt"; private static final String THEMES_FILE = "/org/libresonic/player/theme/themes.txt";
private static final Logger LOG = Logger.getLogger(SettingsService.class); private static final Logger LOG = Logger.getLogger(SettingsService.class);
@@ -19,11 +19,11 @@ public class MissingTranslations {
private static void diff(String locale1, String locale2) throws IOException { private static void diff(String locale1, String locale2) throws IOException {
Properties en = new Properties(); Properties en = new Properties();
en.load(MissingTranslations.class.getResourceAsStream("/org.libresonic.player/i18n/ResourceBundle_" + locale1 + ".properties")); en.load(MissingTranslations.class.getResourceAsStream("/org/libresonic/player/i18n/ResourceBundle_" + locale1 + ".properties"));
SortedMap<Object,Object> enSorted = new TreeMap<Object, Object>(en); SortedMap<Object,Object> enSorted = new TreeMap<Object, Object>(en);
Properties mk = new Properties(); Properties mk = new Properties();
mk.load(MissingTranslations.class.getResourceAsStream("/org.libresonic.player/i18n/ResourceBundle_" + locale2 + ".properties")); mk.load(MissingTranslations.class.getResourceAsStream("/org/libresonic/player/i18n/ResourceBundle_" + locale2 + ".properties"));
System.out.println("\nMessages present in locale " + locale1 + " and missing in locale " + locale2 + ":"); System.out.println("\nMessages present in locale " + locale1 + " and missing in locale " + locale2 + ":");
int count = 0; int count = 0;