mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-05 16:57:41 +01:00
Fix some missing translation keys
This commit is contained in:
parent
75933e7080
commit
7537ebb56c
3 changed files with 9 additions and 5 deletions
|
@ -105,6 +105,7 @@
|
||||||
"night": ["Night title"]
|
"night": ["Night title"]
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
|
"loading": "Loading...",
|
||||||
"sectionTitle": "Search results",
|
"sectionTitle": "Search results",
|
||||||
"allResults": "That's all we have!",
|
"allResults": "That's all we have!",
|
||||||
"noResults": "We couldn't find anything!",
|
"noResults": "We couldn't find anything!",
|
||||||
|
|
|
@ -5,6 +5,9 @@ import { Loading } from "@/components/layout/Loading";
|
||||||
export function SearchLoadingPart() {
|
export function SearchLoadingPart() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<Loading className="mb-24 mt-40 " text={t("search.loading") || "..."} />
|
<Loading
|
||||||
|
className="mb-24 mt-40"
|
||||||
|
text={t("home.search.loading") ?? undefined}
|
||||||
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,19 +7,19 @@ import { Heading1 } from "@/components/utils/Text";
|
||||||
const availableThemes = [
|
const availableThemes = [
|
||||||
{
|
{
|
||||||
id: "blue",
|
id: "blue",
|
||||||
key: "settings.themes.blue",
|
key: "settings.appearance.themes.blue",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "teal",
|
id: "teal",
|
||||||
key: "settings.themes.teal",
|
key: "settings.appearance.themes.teal",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "red",
|
id: "red",
|
||||||
key: "settings.themes.red",
|
key: "settings.appearance.themes.red",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "gray",
|
id: "gray",
|
||||||
key: "settings.themes.gray",
|
key: "settings.appearance.themes.gray",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue