Changeset 7cc58bb in Klonkt
- Timestamp:
- 06/25/2026 06:28:10 PM (3 months ago)
- Branches:
- main
- Children:
- 44da3ee
- Parents:
- f0c3f83
- Location:
- src
- Files:
-
- 3 edited
-
routes/admin-patreon.js (modified) (1 diff)
-
services/PatreonService.js (modified) (2 diffs)
-
services/i18n.js (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/admin-patreon.js
rf0c3f83 r7cc58bb 37 37 const cents = Number(klonkt_support_cents || 0); 38 38 const msg = klonkt_error === 'not_entitled' 39 ? `Patreon gekoppeld, maar nog geen $10 lifetime (nu $${(cents / 100).toFixed(2)}). Steun de campagne en koppel opnieuw.`39 ? `Patreon gekoppeld, maar nog geen €14 (≈ $16) lifetime (nu ${(cents / 100).toFixed(2)} aan steun). Steun de campagne en koppel opnieuw.` 40 40 : 'Patreon-koppeling mislukt.'; 41 41 return res.redirect('/admin/settings?error=' + encodeURIComponent(msg)); -
src/services/PatreonService.js
rf0c3f83 r7cc58bb 4 4 // extras (newsletter, download-for-email, release planning + fan-only posts, 5 5 // EPK/press kit, pro statistics, link-in-bio, embeddable player, show agenda) 6 // is gated behind a $10lifetime Patreon supporter status. The central license6 // is gated behind a €14 lifetime Patreon supporter status. The central license 7 7 // server (license.klonkt.com) 8 8 // checks Patreon and signs an Ed25519 JWT "entitlement token". THIS instance … … 10 10 // self-host cannot forge a valid token (only the license server can sign). 11 11 // That is the real lock; feature flags themselves can be patched on self-host 12 // (deliberately accepted: $10< effort to crack).12 // (deliberately accepted: €14 < effort to crack). 13 13 // 14 14 // Premium is OFF by default (KLONKT_PREMIUM_ENABLED != 'on'): no premium UI -
src/services/i18n.js
rf0c3f83 r7cc58bb 167 167 'aset.premium': 'Premium (Patreon)', 168 168 'aset.premium_help_1': 'Ontgrendel de premium-modules (Hub-modus, Statistieken, Fan-login, Prutter-DMs) met je', 169 'aset.premium_lifetime': ' $10-lifetime',169 'aset.premium_lifetime': '€14-lifetime', 170 170 'aset.premium_help_2': 'Patreon-steun. De app en alle updates blijven gratis.', 171 171 'aset.premium_active': 'Premium actief.', 172 172 'aset.lifetime_support': 'Lifetime-steun:', 173 173 'aset.patreon_disconnect': 'Patreon ontkoppelen', 174 'aset.patreon_no_lifetime': 'Patreon gekoppeld, maar nog geen $10lifetime',174 'aset.patreon_no_lifetime': 'Patreon gekoppeld, maar nog geen €14 lifetime', 175 175 'aset.now': 'nu', 176 176 'aset.patreon_support_again': 'Steun de campagne en koppel opnieuw.', … … 689 689 'ahelp.s_fedi_b': 'Je posts verschijnen automatisch op de fediverse: mensen op Mastodon (of een andere Klonkt) kunnen je <strong>volgen, liken, boosten en reageren</strong> — dat zie je onder een post bij "Vanuit de fediverse". Via Beheer → <strong>Tijdlijn</strong> volg je accounts en lees je hun berichten; <strong>Meldingen</strong> en <strong>Blokkeren</strong> zitten daar ook. De ⭐ op een post laat bezoekers het liken vanaf hun eigen fediverse-account.', 690 690 'ahelp.s_premium_h': 'Premium / Patreon', 691 'ahelp.s_premium_b': 'Premium-functies (Statistieken, Agenda, Downloads, Perskit, Nieuwsbrief, Link-in-bio, Embed) ontgrendel je in Beheer → Instellingen door Patreon te koppelen ( $10lifetime). Updates en de kernapp blijven altijd gratis.',691 'ahelp.s_premium_b': 'Premium-functies (Statistieken, Agenda, Downloads, Perskit, Nieuwsbrief, Link-in-bio, Embed) ontgrendel je in Beheer → Instellingen door Patreon te koppelen (€14 lifetime). Updates en de kernapp blijven altijd gratis.', 692 692 'ahelp.s_google_h': 'Google-login (bezoekers)', 693 693 'ahelp.s_google_b': 'Beheer → Instellingen → <strong>Google</strong>. Optioneel: laat bezoekers/fans met Google inloggen om te reageren. Jij beheert met je wachtwoord — Google geeft nooit beheerrechten. Vul je eigen Google-client-gegevens in (per site).', … … 1165 1165 'aset.premium': 'Premium (Patreon)', 1166 1166 'aset.premium_help_1': 'Unlock the premium modules (Hub mode, Statistics, Fan login, Prutter DMs) with your', 1167 'aset.premium_lifetime': ' $10lifetime',1167 'aset.premium_lifetime': '€14 lifetime', 1168 1168 'aset.premium_help_2': 'Patreon support. The app and all updates stay free.', 1169 1169 'aset.premium_active': 'Premium active.', 1170 1170 'aset.lifetime_support': 'Lifetime support:', 1171 1171 'aset.patreon_disconnect': 'Disconnect Patreon', 1172 'aset.patreon_no_lifetime': 'Patreon connected, but no $10lifetime yet',1172 'aset.patreon_no_lifetime': 'Patreon connected, but no €14 lifetime yet', 1173 1173 'aset.now': 'now', 1174 1174 'aset.patreon_support_again': 'Support the campaign and reconnect.', … … 1687 1687 'ahelp.s_fedi_b': 'Your posts appear on the fediverse automatically: people on Mastodon (or another Klonkt) can <strong>follow, like, boost and reply</strong> — you see those under a post in "From the fediverse". From Admin → <strong>Timeline</strong> you follow accounts and read their posts; <strong>Notifications</strong> and <strong>Blocking</strong> live there too. The ⭐ on a post lets visitors like it from their own fediverse account.', 1688 1688 'ahelp.s_premium_h': 'Premium / Patreon', 1689 'ahelp.s_premium_b': 'You unlock premium features (Statistics, Agenda, Downloads, Press kit, Newsletter, Link-in-bio, Embed) in Admin → Settings by connecting Patreon ( $10lifetime). Updates and the core app always stay free.',1689 'ahelp.s_premium_b': 'You unlock premium features (Statistics, Agenda, Downloads, Press kit, Newsletter, Link-in-bio, Embed) in Admin → Settings by connecting Patreon (€14 lifetime). Updates and the core app always stay free.', 1690 1690 'ahelp.s_google_h': 'Google login (visitors)', 1691 1691 'ahelp.s_google_b': 'Admin → Settings → <strong>Google</strong>. Optional: let visitors/fans log in with Google to comment. You manage with your password — Google never grants admin rights. Enter your own Google client details (per site).', … … 2162 2162 'aset.premium': 'Premium (Patreon)', 2163 2163 'aset.premium_help_1': 'Schalte die Premium-Module (Hub-Modus, Statistiken, Fan-Login, Prutter-DMs) mit deiner', 2164 'aset.premium_lifetime': ' $10-Lifetime',2164 'aset.premium_lifetime': '€14-Lifetime', 2165 2165 'aset.premium_help_2': 'Patreon-Unterstützung frei. Die App und alle Updates bleiben kostenlos.', 2166 2166 'aset.premium_active': 'Premium aktiv.', 2167 2167 'aset.lifetime_support': 'Lifetime-Unterstützung:', 2168 2168 'aset.patreon_disconnect': 'Patreon trennen', 2169 'aset.patreon_no_lifetime': 'Patreon verbunden, aber noch keine $10Lifetime',2169 'aset.patreon_no_lifetime': 'Patreon verbunden, aber noch keine €14 Lifetime', 2170 2170 'aset.now': 'derzeit', 2171 2171 'aset.patreon_support_again': 'Unterstütze die Kampagne und verbinde erneut.', … … 2684 2684 'ahelp.s_fedi_b': 'Deine Beiträge erscheinen automatisch im Fediverse: Leute auf Mastodon (oder einem anderen Klonkt) können dir <strong>folgen, liken, teilen und antworten</strong> — das siehst du unter einem Beitrag bei "Aus dem Fediverse". Über Verwaltung → <strong>Timeline</strong> folgst du Konten und liest ihre Beiträge; <strong>Benachrichtigungen</strong> und <strong>Blockieren</strong> sind dort auch. Mit dem ⭐ an einem Beitrag liken Besucher ihn von ihrem eigenen Fediverse-Konto.', 2685 2685 'ahelp.s_premium_h': 'Premium / Patreon', 2686 'ahelp.s_premium_b': 'Premium-Funktionen (Statistiken, Termine, Downloads, Pressekit, Newsletter, Link-in-Bio, Embed) schaltest du in Verwaltung → Einstellungen frei, indem du Patreon verknüpfst ( $10lebenslang). Updates und die Kern-App bleiben immer kostenlos.',2686 'ahelp.s_premium_b': 'Premium-Funktionen (Statistiken, Termine, Downloads, Pressekit, Newsletter, Link-in-Bio, Embed) schaltest du in Verwaltung → Einstellungen frei, indem du Patreon verknüpfst (€14 lebenslang). Updates und die Kern-App bleiben immer kostenlos.', 2687 2687 'ahelp.s_google_h': 'Google-Login (Besucher)', 2688 2688 'ahelp.s_google_b': 'Verwaltung → Einstellungen → <strong>Google</strong>. Optional: Lass Besucher/Fans sich mit Google anmelden, um zu kommentieren. Du verwaltest mit deinem Passwort — Google gewährt nie Verwaltungsrechte. Trage deine eigenen Google-Client-Daten ein (pro Seite).',
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)