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;
|
||||
};
|
||||
|
||||
export const getDict = (lang: string | undefined) =>{
|
||||
export const getDict = (lang: string | undefined) => {
|
||||
switch (lang) {
|
||||
case "de":
|
||||
return dict_de;
|
||||
|
||||
case "es":
|
||||
return dict_es;
|
||||
|
||||
|
||||
case "fr":
|
||||
return dict_fr;
|
||||
|
||||
|
||||
case "it":
|
||||
return dict_it;
|
||||
|
||||
|
||||
case "ja":
|
||||
return dict_ja;
|
||||
|
||||
|
||||
case "ko":
|
||||
return dict_ko;
|
||||
|
||||
|
||||
case "pl":
|
||||
return dict_pl;
|
||||
|
||||
|
||||
case "pt":
|
||||
return dict_pt;
|
||||
|
||||
|
||||
case "ru":
|
||||
return dict_ru;
|
||||
return dict_ru;
|
||||
|
||||
case "tc":
|
||||
return dict_tc;
|
||||
|
||||
|
||||
case "th":
|
||||
return dict_th;
|
||||
|
||||
|
||||
case "tr":
|
||||
return dict_tr;
|
||||
|
||||
|
||||
case "uk":
|
||||
return dict_uk;
|
||||
|
||||
|
||||
case "zh":
|
||||
return dict_zh;
|
||||
|
||||
|
||||
case "en":
|
||||
default:
|
||||
return dict_en;
|
||||
return dict_en;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user