summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikhil Ashoka <a.nikhil@ibm.com>2023-06-15 11:41:12 +0300
committerNikhil Ashoka <a.nikhil@ibm.com>2023-06-15 11:41:12 +0300
commit65fa7bf8c8bb0f3f856c69f7d8aa61808ad6994a (patch)
tree666f1a4667596d25d85ebad241dd15b2d31a1a8c
parent7768e783af7713a5d4c398bdd716e590e3b40d2e (diff)
downloadwebui-vue-65fa7bf8c8bb0f3f856c69f7d8aa61808ad6994a.tar.xz
OpenLDAP and Active Directory is taken from translation file
- OpenLDAP and Active Directory were hardcoded in the file, Hence, now, it is taken from the translation file in this commit. Signed-off-by: Nikhil Ashoka <a.nikhil@ibm.com> Change-Id: Iebf557fbb20842878cce34c7f2969031af1765dd
-rw-r--r--src/locales/en-US.json2
-rw-r--r--src/views/SecurityAndAccess/Ldap/Ldap.vue4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index ff988225..7c86d498 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -499,6 +499,7 @@
"ldapSettings": "LDAP settings"
},
"form": {
+ "activeDirectory": "Active Directory",
"baseDn": "Base DN",
"bindDn": "Bind DN",
"bindPassword": "Bind password",
@@ -507,6 +508,7 @@
"ldapAuthentication": "LDAP authentication",
"ldapCertificateValidUntil": "LDAP Certificate valid until",
"manageSslCertificates": "Manage SSL certificates",
+ "openLDAP": "OpenLDAP",
"secureLdapHelper": "A CA certificate and an LDAP certificate are required to enable secure LDAP",
"secureLdapUsingSsl": "Secure LDAP using SSL",
"serverUri": "Server URI",
diff --git a/src/views/SecurityAndAccess/Ldap/Ldap.vue b/src/views/SecurityAndAccess/Ldap/Ldap.vue
index 1f2108de..9d62da34 100644
--- a/src/views/SecurityAndAccess/Ldap/Ldap.vue
+++ b/src/views/SecurityAndAccess/Ldap/Ldap.vue
@@ -78,7 +78,7 @@
:value="false"
@change="onChangeServiceType"
>
- OpenLDAP
+ {{ $t('pageLdap.form.openLDAP') }}
</b-form-radio>
<b-form-radio
v-model="form.activeDirectoryEnabled"
@@ -86,7 +86,7 @@
:value="true"
@change="onChangeServiceType"
>
- Active Directory
+ {{ $t('pageLdap.form.activeDirectory') }}
</b-form-radio>
</b-form-group>
</b-col>