From 272c4918b061e20542a13e9fbcf539518bdc9e00 Mon Sep 17 00:00:00 2001 From: kristianwind Date: Thu, 27 Aug 2026 14:49:24 +0200 Subject: [PATCH] feat(settings): a quiet Buy me a coffee link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A donate link belongs in Settings and nowhere in the way — so it sits last, understated, below the device list. A plain anchor with an inline SVG cup: no third-party script, no webfont, no tracking, so it works offline and cannot phone home. Wording says the app is MIT with nothing held back and that nothing changes if you don't pay. Co-Authored-By: Claude Opus 4.8 --- web/src/lib/locales/da.js | 4 ++ web/src/lib/locales/en.js | 4 ++ web/src/routes/indstillinger/+page.svelte | 68 +++++++++++++++++++++++ 3 files changed, 76 insertions(+) diff --git a/web/src/lib/locales/da.js b/web/src/lib/locales/da.js index a15519d..9e7a17d 100644 --- a/web/src/lib/locales/da.js +++ b/web/src/lib/locales/da.js @@ -266,6 +266,10 @@ export const da = { 'Hvor du er logget ind. Genkender du ikke en af dem, så log den ud og skift adgangskode.', 'account.thisDevice': 'denne enhed', 'account.signOutDevice': 'Log ud', + 'account.support': 'Støt projektet', + 'account.supportHint': + 'verdande er fri, open source-software under MIT-licensen — ingen betalt version, intet holdt tilbage. Sparede den dig en eftermiddag, kan du give vedligeholderen en kop kaffe. Helt frivilligt, og intet i appen ændrer sig.', + 'account.buyCoffee': 'Buy me a coffee', 'account.totpEnabled': 'Slået til.', 'account.recoveryLeftOne': '{n} gendannelseskode tilbage.', diff --git a/web/src/lib/locales/en.js b/web/src/lib/locales/en.js index d04aea9..f6435f4 100644 --- a/web/src/lib/locales/en.js +++ b/web/src/lib/locales/en.js @@ -262,6 +262,10 @@ export const en = { 'Where you are signed in. If you do not recognise one, sign it out and change your password.', 'account.thisDevice': 'this device', 'account.signOutDevice': 'Sign out', + 'account.support': 'Support the project', + 'account.supportHint': + 'verdande is free, open-source software under the MIT licence — no paid tier, nothing held back. If it saved you an afternoon, you can buy the maintainer a coffee. Entirely optional, and nothing in the app changes either way.', + 'account.buyCoffee': 'Buy me a coffee', 'account.totpEnabled': 'On.', 'account.recoveryLeftOne': '{n} recovery code left.', diff --git a/web/src/routes/indstillinger/+page.svelte b/web/src/routes/indstillinger/+page.svelte index cfda6ce..2537b97 100644 --- a/web/src/routes/indstillinger/+page.svelte +++ b/web/src/routes/indstillinger/+page.svelte @@ -571,6 +571,42 @@ + +
+
+

{t('account.support')}

+

{t('account.supportHint')}

+
+ + + + {t('account.buyCoffee')} ↗ + +
+