fix: localization master callback + various fixes
This commit is contained in:
1 parent
3abc254685
commit
27adad8dad
10 files changed
+69
-18
No files matched your search
@@ -33,6 +33,15 @@ module.exports = {
|
||||
// Load current language + namespaces
|
||||
this.refreshNamespaces(true)
|
||||
|
||||
// Listen for localization events
|
||||
WIKI.events.on('localization', (action) => {
|
||||
switch (action) {
|
||||
case 'reload':
|
||||
this.refreshNamespaces()
|
||||
break
|
||||
}
|
||||
})
|
||||
|
||||
return this
|
||||
},
|
||||
attachMiddleware (app) {
|
||||
|
||||
Reference in new issue
Block a user