From 830692cebd796df573bb4ea96602c28aeda1af26 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 28 Jul 2023 12:58:11 +0200 Subject: [PATCH] Admin AI settings: Improve a11y of machine translation precendence Signed-off-by: Marcel Klehr --- apps/settings/src/components/AdminAI.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/apps/settings/src/components/AdminAI.vue b/apps/settings/src/components/AdminAI.vue index 2020a4b7123..70c9c548615 100644 --- a/apps/settings/src/components/AdminAI.vue +++ b/apps/settings/src/components/AdminAI.vue @@ -5,6 +5,8 @@
{{ i+1 }} {{ translationProviders.find(p => p.class === providerClass)?.name }} + +
@@ -59,8 +61,11 @@ import axios from '@nextcloud/axios' import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js' import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js' import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js' +import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' import draggable from 'vuedraggable' import DragVerticalIcon from 'vue-material-design-icons/DragVertical.vue' +import ArrowDownIcon from 'vue-material-design-icons/ArrowDown.vue' +import ArrowUpIcon from 'vue-material-design-icons/ArrowUp.vue' import { loadState } from '@nextcloud/initial-state' import { generateUrl } from '@nextcloud/router' @@ -73,6 +78,9 @@ export default { NcSelect, draggable, DragVerticalIcon, + ArrowDownIcon, + ArrowUpIcon, + NcButton }, data() { return { @@ -110,6 +118,8 @@ export default {