diff --git a/dashboard/src/translation/en.json b/dashboard/src/translation/en.json index 286f8426b..61e73f7f1 100644 --- a/dashboard/src/translation/en.json +++ b/dashboard/src/translation/en.json @@ -371,7 +371,8 @@ "label": "Bind Password", "description": "All LDAP queries have to be authenticated with this secret and the user DN {{ userDN }}", "url": "Server URL" - } + }, + "cloudflarePortWarning": "Cloudflare proxying must be disabled on the dashboard domain to access the LDAP server" }, "userImportDialog": { "title": "Import Users", @@ -856,7 +857,7 @@ "cloudronId": "Cloudron ID", "subscriptionEndsAt": "Canceled and ends on", "subscriptionSetupAction": "Upgrade to Premium", - "subscriptionChangeAction": "Change Subscription", + "subscriptionChangeAction": "Manage Subscription", "subscriptionReactivateAction": "Reactivate Subscription", "emailNotVerified": "Email not yet verified" }, diff --git a/dashboard/src/translation/fr.json b/dashboard/src/translation/fr.json index 4d4ddcccb..fe5370e55 100644 --- a/dashboard/src/translation/fr.json +++ b/dashboard/src/translation/fr.json @@ -22,7 +22,8 @@ "auth": { "nosso": "Se connecter avec un compte dédié", "email": "Se connecter avec une adresse email", - "sso": "Se connecter avec vos identifiants Cloudron" + "sso": "Se connecter avec vos identifiants Cloudron", + "openid": "Se connecter avec Cloudron OpenID" }, "addAppAction": "Ajouter Application", "addAppproxyAction": "Ajouter Proxy d'application", @@ -39,7 +40,8 @@ "cancel": "Annuler", "save": "Sauvegarder", "no": "Non", - "yes": "Oui" + "yes": "Oui", + "delete": "Supprimer" }, "username": "Nom d'utilisateur", "actions": "Actions", @@ -55,7 +57,8 @@ }, "action": { "logs": "Journaux", - "reboot": "Redémarrer" + "reboot": "Redémarrer", + "showLogs": "Afficher Journaux" }, "rebootDialog": { "rebootAction": "Redémarrer maintenant", @@ -87,7 +90,9 @@ }, "disableAction": "Désactiver", "enableAction": "Activer", - "loadingPlaceholder": "Chargement" + "loadingPlaceholder": "Chargement", + "settings": "Paramètres", + "saveAction": "Sauvegarde" }, "users": { "title": "Annuaire des utilisateurs", @@ -119,7 +124,7 @@ "externalLdapTooltip": "Depuis un annuaire LDAP externe" }, "settings": { - "title": "Paramètres", + "title": "Paramètres Utilisateur", "allowProfileEditCheckbox": "Autoriser les utilisateurs à modifier leur nom et leur adresse email", "saveAction": "Enregistrer", "subscriptionRequired": "Ces fonctionnalités sont uniquement disponibles dans la version payante.", @@ -494,7 +499,8 @@ "port": "Port", "cifsSealSupport": "Utilisez le cryptage du sceau. Nécessite au moins SMB v3", "chown": "Le système de fichiers distant prend en charge chown", - "encryptedFilenames": "Crypter les noms de fichiers" + "encryptedFilenames": "Crypter les noms de fichiers", + "encryptFilenames": "Fichiers Cryptés" }, "backupDetails": { "title": "Informations sur la sauvegarde", @@ -536,7 +542,8 @@ "preserved": { "description": "Sauvegarde persistante quelle que soit la politique de rétention", "tooltip": "Cela préservera également le courrier et les sauvegardes d'application {{ appsLength }}." - } + }, + "remotePath": "Répertoire Distant" } }, "emails": { @@ -592,7 +599,8 @@ "solrEnabled": "Activé", "solrRunning": "Actif", "acl": "Adresse ACL (liste de contrôle d'accès)", - "aclOverview": "{{ dnsblZonesCount }} liste(s) DNSBL" + "aclOverview": "{{ dnsblZonesCount }} liste(s) DNSBL", + "virtualAllMail": "Dossier \"Tout les Emails\"" }, "domains": { "disabled": "Désactivé", @@ -851,7 +859,10 @@ "titleLogin": "Se connecter à Cloudron.io", "description": "Ce compte permet d'accéder à l'App Store et de gérer votre abonnement", "2faToken": "Jeton 2FA (si activé)", - "intendedUse": "Type d'usage" + "intendedUse": "Type d'usage", + "setupWithTokenAction": "Configuration", + "setupToken": "Configuration Jeton", + "titleToken": "Se connecter avec un Jeton" }, "title": "App Store", "appNotFoundDialog": { diff --git a/dashboard/src/translation/nl.json b/dashboard/src/translation/nl.json index c47de77ff..3271d54cc 100644 --- a/dashboard/src/translation/nl.json +++ b/dashboard/src/translation/nl.json @@ -234,14 +234,14 @@ "groupnameField": "Veld voor groepsnaam", "server": "Server URL", "showLogsAction": "Toon logbestanden", - "syncAction": "Synchroniseer", + "syncAction": "Sync", "configureAction": "Configureer", "bindUsername": "Bind DN/Username (optioneel)", "bindPassword": "Bind Password (optioneel)", "errorSelfSignedCert": "Server gebruikt een ongeldig of zelf-ondertekend certificaat.", "description": "Deze instelling synchroniseert en authentificeert gebruikers en groepen van een extern LDAP of ActiveDirectory server. De synchronisatie is periodiek maar kan ook handmatig gestart worden.", "auth": "Authenticatie", - "autocreateUsersOnLogin": "Maak automatisch gebruikers aan na inloggen bij deze Cloudron", + "autocreateUsersOnLogin": "Maak automatisch gebruikers bij inloggen", "providerOther": "Anders", "providerDisabled": "Uitgeschakeld", "disableWarning": "De authentificatie-bron van alle bestaande gebruikers zal worden omgezet naar authentificatie via de lokale wachtwoord database." @@ -1291,7 +1291,7 @@ "cloudronId": "Cloudron ID", "subscriptionEndsAt": "Opgezegd en eindigt op", "subscriptionSetupAction": "Upgrade naar Premium", - "subscriptionChangeAction": "Abonnement wijzigen", + "subscriptionChangeAction": "Beheer abonnement", "subscriptionReactivateAction": "Abonnement heractiveren", "title": "Cloudron.io Account", "description": "Een Cloudron.io account wordt gebruikt voor toegang tot de App Store en om je abonnement te beheren.", diff --git a/dashboard/src/views/user-settings.html b/dashboard/src/views/user-settings.html index e1aca2abe..f9baa37cc 100644 --- a/dashboard/src/views/user-settings.html +++ b/dashboard/src/views/user-settings.html @@ -453,6 +453,7 @@ +

{{ 'users.exposedLdap.cloudflarePortWarning' | tr }}

diff --git a/dashboard/src/views/user-settings.js b/dashboard/src/views/user-settings.js index b00a2d2ad..e89dc86c4 100644 --- a/dashboard/src/views/user-settings.js +++ b/dashboard/src/views/user-settings.js @@ -25,6 +25,7 @@ angular.module('Application').controller('UserSettingsController', ['$scope', '$ $scope.ready = false; $scope.config = Client.getConfig(); $scope.userInfo = Client.getUserInfo(); + $scope.adminDomain = null; $scope.oidcClients = []; $scope.profileConfig = { @@ -410,6 +411,11 @@ angular.module('Application').controller('UserSettingsController', ['$scope', '$ $scope.profileConfig.refresh(); $scope.userDirectoryConfig.refresh(); $scope.refreshOIDCClients(); + + Client.getDomains(function (error, result) { + if (error) return console.error('Unable to list domains.', error); + $scope.adminDomain = result.filter(function (d) { return d.domain === $scope.config.adminDomain; })[0]; + }); }); // setup all the dialog focus handling