Changeset 834bcc3 in Klonkt for src/routes/admin-epk.js


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/routes/admin-epk.js

    rbb42dfb r834bcc3  
    11/**
    2  * Admin: Perskit (EPK) bewerken — per-site bio + pers-contact.
     2 * Admin: Edit press kit (EPK) — per-site bio + press contact.
    33 *
    4  * GET  /admin/epk   -> formulier met huidige bio + contact
    5  * POST /admin/epk   -> opslaan (app_settings: epk_bio_<siteId> / epk_contact_<siteId>)
     4 * GET  /admin/epk   -> form with current bio + contact
     5 * POST /admin/epk   -> save (app_settings: epk_bio_<siteId> / epk_contact_<siteId>)
    66 *
    7  * De perskit-pagina zelf (/pers) leest deze waarden; tracks + recente posts komen
    8  * automatisch. Perskit is premium + solo (zie routes/epk.js).
     7 * The press kit page itself (/pers) reads these values; tracks + recent posts come
     8 * automatically. Press kit is premium + solo (see routes/epk.js).
    99 */
    1010
     
    4949  setSetting('epk_bio_' + site.id, (req.body.epk_bio || '').toString().slice(0, 1000).trim());
    5050  setSetting('epk_contact_' + site.id, (req.body.epk_contact || '').toString().slice(0, 300).trim());
    51   // Gekozen nummers: alleen ids van DEZE site, max 5, in de aangeleverde volgorde.
     51  // Chosen tracks: only ids belonging to THIS site, max 5, in the supplied order.
    5252  let ids = req.body.epk_tracks;
    5353  if (!Array.isArray(ids)) ids = ids ? [ids] : [];
Note: See TracChangeset for help on using the changeset viewer.