Added context strings

This commit is contained in:
Jo Vuit 2019-02-11 16:01:13 +01:00
parent 1e21f13ab9
commit 51514944a3
1 changed files with 5 additions and 5 deletions

View File

@ -24,15 +24,15 @@
</router-link>
<dangerous-button class="labeled icon" :action="deleteRadio">
<i class="trash icon"></i> Delete
<p slot="modal-header"><translate :translate-params="{radio: radio.name}">Do you want to delete the radio "%{ radio }"?</translate></p>
<p slot="modal-content"><translate>This will completely delete this radio and cannot be undone.</translate></p>
<p slot="modal-confirm"><translate>Delete radio</translate></p>
<p slot="modal-header"><translate :translate-context="'Popup/Radio/Title'" :translate-params="{radio: radio.name}">Do you want to delete the radio "%{ radio }"?</translate></p>
<p slot="modal-content"><translate :translate-context="'Popup/Radio/Paragraph'">This will completely delete this radio and cannot be undone.</translate></p>
<p slot="modal-confirm"><translate :translate-context="'Popup/Radio/Button.Label/Verb'">Delete radio</translate></p>
</dangerous-button>
</template>
</div>
</section>
<section class="ui vertical stripe segment">
<h2><translate>Tracks</translate></h2>
<h2><translate :translate-context="'Content/*/*'">Tracks</translate></h2>
<track-table :tracks="tracks"></track-table>
<div class="ui center aligned basic segment">
<pagination
@ -77,7 +77,7 @@ export default {
computed: {
labels() {
return {
title: this.$gettext("Radio")
title: this.$pgettext('Head/Radio/Title', "Radio")
}
}
},