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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user