diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 3274e82890f44e044b88073b1d079c540819dd4f..e35a953f99a2337116e5bfd5fe8729fce0bb7336 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -484,6 +484,7 @@ This hierarchical structure is made of several parts: The detail part, which is optional and refers to the contents of the string itself, such as: - ``Call to action`` - ``Verb`` + - ``Noun`` - ``Short`` - ``Unit`` diff --git a/front/src/views/playlists/List.vue b/front/src/views/playlists/List.vue index b6f1e74a698cbb40016a59ea5c5362bf1d3b2eb7..9745079c0e3c406921625e7348daf61e94625ce4 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,