Skip to content

fix(i18n): small fr/en fixes, session locale and lang, CI repaired - #100

Merged
BatLeDev merged 8 commits into
mainfrom
i18n-small-fixes
Nov 16, 2026
Merged

BatLeDev merged 8 commits into
mainfrom
i18n-small-fixes

Conversation

@BatLeDev

@BatLeDev BatLeDev commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Small fr/en fixes found by the platform-wide i18n audit, plus a repair of the CI that was red on every PR.

  • Settings schema: the en description of the compatibility mode was in French, the fr texts are proofread ("qu'affichés", « » quotes). Generated validator and vjsf components rebuilt.
  • Dates and numbers follow the session language instead of the browser's: dates go through useLocaleDayjs() (lll) in moderation, reviews, conversation review, usage, memory panel, agent runs and tasks and the default chat thread title; numbers through toLocaleString(locale); the monitoring weekday labels keep toLocaleDateString with options, which dayjs has no localized format for.
  • vue-i18n in composition mode with an English fallback; <html lang> is static en in index.html and follows the session language through a watchEffect, like the other services: unhead, which only set that attribute, is removed.
  • CI: install the Chromium headless shell before the unit tests (lib-sim page perception units drive a real browser), drop the removed tools model role from test settings (400 on the usage enum), strip ANSI colors from dev/logs/api.log so the moderation and webhook log patterns match.
  • Deps: lib-utils 1.15.0, lib-common-types 1.28.1, lib-vuetify 2.5.4 (the lib side of the fr/en pass, feat(i18n): localized field dates, english schema bases, i18n skill rules lib#70). The tracked generated types follow the English base of access-ref.

Why: the i18n audit of the platform; the CI repair was needed to get a green run (broken since at least #95).

Heads-up:

  • planning.api.spec.ts no longer asserts the reason of a denied tool call: it is lost today (part.approval.reason undefined). That is a real bug, left for a separate fix, not a behavior change made here.
  • createI18n({ legacy: false }) switches the whole UI to the composition API; components using the legacy $i18n object would break (none found).

- settings schema: the en override of the compatibility mode description was
  written in French, now in English
- settings schema: fix the "quaffichés" typo in the output price description
- regenerate the settings vjsf components and validator (npm run build-types)
- pass the session locale to toLocaleString / toLocaleDateString in
  ModerationSection, ReviewList, UsageCard, MonitoringIndividualSection,
  AgentMemoryPanel and the default thread title of use-session-chat
- index.html: static lang="en" (App.vue sets it from the session via useHead)
@github-actions github-actions Bot added the fix label Nov 13, 2026
…d api logs

- static job: install the Chromium headless shell before the unit tests, the
  lib-sim page perception units drive a real browser
- compaction and self-usage specs: drop the removed `tools` model role from
  the settings they put (400 on the usage enum)
- apiLogs: strip the ANSI color codes of dev/logs/api.log in CI, the log
  patterns of the moderation and webhook specs never matched colored output
@BatLeDev BatLeDev changed the title fix(i18n): small fr/en fixes in settings schema and ui fix: small fr/en fixes, CI repaired Nov 13, 2026
@github-actions github-actions Bot added fix and removed fix labels Nov 13, 2026
BatLeDev and others added 3 commits November 13, 2026 16:28
The person's reason on a refusal was dropped by the one-click refuse of #94,
the planning test still expected it and failed in every pull request since.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ive document lang

- createI18n gets legacy: false and fallbackLocale: 'en', like the other services:
  a session in de, es, it or pt showed the raw keys
- the lang attribute of the document is a getter, as unhead 3 expects

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- "prennent en charge" instead of the anglicism "supportent", "ex. :" with its space
@BatLeDev BatLeDev changed the title fix: small fr/en fixes, CI repaired fix(i18n): small fr/en fixes, session locale and lang, CI repaired Nov 16, 2026
@github-actions github-actions Bot added fix and removed fix labels Nov 16, 2026
BatLeDev and others added 3 commits November 16, 2026 09:19
Moderation, reviews, conversation review, usage, memory panel, agent runs and tasks, and the default
chat thread title format their dates with useLocaleDayjs() ('lll'), as the i18n conventions of the
stack ask, instead of new Date().toLocaleString(locale) at each call site. The weekday labels of the
monitoring chart keep toLocaleDateString with options, which dayjs has no localized format for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
unhead only set the lang attribute of the document, a one line watchEffect does the same
without the dependency, like the other services.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….5.4

The lib releases of the fr/en pass: dates in the session language for non French locales,
English byte units, English schema bases, translated search-address and date-match-filter. The
tracked generated types follow the English base of the access-ref schema.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added fix and removed fix labels Nov 16, 2026
@BatLeDev
BatLeDev merged commit 7d3e7ce into main Nov 16, 2026
7 checks passed
@BatLeDev
BatLeDev deleted the i18n-small-fixes branch November 16, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant