chore(i18n): drop the On/Off option strings the switch row retired

Replacing the On/Off radio pair removed the only call sites for these two
keys. i18next cannot rebuild a key with no call-site default, so leaving
them in the catalogs forced them into the boot bundle as dead weight.
Removing them shrinks it by two entries instead.
This commit is contained in:
Brennan Benson
2026-09-13 21:10:32 -07:00
parent bb94fc27c8
commit 0f3d27064c
7 changed files with 6 additions and 22 deletions
+1 -3
View File
@@ -17106,9 +17106,7 @@
"high": "High",
"xhigh": "Extra high",
"max": "Max",
"ultra": "Ultra",
"on": "On",
"off": "Off"
"ultra": "Ultra"
},
"pendingAttachmentLimit": "Too many attachments are waiting. Finish composing before attaching more.",
"viewAttachment": "View image",
+1 -3
View File
@@ -14629,9 +14629,7 @@
"high": "Alto",
"xhigh": "Muy alto",
"max": "Máximo",
"ultra": "Supremo",
"on": "Activado",
"off": "Desactivado"
"ultra": "Supremo"
},
"noCommandsOrSkills": "No hay comandos o habilidades coincidentes",
"commands": "Comandos",
+1 -3
View File
@@ -16043,9 +16043,7 @@
"high": "Haute",
"xhigh": "Extra élevé",
"max": "Max",
"ultra": "Ultra",
"on": "Activé",
"off": "Désactivé"
"ultra": "Ultra"
}
},
"tool": {
+1 -3
View File
@@ -14664,9 +14664,7 @@
"high": "高",
"xhigh": "最高",
"max": "最大",
"ultra": "ウルトラ",
"on": "オン",
"off": "オフ"
"ultra": "ウルトラ"
},
"noCommandsOrSkills": "一致するコマンドやスキルがありません",
"commands": "コマンド",
+1 -3
View File
@@ -14742,9 +14742,7 @@
"high": "높음",
"xhigh": "매우 높음",
"max": "최대",
"ultra": "울트라",
"on": "켜짐",
"off": "꺼짐"
"ultra": "울트라"
},
"noCommandsOrSkills": "일치하는 명령어 또는 스킬이 없습니다",
"commands": "명령어",
+1 -3
View File
@@ -14707,9 +14707,7 @@
"high": "高",
"xhigh": "极高",
"max": "最大",
"ultra": "极致",
"on": "开",
"off": "关"
"ultra": "极致"
},
"noCommandsOrSkills": "没有匹配的命令或技能",
"commands": "命令",
@@ -64,10 +64,6 @@ describe('native chat locale copy', () => {
expect(composer.optionValue[key].trim()).not.toBe('')
expect(composer.optionValue[key]).not.toBe(englishComposer.optionValue[key])
}
// Why: On/Off loanwords are valid translations; only require non-empty.
for (const key of ['on', 'off'] as const) {
expect(composer.optionValue[key].trim()).not.toBe('')
}
}
)
})