From 96ce6318360f05aaf703f4b71638dee8339c6f0a Mon Sep 17 00:00:00 2001 From: snowleo Date: Sat, 6 Apr 2013 05:45:36 +0200 Subject: Update default messages to latest from 2.9 branch --- .../src/com/earth2me/essentials/EssentialsConf.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Essentials2Compat/src/com/earth2me/essentials') diff --git a/Essentials2Compat/src/com/earth2me/essentials/EssentialsConf.java b/Essentials2Compat/src/com/earth2me/essentials/EssentialsConf.java index 936c790ae..ea43127d8 100644 --- a/Essentials2Compat/src/com/earth2me/essentials/EssentialsConf.java +++ b/Essentials2Compat/src/com/earth2me/essentials/EssentialsConf.java @@ -47,7 +47,7 @@ public class EssentialsConf extends YamlConfiguration { if (!configFile.getParentFile().mkdirs()) { - LOGGER.log(Level.SEVERE, _("Failed to create config {0}", configFile.toString())); + LOGGER.log(Level.SEVERE, _("Failed to create config {0}.", configFile.toString())); } } // This will delete files where the first character is 0. In most cases they are broken. @@ -100,12 +100,12 @@ public class EssentialsConf extends YamlConfiguration LOGGER.log(Level.INFO, _("Creating empty config: {0}", configFile.toString())); if (!configFile.createNewFile()) { - LOGGER.log(Level.SEVERE, _("Failed to create config {0}", configFile.toString())); + LOGGER.log(Level.SEVERE, _("Failed to create config {0}.", configFile.toString())); } } catch (IOException ex) { - LOGGER.log(Level.SEVERE, _("Failed to create config {0}", configFile.toString()), ex); + LOGGER.log(Level.SEVERE, _("Failed to create config {0}.", configFile.toString()), ex); } } } @@ -190,7 +190,7 @@ public class EssentialsConf extends YamlConfiguration } catch (IOException ex) { - LOGGER.log(Level.SEVERE, _("Failed to write config {0}", configFile.toString()), ex); + LOGGER.log(Level.SEVERE, _("Failed to write config {0}.", configFile.toString()), ex); } finally { @@ -214,7 +214,7 @@ public class EssentialsConf extends YamlConfiguration } catch (IOException ex) { - LOGGER.log(Level.SEVERE, _("Failed to close config {0}", configFile.toString()), ex); + LOGGER.log(Level.SEVERE, _("Failed to close config {0}.", configFile.toString()), ex); } } } -- cgit v1.2.3