diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index 1c290b900..52d578b1e 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -73,7 +73,7 @@ @@ -146,7 +146,7 @@ diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js index 9baf63f22..09d44b0bd 100644 --- a/src/components/emoji_input/emoji_input.js +++ b/src/components/emoji_input/emoji_input.js @@ -293,9 +293,12 @@ const EmojiInput = { })) this.highlighted = this.defaultCandidateIndex this.$refs.screenReaderNotice.announce( - this.$tc('tool_tip.autocomplete_available', - this.suggestions.length, - { number: this.suggestions.length })) + this.$t( + 'tool_tip.autocomplete_available', + { number: this.suggestions.length }, + this.suggestions.length + ) + ) } }, methods: { diff --git a/src/components/emoji_reactions/emoji_reactions.js b/src/components/emoji_reactions/emoji_reactions.js index 77f8ecbb2..861fbe542 100644 --- a/src/components/emoji_reactions/emoji_reactions.js +++ b/src/components/emoji_reactions/emoji_reactions.js @@ -92,7 +92,7 @@ const EmojiReactions = { toggled: this.reactedWith(reaction.name) } ], - 'aria-label': this.$tc('status.reaction_count_label', reaction.count, { num: reaction.count }) + 'aria-label': this.$t('status.reaction_count_label', { num: reaction.count }, reaction.count) } } } diff --git a/src/components/extra_notifications/extra_notifications.vue b/src/components/extra_notifications/extra_notifications.vue index ffbb43eb3..5728dc98f 100644 --- a/src/components/extra_notifications/extra_notifications.vue +++ b/src/components/extra_notifications/extra_notifications.vue @@ -14,7 +14,7 @@ class="fa-scale-110 icon" icon="comments" /> - {{ $tc('notifications.unread_chats', unreadChatCount, { num: unreadChatCount }) }} + {{ $t('notifications.unread_chats', { num: unreadChatCount }, unreadChatCount) }}
- {{ $tc('notifications.unread_announcements', unreadAnnouncementCount, { num: unreadAnnouncementCount }) }} + {{ $t('notifications.unread_announcements', { num: unreadAnnouncementCount }, unreadAnnouncementCount) }}
- {{ $tc('notifications.unread_follow_requests', followRequestCount, { num: followRequestCount }) }} + {{ $t('notifications.unread_follow_requests', { num: followRequestCount }, followRequestCount) }}
@@ -108,7 +108,7 @@