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/artists-directory.ejs

    rbbf9d1a r4885eab  
    1515  <nav class="adir-nav">
    1616    <div class="adir-nav-inner container">
    17       <a class="adir-nav-home" href="/"><span aria-hidden="true">←</span> <%= (typeof hubTitle !== 'undefined' && hubTitle) ? hubTitle : 'Home' %></a>
     17      <a class="adir-nav-home" href="/"><span aria-hidden="true">←</span> <%= (typeof hubTitle !== 'undefined' && hubTitle) ? hubTitle : t('adir.home') %></a>
    1818      <span class="adir-nav-spacer"></span>
    1919      <% if (user) { %>
    2020        <a class="adir-nav-link" href="/account"><%= user.username %></a>
    21         <a class="adir-nav-link" href="/auth/logout">Uitloggen</a>
     21        <a class="adir-nav-link" href="/auth/logout"><%= t('adir.logout') %></a>
    2222      <% } else { %>
    23         <a class="adir-nav-link" href="/auth/login">Inloggen</a>
     23        <a class="adir-nav-link" href="/auth/login"><%= t('adir.login') %></a>
    2424      <% } %>
    2525    </div>
     
    2727
    2828  <header class="adir-head container">
    29     <h1 class="adir-title">Leden</h1>
    30     <p class="adir-sub"><%= total %> Klonkt<%= total === 1 ? '' : "'s" %></p>
     29    <h1 class="adir-title"><%= t('adir.title') %></h1>
     30    <p class="adir-sub"><%= t(total === 1 ? 'adir.count_one' : 'adir.count_many', { n: total }) %></p>
    3131
    3232    <form class="adir-search" method="get" action="/leden" role="search">
    33       <input type="search" name="q" value="<%= q %>" placeholder="Zoek op naam…"
    34              autocomplete="off" aria-label="Zoek leden">
    35       <button type="submit" class="adir-search-btn" aria-label="Zoeken">
     33      <input type="search" name="q" value="<%= q %>" placeholder="<%= t('adir.search_ph') %>"
     34             autocomplete="off" aria-label="<%= t('adir.search_aria') %>">
     35      <button type="submit" class="adir-search-btn" aria-label="<%= t('adir.search_btn') %>">
    3636        <svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
    3737      </button>
    38       <% if (q) { %><a class="adir-search-clear" href="/leden">Wissen</a><% } %>
     38      <% if (q) { %><a class="adir-search-clear" href="/leden"><%= t('adir.clear') %></a><% } %>
    3939    </form>
    4040  </header>
     
    4343    <% if (!artists.length) { %>
    4444      <p class="adir-empty">
    45         <% if (q) { %>Geen leden gevonden voor "<strong><%= q %></strong>".<% } else { %>Nog geen leden.<% } %>
     45        <% if (q) { %><%- t('adir.empty_q', { q: '<strong>' + q + '</strong>' }) %><% } else { %><%= t('adir.empty') %><% } %>
    4646      </p>
    4747    <% } else { %>
     
    5555            <span class="roster-name"><%= a.title %></span>
    5656            <% if (a.tagline) { %><span class="roster-tag"><%= a.tagline %></span><% } %>
    57             <span class="roster-count"><%= a.post_count %> post<%= a.post_count === 1 ? '' : 's' %></span>
     57            <span class="roster-count"><%= t(a.post_count === 1 ? 'adir.posts_one' : 'adir.posts_many', { n: a.post_count }) %></span>
    5858          </a>
    5959        <% }); %>
     
    6161
    6262      <% if (pages > 1) { %>
    63         <nav class="adir-pager" aria-label="Paginering">
     63        <nav class="adir-pager" aria-label="<%= t('adir.pager_aria') %>">
    6464          <% if (page > 1) { %>
    65             <a class="adir-page" href="<%= _qs({ page: page - 1 }) %>" rel="prev">← Vorige</a>
     65            <a class="adir-page" href="<%= _qs({ page: page - 1 }) %>" rel="prev"><%= t('adir.prev') %></a>
    6666          <% } else { %>
    67             <span class="adir-page is-disabled">← Vorige</span>
     67            <span class="adir-page is-disabled"><%= t('adir.prev') %></span>
    6868          <% } %>
    69           <span class="adir-page-info">Pagina <%= page %> van <%= pages %></span>
     69          <span class="adir-page-info"><%= t('adir.page_info', { page: page, pages: pages }) %></span>
    7070          <% if (page < pages) { %>
    71             <a class="adir-page" href="<%= _qs({ page: page + 1 }) %>" rel="next">Volgende →</a>
     71            <a class="adir-page" href="<%= _qs({ page: page + 1 }) %>" rel="next"><%= t('adir.next') %></a>
    7272          <% } else { %>
    73             <span class="adir-page is-disabled">Volgende →</span>
     73            <span class="adir-page is-disabled"><%= t('adir.next') %></span>
    7474          <% } %>
    7575        </nav>
Note: See TracChangeset for help on using the changeset viewer.