UPDATE: New data 4.1.5
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 40s

This commit is contained in:
2026-03-17 18:00:02 +07:00
parent 53497d5ece
commit d4a964515e
10 changed files with 74 additions and 56375 deletions

View File

@@ -5,6 +5,11 @@ import { useTranslations } from "next-intl";
type TFunc = ReturnType<typeof useTranslations>
function cleanText(text: string): string {
if (!text) return ""
return text.replace(/<unbreak>(.*?)<\/unbreak>/g, "$1")
}
export function getNameChar(
locale: string,
t: TFunc,
@@ -28,7 +33,7 @@ export function getNameChar(
text = `${t("trailblazer")}${t(data?.baseType?.toLowerCase() ?? "")}`;
}
return text;
return cleanText(text);
}
export function getNameEnemy(locale: string, data: MonsterBasic | undefined): string {