mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
feat(i18n) Custom i18n strings (#4000)
* Custom i18n strings (and some code formatting) * Documentation for per-instance l10n overwrites
This commit is contained in:
parent
170f471299
commit
61c7bb9699
7 changed files with 54 additions and 6 deletions
|
@ -29,9 +29,9 @@ exports.socketio = function (hook_name, args, cb) {
|
|||
return console.log(err);
|
||||
}
|
||||
|
||||
//if showSettingsInAdminPage is set to false, then return NOT_ALLOWED in the result
|
||||
// if showSettingsInAdminPage is set to false, then return NOT_ALLOWED in the result
|
||||
if(settings.showSettingsInAdminPage === false) {
|
||||
socket.emit("settings", {results:'NOT_ALLOWED'});
|
||||
socket.emit("settings", {results: 'NOT_ALLOWED'});
|
||||
}
|
||||
else {
|
||||
socket.emit("settings", {results: data});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue