From ee23e145b61f6c2126acb35b1efcd5de59624b1a Mon Sep 17 00:00:00 2001 From: Jo Vuit <jo.vuitton@gmail.com> Date: Sun, 10 Feb 2019 14:15:40 +0100 Subject: [PATCH] Replaced detail part of string context 'Name' by 'Noun', which is the correct word in English... --- front/src/views/playlists/List.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/front/src/views/playlists/List.vue b/front/src/views/playlists/List.vue index b6f1e74a6..9745079c0 100644 --- a/front/src/views/playlists/List.vue +++ b/front/src/views/playlists/List.vue @@ -11,11 +11,11 @@ </template> <div class="fields"> <div class="field"> - <label><translate :translate-context="'Content/*/Form.Label/Short, Name'">Search</translate></label> + <label><translate :translate-context="'Content/*/Form.Label/Short, Noun'">Search</translate></label> <input type="text" name="search" v-model="query" :placeholder="labels.searchPlaceholder"/> </div> <div class="field"> - <label><translate :translate-context="'Content/*/Dropdown.Label/Short, Name'">Ordering</translate></label> + <label><translate :translate-context="'Content/*/Dropdown.Label/Short, Noun'">Ordering</translate></label> <select class="ui dropdown" v-model="ordering"> <option v-for="option in orderingOptions" :value="option[0]"> {{ sharedLabels.filters[option[1]] }} @@ -23,14 +23,14 @@ </select> </div> <div class="field"> - <label><translate :translate-context="'Content/*/Dropdown.Label/Short, Name'">Order</translate></label> + <label><translate :translate-context="'Content/*/Dropdown.Label/Short, Noun'">Order</translate></label> <select class="ui dropdown" v-model="orderingDirection"> <option value="+"><translate :translate-context="'Content/*/Dropdown/Short'">Ascending</translate></option> <option value="-"><translate :translate-context="'Content/*/Dropdown/Short'">Descending</translate></option> </select> </div> <div class="field"> - <label><translate :translate-context="'Content/*/Dropdown.Label/Short, Name'">Results per page</translate></label> + <label><translate :translate-context="'Content/*/Dropdown.Label/Short, Noun'">Results per page</translate></label> <select class="ui dropdown" v-model="paginateBy"> <option :value="parseInt(12)">12</option> <option :value="parseInt(25)">25</option> @@ -103,7 +103,7 @@ export default { }, computed: { labels() { - let playlists = this.$pgettext('Head/Playlist/Title/Name', 'Playlists') + let playlists = this.$pgettext('Head/Playlist/Title/Noun', 'Playlists') let searchPlaceholder = this.$pgettext('Content/Playlist/Placeholder/Call to action', 'Enter playlist name…') return { playlists, -- GitLab