brendmanager/openspec/changes/brm-36-labels-on-load/tasks.md
2026-11-16 12:35:03 +05:00

14 lines
797 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 1. Подстановка текстов на сервере
- [x] 1.1 `pageHtml(name, lang)` в `src/site.js`: тексты по `data-t`, `placeholder` по `data-ph`, `title` по `data-tip`, `lang` у `<html>`
- [x] 1.2 `src/server.js`: отдавать plan/opportunities/summary/market через `pageHtml`, язык из `?lang=` и заголовков
## 2. Страницы
- [x] 2.1 Заголовок вкладки и заголовок формы через `data-t`; дни недели сводки — в разметке
## 3. Проверка
- [x] 3.1 Тесты по сценариям в `test/page-clarity.test.js`
- [x] 3.2 Открыть три страницы, сверить видимые тексты со словарём; lint и тесты зелёные