Added translation context

Minor rewording
Added changelog fragment
This commit is contained in:
jovuit 2019-03-01 14:29:58 +01:00 committed by Eliot Berriot
parent 009d3d5f96
commit 3b9fd20d3b
15 changed files with 118 additions and 117 deletions

View file

@ -3,15 +3,15 @@
<section class="ui vertical center aligned stripe segment">
<div class="ui text container">
<h1 class="ui huge header">
<translate>Welcome on Funkwhale</translate>
<translate :translate-context="'Content/Home/Title/Verb'">Welcome on Funkwhale</translate>
</h1>
<p><translate>We think listening to music should be simple.</translate></p>
<p><translate :translate-context="'Content/Home/Title'">We think listening to music should be simple.</translate></p>
<router-link class="ui icon button" to="/about">
<i class="info icon"></i>
<translate>Learn more about this instance</translate>
<translate :translate-context="'Content/Home/Button.Label/Verb'">Learn more about this instance</translate>
</router-link>
<router-link class="ui icon teal button" to="/library">
<translate>Get me to the library</translate>
<translate :translate-context="'Content/Home/Button.Label/Verb'">Get me to the library</translate>
<i class="right arrow icon"></i>
</router-link>
</div>
@ -22,9 +22,9 @@
<div class="row">
<div class="eight wide left floated column">
<h2 class="ui header">
<translate>Why funkwhale?</translate>
<translate :translate-context="'Content/Home/Title'">Why funkwhale?</translate>
</h2>
<p><translate>That's simple: we loved Grooveshark and we want to build something even better.</translate></p>
<p><translate :translate-context="'Content/Home/Paragraph'">That's simple: we loved Grooveshark and we want to build something even better.</translate></p>
</div>
<div class="four wide left floated column">
<img class="ui medium image" src="../assets/logo/logo.png" />
@ -35,26 +35,26 @@
<div class="ui middle aligned stackable text container">
<div class="ui hidden divider"></div>
<h2 class="ui header">
<translate>Unlimited music</translate>
<translate :translate-context="'Content/Home/Title'">Unlimited music</translate>
</h2>
<p><translate>Funkwhale is designed to make it easy to listen to music you like, or to discover new artists.</translate></p>
<p><translate :translate-context="'Content/Home/Paragraph'">Funkwhale is designed to make it easy to listen to music you like, or to discover new artists.</translate></p>
<div class="ui list">
<div class="item">
<i class="sound icon"></i>
<div class="content">
<translate>Click once, listen for hours using built-in radios</translate>
<translate :translate-context="'Content/Home/List item/Verb'">Click once, listen for hours using built-in radios</translate>
</div>
</div>
<div class="item">
<i class="heart icon"></i>
<div class="content">
<translate>Keep a track of your favorite songs</translate>
<translate :translate-context="'Content/Home/List item/Verb'">Keep a track of your favorite songs</translate>
</div>
</div>
<div class="item">
<i class="list icon"></i>
<div class="content">
<translate>Playlists? We got them</translate>
<translate :translate-context="'Content/Home/List item'">Playlists? We got them</translate>
</div>
</div>
</div>
@ -62,14 +62,14 @@
<div class="ui middle aligned stackable text container">
<div class="ui hidden divider"></div>
<h2 class="ui header">
<translate>Clean library</translate>
<translate :translate-context="'Content/Home/Title'">A clean library</translate>
</h2>
<p><translate>Funkwhale takes care of handling your music</translate>.</p>
<p><translate :translate-context="'Content/Home/Paragraph'">Funkwhale takes care of handling your music</translate>.</p>
<div class="ui list">
<div class="item">
<i class="download icon"></i>
<div class="content">
<translate>Import music from various platforms, such as YouTube or SoundCloud</translate>
<translate :translate-context="'Content/Home/List item/Verb'">Import music from various platforms, such as YouTube or SoundCloud</translate>
</div>
</div>
<div class="item">
@ -83,7 +83,7 @@
<div class="item">
<i class="plus icon"></i>
<div class="content">
<translate>Covers, lyrics, our goal is to have them all ;)</translate>
<translate :translate-context="'Content/Home/List item'">Covers, lyrics, our goal is to have them all ;)</translate>
</div>
</div>
</div>
@ -91,20 +91,20 @@
<div class="ui middle aligned stackable text container">
<div class="ui hidden divider"></div>
<h2 class="ui header">
<translate>Easy to use</translate>
<translate :translate-context="'Content/Home/Title'">Easy to use</translate>
</h2>
<p><translate>Funkwhale is dead simple to use.</translate></p>
<p><translate :translate-context="'Content/Home/Paragraph'">Funkwhale is dead simple to use.</translate></p>
<div class="ui list">
<div class="item">
<i class="book icon"></i>
<div class="content">
<translate>No add-ons, no plugins : you only need a web library</translate>
<translate :translate-context="'Content/Home/List item'">No add-ons, no plugins : you only need a web library</translate>
</div>
</div>
<div class="item">
<i class="wizard icon"></i>
<div class="content">
<translate>Access your music from a clean interface that focus on what really matters</translate>
<translate :translate-context="'Content/Home/List item'">Access your music from a clean interface that focus on what really matters</translate>
</div>
</div>
</div>
@ -112,26 +112,26 @@
<div class="ui middle aligned stackable text container">
<div class="ui hidden divider"></div>
<h2 class="ui header">
<translate>Your music, your way</translate>
<translate :translate-context="'Content/Home/Title'">Your music, your way</translate>
</h2>
<p><translate>Funkwhale is free and gives you control on your music.</translate></p>
<p><translate :translate-context="'Content/Home/Paragraph'">Funkwhale is free and gives you control on your music.</translate></p>
<div class="ui list">
<div class="item">
<i class="smile icon"></i>
<div class="content">
<translate>The plaform is free and open-source, you can install it and modify it without worries</translate>
<translate :translate-context="'Content/Home/List item'">The plaform is free and open-source, you can install it and modify it without worries</translate>
</div>
</div>
<div class="item">
<i class="protect icon"></i>
<div class="content">
<translate>We do not track you or bother you with ads</translate>
<translate :translate-context="'Content/Home/List item'">We do not track you or bother you with ads</translate>
</div>
</div>
<div class="item">
<i class="users icon"></i>
<div class="content">
<translate>You can invite friends and family to your instance so they can enjoy your music</translate>
<translate :translate-context="'Content/Home/List item'">You can invite friends and family to your instance so they can enjoy your music</translate>
</div>
</div>
</div>
@ -150,7 +150,7 @@ export default {
computed: {
labels() {
return {
title: this.$gettext("Welcome")
title: this.$pgettext('Head/Home/Title', "Welcome")
}
}
}