fix language
This commit is contained in:
parent
8760491f35
commit
6fde8de8e5
1 changed files with 14 additions and 2 deletions
|
@ -219,7 +219,13 @@ pandora.ui.home = function() {
|
|||
var value = "tr"
|
||||
pandora.UI.set({
|
||||
locale: value,
|
||||
page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page,
|
||||
page: '',
|
||||
find: {
|
||||
conditions: value === ''
|
||||
? []
|
||||
: [{key: '*', value: value, operator: '='}],
|
||||
operator: '&'
|
||||
},
|
||||
section: 'items'
|
||||
});
|
||||
pandora.setLocale(value, () => {
|
||||
|
@ -241,7 +247,13 @@ pandora.ui.home = function() {
|
|||
var value = "en"
|
||||
pandora.UI.set({
|
||||
locale: value,
|
||||
page: pandora.user.ui.page == 'home' ? '' : pandora.user.ui.page,
|
||||
page: '',
|
||||
find: {
|
||||
conditions: value === ''
|
||||
? []
|
||||
: [{key: '*', value: value, operator: '='}],
|
||||
operator: '&'
|
||||
},
|
||||
section: 'items'
|
||||
});
|
||||
pandora.setLocale(value, () => {
|
||||
|
|
Loading…
Reference in a new issue