Skip to content

Commit 8fcc023

Browse files
committed
Redo Russian translations
1 parent 7cb114f commit 8fcc023

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

docusaurus.config.ru.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import math from "remark-math";
33
import katex from "rehype-katex";
44
import chHeader from "./plugins/header.js";
55
import fixLinks from "./src/hooks/fixLinks.js";
6+
const remarkCustomBlocks = require('./plugins/remark-custom-blocks');
67

78
// Helper function to skip over index.md files.
89
function skipIndex(items) {
@@ -128,7 +129,7 @@ const config = {
128129
showLastUpdateTime: false,
129130
sidebarCollapsed: true,
130131
routeBasePath: "/",
131-
remarkPlugins: [math],
132+
remarkPlugins: [math, remarkCustomBlocks],
132133
beforeDefaultRemarkPlugins: [fixLinks],
133134
rehypePlugins: [katex],
134135
},

i18n/ru/docusaurus-plugin-content-docs/current/integrations/data-ingestion/s3/index.md.translate_override

Whitespace-only changes.

scripts/translate/languages/ru.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
"replication": "репликация",
113113
"ReplacingMergeTree": "ReplacingMergeTree",
114114
"Role-Based Access Control": "контроль доступа на основе ролей",
115+
"routine": "процедура",
115116
"rollup tables": "сводные таблицы",
116117
"row": "строка",
117118
"row-level security": "безопасность на уровне строк",
@@ -143,7 +144,11 @@
143144
"virtual column": "виртуальная колонка",
144145
"window functions": "оконные функции",
145146
"writes": "записи",
146-
"ZooKeeper": "ZooKeeper"
147+
"ZooKeeper": "ZooKeeper",
148+
"Input/Output": "ввод-вывод",
149+
"Chunks": "фрагменты",
150+
"s3 bucket": "s3 корзина",
151+
"bucket": "корзина"
147152
},
148153
"prompt": "Translate the following ClickHouse documentation text from English to Russian. Ensure the following rules are followed:\n - This content may be part of a document, so maintain the original html tags and markdown formatting used in Docusaurus, including any headings, code blocks, lists, links, and inline formatting like bold or italic text. Code blocks should be preserved using ` and ```.\n - Ensure that no content, links, explicit heading ids (denoted by {{#my-explicit-id}}), or references are omitted or altered during translation, preserving the same amount of information as the original text.\n - Do not translate code, URLs, or any links within markdown. Mark down links must be preserved and never modified. Urls in text should be surrounded by white space and never have adjacent Russian characters.\n - Ensure the markdown is MDX 3 compatible - escaping < and > with &lt; and &gt; and avoiding the creation of unclosed xml tags.\n - Do not add new code delimiters which are not present in the original content e.g. '```html', even if the content appears to contain this type.\n - Do not translate terms which indicate setting names. These are denoted by lower case and underscore e.g. live_view_heartbeat_interval.\n - Never translate terms which are in all caps (this also applies to fields in the YAML frontmatter). These can be SQL statements so we don't want to translate them. For example do not translate SET ROLE as УСТАНОВИТЬ РОЛЬ, CREATE ROLE as СОЗДАТЬ РОЛЬ or RENAME as ПЕРЕИМЕНОВАТЬ etc.\n - Translate the title (if appropriate), sidebar_label (if appropriate), keywords (list of single quoted strings) and description in yaml metadata blocks if they exist. Ensure these are wrapped in single quotes. Make sure not to add YAML frontmatter if it doesn't exist, and do not ever add entries to the frontmatter.\n - This translation is intended for users familiar with ClickHouse, databases, and IT terminology, so use technically accurate and context-appropriate language. Keep the translation precise and professional, reflecting the technical nature of the content.\n - Strive to convey the original meaning clearly, adapting phrases where necessary to maintain natural and fluent Russian.\n - Use letter ё rather than е where appropriate. For example, it should be лёгкий instead of легкий \n - Do not hallucinate ``` on the last line of translated content.\n- don't translate 'map' as 'карта' when the context is as a function."
149154
}

0 commit comments

Comments
 (0)