Changeset 834bcc3 in Klonkt for src/views/pages/post.ejs


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/post.ejs

    rbb42dfb r834bcc3  
    11<%
    2 // In hub-mode is de site bereikbaar onder /user/<slug>; alle site-scoped links
    3 // (tag, edit, delete, comments) moeten met die prefix anders vallen ze terug op
    4 // de primaire site → 404 / verkeerde site. In solo is _base = ''.
     2// In hub mode the site is accessible under /user/<slug>; all site-scoped links
     3// (tag, edit, delete, comments) must carry that prefix otherwise they fall back
     4// to the primary site → 404 / wrong site. In solo mode _base = ''.
    55const _base = (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '';
    66%>
    77<article class="container post-page">
    88
    9   <%# Navigatie over ALLE posts — BOVEN de post (gedeeld partial). %>
     9  <%# Navigation across ALL posts — ABOVE the post (shared partial). %>
    1010  <%- include('../partials/post-nav', { newerPost: newerPost, olderPost: olderPost }) %>
    1111
     
    7979
    8080    <% if (typeof currentPath === 'string' && currentPath && currentPath.indexOf('/' + post.slug) === 0) { %>
    81       <% /* If the URL has ?pending=1, the previous submit landed in the queue */ %>
     81      <% /* If the URL has ?pending=1, the previous submit landed in the moderation queue */ %>
    8282    <% } %>
    8383    <script>
     
    164164                        </div>
    165165
    166                         <%# Reageren op een antwoord — landt (via resolvedParent op de
    167                             server) in dezelfde thread, dus 1 niveau diep blijft behouden. %>
     166                        <%# Replying to a reply — lands (via resolvedParent on the
     167                            server) in the same thread, so the 1-level depth is preserved. %>
    168168                        <% if (user && canMutate) { %>
    169169                          <form method="post" action="<%= _base %>/comments" class="comment-reply-form" hidden data-reply-form-for="<%= r.id %>">
     
    431431.comment-form button { align-self: flex-start; }
    432432.comment-reply-form-actions { display: flex; gap: 0.5rem; }
    433 /* Reply-formulier pas tonen NA klik op REPLY. De display:flex hierboven overschreef
    434    anders het [hidden]-attribuut → formulier stond altijd open. */
     433/* Show the reply form only AFTER clicking REPLY. The display:flex above would
     434   otherwise override the [hidden] attribute → form was always open. */
    435435.comment-reply-form[hidden] { display: none; }
    436 /* DELETE-knop zit in een <form>; display:contents laat 'm als directe flex-sibling
    437    van REPLY meedoen → pixel-perfecte uitlijning + gelijke gap. */
     436/* DELETE button is inside a <form>; display:contents makes it a direct flex-sibling
     437   of REPLY → pixel-perfect alignment + equal gap. */
    438438.comment-actions form { display: contents; }
    439439
Note: See TracChangeset for help on using the changeset viewer.