mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Add notify for language loading.
Former-commit-id: 3983f822ffe23d647a516492ee588febd7b8914e
This commit is contained in:
1 parent
666328f464
commit
c84a26cc61
1 file changed
+2
-1
@@ -229,6 +229,7 @@ public class MsgUtil {
|
||||
}
|
||||
|
||||
public static void loadCfgMessages() throws InvalidConfigurationException {
|
||||
plugin.getLogger().info("Loading plugin translations files...");
|
||||
/* Check & Load & Create default messages.yml */
|
||||
// Use try block to hook any possible exception, make sure not effect our cfgMessnages code.
|
||||
String languageCode = plugin.getConfig().getString("language", "en-US");
|
||||
@@ -306,7 +307,7 @@ public class MsgUtil {
|
||||
inited = true;
|
||||
}
|
||||
/* Save the upgraded messages.yml */
|
||||
|
||||
plugin.getLogger().info("Completed to load plugin translations files.");
|
||||
}
|
||||
|
||||
public static void loadEnchi18n() {
|
||||
|
||||
Reference in new issue
Block a user