Use new translation argument passing

This commit is contained in:
Johannes Zellner
2020-11-12 23:13:52 +01:00
parent 50433206a3
commit bf2965dba0
16 changed files with 50 additions and 72 deletions
-9
View File
@@ -9,15 +9,6 @@ angular.module('Application').controller('ProfileController', ['$scope', '$trans
$scope.config = Client.getConfig();
$scope.apps = Client.getInstalledApps();
$scope.translationData = {
gravatarLink: 'https://gravatar.com/',
apiDocsLink: 'https://docs.cloudron.io/api.html',
googleAuthenticatorPlayStoreLink: 'https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2',
googleAuthenticatorITunesLink: 'https://itunes.apple.com/us/app/google-authenticator/id388497605',
freeOTPPlayStoreLink: 'https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp',
freeOTPITunesLink: 'https://itunes.apple.com/us/app/freeotp-authenticator/id872559395',
};
$scope.language;
$scope.languages = [
{ label: 'English', key: 'en' },