Internationalize system theme mode

This commit is contained in:
schroda
2025-02-09 23:06:44 +01:00
parent a7df8eb0f4
commit 0b752c168c
2 changed files with 6 additions and 3 deletions

View File

@@ -404,6 +404,7 @@
"client": "Client", "client": "Client",
"close": "Close", "close": "Close",
"copied_clipboard": "Copied to clipboard", "copied_clipboard": "Copied to clipboard",
"dark": "Dark",
"default": "Default", "default": "Default",
"desktop": "Desktop", "desktop": "Desktop",
"disabled": "Disabled", "disabled": "Disabled",
@@ -419,6 +420,7 @@
"horizontal": "Horizontal", "horizontal": "Horizontal",
"info": "Information", "info": "Information",
"left": "Left", "left": "Left",
"light": "Light",
"links": "Links", "links": "Links",
"load_in_progress": "Still loading required data…", "load_in_progress": "Still loading required data…",
"loading": "Loading…", "loading": "Loading…",
@@ -439,6 +441,7 @@
"standard": "Standard", "standard": "Standard",
"started": "Started", "started": "Started",
"success": "Success", "success": "Success",
"system": "System",
"type": "Type", "type": "Type",
"unknown": "Unknown", "unknown": "Unknown",
"username": "Username", "username": "Username",

View File

@@ -103,13 +103,13 @@ export const Appearance = () => {
}} }}
> >
<MenuItem key={ThemeMode.SYSTEM} value={ThemeMode.SYSTEM}> <MenuItem key={ThemeMode.SYSTEM} value={ThemeMode.SYSTEM}>
System {t('global.label.system')}
</MenuItem> </MenuItem>
<MenuItem key={ThemeMode.DARK} value={ThemeMode.DARK}> <MenuItem key={ThemeMode.DARK} value={ThemeMode.DARK}>
Dark {t('global.label.dark')}
</MenuItem> </MenuItem>
<MenuItem key={ThemeMode.LIGHT} value={ThemeMode.LIGHT}> <MenuItem key={ThemeMode.LIGHT} value={ThemeMode.LIGHT}>
Light {t('global.label.light')}
</MenuItem> </MenuItem>
</Select> </Select>
</ListItem> </ListItem>