mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
Updated de_DE.lang
This commit is contained in:
1 parent
4c74e3865f
commit
37cdfe151e
6 files changed
+22
-13
No files matched your search
@@ -78,7 +78,7 @@ public class CommandBeekeepingMode extends CommandMC {
|
||||
public void processCommand(ICommandSender sender, String[] arguments) {
|
||||
|
||||
if (arguments.length <= 0)
|
||||
throw new WrongUsageException("Type '" + this.getCommandUsage(sender) + "' for help.");
|
||||
throw new WrongUsageException(StringUtil.localizeAndFormat("chat.help",this.getCommandUsage(sender)));
|
||||
|
||||
if (arguments[0].matches("list"))
|
||||
listModes(sender, arguments);
|
||||
@@ -93,10 +93,10 @@ public class CommandBeekeepingMode extends CommandMC {
|
||||
|
||||
IBeekeepingMode mode = PluginApiculture.beeInterface.getBeekeepingMode(desired);
|
||||
if (mode == null)
|
||||
throw new CommandException("A bekeeping mode called '%s' is not available.", desired);
|
||||
throw new CommandException(StringUtil.localize("chat.bees.command.beekeeping.error"), desired);
|
||||
|
||||
PluginApiculture.beeInterface.setBeekeepingMode(world, mode.getName());
|
||||
func_152373_a(sender, this, "Beekeeping mode set to %s.", mode.getName());
|
||||
func_152373_a(sender, this, StringUtil.localize("chat.bees.command.beekeeping.set"), mode.getName());
|
||||
|
||||
} else if (arguments[0].matches("save")) {
|
||||
if (arguments.length <= 1)
|
||||
|
||||
@@ -78,7 +78,7 @@ public class CommandTreekeepingMode extends CommandMC {
|
||||
public void processCommand(ICommandSender sender, String[] arguments) {
|
||||
|
||||
if (arguments.length <= 0)
|
||||
throw new WrongUsageException("Type '" + this.getCommandUsage(sender) + "' for help.");
|
||||
throw new WrongUsageException(StringUtil.localizeAndFormat("chat.help",this.getCommandUsage(sender)));
|
||||
|
||||
if (arguments[0].matches("list"))
|
||||
listModes(sender, arguments);
|
||||
@@ -93,10 +93,10 @@ public class CommandTreekeepingMode extends CommandMC {
|
||||
|
||||
ITreekeepingMode mode = PluginArboriculture.treeInterface.getTreekeepingMode(desired);
|
||||
if (mode == null)
|
||||
throw new CommandException("A treekeeping mode called '%s' is not available.", desired);
|
||||
throw new CommandException(StringUtil.localize("chat.trees.command.treekeeping.error"), desired);
|
||||
|
||||
PluginArboriculture.treeInterface.setTreekeepingMode(world, mode.getName());
|
||||
func_152373_a(sender, this, "Treekeeping mode set to %s.", mode.getName());
|
||||
func_152373_a(sender, this, StringUtil.localize("chat.trees.command.treekeeping.set"), mode.getName());
|
||||
|
||||
} else if (arguments[0].matches("save")) {
|
||||
if (arguments.length <= 1)
|
||||
|
||||
@@ -53,7 +53,7 @@ public class CommandForestry extends CommandMC {
|
||||
public void processCommand(ICommandSender sender, String[] arguments) {
|
||||
|
||||
if (arguments.length <= 0)
|
||||
throw new WrongUsageException("Type '" + this.getCommandUsage(sender) + "' for help.");
|
||||
throw new WrongUsageException(StringUtil.localizeAndFormat("chat.help",this.getCommandUsage(sender)));
|
||||
|
||||
if (arguments[0].matches("version")) {
|
||||
commandVersion(sender, arguments);
|
||||
@@ -76,7 +76,7 @@ public class CommandForestry extends CommandMC {
|
||||
private void commandVersion(ICommandSender sender, String[] arguments) {
|
||||
String colour = Version.isOutdated() ? "\u00A7c" : "\u00A7a";
|
||||
|
||||
sendChatMessage(sender, String.format(colour + "Forestry %s for Minecraft %s (Latest: %s).", Version.getVersion(),
|
||||
sendChatMessage(sender, String.format(colour + StringUtil.localize("chat.version"), Version.getVersion(),
|
||||
Proxies.common.getMinecraftVersion(), Version.getRecommendedVersion()));
|
||||
if (Version.isOutdated())
|
||||
for (String updateLine : Version.getChangelog())
|
||||
@@ -123,7 +123,7 @@ public class CommandForestry extends CommandMC {
|
||||
}
|
||||
|
||||
if (found == null)
|
||||
throw new CommandException("No information available for plugin " + arguments[2] + ".");
|
||||
throw new CommandException(StringUtil.localizeAndFormat("chat.plugins.error",arguments[2]));
|
||||
|
||||
String entry = "\u00A7c";
|
||||
if (found.isAvailable())
|
||||
|
||||
@@ -56,7 +56,7 @@ public class CommandMail extends CommandMC {
|
||||
@Override
|
||||
public void processCommand(ICommandSender sender, String[] arguments) {
|
||||
if (arguments.length <= 0)
|
||||
throw new WrongUsageException("Type '" + this.getCommandUsage(sender) + "' for help.");
|
||||
throw new WrongUsageException(StringUtil.localizeAndFormat("chat.help",this.getCommandUsage(sender)));
|
||||
|
||||
if (arguments[0].matches("trades")) {
|
||||
commandTrades(sender, arguments);
|
||||
@@ -102,7 +102,7 @@ public class CommandMail extends CommandMC {
|
||||
|
||||
private void commandVirtualize(ICommandSender sender, String[] arguments) {
|
||||
if ((sender instanceof EntityPlayer && !Proxies.common.isOp((EntityPlayer) sender)) || (!sender.canCommandSenderUseCommand(4, getCommandName()))) {
|
||||
sendChatMessage(sender, "\u00a7cYou do not have permission to use this command.");
|
||||
sendChatMessage(sender, "\u00a7c" + StringUtil.localize("chat.command.noperms"));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -113,7 +113,7 @@ public class CommandMail extends CommandMC {
|
||||
MailAddress address = new MailAddress(arguments[1]);
|
||||
ITradeStation trade = PostManager.postRegistry.getTradeStation(world, address);
|
||||
if (trade == null) {
|
||||
sendChatMessage(sender, String.format("\u00a7cNo tradestation by the name of '%s' was found.", arguments[1]));
|
||||
sendChatMessage(sender, String.format("\u00a7c" + StringUtil.localize("chat.mail.command.no_tradestation"), arguments[1]));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user