Skip to content

Commit 42e9236

Browse files
[update] normalize i18n translations to glossary
- align section labels, headings and admonition titles across ru/de/ko/zh with the i18n/GLOSSARY.md canon - Change log label normalized: ru Журнал изменений, de Changelog, ko 변경 로그, zh 更新日志 - ru: Related articles → Полезные статьи; tip/info admonition → Подсказка/К сведению; Returns/New functionality headings - ko: Parameters heading → 매개변수; Related samples → 관련 예제 - zh: note/caution admonition titles → 备注/注意 - sync theme.admonition.* in ru/ko/zh code.json with md titles - update i18n/GLOSSARY.md reference tables
1 parent 72aa425 commit 42e9236

233 files changed

Lines changed: 359 additions & 372 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

i18n/GLOSSARY.md

Lines changed: 52 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -2,118 +2,105 @@
22

33
Purpose: a single reference for translations of recurring template phrases in the documentation
44
([../docs/](../docs/)). Consult it when translating new articles and when reviewing localizations —
5-
the wording and markdown markup (`**...:**`, `### ...`, full-width `` for zh) must match verbatim.
5+
the wording and markdown markup (`**...**`, `### ...`, full-width `` for zh/ko) must match verbatim.
66

77
The **canonical** (most frequent) variant is given.
88

99
---
1010

11-
## 1. Section labels (bold lead before a link)
12-
13-
RichText puts the colon **inside** the bold markers (`**...:**`); zh uses a full-width colon ``.
14-
15-
Use the **singular** form when a single item is referenced, the **plural** form for a list of two or
16-
more. ko/zh have no number inflection — the same label serves both. The number must agree with the
17-
English source (e.g. `**Related sample:**` → singular, `**Related samples:**` → plural).
11+
## 1. Section labels (bold lead before a list)
1812

1913
| EN | ru | de | ko | zh |
2014
|---|---|---|---|---|
21-
| `**Related articles:**` | `**Связанные статьи:**` | `**Verwandte Artikel:**` | `**관련 문서:**` | `**相关文章:**` |
15+
| `**Related articles:**` | `**Полезные статьи:**` | `**Verwandte Artikel:**` | `**관련 문서:**` | `**相关文章:**` |
16+
| `**Related article:**` | `**Полезная статья:**` | `**Verwandter Artikel:**` | `**관련 문서:**` | `**相关文章:**` |
2217
| `**Related sample:**` | `**Связанный пример:**` | `**Verwandtes Beispiel:**` | `**관련 샘플:**` | `**相关示例:**` |
23-
| `**Related samples:**` | `**Связанные примеры:**` | `**Verwandte Beispiele:**` | `**관련 샘플:**` | `**相关示例:**` |
24-
25-
ko: `관련 샘플` is canonical for *sample(s)*; the variant `관련 예제` also occurs and should be
26-
normalized to `관련 샘플`.
27-
28-
## 2. Section headings
18+
| `**Related samples:**` | `**Связанные примеры:**` | `**Verwandte Beispiele:**` | `**관련 예제:**` | `**相关示例:**` |
19+
| `**Related API:**` | `**Похожее API:**` | `**Verwandte API:**` | `**관련 API:**` | `**相关 API:**` |
20+
| `**Change log:**` | `**Журнал изменений:**` | `**Changelog:**` | `**변경 로그:**` | `**更新日志:**` |
21+
| `**Example:**` | `**Пример:**` | `**Beispiel:**` | `**예제:**` | `**示例:**` |
22+
| `**Example on GitHub**` | `**Пример на GitHub**` | `**Beispiel auf GitHub**` | `**GitHub 예제**` | `**GitHub 示例**` |
2923

30-
Headings keep the original English slug as a `{#...}` anchor (e.g. `### Описание {#description}`) so
31-
cross-page `#anchor` links stay valid — only the visible title is translated. The explicit `{#id}`
32-
must match the English auto-slug **exactly**, including any leading dashes for headings that begin
33-
with a list marker or inline code (e.g. `### - \`fire()\` → ...` keeps `{#--fire--...}`).
34-
35-
**API-page template:**
24+
## 2. Section headings (API-page template)
3625

3726
| EN | ru | de | ko | zh |
3827
|---|---|---|---|---|
3928
| `### Description` | `### Описание` | `### Beschreibung` | `### 설명` | `### 描述` |
4029
| `### Usage` | `### Использование` | `### Verwendung` | `### 사용법` | `### 用法` |
4130
| `### Example` | `### Пример` | `### Beispiel` | `### 예제` | `### 示例` |
42-
| `### Parameters` | `### Параметры` | `### Parameter` | `### 파라미터` | `### 参数` |
43-
| `### Returns` | `### Возвращает` | `### Rückgabewert` | `### 반환값` | `### 返回值` |
31+
| `### Parameters` | `### Параметры` | `### Parameter` | `### 매개변수` | `### 参数` |
32+
| `### Returns` | `### Возвращаемое значение` | `### Rückgabewert` | `### 반환값` | `### 返回值` |
33+
| `### Fixes` | `### Исправления` | `### Fehlerbehebungen` | `### 수정 사항` | `### 修复` |
34+
| `### New functionality` | `### Новый функционал` | `### Neue Funktionalität` | `### 새로운 기능` | `### 新功能` |
35+
| `### Updates` | `### Обновления` | `### Aktualisierungen` | `### 업데이트` | `### 更新` |
4436
| `### Default config` | `### Конфигурация по умолчанию` | `### Standardkonfiguration` | `### 기본 설정` | `### 默认配置` |
37+
| `### Breaking changes` | `### Критические изменения` | `### Breaking Changes` | `### 주요 변경 사항` | `### 重大变更` |
38+
| `## Related API and guides` | `## Связанные API и гайды` | `## Verwandte API und Anleitungen` | `## 관련 API 및 가이드` | `## 相关 API 和指南` |
39+
| `## What's next` | `## Что дальше` | `## Wie geht es weiter` | `## 다음 단계` | `## 下一步` |
40+
| `## API reference` | `## Справочник API` | `## API-Referenz` | `## API 참조` | `## API 参考` |
4541

46-
- ko: `파라미터` is canonical; the variants `매개변수` and untranslated `Parameters` in **headings**
47-
should be normalized to `파라미터` (running prose that uses `매개변수` grammatically is left as is).
48-
- ko: `예제` is canonical for *Example*; the variant `예시` should be normalized to `예제`.
49-
- ko: `기본 설정` is canonical for *Default config*; the variant `기본 구성` should be normalized.
50-
- ru: `Конфигурация по умолчанию` is canonical; the shorter `Конфиг по умолчанию` should be
51-
normalized.
52-
53-
**Changelog headings (`news/whats_new.md`, `news/migration.md`):**
42+
## 3. Version notes (inside `**Change log:**`)
5443

55-
| EN | ru | de | ko | zh |
56-
|---|---|---|---|---|
57-
| `### New functionality` | `### Новые возможности` | `### Neue Funktionalität` | `### 새로운 기능` | `### 新功能` |
58-
| `### New API` | `### Новый API` | `### Neue API` | `### 새로운 API` | `### 新增 API` |
59-
| `### Updated API` | `### Обновлённый API` | `### Aktualisierte API` | `### 업데이트된 API` | `### 更新的 API` |
60-
| `### Fixes` | `### Исправления` | `### Fehlerbehebungen` | `### 수정 사항` | `### 修复` |
61-
| `### Methods migration` | `### Миграция методов` | `### Migration der Methoden` | `### 메서드 마이그레이션` | `### 方法迁移` |
62-
| `### Properties migration` | `### Миграция свойств` | `### Migration der Eigenschaften` | `### 프로퍼티 마이그레이션` | `### 属性迁移` |
63-
64-
`API` stays the Latin `API` in every changelog heading (never the Cyrillic `АПИ`).
44+
Format `<Action> in vX.X` — the "action" word is translated, the version number stays as is.
6545

66-
**Navigation heading:**
46+
The forms below are verified against actual occurrences in the locales (e.g. `Добавлено в v5.2`,
47+
`v5.2에서 추가`, `v5.2 中新增`). The version number is not translated.
6748

6849
| EN | ru | de | ko | zh |
6950
|---|---|---|---|---|
70-
| `## What's next` | `## Что дальше` | `## Wie geht es weiter?` | `## 다음 단계` | `## 下一步` |
51+
| `Added in vX.X` | `Добавлено в vX.X` | `Hinzugefügt in vX.X` | `vX.X에서 추가` | `vX.X 中新增` |
52+
| `Updated in vX.X` | `Обновлено в vX.X` | `Aktualisiert in vX.X` | `vX.X에서 업데이트` | `vX.X 中更新` |
53+
| `Deprecated in vX.X` | `Устарело в vX.X` | `Veraltet in vX.X` | `vX.X에서 지원 중단` | `vX.X 中弃用` |
54+
| `Removed in vX.X` | `Удалено в vX.X` | `Entfernt in vX.X` | `vX.X에서 제거` | `vX.X 中移除` |
55+
| `Starting from vX.X, …` | `Начиная с vX.X, …` | `Ab vX.X …` | `vX.X부터 …` | `从 vX.X 起,…` |
7156

72-
## 3. Admonition block titles (`:::note`, `:::tip` …)
57+
## 4. Admonition block titles (`:::note`, `:::tip` …)
7358

74-
RichText sets these titles **explicitly in markdown** via the `:::type[Title]` syntax (e.g.
75-
`:::note[Примечание]`), so the visible title comes from the `.md` file, not the theme defaults. The
76-
block **type** (`:::note`, `:::tip`, …) is never translated — only the bracketed `[Title]` is.
59+
The titles of these blocks come **not from markdown**, but from the `theme.admonition.*` keys in
60+
`i18n/<locale>/code.json` (in EN — Docusaurus built-in defaults). In `.md` the block type (`:::note`,
61+
`:::tip`, …) is not translated — only the `message` in `code.json` changes.
7762

78-
The same wording is mirrored in the `theme.admonition.*` keys of `i18n/<locale>/code.json` (the
79-
fallback for any block without an explicit title); the two must stay in sync. Canon: **capitalized
80-
first letter**, with each type distinct (no `caution`/`warning` duplicates).
63+
The Docusaurus theme renders the title with `text-transform: uppercase`, so for ru/de the visible
64+
title is always UPPERCASE, while ko/zh have no letter case. Canon: **capitalized first letter**, with
65+
words distinct between types (no `caution`/`warning` duplicates).
8166

8267
| Type | ru | de | ko | zh |
8368
|---|---|---|---|---|
84-
| `:::note` | `Примечание` | `Hinweis` | `참고` | `注意` |
85-
| `:::tip` | `Совет` | `Tipp` | `` | `提示` |
86-
| `:::info` | `Информация` | `Info` | `정보` | `信息` |
69+
| `:::note` | `Примечание` | `Hinweis` | `노트` | `备注` |
70+
| `:::tip` | `Подсказка` | `Tipp` | `` | `提示` |
71+
| `:::info` | `К сведению` | `Info` | `정보` | `信息` |
8772
| `:::warning` | `Предупреждение` | `Warnung` | `경고` | `警告` |
88-
| `:::caution` | `Осторожно` | `Vorsicht` | `주의` | `谨慎` |
89-
| `:::important` | `Важно` | `Wichtig` | `중요` | `重要` |
73+
| `:::caution` | `Осторожно` | `Vorsicht` | `주의` | `注意` |
9074
| `:::danger` | `Опасно` | `Gefahr` | `위험` | `危险` |
9175

92-
## 4. Do not translate
76+
## 5. Do not translate
9377

94-
Keep these terms in English (Latin script) across all locales.
78+
Keep these terms in English across all locales (verified: identical counts in ru/de/ko/zh).
9579

9680
**Product & modules:**
97-
- `RichText` — the widget/product name (e.g. "DHTMLX RichText"). *The generic concept* — rich text —
98-
may be localized; only the product/widget name stays `RichText`.
81+
9982
- `DHTMLX`, `dhx` (the `dhx.*` code namespace)
100-
- `Event Bus` — the module name. Keep the English spelling; German may hyphenate it inside a compound
101-
(`Event-Bus-Methoden`). Do not localize it (ru `шина событий`, zh `事件总线``Event Bus`).
83+
- `Sheet Manager`, `Event Bus`
10284

10385
**Frameworks & libraries:**
10486
- `React`, `Vue`, `Svelte`, `Angular`
105-
106-
**Runtime, languages & tooling:**
10787
- `Node.js`, `Vite`
88+
- `Redux`, `Redux Toolkit`
89+
90+
**Languages & tooling:**
10891
- `JavaScript`, `TypeScript`
10992
- `npm`, `yarn`, `CLI`
11093

11194
**Data formats:**
112-
- `JSON`
95+
- `Excel`, `XLSX`, `CSV`, `JSON`
11396

11497
**Services:**
11598
- `GitHub`, `CDN`
11699

117100
**Other:**
118-
- `API` — always the Latin `API`, never the Cyrillic transliteration `АПИ`.
101+
- `API`
119102
- Code identifiers (method / config / event names, `dhx.*`) inside backticks are never translated.
103+
104+
> Not in this list — these UI concepts **are** localized (keep English only for a literal UI label):
105+
> `Toolbar` (→ ru "панель инструментов"), `Menu` (→ "меню"), `Fill Handle` (→ "маркер заполнения"),
106+
> `context menu`.

i18n/de/docusaurus-plugin-content-docs/current/api/config/default-styles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ new richtext.Richtext("#root", {
137137
});
138138
~~~
139139

140-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 aktualisiert
140+
**Changelog:** Die Eigenschaft wurde in v2.0 aktualisiert
141141

142142
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
143143

i18n/de/docusaurus-plugin-content-docs/current/api/config/fullscreen-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ new richtext.Richtext("#root", {
3232
});
3333
~~~
3434

35-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt
35+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt
3636

3737
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
3838

i18n/de/docusaurus-plugin-content-docs/current/api/config/image-upload-url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ new richtext.Richtext("#root", {
4949
});
5050
~~~
5151

52-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt. Ab v2.1 ist die Eigenschaft optional: Wenn sie weggelassen wird, werden Bilder inline als Base64-Daten-URLs eingefügt.
52+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt. Ab v2.1 ist die Eigenschaft optional: Wenn sie weggelassen wird, werden Bilder inline als Base64-Daten-URLs eingefügt.
5353

5454
**Verwandte Artikel:** [Konfiguration](guides/configuration.md), [Arbeiten mit dem Server](guides/working_with_server.md)
5555

i18n/de/docusaurus-plugin-content-docs/current/api/config/layout-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ new richtext.Richtext("#root", {
3434
});
3535
~~~
3636

37-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 anstelle der entfernten Eigenschaft `mode` hinzugefügt
37+
**Changelog:** Die Eigenschaft wurde in v2.0 anstelle der entfernten Eigenschaft `mode` hinzugefügt
3838

3939
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
4040

i18n/de/docusaurus-plugin-content-docs/current/api/config/locale.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const editor = new richtext.RichText("#root", {
4040
});
4141
~~~
4242

43-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt
43+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt
4444

4545
**Verwandte Artikel:** [Lokalisierung](guides/localization.md)
4646

i18n/de/docusaurus-plugin-content-docs/current/api/config/menubar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ new richtext.Richtext("#root", {
2626
});
2727
~~~
2828

29-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt
29+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt
3030

3131
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
3232

i18n/de/docusaurus-plugin-content-docs/current/api/config/toolbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ new richtext.Richtext("#root", {
212212
});
213213
~~~
214214

215-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.0 hinzugefügt
215+
**Changelog:** Die Eigenschaft wurde in v2.0 hinzugefügt
216216

217217
**Verwandte Artikel:** [Konfiguration](guides/configuration.md)
218218

i18n/de/docusaurus-plugin-content-docs/current/api/config/trigger-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ new Richtext("#root", {
6363
});
6464
~~~
6565

66-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.1 hinzugefügt
66+
**Changelog:** Die Eigenschaft wurde in v2.1 hinzugefügt
6767

6868
**Verwandte Beispiele:**
6969

i18n/de/docusaurus-plugin-content-docs/current/api/config/triggers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ new richtext.Richtext("#root", {
236236
});
237237
~~~
238238

239-
**Änderungsprotokoll:** Die Eigenschaft wurde in v2.1 hinzugefügt
239+
**Changelog:** Die Eigenschaft wurde in v2.1 hinzugefügt
240240

241241
**Verwandte Beispiele:**
242242

0 commit comments

Comments
 (0)