localization: officerdev (panels) to zero convertible
Last stretch of phase 3: FileBrowserWidget's five components (tabs, search, empty states), FileGrid (column headers, sort labels, empty folder), UploadProgress, DictateDialog and AgentRunnerModal. Reused ui.button.cancel/close from the shared catalog where the word was already there instead of adding panel-local duplicates. The two remaining scanner hits — useTaskRunner's "Running:"/"Error:" framing — are marked i18n-exempt rather than converted: they're interleaved with raw stdout/stderr inside one monospace <pre> feed, so translating the frame alone would read as broken mid-buffer. Same reasoning as the never-translate thrown-Error list, just not a thrown Error. officerdev (panels) added to the scanner's ZEROED guard — the check now holds three areas at zero.
This commit is contained in:
@@ -34,8 +34,15 @@ const AREAS = [
|
||||
* 'officer-web (shell)' landed 2026-08-23 (phase 2). It holds no never-translate hits of its own; what it
|
||||
* does hold is ~30 `<Untranslated reason="foreign-ui-label">` labels quoted from Google's console, which
|
||||
* `stripUntranslated` skips for the same reason.
|
||||
*
|
||||
* 'officerdev (panels)' landed 2026-08-23 (phase 3). It holds nine `new Error()` messages for whoever is
|
||||
* reading a terminal, not a user — same never-translate shape as 'shared components'. Two more strings
|
||||
* are marked `i18n-exempt` rather than never-translate: `useTaskRunner.ts`'s "Running:"/"Error:" framing
|
||||
* is interleaved with raw stdout/stderr inside one monospace `<pre>` feed, so translating the frame alone
|
||||
* would read as broken mid-buffer — the same reasoning as the never-translate list, reached by a
|
||||
* different mechanism because it's not a thrown Error.
|
||||
*/
|
||||
const ZEROED: string[] = ['shared components', 'officer-web (shell)'];
|
||||
const ZEROED: string[] = ['shared components', 'officer-web (shell)', 'officerdev (panels)'];
|
||||
|
||||
const SKIP = /node_modules|\.gen\.|[/\\]locales[/\\]|[/\\]vendor[/\\]|\.test\.|\.d\.ts$/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user