diff --git a/static/js/home.bakma.js b/static/js/home.bakma.js index 44e0697..a316a07 100644 --- a/static/js/home.bakma.js +++ b/static/js/home.bakma.js @@ -209,20 +209,22 @@ pandora.ui.home = function() { }), $preferencesButton = Ox.Button({ - title: Ox._('Preferences'), + title: Ox._('Türkçe'), width: 252 }) .css({ }) .bindEvent({ click: function() { - pandora.UI.set({page: 'preferences'}); + var value = "tr" + pandora.UI.set({locale: value}); + pandora.setLocale(value, pandora.$ui.appPanel.reload); that.fadeOutScreen(); } }), $aboutButton = Ox.Button({ - title: Ox._('About {0}', [pandora.site.site.name]), + title: Ox._('English'), width: 252 }) .css({ @@ -230,7 +232,9 @@ pandora.ui.home = function() { }) .bindEvent({ click: function() { - pandora.UI.set({page: 'about'}); + var value = "en" + pandora.UI.set({locale: value}); + pandora.setLocale(value, pandora.$ui.appPanel.reload); that.fadeOutScreen(); } }),