This commit is contained in:
bkfox 2020-01-30 20:13:18 +01:00
parent 078a90f09a
commit c9c138eaed
4 changed files with 30 additions and 18 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Aircox 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-01-06 14:14+0100\n"
"POT-Creation-Date: 2020-01-30 20:12+0100\n"
"PO-Revision-Date: 2016-10-10 16:00+02\n"
"Last-Translator: Aarys\n"
"Language-Team: Aircox's translators team\n"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-01-06 14:15+0100\n"
"POT-Creation-Date: 2020-01-30 20:13+0100\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"
@ -56,63 +56,67 @@ msgid ""
"file as raw code; plugin related"
msgstr ""
#: templates/aircox_streamer/source_item.html:19
#: templates/aircox_streamer/source_item.html:18
msgid "Edit related program"
msgstr ""
#: templates/aircox_streamer/source_item.html:27
msgid "Synchronize source with Liquidsoap"
msgstr ""
#: templates/aircox_streamer/source_item.html:23
#: templates/aircox_streamer/source_item.html:31
msgid "Synchronise"
msgstr ""
#: templates/aircox_streamer/source_item.html:26
#: templates/aircox_streamer/source_item.html:34
msgid "Restart current track"
msgstr ""
#: templates/aircox_streamer/source_item.html:30
#: templates/aircox_streamer/source_item.html:38
msgid "Restart"
msgstr ""
#: templates/aircox_streamer/source_item.html:33
#: templates/aircox_streamer/source_item.html:41
msgid "Skip current file"
msgstr ""
#: templates/aircox_streamer/source_item.html:34
#: templates/aircox_streamer/source_item.html:42
msgid "Skip"
msgstr ""
#: templates/aircox_streamer/source_item.html:43
#: templates/aircox_streamer/source_item.html:51
msgid "Add sound"
msgstr ""
#: templates/aircox_streamer/source_item.html:51
#: templates/aircox_streamer/source_item.html:59
msgid "Select a sound"
msgstr ""
#: templates/aircox_streamer/source_item.html:53
#: templates/aircox_streamer/source_item.html:61
msgid "Add a sound to the queue (queue may start playing)"
msgstr ""
#: templates/aircox_streamer/source_item.html:62
#: templates/aircox_streamer/source_item.html:70
msgid "Add"
msgstr ""
#: templates/aircox_streamer/source_item.html:68
#: templates/aircox_streamer/source_item.html:76
msgid "Sounds in queue"
msgstr ""
#: templates/aircox_streamer/source_item.html:86
#: templates/aircox_streamer/source_item.html:94
msgid "Status"
msgstr ""
#: templates/aircox_streamer/source_item.html:96
#: templates/aircox_streamer/source_item.html:104
msgid "Air time"
msgstr ""
#: templates/aircox_streamer/source_item.html:106
#: templates/aircox_streamer/source_item.html:114
msgid "Time left"
msgstr ""
#: templates/aircox_streamer/source_item.html:114
#: templates/aircox_streamer/source_item.html:122
msgid "Data source"
msgstr ""

View File

@ -46,7 +46,7 @@ class SourceSerializer(BaseMetadataSerializer):
class PlaylistSerializer(SourceSerializer):
program = serializers.CharField(source='program.title')
program = serializers.CharField(source='program.id')
url_name = 'admin:api:streamer-playlist-detail'

View File

@ -11,6 +11,14 @@
[[ source.id ]]
<small v-if="source.isPaused || source.isPlaying">(-[[ source.remainingString ]])</small>
<a v-if="source.data.program !== undefined"
:href="'{% url 'admin:aircox_program_change' "$$" %}'.replace('$$', source.data.program)"
title="{% trans "Edit related program" %}">
<span class="icon">
<span class="fas fa-edit"></span>
</span>
</a>
</h5>
<div>