diff --git a/locales/en-US.yml b/locales/en-US.yml index adc5012119..948934d817 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -738,7 +738,6 @@ jumpToSpecifiedDate: "Jump to specific date" showingPastTimeline: "Currently displaying an old timeline" clear: "Return" markAllAsRead: "Mark all as read" -failedToMarkAsRead: "Failed to mark all as read" goBack: "Back" unlikeConfirm: "Really remove your like?" fullView: "Full view" diff --git a/packages/client/src/pages/antenna-timeline.vue b/packages/client/src/pages/antenna-timeline.vue index 0b35a3f45d..ad04beaaca 100644 --- a/packages/client/src/pages/antenna-timeline.vue +++ b/packages/client/src/pages/antenna-timeline.vue @@ -70,7 +70,7 @@ async function doMarkRead() { return true } - throw new Error(i18n.ts.failedToMarkAsRead); + throw new Error('Failed to mark all as read'); } async function markRead() {