mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-27 03:09:45 +02:00
Add global locale change event, application now automatically change language when the event is triggered
This commit is contained in:
@ -67,8 +67,8 @@ class MarketPlace extends this.OS.GUI.BaseApplication
|
||||
menu: () ->
|
||||
me = @
|
||||
return [
|
||||
{ text: __("Options"), child: [
|
||||
{ text: __("Repositories"), shortcut: "C-R" }
|
||||
{ text: "__(Options)", child: [
|
||||
{ text: "__(Repositories)", shortcut: "C-R" }
|
||||
] , onmenuselect: (e) ->
|
||||
me.openDialog "RepositoryDialog"
|
||||
}
|
||||
|
Reference in New Issue
Block a user