Skip to content

chore: shorten the guide attribution to the credit line - #12

Merged
ialakey merged 1 commit into
masterfrom
chore/shorten-content-attribution
Sep 8, 2026
Merged

chore: shorten the guide attribution to the credit line#12
ialakey merged 1 commit into
masterfrom
chore/shorten-content-attribution

Conversation

@ialakey

@ialakey ialakey commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Что

Атрибуция контента гайда теперь показывается одной строкой — без оговорки про разрешение автора.

Локаль Было Стало
ru Контент гайда подготовлен командой srb.guide и используется с разрешения автора. Контент гайда подготовлен командой srb.guide
en Guide content is written by the srb.guide team and used with the author's permission. Guide content is prepared by the srb.guide team

Точка в конце убрана: после домена «srb.guide.» читается двусмысленно.

Почему

Оговорка про разрешение уже зафиксирована в NOTICE, README.md и SETUP.md — там она несёт юридический смысл. На экране она только удлиняла подпись, поэтому в UI оставлен сам кредит. Лицензионные тексты не тронуты.

Область изменений

Ключ content_source_note используется ровно в двух местах:

  • lib/screens/home.dart_AttributionNote, под блоком «Разделы»
  • lib/screens/author.dart — низ экрана «Автор»

Строки грузятся из .arb как asset через rootBundle, так что hot reload их не подхватывает — нужен полный перезапуск.

Проверка

Собрано и запущено на эмуляторе Android 16 (API 36), обе строки проверены на живых экранах:

  • Главная, низ — RU и EN
  • Сервисы → Автор, низ — RU

Оба .arb парсятся как валидный JSON. Ссылок на старую формулировку в test/ и tool/ нет.

🤖 Generated with Claude Code

https://claude.ai/code/session_01YDMwmvJ7UAbSZtFuhdbBMs

The note under the home screen's sections and at the foot of the author
screen carried a permission clause the licence texts already state. On
screen it only made the credit harder to read, so leave the credit.

The trailing full stop goes with it: after a domain, "srb.guide." reads
ambiguously.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDMwmvJ7UAbSZtFuhdbBMs
@ialakey
ialakey merged commit 8114b9d into master Sep 8, 2026
2 checks passed
@ialakey
ialakey deleted the chore/shorten-content-attribution branch September 8, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant