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/admin-site-edit.ejs

    rbb42dfb r834bcc3  
    2424        <input type="text" name="title" value="<%= site.title || '' %>" required maxlength="200">
    2525      </label>
    26       <%# Eigenaar (her)toewijzen — ALLEEN god ÉN alleen in hub-modus. In hub geef
    27           je zo elke gebruiker z'n eigen, zelf te beheren Klonkt. In solo (één site,
    28           één eigenaar) is dit zinloos/verwarrend, dus verborgen. %>
     26      <%# Assign (or reassign) owner — ONLY god AND only in hub mode. In hub this
     27          gives each user their own self-managed Klonkt. In solo (one site,
     28          one owner) this is pointless/confusing, so it's hidden. %>
    2929      <% if (user && user.role === 'god' && (typeof tenancy !== 'undefined' && tenancy === 'hub')) { %>
    3030      <label>
     
    250250<script>
    251251(function() {
    252   // Slug-URL-veld: toon de echte host als gedimde prefix (de slug zelf is
    253   // gekleurd via CSS). Hub → host/user/<slug>, anders host/<slug>.
     252  // Slug URL field: show the real host as a dimmed prefix (the slug itself is
     253  // coloured via CSS). Hub → host/user/<slug>, otherwise host/<slug>.
    254254  var sh = document.getElementById('slug-host');
    255255  if (sh) sh.textContent = location.host + (sh.dataset.prefix || '/');
     
    354354
    355355.site-form { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
    356 /* Mobiel: een <fieldset> heeft een browser-default min-inline-size:min-content en
    357    krimpt daardoor NIET mee → het hele formulier werd breder dan het scherm. min-width:0
    358    forceert meekrimpen; de form-velden krijgen max-width:100% + border-box zodat ze
    359    nooit buiten hun fieldset lopen. */
     356/* Mobile: a <fieldset> has a browser-default min-inline-size:min-content and
     357   therefore does NOT shrink → the entire form became wider than the screen. min-width:0
     358   forces it to shrink; form fields get max-width:100% + border-box so they
     359   never overflow their fieldset. */
    360360.site-form fieldset { min-width: 0; }
    361361.site-form input, .site-form select, .site-form textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }
     
    398398.site-form input[readonly] { opacity: 0.6; cursor: not-allowed; background: var(--paper-2); }
    399399
    400 /* Slug als URL-veld: gedimde host-prefix + de slug zelf in de accentkleur. */
     400/* Slug as URL field: dimmed host prefix + the slug itself in the accent colour. */
    401401.slug-url {
    402402  display: flex; align-items: stretch;
     
    425425}
    426426
    427 /* Selects: zelfde look als de inputs, met een eigen chevron i.p.v. de kale
    428    native pijl. De geopende optielijst blijft door de browser gerenderd. */
     427/* Selects: same look as the inputs, with a custom chevron instead of the bare
     428   native arrow. The open option list is still rendered by the browser. */
    429429.site-form select {
    430430  appearance: none;
     
    562562  .photo-controls { gap: .55rem; }
    563563}
    564 /* Mobiel-eerst: platform-keuze op een eigen regel (volle breedte), daaronder de
    565    URL-input + verwijderknop. Voorkomt horizontale overflow op telefoons (de vaste
    566    160px-kolom + niet-krimpbare input liepen samen ~447px > schermbreedte). */
     564/* Mobile-first: platform selector on its own line (full width), URL input + remove
     565   button below. Prevents horizontal overflow on phones (fixed 160px column +
     566   non-shrinkable input together ~447px > screen width). */
    567567.profile-link-row {
    568568  display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; margin-bottom: 0.5rem;
Note: See TracChangeset for help on using the changeset viewer.