Fix some missing translation keys

This commit is contained in:
mrjvs 2023-11-28 19:23:41 +01:00
parent 75933e7080
commit 7537ebb56c
3 changed files with 9 additions and 5 deletions

View file

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

View file

@ -5,6 +5,9 @@ import { Loading } from "@/components/layout/Loading";
export function SearchLoadingPart() {
const { t } = useTranslation();
return (
<Loading className="mb-24 mt-40 " text={t("search.loading") || "..."} />
<Loading
className="mb-24 mt-40"
text={t("home.search.loading") ?? undefined}
/>
);
}

View file

@ -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",
},
];