@things-factory/i18n-base 10.1.228 → 10.1.234

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/i18n-base",
3
- "version": "10.1.228",
3
+ "version": "10.1.234",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "exports": {
@@ -44,9 +44,9 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@operato/i18n": "^10.0.0",
47
- "@things-factory/auth-base": "^10.1.228",
47
+ "@things-factory/auth-base": "^10.1.234",
48
48
  "@things-factory/env": "^10.1.149",
49
- "@things-factory/shell": "^10.1.228"
49
+ "@things-factory/shell": "^10.1.234"
50
50
  },
51
- "gitHead": "fc4ede44617418df8701e83b83d177db4142a8f3"
51
+ "gitHead": "92f29853680fff527a5f1d167ab3ad9b27837ba9"
52
52
  }
@@ -0,0 +1,14 @@
1
+ /* Inline help audit 2026-10-30: the terminology grid offered its categories as the raw prefixes button, field, label. */
2
+ import { readFileSync } from 'fs'
3
+ import { join } from 'path'
4
+
5
+ const ROOT = join(__dirname, '..')
6
+ const read = (file: string) => readFileSync(join(ROOT, file), 'utf8')
7
+
8
+ test('★ a category is offered by its name in the reader’s language, the stored value unchanged', () => {
9
+ expect(read('client/page/terminology-page.ts')).not.toMatch(/options: \['', 'button', 'field'/)
10
+ for (const lang of ['ko', 'en', 'ja', 'zh', 'es', 'ms']) {
11
+ const words = JSON.parse(read(`translations/${lang}.json`))
12
+ for (const category of ['button', 'field', 'label', 'menu', 'text', 'title']) expect([lang, category, !!words[`label.term-category-${category}`]]).toEqual([lang, category, true])
13
+ }
14
+ })
@@ -11,5 +11,11 @@
11
11
  "text.item view": "item view",
12
12
  "title.terminology": "terminology",
13
13
  "task.i18n-base.terminology.name": "Changing the domain's words",
14
- "task.i18n-base.terminology.description": "Changes the domain's own words. Everyone reads them already."
14
+ "task.i18n-base.terminology.description": "Changes the domain's own words. Everyone reads them already.",
15
+ "label.term-category-button": "button",
16
+ "label.term-category-field": "field",
17
+ "label.term-category-label": "label",
18
+ "label.term-category-menu": "menu",
19
+ "label.term-category-text": "text",
20
+ "label.term-category-title": "title"
15
21
  }
@@ -11,5 +11,11 @@
11
11
  "text.item view": "vista de elemento",
12
12
  "title.terminology": "terminología",
13
13
  "task.i18n-base.terminology.name": "Cambiar los términos del dominio",
14
- "task.i18n-base.terminology.description": "Cambia los términos propios del dominio. Todos ya los leen."
14
+ "task.i18n-base.terminology.description": "Cambia los términos propios del dominio. Todos ya los leen.",
15
+ "label.term-category-button": "botón",
16
+ "label.term-category-field": "campo",
17
+ "label.term-category-label": "etiqueta",
18
+ "label.term-category-menu": "menú",
19
+ "label.term-category-text": "texto",
20
+ "label.term-category-title": "título"
15
21
  }
@@ -11,5 +11,11 @@
11
11
  "text.item view": "項目表示",
12
12
  "title.terminology": "用語",
13
13
  "task.i18n-base.terminology.name": "用語の変更",
14
- "task.i18n-base.terminology.description": "ドメイン固有の用語を変更する。閲覧は誰でもできる。"
14
+ "task.i18n-base.terminology.description": "ドメイン固有の用語を変更する。閲覧は誰でもできる。",
15
+ "label.term-category-button": "ボタン",
16
+ "label.term-category-field": "フィールド",
17
+ "label.term-category-label": "ラベル",
18
+ "label.term-category-menu": "メニュー",
19
+ "label.term-category-text": "テキスト",
20
+ "label.term-category-title": "タイトル"
15
21
  }
@@ -11,5 +11,11 @@
11
11
  "text.item view": "항목 보기",
12
12
  "title.terminology": "용어",
13
13
  "task.i18n-base.terminology.name": "용어 바꾸기",
14
- "task.i18n-base.terminology.description": "도메인 고유 용어를 바꾼다. 읽기는 누구나 한다."
14
+ "task.i18n-base.terminology.description": "도메인 고유 용어를 바꾼다. 읽기는 누구나 한다.",
15
+ "label.term-category-button": "버튼",
16
+ "label.term-category-field": "필드",
17
+ "label.term-category-label": "라벨",
18
+ "label.term-category-menu": "메뉴",
19
+ "label.term-category-text": "텍스트",
20
+ "label.term-category-title": "제목"
15
21
  }
@@ -11,5 +11,11 @@
11
11
  "text.item view": "paparan item",
12
12
  "title.terminology": "istilah",
13
13
  "task.i18n-base.terminology.name": "Mengubah istilah domain",
14
- "task.i18n-base.terminology.description": "Mengubah istilah domain sendiri. Semua orang sudah membacanya."
14
+ "task.i18n-base.terminology.description": "Mengubah istilah domain sendiri. Semua orang sudah membacanya.",
15
+ "label.term-category-button": "butang",
16
+ "label.term-category-field": "medan",
17
+ "label.term-category-label": "label",
18
+ "label.term-category-menu": "menu",
19
+ "label.term-category-text": "teks",
20
+ "label.term-category-title": "tajuk"
15
21
  }
@@ -11,5 +11,11 @@
11
11
  "text.item view": "项目视图",
12
12
  "title.terminology": "术语",
13
13
  "task.i18n-base.terminology.name": "修改术语",
14
- "task.i18n-base.terminology.description": "修改域自有的术语。所有人都可读取。"
14
+ "task.i18n-base.terminology.description": "修改域自有的术语。所有人都可读取。",
15
+ "label.term-category-button": "按钮",
16
+ "label.term-category-field": "字段",
17
+ "label.term-category-label": "标签",
18
+ "label.term-category-menu": "菜单",
19
+ "label.term-category-text": "文本",
20
+ "label.term-category-title": "标题"
15
21
  }