Translate the profile main view

This commit is contained in:
Johannes Zellner
2020-10-31 12:24:35 +01:00
parent f2aade3b36
commit 7bad9f3e3e
6 changed files with 154 additions and 65 deletions
+4 -2
View File
@@ -10,14 +10,16 @@ angular.module('Application').controller('ProfileController', ['$scope', '$trans
$scope.apps = Client.getInstalledApps();
$scope.translationData = {
gravatarLink: 'https://gravatar.com/'
gravatarLink: 'https://gravatar.com/',
apiDocsLink: 'https://docs.cloudron.io/api.html'
};
$scope.language;
$scope.languages = [
{ label: 'English', key: 'en' },
{ label: 'French', key: 'fr' },
{ label: 'German', key: 'de' }
{ label: 'German', key: 'de' },
{ label: 'Italian', key: 'it' }
];
$translate.onReady(function () {