We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48191a7 + d18ba53 commit 09bb592Copy full SHA for 09bb592
1 file changed
src/components/SideBar/SideBarTabConfiguration.vue
@@ -52,9 +52,9 @@ function toggleArchive() {
52
pollStore.toggleArchive({ pollId: pollStore.id })
53
} catch {
54
showError(
55
- t('polls', 'Error {action} poll.', {
56
- action: pollStore.status.isArchived ? 'restoring' : 'archiving',
57
- }),
+ pollStore.status.isArchived
+ ? t('polls', 'Error restoring poll.')
+ : t('polls', 'Error archiving poll.'),
58
)
59
}
60
0 commit comments