Changeset 69b509d in Klonkt for src/views/pages/admin.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.ejs

    r757eea0 r69b509d  
    2323  <% } %>
    2424
    25   <nav class="admin-quick-links" aria-label="Beheer-snelkoppelingen">
     25  <nav class="admin-quick-links" aria-label="<%= t('nav.admin') %>">
    2626    <% if (tenancy === 'hub') { %>
    2727      <a href="/admin/sites" class="btn"><%= t('admin.b_sites') %></a>
Note: See TracChangeset for help on using the changeset viewer.