Changeset 69b509d in Klonkt for src/views/pages/admin-stats.ejs


Ignore:
Timestamp:
06/30/2026 04:19:12 AM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
bea59a1
Parents:
757eea0
Message:

fix(i18n): localize the "Beheer" back-buttons + EPK save message (were hardcoded Dutch)

The "<- Beheer" back-link on the Audio/Playlists/Stats admin pages and the admin quick-links
aria-label were hardcoded Dutch in an otherwise i18n'd UI; now t('nav.admin'). The EPK editor's
save-confirmation + its two plain-text error responses were Dutch too; the save flash now uses
t(lang, 'aepk.saved') and the errors are English.

  • src/views/pages/admin-{audio,playlists,stats}.ejs, admin.ejs — back-link/aria-label -> t('nav.admin')
  • src/routes/admin-epk.js — translate save flash via resolveLang+t; English the error sends
  • src/services/i18n.js — aepk.saved (nl/en/de)

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin-stats.ejs

    r757eea0 r69b509d  
    11<div class="container stats-page">
    2   <p><a href="/admin" class="btn">&larr; Beheer</a></p>
     2  <p><a href="/admin" class="btn">&larr; <%= t('nav.admin') %></a></p>
    33  <h1><%= t('astat.title') %></h1>
    44  <p class="stats-note"><%= t('astat.intro') %></p>
Note: See TracChangeset for help on using the changeset viewer.