Commit 7d19392d authored by jovuit's avatar jovuit

Added context strings

parent 5f9be0b3
<h2><translate>Search for some music</translate></h2>
<h2><translate :translate-context="'Content/Search/Title'">Search for some music</translate></h2>
<div :class="['ui', {'loading': isLoading }, 'search']">
<div class="ui icon big input">
<i class="search icon"></i>
......@@ -8,22 +8,22 @@
<template v-if="query.length > 0">
<h3 class="ui title"><translate>Artists</translate></h3>
<h3 class="ui title"><translate :translate-context="'Content/Search/Title'">Artists</translate></h3>
<div v-if="results.artists.length > 0" class="ui stackable three column grid">
<div class="column" :key="" v-for="artist in results.artists">
<artist-card class="fluid" :artist="artist" ></artist-card>
<p v-else><translate>No artist matched your query</translate></p>
<p v-else><translate :translate-context="'Content/Search/Paragraph'">No artist matched your query</translate></p>
<template v-if="query.length > 0">
<h3 class="ui title"><translate>Albums</translate></h3>
<h3 class="ui title"><translate :translate-context="'Content/Search/Title'">Albums</translate></h3>
<div v-if="results.albums.length > 0" class="ui stackable three column grid">
<div class="column" :key="" v-for="album in results.albums">
<album-card class="fluid" :album="album" ></album-card>
<p v-else><translate>No album matched your query</translate></p>
<p v-else><translate :translate-context="'Content/Search/Paragraph'">No album matched your query</translate></p>
......@@ -62,7 +62,7 @@ export default {
computed: {
labels () {
return {
searchPlaceholder: this.$gettext('Artist, album, track…')
searchPlaceholder: this.$pgettext('*/Search/Input.Placeholder', 'Artist, album, track…')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment