vienalatina/apps/board
Claude 8936f296ea
Textos: the words are data now, starting with the navigation
Renaming «Inicio» was six edits — base.html, home.py's section list,
config.yaml three times, an aria-label, and the breadcrumb schema — and
none of them reachable from Gestión. That is the thing Identidad exists
to end for the site's name, and it stopped before it reached the labels.

The mechanism, and the navigation through it. The rest of the ~560
strings follow in later commits; this one is the path proved end to end.

apps/board/strings/*.yaml is the catalogue, shipped in the image through
the Dockerfile's existing COPY. Only the differences are stored, which
is brand.FACTORY's rule and buys the same thing: a wording I improve
later improves for everyone who has not deliberately overridden it.

The `site.` prefix decides everything — one box or three, SQLite or a
commit of data/ui.yaml, this page load or the next pipeline run.

The fallback order is a judgement rather than an accident: an override
for the asked-for language, then the *shipped* word in that language,
then Spanish. Somebody who reworded only the Spanish has said nothing
about German, and showing a German reader Spanish would be reading an
intention into silence. Verified in a real build: with es overridden,
the Spanish menu says «Escritorio» and the German still says «Start».

The screen is generic — it iterates the catalogue, so extracting another
hundred strings costs nothing here. There is no field list in ui.py and
there must never be one.

Two guards are what make a 560-string extraction mechanical rather than
risky: every t("…") used must exist, and every key defined must be used.
A typo renders as nav.incio on a page; an orphan is a box in Gestión
that changes nothing. Both fail the suite instead. I proved all three
guards (including the one holding t.html to the catalogue) by
introducing the bug each describes and watching it go red.

Two things fixed on the way, both found by the extraction rather than
looked for: home.py and base.html held two copies of the same six words,
so a rename would have reached the members area and not the strip on the
public site; and memberbar.js hardcoded two more in a fingerprinted
script, the one surface no setting could ever reach.

No migration — `strings` is a new table, so CREATE TABLE IF NOT EXISTS
makes it, as activity and site arrived. The erase guard caught the new
members(id) reference by itself, which is the mechanism working.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-10-14 12:35:10 +00:00
..
static Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
strings Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
templates Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
tests Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
__init__.py Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00
activity.py Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
app.py Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
auth.py The bar, the share card, the writing box and subpages 2026-10-02 15:21:35 +00:00
board.py Fijar: moderators choose what gets read first 2026-10-13 18:24:32 +00:00
brand.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
content.py Fijar: moderators choose what gets read first 2026-10-13 18:24:32 +00:00
db.py A superadministrator above the responsable 2026-10-06 11:55:41 +00:00
events.py A superadministrator above the responsable 2026-10-06 11:55:41 +00:00
gitea.py Two calendars: one for everybody, one for the members 2026-10-03 09:53:54 +00:00
home.py Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
identity.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
invites.py Let members get a password of their own 2026-09-25 17:49:39 +00:00
mail.py Let members get a password of their own 2026-09-25 17:49:39 +00:00
media.py Identidad, tipografías, y tres herramientas de administración 2026-10-06 12:18:04 +00:00
members.py Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
messages.py Posts in the order they were written, both halves 2026-10-13 18:13:01 +00:00
migrations.py Fijar: moderators choose what gets read first 2026-10-13 18:24:32 +00:00
passwords.py One front door: the members area owns its own logins 2026-09-29 08:25:25 +00:00
profiles.py A phone can use this site, and the way in is a button 2026-10-03 21:04:13 +00:00
render.py The writing box shows the formatting, and raw HTML stops reaching the site 2026-10-06 20:07:18 +00:00
requirements.txt Write the site from the members area instead of Decap 2026-09-25 15:07:31 +00:00
schema.sql Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
security.py A superadministrator above the responsable 2026-10-06 11:55:41 +00:00
status.py Estado del sistema was lying about the backups 2026-10-06 14:03:30 +00:00
strings.py Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
submissions.py Posts in the order they were written, both halves 2026-10-13 18:13:01 +00:00
titles.py A title nobody has to write, a fold, a switch and a button 2026-10-06 20:58:33 +00:00
ui.py Textos: the words are data now, starting with the navigation 2026-10-14 12:35:10 +00:00
uploads.py Phase C: private messages, with blocking and photos 2026-09-28 16:10:52 +00:00
wsgi.py Add a members area: roles and an internal board 2026-09-22 10:57:18 +00:00