1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-20 05:21:21 +02:00

Update default messages to latest from 2.9 branch

This commit is contained in:
snowleo
2013-04-06 05:45:36 +02:00
parent 2754da89cb
commit 96ce631836
36 changed files with 533 additions and 491 deletions

View File

@@ -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);
}
}
}