From 522ad1aafb1384f95c74a7b07f995688771ef18f Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Wed, 2 Mar 2022 16:10:14 +0000 Subject: [PATCH] Make "Match system" on QuickThemeSwitcher.tsx translatable (#7951) --- src/components/views/spaces/QuickThemeSwitcher.tsx | 2 +- src/i18n/strings/en_EN.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/views/spaces/QuickThemeSwitcher.tsx b/src/components/views/spaces/QuickThemeSwitcher.tsx index 5b6fbd9ac1..2d804644dd 100644 --- a/src/components/views/spaces/QuickThemeSwitcher.tsx +++ b/src/components/views/spaces/QuickThemeSwitcher.tsx @@ -43,7 +43,7 @@ const QuickThemeSwitcher: React.FC = ({ requestClose }) => { const themeOptions = [{ id: MATCH_SYSTEM_THEME_ID, - name: 'Match system', + name: _t("Match system"), }, ...orderedThemes]; const selectedTheme = useSystemTheme ? MATCH_SYSTEM_THEME_ID : theme; diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 41944c4d68..7534cea50b 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1116,6 +1116,7 @@ "Pin to sidebar": "Pin to sidebar", "More options": "More options", "Settings": "Settings", + "Match system": "Match system", "Theme": "Theme", "Space selection": "Space selection", "Delete avatar": "Delete avatar",