localized team names

This commit is contained in:
2026-06-24 12:17:46 -05:00
parent aa19c16f93
commit 7996ebc504
9 changed files with 79 additions and 10 deletions

View File

@@ -298,7 +298,7 @@ function SimRow({
<span style={{ display: "flex", alignItems: "center", gap: 6, minWidth: 0, flex: 1, justifyContent: "flex-end" }}>
<Flag team={home} size={18} />
<span style={{ fontWeight: 600, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", maxWidth: 140 }}>
{home?.name ?? "—"}
{home?.localisedName ?? home?.name ?? "—"}
</span>
</span>
<input
@@ -338,7 +338,7 @@ function SimRow({
/>
<span style={{ display: "flex", alignItems: "center", gap: 6, minWidth: 0, flex: 1 }}>
<span style={{ fontWeight: 600, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", maxWidth: 140 }}>
{away?.name ?? "—"}
{away?.localisedName ?? away?.name ?? "—"}
</span>
<Flag team={away} size={18} />
</span>