@@ -419,13 +419,28 @@ export const ShowcaseTranslationBundle = {
419419 showcase_field_zoo : {
420420 label : '字段动物园' , pluralLabel : '字段动物园' ,
421421 fields : { f_lookups : { label : '查找 → 客户(多值)' } } ,
422+ // 三个视图共用一套门控动作,差别只在「被门控的字段是否也作为列显示」——
423+ // 即客户端是否展开它、投影是否本来就会带上它。见 ui/views/field-zoo.view.ts。
424+ // `_views.default` —— 容器的默认列表:它声明时不带 `name`,composer 把它
425+ // 注册为 `showcase_field_zoo.default`,bundle 的键就是这个裸运行时键
426+ // (#5164,2026-08-06 定案)。写成 `list` 是没有任何查找能到达的拼法 ——
427+ // 本条正是这么错过一次的:分支落后 main 时本地绿、合进 main 后 CI 红。
428+ _views : {
429+ default : { label : '字段动物园' } ,
430+ gated_columns : { label : '被门控字段作为列' } ,
431+ inline_bulk_defs : { label : '内联批量定义' } ,
432+ } ,
422433 // #3405 — the inline system-object picker specimen. Translated at birth
423434 // because `check-i18n-coverage` ratchets this example at its current
424435 // untranslated count: a newly declared label that skips zh-CN pushes the
425436 // count up and fails the gate. (The gallery's older params sit inside
426437 // that baseline; this one is not allowed to widen it.) `负责人` matches
427438 // what the bundle already renders for `showcase_task.assignee`, rather
428439 // than introducing a second word for the same idea.
440+ // 动作显隐矩阵(objectui#3492 / #3501)。同上:本示例被
441+ // `check-i18n-coverage` 按当前未翻译计数上了棘轮,新声明的标签必须当场
442+ // 翻译,否则计数上涨、门变红。标签本身是覆盖夹具的说明文字,中文照写同
443+ // 一句技术陈述,不做意译。
429444 _actions : {
430445 showcase_action_param_gallery : {
431446 params : {
@@ -435,6 +450,65 @@ export const ShowcaseTranslationBundle = {
435450 } ,
436451 } ,
437452 } ,
453+ showcase_zoo_relation_gate : { label : '查找 == 多值第一项' , successMessage : '两个关系都解析到同一个 id。' } ,
454+ showcase_zoo_user_gate : { label : '指派给我(user 字段)' , successMessage : '你是这条标本的指派用户。' } ,
455+ showcase_zoo_owner_gate : { label : '归我所有(owner_id)' , successMessage : '这条标本归你所有。' } ,
456+ showcase_zoo_dialect_split : { label : '仅 CEL:contains()' } ,
457+ showcase_zoo_toolbar_gate : { label : '仅登录可见(工具栏)' , successMessage : '工具栏门通过。' } ,
458+ showcase_zoo_visible_string : { label : 'visible:字符串' } ,
459+ showcase_zoo_visible_tagged : { label : 'visible:P`…` 标签模板' } ,
460+ showcase_zoo_visible_envelope : { label : 'visible:{ dialect, source } 信封' } ,
461+ showcase_zoo_disabled_gate : { label : '未评分则禁用' } ,
462+ showcase_zoo_perm_held : { label : '需要导出能力' } ,
463+ showcase_zoo_perm_missing : { label : '需要受限能力' } ,
464+ showcase_zoo_perm_and : { label : '需要同时具备两项能力' } ,
465+ showcase_zoo_perm_empty : { label : 'requiredPermissions:[]' } ,
466+ // 字段类型谓词园 —— 每种字段类型一条 `visible`。
467+ showcase_zoo_t_lookup : { label : 'lookup —— 已设置' } ,
468+ showcase_zoo_t_lookup_multi : { label : 'lookup 多值 —— 多于 1 项' } ,
469+ showcase_zoo_t_master_detail : { label : 'master_detail —— 已设置' } ,
470+ showcase_zoo_t_tree : { label : 'tree —— 未设置' } ,
471+ showcase_zoo_t_user : { label : 'user —— 未设置' } ,
472+ showcase_zoo_t_user_identity : { label : 'user —— 是我' } ,
473+ showcase_zoo_t_owner : { label : 'owner_id(注入列)—— 属于我' } ,
474+ showcase_zoo_t_text : { label : 'text —— name 非空' } ,
475+ showcase_zoo_t_textarea : { label : 'textarea —— contains' } ,
476+ showcase_zoo_t_email : { label : 'email —— matches' } ,
477+ showcase_zoo_t_url : { label : 'url —— contains' } ,
478+ showcase_zoo_t_phone : { label : 'phone —— contains' } ,
479+ showcase_zoo_t_markdown : { label : 'markdown —— contains' } ,
480+ showcase_zoo_t_html : { label : 'html —— contains' } ,
481+ showcase_zoo_t_code : { label : 'code —— contains' } ,
482+ showcase_zoo_t_number : { label : 'number —— > 100' } ,
483+ showcase_zoo_t_currency : { label : 'currency —— > 1000' } ,
484+ showcase_zoo_t_percent : { label : 'percent —— >= 75' } ,
485+ showcase_zoo_t_rating : { label : 'rating —— >= 4' } ,
486+ showcase_zoo_t_slider : { label : 'slider —— > 50' } ,
487+ showcase_zoo_t_progress : { label : 'progress —— >= 80' } ,
488+ showcase_zoo_t_formula : { label : 'formula —— > 100' } ,
489+ showcase_zoo_t_autonumber : { label : 'autonumber —— 等于 0001' } ,
490+ showcase_zoo_t_date : { label : 'date —— 早于今天' } ,
491+ showcase_zoo_t_datetime : { label : 'datetime —— 已设置' } ,
492+ showcase_zoo_t_time : { label : 'time —— 等于 14:30' } ,
493+ showcase_zoo_t_boolean : { label : 'boolean —— 真' } ,
494+ showcase_zoo_t_toggle : { label : 'toggle —— 真' } ,
495+ showcase_zoo_t_select : { label : 'select —— high' } ,
496+ showcase_zoo_t_radio : { label : 'radio —— yes' } ,
497+ showcase_zoo_t_multiselect : { label : 'multiselect —— 含 red' } ,
498+ showcase_zoo_t_checkboxes : { label : 'checkboxes —— 含 email' } ,
499+ showcase_zoo_t_tags : { label : 'tags —— 非空' } ,
500+ showcase_zoo_t_json : { label : 'json —— 嵌套键' } ,
501+ showcase_zoo_t_location : { label : 'location —— 纬度 > 40' } ,
502+ showcase_zoo_t_address : { label : 'address —— 美国' } ,
503+ showcase_zoo_t_color : { label : 'color —— 等于 #2563EB' } ,
504+ showcase_zoo_t_composite : { label : 'composite —— width 为 10' } ,
505+ showcase_zoo_t_repeater : { label : 'repeater —— 2 行' } ,
506+ showcase_zoo_t_record : { label : 'record 套 record —— score 为 9' } ,
507+ showcase_zoo_t_vector : { label : 'vector —— 4 维' } ,
508+ showcase_zoo_t_and : { label : 'AND —— boolean && number' } ,
509+ showcase_zoo_t_or : { label : 'OR —— select || rating' } ,
510+ showcase_zoo_t_not : { label : 'NOT —— !boolean' } ,
511+ showcase_zoo_t_ternary : { label : '三元 —— rating ? :' } ,
438512 } ,
439513 } ,
440514 } ,
0 commit comments