From 3573ae6cc6cd61db022c5f326516f3992c70deb8 Mon Sep 17 00:00:00 2001
From: Jo Vuit <jo.vuitton@gmail.com>
Date: Mon, 11 Feb 2019 16:29:24 +0100
Subject: [PATCH] Added context strings

---
 front/src/components/audio/SearchBar.vue | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/front/src/components/audio/SearchBar.vue b/front/src/components/audio/SearchBar.vue
index 534ac0ac4..c1190f474 100644
--- a/front/src/components/audio/SearchBar.vue
+++ b/front/src/components/audio/SearchBar.vue
@@ -17,14 +17,14 @@ export default {
   computed: {
     labels () {
       return {
-        placeholder: this.$gettext('Search for artists, albums, tracks…')
+        placeholder: this.$pgettext('Sidebar/Search/Input.Placeholder', 'Search for artists, albums, tracks…')
       }
     }
   },
   mounted () {
-    let artistLabel = this.$gettext('Artist')
-    let albumLabel = this.$gettext('Album')
-    let trackLabel = this.$gettext('Track')
+    let artistLabel = this.$pgettext('Sidebar/Search/Title', 'Artist')
+    let albumLabel = this.$pgettext('Sidebar/Search/Title', 'Album')
+    let trackLabel = this.$pgettext('Sidebar/Search/Title', 'Track')
     let self = this
     jQuery(this.$el).search({
       type: 'category',
-- 
GitLab