Skip to content

The agent that grows with you

fix(desktop): drop the retired pool's settings ids from the i18n gap ledger

Teknium7b9eab388c40
diff --git a/apps/desktop/src/i18n/overlay-completeness.test.ts b/apps/desktop/src/i18n/overlay-completeness.test.ts
index e5b51df0695..11c012739ee 100644
--- a/apps/desktop/src/i18n/overlay-completeness.test.ts
+++ b/apps/desktop/src/i18n/overlay-completeness.test.ts
@@ -63,3 +63,11 @@ it('adds no untranslated key to any locale overlay beyond the known gaps', () =>
expect(newGaps).toEqual([])
})
+
+// The ratchet only shrinks on a translation, so a key deleted from English (a retired surface)
+// would otherwise linger here forever as a phantom gap.
+it('lists no known gap for a key the English catalog no longer has', () => {
+ const english = new Set(translatable(en))
+
+ expect(Object.keys(knownGaps).filter(key => !english.has(key))).toEqual([])
+})
diff --git a/apps/desktop/src/i18n/overlay-gaps.json b/apps/desktop/src/i18n/overlay-gaps.json
index 563636e6e47..db8fe5a613a 100644
--- a/apps/desktop/src/i18n/overlay-gaps.json
+++ b/apps/desktop/src/i18n/overlay-gaps.json
@@ -1644,10 +1644,6 @@
"settings.plugins.rescan": ["ja","zh-hant"],
"settings.plugins.reveal": ["ja","zh-hant"],
"settings.plugins.title": ["ja","zh-hant"],
- "settings.poolLimits.backendIdleTimeoutAria": ["ar","ja","ru"],
- "settings.poolLimits.backendIdleTimeoutTitle": ["ar","ja","ru"],
- "settings.poolLimits.warmBotBackendsAria": ["ar","ja","ru"],
- "settings.poolLimits.warmBotBackendsTitle": ["ar","ja","ru"],
"settings.providers.disconnect": ["ja","zh-hant"],
"settings.providers.disconnectInTerminal": ["ja","zh-hant"],
"settings.providers.removeExternalGeneric": ["ja","zh-hant"],