summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/PermissionModuleGrantRevoke.vue
diff options
context:
space:
mode:
authorChristian Hofmaier2018-08-06 02:47:05 +0200
committerChristian Hofmaier2018-08-06 02:47:05 +0200
commit5a183cecd7101505e3cb0a60317ed810419b7e4e (patch)
treeaef41cba52160a18966930d5c16896edaa0e33ac /webapp/src/components/PermissionModuleGrantRevoke.vue
parent[webapp/searchtable] bugfix (diff)
downloadbas-5a183cecd7101505e3cb0a60317ed810419b7e4e.tar.gz
bas-5a183cecd7101505e3cb0a60317ed810419b7e4e.tar.xz
bas-5a183cecd7101505e3cb0a60317ed810419b7e4e.zip
language tags and function comments
Diffstat (limited to 'webapp/src/components/PermissionModuleGrantRevoke.vue')
-rw-r--r--webapp/src/components/PermissionModuleGrantRevoke.vue26
1 files changed, 22 insertions, 4 deletions
diff --git a/webapp/src/components/PermissionModuleGrantRevoke.vue b/webapp/src/components/PermissionModuleGrantRevoke.vue
index d68f241..876daca 100644
--- a/webapp/src/components/PermissionModuleGrantRevoke.vue
+++ b/webapp/src/components/PermissionModuleGrantRevoke.vue
@@ -1,8 +1,26 @@
<i18n>
{
"en": {
+ "select_roles": "Select Roles",
+ "check_selection": "Check Selection",
+ "roles": "Roles",
+ "users": "Users",
+ "grant": "Grant",
+ "revoke": "Revoke",
+ "id": "ID",
+ "name": "Name",
+ "description": "Description"
},
"de": {
+ "select_roles": "Rollen auswählen",
+ "check_selection": "Auswahl überprüfen",
+ "roles": "Rollen",
+ "users": "Nutzer",
+ "grant": "Zuweisen",
+ "revoke": "Entziehen",
+ "id": "ID",
+ "name": "Name",
+ "description": "Beschreibung"
}
}
</i18n>
@@ -33,7 +51,7 @@
:editable="stepCompleted >= 2"
edit-icon="check"
>
- {{ $t('confirm_selection') }}
+ {{ $t('check_selection') }}
</v-stepper-step>
</v-stepper-header>
</v-stepper>
@@ -133,9 +151,9 @@ export default {
stepCompleted: 0,
rolesSelected: [],
roleHeaders: [
- { text: 'ID', value: 'id' },
- { text: 'Name', value: 'name' },
- { text: 'Description', value: 'descr' }
+ { text: this.$t('id'), value: 'id' },
+ { text: this.$t('name'), value: 'name' },
+ { text: this.$t('description'), value: 'descr' },
]
}
},