feat(web): translate topbar, navigation, context panel, footer, and reputation display to English
Translates the remaining German static copy in the layout/shared components per the design doc glossary: top-bar (World Renown, Silver, loading text), side-navigation (nav labels and aria-labels), context-panel (area info, safety/hunt facts, encounters), game-footer (connection status, Ashen Fields), and reputation-display (aria-label, highest-rank text). Also fixes stale German rank-label fixtures in reputation-display.component.spec.ts flagged by Task 2's reviewer, and updates app.spec.ts assertions that exercised the now-translated side-navigation/top-bar output via the app shell.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<nav class="side-navigation" aria-label="Spielnavigation">
|
||||
<nav class="side-navigation" aria-label="Game navigation">
|
||||
<button
|
||||
class="side-navigation__item"
|
||||
type="button"
|
||||
@@ -7,12 +7,12 @@
|
||||
[routerLinkActiveOptions]="{ exact: true }"
|
||||
ariaCurrentWhenActive="page"
|
||||
data-navigation="location"
|
||||
aria-label="Ort"
|
||||
aria-label="Location"
|
||||
>
|
||||
<!-- Drawn rather than loaded: no medallion for "Ort" has been painted yet.
|
||||
<!-- Drawn rather than loaded: no medallion for "Location" has been painted yet.
|
||||
Framed to sit alongside the existing icons until one exists. -->
|
||||
<img src="/images/hud/runtime/LocationIcon-128.png" alt="" />
|
||||
<span>Ort</span>
|
||||
<span>Location</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
@@ -23,10 +23,10 @@
|
||||
[routerLinkActiveOptions]="{ exact: true }"
|
||||
ariaCurrentWhenActive="page"
|
||||
data-navigation="world"
|
||||
aria-label="Karte"
|
||||
aria-label="Map"
|
||||
>
|
||||
<img src="/images/hud/runtime/MapsIcon-128.png" alt="" />
|
||||
<span>Karte</span>
|
||||
<span>Map</span>
|
||||
</button>
|
||||
|
||||
<button
|
||||
@@ -37,17 +37,17 @@
|
||||
[routerLinkActiveOptions]="{ exact: true }"
|
||||
ariaCurrentWhenActive="page"
|
||||
data-navigation="hunt"
|
||||
aria-label="Jagd"
|
||||
aria-label="Hunt"
|
||||
>
|
||||
<img src="/images/hud/runtime/HuntIcon-128.png" alt="" />
|
||||
<span>Jagd</span>
|
||||
<span>Hunt</span>
|
||||
</button>
|
||||
<button
|
||||
class="side-navigation__item"
|
||||
type="button"
|
||||
data-navigation="quests"
|
||||
disabled
|
||||
aria-label="Quests sind noch nicht verfügbar"
|
||||
aria-label="Quests are not yet available"
|
||||
>
|
||||
<img src="/images/hud/runtime/QuestsIcon-128.png" alt="" />
|
||||
<span>Quests</span>
|
||||
@@ -60,19 +60,19 @@
|
||||
[routerLinkActiveOptions]="{ exact: true }"
|
||||
ariaCurrentWhenActive="page"
|
||||
data-navigation="inventory"
|
||||
aria-label="Inventar"
|
||||
aria-label="Inventory"
|
||||
>
|
||||
<img src="/images/hud/runtime/InventoryIcon-128.png" alt="" />
|
||||
<span>Inventar</span>
|
||||
<span>Inventory</span>
|
||||
</button>
|
||||
<button
|
||||
class="side-navigation__item"
|
||||
type="button"
|
||||
data-navigation="character"
|
||||
disabled
|
||||
aria-label="Charakter ist noch nicht verfügbar"
|
||||
aria-label="Character is not yet available"
|
||||
>
|
||||
<img src="/images/hud/runtime/CharacterIcon-128.png" alt="" />
|
||||
<span>Charakter</span>
|
||||
<span>Character</span>
|
||||
</button>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user