mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-09 22:26:18 +02:00
settings: reword some log messages
This commit is contained in:
parent
36f39a6e13
commit
0e972aaecf
@ -393,10 +393,10 @@ exports.reloadSettings = function reloadSettings() {
|
||||
//loop trough the settings
|
||||
for(var i in settings)
|
||||
{
|
||||
//test if the setting start with a low character
|
||||
//test if the setting start with a lowercase character
|
||||
if(i.charAt(0).search("[a-z]") !== 0)
|
||||
{
|
||||
console.warn("Settings should start with a low character: '" + i + "'");
|
||||
console.warn("Settings should start with a lowercase character: '" + i + "'");
|
||||
}
|
||||
|
||||
//we know this setting, so we overwrite it
|
||||
@ -419,10 +419,10 @@ exports.reloadSettings = function reloadSettings() {
|
||||
//loop trough the settings
|
||||
for(var i in credentials)
|
||||
{
|
||||
//test if the setting start with a low character
|
||||
//test if the setting start with a lowercase character
|
||||
if(i.charAt(0).search("[a-z]") !== 0)
|
||||
{
|
||||
console.warn("Settings should start with a low character: '" + i + "'");
|
||||
console.warn("Settings should start with a lowercase character: '" + i + "'");
|
||||
}
|
||||
|
||||
//we know this setting, so we overwrite it
|
||||
@ -448,7 +448,7 @@ exports.reloadSettings = function reloadSettings() {
|
||||
log4js.replaceConsole();
|
||||
|
||||
if (!exports.skinName) {
|
||||
console.warn(`No "skinName" parameter found. Please consult settings.json.template and update your settings.json. Falling back to the default "no-skin".`);
|
||||
console.warn(`No "skinName" parameter found. Please check out settings.json.template and update your settings.json. Falling back to the default "no-skin".`);
|
||||
exports.skinName = "no-skin";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user