Language selector for items in webui #407

Closed
AMelonInsideLemon wants to merge 5 commits from webui-lang into main
Showing only changes of commit 995ffc23cc - Show all commits

View File

@ -93,7 +93,7 @@ export const getString = (key: string, dict: Record<string, string>): string =>
return dict[key] ?? key; return dict[key] ?? key;
}; };
export const getDict = (lang: string | undefined) =>{ export const getDict = (lang: string | undefined) => {
switch (lang) { switch (lang) {
case "de": case "de":
return dict_de; return dict_de;
@ -141,4 +141,4 @@ export const getDict = (lang: string | undefined) =>{
default: default:
return dict_en; return dict_en;
} }
} };