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/shared-styles.ejs

    rbb42dfb r834bcc3  
    66  border-bottom: 1px solid var(--rule);
    77  background: var(--paper);
    8   /* Geen extra margin-top: de pill wordt zo gecentreerd tussen de profielkop-
    9      streep (boven) en de eigen border (onder). De gelijke lucht boven/onder de
    10      pill komt uit de symmetrische container-padding hieronder. De margin-bottom
    11      (1.5rem in style.css) blijft lucht naar de feed. */
     8  /* No extra margin-top: this centres the pill between the profile-header
     9     rule (above) and the own border (below). Equal space above/below the
     10     pill comes from the symmetric container padding below. The margin-bottom
     11     (1.5rem in style.css) keeps breathing room toward the feed. */
    1212  margin-top: 0;
    1313}
    1414.view-switcher-wrap .container {
    1515  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    16   /* Symmetrische padding → even veel lucht boven als onder de pill (≈8px),
    17      gecentreerd tussen de twee lijnen. */
     16  /* Symmetric padding → equal space above and below the pill (≈8px),
     17     centred between the two dividing lines. */
    1818  padding: 0.5rem 1rem;
    1919  max-width: 1200px; margin: 0 auto;
     
    3636}
    3737.view-switch-btn:hover { color: var(--ink); }
    38 /* Actief = wit (lichte achtergrond, donkere tekst). Via aria-selected (element-
    39    attribuut, door syncAria gezet + op htmx:afterSettle) → htmx-robuust. Op niet-
    40    feed-pagina's zet syncAria aria-selected=false → beide grijs. */
     38/* Active = white (light background, dark text). Via aria-selected (element
     39   attribute, set by syncAria + on htmx:afterSettle) → htmx-robust. On non-
     40   feed pages syncAria sets aria-selected=false → both grey. */
    4141.view-switch-btn[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
    4242
    43 /* Agenda = een EIGEN pill (los van Tijdlijn/Grid, zodat de feed-toggle nooit
    44    verstoord raakt). Zelfde look als de view-switcher-pill. Zichtbaar in alle modi. */
    45 .agenda-pill { display: inline-flex; align-items: center; }   /* geen box — losse icoon+tekst link */
     43/* Agenda = its OWN pill (separate from Timeline/Grid, so the feed-toggle is never
     44   disturbed). Same look as the view-switcher pill. Visible in all modes. */
     45.agenda-pill { display: inline-flex; align-items: center; }   /* no box — standalone icon+text link */
    4646.vs-agenda {
    4747  display: inline-flex; align-items: center; gap: 0.4rem;
     
    5353}
    5454.vs-agenda:hover { color: var(--ink); }
    55 /* Actief (op de agendapagina) = helder/wit. Element-class (in de OOB-gerenderde
    56    chrome) i.p.v. body-class-CSS → werkt betrouwbaar ook na htmx-navigatie. */
     55/* Active (on the agenda page) = bright/white. Element-class (in the OOB-rendered
     56   chrome) rather than body-class CSS → stays reliable after htmx navigation. */
    5757.vs-agenda.is-active { color: var(--ink); font-weight: 600; }
    5858
    59 /* Mobiel: Agenda op een eigen rij bovenaan, en Solo/Cirkel + Tijdlijn/Grid samen
    60    op de rij eronder (samen ~330px → past binnen een telefoon, i.p.v. de oude
    61    onevenwichtige split Agenda+Solo / Tijdlijn). */
     59/* Mobile: Agenda on its own row at the top, Solo/Circle + Timeline/Grid together
     60   on the row below (together ~330px → fits within a phone, instead of the old
     61   unbalanced split Agenda+Solo / Timeline). */
    6262@media (max-width: 520px) {
    6363  .view-switcher-wrap .agenda-pill { flex: 0 0 100%; justify-content: center; }
     
    9292.on-admin .view-switcher-wrap { display: none; }
    9393
    94 /* Op een losse post is er geen feed om te schakelen, dus geen knop hoort "actief"
    95    (gekleurd) te ogen. De actieve staat zit in style.css op body[data-feed-view]
    96    / body[data-grid-cols] (background:var(--ink)); we overrulen die SPECIFIEKER
    97    via body.on-post zodat de knoppen neutraal/grijs worden — maar wél klikbaar
    98    blijven (de klik-handler navigeert dan naar de feed in die weergave). De
    99    body-class wisselt client-side bij HTMX-nav, dus dit werkt ook zonder reload. */
     94/* On a standalone post there is no feed to switch, so no button should look "active"
     95   (coloured). The active state lives in style.css on body[data-feed-view]
     96   / body[data-grid-cols] (background:var(--ink)); we override that MORE SPECIFICALLY
     97   via body.on-post so the buttons become neutral/grey — but remain clickable
     98   (the click-handler then navigates to the feed in that view). The
     99   body-class switches client-side on HTMX-nav, so this works without a reload too. */
    100100body.on-post[data-feed-view="timeline"] .view-switch-btn[data-view="timeline"],
    101101body.on-post[data-feed-view="grid"] .view-switch-btn[data-view="grid"],
Note: See TracChangeset for help on using the changeset viewer.