mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
no need to ask for translations if no template files are included
This commit is contained in:
parent
1bb44098df
commit
ff4da04907
1 changed files with 2 additions and 1 deletions
|
@ -182,7 +182,8 @@ fs.readdir(pluginPath, function (err, rootFiles) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(files.indexOf("locales") === -1){
|
// if we include templates but don't have translations...
|
||||||
|
if(files.indexOf("templates") !== -1 && files.indexOf("locales") === -1){
|
||||||
console.warn("Translations not found, please create. Translation files help with Etherpad accessibility.");
|
console.warn("Translations not found, please create. Translation files help with Etherpad accessibility.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue