Changeset 834bcc3 in Klonkt for src/routes/admin-shows.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-shows.js

    rbb42dfb r834bcc3  
    11/**
    2  * Show-agenda (premium feature #8) — beheerkant.
     2 * Show agenda (premium feature #8) — admin side.
    33 *
    4  *   GET  /admin/shows           -> lijst + toevoeg-formulier
    5  *   POST /admin/shows           -> show toevoegen (optioneel notify-mail naar abonnees)
     4 *   GET  /admin/shows           -> list + add form
     5 *   POST /admin/shows           -> add show (optional notify email to subscribers)
    66 *   POST /admin/shows/:id/delete
    77 *
    8  * Premium + site-beheerder. Notify-mail vereist SMTP; zonder SMTP wordt de show
    9  * gewoon opgeslagen (geen mail).
     8 * Premium + site manager. Notify email requires SMTP; without SMTP the show is
     9 * simply saved (no email sent).
    1010 */
    1111
     
    7979        });
    8080        sent++;
    81       } catch { /* sla over */ }
     81      } catch { /* skip */ }
    8282    }
    8383  }
     
    8686
    8787router.post('/toggle', requireSiteManager, premiumGate, (req, res) => {
    88   // Agenda tonen op de site (Agenda-knop in de pill + /shows-pagina).
     88  // Show the agenda on the site (Agenda button in the pill + /shows page).
    8989  setSetting('agenda_enabled', req.body.enabled ? '1' : '0');
    9090  res.redirect((res.locals.siteUrlBase || '') + '/admin/shows');
Note: See TracChangeset for help on using the changeset viewer.