We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02dc50f commit d18ba53Copy full SHA for d18ba53
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