Language files issues, Need regen

Former-commit-id: 8aebb3633d81edccb932cd88fb79754993b7b07b
This commit is contained in:
Ghost_chu committed 2018-10-06 22:49:12 +08:00
1 parent 14747f9147
commit 3f9c879a5a
3 files changed
+9 -4

No files matched your search

@@ -335,7 +335,7 @@ public class QS implements CommandExecutor {
sender.sendMessage(MsgUtil.getMessage("no-permission"));
}
} else {
sender.sendMessage(MsgUtil.getMessage("not-looking-at-shop"));
sender.sendMessage(MsgUtil.getMessage("no-anythings-in-your-hand"));
}
} else {
sender.sendMessage("This command can't be run by console");
@@ -441,7 +441,9 @@ public class MsgUtil {
public static String getMessage(String loc, String... args) {
String raw = messages.getString(loc);
if (raw == null) {
return "Invalid message: " + loc;
return "Invalid message: " + loc+" Please update your messages.yml";
}
if (raw.isEmpty()) {
return "";
+5 -2
View File
@@ -2,16 +2,19 @@
# &0-9, &a-f
# {0}, {1}, {2}, etc are variables. You can swap them around, but adding a new variable won't work. Removing them will work
# Translate dara.
# Translate data.
# ======================================================================
# For Translator: These string can changed by your self.
language-author: "&c&lTranslator: &b&lGhost_chu"
language-contributors: "&c&lContributors: &b&lTimtower, Netherfoam, KaiNoMood and Mgazul"
language-version: "&c&lSupport Version: &b&lReremake 1.1.9-1.2.0"
language-version: "&c&lSupport Version: &b&lReremake 1.2.5.2"
language-country: "&c&lLanguage Zone: &b&lEnglish (en_US)"
# ======================================================================
language-version: 1
not-looking-at-shop: "&cNo QuickShop found. You must be looking at one."
no-anythings-in-your-hand: "&cNo anythings in your hand."
no-permission: "&cYou do not have permission to do that."
no-creative-break: "&cYou cannot break other players shops in creative mode. Use survival instead."
no-double-chests: "&cYou don't have permission to create a double-chest shop."