add sample app.json for new translations, send client side strings to the browser, send languages to the browser with a language name and code

This commit is contained in:
Matteo Pagliazzi
2013-11-12 22:01:27 +01:00
parent 7351697cbb
commit be2010b0a2
4 changed files with 35 additions and 10 deletions

View File

@@ -40,6 +40,7 @@ habitrpg.controller('SettingsCtrl',
$rootScope.$on('userSynced', function(){
location.reload();
});
console.log($scope.language);
User.set('preferences.language', $scope.language);
}