Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(i18n): grid.import 已存映射五键在 ko/de/fr/es/pt/ru/ar 补译(#3920) - #3936

Merged
yinlianghui merged 2 commits into
mainfrom
claude/issue-3920-grid-import-i18n
Aug 9, 2026
Merged

yinlianghui merged 2 commits into
mainfrom
claude/issue-3920-grid-import-i18n

Conversation

@yinlianghui

Copy link
Copy Markdown
Contributor

Fixes #3920

前提复核(先证再改)

在 origin/main@230ffd875 逐键复核,卡片前提成立:grid.import 的
savedMapping / chooseSavedMapping / manualMapping / savedMappingHint /
savedMappingPreviewNote 五键,在 ko / de / fr / es / pt / ru / ar 七包与 en 逐字节相同,
合计 35 个值;只有 zh 与 ja 真的译了。其中两条是多子句说明文字,不是占位符或专名,
所以不是「刻意不译的术语」。

三道 i18n 门禁都看不见:all-locales-key-parity 只比键名集合与占位符形状(英文原文完美通过);
call-site 门禁只判 key 能否解析;check-i18n-en-drift.mjs 只在 en 值变化时要求九包跟随,
而这些键落地时就带着英文进的七包,从没有过「变化」事件。

译文(5 键 × 7 包 = 35 值)

key de fr es
savedMapping Gespeicherte Zuordnung: Correspondance enregistrée : Asignación guardada:
chooseSavedMapping Gespeicherte Zuordnung auswählen… Choisir une correspondance enregistrée… Elegir una asignación guardada…
manualMapping — Spalten manuell zuordnen — — Faire correspondre les colonnes manuellement — — Asignar columnas manualmente —
savedMappingHint Die Zuordnung „{{name}}“ wendet auf dem Server Umbenennung + Transformationen + Typkonvertierung an. Die Spaltenzuordnung ist schreibgeschützt. La correspondance « {{name}} » applique le renommage + les transformations + la conversion de type côté serveur. La correspondance des colonnes est en lecture seule. La asignación "{{name}}" aplica el cambio de nombre + las transformaciones + la conversión de tipos en el servidor. La asignación de columnas es de solo lectura.
savedMappingPreviewNote Die Vorschau zeigt Ihre Quellspalten; beim Import wendet die Zuordnung „{{name}}“ auf dem Server Umbenennung, Transformationen und Typkonvertierung an. L'aperçu affiche vos colonnes source ; à l'import, la correspondance « {{name}} » applique le renommage, les transformations et la conversion de type côté serveur. La vista previa muestra sus columnas de origen; al importar, la asignación "{{name}}" aplica el cambio de nombre, las transformaciones y la conversión de tipos en el servidor.
key pt ru
savedMapping Mapeamento salvo: Сохранённое сопоставление:
chooseSavedMapping Escolher um mapeamento salvo… Выбрать сохранённое сопоставление…
manualMapping — Mapear colunas manualmente — — Сопоставить столбцы вручную —
savedMappingHint O mapeamento "{{name}}" aplica renomeação + transformações + conversão de tipos no servidor. O mapeamento de colunas é somente leitura. Сопоставление «{{name}}» применяет на сервере переименование + преобразования + приведение типов. Сопоставление столбцов доступно только для чтения.
savedMappingPreviewNote A pré-visualização mostra suas colunas de origem; na importação, o mapeamento "{{name}}" aplica renomeação, transformações e conversão de tipos no servidor. В предпросмотре показаны исходные столбцы; при импорте сопоставление «{{name}}» применяет на сервере переименование, преобразования и приведение типов.
key ar ko
savedMapping التعيين المحفوظ: 저장된 매핑:
chooseSavedMapping اختر تعييناً محفوظاً… 저장된 매핑 선택…
manualMapping — تعيين الأعمدة يدويًا — — 열 수동 매핑 —
savedMappingHint يطبّق التعيين "{{name}}" إعادة التسمية + التحويلات + تحويل الأنواع على الخادم. تعيين الأعمدة للقراءة فقط. 매핑 "{{name}}"은(는) 서버에서 이름 변경 + 변환 + 형 변환을 적용합니다. 열 매핑은 읽기 전용입니다.
savedMappingPreviewNote تعرض المعاينة الأعمدة المصدر لديك؛ وعند الاستيراد يطبّق التعيين "{{name}}" إعادة التسمية والتحويلات وتحويل الأنواع على الخادم. 미리보기에는 원본 열이 표시됩니다. 가져올 때 매핑 "{{name}}"이(가) 서버에서 이름 변경, 변환, 형 변환을 적용합니다.

每包「基准依据」(译文不是新造词,都取自本包既有值)

  • de — stepMapping "Zuordnung"、legacyFallbackNotice "Typkonvertierung"、
    view.readonlyTooltip "schreibgeschützt"、validateHint "auf dem Server";Sie 体
    (downloadTemplateHint "Laden Sie … herunter");noneOption "— Keine —" 是
    manualMapping 那对 em dash 的同族先例(同文件、上方 6 行)。
  • fr — stepMapping "Correspondance"、legacyFallbackNotice "conversion de type" 与
    "côté serveur"、view.readonlyTooltip "en lecture seule"、validateHint "avant l'import";
    直撇号 '(本包 518 vs 21 弯撇);冒号/分号前带空格(冒号 59/61、问号 49/49、分号 13/14 都是
    U+0020,全包无窄不断空格)。
  • es — stepMapping "Asignación"、legacyFallbackNotice "conversión de tipos"、
    view.readonlyTooltip "solo lectura"、validateHint "en el servidor";敬称遵循
    objectui#3844 为本包定下的 usted(该单实测 102 usted vs 30 tú,tú 仅集中在 auth /
    报表编辑器 / organizations),grid.import 本身也是 usted("Obtenga"、"revise y ajuste"、
    "Elija"、"Seleccione")。
  • pt — stepMapping "Mapeamento"、legacyFallbackNotice "conversão de tipos"、
    view.readonlyTooltip "somente leitura"、validateHint "no servidor";本包是 pt-BR
    (registro 125 / registo 0,arquivo 17 / ficheiro 0,Salvar 19 / Guardar 0),缩合按 pt 写法
    ("no servidor" = em+o,"na importação" = em+a)。
  • ru — stepMapping "Сопоставление"、legacyFallbackNotice "приведение типов"、
    view.readonlyTooltip "только для чтения"、validateHint "на сервере";保留 ё
    (本包 176 处)。
  • ar — stepMapping "تعيين"、legacyFallbackNotice "تحويل الأنواع"、
    view.readonlyTooltip "للقراءة فقط"、validateHint "على الخادم";标点用阿语的
    U+060C 与 U+061B(本包 81 vs 2 个 ASCII 逗号、11 vs 1 个 ASCII 分号);
    يدويًا 与既有 تلقائيًا 同形;اختر تعييناً محفوظاً… 沿用 chooseTemplate 的
    اختر قالباً…。
  • ko — stepMapping "매핑"、legacyFallbackNotice "형 변환"、
    view.readonlyTooltip "읽기 전용"、validateHint "서버에서";{{name}} 后的助词歧义
    沿用本包 fields.file.exceedsMaxSize 的 "{{name}}"이(가) 写法(占位符是动态值,
    作者期无法定 은/는 与 이/가),不擅自选一支。

引号排印:改用实测多数派,并说明为什么卡片引用的钉子不是本簇的判据

卡片说「其余 ASCII —— residue-namespaces-3546.test.tsx 701 行已钉住这套约定」。
读了那处:701 行只钉 empty.* 一族(ko/fr/es/pt/ru/ar 在那族用 ASCII),而它自己的注释写的是
「引号风格跟随同包内的 sibling empty-state 值」—— 是族内规则,不是全包法令。
grid.import 内没有别的带引号值可跟随(已逐行确认),所以判据落到外面一圈:每包怎么包裹
一个 {{placeholder}}
。剔除本单要修的两条英文残留后的实测分母:

pack ASCII "…" «…» „…“ 本单落法
ko 38 0 0 ASCII
de 3 0 38 „…“
fr 18 25 0 «…»
es 22 19 0 ASCII
pt 39 0 0 ASCII
ru 18 23 0 «…»
ar 27 14 0 ASCII

fr 与 ru 两包 guillemet 确实是多数派(与卡片 item 2 的建议一致),fr 内侧空格是 U+0020
(全包 25/25,无 U+202F/U+00A0),ru/es/ar 则贴紧写。es(22:19)与 ar(27:15)是接近值,
按计数落 ASCII;两包的分裂是成文批次而非语义差别(objectui#3546 各切片用 ASCII,更早的值用
guillemet),所以用多数派而不是自造的语义规则做裁决。

顺带闭合 #3876 留下的 45/47 缺口

de-quote-pairing-3876.test.ts 的文件头写明:那 45 vs 47 的 2 个多出来的 “ 正是
本单这两条英文句子的开引号,并预言「把它们德语化后恒等式仍成立(47 === 47 + 0)」。
实测正如其言 —— de 全包普查从 „45 / “47 / ”2 变为 „47 / “47 / ”0,
count(“) === count(„) + count(”) 依旧成立。该文件里三个字面计数已随之更新
(okSpans 45 → 47、census 三元组、rdqKeys 从两键清单变 []),并新增一条按键名钉这
两个值的 it —— 因为只留 rdqKeys === [] 会让断言变成「因为什么都没产出所以绿」,
而这套 suite 存在的目的正是拦这种绿。#3876 自己的 20 键 / 22 span 普查表未改动:
把后续修复折进那张表会毁掉「#3876 到底动了什么」的记录。

反向验证(先声明方向,再跑)

预判方向是红(不是「计数归零反而多出诊断」那一类,因为断言钉的是 canonical 结果本身)。
把 de 五键还原成英文后实测:6 条红,指名 de 的 5 个键,普查回到 45/47/2。

一条诚实的例外要记下来:the hint keeps the + formula 那条在还原后仍然绿 ——
en 原文本身就有两个 +。它不是本缺陷的探测器,只是译文形状的钉子,不应被读成
「反向验证覆盖了全部断言」。

另外,两条红最先出现在我自己新写的断言上,不是译文上,都已修正并把原因写进注释:
(1) 「七包都不得含 “」对 de 是错的 —— U+201C 是德语的闭引号,该条现在只禁 en 的
成对形态 “{{name}}” 与 ”,“ 的单独禁令跳过 de;
(2) savedMapping 的结尾符原本取 sibling 的「后两字符」,在 ko 上等于要求两个不同标签以
同一个音节 릿 结尾,现在改成抽取「冒号及其前导空白」(fr 空格 + 冒号、zh/ja 全角冒号都能过)。

范围

验证

  • pnpm exec vitest run packages/i18n/ --maxWorkers=2 — 34 files / 599 passed
    (含 parity / drift / 呼号门 / de-quote-pairing-3876 / 新增钉子)
  • pnpm exec turbo run type-check --concurrency=2 — 78 successful, 78 total
  • node scripts/check-i18n-call-site-keys.mjs — 3483 call sites,全部解析
  • node scripts/check-i18n-en-drift.mjs — No en value changed in this range.
  • node scripts/check-control-bytes.mjs — OK(3835 tracked text files)
  • 一次性逐字节比对:35/35 与 en 不同,占位符形状 0 处不匹配,值内控制字节 0

🤖 Generated with Claude Code

https://claude.ai/code/session_01GTRjn8xBqp75dk7kFupVRt


Generated by Claude Code

…s/pt/ru/ar (#3920)

Five keys — grid.import.savedMapping, chooseSavedMapping, manualMapping,
savedMappingHint and savedMappingPreviewNote — were byte-identical to en in
seven of the nine non-en packs (35 values). Only zh and ja had been
translated, and two of the five are multi-clause sentences, so this was not a
deliberately untranslated term.

Each translation reuses vocabulary the pack already ships (stepMapping for
"mapping", legacyFallbackNotice for "type coercion", view.readonlyTooltip for
"read-only", validateHint for "on the server"); es follows the usted ruling of
objectui#3844, pt the pack's pt-BR, ru keeps its yo, fr the straight
apostrophe and the space before colon/semicolon, ar U+060C/U+061B, ko the
particle spelling of fields.file.exceedsMaxSize.

The quote around {{name}} follows each pack's measured majority for wrapping a
placeholder: de low/high German pair (38 vs 3 ASCII), fr guillemets with an
ASCII space (25 vs 18), ru tight guillemets (23 vs 18), ASCII for ko (38:0),
pt (39:0), es (22:19) and ar (27:15).

Germanising the two de sentences closes the 45/47 gap
de-quote-pairing-3876.test.ts documented; its census moves to 47/47/0 exactly
as that file's header predicted, the count identity still holds, and the two
keys are now pinned there by name so the empty rdqKeys list cannot become an
assertion that passes because nothing is produced.

en/zh/ja untouched. grid.import.transform, the sixth key in the same block and
English in the same seven packs, is deliberately left alone and pinned as
still-English. The general "no non-en value may equal en" gate the card
proposed is not part of this change: its denominator is unmeasured.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GTRjn8xBqp75dk7kFupVRt
@vercel

vercel Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectui Ignored Ignored Aug 9, 2026 1:26pm

Request Review

@github-actions github-actions Bot added the tests label Aug 9, 2026
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Main entry (gzip) 28.1 KB 350 KB
Entry file index-lnq-VPQ8.js —
Status PASS —

📦 Bundle Size Report

Package Size Gzipped
app-shell (index.js) 8.66KB 3.13KB
app-shell (runtime-config.js) 7.42KB 2.32KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 7.57KB 2.97KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 1.17KB 0.53KB
auth (AuthProvider.js) 22.10KB 4.37KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.13KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.64KB 2.21KB
auth (SocialSignInButtons.js) 9.60KB 3.89KB
auth (UserMenu.js) 3.40KB 1.22KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 35.76KB 9.11KB
auth (createAuthenticatedFetch.js) 4.37KB 1.69KB
auth (index.js) 2.35KB 1.07KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 4.91KB 0.87KB
auth (useIsWorkspaceAdmin.js) 1.61KB 0.85KB
collaboration (CommentThread.js) 26.07KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.65KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 482.64KB 106.39KB
core (index.js) 3.00KB 1.14KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 139.61KB 35.99KB
fields (index.js) 231.13KB 56.80KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (currency.js) 1.22KB 0.64KB
i18n (i18n.js) 4.32KB 1.77KB
i18n (index.js) 2.65KB 1.06KB
i18n (pickLocalized.js) 1.70KB 0.83KB
i18n (provider.js) 9.48KB 3.27KB
i18n (useObjectLabel.js) 27.59KB 6.63KB
i18n (useSafeTranslation.js) 4.52KB 1.96KB
layout (index.js) 38.53KB 10.71KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.74KB
mobile (index.js) 1.50KB 0.62KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.71KB 0.42KB
mobile (useResponsiveConfig.js) 1.36KB 0.63KB
mobile (useSpecGesture.js) 4.32KB 1.64KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 8.75KB 3.06KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 3.67KB 1.12KB
permissions (evaluator.js) 4.41KB 1.44KB
permissions (index.js) 0.91KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.52KB
permissions (usePermissions.js) 1.55KB 0.71KB
plugin-ai (index.js) 15.71KB 3.79KB
plugin-calendar (index.js) 44.98KB 12.37KB
plugin-charts (index.js) 61.04KB 17.31KB
plugin-chatbot (index.js) 180.33KB 42.79KB
plugin-dashboard (index.js) 118.02KB 30.47KB
plugin-designer (index.js) 210.51KB 42.51KB
plugin-detail (index.js) 236.63KB 59.02KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 112.10KB 27.10KB
plugin-gantt (index.js) 162.55KB 39.57KB
plugin-grid (index.js) 187.63KB 49.66KB
plugin-kanban (index.js) 48.30KB 13.28KB
plugin-list (index.js) 109.67KB 26.55KB
plugin-map (index.js) 16.81KB 5.24KB
plugin-markdown (index.js) 13.72KB 4.69KB
plugin-report (index.js) 40.58KB 10.58KB
plugin-timeline (index.js) 25.76KB 7.33KB
plugin-tree (index.js) 8.50KB 2.88KB
plugin-view (index.js) 84.03KB 20.55KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.71KB 3.53KB
providers (index.js) 0.44KB 0.22KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.67KB 2.37KB
react (LazyPluginLoader.js) 3.77KB 1.33KB
react (SchemaRenderer.js) 20.15KB 6.72KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 1.02KB 0.55KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 4.09KB 1.74KB
sdui-parser (index.js) 4.47KB 2.03KB
sdui-parser (parse.js) 10.04KB 2.82KB
sdui-parser (types.js) 0.29KB 0.24KB
sdui-parser (validate.js) 4.69KB 1.48KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 0.99KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 0.20KB 0.18KB
types (crud.js) 0.20KB 0.18KB
types (data-display.js) 0.20KB 0.18KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.87KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-retry.js) 4.32KB 2.02KB
types (index.js) 2.71KB 1.34KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 2.59KB 1.31KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (spec-report.js) 5.05KB 1.93KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 0.20KB 0.18KB
types (ui-action.js) 3.40KB 1.71KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

… grid.import.transform

The pin that records `transform` as untranslated said only "that finding waits
its turn"; it now names the issue, and states why that one is the sharper of the
two — it is the third column header of SavedMappingSummary, rendered directly
under the savedMappingHint this change translated, beside two headers that were
always translated.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GTRjn8xBqp75dk7kFupVRt

Copy link
Copy Markdown
Contributor Author

越界发现已另立单:#3938 —— grid.import.transform(同一个 6 行 block 的第六个键)在同样这七包是英文 Transform,zh/ja 已译。本 PR 刻意不修它(#3920 卡片枚举的是 5 键 / 35 值,加进来会让本 PR 自己的普查数与卡片对不上),而是在 gridImportSavedMapping-i18n-3920.test.ts 里钉成「仍是英文」,数目再漂会红;修 #3938 的人必须回来删掉那条 it,不是翻转它的期望值。

它比本单那五个更扎眼:它是 SavedMappingSummary 表格的第三列表头,就渲染在本 PR 刚译好的 savedMappingHint 正下方,旁边两个表头(csvColumn / mapsTo)一直是译好的。本 PR 之前整个面板都是英文、因而「一致」;补译之后这一个英文表头才独立可见 —— 这是本 PR 造成的可见性变化,所以在此明写。

搜重记录:"grid.import.transform" 精确串搜 open+closed issue 命中 0;#3876 / #3880 / #3919 / #3920 逐一读过,均非同一面。#3938 未打 label、未指派,留给分诊定级。


Generated by Claude Code


Generated by Claude Code

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Main entry (gzip) 28.1 KB 350 KB
Entry file index-lnq-VPQ8.js —
Status PASS —

📦 Bundle Size Report

Package Size Gzipped
app-shell (index.js) 8.66KB 3.13KB
app-shell (runtime-config.js) 7.42KB 2.32KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 7.57KB 2.97KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 1.17KB 0.53KB
auth (AuthProvider.js) 22.10KB 4.37KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.13KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.64KB 2.21KB
auth (SocialSignInButtons.js) 9.60KB 3.89KB
auth (UserMenu.js) 3.40KB 1.22KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 35.76KB 9.11KB
auth (createAuthenticatedFetch.js) 4.37KB 1.69KB
auth (index.js) 2.35KB 1.07KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 4.91KB 0.87KB
auth (useIsWorkspaceAdmin.js) 1.61KB 0.85KB
collaboration (CommentThread.js) 26.07KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.65KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 482.64KB 106.39KB
core (index.js) 3.00KB 1.14KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 139.61KB 35.99KB
fields (index.js) 231.13KB 56.80KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (currency.js) 1.22KB 0.64KB
i18n (i18n.js) 4.32KB 1.77KB
i18n (index.js) 2.65KB 1.06KB
i18n (pickLocalized.js) 1.70KB 0.83KB
i18n (provider.js) 9.48KB 3.27KB
i18n (useObjectLabel.js) 27.59KB 6.63KB
i18n (useSafeTranslation.js) 4.52KB 1.96KB
layout (index.js) 38.53KB 10.71KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.74KB
mobile (index.js) 1.50KB 0.62KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.71KB 0.42KB
mobile (useResponsiveConfig.js) 1.36KB 0.63KB
mobile (useSpecGesture.js) 4.32KB 1.64KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 8.75KB 3.06KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 3.67KB 1.12KB
permissions (evaluator.js) 4.41KB 1.44KB
permissions (index.js) 0.91KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.52KB
permissions (usePermissions.js) 1.55KB 0.71KB
plugin-ai (index.js) 15.71KB 3.79KB
plugin-calendar (index.js) 44.98KB 12.37KB
plugin-charts (index.js) 61.04KB 17.31KB
plugin-chatbot (index.js) 180.33KB 42.79KB
plugin-dashboard (index.js) 118.02KB 30.47KB
plugin-designer (index.js) 210.51KB 42.51KB
plugin-detail (index.js) 236.63KB 59.02KB
plugin-editor (index.js) 2.46KB 1.10KB
plugin-form (index.js) 112.10KB 27.10KB
plugin-gantt (index.js) 162.55KB 39.57KB
plugin-grid (index.js) 187.63KB 49.66KB
plugin-kanban (index.js) 48.30KB 13.28KB
plugin-list (index.js) 109.67KB 26.55KB
plugin-map (index.js) 16.81KB 5.24KB
plugin-markdown (index.js) 13.72KB 4.69KB
plugin-report (index.js) 40.58KB 10.58KB
plugin-timeline (index.js) 25.76KB 7.33KB
plugin-tree (index.js) 8.50KB 2.88KB
plugin-view (index.js) 84.03KB 20.55KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.71KB 3.53KB
providers (index.js) 0.44KB 0.22KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.67KB 2.37KB
react (LazyPluginLoader.js) 3.77KB 1.33KB
react (SchemaRenderer.js) 20.15KB 6.72KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 1.02KB 0.55KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 4.09KB 1.74KB
sdui-parser (index.js) 4.47KB 2.03KB
sdui-parser (parse.js) 10.04KB 2.82KB
sdui-parser (types.js) 0.29KB 0.24KB
sdui-parser (validate.js) 4.69KB 1.48KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 0.99KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 0.20KB 0.18KB
types (crud.js) 0.20KB 0.18KB
types (data-display.js) 0.20KB 0.18KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.87KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-retry.js) 4.32KB 2.02KB
types (index.js) 2.71KB 1.34KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 2.59KB 1.31KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (spec-report.js) 5.05KB 1.93KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 0.20KB 0.18KB
types (ui-action.js) 3.40KB 1.71KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

Copy link
Copy Markdown
Contributor Author

✅ 验收通过(objectui 分片 PM,session session_01GTRjn8xBqp75dk7kFupVRt) — #3920

实物核验:head cda38cea7,两提交 10 文件。CI 亲读终态:20 检查全 completed、0 失败。

要点:35 值补译逐包带术语锚点依据(es 敬称承 #3844、ru 保 ё、ar 用阿拉伯标点、ko 助词写法承既有先例);de 顺带闭合 #3876 预告的 45/47 引号缺口(恒等式仍立,普查计数按预告更新);判据措辞纠正(3546 钉的是族内规则非全局 ASCII)与两条自写断言的方向修正(de 闭引号误禁、ko 结尾符取法)诚实且正确;草稿脚本控制字节自查拦截合规。反向验证 canonical-first 型 6 红方向吻合。范围外 finding #3938(同 block 第六键)已由 PM 晋级,串行于本单合入后。


Generated by Claude Code

@yinlianghui
yinlianghui marked this pull request as ready for review August 9, 2026 13:41
@yinlianghui
yinlianghui added this pull request to the merge queue Aug 9, 2026
Merged via the queue into main with commit ac2139c Aug 9, 2026
20 checks passed
@yinlianghui
yinlianghui deleted the claude/issue-3920-grid-import-i18n branch August 9, 2026 13:41
akarma-synetal pushed a commit to akarma-synetal/objectui that referenced this pull request Aug 10, 2026
…bjectstack-ai#3938) (objectstack-ai#3949)

The third column header of the import wizard's saved-mapping summary was
byte-identical to `en` — the literal `Transform` — in seven of the nine
non-`en` packs. zh (`转换`) and ja (`変換`) had translated it, which rules out
the "deliberately untranslated term" reading. It is the sixth key of the same
six-line block objectui#3920 / PR objectstack-ai#3936 fixed the other five of, left out of
that card only to keep its 5-keys / 35-values census verifiable against it.

Each value is the singular of the word the pack already uses for `en`'s plural
"transforms" in `grid.import.savedMappingHint` — the sentence
`SavedMappingSummary` renders directly above this header, translated by objectstack-ai#3936:
ko `변환`, de `Transformation`, fr `Transformation`, es `Transformación`,
pt `Transformação`, ru `Преобразование`, ar `التحويل`.

That is the anchor rather than `legacyFallbackNotice`'s term, which the card
suggested: `en`'s own sentence lists "transforms" and "type coercion" as two
different server-side operations and `legacyFallbackNotice` is about the
second, so reusing de "Typkonvertierung" / ko "형 변환" / ar "تحويل الأنواع"
here would name the wrong operation. The new test asserts each pack's coercion
term is present in that sentence and absent from the header.

The pin PR objectstack-ai#3936 left in `gridImportSavedMapping-i18n-3920.test.ts` asserting
these seven were still English is replaced by the translated pin it asked for:
7-of-7 no longer serve the `en` value, `en`/zh/ja untouched, and all three
headers of the summary row (`csvColumn`, `mapsTo`, `transform`) differ from
their `en` values — the row, not the key, is the criterion. `KEYS` stays at
five so objectstack-ai#3920's census remains checkable against its card.

Claude-Session: https://claude.ai/code/session_01GTRjn8xBqp75dk7kFupVRt

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

2 participants