app install: support 'group' question + tweak label question

This commit is contained in:
Alexandre Aubin 2022-10-18 20:00:51 +02:00
parent be9b75eb03
commit 2cf9c787e7
3 changed files with 6 additions and 3 deletions

View file

@ -166,7 +166,7 @@ export function formatYunoHostArgument (arg) {
} }
}, },
{ {
types: ['select', 'user', 'domain', 'app'], types: ['select', 'user', 'domain', 'app', 'group'],
name: 'SelectItem', name: 'SelectItem',
props: ['id:name', 'choices'], props: ['id:name', 'choices'],
callback: function () { callback: function () {

View file

@ -312,7 +312,8 @@
"items_verbose_count": "There are {items}. | There is 1 {items}. | There are {items}.", "items_verbose_count": "There are {items}. | There is 1 {items}. | There are {items}.",
"items_verbose_items_left": "There are {items} left. | There is 1 {items} left. | There are {items} left.", "items_verbose_items_left": "There are {items} left. | There is 1 {items} left. | There are {items} left.",
"label": "Label", "label": "Label",
"label_for_manifestname": "Label for {name} (name displayed in the user portal)", "label_for_manifestname": "Label for {name}",
"label_for_manifestname_help": "This is the name displayed in the user portal. This can be changed later.",
"last_ran": "Last time ran:", "last_ran": "Last time ran:",
"license": "License", "license": "License",
"local_archives": "Local archives", "local_archives": "Local archives",
@ -324,6 +325,7 @@
"manage_apps": "Manage apps", "manage_apps": "Manage apps",
"manage_domains": "Manage domains", "manage_domains": "Manage domains",
"manage_users": "Manage users", "manage_users": "Manage users",
"manage_groups": "Manage groups",
"migrations": "Migrations", "migrations": "Migrations",
"migrations_pending": "Pending migrations", "migrations_pending": "Pending migrations",
"migrations_done": "Previous migrations", "migrations_done": "Previous migrations",

View file

@ -90,7 +90,8 @@ export default {
manifest.install.unshift({ manifest.install.unshift({
ask: this.$t('label_for_manifestname', { name: manifest.name }), ask: this.$t('label_for_manifestname', { name: manifest.name }),
default: manifest.name, default: manifest.name,
name: 'label' name: 'label',
help: this.$t('label_for_manifestname_help')
}) })
const { const {