From 8cb58fe3885da7427b3e82f0360a8fdb892d7431 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sat, 9 Nov 2024 00:28:19 +0100 Subject: [PATCH] feat: :sparkles: Skip back or forward (fix #159) --- l10n/de.js | 2 + l10n/de.json | 2 + l10n/fr.js | 2 + l10n/fr.json | 2 + package.json | 4 +- src/components/Player/Controls.vue | 25 ++++++++++- translationfiles/de/repod.po | 6 +++ translationfiles/fr/repod.po | 6 +++ translationfiles/templates/repod.pot | 62 ++++++++++++++++------------ 9 files changed, 81 insertions(+), 30 deletions(-) diff --git a/l10n/de.js b/l10n/de.js index ceb7b56..169ee57 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -22,7 +22,9 @@ OC.L10N.register( "Open website" : "Webseite aufrufen", "Could not change the status of the episode" : "Kann den Status der Folge nicht ändern", "Could not fetch episodes" : "Folgen können nicht abgerufen werden", + "Rewind 10 seconds" : "10 Sekunden zurückspulen", "Pause" : "Pause", + "Fast forward 30 seconds" : "30 Sekunden vorspulen", "Mute" : "Stumm", "Unmute" : "Stummschalten", "Export subscriptions" : "Abonnements exportieren", diff --git a/l10n/de.json b/l10n/de.json index 67d38bd..2970774 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -20,7 +20,9 @@ "Open website" : "Webseite aufrufen", "Could not change the status of the episode" : "Kann den Status der Folge nicht ändern", "Could not fetch episodes" : "Folgen können nicht abgerufen werden", + "Rewind 10 seconds" : "10 Sekunden zurückspulen", "Pause" : "Pause", + "Fast forward 30 seconds" : "30 Sekunden vorspulen", "Mute" : "Stumm", "Unmute" : "Stummschalten", "Export subscriptions" : "Abonnements exportieren", diff --git a/l10n/fr.js b/l10n/fr.js index af81ac4..08b1de2 100644 --- a/l10n/fr.js +++ b/l10n/fr.js @@ -22,7 +22,9 @@ OC.L10N.register( "Open website" : "Ouvrir le site web", "Could not change the status of the episode" : "Impossible de changer le status de l'épisode", "Could not fetch episodes" : "Impossible de récuprer les épisodes", + "Rewind 10 seconds" : "Retour rapide de 10 secondes", "Pause" : "Pause", + "Fast forward 30 seconds" : "Avance rapide de 30 secondes", "Mute" : "Silencer", "Unmute" : "Paroler", "Export subscriptions" : "Exporter les abonnements", diff --git a/l10n/fr.json b/l10n/fr.json index 6a98559..c0505fd 100644 --- a/l10n/fr.json +++ b/l10n/fr.json @@ -20,7 +20,9 @@ "Open website" : "Ouvrir le site web", "Could not change the status of the episode" : "Impossible de changer le status de l'épisode", "Could not fetch episodes" : "Impossible de récuprer les épisodes", + "Rewind 10 seconds" : "Retour rapide de 10 secondes", "Pause" : "Pause", + "Fast forward 30 seconds" : "Avance rapide de 30 secondes", "Mute" : "Silencer", "Unmute" : "Paroler", "Export subscriptions" : "Exporter les abonnements", diff --git a/package.json b/package.json index 33432de..bf12b80 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "dev": "vite --mode development build", "watch": "vite --mode development build --watch", "lint": "vue-tsc && eslint src", - "stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css" + "lint:fix": "vue-tsc && eslint src --fix", + "stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css", + "stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix" }, "type": "module", "browserslist": [ diff --git a/src/components/Player/Controls.vue b/src/components/Player/Controls.vue index 10360ad..f3099bd 100644 --- a/src/components/Player/Controls.vue +++ b/src/components/Player/Controls.vue @@ -1,5 +1,10 @@