mirror of https://github.com/vector-im/riot-web
Make "Match system" on QuickThemeSwitcher.tsx translatable (#7951)
parent
b789d252b9
commit
522ad1aafb
|
@ -43,7 +43,7 @@ const QuickThemeSwitcher: React.FC<Props> = ({ requestClose }) => {
|
||||||
|
|
||||||
const themeOptions = [{
|
const themeOptions = [{
|
||||||
id: MATCH_SYSTEM_THEME_ID,
|
id: MATCH_SYSTEM_THEME_ID,
|
||||||
name: 'Match system',
|
name: _t("Match system"),
|
||||||
}, ...orderedThemes];
|
}, ...orderedThemes];
|
||||||
|
|
||||||
const selectedTheme = useSystemTheme ? MATCH_SYSTEM_THEME_ID : theme;
|
const selectedTheme = useSystemTheme ? MATCH_SYSTEM_THEME_ID : theme;
|
||||||
|
|
|
@ -1116,6 +1116,7 @@
|
||||||
"Pin to sidebar": "Pin to sidebar",
|
"Pin to sidebar": "Pin to sidebar",
|
||||||
"More options": "More options",
|
"More options": "More options",
|
||||||
"Settings": "Settings",
|
"Settings": "Settings",
|
||||||
|
"Match system": "Match system",
|
||||||
"Theme": "Theme",
|
"Theme": "Theme",
|
||||||
"Space selection": "Space selection",
|
"Space selection": "Space selection",
|
||||||
"Delete avatar": "Delete avatar",
|
"Delete avatar": "Delete avatar",
|
||||||
|
|
Loading…
Reference in New Issue