fix: ♿ add title for mute and play button
This commit is contained in:
parent
407c93ae49
commit
de52f111c5
@ -22,6 +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",
|
||||
"Pause" : "Pause",
|
||||
"Mute" : "Stumm",
|
||||
"Unmute" : "Stummschalten",
|
||||
"Export subscriptions" : "Abonnements exportieren",
|
||||
"Filtering episodes" : "Folgen filtern",
|
||||
"Show all" : "Zeige alles",
|
||||
|
@ -20,6 +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",
|
||||
"Pause" : "Pause",
|
||||
"Mute" : "Stumm",
|
||||
"Unmute" : "Stummschalten",
|
||||
"Export subscriptions" : "Abonnements exportieren",
|
||||
"Filtering episodes" : "Folgen filtern",
|
||||
"Show all" : "Zeige alles",
|
||||
|
@ -22,6 +22,7 @@ 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",
|
||||
"Pause" : "Pause",
|
||||
"Export subscriptions" : "Exporter les abonnements",
|
||||
"Filtering episodes" : "Filtrage des épisodes",
|
||||
"Show all" : "Montrer tout",
|
||||
|
@ -20,6 +20,7 @@
|
||||
"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",
|
||||
"Pause" : "Pause",
|
||||
"Export subscriptions" : "Exporter les abonnements",
|
||||
"Filtering episodes" : "Filtrage des épisodes",
|
||||
"Show all" : "Montrer tout",
|
||||
|
@ -1,7 +1,17 @@
|
||||
<template>
|
||||
<div class="controls">
|
||||
<PauseIcon v-if="!paused" class="pointer" :size="50" @click="pause" />
|
||||
<PlayIcon v-if="paused" class="pointer" :size="50" @click="play" />
|
||||
<PauseIcon
|
||||
v-if="!paused"
|
||||
class="pointer"
|
||||
:size="50"
|
||||
:title="t('repod', 'Pause')"
|
||||
@click="pause" />
|
||||
<PlayIcon
|
||||
v-if="paused"
|
||||
class="pointer"
|
||||
:size="50"
|
||||
:title="t('repod', 'Play')"
|
||||
@click="play" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -9,6 +19,7 @@
|
||||
import { mapActions, mapState } from 'pinia'
|
||||
import PauseIcon from 'vue-material-design-icons/Pause.vue'
|
||||
import PlayIcon from 'vue-material-design-icons/Play.vue'
|
||||
import { t } from '@nextcloud/l10n'
|
||||
import { usePlayer } from '../../store/player.ts'
|
||||
|
||||
export default {
|
||||
@ -22,6 +33,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
...mapActions(usePlayer, ['play', 'pause']),
|
||||
t,
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
@ -4,21 +4,25 @@
|
||||
v-if="volume > 0.7"
|
||||
class="pointer"
|
||||
:size="30"
|
||||
:title="t('repod', 'Mute')"
|
||||
@click="mute" />
|
||||
<VolumeLowIcon
|
||||
v-if="volume > 0 && volume <= 0.3"
|
||||
class="pointer"
|
||||
:size="30"
|
||||
:title="t('repod', 'Mute')"
|
||||
@click="mute" />
|
||||
<VolumeMediumIcon
|
||||
v-if="volume > 0.3 && volume <= 0.7"
|
||||
class="pointer"
|
||||
:size="30"
|
||||
:title="t('repod', 'Mute')"
|
||||
@click="mute" />
|
||||
<VolumeMuteIcon
|
||||
v-if="volume === 0"
|
||||
class="pointer"
|
||||
:size="30"
|
||||
:title="t('repod', 'Unmute')"
|
||||
@click="setVolume(volumeMuted)" />
|
||||
<input
|
||||
max="1"
|
||||
@ -39,6 +43,7 @@ import VolumeHighIcon from 'vue-material-design-icons/VolumeHigh.vue'
|
||||
import VolumeLowIcon from 'vue-material-design-icons/VolumeLow.vue'
|
||||
import VolumeMediumIcon from 'vue-material-design-icons/VolumeMedium.vue'
|
||||
import VolumeMuteIcon from 'vue-material-design-icons/VolumeMute.vue'
|
||||
import { t } from '@nextcloud/l10n'
|
||||
import { usePlayer } from '../../store/player.ts'
|
||||
|
||||
export default {
|
||||
@ -61,6 +66,7 @@ export default {
|
||||
this.volumeMuted = this.volume
|
||||
this.setVolume(0)
|
||||
},
|
||||
t,
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
@ -103,6 +103,15 @@ msgstr "Kann den Status der Folge nicht ändern"
|
||||
msgid "Could not fetch episodes"
|
||||
msgstr "Folgen können nicht abgerufen werden"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "Pause"
|
||||
|
||||
msgid "Mute"
|
||||
msgstr "Stumm"
|
||||
|
||||
msgid "Unmute"
|
||||
msgstr "Stummschalten"
|
||||
|
||||
msgid "Export subscriptions"
|
||||
msgstr "Abonnements exportieren"
|
||||
|
||||
|
@ -107,6 +107,15 @@ msgstr "Impossible de changer le status de l'épisode"
|
||||
msgid "Could not fetch episodes"
|
||||
msgstr "Impossible de récuprer les épisodes"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "Pause"
|
||||
|
||||
msgid "Mute"
|
||||
msgstr ""
|
||||
|
||||
msgid "Unmute"
|
||||
msgstr ""
|
||||
|
||||
msgid "Export subscriptions"
|
||||
msgstr "Exporter les abonnements"
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Nextcloud 3.14159\n"
|
||||
"Report-Msgid-Bugs-To: translations\\@example.com\n"
|
||||
"POT-Creation-Date: 2024-10-24 21:38+0000\n"
|
||||
"POT-Creation-Date: 2024-10-25 14:50+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -101,6 +101,7 @@ msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:15
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:16
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:30
|
||||
msgid "Play"
|
||||
msgstr ""
|
||||
|
||||
@ -130,92 +131,106 @@ msgid "Could not fetch episodes"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:29
|
||||
msgid "Export subscriptions"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:30
|
||||
msgid "Filtering episodes"
|
||||
msgid "Pause"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:31
|
||||
msgid "Show all"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:32
|
||||
msgid "Listened"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:33
|
||||
msgid "Listening"
|
||||
msgid "Mute"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:34
|
||||
msgid "Unlistened"
|
||||
msgid "Unmute"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:35
|
||||
msgid "Import subscriptions"
|
||||
msgid "Export subscriptions"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:36
|
||||
msgid "Import OPML file"
|
||||
msgid "Filtering episodes"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:37
|
||||
msgid "Rate RePod ❤️"
|
||||
msgid "Show all"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:38
|
||||
msgid "Playback speed"
|
||||
msgid "Listened"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:39
|
||||
msgid "Listening"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:40
|
||||
msgid "Unlistened"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:41
|
||||
msgid "Favorite"
|
||||
msgid "Import subscriptions"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:42
|
||||
msgid "Are you sure you want to delete this subscription?"
|
||||
msgid "Import OPML file"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:43
|
||||
msgid "Error while removing the feed"
|
||||
msgid "Rate RePod ❤️"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:44
|
||||
msgid "You can only have 10 favorites"
|
||||
msgid "Playback speed"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:45
|
||||
msgid "Add a podcast"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:46
|
||||
msgid "Could not fetch subscriptions"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:47
|
||||
msgid "Find a podcast"
|
||||
msgid "Favorite"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:48
|
||||
msgid "Error loading feed"
|
||||
msgid "Are you sure you want to delete this subscription?"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:49
|
||||
msgid "Missing required app"
|
||||
msgid "Error while removing the feed"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:50
|
||||
msgid "Install GPodder Sync"
|
||||
msgid "You can only have 10 favorites"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:51
|
||||
msgid "Pin some subscriptions to see their latest updates"
|
||||
msgid "Add a podcast"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:52
|
||||
msgid "Could not fetch subscriptions"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:53
|
||||
msgid "Find a podcast"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:54
|
||||
msgid "Error loading feed"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:55
|
||||
msgid "Missing required app"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:56
|
||||
msgid "Install GPodder Sync"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:57
|
||||
msgid "Pin some subscriptions to see their latest updates"
|
||||
msgstr ""
|
||||
|
||||
#: /app/specialVueFakeDummyForL10nScript.js:58
|
||||
msgid "No favorites"
|
||||
msgstr ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user