From 8f69c7b3bdfbb6bb054dfa0c9cb864342c68ac53 Mon Sep 17 00:00:00 2001 From: upsiflu Date: Mon, 9 Dec 2024 14:34:01 +0100 Subject: [PATCH] fix(ui): [WIP] remove `useGettext` translation mechanism TODO: Replace with `{ t }` --- front/src/components/SetInstanceModal.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/front/src/components/SetInstanceModal.vue b/front/src/components/SetInstanceModal.vue index 400e3f7c7..23926979b 100644 --- a/front/src/components/SetInstanceModal.vue +++ b/front/src/components/SetInstanceModal.vue @@ -32,7 +32,6 @@ const suggestedInstances = computed(() => { watch(() => store.state.instance.instanceUrl, () => store.dispatch('instance/fetchSettings')) - // TODO: replace translation mechanism { $pgettext } with { t } // const { $pgettext } = useGettext() @@ -127,7 +126,7 @@ const checkAndSwitch = async (url: string) => { - +
{ type="submit" :class="['ui', 'icon', {loading: isLoading}, 'button']" > - - Submit + + Submit @@ -172,8 +171,7 @@ const checkAndSwitch = async (url: string) => {