Add global locale change event, application now automatically change language when the event is triggered

This commit is contained in:
Xuan Sang LE
2018-03-10 12:22:01 +01:00
parent 45c89be5be
commit 1b9e6e88fa
38 changed files with 255 additions and 219 deletions

View File

@ -7,11 +7,11 @@ class UserService extends this.OS.GUI.BaseService
me = @
@child = [
{
text: __("About"), dataid: "user-about",
text: "__(About)", dataid: "user-about",
iconclass: "fa fa-user-circle-o"
},
{
text: __("Logout"), dataid: "sys-logout",
text: "__(Logout)", dataid: "sys-logout",
iconclass: "fa fa-user-times"
}
]