Localize all servers visible labels
This commit is contained in:
@@ -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`.
|
||||||
@@ -9,7 +9,7 @@ const HISTORICAL_SERVERS = Object.freeze([
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
slug: "all-servers",
|
slug: "all-servers",
|
||||||
label: "Todos",
|
label: "Todos los servidores",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
const HISTORICAL_SERVER_SLUGS = Object.freeze(
|
const HISTORICAL_SERVER_SLUGS = Object.freeze(
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
type="button"
|
type="button"
|
||||||
data-server-slug="all-servers"
|
data-server-slug="all-servers"
|
||||||
>
|
>
|
||||||
Todos
|
Todos los servidores
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="historical-selector__button"
|
class="historical-selector__button"
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
<label class="stats-search-form__label" for="ranking-server">
|
<label class="stats-search-form__label" for="ranking-server">
|
||||||
Servidor
|
Servidor
|
||||||
<select class="ranking-select" id="ranking-server" name="server_id">
|
<select class="ranking-select" id="ranking-server" name="server_id">
|
||||||
<option value="all">Todos</option>
|
<option value="all">Todos los servidores</option>
|
||||||
<option value="comunidad-hispana-01">Comunidad Hispana #01</option>
|
<option value="comunidad-hispana-01">Comunidad Hispana #01</option>
|
||||||
<option value="comunidad-hispana-02">Comunidad Hispana #02</option>
|
<option value="comunidad-hispana-02">Comunidad Hispana #02</option>
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user