mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
fix translation file
This commit is contained in:
1 parent
0e20f8e6b1
commit
2016011efc
3 files changed
+10
-2
No files matched your search
@@ -52,8 +52,9 @@ public class TextManager {
|
||||
try (InputStream stream = plugin.getResource("lang-original/messages.json")) {
|
||||
if (stream != null)
|
||||
bundledLang.loadFromString(new String(Util.inputStream2ByteArray(stream), StandardCharsets.UTF_8));
|
||||
} catch (IOException | InvalidConfigurationException ignored) {
|
||||
} catch (IOException | InvalidConfigurationException ex) {
|
||||
bundledLang = new JsonConfiguration();
|
||||
plugin.getLogger().log(Level.SEVERE,"Cannot load bundled language file from Jar, some strings may missing!",ex);
|
||||
}
|
||||
distribution.getAvailableLanguages().parallelStream().forEach(availableLanguage -> {
|
||||
try {
|
||||
|
||||
@@ -325,7 +325,7 @@
|
||||
"command-type-mismatch": "&cThis command only can executed by &b{0}.",
|
||||
"unlimited-shop-owner-changed": "&eThis unlimited shop owner has been changed to {0}.",
|
||||
"unlimited-shop-owner-keeped": "&eAttention: The shop owner still is unlimited shop owner, you need re-set new shop owner by yourself.",
|
||||
"server-crash-warning": "&cServer may crash after execute /qs reload command if you replace/delete QuickShop plugin Jar file while server running."
|
||||
"server-crash-warning": "&cServer may crash after execute /qs reload command if you replace/delete QuickShop plugin Jar file while server running.",
|
||||
"reloading-status": {
|
||||
"success": "&aReload completed without any errors.",
|
||||
"require-restart": "&aReload completed. &e(Some changes require server restart to affect)",
|
||||
|
||||
Reference in new issue
Block a user