l10n: add en, de, ja and fr
Docker Build and Push / build-and-push (push) Successful in 3m16s

This commit is contained in:
2025-08-18 14:15:53 +03:00
parent 3a5e991870
commit 96a3ca543b
15 changed files with 219 additions and 17 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<footer>
<div>codrs.ru &#169; 2025</div>
<div><a href="https://g.codrs.ru/Sweetbread/codrs.ru">Исходники сайта</a></div>
<div>Для связи: <a href="mailto:admin@codrs.ru">admin@codrs.ru</a></div>
<div><a href="https://g.codrs.ru/Sweetbread/codrs.ru">{{ _('site source') }}</a></div>
<div>{{ _('contact us') }}: <a href="mailto:admin@codrs.ru">admin@codrs.ru</a></div>
</footer>
+2 -2
View File
@@ -1,8 +1,8 @@
<header>
<div class="header-links">
{%- for (l, t) in (
('us', 'О нас'),
('host', 'О хосте')
('us', _('about us')),
('host', _('about host'))
) %}
{%- if url_for(l) == request.path %}
<strong>{{ t }}</strong>
+4 -4
View File
@@ -1,15 +1,15 @@
{% extends 'base.tmpl' %}
{% block title %}О хосте{% endblock %}
{% block title %}{{ _('about host') }}{% endblock %}
{% block content %}
<a href="https://play2go.cloud/" target="_blank" class="block">
<strong>Хостер</strong>: play2go
<p>Неплохой, недорогой. В прошлом были проблемы с сетью</p>
<strong>{{ _("host:hoster") }}</strong>: play2go
<p>{{ _('host:hoster_descr') }}</p>
</a>
<div class="block">
<strong>Характеристики</strong>:
<strong>{{ _("host:specifications") }}</strong>:
<ul>
<li>CPU: Ryzen i9</li>
<li>RAM: 16 GiB</li>
+12 -6
View File
@@ -11,20 +11,20 @@
<img src="/static/icon/service/sharkey.webp" class="icon"/>
<strong>Sharkey</strong>
</div>
<p>Федеративная микроблогинговая система поверх протокола ActivityPub</p>
<p>{{ _('index.descr:sharkey') }}</p>
</a>
<a href="https://g.codrs.ru" target="_blank" class="block">
<div class="header">
<img src="/static/icon/service/gitea.webp" class="icon"/>
<strong>Gitea</strong>
</div>
<p>Selfhosted хранилище git-репозиториев со свободным исходным кодом</p>
<p>{{ _('index.descr:gitea') }}</p>
</a>
<div class="block">
<p><a href="https://m.codrs.ru" target="_blank"><strong>Matrix</strong></a> &mdash; федеративный мессанджер</p>
<p><a href="https://c.codrs.ru" target="_blank"><strong>Copyparty</strong></a> &mdash; облачное хранилище файлов</p>
<p><a href="https://s.codrs.ru" target="_blank"><strong>4get</strong></a> &mdash; прокси-поисковик</p>
<p><a href="https://m.codrs.ru" target="_blank"><strong>Matrix</strong></a> &mdash; {{ _('index.descr:matrix') }}</p>
<p><a href="https://c.codrs.ru" target="_blank"><strong>Copyparty</strong></a> &mdash; {{ _('index.descr:copyparty') }}</p>
<p><a href="https://s.codrs.ru" target="_blank"><strong>4get</strong></a> &mdash; {{ _('index.descr:4get') }}</p>
</div>
<div class="block">
@@ -43,6 +43,12 @@
</div>
<div class="block">
Ещё у нас есть <a href="https://bug.codrs.ru" target="_blank"><strong>GlitchTip</strong></a> и <a href="https://dav.codrs.ru" target="_blank"><strong>Baikal</strong></a> для участников нашей группы!
{{
_('index:bottom_text',
glitchtip='<a href="https://bug.codrs.ru" target="_blank"><strong>GlitchTip</strong></a>',
baikal='<a href="https://dav.codrs.ru" target="_blank"><strong>Baikal</strong></a>',
freshrss='<a href="https://rss.codrs.ru" target="_blank"><strong>FreshRSS</strong></a>',
) | safe
}}
</div>
{% endblock %}