mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-02 04:38:55 +00:00
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:
@@ -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}",
|
||||
}],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user