This commit is contained in:
Бахирев 2024-05-05 12:49:12 +03:00
parent 7024b40e7e
commit fefc1e65b5
19 changed files with 33 additions and 8 deletions

View file

@ -247,3 +247,5 @@ Releases are planned approximately once every six months. Whats 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)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -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)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -223,3 +223,5 @@ Releases are planned approximately once every six months. Whats 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)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -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)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -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)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -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)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -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)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -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)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -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)
<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />

View file

@ -34,6 +34,10 @@ function getSreenshot() {
return '<a href="https://assayo.online/demo/?dump=./test.txt" target="_blank"><img src="https://assayo.online/seo/github/index.png" width="100%" /></a>\n';
}
function getYandexMetrika() {
return '\n<img src="https://mc.yandex.ru/watch/94903985" style="position:absolute; left:-9999px;" alt="" />\n';
}
function getTitle(language) {
return `# [Assayo](${SITE}?ref=github&lang=${language})`;
}
@ -42,5 +46,6 @@ module.exports = {
getLanguageLinks,
getSocialLinks,
getSreenshot,
getYandexMetrika,
getTitle,
};

View file

@ -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`)