Apply prettier changes
This commit is contained in:
parent
50ae9463da
commit
995ffc23cc
@ -93,52 +93,52 @@ 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;
|
||||||
|
|
||||||
case "es":
|
case "es":
|
||||||
return dict_es;
|
return dict_es;
|
||||||
|
|
||||||
case "fr":
|
case "fr":
|
||||||
return dict_fr;
|
return dict_fr;
|
||||||
|
|
||||||
case "it":
|
case "it":
|
||||||
return dict_it;
|
return dict_it;
|
||||||
|
|
||||||
case "ja":
|
case "ja":
|
||||||
return dict_ja;
|
return dict_ja;
|
||||||
|
|
||||||
case "ko":
|
case "ko":
|
||||||
return dict_ko;
|
return dict_ko;
|
||||||
|
|
||||||
case "pl":
|
case "pl":
|
||||||
return dict_pl;
|
return dict_pl;
|
||||||
|
|
||||||
case "pt":
|
case "pt":
|
||||||
return dict_pt;
|
return dict_pt;
|
||||||
|
|
||||||
case "ru":
|
case "ru":
|
||||||
return dict_ru;
|
return dict_ru;
|
||||||
|
|
||||||
case "tc":
|
case "tc":
|
||||||
return dict_tc;
|
return dict_tc;
|
||||||
|
|
||||||
case "th":
|
case "th":
|
||||||
return dict_th;
|
return dict_th;
|
||||||
|
|
||||||
case "tr":
|
case "tr":
|
||||||
return dict_tr;
|
return dict_tr;
|
||||||
|
|
||||||
case "uk":
|
case "uk":
|
||||||
return dict_uk;
|
return dict_uk;
|
||||||
|
|
||||||
case "zh":
|
case "zh":
|
||||||
return dict_zh;
|
return dict_zh;
|
||||||
|
|
||||||
case "en":
|
case "en":
|
||||||
default:
|
default:
|
||||||
return dict_en;
|
return dict_en;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user