Translate the profile main view
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user