Report the stale keys that are stale, and remove them

The check reported 41 stale keys per catalogue. Ten of them were.

The other 31 were strings held in constants and translated where they render --
t(b.description), t(group), t(c.label) -- so they reach t() as a variable and
there is no literal at the call site to find. The script already chased two of
those shapes, `label:` and objects named *_LABELS, with a comment about crying
wolf 33 times. The shapes kept coming: `description:` and `group:` on the
keyboard bindings, the calendar's view names, the read-receipt refusals, the
palette names.

Chasing them one at a time is the wrong shape of fix. Stale detection now asks
only "is this key still written down anywhere in the source" -- any string
literal counts. That under-reports, and that is the right way round: a missed
stale key costs a line of dead translation, a false one costs the credibility
of the check and every real finding after it. Which is what happened here --
these sat unread long enough to need a commit of their own.

Coverage keeps the strict set. The two questions need different nets, and
widening the one that measures what a catalogue *owes* would count every CSS
class and JMAP method name as an untranslated string -- it read 29% while I had
them sharing a set. `wanted` is the obligation, `seen` is the evidence.

What was actually dead, removed from all nine: "Availability on {date}",
"Import vCard", "PDF", two settings hints replaced by rewordings that are still
live, the Catppuccin palette description, and Tuesday through Friday -- left
behind when the week-start dropdown narrowed to the three days a week actually
starts on, and appearing since only in comments.

Coverage is unchanged at 1269/1285: none of the ten was ever owed.
This commit is contained in:
2026-09-10 16:00:00 -07:00
parent 3c4f6a9f8e
commit 54b316ae36
10 changed files with 41 additions and 99 deletions
-10
View File
@@ -319,7 +319,6 @@ export const catalog: Catalog = {
"Busy": "Ocupado",
"Free/busy": "Disponibilidad",
"Show as": "Mostrar como",
"Availability on {date}": "Disponibilidad el {date}",
"Count all events as busy": "Contar todos los eventos como ocupado",
"Only events I'm attending": "Solo los eventos a los que asisto",
"Don't include in availability": "No incluir en la disponibilidad",
@@ -358,7 +357,6 @@ export const catalog: Catalog = {
"New address book": "Libreta de direcciones nueva",
"No address books yet.": "Aún no hay libretas de direcciones.",
"Choose from address books": "Elegir de las libretas de direcciones",
"Import vCard": "Importar una vCard",
"Export all contacts": "Exportar todos los contactos",
"Export address book": "Exportar esta libreta de direcciones",
"Import contacts…": "Importar contactos…",
@@ -432,7 +430,6 @@ export const catalog: Catalog = {
"Make ihasmail yours.": "Haga suyo ihasmail.",
"Reading": "Lectura",
"Reading pane": "Panel de lectura",
"Reading, sending and list behaviour. Settings are stored in this browser.": "Comportamiento de lectura, envío y lista. La configuración se guarda en este navegador.",
"Right of the list": "A la derecha de la lista",
"Below the list": "Debajo de la lista",
"Hidden (open full width)": "Oculto (abrir a todo el ancho)",
@@ -475,10 +472,6 @@ export const catalog: Catalog = {
"Time zone": "Zona horaria",
"Week starts on": "La semana empieza el",
"Monday": "Lunes",
"Tuesday": "Martes",
"Wednesday": "Miércoles",
"Thursday": "Jueves",
"Friday": "Viernes",
"Saturday": "Sábado",
"Sunday": "Domingo",
"12-hour clock (6:23 PM)": "Formato de 12 horas (6:23 PM)",
@@ -725,10 +718,8 @@ export const catalog: Catalog = {
"Manage labels": "Gestionar las etiquetas",
"Create “{name}”": "Crear «{name}»",
"Type a name to create your first label.": "Escriba un nombre para crear su primera etiqueta.",
"Labels are IMAP keywords stored on your messages, so they sync to other clients. Names and colours are kept in this browser.": "Las etiquetas son palabras clave IMAP guardadas en sus mensajes, así que se sincronizan con otros clientes. Los nombres y colores se guardan en este navegador.",
"New label": "Etiqueta nueva",
"Delete label": "Eliminar la etiqueta",
"PDF": "PDF",
"Large attachments may be rejected by some servers": "Algunos servidores rechazan los adjuntos grandes",
"Images are stored in your Files (folder “ihasmail”) and embedded when you send.": "Las imágenes se guardan en sus Archivos (carpeta «ihasmail») y se incrustan al enviar.",
"Thanks for your message. I'm away until … and will reply when I'm back.": "Gracias por su mensaje. Estaré ausente hasta el … y le responderé a mi regreso.",
@@ -862,7 +853,6 @@ export const catalog: Catalog = {
"Only languages ihasmail has been translated into appear here, so this list grows as translations land rather than ahead of them — a language offered without strings behind it would leave the page claiming to be in a language it is not.": "Aquí solo aparecen los idiomas a los que se ha traducido ihasmail, así que la lista crece a medida que llegan las traducciones y no antes: un idioma ofrecido sin textos detrás haría que la página afirmara estar en un idioma que no es el suyo.",
"tell us about it": "cuéntenoslo",
"This translation was generated by AI and has not been checked by a native speaker, so it is marked Beta until somebody who speaks it signs it off. Anything that reads wrongly is worth reporting — {report}.": "Esta traducción la ha generado una IA y no la ha revisado ninguna persona de habla nativa, así que está marcada como Beta hasta que alguien la dé por buena. Todo lo que suene mal merece un aviso: {report}.",
"{name} is the palette from {site}, and what a new account starts on. It is a dark theme, so it counts as dark wherever that matters, and the accent colour below still applies on top of it.": "{name} es la paleta de {site}, y con la que empieza una cuenta nueva. Es un tema oscuro, así que cuenta como oscuro allí donde importa, y el color de acento de abajo se sigue aplicando encima.",
"ihasmail's own version is the date of the commit it was built from, followed by where that commit came from: {example} was built from a commit dated the 30th of August 2026 that arrived through pull request 129. A commit that did not come through one carries its short SHA instead — {sha}. The version deliberately says nothing about Stalwart; what this build needs from the server is the line above.": "La versión de ihasmail es la fecha del commit a partir del cual se compiló, seguida de su procedencia: {example} se compiló a partir de un commit del 30 de agosto de 2026 que llegó mediante la pull request 129. Un commit que no llegó por esa vía lleva en su lugar su SHA corto: {sha}. La versión no dice nada sobre Stalwart a propósito; lo que esta compilación necesita del servidor está en la línea de arriba.",
// ── Composer status, calendar title ────────────────────────────────