From 827247e1ec8c0e74de55126d87057c5b0e82a1e0 Mon Sep 17 00:00:00 2001 From: SimolZimol <70102430+SimolZimol@users.noreply.github.com> Date: Wed, 4 Jun 2025 18:08:18 +0200 Subject: [PATCH] modified: locales/de-DE.json modified: locales/en-EN.json modified: templates/playlists.html --- locales/de-DE.json | 7 ++++++- locales/en-EN.json | 5 +++++ templates/playlists.html | 12 ++++++------ 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/locales/de-DE.json b/locales/de-DE.json index ea5a84e..d3c135e 100644 --- a/locales/de-DE.json +++ b/locales/de-DE.json @@ -46,5 +46,10 @@ "generate_link": "Link generieren", "invite_link": "Einladungslink:", "copy_link": "Link kopieren", - "copied": "Kopiert!" + "copied": "Kopiert!", + "referral_link": "Einladungslink", + "referral_duration": "Link gültig für (Minuten):", + "generate_referral": "Einladungslink generieren", + "referral_link_label": "Dein Einladungslink:", + "copy_referral_link": "Link kopieren" } \ No newline at end of file diff --git a/locales/en-EN.json b/locales/en-EN.json index e02a832..d1aab5e 100644 --- a/locales/en-EN.json +++ b/locales/en-EN.json @@ -46,5 +46,10 @@ "generate_link": "Generate Link", "invite_link": "Invite Link:", "copy_link": "Copy Link", + "referral_link": "Referral Link", + "referral_duration": "Link valid for (minutes):", + "generate_referral": "Generate Referral Link", + "referral_link_label": "Your referral link:", + "copy_referral_link": "Copy Referral Link", "copied": "Copied!" } \ No newline at end of file diff --git a/templates/playlists.html b/templates/playlists.html index 4ba96f2..987cc24 100644 --- a/templates/playlists.html +++ b/templates/playlists.html @@ -144,7 +144,7 @@
@@ -173,14 +173,14 @@
× -

{{ translations['invite_guest'] if translations['invite_guest'] else 'Invite Guest' }}

- +

{{ translations['referral_link'] if translations['referral_link'] else 'Referral Link' }}

+
- +
- +
@@ -213,7 +213,7 @@ function copyInviteLink() { document.execCommand('copy'); document.getElementById('copyInviteBtn').innerText = "{{ translations['copied'] if translations['copied'] else 'Copied!' }}"; setTimeout(() => { - document.getElementById('copyInviteBtn').innerText = "{{ translations['copy_link'] if translations['copy_link'] else 'Copy Link' }}"; + document.getElementById('copyInviteBtn').innerText = "{{ translations['copy_referral_link'] if translations['copy_referral_link'] else 'Copy Referral Link' }}"; }, 1200); }