From 9645c8a2f34ec601aaff0d77d24008cda2887f92 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Mon, 21 May 2018 17:26:10 +0200 Subject: [PATCH] Fix #56 Add a message saying how many images there is in the gallery --- CHANGELOG | 1 + themes/default/lib/Lutim/I18N/lutim.pot | 16 ++++++++++------ themes/default/templates/gallery.html.ep | 2 ++ themes/default/templates/partial/gallery.js.ep | 1 + 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 56b08ee..d090dc2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -10,6 +10,7 @@ Revision history for Lutim - Add CSP header - Add X-Content-Type-Options, X-XSS-Protection, X-Frame-Options headers - Remove @framasky as default tweet_card_via setting + - Add a message saying how many images there is in the gallery 0.10.4 2018-05-07 - Fix bug in cache system that would allow someone to view an image with an incorrect decryption key diff --git a/themes/default/lib/Lutim/I18N/lutim.pot b/themes/default/lib/Lutim/I18N/lutim.pot index 809a452..8fd6da0 100644 --- a/themes/default/lib/Lutim/I18N/lutim.pot +++ b/themes/default/lib/Lutim/I18N/lutim.pot @@ -68,7 +68,7 @@ msgstr "" msgid "Click to open the file browser" msgstr "" -#: themes/default/templates/gallery.html.ep:27 +#: themes/default/templates/gallery.html.ep:29 msgid "Close (Esc)" msgstr "" @@ -116,7 +116,7 @@ msgstr "" msgid "Deletion link" msgstr "" -#: themes/default/templates/gallery.html.ep:8 +#: themes/default/templates/gallery.html.ep:10 msgid "Download all images" msgstr "" @@ -272,7 +272,7 @@ msgstr "" msgid "My images" msgstr "" -#: themes/default/templates/gallery.html.ep:43 +#: themes/default/templates/gallery.html.ep:45 msgid "Next (arrow right)" msgstr "" @@ -301,7 +301,7 @@ msgstr "" msgid "Please contact the administrator: %1" msgstr "" -#: themes/default/templates/gallery.html.ep:41 +#: themes/default/templates/gallery.html.ep:43 msgid "Previous (arrow left)" msgstr "" @@ -396,12 +396,16 @@ msgstr "" msgid "The images you post on Lutim can be stored indefinitely or be deleted at first view or after a delay selected from those proposed." msgstr "" +#: themes/default/templates/partial/gallery.js.ep:257 +msgid "There is XXXX image(s) in the gallery" +msgstr "" + #. ($c->config->{contact}) #: lib/Lutim/Controller.pm:483 msgid "There is no more available URL. Retry or contact the administrator. %1" msgstr "" -#: themes/default/templates/gallery.html.ep:28 +#: themes/default/templates/gallery.html.ep:30 msgid "Toggle fullscreen" msgstr "" @@ -487,7 +491,7 @@ msgstr "" msgid "You can, optionally, request that the image(s) posted on Lutim to be deleted at first view (or download) or after the delay selected from those proposed." msgstr "" -#: themes/default/templates/gallery.html.ep:29 +#: themes/default/templates/gallery.html.ep:31 msgid "Zoom in/out" msgstr "" diff --git a/themes/default/templates/gallery.html.ep b/themes/default/templates/gallery.html.ep index 5460298..be725b4 100644 --- a/themes/default/templates/gallery.html.ep +++ b/themes/default/templates/gallery.html.ep @@ -2,6 +2,8 @@
+
+