mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
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:
@@ -40,6 +40,7 @@ habitrpg.controller('SettingsCtrl',
|
||||
$rootScope.$on('userSynced', function(){
|
||||
location.reload();
|
||||
});
|
||||
console.log($scope.language);
|
||||
User.set('preferences.language', $scope.language);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user