Смерджить карточку «Поддержка» и текст о шифровании в голосовые сообщения

Объединены ветки ui/dm-voice и ui/support-card-ethereal для одного PR.
Конфликты: index.html — в список стилей вошли оба файла (dm-voice.css и
profile-support.css); VERSION.properties — client 1.21.8, server 1.17.6.
chat-view.js, словари ru/en, ui-icon.js и WALLET_SHINE_SUPPORT.md слились
автоматически.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pixel
2026-12-01 21:19:38 +03:00
co-authored by Claude Opus 5.5
13 changed files with 967 additions and 85 deletions
+7 -17
View File
@@ -1070,27 +1070,17 @@ function createDmEncryptionNotice() {
heading.textContent = `🔒 ${t('screens.chat_view.security_notice.title')}`;
notice.append(heading);
for (const text of [
t('screens.chat_view.security_notice.encryption'),
t('screens.chat_view.security_notice.servers'),
t('screens.chat_view.security_notice.derivation'),
t('screens.chat_view.security_notice.rotation'),
t('screens.chat_view.security_notice.source'),
for (const [label, text] of [
[t('screens.chat_view.security_notice.zero_knowledge_label'), t('screens.chat_view.security_notice.zero_knowledge')],
[t('screens.chat_view.security_notice.self_custody_label'), t('screens.chat_view.security_notice.self_custody')],
[t('screens.chat_view.security_notice.control_label'), t('screens.chat_view.security_notice.control')],
]) {
const paragraph = document.createElement('p');
paragraph.textContent = text;
const strong = document.createElement('strong');
strong.textContent = `${label} `;
paragraph.append(strong, document.createTextNode(text));
notice.append(paragraph);
}
const warning = document.createElement('p');
const warningLabel = document.createElement('strong');
warningLabel.textContent = `${t('screens.chat_view.security_notice.warning_label')} `;
warning.append(warningLabel, document.createTextNode(t('screens.chat_view.security_notice.warning')));
notice.append(warning);
const recovery = document.createElement('p');
recovery.textContent = t('screens.chat_view.security_notice.recovery');
notice.append(recovery);
return notice;
}