diff --git a/ai/tasks/done/TASK-238-localize-all-servers-visible-labels.md b/ai/tasks/done/TASK-238-localize-all-servers-visible-labels.md new file mode 100644 index 0000000..526fbdb --- /dev/null +++ b/ai/tasks/done/TASK-238-localize-all-servers-visible-labels.md @@ -0,0 +1,46 @@ +--- +id: TASK-238 +title: Localize all servers visible labels +status: done +type: frontend +team: Frontend Senior +supporting_teams: + - Analista +roadmap_item: foundation +priority: low +--- + +# TASK-238 - Localize all servers visible labels + +## Goal + +Remove visible `all servers` style labels from the public UI and standardize them as `Todos los servidores` without changing internal slugs or query parameters. + +## Files Read First + +- `frontend/assets/js/ranking.js` +- `frontend/assets/js/historico.js` +- `frontend/historico.html` +- `frontend/ranking.html` + +## Changes + +1. Updated the historical selector label for `all-servers` to `Todos los servidores`. +2. Updated the ranking server select option for `all` to `Todos los servidores`. +3. Updated the shared historical server label map so titles and summaries use `Todos los servidores`. +4. Kept internal technical values untouched: + - `all-servers` + - `all` + +## Validation + +- Reviewed visible frontend labels for: + - `all servers` + - `All servers` + - `all-servers` +- Confirmed the updated UI copy is Spanish-facing only. +- Confirmed no endpoint, slug or query parameter changed. + +## Outcome + +The aggregate scope is still represented internally by `all-servers` / `all`, but the user-facing UI now uses `Todos los servidores`. diff --git a/frontend/assets/js/historico.js b/frontend/assets/js/historico.js index 676ce65..324bf2e 100644 --- a/frontend/assets/js/historico.js +++ b/frontend/assets/js/historico.js @@ -9,7 +9,7 @@ const HISTORICAL_SERVERS = Object.freeze([ }, { slug: "all-servers", - label: "Todos", + label: "Todos los servidores", }, ]); const HISTORICAL_SERVER_SLUGS = Object.freeze( diff --git a/frontend/historico.html b/frontend/historico.html index cd44855..38494ed 100644 --- a/frontend/historico.html +++ b/frontend/historico.html @@ -58,7 +58,7 @@ type="button" data-server-slug="all-servers" > - Todos + Todos los servidores