diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandbackup.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandbackup.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandbackup.java b/Essentials/src/com/earth2me/essentials/commands/Commandbackup.java index 4da00e26e..a384cb6bd 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandbackup.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandbackup.java @@ -2,7 +2,7 @@ package com.earth2me.essentials.commands; import com.earth2me.essentials.Backup; import com.earth2me.essentials.CommandSource; -import static com.earth2me.essentials.I18n._; +import static com.earth2me.essentials.I18n.tl; import org.bukkit.Server; @@ -19,14 +19,14 @@ public class Commandbackup extends EssentialsCommand final Backup backup = ess.getBackup(); if (backup == null) { - throw new Exception(_("backupDisabled")); + throw new Exception(tl("backupDisabled")); } final String command = ess.getSettings().getBackupCommand(); if (command == null || "".equals(command) || "save-all".equalsIgnoreCase(command)) { - throw new Exception(_("backupDisabled")); + throw new Exception(tl("backupDisabled")); } backup.run(); - sender.sendMessage(_("backupStarted")); + sender.sendMessage(tl("backupStarted")); } } |