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>
diff --git a/src/views/SecurityAndAccess/UserManagement/TableRoles.vue b/src/views/SecurityAndAccess/UserManagement/TableRoles.vue
index 61ef1ee..cbdec35 100644
--- a/src/views/SecurityAndAccess/UserManagement/TableRoles.vue
+++ b/src/views/SecurityAndAccess/UserManagement/TableRoles.vue
@@ -80,11 +80,30 @@
},
],
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',
+ },
],
};
},