Changeset 4885eab in Klonkt for src/views/pages/epk.ejs


Ignore:
Timestamp:
06/21/2026 03:05:14 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
5e61b17
Parents:
bbf9d1a
Message:

feat(i18n phase 6): remaining public + other pages translated (NL/EN/DE)

post-edit, account, newsletter, download, press kit /pers, fan-gate, link-in-bio,
my-site, password-reset (2), artists directory, auth-login Google error map,
user/hub-home/circle-feed+post/viewer-blocked/home/favourites/changelog/404/
type/tag/archive/prutter (inbox+conversation). embed-player skipped (no t
in that standalone route). 1026 view-keys cross-checked → 0 missing.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/epk.ejs

    rbbf9d1a r4885eab  
    1111    <% if (_photo) { %><div class="epk-photo"><img src="<%= _photo %>" alt="<%= site.title %>"></div><% } %>
    1212    <div class="epk-hero-text">
    13       <div class="epk-kicker">Perskit<% if (typeof user !== 'undefined' && user && user.role === 'god') { %> <a class="epk-edit-link" href="/admin/epk">✎ Bewerken</a><% } %></div>
     13      <div class="epk-kicker"><%= t('epk.kicker') %><% if (typeof user !== 'undefined' && user && user.role === 'god') { %> <a class="epk-edit-link" href="/admin/epk">✎ <%= t('epk.edit') %></a><% } %></div>
    1414      <h1 class="epk-title"><%= site.title %></h1>
    1515      <% if (epkBio) { %><p class="epk-bio"><%= epkBio %></p><% } %>
    1616      <div class="epk-actions">
    1717        <% if (_isMail) { %>
    18           <a class="epk-btn epk-btn-primary" href="mailto:<%= epkContact %>">✉ Contact / boeking</a>
     18          <a class="epk-btn epk-btn-primary" href="mailto:<%= epkContact %>">✉ <%= t('epk.contact_booking') %></a>
    1919        <% } else if (_isUrl) { %>
    20           <a class="epk-btn epk-btn-primary" href="<%= epkContact %>" target="_blank" rel="noopener">Contact / boeking</a>
     20          <a class="epk-btn epk-btn-primary" href="<%= epkContact %>" target="_blank" rel="noopener"><%= t('epk.contact_booking') %></a>
    2121        <% } %>
    22         <a class="epk-btn" href="<%= siteUrlBase %>/">Bekijk de site →</a>
    23         <% if (_photo) { %><a class="epk-btn" href="<%= _photo %>" download>⬇ Persfoto</a><% } %>
     22        <a class="epk-btn" href="<%= siteUrlBase %>/"><%= t('epk.view_site') %></a>
     23        <% if (_photo) { %><a class="epk-btn" href="<%= _photo %>" download>⬇ <%= t('epk.press_photo') %></a><% } %>
    2424      </div>
    2525    </div>
     
    2828  <% if (epkTracks && epkTracks.length) { %>
    2929    <div class="epk-block">
    30       <h2 class="epk-h2">Meest beluisterd</h2>
     30      <h2 class="epk-h2"><%= t('epk.most_played') %></h2>
    3131      <ul class="epk-tracks">
    3232        <% epkTracks.forEach(function(t, i){ %>
     
    4747  <% if (epkPosts && epkPosts.length) { %>
    4848    <div class="epk-block">
    49       <h2 class="epk-h2">Recent</h2>
     49      <h2 class="epk-h2"><%= t('epk.recent') %></h2>
    5050      <ul class="epk-posts">
    5151        <% epkPosts.forEach(function(p){ %>
Note: See TracChangeset for help on using the changeset viewer.