From 8ac6b8307ad9042e9bb3baf06e4a52cfc0d6ead4 Mon Sep 17 00:00:00 2001 From: Bat Date: Mon, 3 Sep 2018 13:28:20 +0100 Subject: [PATCH] I18n for media pages --- po/plume.pot | 51 ++++++++++++++++++++++++++++++ templates/medias/details.html.tera | 8 ++--- templates/medias/index.html.tera | 8 ++--- 3 files changed, 59 insertions(+), 8 deletions(-) diff --git a/po/plume.pot b/po/plume.pot index 486bfefc..dfd3fde0 100644 --- a/po/plume.pot +++ b/po/plume.pot @@ -435,3 +435,54 @@ msgstr "" msgid "Runs Plume {{ version }}" msgstr "" + +msgid "Your media" +msgstr "" + +msgid "Go to your gallery" +msgstr "" + +msgid "{{ name}}'s avatar'" +msgstr "" + +msgid "Media details" +msgstr "" + +msgid "Go back to the gallery" +msgstr "" + +msgid "Markdown code" +msgstr "" + +msgid "Copy it in your articles to insert this media." +msgstr "" + +msgid "Use as avatar" +msgstr "" + +msgid "Delete" +msgstr "" + +msgid "Your media" +msgstr "" + +msgid "Upload" +msgstr "" + +msgid "You don't have any media yet." +msgstr "" + +msgid "Media upload" +msgstr "" + +msgid "Description" +msgstr "" + +msgid "Content warning" +msgstr "" + +msgid "File" +msgstr "" + +msgid "Send" +msgstr "" diff --git a/templates/medias/details.html.tera b/templates/medias/details.html.tera index 99100217..4ba8857d 100644 --- a/templates/medias/details.html.tera +++ b/templates/medias/details.html.tera @@ -2,13 +2,13 @@ {% import "macros" as macros %} {% block title %} -Your medias +{{ "Media details" | _ }} {% endblock title %} {% block content %}

{{ "Media details" }}

- Go back to the gallery + {{ "Go back to the gallery" | _ }}
@@ -24,8 +24,8 @@ Your medias {{ media.md }}
- Use as avatar - Delete + {{ "Use as avatar" | _ }} + {{ "Delete" | _ }}
{% endblock content %} diff --git a/templates/medias/index.html.tera b/templates/medias/index.html.tera index 3e4280fd..63d1e1c7 100644 --- a/templates/medias/index.html.tera +++ b/templates/medias/index.html.tera @@ -2,11 +2,11 @@ {% import "macros" as macros %} {% block title %} -Your medias +{{ "Your media" | _ }} {% endblock title %} {% block content %} -

{{ "Your medias" }}

+

{{ "Your media" | _ }}

Upload
@@ -22,10 +22,10 @@ Your medias

{{ media.alt_text }}

- Delete + {{ "Delete" | _ }} {% endfor %} - {# macros::paginate(page=page, total=n_pages) #} + {# TODO: macros::paginate(page=page, total=n_pages) #} {% endblock content %}