Changeset 4885eab in Klonkt for src/views/pages/download.ejs


Ignore:
Timestamp:
06/21/2026 03:05:14 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
5e61b17
Parents:
bbf9d1a
Message:

feat(i18n phase 6): remaining public + other pages translated (NL/EN/DE)

post-edit, account, newsletter, download, press kit /pers, fan-gate, link-in-bio,
my-site, password-reset (2), artists directory, auth-login Google error map,
user/hub-home/circle-feed+post/viewer-blocked/home/favourites/changelog/404/
type/tag/archive/prutter (inbox+conversation). embed-player skipped (no t
in that standalone route). 1026 view-keys cross-checked → 0 missing.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/download.ejs

    rbbf9d1a r4885eab  
     1<%
     2  var _ready_h1     = t('dl.ready_title');
     3  var _ready_sub    = t('dl.ready_sub');
     4  var _manual       = t('dl.manual');
     5  var _capture_sub  = t('dl.capture_sub');
     6  var _email_ph     = t('dl.email_ph');
     7  var _download_btn = t('dl.download_btn');
     8%>
    19<%
    210  var t = (typeof dlTrack !== 'undefined') ? dlTrack : {};
     
    1523
    1624    <% if (st === 'ready') { %>
    17       <h1 class="dl-h1">Bedankt! ⬇</h1>
    18       <p class="dl-sub">Je download zou nu moeten starten. Gebeurt er niets?</p>
    19       <p><a class="dl-go" href="<%= fileUrl %>">Download handmatig starten</a></p>
     25      <h1 class="dl-h1"><%= _ready_h1 %></h1>
     26      <p class="dl-sub"><%= _ready_sub %></p>
     27      <p><a class="dl-go" href="<%= fileUrl %>"><%= _manual %></a></p>
    2028      <script>
    2129        // Auto-start de download (zelfde-origin attachment-link).
     
    2331      </script>
    2432    <% } else { %>
    25       <h1 class="dl-h1">Download <%= t.title %></h1>
    26       <p class="dl-sub">Laat je e-mailadres achter en je krijgt het bestand. Je komt dan ook op de nieuwsbrieflijst — uitschrijven kan altijd.</p>
     33      <h1 class="dl-h1"><%= _download_btn %> <%= t.title %></h1>
     34      <p class="dl-sub"><%= _capture_sub %></p>
    2735      <% if (typeof dlError !== 'undefined' && dlError) { %><p class="dl-err"><%= dlError %></p><% } %>
    2836      <form method="POST" action="<%= siteUrlBase %>/download/<%= t.id %>" class="dl-form">
    29         <input type="email" name="email" required placeholder="jouw@email.nl" value="<%= (typeof dlPrefill!=='undefined')?dlPrefill:'' %>" autocomplete="email">
    30         <button type="submit" class="dl-go">⬇ Download</button>
     37        <input type="email" name="email" required placeholder="<%= _email_ph %>" value="<%= (typeof dlPrefill!=='undefined')?dlPrefill:'' %>" autocomplete="email">
     38        <button type="submit" class="dl-go">⬇ <%= _download_btn %></button>
    3139      </form>
    3240    <% } %>
Note: See TracChangeset for help on using the changeset viewer.