From e9166ff307d96afae7520d37a6a6a61dcfc97d22 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sat, 9 Nov 2024 19:42:17 +0100 Subject: [PATCH] feat: :sparkles: Sleep timer (fix #119) --- l10n/de.js | 4 + l10n/de.json | 4 + l10n/fr.js | 4 + l10n/fr.json | 4 + src/components/Settings/Filters.vue | 1 - src/components/Settings/Settings.vue | 3 + src/components/Settings/Sleep.vue | 103 ++++++++++++++++++++++++ src/components/Sidebar/Subscription.vue | 10 +-- translationfiles/de/repod.po | 16 ++++ translationfiles/fr/repod.po | 16 ++++ translationfiles/templates/repod.pot | 59 +++++++++----- 11 files changed, 198 insertions(+), 26 deletions(-) create mode 100644 src/components/Settings/Sleep.vue diff --git a/l10n/de.js b/l10n/de.js index 169ee57..1418615 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -36,6 +36,10 @@ OC.L10N.register( "Import subscriptions" : "Importiere Abonnements", "Import OPML file" : "Importiere OPML-Datei", "Rate RePod ❤️" : "Bewerte RePod ❤️", + "Sleep timer" : "Einschlaftimer", + "Minutes" : "Minuten", + "_%n min_::_%n mins_" : ["%n min","%n mins"], + "_%n sec_::_%n secs_" : ["%s sec","%n secs"], "Playback speed" : "Wiedergabegeschwindigkeit", "Favorite" : "Favorit", "Are you sure you want to delete this subscription?" : "Bist Du sicher, dass Du das Abonnement löschen möchtest?", diff --git a/l10n/de.json b/l10n/de.json index 2970774..a8cf292 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -34,6 +34,10 @@ "Import subscriptions" : "Importiere Abonnements", "Import OPML file" : "Importiere OPML-Datei", "Rate RePod ❤️" : "Bewerte RePod ❤️", + "Sleep timer" : "Einschlaftimer", + "Minutes" : "Minuten", + "_%n min_::_%n mins_" : ["%n min","%n mins"], + "_%n sec_::_%n secs_" : ["%s sec","%n secs"], "Playback speed" : "Wiedergabegeschwindigkeit", "Favorite" : "Favorit", "Are you sure you want to delete this subscription?" : "Bist Du sicher, dass Du das Abonnement löschen möchtest?", diff --git a/l10n/fr.js b/l10n/fr.js index 08b1de2..07add49 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -36,6 +36,10 @@ OC.L10N.register( "Import subscriptions" : "Importer les abonnements", "Import OPML file" : "Importer un fichier OPML", "Rate RePod ❤️" : "Donnez votre avis ❤️", + "Sleep timer" : "Minuteur", + "Minutes" : "Minutes", + "_%n min_::_%n mins_" : ["%n min","%n mins"], + "_%n sec_::_%n secs_" : ["%s sec","%n secs"], "Playback speed" : "Vitesse de lecture", "Favorite" : "Favori", "Are you sure you want to delete this subscription?" : "Êtes-vous sûr de vouloir supprimer ce flux ?", diff --git a/l10n/fr.json b/l10n/fr.json index c0505fd..bd230fc 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -34,6 +34,10 @@ "Import subscriptions" : "Importer les abonnements", "Import OPML file" : "Importer un fichier OPML", "Rate RePod ❤️" : "Donnez votre avis ❤️", + "Sleep timer" : "Minuteur", + "Minutes" : "Minutes", + "_%n min_::_%n mins_" : ["%n min","%n mins"], + "_%n sec_::_%n secs_" : ["%s sec","%n secs"], "Playback speed" : "Vitesse de lecture", "Favorite" : "Favori", "Are you sure you want to delete this subscription?" : "Êtes-vous sûr de vouloir supprimer ce flux ?", diff --git a/src/components/Settings/Filters.vue b/src/components/Settings/Filters.vue index 91c816d..42b4c37 100644 --- a/src/components/Settings/Filters.vue +++ b/src/components/Settings/Filters.vue @@ -1,6 +1,5 @@