You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Util.debugLog("Player "+e.getPlayer().getName()+" using new locale "+e.getLocale()+": "+plugin.text().of(e.getPlayer(),"file-test").forLocale(e.getLocale()));
324
333
// Notify the player any messages they were sent
325
334
if (plugin.getConfig().getBoolean("shop.auto-fetch-shop-messages")) {
if (configuration.getInt("language-version") < bundledLang.getInt("language-version"))
83
-
Util.debugLog("Locale " + availableLanguage + " file version is outdated, some string will fallback to English.");
89
+
Util.debugLog("Locale " + crowdinCode + " file version is outdated, some string will fallback to English.");
84
90
} catch (CrowdinOTA.OTAExceptione) {
85
-
plugin.getLogger().warning("Couldn't update the translation for locale " + availableLanguage + " because it not configured, please report to QuickShop");
91
+
plugin.getLogger().warning("Couldn't update the translation for locale " + crowdinCode + " because it not configured, please report to QuickShop");
86
92
} catch (IOExceptione) {
87
-
plugin.getLogger().log(Level.WARNING, "Couldn't update the translation for locale " + availableLanguage + " please check your network connection.", e);
93
+
plugin.getLogger().log(Level.WARNING, "Couldn't update the translation for locale " + crowdinCode + " please check your network connection.", e);
88
94
} catch (Exceptione) {
89
-
plugin.getLogger().log(Level.WARNING, "Couldn't update the translation for locale " + availableLanguage + ".", e);
95
+
plugin.getLogger().log(Level.WARNING, "Couldn't update the translation for locale " + crowdinCode + ".", e);
90
96
}
91
97
});
92
98
99
+
93
100
// for (String availableLanguage : distribution.getAvailableLanguages()) {
0 commit comments