feat(settings/options/renderingMode): update text

This commit is contained in:
2026-02-10 14:23:03 +01:00
parent 9843379126
commit 43e39f7324
2 changed files with 4 additions and 2 deletions

View File

@@ -148,7 +148,8 @@ onRender((ctx) => {
bodyImg.draw(ctx, 0, HEADER_HEIGHT - 2, colorOpts);
ctx.fillStyle = "#282828";
const text = $t("settings.options.renderingMode.autoStart");
const descKey = key === "_3dMode" ? "3dDescription" : "2dDescription";
const text = $t(`settings.options.renderingMode.${descKey}`);
fillTextHCenteredMultiline(ctx, text, 0, y, buttonWidth, 15);
ctx.translate(0, animation[key].headerOffsetY);

View File

@@ -54,7 +54,8 @@
"description": "Change the app rendering mode\nbetween 2D and 3D.",
"3dMode": "3D Mode",
"2dMode": "2D Mode",
"autoStart": "Choose how the app renders.\n3D uses the interactive NDS model.\n2D uses flat canvas screens.",
"3dDescription": "Full 3D experience with\nthe interactive NDS model.\nBest on powerful devices.",
"2dDescription": "Lightweight flat experience.\nFaster and less resource heavy.\nRecommended if 3D mode is lagging.",
"confirmation3d": "Rendering mode set to 3D",
"confirmation2d": "Rendering mode set to 2D"
},