summaryrefslogtreecommitdiff
path: root/src/views/SecurityAndAccess/UserManagement
diff options
context:
space:
mode:
authorkirankumarb07 <kirankumarb@ami.com>2023-02-07 16:42:33 +0300
committerKiran Kumar Ballapalli <kirankumarb@ami.com>2023-02-13 09:39:24 +0300
commit3bf966a73eb55dbc0751734ce5bd78105e2d1c70 (patch)
tree07437223d4b9900d7cf029b000dee9d6007354b0 /src/views/SecurityAndAccess/UserManagement
parent38e131ada65ea78b0e73eebde488002b3e2369c9 (diff)
downloadwebui-vue-3bf966a73eb55dbc0751734ce5bd78105e2d1c70.tar.xz
Add translation for a few missing UI elements
On the sensor page and user management page, some of the strings are not getting translated to the selected language. I have added this patch to add the multiple language strings to the missing strings. Change-Id: I03ca43bb81708f85e913e39c6dfa24ab7f3de876 Signed-off-by: Kirankumar Ballapalli <kirankumarb@ami.com>
Diffstat (limited to 'src/views/SecurityAndAccess/UserManagement')
-rw-r--r--src/views/SecurityAndAccess/UserManagement/TableRoles.vue29
1 files changed, 24 insertions, 5 deletions
diff --git a/src/views/SecurityAndAccess/UserManagement/TableRoles.vue b/src/views/SecurityAndAccess/UserManagement/TableRoles.vue
index 61ef1ee8..cbdec353 100644
--- a/src/views/SecurityAndAccess/UserManagement/TableRoles.vue
+++ b/src/views/SecurityAndAccess/UserManagement/TableRoles.vue
@@ -80,11 +80,30 @@ export default {
},
],
fields: [
- { key: 'description', label: 'Privilege' },
- { key: 'administrator', label: 'Administrator', class: 'text-center' },
- { key: 'operator', label: 'Operator', class: 'text-center' },
- { key: 'readonly', label: 'ReadOnly', class: 'text-center' },
- { key: 'noaccess', label: 'NoAccess', class: 'text-center' },
+ {
+ key: 'description',
+ label: this.$t('pageUserManagement.tableRoles.privilege'),
+ },
+ {
+ key: 'administrator',
+ label: this.$t('pageUserManagement.tableRoles.administrator'),
+ class: 'text-center',
+ },
+ {
+ key: 'operator',
+ label: this.$t('pageUserManagement.tableRoles.operator'),
+ class: 'text-center',
+ },
+ {
+ key: 'readonly',
+ label: this.$t('pageUserManagement.tableRoles.readOnly'),
+ class: 'text-center',
+ },
+ {
+ key: 'noaccess',
+ label: this.$t('pageUserManagement.tableRoles.noAccess'),
+ class: 'text-center',
+ },
],
};
},