vienalatina/apps/board/strings/sitio.yaml
Claude 4124e034e2
A language left empty, and eleven places the rename never reached
Three things, all on the public half.

The translation pass. scripts/translate.py walked content/ only, so
data/ had never been touched by it: a tagline typed in Spanish stayed
Spanish forever, and so would a label. It now fills the languages
Gestión → Textos left empty, through the provider that already exists —
a label is prose with no markup, and translate_text already protects
«Viena Latina» as a term.

The translations go in their own file. data/ui.yaml is regenerated
wholesale from the override store on every save, so anything the
pipeline wrote into it would be destroyed by the next person to press
Guardar, and the members area cannot write back into the repository's
copy. Two files, each with one writer that owns it, and the split names
the provenance out loud.

Each entry records the Spanish it came from. Reword the Spanish and the
German stops matching its source and is redone; leave it alone and
nothing is recomputed — so a push that changed no label neither rewrites
the file nor loads a 237MB model to find that out.

t.html's order becomes override → automatic → shipped → Spanish. The
automatic file only ever holds a key whose Spanish was overridden, so it
beats the shipped word without displacing one nobody touched: rename
«Inicio» to «Escritorio» and the shipped «Start» stops being a
translation of anything. Verified in a real build — es Escritorio, de
Schreibtisch, pt-br Escrivaninha, from one override and one auto file.

The assistive labels. Five aria-labels and the breadcrumb's «Inicio»
were Spanish on the German and Portuguese pages too. A German
screen-reader user hearing «Secciones» is the same bug as a German menu
saying «Inicio», just quieter — and the breadcrumb is the one Google
renders in search results.

And a bug this found rather than caused. site-name.html exists so
Identidad can rename the site, and eleven places read .Site.Title or
.Site.Params.description directly, going round it. The human-facing
surfaces had been converted and the machine-facing ones had not, so a
rename updated every og: tag and left the old name in every JSON-LD
publisher, author and isPartOf, in llms.txt and in the .ics product id —
the home page emitted two blocks that openly disagreed. All eleven read
through the partials now; a guard fails on a twelfth, proved by putting
one back.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NizVpJ2dwzCbjCrTLCjeHn
2026-10-14 13:47:58 +00:00

167 lines
4.7 KiB
YAML

# The words the public site says for itself — everything that is not an article
# somebody wrote. Three languages each, because vienalatina.com is built in
# three and a label left in Spanish on the German pages is the one kind of
# mistake nobody reports.
#
# These are the `site.*` namespace, and the prefix is load-bearing: it is what
# tells the screen to draw three boxes instead of one, and what sends the value
# to `data/ui.yaml` and the pipeline rather than only to SQLite.
#
# The theme keeps its own copy of these defaults in
# themes/vienalatina/layouts/partials/t.html, because Hugo reads the repository
# and the members area reads its own image — neither can read the other's file.
# A test holds the two together, the way the two `:root` blocks are held to
# brand.py's FACTORY.
#
# A language left empty is filled by the pipeline's translation engine on the
# next build. That is a fallback and not the plan: a one-word label is the worst
# case for machine translation, and the three boxes are there to be used.
site.home:
es: "Inicio"
de: "Start"
pt-br: "Início"
_note: >-
La primera entrada del menú público, y también el nombre del enlace del
logotipo para un lector de pantalla.
site.community:
es: "Comunidad"
de: "Community"
pt-br: "Comunidade"
_note: "El botón de la barra que lleva al área de miembros."
site.menu:
es: "Menú"
de: "Menü"
pt-br: "Menu"
_note: "No se ve: nombra el botón ☰ en el móvil."
site.back:
es: "← Volver al inicio"
de: "← Zurück zur Startseite"
pt-br: "← Voltar ao início"
_note: "Al final de cada artículo."
site.by:
es: "por"
de: "von"
pt-br: "por"
_note: "Antes del nombre de quien escribió el artículo. «por Salvador Dalí»."
site.faq:
es: "Preguntas frecuentes"
de: "Häufige Fragen"
pt-br: "Perguntas frequentes"
_note: "El título de la sección de preguntas, cuando el artículo tiene."
site.agenda:
es: "Agenda"
de: "Termine"
pt-br: "Agenda"
_note: "No se ve: nombra la barra de meses de la agenda."
site.previous:
es: "Mes anterior"
de: "Voriger Monat"
pt-br: "Mês anterior"
_note: "No se ve: el botón ← de la agenda."
site.next:
es: "Mes siguiente"
de: "Nächster Monat"
pt-br: "Próximo mês"
_note: "No se ve: el botón → de la agenda."
site.noevents:
es: "No hay nada en este mes."
de: "In diesem Monat ist nichts geplant."
pt-br: "Nada marcado neste mês."
_note: "Cuando un mes de la agenda está vacío."
site.time:
es: "Hora"
de: "Uhrzeit"
pt-br: "Hora"
_note: "En la ficha de un evento."
site.place:
es: "Lugar"
de: "Ort"
pt-br: "Local"
_note: "En la ficha de un evento."
site.add:
es: "Añadir a mi calendario"
de: "Zum Kalender hinzufügen"
pt-br: "Adicionar ao meu calendário"
_note: "El botón que descarga el evento al móvil."
site.ai:
es: "Generado con IA"
de: "Mit KI erstellt"
pt-br: "Gerado com IA"
_note: "La etiqueta en un artículo marcado como escrito por una máquina."
site.aifull:
es: "Quien lo publicó marcó este texto como generado con inteligencia artificial."
de: >-
Wer diesen Beitrag veröffentlicht hat, hat ihn als mit künstlicher
Intelligenz erstellt gekennzeichnet.
pt-br: "Quem publicou marcou este texto como gerado com inteligência artificial."
_note: "La explicación que sale al posar el ratón sobre esa etiqueta."
site.pinned:
es: "Fijado"
de: "Angeheftet"
pt-br: "Fixado"
_note: "La etiqueta de un artículo puesto arriba a propósito."
site.share:
es: "Compartir"
de: "Teilen"
pt-br: "Compartilhar"
_note: "El título de la fila de botones para compartir."
site.copylink:
es: "Copiar enlace"
de: "Link kopieren"
pt-br: "Copiar link"
_note: "El último botón de esa fila."
site.copied:
es: "Enlace copiado"
de: "Link kopiert"
pt-br: "Link copiado"
_note: "Lo que dice después de copiarlo."
site.askmasto:
es: "¿En qué servidor de Mastodon tienes tu cuenta? Por ejemplo: mastodon.social"
de: "Auf welchem Mastodon-Server hast du dein Konto? Zum Beispiel: mastodon.social"
pt-br: "Em qual servidor do Mastodon está a sua conta? Por exemplo: mastodon.social"
_note: "La pregunta antes de compartir en Mastodon."
site.sections:
es: "Secciones"
de: "Bereiche"
pt-br: "Seções"
_note: "No se ve: nombra la barra de navegación para un lector de pantalla."
site.language:
es: "Idioma"
de: "Sprache"
pt-br: "Idioma"
_note: "No se ve: nombra el selector de idioma."
site.pages:
es: "Páginas del sitio"
de: "Seiten"
pt-br: "Páginas do site"
_note: "No se ve: nombra la lista de páginas del pie."
site.social:
es: "Redes"
de: "Soziale Netzwerke"
pt-br: "Redes"
_note: "No se ve: nombra los iconos de redes del pie."