Skip to content

Commit 09bb592

Browse files
authored
Merge pull request #4011 from nextcloud/fix/archiving-error-translation
fix translation
2 parents 48191a7 + d18ba53 commit 09bb592

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)