Compare commits

..

No commits in common. "59c25e5832c5c1f844caec6965cab817b90972cc" and "0b1cee27e1e7701b578c19778abc2055e1fc002c" have entirely different histories.

2 changed files with 4 additions and 12 deletions

View File

@ -1,5 +1,4 @@
{ {
"id":"language",
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
"tip":"change UI language", "tip":"change UI language",
@ -23,13 +22,6 @@
"options":{ "options":{
"url":"{{entire_url('menu.ui')}}" "url":"{{entire_url('menu.ui')}}"
} }
},
{
"wid":"app",
"event":"lang",
"actiontype":"script",
"target":"self",
"script":"this.set_otext(bricks.app.lang)"
} }
] ]
} }

View File

@ -7,22 +7,22 @@
{ {
"name":"en", "name":"en",
"label":"en", "label":"en",
"script":"this.change_language('en')" "script":"this.change_lang('en')"
}, },
{ {
"name":"zh", "name":"zh",
"label":"zh", "label":"zh",
"script":"this.change_language('zh')" "script":"this.change_lang('zh')"
}, },
{ {
"name":"jp", "name":"jp",
"label":"jp", "label":"jp",
"script":"this.change_language('jp')" "script":"this.change_lang('jp')"
}, },
{ {
"name":"ko", "name":"ko",
"label":"ko", "label":"ko",
"script":"this.change_language('ko')" "script":"this.change_lang('ko')"
} }
] ]
} }