diff --git a/src/components/structures/ThreadPanel.tsx b/src/components/structures/ThreadPanel.tsx index 1dd37a8c41..3009bedae3 100644 --- a/src/components/structures/ThreadPanel.tsx +++ b/src/components/structures/ThreadPanel.tsx @@ -163,7 +163,9 @@ const EmptyThread: React.FC = ({ hasThreads, filterOption, sh body = <>

{ _t("Threads help keep your conversations on-topic and easy to track.") }

- { _t('Tip: Use "Reply in thread" when hovering over a message.', {}, { + { _t('Tip: Use “%(replyInThread)s” when hovering over a message.', { + replyInThread: _t("Reply in thread"), + }, { b: sub => { sub }, }) }

diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index c5ecce8e81..aacc7f577d 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -870,9 +870,11 @@ "Keep discussions organised with threads.": "Keep discussions organised with threads.", "Threads help keep conversations on-topic and easy to track. Learn more.": "Threads help keep conversations on-topic and easy to track. Learn more.", "How can I start a thread?": "How can I start a thread?", - "Use \"Reply in thread\" when hovering over a message.": "Use \"Reply in thread\" when hovering over a message.", + "Use “%(replyInThread)s” when hovering over a message.": "Use “%(replyInThread)s” when hovering over a message.", + "Reply in thread": "Reply in thread", "How can I leave the beta?": "How can I leave the beta?", - "To leave, return to this page and use the “Leave the beta” button.": "To leave, return to this page and use the “Leave the beta” button.", + "To leave, return to this page and use the “%(leaveTheBeta)s” button.": "To leave, return to this page and use the “%(leaveTheBeta)s” button.", + "Leave the beta": "Leave the beta", "Thank you for trying the beta, please go into as much detail as you can so we can improve it.": "Thank you for trying the beta, please go into as much detail as you can so we can improve it.", "Custom user status messages": "Custom user status messages", "Video rooms (under active development)": "Video rooms (under active development)", @@ -2090,7 +2092,6 @@ "Error processing audio message": "Error processing audio message", "View live location": "View live location", "React": "React", - "Reply in thread": "Reply in thread", "Can't create a thread from an event with an existing relation": "Can't create a thread from an event with an existing relation", "Beta feature": "Beta feature", "Beta feature. Click to learn more.": "Beta feature. Click to learn more.", @@ -2909,7 +2910,6 @@ "This is a beta feature": "This is a beta feature", "Click for more info": "Click for more info", "Beta": "Beta", - "Leave the beta": "Leave the beta", "Join the beta": "Join the beta", "Live until %(expiryTime)s": "Live until %(expiryTime)s", "Loading live location...": "Loading live location...", @@ -3124,7 +3124,7 @@ "Reply to an ongoing thread or use “%(replyInThread)s” when hovering over a message to start a new one.": "Reply to an ongoing thread or use “%(replyInThread)s” when hovering over a message to start a new one.", "Show all threads": "Show all threads", "Threads help keep your conversations on-topic and easy to track.": "Threads help keep your conversations on-topic and easy to track.", - "Tip: Use \"Reply in thread\" when hovering over a message.": "Tip: Use \"Reply in thread\" when hovering over a message.", + "Tip: Use “%(replyInThread)s” when hovering over a message.": "Tip: Use “%(replyInThread)s” when hovering over a message.", "Keep discussions organised with threads": "Keep discussions organised with threads", "Threads are a beta feature": "Threads are a beta feature", "Give feedback": "Give feedback", diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 559558cee8..fa773080be 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -242,9 +242,17 @@ export const SETTINGS: {[setting: string]: ISetting} = { disclaimer: () => SdkConfig.get().bug_report_endpoint_url && <>

{ _t("How can I start a thread?") }

-

{ _t("Use \"Reply in thread\" when hovering over a message.") }

+

+ { _t("Use “%(replyInThread)s” when hovering over a message.", { + replyInThread: _t("Reply in thread"), + }) } +

{ _t("How can I leave the beta?") }

-

{ _t("To leave, return to this page and use the “Leave the beta” button.") }

+

+ { _t("To leave, return to this page and use the “%(leaveTheBeta)s” button.", { + leaveTheBeta: _t("Leave the beta"), + }) } +

, feedbackLabel: "thread-feedback", feedbackSubheading: _td("Thank you for trying the beta, " +