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
69 lines
2.1 KiB
YAML
69 lines
2.1 KiB
YAML
# The members area's own chrome: the sections, the corner menu, the footer.
|
|
#
|
|
# Every key here is a word somebody can change in Gestión → Textos. What is in
|
|
# this file is the default — what the software says when nobody has said
|
|
# otherwise — and only the differences are stored, so a wording improved in a
|
|
# later version improves for everybody who has not deliberately overridden it.
|
|
#
|
|
# `_note` is for whoever is editing: it says where the word appears, because
|
|
# «nav.gestion» is not a question an admin can answer from the key alone.
|
|
# Every other key in an entry is a language code.
|
|
|
|
nav.inicio:
|
|
es: "Inicio"
|
|
_note: "La primera sección: el resumen de lo que ha pasado desde la última visita."
|
|
|
|
nav.muro:
|
|
es: "Muro"
|
|
_note: "El tablón interno donde los miembros escriben entre ellos."
|
|
|
|
nav.miembros:
|
|
es: "Miembros"
|
|
_note: "El directorio de personas. Lleva el aviso de mensajes sin leer."
|
|
|
|
nav.publicaciones:
|
|
es: "Publicaciones"
|
|
_note: "Proponer algo para el sitio público, y la cola de revisión."
|
|
|
|
nav.calendario:
|
|
es: "Calendario"
|
|
_note: "Los eventos, internos y públicos."
|
|
|
|
nav.gestion:
|
|
es: "Gestión"
|
|
_note: "Sólo la ve la administración."
|
|
|
|
nav.secciones:
|
|
es: "Secciones"
|
|
_note: "No se ve: es el nombre de la barra de navegación para un lector de pantalla."
|
|
|
|
account.perfil:
|
|
es: "Mi perfil"
|
|
_note: "En el menú de tu nombre, arriba a la derecha."
|
|
|
|
account.datos:
|
|
es: "Descargar mis datos"
|
|
_note: "En el menú de tu nombre. Es un derecho, no una función: cámbialo con cuidado."
|
|
|
|
account.salir:
|
|
es: "Salir"
|
|
_note: "En el menú de tu nombre, y también en la barra del sitio público."
|
|
|
|
chrome.titulo:
|
|
es: "Comunidad"
|
|
_note: "El título de la pestaña del navegador cuando una página no pone el suyo."
|
|
|
|
chrome.publico:
|
|
es: "Ir al sitio público"
|
|
_note: "El enlace del pie que lleva de vuelta a vienalatina.com."
|
|
|
|
chrome.privada:
|
|
es: "Área privada"
|
|
_note: "La línea del pie, después del nombre y el año."
|
|
|
|
chrome.miembros:
|
|
es: "Área de miembros"
|
|
_note: >-
|
|
No se ve: nombra la franja que aparece en el sitio público cuando has
|
|
iniciado sesión, para un lector de pantalla.
|