From aa0ce32ec1450b32c5875bce0b74378dcd27094d Mon Sep 17 00:00:00 2001 From: Bat Date: Sun, 17 Jun 2018 17:19:39 +0100 Subject: [PATCH] Fix a few problemns with translations --- po/en.po | 2 +- po/fr.po | 12 ++++++------ po/plume.pot | 2 +- templates/posts/details.html.tera | 9 ++++++++- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/po/en.po b/po/en.po index d65de4b1..2634ce4e 100644 --- a/po/en.po +++ b/po/en.po @@ -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." diff --git a/po/fr.po b/po/fr.po index 9d3c4800..55a2a729 100644 --- a/po/fr.po +++ b/po/fr.po @@ -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" diff --git a/po/plume.pot b/po/plume.pot index 7fc8caf2..7d698ede 100644 --- a/po/plume.pot +++ b/po/plume.pot @@ -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." diff --git a/templates/posts/details.html.tera b/templates/posts/details.html.tera index 54c8b122..ae173b9a 100644 --- a/templates/posts/details.html.tera +++ b/templates/posts/details.html.tera @@ -16,7 +16,14 @@ {% endif %}

- {{ "Written by {{ link_start }}{{ name }}{{ link_end }}" | _(link_start='', name=name, link_end="")}} + {{ "Written by {{ link_1 }}{{ url }}{{ link_2 }}{{ name }}{{ link_3 }}" | _( + link_1='', + name=name, + link_3="" + ) + }}{{ date | date(format="%B %e, %Y") }}