diff --git a/src/js/setupdns.js b/src/js/setupdns.js index e46fd56a0..403636020 100644 --- a/src/js/setupdns.js +++ b/src/js/setupdns.js @@ -85,6 +85,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f { name: 'Gandi LiveDNS', value: 'gandi' }, { name: 'GoDaddy', value: 'godaddy' }, { name: 'Google Cloud DNS', value: 'gcdns' }, + { name: 'Hetzner', value: 'hetzner' }, { name: 'Linode', value: 'linode' }, { name: 'Name.com', value: 'namecom' }, { name: 'Namecheap', value: 'namecheap' }, @@ -108,6 +109,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f godaddyApiKey: '', godaddyApiSecret: '', linodeToken: '', + hetznerToken: '', vultrToken: '', nameComUsername: '', nameComToken: '', @@ -193,6 +195,8 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f config.tokenType = $scope.dnsCredentials.cloudflareTokenType; } else if (provider === 'linode') { config.token = $scope.dnsCredentials.linodeToken; + } else if (provider === 'hetzner') { + config.token = $scope.dnsCredentials.hetznerToken; } else if (provider === 'vultr') { config.token = $scope.dnsCredentials.vultrToken; } else if (provider === 'namecom') { diff --git a/src/setupdns.html b/src/setupdns.html index 738346cf6..8068ada3e 100644 --- a/src/setupdns.html +++ b/src/setupdns.html @@ -211,6 +211,12 @@
+ ++ + +
+
diff --git a/src/translation/en.json b/src/translation/en.json
index 48c35c556..15a8ec943 100644
--- a/src/translation/en.json
+++ b/src/translation/en.json
@@ -990,7 +990,8 @@
"netcupApiPassword": "API Password",
"vultrToken": "Vultr Token",
"wellKnownDescription": "The values will be used by Cloudron to respond to /.well-known/ URLs. Note that an app must be available on the bare domain {{ domain }} for this to work. See the docs for more information.",
- "jitsiHostname": "Jitsi Location"
+ "jitsiHostname": "Jitsi Location",
+ "hetznerToken": "Hetzner Token"
},
"removeDialog": {
"title": "Really remove {{ domain }}?",
diff --git a/src/translation/nl.json b/src/translation/nl.json
index b62c3de76..e1d8fbaeb 100644
--- a/src/translation/nl.json
+++ b/src/translation/nl.json
@@ -184,7 +184,8 @@
"invitationTooltip": "Gebruiker uitnodigen",
"setGhostTooltip": "Nabootsen",
"mailmanagerTooltip": "Deze gebruiker kan gebruikers en mailboxen beheren",
- "count": "Totaal gebruikers: {{ count }}"
+ "count": "Totaal gebruikers: {{ count }}",
+ "makeLocalTooltip": "Maak gebruiker lokaal"
},
"groups": {
"title": "Groepen",
@@ -376,6 +377,12 @@
"all": "Alle gebruikers",
"active": "Actieve gebruikers",
"inactive": "Inactieve gebruikers"
+ },
+ "makeLocalDialog": {
+ "title": "Maak deze gebruiker lokaal",
+ "description": "De gebruiker wordt hiermee gemigreerd van de externe gebruikerslijst naar die van Cloudron.",
+ "warning": "Een wachtwoord herstel wordt geïnitieerd om een lokaal wachtwoord in te stellen voor deze gebruiker.",
+ "submitAction": "Maak lokaal"
}
},
"profile": {
diff --git a/src/translation/ru.json b/src/translation/ru.json
index 3e32476fb..4d75a55bd 100644
--- a/src/translation/ru.json
+++ b/src/translation/ru.json
@@ -376,6 +376,9 @@
"all": "Все пользователи",
"active": "Активные пользователи",
"inactive": "Неактивные пользователи"
+ },
+ "makeLocalDialog": {
+ "title": "Установить этого пользователя локально"
}
},
"profile": {
diff --git a/src/views/domains.html b/src/views/domains.html
index e4b7d7e0f..f83e0424a 100644
--- a/src/views/domains.html
+++ b/src/views/domains.html
@@ -123,6 +123,12 @@
+
+