diff --git a/index.html b/index.html index a2f813a..0713ed2 100755 --- a/index.html +++ b/index.html @@ -13,6 +13,7 @@ + @@ -74,6 +75,7 @@ + @@ -206,6 +208,34 @@ + + +
+ diff --git a/js/ctrls/nav.js b/js/ctrls/nav.js index 99f1581..dd9565b 100644 --- a/js/ctrls/nav.js +++ b/js/ctrls/nav.js @@ -8,12 +8,12 @@ angular '$scope', '$modals', '$rpc', '$rpchelpers', '$fileSettings', '$globalSettings', '$globalExclude', - '$utils', + '$utils', '$translate', function( scope, modals, rpc, rhelpers, fsettings, gsettings, gexclude, - utils + utils, translate ) { scope.isFeatureEnabled = function(f) { return rhelpers.isFeatureEnabled(f) }; @@ -131,6 +131,10 @@ angular modals.invoke( 'about' ); - } + }; + + scope.changeLanguage = function (langkey) { + translate.use(langkey); + }; }]);