From 9318058f2b65b6eb54489b0f9afdf413643f0c14 Mon Sep 17 00:00:00 2001
From: Luc Didry
Date: Sat, 27 May 2017 20:14:39 +0200
Subject: [PATCH 01/11] Update Changelog
---
CHANGELOG | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CHANGELOG b/CHANGELOG
index f2ce7c6..11ef4fe 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@ Revision history for Lutim
0.8 2017-?
- Improve statistics page
+ - Add database abstraction layer (#42)
+ - Asks for Mojolicious 7.31 minimum (to install it: `carton update`)
0.7.1 2016-06-21
- Fix dependency bug
--
GitLab
From 6738c497302cc6ab11d334d9f88ff9ca8d8c4190 Mon Sep 17 00:00:00 2001
From: Luc Didry
Date: Sat, 27 May 2017 20:43:51 +0200
Subject: [PATCH 02/11] Add Liberapay and Tipeee buttons to support the author
---
CHANGELOG | 2 +
themes/default/lib/Lutim/I18N/de.po | 122 ++++++++++--------
themes/default/lib/Lutim/I18N/en.po | 122 ++++++++++--------
themes/default/lib/Lutim/I18N/es.po | 122 ++++++++++--------
themes/default/lib/Lutim/I18N/fr.po | 122 ++++++++++--------
themes/default/lib/Lutim/I18N/oc.po | 122 ++++++++++--------
themes/default/public/css/lutim.css | 8 ++
themes/default/public/img/liberapay.svg | 63 +++++++++
themes/default/public/img/tipeee-tip-btn.png | Bin 0 -> 1268 bytes
.../default/templates/layouts/default.html.ep | 7 +-
10 files changed, 432 insertions(+), 258 deletions(-)
create mode 100644 themes/default/public/img/liberapay.svg
create mode 100644 themes/default/public/img/tipeee-tip-btn.png
diff --git a/CHANGELOG b/CHANGELOG
index 11ef4fe..800abe6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,8 @@ Revision history for Lutim
- Improve statistics page
- Add database abstraction layer (#42)
- Asks for Mojolicious 7.31 minimum (to install it: `carton update`)
+ - Add Liberapay and Tipeee buttons
+ - Remove Flattr button
0.7.1 2016-06-21
- Fix dependency bug
diff --git a/themes/default/lib/Lutim/I18N/de.po b/themes/default/lib/Lutim/I18N/de.po
index 660d645..f6cfebc 100644
--- a/themes/default/lib/Lutim/I18N/de.po
+++ b/themes/default/lib/Lutim/I18N/de.po
@@ -22,12 +22,12 @@ msgstr ""
#. (config('max_delay')
#. (7)
#. (30)
-#: lib/Lutim/Command/cron/stats.pm:100
-#: lib/Lutim/Command/cron/stats.pm:110
-#: lib/Lutim/Command/cron/stats.pm:111
-#: lib/Lutim/Command/cron/stats.pm:127
-#: lib/Lutim/Command/cron/stats.pm:128
-#: lib/Lutim/Command/cron/stats.pm:99
+#: lib/Lutim/Command/cron/stats.pm:107
+#: lib/Lutim/Command/cron/stats.pm:108
+#: lib/Lutim/Command/cron/stats.pm:118
+#: lib/Lutim/Command/cron/stats.pm:119
+#: lib/Lutim/Command/cron/stats.pm:135
+#: lib/Lutim/Command/cron/stats.pm:136
#: themes/default/templates/partial/lutim.js.ep:235
#: themes/default/templates/partial/lutim.js.ep:244
#: themes/default/templates/partial/lutim.js.ep:245
@@ -43,16 +43,16 @@ msgstr "%1 Bilder wurden bisher über diese Instanz versendet."
msgid "-or-"
msgstr "-oder-"
-#: lib/Lutim/Command/cron/stats.pm:101
-#: lib/Lutim/Command/cron/stats.pm:112
-#: lib/Lutim/Command/cron/stats.pm:129
+#: lib/Lutim/Command/cron/stats.pm:109
+#: lib/Lutim/Command/cron/stats.pm:120
+#: lib/Lutim/Command/cron/stats.pm:137
#: themes/default/templates/index.html.ep:5
msgid "1 year"
msgstr "1 Jahr"
-#: lib/Lutim/Command/cron/stats.pm:109
-#: lib/Lutim/Command/cron/stats.pm:126
-#: lib/Lutim/Command/cron/stats.pm:98
+#: lib/Lutim/Command/cron/stats.pm:106
+#: lib/Lutim/Command/cron/stats.pm:117
+#: lib/Lutim/Command/cron/stats.pm:134
#: themes/default/templates/index.html.ep:4
#: themes/default/templates/partial/lutim.js.ep:244
msgid "24 hours"
@@ -62,11 +62,11 @@ msgstr "24 Stunden"
msgid ": Error while trying to get the counter."
msgstr ":Fehler beim Abrufen des Zählers."
-#: lib/Lutim/Command/cron/stats.pm:94
+#: lib/Lutim/Command/cron/stats.pm:102
msgid "Active images"
msgstr ""
-#: lib/Lutim/Controller.pm:286
+#: lib/Lutim/Controller.pm:288
msgid "An error occured while downloading the image."
msgstr "Beim Herunterladen des Bildes ist ein Fehler aufgetreten."
@@ -125,11 +125,11 @@ msgstr ""
msgid "Delete at first view?"
msgstr "Nach erstem Aufruf löschen?"
-#: lib/Lutim/Command/cron/stats.pm:95
+#: lib/Lutim/Command/cron/stats.pm:103
msgid "Deleted images"
msgstr ""
-#: lib/Lutim/Command/cron/stats.pm:96
+#: lib/Lutim/Command/cron/stats.pm:104
msgid "Deleted images in 30 days"
msgstr ""
@@ -189,7 +189,7 @@ msgstr "Dateiname"
msgid "For more details, see the homepage of the project."
msgstr "Besuche für mehr Details die Homepage des Projekts."
-#: themes/default/templates/layouts/default.html.ep:50
+#: themes/default/templates/layouts/default.html.ep:49
msgid "Fork me!"
msgstr "Fork me!"
@@ -203,7 +203,7 @@ msgstr "Link zur Galerie"
msgid "Hit Ctrl+C, then Enter to copy the short link"
msgstr "Drücke STRG+C und dann Enter um den Kurz-Link zu kopieren."
-#: themes/default/templates/layouts/default.html.ep:45
+#: themes/default/templates/layouts/default.html.ep:44
msgid "Homepage"
msgstr "Webseite"
@@ -228,22 +228,26 @@ msgstr "Wenn du versuchst, ein Bild während dem Hochladen zu löschen, wird die
msgid "Image URL"
msgstr "Bild-URL"
-#: lib/Lutim/Command/cron/stats.pm:93
+#: lib/Lutim/Command/cron/stats.pm:101
msgid "Image delay"
msgstr ""
-#: lib/Lutim/Controller.pm:715
+#: lib/Lutim/Controller.pm:702
msgid "Image not found."
msgstr "Bild nicht gefunden"
-#: themes/default/templates/layouts/default.html.ep:49
+#: themes/default/templates/layouts/default.html.ep:48
msgid "Informations"
msgstr "Informationen"
-#: themes/default/templates/layouts/default.html.ep:55
+#: themes/default/templates/layouts/default.html.ep:56
msgid "Install webapp"
msgstr "Installiere die Webapp"
+#: themes/default/templates/layouts/default.html.ep:55
+msgid "Instance's statistics"
+msgstr ""
+
#: themes/default/templates/about.html.ep:11
msgid "Is it really anonymous?"
msgstr "Ist es wirklich anonym?"
@@ -268,7 +272,11 @@ msgstr "Behalte EXIF-Daten"
msgid "Let's go!"
msgstr "Los gehts!"
-#: themes/default/templates/layouts/default.html.ep:48
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Liberapay button"
+msgstr ""
+
+#: themes/default/templates/layouts/default.html.ep:47
msgid "License:"
msgstr "Lizenz:"
@@ -335,7 +343,7 @@ msgstr "Sende ein Bild"
msgid "Share it!"
msgstr "Teile es!"
-#: themes/default/templates/layouts/default.html.ep:51
+#: themes/default/templates/layouts/default.html.ep:50
msgid "Share on Twitter"
msgstr "Teile es auf Twitter"
@@ -345,10 +353,18 @@ msgid "Something bad happened"
msgstr "Es ist ein Fehler aufgetreten"
#. ($c->config('contact')
-#: lib/Lutim/Controller.pm:723
+#: lib/Lutim/Controller.pm:709
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
msgstr "Es ist ein Fehler aufgetreten. Versuche es erneut oder kontaktiere den Administrator (%1)."
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Support the author on Liberapay"
+msgstr ""
+
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Support the author on Tipeee"
+msgstr ""
+
#: themes/default/templates/about.html.ep:13
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
msgstr "Die IP-Adresse des Nutzers wird für eine bestimmte Zeit gespeichert. Diese kann der Administrator frei wählen (für die offizielle Instanz, die in Frankreich gehostet ist, liegt diese Zeit bei einem Jahr)"
@@ -357,25 +373,25 @@ msgstr "Die IP-Adresse des Nutzers wird für eine bestimmte Zeit gespeichert. Di
msgid "The Lutim software is a free software, which allows you to download and install it on you own server. Have a look at the AGPL to see what you can do."
msgstr "Lutim ist freie Software, was dir erlaubt sie herunterzuladen und sie auf deinem eigenem Server zu installieren. Schau dir die AGPL an um deine Recht zu sehen."
-#: lib/Lutim/Controller.pm:305
+#: lib/Lutim/Controller.pm:307
msgid "The URL is not valid."
msgstr "Die URL ist nicht gültig."
-#: lib/Lutim/Controller.pm:117
-#: lib/Lutim/Controller.pm:186
+#: lib/Lutim/Controller.pm:120
+#: lib/Lutim/Controller.pm:188
msgid "The delete token is invalid."
msgstr "Das Token zum Löschen ist ungültig."
#. ($upload->filename)
-#: lib/Lutim/Controller.pm:449
+#: lib/Lutim/Controller.pm:445
msgid "The file %1 is not an image."
msgstr "Die Datei %1 ist kein Bild."
#. ($max_file_size)
#. ($tx->res->max_message_size)
#. ($c->req->max_message_size)
-#: lib/Lutim/Controller.pm:269
-#: lib/Lutim/Controller.pm:338
+#: lib/Lutim/Controller.pm:271
+#: lib/Lutim/Controller.pm:340
#: themes/default/templates/partial/lutim.js.ep:332
msgid "The file exceed the size limit (%1)"
msgstr "Die Datei überschreitet die Größenbeschränkung (%1)"
@@ -385,17 +401,17 @@ msgid "The graph's datas are not updated in real-time."
msgstr "Die Daten des Graphs werden nicht in Echtzeit aktualisiert."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:188
+#: lib/Lutim/Controller.pm:190
msgid "The image %1 has already been deleted."
msgstr "Das Bild %1 wurde schon gelöscht."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:197
-#: lib/Lutim/Controller.pm:202
+#: lib/Lutim/Controller.pm:199
+#: lib/Lutim/Controller.pm:204
msgid "The image %1 has been successfully deleted"
msgstr "Das Bild %1 wurde erfolgreich gelöscht."
-#: lib/Lutim/Controller.pm:125
+#: lib/Lutim/Controller.pm:128
msgid "The image's delay has been successfully modified"
msgstr "Die Zeit bis zum Löschen des Bildes wurde erfolgreich geändert."
@@ -408,11 +424,15 @@ msgid "The images you post on Lutim can be stored indefinitely or be deleted at
msgstr "Die Bilder, die du auf Lutim hochlädst, können entweder nie, nach dem ersten Aufruf oder nach einer bestimmten Zeit gelöscht werden."
#. ($c->config->{contact})
-#: lib/Lutim/Controller.pm:444
+#: lib/Lutim/Controller.pm:442
msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr "Es sind keine URLs mehr verfügbar. Versuche es erneut oder kontaktiere den Administrator. %1"
-#: lib/Lutim/Command/cron/stats.pm:102
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Tipeee button"
+msgstr ""
+
+#: lib/Lutim/Command/cron/stats.pm:110
msgid "Total"
msgstr ""
@@ -422,23 +442,23 @@ msgid "Tweet it!"
msgstr "Twittere es!"
#. ($short)
-#: lib/Lutim/Controller.pm:159
-#: lib/Lutim/Controller.pm:231
+#: lib/Lutim/Controller.pm:162
+#: lib/Lutim/Controller.pm:233
msgid "Unable to find the image %1."
msgstr "Konnte das Bild %1 nicht finden."
-#: lib/Lutim.pm:85
-#: lib/Lutim/Controller.pm:534
-#: lib/Lutim/Controller.pm:580
-#: lib/Lutim/Controller.pm:624
-#: lib/Lutim/Controller.pm:664
-#: lib/Lutim/Controller.pm:676
-#: lib/Lutim/Controller.pm:687
-#: lib/Lutim/Controller.pm:712
+#: lib/Lutim.pm:86
+#: lib/Lutim/Controller.pm:529
+#: lib/Lutim/Controller.pm:574
+#: lib/Lutim/Controller.pm:615
+#: lib/Lutim/Controller.pm:654
+#: lib/Lutim/Controller.pm:666
+#: lib/Lutim/Controller.pm:677
+#: lib/Lutim/Controller.pm:699
msgid "Unable to find the image: it has been deleted."
msgstr "Dieses Bild wurde gelöscht."
-#: lib/Lutim/Controller.pm:101
+#: lib/Lutim/Controller.pm:105
msgid "Unable to get counter"
msgstr "Konnte den Zähler nicht abrufen"
@@ -504,9 +524,9 @@ msgstr "und auf"
msgid "core developer"
msgstr "Haupt-Entwickler"
-#: lib/Lutim/Command/cron/stats.pm:108
-#: lib/Lutim/Command/cron/stats.pm:125
-#: lib/Lutim/Command/cron/stats.pm:97
+#: lib/Lutim/Command/cron/stats.pm:105
+#: lib/Lutim/Command/cron/stats.pm:116
+#: lib/Lutim/Command/cron/stats.pm:133
#: themes/default/templates/index.html.ep:3
msgid "no time limit"
msgstr "keine Zeit-Begrenzung"
diff --git a/themes/default/lib/Lutim/I18N/en.po b/themes/default/lib/Lutim/I18N/en.po
index 979e9c6..b277167 100644
--- a/themes/default/lib/Lutim/I18N/en.po
+++ b/themes/default/lib/Lutim/I18N/en.po
@@ -20,12 +20,12 @@ msgstr ""
#. (config('max_delay')
#. (7)
#. (30)
-#: lib/Lutim/Command/cron/stats.pm:100
-#: lib/Lutim/Command/cron/stats.pm:110
-#: lib/Lutim/Command/cron/stats.pm:111
-#: lib/Lutim/Command/cron/stats.pm:127
-#: lib/Lutim/Command/cron/stats.pm:128
-#: lib/Lutim/Command/cron/stats.pm:99
+#: lib/Lutim/Command/cron/stats.pm:107
+#: lib/Lutim/Command/cron/stats.pm:108
+#: lib/Lutim/Command/cron/stats.pm:118
+#: lib/Lutim/Command/cron/stats.pm:119
+#: lib/Lutim/Command/cron/stats.pm:135
+#: lib/Lutim/Command/cron/stats.pm:136
#: themes/default/templates/partial/lutim.js.ep:235
#: themes/default/templates/partial/lutim.js.ep:244
#: themes/default/templates/partial/lutim.js.ep:245
@@ -41,16 +41,16 @@ msgstr "%1 sent images on this instance from beginning."
msgid "-or-"
msgstr "-or-"
-#: lib/Lutim/Command/cron/stats.pm:101
-#: lib/Lutim/Command/cron/stats.pm:112
-#: lib/Lutim/Command/cron/stats.pm:129
+#: lib/Lutim/Command/cron/stats.pm:109
+#: lib/Lutim/Command/cron/stats.pm:120
+#: lib/Lutim/Command/cron/stats.pm:137
#: themes/default/templates/index.html.ep:5
msgid "1 year"
msgstr "1 year"
-#: lib/Lutim/Command/cron/stats.pm:109
-#: lib/Lutim/Command/cron/stats.pm:126
-#: lib/Lutim/Command/cron/stats.pm:98
+#: lib/Lutim/Command/cron/stats.pm:106
+#: lib/Lutim/Command/cron/stats.pm:117
+#: lib/Lutim/Command/cron/stats.pm:134
#: themes/default/templates/index.html.ep:4
#: themes/default/templates/partial/lutim.js.ep:244
msgid "24 hours"
@@ -60,11 +60,11 @@ msgstr "24 hours"
msgid ": Error while trying to get the counter."
msgstr ""
-#: lib/Lutim/Command/cron/stats.pm:94
+#: lib/Lutim/Command/cron/stats.pm:102
msgid "Active images"
msgstr ""
-#: lib/Lutim/Controller.pm:286
+#: lib/Lutim/Controller.pm:288
msgid "An error occured while downloading the image."
msgstr "An error occured while downloading the image."
@@ -123,11 +123,11 @@ msgstr ""
msgid "Delete at first view?"
msgstr "Delete at first view?"
-#: lib/Lutim/Command/cron/stats.pm:95
+#: lib/Lutim/Command/cron/stats.pm:103
msgid "Deleted images"
msgstr ""
-#: lib/Lutim/Command/cron/stats.pm:96
+#: lib/Lutim/Command/cron/stats.pm:104
msgid "Deleted images in 30 days"
msgstr ""
@@ -187,7 +187,7 @@ msgstr ""
msgid "For more details, see the homepage of the project."
msgstr "For more details, see the homepage of the project."
-#: themes/default/templates/layouts/default.html.ep:50
+#: themes/default/templates/layouts/default.html.ep:49
msgid "Fork me!"
msgstr "Fork me!"
@@ -201,7 +201,7 @@ msgstr ""
msgid "Hit Ctrl+C, then Enter to copy the short link"
msgstr ""
-#: themes/default/templates/layouts/default.html.ep:45
+#: themes/default/templates/layouts/default.html.ep:44
msgid "Homepage"
msgstr "Homepage"
@@ -226,22 +226,26 @@ msgstr "If the files are deleted if you ask it while posting it, their SHA512 fo
msgid "Image URL"
msgstr "Image URL"
-#: lib/Lutim/Command/cron/stats.pm:93
+#: lib/Lutim/Command/cron/stats.pm:101
msgid "Image delay"
msgstr ""
-#: lib/Lutim/Controller.pm:715
+#: lib/Lutim/Controller.pm:702
msgid "Image not found."
msgstr ""
-#: themes/default/templates/layouts/default.html.ep:49
+#: themes/default/templates/layouts/default.html.ep:48
msgid "Informations"
msgstr "Informations"
-#: themes/default/templates/layouts/default.html.ep:55
+#: themes/default/templates/layouts/default.html.ep:56
msgid "Install webapp"
msgstr "Install webapp"
+#: themes/default/templates/layouts/default.html.ep:55
+msgid "Instance's statistics"
+msgstr ""
+
#: themes/default/templates/about.html.ep:11
msgid "Is it really anonymous?"
msgstr "Is it really anonymous?"
@@ -266,7 +270,11 @@ msgstr "Keep EXIF tags"
msgid "Let's go!"
msgstr "Let's go!"
-#: themes/default/templates/layouts/default.html.ep:48
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Liberapay button"
+msgstr ""
+
+#: themes/default/templates/layouts/default.html.ep:47
msgid "License:"
msgstr "License:"
@@ -331,7 +339,7 @@ msgstr "Send an image"
msgid "Share it!"
msgstr ""
-#: themes/default/templates/layouts/default.html.ep:51
+#: themes/default/templates/layouts/default.html.ep:50
msgid "Share on Twitter"
msgstr "Share on Twitter"
@@ -341,10 +349,18 @@ msgid "Something bad happened"
msgstr "Something bad happened"
#. ($c->config('contact')
-#: lib/Lutim/Controller.pm:723
+#: lib/Lutim/Controller.pm:709
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
msgstr ""
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Support the author on Liberapay"
+msgstr ""
+
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Support the author on Tipeee"
+msgstr ""
+
#: themes/default/templates/about.html.ep:13
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
msgstr "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
@@ -353,25 +369,25 @@ msgstr "The IP address of the image's sender is retained for a delay which depen
msgid "The Lutim software is a free software, which allows you to download and install it on you own server. Have a look at the AGPL to see what you can do."
msgstr "The Lutim software is a free software, which allows you to download and install it on you own server. Have a look at the AGPL to see what you can do."
-#: lib/Lutim/Controller.pm:305
+#: lib/Lutim/Controller.pm:307
msgid "The URL is not valid."
msgstr "The URL is not valid."
-#: lib/Lutim/Controller.pm:117
-#: lib/Lutim/Controller.pm:186
+#: lib/Lutim/Controller.pm:120
+#: lib/Lutim/Controller.pm:188
msgid "The delete token is invalid."
msgstr "The delete token is invalid."
#. ($upload->filename)
-#: lib/Lutim/Controller.pm:449
+#: lib/Lutim/Controller.pm:445
msgid "The file %1 is not an image."
msgstr "The file %1 is not an image."
#. ($max_file_size)
#. ($tx->res->max_message_size)
#. ($c->req->max_message_size)
-#: lib/Lutim/Controller.pm:269
-#: lib/Lutim/Controller.pm:338
+#: lib/Lutim/Controller.pm:271
+#: lib/Lutim/Controller.pm:340
#: themes/default/templates/partial/lutim.js.ep:332
msgid "The file exceed the size limit (%1)"
msgstr "The file exceed the size limit (%1)"
@@ -381,17 +397,17 @@ msgid "The graph's datas are not updated in real-time."
msgstr "The graph's datas are not updated in real-time."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:188
+#: lib/Lutim/Controller.pm:190
msgid "The image %1 has already been deleted."
msgstr "The image %1 has already been deleted."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:197
-#: lib/Lutim/Controller.pm:202
+#: lib/Lutim/Controller.pm:199
+#: lib/Lutim/Controller.pm:204
msgid "The image %1 has been successfully deleted"
msgstr "The image %1 has been successfully deleted"
-#: lib/Lutim/Controller.pm:125
+#: lib/Lutim/Controller.pm:128
msgid "The image's delay has been successfully modified"
msgstr "The image's delay has been successfully modified"
@@ -404,11 +420,15 @@ msgid "The images you post on Lutim can be stored indefinitely or be deleted at
msgstr "The images you post on Lutim can be stored indefinitely or be deleted at first view or after a delay selected from those proposed."
#. ($c->config->{contact})
-#: lib/Lutim/Controller.pm:444
+#: lib/Lutim/Controller.pm:442
msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr "There is no more available URL. Retry or contact the administrator. %1"
-#: lib/Lutim/Command/cron/stats.pm:102
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Tipeee button"
+msgstr ""
+
+#: lib/Lutim/Command/cron/stats.pm:110
msgid "Total"
msgstr ""
@@ -418,23 +438,23 @@ msgid "Tweet it!"
msgstr "Tweet it!"
#. ($short)
-#: lib/Lutim/Controller.pm:159
-#: lib/Lutim/Controller.pm:231
+#: lib/Lutim/Controller.pm:162
+#: lib/Lutim/Controller.pm:233
msgid "Unable to find the image %1."
msgstr "Unable to find the image %1."
-#: lib/Lutim.pm:85
-#: lib/Lutim/Controller.pm:534
-#: lib/Lutim/Controller.pm:580
-#: lib/Lutim/Controller.pm:624
-#: lib/Lutim/Controller.pm:664
-#: lib/Lutim/Controller.pm:676
-#: lib/Lutim/Controller.pm:687
-#: lib/Lutim/Controller.pm:712
+#: lib/Lutim.pm:86
+#: lib/Lutim/Controller.pm:529
+#: lib/Lutim/Controller.pm:574
+#: lib/Lutim/Controller.pm:615
+#: lib/Lutim/Controller.pm:654
+#: lib/Lutim/Controller.pm:666
+#: lib/Lutim/Controller.pm:677
+#: lib/Lutim/Controller.pm:699
msgid "Unable to find the image: it has been deleted."
msgstr "Unable to find the image: it has been deleted."
-#: lib/Lutim/Controller.pm:101
+#: lib/Lutim/Controller.pm:105
msgid "Unable to get counter"
msgstr ""
@@ -503,9 +523,9 @@ msgstr "and on"
msgid "core developer"
msgstr "core developer"
-#: lib/Lutim/Command/cron/stats.pm:108
-#: lib/Lutim/Command/cron/stats.pm:125
-#: lib/Lutim/Command/cron/stats.pm:97
+#: lib/Lutim/Command/cron/stats.pm:105
+#: lib/Lutim/Command/cron/stats.pm:116
+#: lib/Lutim/Command/cron/stats.pm:133
#: themes/default/templates/index.html.ep:3
msgid "no time limit"
msgstr "no time limit"
diff --git a/themes/default/lib/Lutim/I18N/es.po b/themes/default/lib/Lutim/I18N/es.po
index 576d5ae..4336442 100644
--- a/themes/default/lib/Lutim/I18N/es.po
+++ b/themes/default/lib/Lutim/I18N/es.po
@@ -22,12 +22,12 @@ msgstr ""
#. (config('max_delay')
#. (7)
#. (30)
-#: lib/Lutim/Command/cron/stats.pm:100
-#: lib/Lutim/Command/cron/stats.pm:110
-#: lib/Lutim/Command/cron/stats.pm:111
-#: lib/Lutim/Command/cron/stats.pm:127
-#: lib/Lutim/Command/cron/stats.pm:128
-#: lib/Lutim/Command/cron/stats.pm:99
+#: lib/Lutim/Command/cron/stats.pm:107
+#: lib/Lutim/Command/cron/stats.pm:108
+#: lib/Lutim/Command/cron/stats.pm:118
+#: lib/Lutim/Command/cron/stats.pm:119
+#: lib/Lutim/Command/cron/stats.pm:135
+#: lib/Lutim/Command/cron/stats.pm:136
#: themes/default/templates/partial/lutim.js.ep:235
#: themes/default/templates/partial/lutim.js.ep:244
#: themes/default/templates/partial/lutim.js.ep:245
@@ -43,16 +43,16 @@ msgstr "%1 imágenes enviadas a esta instancia desde el inicio."
msgid "-or-"
msgstr "-o-"
-#: lib/Lutim/Command/cron/stats.pm:101
-#: lib/Lutim/Command/cron/stats.pm:112
-#: lib/Lutim/Command/cron/stats.pm:129
+#: lib/Lutim/Command/cron/stats.pm:109
+#: lib/Lutim/Command/cron/stats.pm:120
+#: lib/Lutim/Command/cron/stats.pm:137
#: themes/default/templates/index.html.ep:5
msgid "1 year"
msgstr "1 año"
-#: lib/Lutim/Command/cron/stats.pm:109
-#: lib/Lutim/Command/cron/stats.pm:126
-#: lib/Lutim/Command/cron/stats.pm:98
+#: lib/Lutim/Command/cron/stats.pm:106
+#: lib/Lutim/Command/cron/stats.pm:117
+#: lib/Lutim/Command/cron/stats.pm:134
#: themes/default/templates/index.html.ep:4
#: themes/default/templates/partial/lutim.js.ep:244
msgid "24 hours"
@@ -62,11 +62,11 @@ msgstr "24 horas"
msgid ": Error while trying to get the counter."
msgstr ": Error al intentar obtener el contador."
-#: lib/Lutim/Command/cron/stats.pm:94
+#: lib/Lutim/Command/cron/stats.pm:102
msgid "Active images"
msgstr ""
-#: lib/Lutim/Controller.pm:286
+#: lib/Lutim/Controller.pm:288
msgid "An error occured while downloading the image."
msgstr "Error al intentar modificar la imagen."
@@ -125,11 +125,11 @@ msgstr ""
msgid "Delete at first view?"
msgstr "¿Borrar en la primera vista?"
-#: lib/Lutim/Command/cron/stats.pm:95
+#: lib/Lutim/Command/cron/stats.pm:103
msgid "Deleted images"
msgstr ""
-#: lib/Lutim/Command/cron/stats.pm:96
+#: lib/Lutim/Command/cron/stats.pm:104
msgid "Deleted images in 30 days"
msgstr ""
@@ -189,7 +189,7 @@ msgstr "Nombre de archivo"
msgid "For more details, see the homepage of the project."
msgstr "Para más detalles, vea la página del proyecto."
-#: themes/default/templates/layouts/default.html.ep:50
+#: themes/default/templates/layouts/default.html.ep:49
msgid "Fork me!"
msgstr "¡Clóname!"
@@ -203,7 +203,7 @@ msgstr "Enlace a la galería"
msgid "Hit Ctrl+C, then Enter to copy the short link"
msgstr "Presione Ctrl + C, entonces Ingresar para copiar el enlace"
-#: themes/default/templates/layouts/default.html.ep:45
+#: themes/default/templates/layouts/default.html.ep:44
msgid "Homepage"
msgstr "Página inicial"
@@ -228,22 +228,26 @@ msgstr "Si los ficheros se borran por haberlo solicitado al enviarlos, se retien
msgid "Image URL"
msgstr "URL de la imagen"
-#: lib/Lutim/Command/cron/stats.pm:93
+#: lib/Lutim/Command/cron/stats.pm:101
msgid "Image delay"
msgstr ""
-#: lib/Lutim/Controller.pm:715
+#: lib/Lutim/Controller.pm:702
msgid "Image not found."
msgstr "Imagen no encontrada."
-#: themes/default/templates/layouts/default.html.ep:49
+#: themes/default/templates/layouts/default.html.ep:48
msgid "Informations"
msgstr "Informaciones"
-#: themes/default/templates/layouts/default.html.ep:55
+#: themes/default/templates/layouts/default.html.ep:56
msgid "Install webapp"
msgstr "Instalar webapp"
+#: themes/default/templates/layouts/default.html.ep:55
+msgid "Instance's statistics"
+msgstr ""
+
#: themes/default/templates/about.html.ep:11
msgid "Is it really anonymous?"
msgstr "¿Es realmente anónimo?"
@@ -268,7 +272,11 @@ msgstr "Mantener las etiquetas EXIF"
msgid "Let's go!"
msgstr "¡Vamos allá!"
-#: themes/default/templates/layouts/default.html.ep:48
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Liberapay button"
+msgstr ""
+
+#: themes/default/templates/layouts/default.html.ep:47
msgid "License:"
msgstr "Licencia:"
@@ -333,7 +341,7 @@ msgstr "Enviar una imagen"
msgid "Share it!"
msgstr "¡Compártelo!"
-#: themes/default/templates/layouts/default.html.ep:51
+#: themes/default/templates/layouts/default.html.ep:50
msgid "Share on Twitter"
msgstr "Compartir en Twitter"
@@ -343,10 +351,18 @@ msgid "Something bad happened"
msgstr "Algo malo ha pasado"
#. ($c->config('contact')
-#: lib/Lutim/Controller.pm:723
+#: lib/Lutim/Controller.pm:709
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
msgstr "Algo malo ha pasado. Inténtelo de nuevo más tarde o contacte con el administrador (%1)."
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Support the author on Liberapay"
+msgstr ""
+
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Support the author on Tipeee"
+msgstr ""
+
#: themes/default/templates/about.html.ep:13
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
msgstr "La dirección IP del remitente de la imagen se retiene durante un tiempo, que depende de lo que elija el administrador (para la instancia oficial, que está localizada en Francia, es un año)."
@@ -355,25 +371,25 @@ msgstr "La dirección IP del remitente de la imagen se retiene durante un tiempo
msgid "The Lutim software is a free software, which allows you to download and install it on you own server. Have a look at the AGPL to see what you can do."
msgstr "El software Lutim es software libre, lo que le permite descargarlo e instalarlo en su propio servidor. Eche un vistazo a la licencia AGPL para ver qué puede hacer."
-#: lib/Lutim/Controller.pm:305
+#: lib/Lutim/Controller.pm:307
msgid "The URL is not valid."
msgstr "La URL no es válida."
-#: lib/Lutim/Controller.pm:117
-#: lib/Lutim/Controller.pm:186
+#: lib/Lutim/Controller.pm:120
+#: lib/Lutim/Controller.pm:188
msgid "The delete token is invalid."
msgstr "El código de borrado no es válido."
#. ($upload->filename)
-#: lib/Lutim/Controller.pm:449
+#: lib/Lutim/Controller.pm:445
msgid "The file %1 is not an image."
msgstr "El archivo %1 no es una imagen."
#. ($max_file_size)
#. ($tx->res->max_message_size)
#. ($c->req->max_message_size)
-#: lib/Lutim/Controller.pm:269
-#: lib/Lutim/Controller.pm:338
+#: lib/Lutim/Controller.pm:271
+#: lib/Lutim/Controller.pm:340
#: themes/default/templates/partial/lutim.js.ep:332
msgid "The file exceed the size limit (%1)"
msgstr "El archivo supera el límite de tamaño (%1)"
@@ -383,17 +399,17 @@ msgid "The graph's datas are not updated in real-time."
msgstr "Los datos del gráfico no se actualizan en tiempo real."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:188
+#: lib/Lutim/Controller.pm:190
msgid "The image %1 has already been deleted."
msgstr "La imagen %1 ya se ha borrado."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:197
-#: lib/Lutim/Controller.pm:202
+#: lib/Lutim/Controller.pm:199
+#: lib/Lutim/Controller.pm:204
msgid "The image %1 has been successfully deleted"
msgstr "La imagen %1 se ha borrado correctamente"
-#: lib/Lutim/Controller.pm:125
+#: lib/Lutim/Controller.pm:128
msgid "The image's delay has been successfully modified"
msgstr "Se ha modificado correctamente el tiempo de la imagen"
@@ -406,11 +422,15 @@ msgid "The images you post on Lutim can be stored indefinitely or be deleted at
msgstr "Puede, opcionalmente, solicitar que la imagen publicada en Lutim se elimine con la primera vista (o descarga) o tras un tiempo seleccionado de entre varios propuestos."
#. ($c->config->{contact})
-#: lib/Lutim/Controller.pm:444
+#: lib/Lutim/Controller.pm:442
msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr "No más URL disponibles. Inténtelo de nuevo o contacte con el administrador. %1"
-#: lib/Lutim/Command/cron/stats.pm:102
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Tipeee button"
+msgstr ""
+
+#: lib/Lutim/Command/cron/stats.pm:110
msgid "Total"
msgstr ""
@@ -420,23 +440,23 @@ msgid "Tweet it!"
msgstr "¡Tuitéalo!"
#. ($short)
-#: lib/Lutim/Controller.pm:159
-#: lib/Lutim/Controller.pm:231
+#: lib/Lutim/Controller.pm:162
+#: lib/Lutim/Controller.pm:233
msgid "Unable to find the image %1."
msgstr "No se ha podido encontrar la imagen %1."
-#: lib/Lutim.pm:85
-#: lib/Lutim/Controller.pm:534
-#: lib/Lutim/Controller.pm:580
-#: lib/Lutim/Controller.pm:624
-#: lib/Lutim/Controller.pm:664
-#: lib/Lutim/Controller.pm:676
-#: lib/Lutim/Controller.pm:687
-#: lib/Lutim/Controller.pm:712
+#: lib/Lutim.pm:86
+#: lib/Lutim/Controller.pm:529
+#: lib/Lutim/Controller.pm:574
+#: lib/Lutim/Controller.pm:615
+#: lib/Lutim/Controller.pm:654
+#: lib/Lutim/Controller.pm:666
+#: lib/Lutim/Controller.pm:677
+#: lib/Lutim/Controller.pm:699
msgid "Unable to find the image: it has been deleted."
msgstr "No se ha podido encontrar la imagen: ha sido borrada."
-#: lib/Lutim/Controller.pm:101
+#: lib/Lutim/Controller.pm:105
msgid "Unable to get counter"
msgstr "Imposible recuperar el contador"
@@ -502,9 +522,9 @@ msgstr "y en"
msgid "core developer"
msgstr "desarrollador principal"
-#: lib/Lutim/Command/cron/stats.pm:108
-#: lib/Lutim/Command/cron/stats.pm:125
-#: lib/Lutim/Command/cron/stats.pm:97
+#: lib/Lutim/Command/cron/stats.pm:105
+#: lib/Lutim/Command/cron/stats.pm:116
+#: lib/Lutim/Command/cron/stats.pm:133
#: themes/default/templates/index.html.ep:3
msgid "no time limit"
msgstr "Sin tiempo límite"
diff --git a/themes/default/lib/Lutim/I18N/fr.po b/themes/default/lib/Lutim/I18N/fr.po
index b3b2108..f4da711 100644
--- a/themes/default/lib/Lutim/I18N/fr.po
+++ b/themes/default/lib/Lutim/I18N/fr.po
@@ -22,12 +22,12 @@ msgstr ""
#. (config('max_delay')
#. (7)
#. (30)
-#: lib/Lutim/Command/cron/stats.pm:100
-#: lib/Lutim/Command/cron/stats.pm:110
-#: lib/Lutim/Command/cron/stats.pm:111
-#: lib/Lutim/Command/cron/stats.pm:127
-#: lib/Lutim/Command/cron/stats.pm:128
-#: lib/Lutim/Command/cron/stats.pm:99
+#: lib/Lutim/Command/cron/stats.pm:107
+#: lib/Lutim/Command/cron/stats.pm:108
+#: lib/Lutim/Command/cron/stats.pm:118
+#: lib/Lutim/Command/cron/stats.pm:119
+#: lib/Lutim/Command/cron/stats.pm:135
+#: lib/Lutim/Command/cron/stats.pm:136
#: themes/default/templates/partial/lutim.js.ep:235
#: themes/default/templates/partial/lutim.js.ep:244
#: themes/default/templates/partial/lutim.js.ep:245
@@ -43,16 +43,16 @@ msgstr "%1 images envoyées sur cette instance depuis le début."
msgid "-or-"
msgstr "-ou-"
-#: lib/Lutim/Command/cron/stats.pm:101
-#: lib/Lutim/Command/cron/stats.pm:112
-#: lib/Lutim/Command/cron/stats.pm:129
+#: lib/Lutim/Command/cron/stats.pm:109
+#: lib/Lutim/Command/cron/stats.pm:120
+#: lib/Lutim/Command/cron/stats.pm:137
#: themes/default/templates/index.html.ep:5
msgid "1 year"
msgstr "1 an"
-#: lib/Lutim/Command/cron/stats.pm:109
-#: lib/Lutim/Command/cron/stats.pm:126
-#: lib/Lutim/Command/cron/stats.pm:98
+#: lib/Lutim/Command/cron/stats.pm:106
+#: lib/Lutim/Command/cron/stats.pm:117
+#: lib/Lutim/Command/cron/stats.pm:134
#: themes/default/templates/index.html.ep:4
#: themes/default/templates/partial/lutim.js.ep:244
msgid "24 hours"
@@ -62,11 +62,11 @@ msgstr "24 heures"
msgid ": Error while trying to get the counter."
msgstr " : Erreur en essayant de récupérer le compteur."
-#: lib/Lutim/Command/cron/stats.pm:94
+#: lib/Lutim/Command/cron/stats.pm:102
msgid "Active images"
msgstr "Images actives"
-#: lib/Lutim/Controller.pm:286
+#: lib/Lutim/Controller.pm:288
msgid "An error occured while downloading the image."
msgstr "Une erreur est survenue lors du téléchargement de l’image."
@@ -125,11 +125,11 @@ msgstr "Graphe de répartition des délais pour les images actives"
msgid "Delete at first view?"
msgstr "Supprimer au premier accès ?"
-#: lib/Lutim/Command/cron/stats.pm:95
+#: lib/Lutim/Command/cron/stats.pm:103
msgid "Deleted images"
msgstr "Images supprimées"
-#: lib/Lutim/Command/cron/stats.pm:96
+#: lib/Lutim/Command/cron/stats.pm:104
msgid "Deleted images in 30 days"
msgstr "Images supprimées dans 30 jours"
@@ -189,7 +189,7 @@ msgstr "Nom du fichier"
msgid "For more details, see the homepage of the project."
msgstr "Pour plus de détails, consultez la page Github du projet."
-#: themes/default/templates/layouts/default.html.ep:50
+#: themes/default/templates/layouts/default.html.ep:49
msgid "Fork me!"
msgstr "Créez un fork !"
@@ -203,7 +203,7 @@ msgstr "Lien vers la galerie"
msgid "Hit Ctrl+C, then Enter to copy the short link"
msgstr "Faites Ctrl+C puis appuyez sur la touche Entrée pour copier le lien"
-#: themes/default/templates/layouts/default.html.ep:45
+#: themes/default/templates/layouts/default.html.ep:44
msgid "Homepage"
msgstr "Accueil"
@@ -228,22 +228,26 @@ msgstr "Si les fichiers sont bien supprimés si vous en avez exprimé le choix,
msgid "Image URL"
msgstr "URL de l’image"
-#: lib/Lutim/Command/cron/stats.pm:93
+#: lib/Lutim/Command/cron/stats.pm:101
msgid "Image delay"
msgstr "Durée de rétention de l’image"
-#: lib/Lutim/Controller.pm:715
+#: lib/Lutim/Controller.pm:702
msgid "Image not found."
msgstr "Image non trouvée."
-#: themes/default/templates/layouts/default.html.ep:49
+#: themes/default/templates/layouts/default.html.ep:48
msgid "Informations"
msgstr "Informations"
-#: themes/default/templates/layouts/default.html.ep:55
+#: themes/default/templates/layouts/default.html.ep:56
msgid "Install webapp"
msgstr "Installer la webapp"
+#: themes/default/templates/layouts/default.html.ep:55
+msgid "Instance's statistics"
+msgstr "Statistiques de l’instance"
+
#: themes/default/templates/about.html.ep:11
msgid "Is it really anonymous?"
msgstr "C’est vraiment anonyme ?"
@@ -268,7 +272,11 @@ msgstr "Conserver les données EXIF"
msgid "Let's go!"
msgstr "Allons-y !"
-#: themes/default/templates/layouts/default.html.ep:48
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Liberapay button"
+msgstr "Bouton Liberapay"
+
+#: themes/default/templates/layouts/default.html.ep:47
msgid "License:"
msgstr "Licence :"
@@ -333,7 +341,7 @@ msgstr "Envoyer une image"
msgid "Share it!"
msgstr "Partagez !"
-#: themes/default/templates/layouts/default.html.ep:51
+#: themes/default/templates/layouts/default.html.ep:50
msgid "Share on Twitter"
msgstr "Partager sur Twitter"
@@ -343,10 +351,18 @@ msgid "Something bad happened"
msgstr "Un problème est survenu"
#. ($c->config('contact')
-#: lib/Lutim/Controller.pm:723
+#: lib/Lutim/Controller.pm:709
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
msgstr "Quelque chose s’est mal passé lors de la création de l’archive. Veuillez réessayer plus tard ou contactez l’administrateur (%1)."
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Support the author on Liberapay"
+msgstr "Supporter l’auteur sur Liberapay"
+
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Support the author on Tipeee"
+msgstr "Supporter l’auteur sur Tipeee"
+
#: themes/default/templates/about.html.ep:13
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
msgstr ""
@@ -357,25 +373,25 @@ msgstr ""
msgid "The Lutim software is a free software, which allows you to download and install it on you own server. Have a look at the AGPL to see what you can do."
msgstr "Le logiciel Lutim est un logiciel libre, ce qui vous permet de le télécharger et de l’installer sur votre propre serveur. Jetez un coup d’œil à l’AGPL pour voir quels sont vos droits"
-#: lib/Lutim/Controller.pm:305
+#: lib/Lutim/Controller.pm:307
msgid "The URL is not valid."
msgstr "L’URL n’est pas valide."
-#: lib/Lutim/Controller.pm:117
-#: lib/Lutim/Controller.pm:186
+#: lib/Lutim/Controller.pm:120
+#: lib/Lutim/Controller.pm:188
msgid "The delete token is invalid."
msgstr "Le jeton de suppression est invalide."
#. ($upload->filename)
-#: lib/Lutim/Controller.pm:449
+#: lib/Lutim/Controller.pm:445
msgid "The file %1 is not an image."
msgstr "Le fichier %1 n’est pas une image."
#. ($max_file_size)
#. ($tx->res->max_message_size)
#. ($c->req->max_message_size)
-#: lib/Lutim/Controller.pm:269
-#: lib/Lutim/Controller.pm:338
+#: lib/Lutim/Controller.pm:271
+#: lib/Lutim/Controller.pm:340
#: themes/default/templates/partial/lutim.js.ep:332
msgid "The file exceed the size limit (%1)"
msgstr "Le fichier dépasse la limite de taille (%1)"
@@ -385,17 +401,17 @@ msgid "The graph's datas are not updated in real-time."
msgstr "Les données du graphique ne sont pas mises à jour en temps réél."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:188
+#: lib/Lutim/Controller.pm:190
msgid "The image %1 has already been deleted."
msgstr "L’image %1 a déjà été supprimée."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:197
-#: lib/Lutim/Controller.pm:202
+#: lib/Lutim/Controller.pm:199
+#: lib/Lutim/Controller.pm:204
msgid "The image %1 has been successfully deleted"
msgstr "L’image %1 a été supprimée avec succès."
-#: lib/Lutim/Controller.pm:125
+#: lib/Lutim/Controller.pm:128
msgid "The image's delay has been successfully modified"
msgstr "Le délai de l’image a été modifié avec succès."
@@ -408,11 +424,15 @@ msgid "The images you post on Lutim can be stored indefinitely or be deleted at
msgstr "Les images déposées sur Lutim peuvent être stockées indéfiniment, ou s’effacer dès le premier affichage ou au bout du délai choisi parmi ceux proposés."
#. ($c->config->{contact})
-#: lib/Lutim/Controller.pm:444
+#: lib/Lutim/Controller.pm:442
msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr "Il n’y a plus d’URL disponible. Veuillez réessayer ou contacter l’administrateur. %1."
-#: lib/Lutim/Command/cron/stats.pm:102
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Tipeee button"
+msgstr "Bouton Tipeee"
+
+#: lib/Lutim/Command/cron/stats.pm:110
msgid "Total"
msgstr "Total"
@@ -422,23 +442,23 @@ msgid "Tweet it!"
msgstr "Tweetez !"
#. ($short)
-#: lib/Lutim/Controller.pm:159
-#: lib/Lutim/Controller.pm:231
+#: lib/Lutim/Controller.pm:162
+#: lib/Lutim/Controller.pm:233
msgid "Unable to find the image %1."
msgstr "Impossible de trouver l’image %1."
-#: lib/Lutim.pm:85
-#: lib/Lutim/Controller.pm:534
-#: lib/Lutim/Controller.pm:580
-#: lib/Lutim/Controller.pm:624
-#: lib/Lutim/Controller.pm:664
-#: lib/Lutim/Controller.pm:676
-#: lib/Lutim/Controller.pm:687
-#: lib/Lutim/Controller.pm:712
+#: lib/Lutim.pm:86
+#: lib/Lutim/Controller.pm:529
+#: lib/Lutim/Controller.pm:574
+#: lib/Lutim/Controller.pm:615
+#: lib/Lutim/Controller.pm:654
+#: lib/Lutim/Controller.pm:666
+#: lib/Lutim/Controller.pm:677
+#: lib/Lutim/Controller.pm:699
msgid "Unable to find the image: it has been deleted."
msgstr "Impossible de trouver l’image : elle a été supprimée."
-#: lib/Lutim/Controller.pm:101
+#: lib/Lutim/Controller.pm:105
msgid "Unable to get counter"
msgstr "Impossible de récupérer le compteur"
@@ -504,9 +524,9 @@ msgstr "et sur"
msgid "core developer"
msgstr "développeur principal"
-#: lib/Lutim/Command/cron/stats.pm:108
-#: lib/Lutim/Command/cron/stats.pm:125
-#: lib/Lutim/Command/cron/stats.pm:97
+#: lib/Lutim/Command/cron/stats.pm:105
+#: lib/Lutim/Command/cron/stats.pm:116
+#: lib/Lutim/Command/cron/stats.pm:133
#: themes/default/templates/index.html.ep:3
msgid "no time limit"
msgstr "Pas de limitation de durée"
diff --git a/themes/default/lib/Lutim/I18N/oc.po b/themes/default/lib/Lutim/I18N/oc.po
index f18e05e..049c526 100644
--- a/themes/default/lib/Lutim/I18N/oc.po
+++ b/themes/default/lib/Lutim/I18N/oc.po
@@ -21,12 +21,12 @@ msgstr ""
#. (config('max_delay')
#. (7)
#. (30)
-#: lib/Lutim/Command/cron/stats.pm:100
-#: lib/Lutim/Command/cron/stats.pm:110
-#: lib/Lutim/Command/cron/stats.pm:111
-#: lib/Lutim/Command/cron/stats.pm:127
-#: lib/Lutim/Command/cron/stats.pm:128
-#: lib/Lutim/Command/cron/stats.pm:99
+#: lib/Lutim/Command/cron/stats.pm:107
+#: lib/Lutim/Command/cron/stats.pm:108
+#: lib/Lutim/Command/cron/stats.pm:118
+#: lib/Lutim/Command/cron/stats.pm:119
+#: lib/Lutim/Command/cron/stats.pm:135
+#: lib/Lutim/Command/cron/stats.pm:136
#: themes/default/templates/partial/lutim.js.ep:235
#: themes/default/templates/partial/lutim.js.ep:244
#: themes/default/templates/partial/lutim.js.ep:245
@@ -42,16 +42,16 @@ msgstr "%1 imatges mandats sus aquesta instància dempuèi lo començament."
msgid "-or-"
msgstr "-o-"
-#: lib/Lutim/Command/cron/stats.pm:101
-#: lib/Lutim/Command/cron/stats.pm:112
-#: lib/Lutim/Command/cron/stats.pm:129
+#: lib/Lutim/Command/cron/stats.pm:109
+#: lib/Lutim/Command/cron/stats.pm:120
+#: lib/Lutim/Command/cron/stats.pm:137
#: themes/default/templates/index.html.ep:5
msgid "1 year"
msgstr "1 an"
-#: lib/Lutim/Command/cron/stats.pm:109
-#: lib/Lutim/Command/cron/stats.pm:126
-#: lib/Lutim/Command/cron/stats.pm:98
+#: lib/Lutim/Command/cron/stats.pm:106
+#: lib/Lutim/Command/cron/stats.pm:117
+#: lib/Lutim/Command/cron/stats.pm:134
#: themes/default/templates/index.html.ep:4
#: themes/default/templates/partial/lutim.js.ep:244
msgid "24 hours"
@@ -61,11 +61,11 @@ msgstr "24 oras"
msgid ": Error while trying to get the counter."
msgstr " : Error al moment de recuperar lo comptador."
-#: lib/Lutim/Command/cron/stats.pm:94
+#: lib/Lutim/Command/cron/stats.pm:102
msgid "Active images"
msgstr "Imatges actius"
-#: lib/Lutim/Controller.pm:286
+#: lib/Lutim/Controller.pm:288
msgid "An error occured while downloading the image."
msgstr "Una error es apareguda pendent lo telecargament de l'imatge."
@@ -124,11 +124,11 @@ msgstr "Grafic de despartiment dels delais pels imatges activats"
msgid "Delete at first view?"
msgstr "Suprimir al primièr accès ?"
-#: lib/Lutim/Command/cron/stats.pm:95
+#: lib/Lutim/Command/cron/stats.pm:103
msgid "Deleted images"
msgstr "Imatges suprimits"
-#: lib/Lutim/Command/cron/stats.pm:96
+#: lib/Lutim/Command/cron/stats.pm:104
msgid "Deleted images in 30 days"
msgstr "Imatges per èsser suprimits dins 30 jorns"
@@ -188,7 +188,7 @@ msgstr "Nom del fichièr"
msgid "For more details, see the homepage of the project."
msgstr "Per mai de detalhs, consultatz la pagina Github del projècte."
-#: themes/default/templates/layouts/default.html.ep:50
+#: themes/default/templates/layouts/default.html.ep:49
msgid "Fork me!"
msgstr "Creatz un fork !"
@@ -202,7 +202,7 @@ msgstr "Ligam cap a la galariá"
msgid "Hit Ctrl+C, then Enter to copy the short link"
msgstr "Fasètz Ctrl+C puèi picatz Entrada per copiar lo ligam"
-#: themes/default/templates/layouts/default.html.ep:45
+#: themes/default/templates/layouts/default.html.ep:44
msgid "Homepage"
msgstr "Acuèlh"
@@ -227,22 +227,26 @@ msgstr "Se los fichièrs son ben estats suprimits se o avètz demandat, lors sig
msgid "Image URL"
msgstr "URL de l'imatge"
-#: lib/Lutim/Command/cron/stats.pm:93
+#: lib/Lutim/Command/cron/stats.pm:101
msgid "Image delay"
msgstr "Delai de l'imatge"
-#: lib/Lutim/Controller.pm:715
+#: lib/Lutim/Controller.pm:702
msgid "Image not found."
msgstr "Imatge pas trobat."
-#: themes/default/templates/layouts/default.html.ep:49
+#: themes/default/templates/layouts/default.html.ep:48
msgid "Informations"
msgstr "Informacions"
-#: themes/default/templates/layouts/default.html.ep:55
+#: themes/default/templates/layouts/default.html.ep:56
msgid "Install webapp"
msgstr "Installar la webapp"
+#: themes/default/templates/layouts/default.html.ep:55
+msgid "Instance's statistics"
+msgstr ""
+
#: themes/default/templates/about.html.ep:11
msgid "Is it really anonymous?"
msgstr "Es vertadièrament anonim ?"
@@ -267,7 +271,11 @@ msgstr "Conservar las donadas EXIF"
msgid "Let's go!"
msgstr "Zo !"
-#: themes/default/templates/layouts/default.html.ep:48
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Liberapay button"
+msgstr ""
+
+#: themes/default/templates/layouts/default.html.ep:47
msgid "License:"
msgstr "Licéncia :"
@@ -332,7 +340,7 @@ msgstr "Mandar un imatge"
msgid "Share it!"
msgstr "Partejatz !"
-#: themes/default/templates/layouts/default.html.ep:51
+#: themes/default/templates/layouts/default.html.ep:50
msgid "Share on Twitter"
msgstr "Partejar sus Twitter"
@@ -342,10 +350,18 @@ msgid "Something bad happened"
msgstr "Un problèma es aparegut"
#. ($c->config('contact')
-#: lib/Lutim/Controller.pm:723
+#: lib/Lutim/Controller.pm:709
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
msgstr "Quicòm a trucat pendent la creacion de l'archiu. Mercés de tornar ensajar pus tard o de contactar l'administrator (%1)."
+#: themes/default/templates/layouts/default.html.ep:52
+msgid "Support the author on Liberapay"
+msgstr ""
+
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Support the author on Tipeee"
+msgstr ""
+
#: themes/default/templates/about.html.ep:13
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
msgstr "L’IP de la persona que mandèt l'imatge es gardada pendent un delai que depend de l'administrator de l'instància (per l'instància oficiala que lo servidor es en França, es un delai d'un an)."
@@ -354,25 +370,25 @@ msgstr "L’IP de la persona que mandèt l'imatge es gardada pendent un delai qu
msgid "The Lutim software is a free software, which allows you to download and install it on you own server. Have a look at the AGPL to see what you can do."
msgstr "Lo logicial Lutim es un logicial liure, que permet de lo telecargar e de l’installar sus vòstre pròpri servidor. Gaitatz l’AGPL per veire que son vòstres dreits"
-#: lib/Lutim/Controller.pm:305
+#: lib/Lutim/Controller.pm:307
msgid "The URL is not valid."
msgstr "L'URL n'es pas valida."
-#: lib/Lutim/Controller.pm:117
-#: lib/Lutim/Controller.pm:186
+#: lib/Lutim/Controller.pm:120
+#: lib/Lutim/Controller.pm:188
msgid "The delete token is invalid."
msgstr "Lo geton de supression es invalida."
#. ($upload->filename)
-#: lib/Lutim/Controller.pm:449
+#: lib/Lutim/Controller.pm:445
msgid "The file %1 is not an image."
msgstr "Lo fichièr %1 es pas un imatge."
#. ($max_file_size)
#. ($tx->res->max_message_size)
#. ($c->req->max_message_size)
-#: lib/Lutim/Controller.pm:269
-#: lib/Lutim/Controller.pm:338
+#: lib/Lutim/Controller.pm:271
+#: lib/Lutim/Controller.pm:340
#: themes/default/templates/partial/lutim.js.ep:332
msgid "The file exceed the size limit (%1)"
msgstr "Lo fichièr depassa lo limit de talha (%1)"
@@ -382,17 +398,17 @@ msgid "The graph's datas are not updated in real-time."
msgstr "Las donadas del grafic son pas mesas a jorn en temps real."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:188
+#: lib/Lutim/Controller.pm:190
msgid "The image %1 has already been deleted."
msgstr "L'imatge %1 es ja estat suprimit."
#. ($image->filename)
-#: lib/Lutim/Controller.pm:197
-#: lib/Lutim/Controller.pm:202
+#: lib/Lutim/Controller.pm:199
+#: lib/Lutim/Controller.pm:204
msgid "The image %1 has been successfully deleted"
msgstr "L'imatge %1 es estat suprimit amb succès."
-#: lib/Lutim/Controller.pm:125
+#: lib/Lutim/Controller.pm:128
msgid "The image's delay has been successfully modified"
msgstr "Lo delai de l'imatge es plan estat modificat."
@@ -405,11 +421,15 @@ msgid "The images you post on Lutim can be stored indefinitely or be deleted at
msgstr "Los imatges depausats sus Lutim pòdon èsser gardats sens fin, o s’escafar tre lo primièr afichatge o al cap d'un delai causit entre los prepausats."
#. ($c->config->{contact})
-#: lib/Lutim/Controller.pm:444
+#: lib/Lutim/Controller.pm:442
msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr "I a pas mai d'URL disponibla. Mercés de tornar ensajar o de contactar l'administrator. %1."
-#: lib/Lutim/Command/cron/stats.pm:102
+#: themes/default/templates/layouts/default.html.ep:51
+msgid "Tipeee button"
+msgstr ""
+
+#: lib/Lutim/Command/cron/stats.pm:110
msgid "Total"
msgstr "Total"
@@ -419,23 +439,23 @@ msgid "Tweet it!"
msgstr "Tweetejatz !"
#. ($short)
-#: lib/Lutim/Controller.pm:159
-#: lib/Lutim/Controller.pm:231
+#: lib/Lutim/Controller.pm:162
+#: lib/Lutim/Controller.pm:233
msgid "Unable to find the image %1."
msgstr "Impossible de trobar l'imatge %1."
-#: lib/Lutim.pm:85
-#: lib/Lutim/Controller.pm:534
-#: lib/Lutim/Controller.pm:580
-#: lib/Lutim/Controller.pm:624
-#: lib/Lutim/Controller.pm:664
-#: lib/Lutim/Controller.pm:676
-#: lib/Lutim/Controller.pm:687
-#: lib/Lutim/Controller.pm:712
+#: lib/Lutim.pm:86
+#: lib/Lutim/Controller.pm:529
+#: lib/Lutim/Controller.pm:574
+#: lib/Lutim/Controller.pm:615
+#: lib/Lutim/Controller.pm:654
+#: lib/Lutim/Controller.pm:666
+#: lib/Lutim/Controller.pm:677
+#: lib/Lutim/Controller.pm:699
msgid "Unable to find the image: it has been deleted."
msgstr "Impossible de trobar l'imatge : es estat suprimit."
-#: lib/Lutim/Controller.pm:101
+#: lib/Lutim/Controller.pm:105
msgid "Unable to get counter"
msgstr "Impossible de recuperar lo comptador"
@@ -501,9 +521,9 @@ msgstr "e sus"
msgid "core developer"
msgstr "desvolopaire màger"
-#: lib/Lutim/Command/cron/stats.pm:108
-#: lib/Lutim/Command/cron/stats.pm:125
-#: lib/Lutim/Command/cron/stats.pm:97
+#: lib/Lutim/Command/cron/stats.pm:105
+#: lib/Lutim/Command/cron/stats.pm:116
+#: lib/Lutim/Command/cron/stats.pm:133
#: themes/default/templates/index.html.ep:3
msgid "no time limit"
msgstr "Pas cap de limitacion de durada"
diff --git a/themes/default/public/css/lutim.css b/themes/default/public/css/lutim.css
index e1e58ca..2d802aa 100644
--- a/themes/default/public/css/lutim.css
+++ b/themes/default/public/css/lutim.css
@@ -66,3 +66,11 @@ label.always-encrypt {
.adjust-addon .btn {
width: 43px;
}
+#tipeee-img {
+ margin-top: -4px;
+}
+#liberapay-img {
+ height: 21px;
+ line-height: 21px;
+ margin-top: -5.33333px;
+}
diff --git a/themes/default/public/img/liberapay.svg b/themes/default/public/img/liberapay.svg
new file mode 100644
index 0000000..1537ec9
--- /dev/null
+++ b/themes/default/public/img/liberapay.svg
@@ -0,0 +1,63 @@
+
+
diff --git a/themes/default/public/img/tipeee-tip-btn.png b/themes/default/public/img/tipeee-tip-btn.png
new file mode 100644
index 0000000000000000000000000000000000000000..221237a335e807f4f3954e6fa563612ec7b16b5b
GIT binary patch
literal 1268
zcmV004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00006
zVoOIv0RI600RN!9r;`8x00(qQO+^Rc1sf6>BY5$W9RL6W_(?=TR7l6omQ83}RTRg6
z_r96TOlC5ZNzycpRBLO43U(1G*4C1$&}hLH3x#ImT9=hB+;k%dcGHDB7b2*jLN*0O
z#L$IN)QCn5+CWnplSw9-ugv$y`?%M|n@$oYGj^h24jkU)a_>3+bI$*qcg6hp#GAld
zz&`elB!PFu{P@H=F!+C?*+CL=j{*Z2^mKGwYgYlJ+?~t&_wS1kEsy>)IHf@f(3-A?
zA0je-25WVV+|)GMv^vHnLqVj^=bEn7P^I!Nz-f)}`S9-R!%Ah)HIwMYbM(Ia0;*EQ
zjKwL<{(&$$%V7WI3-p|R27to!Pb5G1v_o)8(f#x>`YyeKClY4m?HiaYam>YKoI(jZ
zox#Z$0gYD5txh8*jS!+`**(z+-l4(zy0>j0&ET{~hJu90o+UW?6i%*yf8;P)DXI&L
zq(7O&$rZ5T3AzsK$I~AL4NkELfOlvRdn1eaR}5|0O`OuUv$=Mh&cJD<2t09=@bjkt
zFv2|yU44V>&9CVhJAn}n;pB=`?=BL4@icuG&!HU$r%*&li4l#UN)_@`-;(-h5>=@*
z0BWVM))Eb0)>;Cs6rx3zn|6f|*y#+lrI=e`)1)*rOLgHMb}EAm1d!bUgp^q8N!Lig
zk9VLSJF|h4$zp^<^qxOU=(*$Qt=*|LwR=lw+eX_CwR=m=-P;ZvQc}IUL}}(X7hJJK
z^25)_-};X7-2AqqrI}gmOcnq$zRv19?~(rerrS&&55du62*cPGxEYIMC(_u-G-fRB
z^7DZ?2b=6}L|j*NV?#G)p1bGd3)txm%vc<4+X$~0Bh-yBSI}{&lV;z!tDI_C^kH8{)v#*NMLR62TLr?xkQiz30y&y1biF_C*=Kc7^`S
z7u-zd@)V|jg!-td*OkDNBY66wbR8VVf8rw)pcAqZY9&0i_3Th2XHc3vR_V7{{8m$tY}U4i*FFVE>xvT;rpKvvNh+#
z{P@Jq*tJIbeaLVR+Okl^dI{^cw4(?-{usm8uHcDAs4XtDcH@1lcmidb=t_0xa%l~Q
z;eM5B`)_T{Mj=o&6FZT@*~rz~-$q-mV%vmH9mf-m0N^`xknq?^>|7pQGg}i~h05UK!H!UzVEiyM$
zGB7$aH99gjD=;!TFfiOW$YTHi03~!qSaf7zbY(hiZ)9m^c>ppnF*YqQH!U$UR53C-
eFflqYGb=DMIxsNUU!;Nn0000to_abs();
% $twitter_url .= '?url='.url_escape("$url")
-% .'&via=framasky'
% .'&text=Check out this %23Lutim instance! ';
@@ -48,10 +47,12 @@
<%= l('License:') %> <%= link_to 'https://www.gnu.org/licenses/agpl-3.0.html' => begin %>AGPL<% end %> —
<%= link_to url_for('about') => begin %><%= l('Informations') %><% end %> —
<%= link_to 'https://framagit.org/luc/lutim' => (title => l('Fork me!')) => begin %><% end %>
- <%= link_to $twitter_url => (title => l('Share on Twitter')) => begin %><% end %>
- <%= link_to 'https://flattr.com/submit/auto?user_id=_SKy_&url='.$url.'&title=Lutim&category=software' => (title => 'Flattr this') => begin %><% end %>
+ <%= link_to $twitter_url => (title => l('Share on Twitter')) => begin %><% end %>
+ <%= link_to 'https://tipeee.com/fiat-tux' => (title => l('Support the author on Tipeee')) => begin %><% end %>
+ <%= link_to 'https://liberapay.com/sky' => (title => l('Support the author on Liberapay')) => begin %><% end %>
<%= link_to 'bitcoin:1JCEtmx9pyzWfitMQj2pKAk8GNgyix7RmA?label=lutim' => (title => 'Give Bitcoins') => begin %><% end %> —
<%= link_to url_for('myfiles') => begin %><%= l('My images') %><% end %> —
+ <%= link_to url_for('stats') => begin %><%= l('Instance\'s statistics') %><% end %> —
<%= l('Install webapp') %>