feat(web): rewrite site copy in plain language and split i18n dictionaries

Move RU/EN strings to src/i18n/{ru,en}.ts, add og/meta tags that follow the
selected language, remove the long dash from all text, add copy guidelines and
tests for key parity, HTML fallback text and dash-free sources and bundle.
This commit is contained in:
Loki 2026-10-24 16:55:05 +02:00
parent 0d80ca9433
commit d3a6dd316b
Signed by: boba
GPG key ID: 253067914055423B
11 changed files with 397 additions and 295 deletions

View file

@ -6,9 +6,22 @@
<meta name="theme-color" content="#19191b" />
<meta
name="description"
content="VNOX — голос и чат для своих сообществ. Нативный клиент, собственный сервер и открытый код."
content="Голосовой и текстовый чат, который вы запускаете сами. Клиент на Rust, каналы, личные сообщения, друзья, роли и шифрованный голос по UDP. Открытый код, GPLv3."
/>
<title>VNOX — Своя связь</title>
<meta property="og:type" content="website" />
<meta property="og:site_name" content="VNOX" />
<meta property="og:locale" content="ru_RU" />
<meta property="og:locale:alternate" content="en_US" />
<meta
property="og:title"
content="VNOX: голосовой и текстовый чат на своём сервере"
/>
<meta
property="og:description"
content="Голосовой и текстовый чат, который вы запускаете сами. Клиент на Rust, каналы, личные сообщения, друзья, роли и шифрованный голос по UDP. Открытый код, GPLv3."
/>
<meta name="twitter:card" content="summary" />
<title>VNOX: голосовой и текстовый чат на своём сервере</title>
<link rel="icon" type="image/svg+xml" href="/assets/vnox-mark.svg" />
<link rel="stylesheet" href="/src/styles.css" />
<script type="module" src="/src/app.js"></script>
@ -49,9 +62,7 @@
>VNOX</span
></a
>
<p data-i18n="footer">
Сделано для разговоров, которые хочется продолжать.
</p>
<p data-i18n="footer">Клиент и сервер написаны на Rust.</p>
<a
href="https://www.gnu.org/licenses/gpl-3.0.html"
target="_blank"