From d4fd4e21345cb6bf86c7b969de35bc1a80bc8923 Mon Sep 17 00:00:00 2001 From: vrifox Date: Tue, 18 Jul 2023 16:55:59 +0200 Subject: [PATCH] add t/string for playlist saving --- src/components/Search.vue | 2 +- src/locales/de.json | 3 ++- src/locales/en.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Search.vue b/src/components/Search.vue index 4ba39cd..48fe08e 100644 --- a/src/components/Search.vue +++ b/src/components/Search.vue @@ -94,7 +94,7 @@ const shuffleAdd = () => { title += ' - ' + results.items.songs.items[0].uploaderName; useCreatePlaylist(title, urls, () => { - alert('Saved!'); + alert(t('info.saved')); }); } }, diff --git a/src/locales/de.json b/src/locales/de.json index ef50450..c798c11 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -66,7 +66,8 @@ "info": { "no_info": "Keine Informationen verfügbar", "see_all": "Alle sehen", - "search": "Suche starten" + "search": "Suche starten", + "saved": "Gespeichert!" }, "instances": { "up_to_date": "Aktuell", diff --git a/src/locales/en.json b/src/locales/en.json index c166b9c..8573c95 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -66,7 +66,8 @@ "info": { "see_all": "See All", "search": "Start Searching", - "no_info": "No Information Available" + "no_info": "No Information Available", + "saved": "Saved!" }, "instances": { "hyp": "Hyperpipe Instance",