[feat] i18n for nsis installer

This commit is contained in:
2025-11-06 14:55:43 +08:00
parent e774b31396
commit cce56eaf5e
3 changed files with 22 additions and 9 deletions

View File

@@ -817,14 +817,20 @@ export function FpsTest() {
<TableCell className="text-xs">
{result.p1 !== null ? `${result.p1.toFixed(1)}` : "N/A"}
</TableCell>
<TableCell className="text-xs" title={result.hardwareInfo?.cpu || undefined}>
{result.hardwareInfo?.cpu || "N/A"}
<TableCell className="text-xs max-w-[200px]" title={result.hardwareInfo?.cpu || undefined}>
<div className="truncate whitespace-nowrap">
{result.hardwareInfo?.cpu || "N/A"}
</div>
</TableCell>
<TableCell className="text-xs" title={result.hardwareInfo?.os || undefined}>
{result.hardwareInfo?.os || "N/A"}
<TableCell className="text-xs max-w-[180px]" title={result.hardwareInfo?.os || undefined}>
<div className="truncate whitespace-nowrap">
{result.hardwareInfo?.os || "N/A"}
</div>
</TableCell>
<TableCell className="text-xs" title={result.hardwareInfo?.gpu || undefined}>
{result.hardwareInfo?.gpu || "N/A"}
<TableCell className="text-xs max-w-[180px]" title={result.hardwareInfo?.gpu || undefined}>
<div className="truncate whitespace-nowrap">
{result.hardwareInfo?.gpu || "N/A"}
</div>
</TableCell>
<TableCell className="text-xs">
{result.hardwareInfo?.memory ? `${result.hardwareInfo.memory}GB` : "N/A"}