Commit ef1297be authored by Luc Didry's avatar Luc Didry
Browse files

Use Photoswipe for the gallery instead of Unite gallery

parent d6b59c45
......@@ -13,5 +13,4 @@ themes/*
themes/default/templates/data.html.ep
themes/default/templates/raw.html.ep
themes/default/templates/stats.json.ep
themes/default/public/packed/*
tmp/*
......@@ -64,6 +64,6 @@ It uses:
* [Moment.js](http://momentjs.com/) for displaying real dates instead of unix timestamps.
* [Fontello](http://fontello.com/) and the [markdown font](https://github.com/dcurtis/markdown-mark/) for the icons, licenses for the fontello icons fonts are in `public/font/LICENSE.txt`
* [Henny Penny](https://www.google.com/fonts/specimen/Henny+Penny) font designed by Olga Umpeleva for [Brownfox](http://brownfox.org)
* [Unite gallery](http://unitegallery.net/) for the gallery
* [PhotoSwipe](http://photoswipe.com/) for the gallery
* [JSZip](https://stuk.github.io/jszip/) for generating a zip containing all the images in the gallery
* [FileSaver.js](https://github.com/eligrey/FileSaver.js/) for saving the zip
......@@ -223,14 +223,24 @@ sub startup {
to('Controller#get_counter')->
name('counter');
$r->get('/about/(:short).(:f)')->
to('Controller#about_img')->
name('about_img');
$r->get('/about/:short/(:key).(:f)')->
to('Controller#about_img')->
name('about_img');
$r->get('/(:short).(:f)')->
to('Controller#short')->
name('short');
$r->get('/:short')->
to('Controller#short');
$r->get('/:short/(:key).(:f)')->
to('Controller#short');
$r->get('/:short/:key')->
to('Controller#short');
}
......
......@@ -84,6 +84,31 @@ sub infos {
);
}
sub about_img {
my $c = shift;
my $short = $c->param('short');
my $image = Lutim::DB::Image->new(app => $c->app, short => $short);
if ($image->enabled && $image->path) {
return $c->render(
json => {
success => true,
data => {
width => $image->width,
height => $image->height,
}
}
);
} else {
return $c->render(
json => {
success => false,
msg => $c->l('Unable to find the image %1.', $short)
}
);
}
}
sub webapp {
my $c = shift;
......@@ -527,7 +552,9 @@ sub short {
my $short = $c->param('short');
my $touit = $c->param('t');
my $key = $c->param('key');
my $thumb = $c->param('thumb');
my $thumb;
$thumb = '' if defined $c->param('thumb');
$thumb = $c->param('width') if defined $c->param('width');
my $dl = (defined($c->param('dl'))) ? 'attachment' : 'inline';
my $image = Lutim::DB::Image->new(app => $c->app, short => $short);
......
......@@ -62,7 +62,7 @@ sub _render_file {
$mediatype =~ s/x-//;
my $headers = Mojo::Headers->new();
if ($nocache) {
if ($nocache || defined($thumb)) {
$headers->add('Cache-Control' => 'no-cache, no-store, max-age=0, must-revalidate');
} else {
$headers->add('Expires' => $expires);
......@@ -82,7 +82,11 @@ sub _render_file {
$im->BlobToImage($asset->slurp);
# Create the thumbnail
$im->Resize(geometry=>'x'.$c->config('thumbnail_size'));
if ($thumb eq '') {
$im->Resize(geometry => 'x'.$c->config('thumbnail_size'));
} else {
$im->Resize(geometry => $thumb);
}
# Replace the asset with the thumbnail
$asset = Mojo::Asset::Memory->new->add_chunk($im->ImageToBlob());
......
......@@ -57,7 +57,7 @@ msgstr ""
msgid "Active images"
msgstr "الصور النشطة"
#: lib/Lutim/Controller.pm:301
#: lib/Lutim/Controller.pm:326
msgid "An error occured while downloading the image."
msgstr "طرأ هناك خطأ أثناء عملية تنزيل الصورة."
......@@ -73,6 +73,10 @@ msgstr "العودة إلى الصفحة الرئيسية"
msgid "Click to open the file browser"
msgstr "إضغط لفتح مدير الملفات"
#: themes/default/templates/gallery.html.ep:26
msgid "Close (Esc)"
msgstr ""
#: themes/default/templates/about.html.ep:30
msgid "Contributors"
msgstr "المساهمون"
......@@ -197,7 +201,7 @@ msgstr "رابط الصورة"
msgid "Image delay"
msgstr ""
#: lib/Lutim/Controller.pm:725
#: lib/Lutim/Controller.pm:752
msgid "Image not found."
msgstr "الصورة غير موجودة."
......@@ -237,10 +241,6 @@ msgstr ""
msgid "Let's go!"
msgstr "هيا بنا !"
#:
msgid "Liberapay button"
msgstr "زر ليبيراباي"
#: themes/default/templates/partial/navbar.html.ep:72
msgid "License:"
msgstr "الرخصة :"
......@@ -269,6 +269,10 @@ msgstr ""
msgid "My images"
msgstr ""
#: themes/default/templates/gallery.html.ep:42
msgid "Next (arrow right)"
msgstr ""
#: themes/default/templates/partial/myfiles.js.ep:19
msgid "No limit"
msgstr ""
......@@ -294,6 +298,10 @@ msgstr ""
msgid "Please contact the administrator: %1"
msgstr ""
#: themes/default/templates/gallery.html.ep:40
msgid "Previous (arrow left)"
msgstr ""
#: themes/default/templates/stats.html.ep:22
msgid "Raw stats"
msgstr ""
......@@ -311,7 +319,7 @@ msgid "Something bad happened"
msgstr ""
#. ($c->config('contact')
#: lib/Lutim/Controller.pm:732
#: lib/Lutim/Controller.pm:759
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
msgstr ""
......@@ -339,7 +347,7 @@ msgstr ""
msgid "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
msgstr ""
#: lib/Lutim/Controller.pm:320
#: lib/Lutim/Controller.pm:345
msgid "The URL is not valid."
msgstr ""
......@@ -347,19 +355,19 @@ msgstr ""
msgid "The automatic download process will open a tab in your browser for each link. You need to allow popups for Lutim."
msgstr ""
#: lib/Lutim/Controller.pm:133 lib/Lutim/Controller.pm:201
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
msgid "The delete token is invalid."
msgstr ""
#. ($upload->filename)
#: lib/Lutim/Controller.pm:460
#: lib/Lutim/Controller.pm:485
msgid "The file %1 is not an image."
msgstr ""
#. ($tx->res->max_message_size)
#. ($c->req->max_message_size)
#. (config('max_file_size')
#: lib/Lutim/Controller.pm:284 lib/Lutim/Controller.pm:353 themes/default/templates/partial/lutim.js.ep:240
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:240
msgid "The file exceed the size limit (%1)"
msgstr ""
......@@ -368,16 +376,16 @@ msgid "The graph's datas are not updated in real-time."
msgstr ""
#. ($image->filename)
#: lib/Lutim/Controller.pm:203
#: lib/Lutim/Controller.pm:228
msgid "The image %1 has already been deleted."
msgstr ""
#. ($image->filename)
#: lib/Lutim/Controller.pm:212 lib/Lutim/Controller.pm:217
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
msgid "The image %1 has been successfully deleted"
msgstr ""
#: lib/Lutim/Controller.pm:141
#: lib/Lutim/Controller.pm:166
msgid "The image's delay has been successfully modified"
msgstr ""
......@@ -390,10 +398,14 @@ msgid "The images you post on Lutim can be stored indefinitely or be deleted at
msgstr ""
#. ($c->config->{contact})
#: lib/Lutim/Controller.pm:457
#: lib/Lutim/Controller.pm:482
msgid "There is no more available URL. Retry or contact the administrator. %1"
msgstr ""
#: themes/default/templates/gallery.html.ep:27
msgid "Toggle fullscreen"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:14
msgid "Toggle navigation"
msgstr ""
......@@ -407,15 +419,15 @@ msgid "Tweet it!"
msgstr ""
#. ($short)
#: lib/Lutim/Controller.pm:175 lib/Lutim/Controller.pm:246
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
msgid "Unable to find the image %1."
msgstr ""
#: lib/Lutim/Controller.pm:544 lib/Lutim/Controller.pm:589 lib/Lutim/Controller.pm:631 lib/Lutim/Controller.pm:674 lib/Lutim/Controller.pm:686 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:722 lib/Lutim/Plugin/Helpers.pm:57
#: lib/Lutim/Controller.pm:571 lib/Lutim/Controller.pm:616 lib/Lutim/Controller.pm:658 lib/Lutim/Controller.pm:701 lib/Lutim/Controller.pm:713 lib/Lutim/Controller.pm:724 lib/Lutim/Controller.pm:749 lib/Lutim/Plugin/Helpers.pm:57
msgid "Unable to find the image: it has been deleted."
msgstr ""
#: lib/Lutim/Controller.pm:118
#: lib/Lutim/Controller.pm:143
msgid "Unable to get counter"
msgstr ""
......@@ -436,7 +448,7 @@ msgid "Uploaded files by days"
msgstr ""
#. ($c->app->config('contact')
#: lib/Lutim/Plugin/Helpers.pm:152
#: lib/Lutim/Plugin/Helpers.pm:156
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
msgstr ""
......@@ -472,6 +484,10 @@ 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:28
msgid "Zoom in/out"
msgstr ""
#: themes/default/templates/about.html.ep:27
msgid "and on"
msgstr ""
......
......@@ -55,7 +55,7 @@ msgstr ""
msgid "Active images"
msgstr ""
#: lib/Lutim/Controller.pm:301
#: lib/Lutim/Controller.pm:326
msgid "An error occured while downloading the image."
msgstr "Beim Herunterladen des Bildes ist ein Fehler aufgetreten."
......@@ -71,6 +71,10 @@ msgstr "Zurück zur Hauptseite"
msgid "Click to open the file browser"
msgstr "Klicken um den Dateibrowser zu öffnen"
#: themes/default/templates/gallery.html.ep:26
msgid "Close (Esc)"
msgstr ""
#: themes/default/templates/about.html.ep:30
msgid "Contributors"
msgstr "Mitwirkende"
......@@ -195,7 +199,7 @@ msgstr "Bild-URL"
msgid "Image delay"
msgstr ""
#: lib/Lutim/Controller.pm:725
#: lib/Lutim/Controller.pm:752
msgid "Image not found."
msgstr "Bild nicht gefunden"
......@@ -265,6 +269,10 @@ msgstr "Markdown Syntax"
msgid "My images"
msgstr "Meine Bilder"
#: themes/default/templates/gallery.html.ep:42
msgid "Next (arrow right)"
msgstr ""
#: themes/default/templates/partial/myfiles.js.ep:19
msgid "No limit"
msgstr "Keine Begrenzung"
......@@ -290,6 +298,10 @@ msgstr ""
msgid "Please contact the administrator: %1"
msgstr "Kontaktiere den Administrator: %1"
#: themes/default/templates/gallery.html.ep:40
msgid "Previous (arrow left)"
msgstr ""
#: themes/default/templates/stats.html.ep:22
msgid "Raw stats"
msgstr ""
......@@ -302,16 +314,12 @@ msgstr "Sende ein Bild"
msgid "Share it!"
msgstr "Teile es!"
#:
msgid "Share on Twitter"
msgstr "Teile es auf Twitter"
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/lutim.js.ep:174
msgid "Something bad happened"
msgstr "Es ist ein Fehler aufgetreten"
#. ($c->config('contact')
#: lib/Lutim/Controller.pm:732
#: lib/Lutim/Controller.pm:759
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)."
......@@ -339,7 +347,7 @@ msgstr "Die IP-Adresse des Nutzers wird für eine bestimmte Zeit gespeichert. Di
msgid "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
msgstr "Lutim ist <a href=\"https://de.wikipedia.org/wiki/Freie_Software\">freie Software</a>, was dir erlaubt sie herunterzuladen und sie auf deinem eigenem Server zu installieren. Schau dir die <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> an um deine Recht zu sehen."
#: lib/Lutim/Controller.pm:320
#: lib/Lutim/Controller.pm:345
msgid "The URL is not valid."
msgstr "Die URL ist nicht gültig."
......@@ -347,19 +355,19 @@ msgstr "Die URL ist nicht gültig."
msgid "The automatic download process will open a tab in your browser for each link. You need to allow popups for Lutim."
msgstr ""
#: lib/Lutim/Controller.pm:133 lib/Lutim/Controller.pm:201
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
msgid "The delete token is invalid."
msgstr "Das Token zum Löschen ist ungültig."
#. ($upload->filename)
#: lib/Lutim/Controller.pm:460
#: lib/Lutim/Controller.pm:485
msgid "The file %1 is not an image."
msgstr "Die Datei %1 ist kein Bild."
#. ($tx->res->max_message_size)
#. ($c->req->max_message_size)
#. (config('max_file_size')
#: lib/Lutim/Controller.pm:284 lib/Lutim/Controller.pm:353 themes/default/templates/partial/lutim.js.ep:240
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:240
msgid "The file exceed the size limit (%1)"
msgstr "Die Datei überschreitet die Größenbeschränkung (%1)"
......@@ -368,16 +376,16 @@ 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:203
#: lib/Lutim/Controller.pm:228
msgid "The image %1 has already been deleted."
msgstr "Das Bild %1 wurde schon gelöscht."
#. ($image->filename)
#: lib/Lutim/Controller.pm:212 lib/Lutim/Controller.pm:217
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
msgid "The image %1 has been successfully deleted"
msgstr "Das Bild %1 wurde erfolgreich gelöscht."
#: lib/Lutim/Controller.pm:141
#: lib/Lutim/Controller.pm:166
msgid "The image's delay has been successfully modified"
msgstr "Die Zeit bis zum Löschen des Bildes wurde erfolgreich geändert."
......@@ -390,10 +398,14 @@ 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:457
#: lib/Lutim/Controller.pm:482
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"
#: themes/default/templates/gallery.html.ep:27
msgid "Toggle fullscreen"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:14
msgid "Toggle navigation"
msgstr ""
......@@ -407,15 +419,15 @@ msgid "Tweet it!"
msgstr "Twittere es!"
#. ($short)
#: lib/Lutim/Controller.pm:175 lib/Lutim/Controller.pm:246
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
msgid "Unable to find the image %1."
msgstr "Konnte das Bild %1 nicht finden."
#: lib/Lutim/Controller.pm:544 lib/Lutim/Controller.pm:589 lib/Lutim/Controller.pm:631 lib/Lutim/Controller.pm:674 lib/Lutim/Controller.pm:686 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:722 lib/Lutim/Plugin/Helpers.pm:57
#: lib/Lutim/Controller.pm:571 lib/Lutim/Controller.pm:616 lib/Lutim/Controller.pm:658 lib/Lutim/Controller.pm:701 lib/Lutim/Controller.pm:713 lib/Lutim/Controller.pm:724 lib/Lutim/Controller.pm:749 lib/Lutim/Plugin/Helpers.pm:57
msgid "Unable to find the image: it has been deleted."
msgstr "Dieses Bild wurde gelöscht."
#: lib/Lutim/Controller.pm:118
#: lib/Lutim/Controller.pm:143
msgid "Unable to get counter"
msgstr "Konnte den Zähler nicht abrufen"
......@@ -436,7 +448,7 @@ msgid "Uploaded files by days"
msgstr "Hochgeladene Bilder pro Tag"
#. ($c->app->config('contact')
#: lib/Lutim/Plugin/Helpers.pm:152
#: lib/Lutim/Plugin/Helpers.pm:156
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
msgstr "Hochladen ist momentan deaktiviert. Versuche es später erneut oder kontaktiere den Administrator (%1)."
......@@ -472,6 +484,10 @@ 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 "Du kannst Bilder, die du auf Lutim hochlädst, entweder nach dem ernsten Ansehen (oder Herunterladen) oder nach einem der vorgeschlagenen Zeiten löschen lassen."
#: themes/default/templates/gallery.html.ep:28
msgid "Zoom in/out"
msgstr ""
#: themes/default/templates/about.html.ep:27
msgid "and on"
msgstr "und auf"
......
......@@ -53,7 +53,7 @@ msgstr ""
msgid "Active images"
msgstr ""
#: lib/Lutim/Controller.pm:301
#: lib/Lutim/Controller.pm:326
msgid "An error occured while downloading the image."
msgstr "An error occured while downloading the image."
......@@ -69,6 +69,10 @@ msgstr "Back to homepage"
msgid "Click to open the file browser"
msgstr "Click to open the file browser"
#: themes/default/templates/gallery.html.ep:26
msgid "Close (Esc)"
msgstr ""
#: themes/default/templates/about.html.ep:30
msgid "Contributors"
msgstr "Contributors"
......@@ -193,7 +197,7 @@ msgstr "Image URL"
msgid "Image delay"
msgstr ""
#: lib/Lutim/Controller.pm:725
#: lib/Lutim/Controller.pm:752
msgid "Image not found."
msgstr ""
......@@ -261,6 +265,10 @@ msgstr "Markdown syntax"
msgid "My images"
msgstr ""
#: themes/default/templates/gallery.html.ep:42
msgid "Next (arrow right)"
msgstr ""
#: themes/default/templates/partial/myfiles.js.ep:19
msgid "No limit"
msgstr ""
......@@ -286,6 +294,10 @@ msgstr ""
msgid "Please contact the administrator: %1"
msgstr "Please contact the administrator: %1"
#: themes/default/templates/gallery.html.ep:40
msgid "Previous (arrow left)"
msgstr ""
#: themes/default/templates/stats.html.ep:22
msgid "Raw stats"
msgstr ""
......@@ -298,16 +310,12 @@ msgstr "Send an image"
msgid "Share it!"
msgstr ""
#:
msgid "Share on Twitter"
msgstr "Share on Twitter"
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/lutim.js.ep:174
msgid "Something bad happened"
msgstr "Something bad happened"
#. ($c->config('contact')
#: lib/Lutim/Controller.pm:732
#: lib/Lutim/Controller.pm:759
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
msgstr ""
......@@ -335,7 +343,7 @@ msgstr "The IP address of the image's sender is retained for a delay which depen
msgid "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
msgstr "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
#: lib/Lutim/Controller.pm:320
#: lib/Lutim/Controller.pm:345
msgid "The URL is not valid."
msgstr "The URL is not valid."
......@@ -343,19 +351,19 @@ msgstr "The URL is not valid."
msgid "The automatic download process will open a tab in your browser for each link. You need to allow popups for Lutim."
msgstr ""
#: lib/Lutim/Controller.pm:133 lib/Lutim/Controller.pm:201
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
msgid "The delete token is invalid."
msgstr "The delete token is invalid."
#. ($upload->filename)
#: lib/Lutim/Controller.pm:460
#: lib/Lutim/Controller.pm:485
msgid "The file %1 is not an image."
msgstr "The file %1 is not an image."
#. ($tx->res->max_message_size)
#. ($c->req->max_message_size)
#. (config('max_file_size')
#: lib/Lutim/Controller.pm:284 lib/Lutim/Controller.pm:353 themes/default/templates/partial/lutim.js.ep:240
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:240
msgid "The file exceed the size limit (%1)"
msgstr "The file exceed the size limit (%1)"
......@@ -364,16 +372,16 @@ 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:203
#: lib/Lutim/Controller.pm:228
msgid "The image %1 has already been deleted."
msgstr "The image %1 has already been deleted."
#. ($image->filename)
#: lib/Lutim/Controller.pm:212 lib/Lutim/Controller.pm:217
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
msgid "The image %1 has been successfully deleted"
msgstr "The image %1 has been successfully deleted"
#: lib/Lutim/Controller.pm:141
#: lib/Lutim/Controller.pm:166
msgid "The image's delay has been successfully modified"
msgstr "The image's delay has been successfully modified"
......@@ -386,10 +394,14 @@ 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:457
#: lib/Lutim/Controller.pm:482
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"
#: themes/default/templates/gallery.html.ep:27
msgid "Toggle fullscreen"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:14
msgid "Toggle navigation"
msgstr ""
......@@ -403,15 +415,15 @@ msgid "Tweet it!"
msgstr "Tweet it!"
#. ($short)
#: lib/Lutim/Controller.pm:175 lib/Lutim/Controller.pm:246
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
msgid "Unable to find the image %1."
msgstr "Unable to find the image %1."
#: lib/Lutim/Controller.pm:544 lib/Lutim/Controller.pm:589 lib/Lutim/Controller.pm:631 lib/Lutim/Controller.pm:674 lib/Lutim/Controller.pm:686 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:722 lib/Lutim/Plugin/Helpers.pm:57
#: lib/Lutim/Controller.pm:571 lib/Lutim/Controller.pm:616 lib/Lutim/Controller.pm:658 lib/Lutim/Controller.pm:701 lib/Lutim/Controller.pm:713 lib/Lutim/Controller.pm:724 lib/Lutim/Controller.pm:749 lib/Lutim/Plugin/Helpers.pm:57
msgid "Unable to find the image: it has been deleted."
msgstr "Unable to find the image: it has been deleted."
#: lib/Lutim/Controller.pm:118
#: lib/Lutim/Controller.pm:143
msgid "Unable to get counter"
msgstr ""
......@@ -432,7 +444,7 @@ msgid "Uploaded files by days"
msgstr "Uploaded files by days"
#. ($c->app->config('contact')
#: lib/Lutim/Plugin/Helpers.pm:152
#: lib/Lutim/Plugin/Helpers.pm:156
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
msgstr "Uploading is currently disabled, please try later or contact the administrator (%1)."
......@@ -472,6 +484,10 @@ 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 "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."
#: themes/default/templates/gallery.html.ep:28
msgid "Zoom in/out"
msgstr ""
#: themes/default/templates/about.html.ep:27
msgid "and on"
msgstr "and on"
......
......@@ -55,7 +55,7 @@ msgstr ""
msgid "Active images"
msgstr ""
#: lib/Lutim/Controller.pm:301
#: lib/Lutim/Controller.pm:326
msgid "An error occured while downloading the image."
msgstr "Error al intentar modificar la imagen."
......@@ -71,6 +71,10 @@ msgstr "Volver a la página inicial"
msgid "Click to open the file browser"
msgstr "Clic para abrir el explorador de archivos"
#: themes/default/templates/gallery.html.ep:26
msgid "Close (Esc)"
msgstr ""
#: themes/default/templates/about.html.ep:30
msgid "Contributors"
msgstr "Contribuidores"
......@@ -195,7 +199,7 @@ msgstr "URL de la imagen"
msgid "Image delay"
msgstr ""
#: lib/Lutim/Controller.pm:725
#: lib/Lutim/Controller.pm:752
msgid "Image not found."
msgstr "Imagen no encontrada."
......