Skip to content

Commit d18ba53

Browse files
committed
fix translation
Signed-off-by: dartcafe <github@dartcafe.de>
1 parent 02dc50f commit d18ba53

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/SideBar/SideBarTabConfiguration.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ function toggleArchive() {
5252
pollStore.toggleArchive({ pollId: pollStore.id })
5353
} catch {
5454
showError(
55-
t('polls', 'Error {action} poll.', {
56-
action: pollStore.status.isArchived ? 'restoring' : 'archiving',
57-
}),
55+
pollStore.status.isArchived
56+
? t('polls', 'Error restoring poll.')
57+
: t('polls', 'Error archiving poll.'),
5858
)
5959
}
6060
}

0 commit comments

Comments
 (0)