Skip to content
Merged

Next #41

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/config/booking-cardshape.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The snippet below demonstrates how to configure what fields to display on the le
You can also configure the appearance of a card using the [`cardTemplate`](api/config/booking-cardtemplate.md) property. If both `cardTemplate` and `cardShape` are applied, `cardTemplate` will override the `cardShape` settings.
:::

**Related articles**:
**Related articles:**

- [Defining the structure of cards](guides/configuration.md#define-the-structure-of-cards)
- [`cardTemplate`](api/config/booking-cardtemplate.md)
2 changes: 1 addition & 1 deletion docs/api/config/booking-cardtemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ The snippet below demonstrates how to apply a template to the left block of a ca

<iframe src="https://snippet.dhtmlx.com/k2v01vng?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

**Related articles**:
**Related articles:**

- [Defining the structure of cards](guides/configuration.md#define-the-structure-of-cards)
- [`cardShape`](api/config/booking-cardshape.md)
2 changes: 1 addition & 1 deletion docs/api/config/booking-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ new booking.Booking("#root", {
});
~~~

**Related articles**: [Defining slot rules](guides/configuration.md#define-slot-rules)
**Related article:** [Defining slot rules](guides/configuration.md#define-slot-rules)
2 changes: 1 addition & 1 deletion docs/api/config/booking-infoshape.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The snippet below shows how to configure what to display on the left side of the
You can also control which fields to display in the information block of the Booking dialog using the [`infoTemplate`](api/config/booking-infotemplate.md) property. But if both properties are applied, `infoTemplate` will override the `infoShape` settings.
:::

**Related articles**:
**Related articles:**

- [Configuring the Booking dialog](guides/configuration.md#configure-the-booking-dialog)
- [`infoTemplate`](api/config/booking-infotemplate.md)
2 changes: 1 addition & 1 deletion docs/api/config/booking-infotemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ The snippet below shows how to apply a template to the information block of the
You can also control which fields to display in the information block of the Booking dialog using the [`infoShape`](api/config/booking-infoshape.md) property. But if both properties are applied, `infoTemplate` will override the `infoShape` settings.
:::

**Related articles**:
**Related articles:**

- [Configuring the Booking dialog](guides/configuration.md#configure-the-booking-dialog)
- [`infoShape`](api/config/booking-infoshape.md)
2 changes: 1 addition & 1 deletion docs/api/config/booking-locale.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ const widget = new booking.Booking("#root", {
});
~~~

**Related articles**:
**Related articles:**
- [setLocale()](api/methods/booking-setlocale-method.md)
- [Localization](guides/localization.md)
2 changes: 1 addition & 1 deletion docs/api/events/booking-confirmslot-event.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ widget.api.on("confirm-slot", (obj) => {
});
~~~

**Related articles**: [`setConfirmHandler`](api/methods/booking-setconfirmhandler-method.md) method
**Related article:** [`setConfirmHandler`](api/methods/booking-setconfirmhandler-method.md) method
2 changes: 1 addition & 1 deletion docs/api/internal/booking-setnext.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ fetch(server + "/data").then((res) => res.json()).then((data) => {
widget.api.setNext(someServerService);
~~~

**Related articles**: [Loading data](guides/loading-data.md)
**Related article:** [Loading data](guides/loading-data.md)
2 changes: 1 addition & 1 deletion docs/api/methods/booking-setconfirmhandler-method.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ widget.setConfirmHandler((ev) => {

<iframe src="https://snippet.dhtmlx.com/dpbmyr8j?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

**Related articles**: [Saving reservations to the server](guides/saving-reservations.md)
**Related article:** [Saving reservations to the server](guides/saving-reservations.md)
2 changes: 1 addition & 1 deletion docs/api/methods/booking-setlocale-method.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ widget.setLocale(booking.locales.de);
widget.setLocale(); // or setLocale(null);
~~~

**Related articles**:
**Related articles:**
- [locale](api/config/booking-locale.md)
- [Localization](guides/localization.md)
2 changes: 1 addition & 1 deletion docs/guides/loading-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ For server-side persistence of bookings, see the [Saving reservations to the ser

---

**Related articles**:
**Related articles:**

- [`confirm-slot`](api/events/booking-confirmslot-event.md) — handle slot booking confirmation
- [`setConfig()`](api/methods/booking-setconfig-method.md) — update the widget configuration after initialization
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ The snippet below switches between the `en` and `de` locales:

<iframe src="https://snippet.dhtmlx.com/7khy4ayf?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

**Related articles**:
**Related articles:**

- [`locale`](api/config/booking-locale.md) — set the active locale at initialization
- [`setLocale()`](api/methods/booking-setlocale-method.md) — change or reset the active locale at runtime
2 changes: 1 addition & 1 deletion docs/guides/saving-reservations.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ The snippet below demonstrates a full server-side booking flow:

<iframe src="https://snippet.dhtmlx.com/dpbmyr8j?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

**Related articles**:
**Related articles:**

- [`confirm-slot`](api/events/booking-confirmslot-event.md) — event fired when a user confirms a slot
- [`setConfig()`](api/methods/booking-setconfig-method.md) — update the widget configuration with fetched data
Expand Down
109 changes: 109 additions & 0 deletions i18n/GLOSSARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Translation Glossary — All documentation template phrases

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

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

---

## 1. Section labels (bold lead before a list)

| EN | ru | de | ko | zh |
|---|---|---|---|---|
| `**Related articles:**` | `**Полезные статьи:**` | `**Verwandte Artikel:**` | `**관련 문서:**` | `**相关文章:**` |
| `**Related article:**` | `**Полезная статья:**` | `**Verwandter Artikel:**` | `**관련 문서:**` | `**相关文章:**` |
| `**Related sample:**` | `**Связанный пример:**` | `**Verwandtes Beispiel:**` | `**관련 샘플:**` | `**相关示例:**` |
| `**Related samples:**` | `**Связанные примеры:**` | `**Verwandte Beispiele:**` | `**관련 예제:**` | `**相关示例:**` |
| `**Related API:**` | `**Похожее API:**` | `**Verwandte API:**` | `**관련 API:**` | `**相关 API:**` |
| `**Change log:**` | `**Журнал изменений:**` | `**Changelog:**` | `**변경 로그:**` | `**更新日志:**` |
| `**Example:**` | `**Пример:**` | `**Beispiel:**` | `**예제:**` | `**示例:**` |
| `**Example on GitHub**` | `**Пример на GitHub**` | `**Beispiel auf GitHub**` | `**GitHub 예제**` | `**GitHub 示例**` |

## 2. Section headings (API-page template)

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

## 3. Version notes (inside `**Change log:**`)

Format `<Action> in vX.X` — the "action" word is translated, the version number stays as is.

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

| EN | ru | de | ko | zh |
|---|---|---|---|---|
| `Added in vX.X` | `Добавлено в vX.X` | `Hinzugefügt in vX.X` | `vX.X에서 추가` | `vX.X 中新增` |
| `Updated in vX.X` | `Обновлено в vX.X` | `Aktualisiert in vX.X` | `vX.X에서 업데이트` | `vX.X 中更新` |
| `Deprecated in vX.X` | `Устарело в vX.X` | `Veraltet in vX.X` | `vX.X에서 지원 중단` | `vX.X 中弃用` |
| `Removed in vX.X` | `Удалено в vX.X` | `Entfernt in vX.X` | `vX.X에서 제거` | `vX.X 中移除` |
| `Starting from vX.X, …` | `Начиная с vX.X, …` | `Ab vX.X …` | `vX.X부터 …` | `从 vX.X 起,…` |

## 4. Admonition block titles (`:::note`, `:::tip` …)

The titles of these blocks come **not from markdown**, but from the `theme.admonition.*` keys in
`i18n/<locale>/code.json` (in EN — Docusaurus built-in defaults). In `.md` the block type (`:::note`,
`:::tip`, …) is not translated — only the `message` in `code.json` changes.

The Docusaurus theme renders the title with `text-transform: uppercase`, so for ru/de the visible
title is always UPPERCASE, while ko/zh have no letter case. Canon: **capitalized first letter**, with
words distinct between types (no `caution`/`warning` duplicates).

| Type | ru | de | ko | zh |
|---|---|---|---|---|
| `:::note` | `Примечание` | `Hinweis` | `노트` | `备注` |
| `:::tip` | `Подсказка` | `Tipp` | `팁` | `提示` |
| `:::info` | `К сведению` | `Info` | `정보` | `信息` |
| `:::warning` | `Предупреждение` | `Warnung` | `경고` | `警告` |
| `:::caution` | `Осторожно` | `Vorsicht` | `주의` | `注意` |
| `:::danger` | `Опасно` | `Gefahr` | `위험` | `危险` |

## 5. Do not translate

Keep these terms in English across all locales.

**Product & modules:**
- `Booking` — the widget/product name (e.g. "DHTMLX Booking"). *The generic concept* — the act of
booking/reserving — may be localized (ru `бронирование`, ko `예약`, zh `预约`); only the product name
stays `Booking`.
- `DHTMLX`, `dhx` (the `dhx.*` code namespace)
- `Event Bus` — the module name. Keep the English spelling; German may hyphenate it inside a compound
(`Event-Bus-Methoden`).
- `Scheduler`, `Event Calendar` — related DHTMLX products referenced by the integration guides; keep
the English names (`DHTMLX Scheduler`, `DHTMLX Event Calendar`).

**Frameworks & libraries:**
- `React`, `Vue`, `Svelte`, `Angular`

**Runtime, languages & tooling:**
- `Node.js`, `Vite`
- `JavaScript`, `TypeScript`
- `npm`, `yarn`, `CLI`

**Data formats:**
- `JSON`

**Services:**
- `GitHub`, `CDN`

**Other:**
- `API` — always the Latin `API`, never the Cyrillic transliteration `АПИ`.
- Code identifiers (method / config / event names, `dhx.*`) inside backticks are never translated.

> Not in this list — the generic act of *booking / reserving* **is** localized (ru `бронирование`,
> ko `예약`, zh `预约`); only the product name `Booking` and the `dhx.*` code identifiers stay English.
10 changes: 5 additions & 5 deletions i18n/de/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,27 +139,27 @@
"description": "The label alongside a tag list"
},
"theme.admonition.caution": {
"message": "vorsicht",
"message": "Vorsicht",
"description": "The default label used for the Caution admonition (:::caution)"
},
"theme.admonition.danger": {
"message": "gefahr",
"message": "Gefahr",
"description": "The default label used for the Danger admonition (:::danger)"
},
"theme.admonition.info": {
"message": "Info",
"description": "The default label used for the Info admonition (:::info)"
},
"theme.admonition.note": {
"message": "hinweis",
"message": "Hinweis",
"description": "The default label used for the Note admonition (:::note)"
},
"theme.admonition.tip": {
"message": "tipp",
"message": "Tipp",
"description": "The default label used for the Tip admonition (:::tip)"
},
"theme.admonition.warning": {
"message": "warnung",
"message": "Warnung",
"description": "The default label used for the Warning admonition (:::warning)"
},
"theme.AnnouncementBar.closeButtonAriaLabel": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Das folgende Snippet zeigt, wie Sie konfigurieren, welche Felder auf der linken
Sie können das Erscheinungsbild einer Karte auch mithilfe der Eigenschaft [`cardTemplate`](api/config/booking-cardtemplate.md) konfigurieren. Wenn sowohl `cardTemplate` als auch `cardShape` angewendet werden, überschreibt `cardTemplate` die `cardShape`-Einstellungen.
:::

**Verwandte Artikel**:
**Verwandte Artikel:**

- [Struktur der Karten definieren](guides/configuration.md#define-the-structure-of-cards)
- [`cardTemplate`](api/config/booking-cardtemplate.md)
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Das folgende Snippet zeigt, wie eine Vorlage auf den linken Block einer Karte an

<iframe src="https://snippet.dhtmlx.com/k2v01vng?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

**Verwandte Artikel**:
**Verwandte Artikel:**

- [Struktur der Karten definieren](guides/configuration.md#define-the-structure-of-cards)
- [`cardShape`](api/config/booking-cardshape.md)
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ new booking.Booking("#root", {
});
~~~

**Verwandte Artikel**: [Slot-Regeln definieren](guides/configuration.md#define-slot-rules)
**Verwandter Artikel:** [Slot-Regeln definieren](guides/configuration.md#define-slot-rules)
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Der folgende Ausschnitt zeigt, wie Sie konfigurieren, was auf der linken Seite d
Sie können auch steuern, welche Felder im Informationsblock des Booking-Dialogs angezeigt werden, indem Sie die Eigenschaft [`infoTemplate`](api/config/booking-infotemplate.md) verwenden. Wenn jedoch beide Eigenschaften angewendet werden, überschreibt `infoTemplate` die `infoShape`-Einstellungen.
:::

**Verwandte Artikel**:
**Verwandte Artikel:**

- [Den Booking-Dialog konfigurieren](guides/configuration.md#configure-the-booking-dialog)
- [`infoTemplate`](api/config/booking-infotemplate.md)
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Das folgende Snippet zeigt, wie Sie eine Vorlage auf den Informationsblock des B
Sie können auch steuern, welche Felder im Informationsblock des Booking-Dialogs angezeigt werden, indem Sie die Eigenschaft [`infoShape`](api/config/booking-infoshape.md) verwenden. Wenn jedoch beide Eigenschaften angewendet werden, überschreibt `infoTemplate` die `infoShape`-Einstellungen.
:::

**Verwandte Artikel**:
**Verwandte Artikel:**

- [Den Booking-Dialog konfigurieren](guides/configuration.md#configure-the-booking-dialog)
- [`infoShape`](api/config/booking-infoshape.md)
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ const widget = new booking.Booking("#root", {
});
~~~

**Verwandte Artikel**:
**Verwandte Artikel:**
- [setLocale()](api/methods/booking-setlocale-method.md)
- [Lokalisierung](guides/localization.md)
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ widget.api.on("confirm-slot", (obj) => {
});
~~~

**Verwandte Artikel**: [`setConfirmHandler`](api/methods/booking-setconfirmhandler-method.md)-Methode
**Verwandter Artikel:** [`setConfirmHandler`](api/methods/booking-setconfirmhandler-method.md)-Methode
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ fetch(server + "/data").then((res) => res.json()).then((data) => {
widget.api.setNext(someServerService);
~~~

**Verwandte Artikel**: [Daten laden](guides/loading-data.md)
**Verwandter Artikel:** [Daten laden](guides/loading-data.md)
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ widget.setConfirmHandler((ev) => {

<iframe src="https://snippet.dhtmlx.com/dpbmyr8j?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

**Verwandte Artikel**: [Reservierungen auf dem Server speichern](guides/saving-reservations.md)
**Verwandter Artikel:** [Reservierungen auf dem Server speichern](guides/saving-reservations.md)
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ widget.setLocale(booking.locales.de);
widget.setLocale(); // oder setLocale(null);
~~~

**Verwandte Artikel**:
**Verwandte Artikel:**
- [locale](api/config/booking-locale.md)
- [Lokalisierung](guides/localization.md)
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Informationen zur serverseitigen Speicherung von Buchungen finden Sie im Leitfad

---

**Verwandte Artikel**:
**Verwandte Artikel:**

- [`confirm-slot`](api/events/booking-confirmslot-event.md) — Slot-Buchungsbestätigung behandeln
- [`setConfig()`](api/methods/booking-setconfig-method.md) — Widget-Konfiguration nach der Initialisierung aktualisieren
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ Der folgende Ausschnitt wechselt zwischen der `en`- und der `de`-Locale:

<iframe src="https://snippet.dhtmlx.com/7khy4ayf?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

**Verwandte Artikel**:
**Verwandte Artikel:**

- [`locale`](api/config/booking-locale.md) — aktive Locale bei der Initialisierung festlegen
- [`setLocale()`](api/methods/booking-setlocale-method.md) — aktive Locale zur Laufzeit ändern oder zurücksetzen
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Das folgende Snippet zeigt einen vollständigen serverseitigen Buchungsablauf:

<iframe src="https://snippet.dhtmlx.com/dpbmyr8j?mode=result" frameborder="0" class="snippet_iframe" width="100%" height="600"></iframe>

**Verwandte Artikel**:
**Verwandte Artikel:**

- [`confirm-slot`](api/events/booking-confirmslot-event.md) — Ereignis, das ausgelöst wird, wenn ein Benutzer einen Slot bestätigt
- [`setConfig()`](api/methods/booking-setconfig-method.md) — Widget-Konfiguration mit abgerufenen Daten aktualisieren
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ new booking.Booking("#root", {
});
~~~

## Wie geht es weiter? {#whats-next}
## Wie geht es weiter {#whats-next}

Das ist alles, was Sie benötigen, um ein einfaches Booking auf einer Seite zu erstellen. Erkunden Sie nun die Booking-API:

Expand Down
2 changes: 1 addition & 1 deletion i18n/de/docusaurus-plugin-content-docs/current/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ Sie können einen Termin auch über die Einzelkartenansicht vereinbaren:

![Ausgefülltes Buchungsformular im DHTMLX Booking-Dialog](/img/booking-2.png)

## Wie geht es weiter? {#whats-next}
## Wie geht es weiter {#whats-next}

Jetzt können Sie [mit der Erstellung eines einfachen Booking-Widgets auf Ihrer Seite beginnen](how-to-start.md).
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ cardShape?: {
};
~~~

### Parameters {#parameters}
### 매개변수 {#parameters}

`cardShape` 객체에서 다음 parameters(필드)를 지정할 수 있습니다:

Expand Down Expand Up @@ -73,7 +73,7 @@ new booking.Booking("#root", {
[`cardTemplate`](api/config/booking-cardtemplate.md) 속성을 사용하여 카드의 외관을 구성할 수도 있습니다. `cardTemplate`과 `cardShape`이 모두 적용된 경우, `cardTemplate`이 `cardShape` 설정을 재정의합니다.
:::

**관련 문서**:
**관련 문서:**

- [카드 구조 정의하기](guides/configuration.md#define-the-structure-of-cards)
- [`cardTemplate`](api/config/booking-cardtemplate.md)
Loading
Loading