Make "Match system" on QuickThemeSwitcher.tsx translatable (#7951)

This commit is contained in:
Suguru Hirahara 2022-03-02 16:10:14 +00:00 committed by GitHub
parent b789d252b9
commit 522ad1aafb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -43,7 +43,7 @@ const QuickThemeSwitcher: React.FC<Props> = ({ requestClose }) => {
const themeOptions = [{
id: MATCH_SYSTEM_THEME_ID,
name: 'Match system',
name: _t("Match system"),
}, ...orderedThemes];
const selectedTheme = useSystemTheme ? MATCH_SYSTEM_THEME_ID : theme;

View file

@ -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",