refactor: type editor i18n keys (#391)

Remove legacy any casts from device inbox, marker, and geometry preflight translation calls. Refresh the moved preflight mutation anchor.

Issue: #391
User-Visible: no
This commit is contained in:
Matysh
2026-08-30 20:00:51 +03:00
parent a3dcee5241
commit 3bbc65aa28
20 changed files with 162 additions and 162 deletions
+2 -2
View File
@@ -3259,8 +3259,8 @@ const MUTANT_DEFINITIONS = [
+ '&& node demo/smoke_preflight_diagnostics.mjs',
because: 'отказ preflight без причины недиагностируем — ровно исходный дефект #295',
patches: [{
file: 'src/houseplan-card.ts',
find: " ${failure.displayName}: ${this._t(`gs.preflight_reason_${failure.reason}` as any)}",
file: 'src/houseplan-editor-runtime.ts',
find: " ${failure.displayName}: ${this.host._t(`gs.preflight_reason_${failure.reason}` as I18nKey)}",
replace: " ${failure.displayName}",
}],
},