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/partials/track-editor.ejs

    rbb42dfb r834bcc3  
    195195}
    196196
    197 /* ── Credit-veld met ©-invoegknop ──────────────────────────── */
     197/* ── Credit field with © insert button ──────────────────────────── */
    198198.te-credit-row { display: flex; gap: 0.4rem; align-items: stretch; }
    199199.te-credit-row input { flex: 1; min-width: 0; }
     
    638638    }
    639639
    640     // ── ©-teken invoegen in het credit-veld ─────────────────
     640    // ── Insert © symbol into the credit field ─────────────────
    641641    const copyrBtn = $('#te-credit-copyr');
    642642    if (copyrBtn) {
     
    693693    });
    694694
    695     // ── Auto-duur ───────────────────────────────────────────
    696     // De server bepaalt de duur al automatisch bij upload. Dit is de vangnet/
    697     // UX-laag: opent een admin een bestaande track zónder duur, dan lezen we 'm
    698     // hier uit de audio-metadata en vullen het veld — zodat je nooit seconden
    699     // hoeft te typen. Bestaande waarde wordt nooit overschreven. We halen de
    700     // bytes via dezelfde header-gate als de speler (X-Audio-Player).
     695    // ── Auto-duration ───────────────────────────────────────────
     696    // The server already determines duration automatically on upload. This is the
     697    // fallback/UX layer: if an admin opens an existing track without a duration,
     698    // we read it from the audio metadata and fill the field — so you never need
     699    // to type seconds manually. An existing value is never overwritten. We fetch
     700    // the bytes via the same header gate as the player (X-Audio-Player).
    701701    (async function autoDuration() {
    702702      const durEl = $('#te-duration');
    703703      if (!durEl || !track.stream_url) return;
    704       if (durEl.value && Number(durEl.value) > 0) return;  // al ingevuld → met rust laten
     704      if (durEl.value && Number(durEl.value) > 0) return;  // already filled → leave it alone
    705705      let objUrl = null;
    706706      try {
Note: See TracChangeset for help on using the changeset viewer.