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

    rbb42dfb r834bcc3  
    11/**
    22 * Admin: Updates (god-only).
    3  * Git-gebaseerde v1 voor instances die via de bare-repo draaien.
    4  *   GET  /admin/updates      -> huidige vs. nieuwste versie + status
    5  *   POST /admin/updates/run  -> haal nieuwste main op + herstart (detached script)
     3 * Git-based v1 for instances running from a bare repo.
     4 *   GET  /admin/updates      -> current vs. latest version + status
     5 *   POST /admin/updates/run  -> fetch latest main + restart (detached script)
    66 *
    7  * De instance kent z'n "huidige" commit uit .klonkt-version (door het script
    8  * geschreven) en de "nieuwste" uit de bare repo (KLONKT_GIT_DIR). Voor externe
    9  * self-hosters komt later een GESIGNEERDE release-feed (zie monetization-plan);
    10  * deze v1 is bewust simpel en alleen voor Robins eigen VPS-instances.
     7 * The instance knows its "current" commit from .klonkt-version (written by the
     8 * script) and the "latest" from the bare repo (KLONKT_GIT_DIR). For external
     9 * self-hosters a SIGNED release feed will follow later (see monetization plan);
     10 * this v1 is intentionally simple and only for Robin's own VPS instances.
    1111 */
    1212
     
    3737}
    3838
    39 // Laatste 5 commits op main = de "laatste wijzigingen" die je bij bijwerken krijgt.
     39// Last 5 commits on main = the "recent changes" you'll get when updating.
    4040function recentChanges() {
    4141  const out = git(['log', '-5', '--format=%s%x1f%cd', '--date=short', 'main']);
     
    7272  }
    7373  try {
    74     // Detached + losgekoppeld: overleeft de pm2-reload die deze app herstart.
     74    // Detached + unlinked: survives the pm2-reload that restarts this app.
    7575    const child = spawn('bash', [UPDATE_SCRIPT, process.cwd()], { detached: true, stdio: 'ignore' });
    7676    child.unref();
Note: See TracChangeset for help on using the changeset viewer.