From fefc1e65b56980f08755ecb8e9cd3e3b797c30ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=B0=D1=85=D0=B8=D1=80=D0=B5=D0=B2?= Date: Sun, 5 May 2024 12:49:12 +0300 Subject: [PATCH] update --- README.md | 2 ++ documents/DE.md | 2 ++ documents/EN.md | 2 ++ documents/ES.md | 2 ++ documents/FR.md | 2 ++ documents/JA.md | 2 ++ documents/PT.md | 2 ++ documents/RU.md | 2 ++ documents/ZH.md | 2 ++ documents/src/json/de.json | 2 +- documents/src/json/en.json | 2 +- documents/src/json/es.json | 2 +- documents/src/json/fr.json | 2 +- documents/src/json/ja.json | 2 +- documents/src/json/pt.json | 2 +- documents/src/json/ru.json | 2 +- documents/src/json/zh.json | 2 +- documents/src/lib/JsonToMd/custom.js | 5 +++++ documents/src/lib/JsonToMd/getMarkdownFromJson.js | 2 ++ 19 files changed, 33 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7e0f986..b9a9da7 100644 --- a/README.md +++ b/README.md @@ -247,3 +247,5 @@ Releases are planned approximately once every six months. What’s next: - telegramm [@bakhirev](https://t.me/bakhirev) (priority method of communication) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - website [https://assayo.online/](https://assayo.online/?ref=github) + + diff --git a/documents/DE.md b/documents/DE.md index 1557b3e..5483d3d 100644 --- a/documents/DE.md +++ b/documents/DE.md @@ -215,3 +215,5 @@ Sie können eine neue übersetzung hinzufügen oder die aktuelle im abschnitt ko - telegramm [@bakhirev](https://t.me/bakhirev) (vorrangiger kommunikationsweg) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - web site [https://assayo.online/](https://assayo.online/?ref=github&lang=de) + + diff --git a/documents/EN.md b/documents/EN.md index 15ff2c2..3b2a3b1 100644 --- a/documents/EN.md +++ b/documents/EN.md @@ -223,3 +223,5 @@ Releases are planned approximately once every six months. What’s next: - telegramm [@bakhirev](https://t.me/bakhirev) (priority method of communication) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - website [https://assayo.online/](https://assayo.online/?ref=github&lang=en) + + diff --git a/documents/ES.md b/documents/ES.md index 8d5016e..63f540c 100644 --- a/documents/ES.md +++ b/documents/ES.md @@ -223,3 +223,5 @@ Puede agregar una nueva traducción o corregir la actual en la sección ```ts/tr - telegramm [@bakhirev](https://t.me/bakhirev) (La forma preferencial de contacto) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - sitio web [https://assayo.online/](https://assayo.online/?ref=github&lang=es) + + diff --git a/documents/FR.md b/documents/FR.md index f368e2b..c8af160 100644 --- a/documents/FR.md +++ b/documents/FR.md @@ -220,3 +220,5 @@ Vous pouvez ajouter une nouvelle traduction ou corriger la traduction existante - telegramm [@bakhirev](https://t.me/bakhirev) (voie de communication prioritaire) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - site [https://assayo.online/](https://assayo.online/?ref=github&lang=fr) + + diff --git a/documents/JA.md b/documents/JA.md index 15851a7..5b223b3 100644 --- a/documents/JA.md +++ b/documents/JA.md @@ -216,3 +216,5 @@ you_url - gitのログのコンテナーのURLアドレス; - telegramm [@bakhirev](https://t.me/bakhirev) (優先通信方式) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - ウェブサイト [https://assayo.online/](https://assayo.online/?ref=github&lang=ja) + + diff --git a/documents/PT.md b/documents/PT.md index 4988ab7..927dc67 100644 --- a/documents/PT.md +++ b/documents/PT.md @@ -216,3 +216,5 @@ Você pode adicionar uma nova tradução ou corrigir uma existente na seção `` - telegramm [@bakhirev](https://t.me/bakhirev) (método de comunicação prioritário) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - site [https://assayo.online/](https://assayo.online/?ref=github&lang=pt) + + diff --git a/documents/RU.md b/documents/RU.md index 39f1edc..4ab4622 100644 --- a/documents/RU.md +++ b/documents/RU.md @@ -221,3 +221,5 @@ you_url - URL адресс вашего контейнера с логами - telegramm [@bakhirev](https://t.me/bakhirev) (приоритетный способ связи) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - сайт [https://assayo.online/](https://assayo.online/?ref=github&lang=ru) + + diff --git a/documents/ZH.md b/documents/ZH.md index b9f517a..3706579 100644 --- a/documents/ZH.md +++ b/documents/ZH.md @@ -213,3 +213,5 @@ you_url - git日志的容器的URL地址; - telegramm [@bakhirev](https://t.me/bakhirev) (优先通信方法) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) - 网站 [https://assayo.online/](https://assayo.online/?ref=github&lang=zh) + + diff --git a/documents/src/json/de.json b/documents/src/json/de.json index b8a7971..97dbe63 100644 --- a/documents/src/json/de.json +++ b/documents/src/json/de.json @@ -337,4 +337,4 @@ "web site [https://assayo.online/](https://assayo.online/?ref=github&lang=de)" ] } -] +] \ No newline at end of file diff --git a/documents/src/json/en.json b/documents/src/json/en.json index 0228179..d7be0f4 100644 --- a/documents/src/json/en.json +++ b/documents/src/json/en.json @@ -351,4 +351,4 @@ "website [https://assayo.online/](https://assayo.online/?ref=github&lang=en)" ] } -] +] \ No newline at end of file diff --git a/documents/src/json/es.json b/documents/src/json/es.json index f14a09e..97e65c7 100644 --- a/documents/src/json/es.json +++ b/documents/src/json/es.json @@ -351,4 +351,4 @@ "sitio web [https://assayo.online/](https://assayo.online/?ref=github&lang=es)" ] } -] +] \ No newline at end of file diff --git a/documents/src/json/fr.json b/documents/src/json/fr.json index de08c99..fec84a7 100644 --- a/documents/src/json/fr.json +++ b/documents/src/json/fr.json @@ -342,4 +342,4 @@ "site [https://assayo.online/](https://assayo.online/?ref=github&lang=fr)" ] } -] +] \ No newline at end of file diff --git a/documents/src/json/ja.json b/documents/src/json/ja.json index ca79f4e..aff9d88 100644 --- a/documents/src/json/ja.json +++ b/documents/src/json/ja.json @@ -340,4 +340,4 @@ "ウェブサイト [https://assayo.online/](https://assayo.online/?ref=github&lang=ja)" ] } -] +] \ No newline at end of file diff --git a/documents/src/json/pt.json b/documents/src/json/pt.json index 542081e..f470b5f 100644 --- a/documents/src/json/pt.json +++ b/documents/src/json/pt.json @@ -340,4 +340,4 @@ "site [https://assayo.online/](https://assayo.online/?ref=github&lang=pt)" ] } -] +] \ No newline at end of file diff --git a/documents/src/json/ru.json b/documents/src/json/ru.json index cf9b57f..bd6f5f0 100644 --- a/documents/src/json/ru.json +++ b/documents/src/json/ru.json @@ -345,4 +345,4 @@ "сайт [https://assayo.online/](https://assayo.online/?ref=github&lang=ru)" ] } -] +] \ No newline at end of file diff --git a/documents/src/json/zh.json b/documents/src/json/zh.json index f86cb39..c551515 100644 --- a/documents/src/json/zh.json +++ b/documents/src/json/zh.json @@ -337,4 +337,4 @@ "网站 [https://assayo.online/](https://assayo.online/?ref=github&lang=zh)" ] } -] +] \ No newline at end of file diff --git a/documents/src/lib/JsonToMd/custom.js b/documents/src/lib/JsonToMd/custom.js index 6d106e0..166c0f0 100644 --- a/documents/src/lib/JsonToMd/custom.js +++ b/documents/src/lib/JsonToMd/custom.js @@ -34,6 +34,10 @@ function getSreenshot() { return '\n'; } +function getYandexMetrika() { + return '\n\n'; +} + function getTitle(language) { return `# [Assayo](${SITE}?ref=github&lang=${language})`; } @@ -42,5 +46,6 @@ module.exports = { getLanguageLinks, getSocialLinks, getSreenshot, + getYandexMetrika, getTitle, }; diff --git a/documents/src/lib/JsonToMd/getMarkdownFromJson.js b/documents/src/lib/JsonToMd/getMarkdownFromJson.js index 3604c81..64805db 100644 --- a/documents/src/lib/JsonToMd/getMarkdownFromJson.js +++ b/documents/src/lib/JsonToMd/getMarkdownFromJson.js @@ -46,7 +46,9 @@ function getMarkdownFromJson(json, languages, language) { else if (tag.li) tableOfContent.addTitle(5, tag.h5, markdown); }); + markdown.push(custom.getYandexMetrika()); markdown = tableOfContent.getMarkdownWithTable(markdown); + markdownText = markdown .join('\n') .replace('demo/?dump=./test.txt', `demo/?ref=github&lang=${language}&dump=./test.txt`)