From f0734e52e70c402e30faae9d8f0644cf64e0dff5 Mon Sep 17 00:00:00 2001 From: xmflsct Date: Sat, 31 Dec 2022 02:08:33 +0100 Subject: [PATCH] Add string for #631 --- .../Timeline/Shared/HeaderShared/Replies.tsx | 24 ++++++++++--------- src/i18n/en/components/timeline.json | 1 + 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/components/Timeline/Shared/HeaderShared/Replies.tsx b/src/components/Timeline/Shared/HeaderShared/Replies.tsx index cd7d975e..ff48e5f2 100644 --- a/src/components/Timeline/Shared/HeaderShared/Replies.tsx +++ b/src/components/Timeline/Shared/HeaderShared/Replies.tsx @@ -32,17 +32,19 @@ const HeaderSharedReplies: React.FC = () => { color: colors.secondary }} > - Replies - {excludeMentions.current.map((mention, index) => ( - - {' '} - navigation.push('Tab-Shared-Account', { account: mention })} - /> - - ))} + <> + {t('shared.header.shared.replies')} + {excludeMentions.current.map((mention, index) => ( + + {' '} + navigation.push('Tab-Shared-Account', { account: mention })} + /> + + ))} + ) : null } diff --git a/src/i18n/en/components/timeline.json b/src/i18n/en/components/timeline.json index 361afa6d..362cbe3e 100644 --- a/src/i18n/en/components/timeline.json +++ b/src/i18n/en/components/timeline.json @@ -122,6 +122,7 @@ "muted": { "accessibilityLabel": "Toot muted" }, + "replies": "Replies", "visibility": { "direct": { "accessibilityLabel": "Toot is a direct message"