From 7537ebb56c21d15483b246662565be81894ca6bf Mon Sep 17 00:00:00 2001 From: mrjvs Date: Tue, 28 Nov 2023 19:23:41 +0100 Subject: [PATCH] Fix some missing translation keys --- src/assets/locales/en.json | 1 + src/pages/parts/search/SearchLoadingPart.tsx | 5 ++++- src/pages/parts/settings/ThemePart.tsx | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index 614e11e7..8aabe71b 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -105,6 +105,7 @@ "night": ["Night title"] }, "search": { + "loading": "Loading...", "sectionTitle": "Search results", "allResults": "That's all we have!", "noResults": "We couldn't find anything!", diff --git a/src/pages/parts/search/SearchLoadingPart.tsx b/src/pages/parts/search/SearchLoadingPart.tsx index bce56db1..e6e0e301 100644 --- a/src/pages/parts/search/SearchLoadingPart.tsx +++ b/src/pages/parts/search/SearchLoadingPart.tsx @@ -5,6 +5,9 @@ import { Loading } from "@/components/layout/Loading"; export function SearchLoadingPart() { const { t } = useTranslation(); return ( - + ); } diff --git a/src/pages/parts/settings/ThemePart.tsx b/src/pages/parts/settings/ThemePart.tsx index 38725ba0..4ccfae41 100644 --- a/src/pages/parts/settings/ThemePart.tsx +++ b/src/pages/parts/settings/ThemePart.tsx @@ -7,19 +7,19 @@ import { Heading1 } from "@/components/utils/Text"; const availableThemes = [ { id: "blue", - key: "settings.themes.blue", + key: "settings.appearance.themes.blue", }, { id: "teal", - key: "settings.themes.teal", + key: "settings.appearance.themes.teal", }, { id: "red", - key: "settings.themes.red", + key: "settings.appearance.themes.red", }, { id: "gray", - key: "settings.themes.gray", + key: "settings.appearance.themes.gray", }, ];