From e8e6000b13c58446a9e327071c232f6d7dbaade7 Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Fri, 9 Oct 2020 14:18:43 +0800 Subject: [PATCH] Translate the footer. Most of the items in the footer don't need to be translated, but it was troublesome trying to make `sections[]` re-resolve the label on a language change, if we want to selectively translate certain labels only. So, just translate everything for now. Translators can simply clone the English string if it doesn't need a translation. --- static/app-strings.json | 8 ++++++++ web/component/footer.jsx | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/static/app-strings.json b/static/app-strings.json index d0933e2d6..cc9520136 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1,5 +1,6 @@ { "404": "404", + "2257": "2257", "Thumbnail Image": "Thumbnail Image", "OK": "OK", "Cancel": "Cancel", @@ -1435,5 +1436,12 @@ "Level up with LBRY - %version%": "Level up with LBRY - %version%", "Invites": "Invites", "This comment was slimed to death.": "This comment was slimed to death.", + "Reddit": "Reddit", + "Chat (Discord)": "Chat (Discord)", + "Telegram": "Telegram", + "YouTube Partner Program": "YouTube Partner Program", + "lbry.com": "lbry.com", + "lbry.tech": "lbry.tech", + "GitHub": "GitHub", "--end--": "--end--" } diff --git a/web/component/footer.jsx b/web/component/footer.jsx index fbfef1344..775087893 100644 --- a/web/component/footer.jsx +++ b/web/component/footer.jsx @@ -89,7 +89,7 @@ export default function Footer() { {links.map(({ label, link, navigate }) => { return (
  • -
  • ); })}