UPDATE: new data
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 33s
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 33s
This commit is contained in:
@@ -47,7 +47,6 @@ export function getLocaleName(locale: string, data: Record<string, string> | und
|
|||||||
|
|
||||||
const langKey = listCurrentLanguageApi[locale as keyof typeof listCurrentLanguageApi].toLowerCase();
|
const langKey = listCurrentLanguageApi[locale as keyof typeof listCurrentLanguageApi].toLowerCase();
|
||||||
|
|
||||||
console.log(langKey)
|
|
||||||
let text = data[langKey] ?? "";
|
let text = data[langKey] ?? "";
|
||||||
|
|
||||||
if (!text) {
|
if (!text) {
|
||||||
|
|||||||
Reference in New Issue
Block a user