Fix a few problemns with translations

This commit is contained in:
Bat 2018-06-17 17:19:39 +01:00
parent e8225cb0be
commit aa0ce32ec1
4 changed files with 16 additions and 9 deletions

View File

@ -66,7 +66,7 @@ msgstr "Welcome on {{ instance_name }}"
msgid "Notifications"
msgstr ""
msgid "Written by {{ link_start }}{{ name }}{{ link_end }}"
msgid "Written by {{ link_1 }}{{ url }}{{ link_2 }}{{ name }}{{ link_3 }}"
msgstr ""
msgid "This article is under the {{ license }} license."

View File

@ -68,22 +68,22 @@ msgstr "Bienvenue sur {{ instance_name }}"
msgid "Notifications"
msgstr "Notifications"
msgid "Written by {{ link_start }}{{ name }}{{ link_end }}"
msgstr "Écrit par {{ link_start}}{{ name }}{{ link_end }}"
msgid "Written by {{ link_1 }}{{ url }}{{ link_2 }}{{ name }}{{ link_3 }}"
msgstr "Écrit par {{ link_1 }}{{ url }}{{ link_2 }}{{ name }}{{ link_3 }}"
msgid "This article is under the {{ license }} license."
msgstr "Cet article est placé sous la licence {{ license }}"
msgid "One like"
msgid_plural "{{ count }} likes"
msgstr[0] "{{ count }} abonné⋅e"
msgstr[1] "{{ count }} abonné⋅e⋅s"
msgstr[0] "{{ count }} personne aime cet article"
msgstr[1] "{{ count }} personnes aiment cet article"
msgid "I don't like this anymore"
msgstr "Je n'aime plus"
msgid "Add yours"
msgstr "Ajoutez le votre"
msgstr "J'aime"
msgid "One reshare"
msgid_plural "{{ count }} reshares"
@ -159,7 +159,7 @@ msgid "Unfollow"
msgstr "Se désabonner"
msgid "Recently reshared"
msgstr "Récemment repartagés"
msgstr "Récemment repartagé"
msgid "One follower"
msgid_plural "{{ count }} followers"

View File

@ -66,7 +66,7 @@ msgstr ""
msgid "Notifications"
msgstr ""
msgid "Written by {{ link_start }}{{ name }}{{ link_end }}"
msgid "Written by {{ link_1 }}{{ url }}{{ link_2 }}{{ name }}{{ link_3 }}"
msgstr ""
msgid "This article is under the {{ license }} license."

View File

@ -16,7 +16,14 @@
{% endif %}
<p>
<b>{{ "Written by {{ link_start }}{{ name }}{{ link_end }}" | _(link_start='<a href="/@/{{ author.fqn }}/">', name=name, link_end="</a>")}}</b>
<b>{{ "Written by {{ link_1 }}{{ url }}{{ link_2 }}{{ name }}{{ link_3 }}" | _(
link_1='<a href="/@/',
url=author.fqn,
link_2='/">',
name=name,
link_3="</a>"
)
}}</b>
&mdash;
<span>{{ date | date(format="%B %e, %Y") }}</span>
</p>