mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-30 15:49:00 +03:00
Fix missing i18n keys (#17952)
* Fix missing i18n keys * gpu info dialog fixes
This commit is contained in:
@@ -23,7 +23,7 @@ export const colorSchemes: ColorScheme[] = [
|
||||
// eslint-disable-next-line react-refresh/only-export-components
|
||||
export const friendlyColorSchemeName = (className: string): string => {
|
||||
const words = className.split("-").slice(1); // Exclude the first word (e.g., 'theme')
|
||||
return "menu.theme." + words.join(".");
|
||||
return "menu.theme." + words.join("");
|
||||
};
|
||||
|
||||
type ThemeProviderProps = {
|
||||
|
||||
Reference in New Issue
Block a user