From 1a89385723c88d5d5c3fc2d2327ffe3b1a3ccede Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Fri, 14 Nov 2025 09:09:33 +0100 Subject: [PATCH] fix(i18n): Rework sentences Sames as https://github.com/nextcloud/polls/pull/4011/files Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- src/components/Configuration/ConfigDangerArea.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Configuration/ConfigDangerArea.vue b/src/components/Configuration/ConfigDangerArea.vue index 99cbb1b1ba..6009bcb954 100644 --- a/src/components/Configuration/ConfigDangerArea.vue +++ b/src/components/Configuration/ConfigDangerArea.vue @@ -32,9 +32,9 @@ function toggleArchive() { pollStore.toggleArchive({ pollId: pollStore.id }) } catch { showError( - t('polls', 'Error {action} poll.', { - action: pollStore.status.isArchived ? 'restoring' : 'archiving', - }), + pollStore.status.isArchived + ? t('polls', 'Error restoring poll.') + : t('polls', 'Error archiving poll.'), ) } }