Changeset 834bcc3 in Klonkt for src/views/pages/auth-login.ejs


Ignore:
Timestamp:
06/23/2026 06:14:27 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
d774679
Parents:
bb42dfb
Message:

i18n: translate Dutch code comments to English across src/

Comments in routes/services/views/config/middleware/assets translated to
English for the public repo. A few dev-facing throw/console message strings
were Englished too. No user-facing UI strings or i18n dictionary values changed
(src/services/i18n.js untouched). Logic unchanged.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/auth-login.ejs

    rbb42dfb r834bcc3  
    11<%
    2   // adminLogin = de verborgen beheerders-loginpagina (/auth/admin): toont het
    3   // gebruikersnaam/wachtwoord-formulier. De publieke /auth/login toont voor
    4   // bezoekers ALLEEN Google-login (luisteraars/fans). Zo staat de admin-login
    5   // niet zichtbaar op de plek waar bezoekers heen gestuurd worden.
     2  // adminLogin = the hidden admin login page (/auth/admin): shows the
     3  // username/password form. The public /auth/login shows visitors
     4  // ONLY Google login (listeners/fans). This keeps the admin login
     5  // off the page where visitors are directed.
    66  var _admin = (typeof adminLogin !== 'undefined' && adminLogin);
    77%>
     
    3232
    3333  <% if (_admin) { %>
    34     <%# Verborgen beheerders-login (wachtwoord). %>
     34    <%# Hidden admin login (password). %>
    3535    <form method="post" action="/auth/login" class="auth-form">
    3636      <% if (typeof next !== 'undefined' && next) { %>
     
    4949    </form>
    5050  <% } else if (googleReady) { %>
    51     <%# Publieke login: alleen Google, voor luisteraars/fans. %>
     51    <%# Public login: Google only, for listeners/fans. %>
    5252    <p class="auth-sub"><%= t('auth.public_sub') %></p>
    5353    <a class="btn btn-google" href="/auth/google<%= (typeof next !== 'undefined' && next) ? '?next=' + encodeURIComponent(next) : '' %>">
     
    6565
    6666  <% if (!_admin) { %>
    67     <%# Klikbare box voor de beheerder → naar de verborgen wachtwoord-login. %>
     67    <%# Clickable box for the admin → navigates to the hidden password login. %>
    6868    <a class="auth-admin-box" href="/auth/admin<%= (typeof next !== 'undefined' && next) ? '?next=' + encodeURIComponent(next) : '' %>">
    6969      <span class="auth-admin-box-icon" aria-hidden="true">🔑</span>
     
    8585  .auth-notice-list li { margin: 4px 0; }
    8686  .auth-sub { color: var(--ink-muted); margin: 0 0 1rem; text-align: center; }
    87   /* Google-knop is wit → tekst altijd donker houden, ook op hover (de globale
    88      a.btn:hover-regel maakt 'm anders bijna-wit op wit = onleesbaar). */
     87  /* Google button is white → keep text dark at all times, including hover (the global
     88     a.btn:hover rule would otherwise make it near-white on white = unreadable). */
    8989  a.btn-google, a.btn-google:hover { color: #1f1f1f; }
    9090  .auth-admin-box {
Note: See TracChangeset for help on using the changeset viewer.