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

Fixes #3 - Add list of of user's images in localstorage

parent af932336
......@@ -50,7 +50,15 @@ The details on how to contribute are on the [wiki](https://git.framasoft.org/luc
## Others projects dependancies
Lutim is written in Perl with the [Mojolicious](http://mojolicio.us) framework, uses the [Twitter bootstrap](http://getbootstrap.com) framework to look not too ugly, [JQuery](http://jquery.com) and [JQuery File Uploader](https://github.com/danielm/uploader/) (slightly modified) to add some modernity, [Raphaël](http://raphaeljs.com/) and [morris.js](http://www.oesmith.co.uk/morris.js/) for stats graphs and [freezeframe.js](http://freezeframe.chrisantonellis.com/) (slightly modified) to be able to freeze animated gifs in twitter card.
Lutim is written in Perl with the [Mojolicious](http://mojolicio.us) framework.
Licenses for the icons fonts are in `public/font/LICENSE.txt` except for the [markdown font](https://github.com/dcurtis/markdown-mark/).
It uses:
* [Twitter bootstrap](http://getbootstrap.com) framework to look not too ugly
* [JQuery](http://jquery.com) and [JQuery File Uploader](https://github.com/danielm/uploader/) (slightly modified) to add some modernity
* [Raphaël](http://raphaeljs.com/) and [morris.js](http://www.oesmith.co.uk/morris.js/) for stats graphs
* [freezeframe.js](http://freezeframe.chrisantonellis.com/) (slightly modified) to be able to freeze animated gifs in twitter card
* [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)
......@@ -6,6 +6,12 @@
"units_per_em": 1000,
"ascent": 850,
"glyphs": [
{
"uid": "12f4ece88e46abd864e40b35e05b11cd",
"css": "ok",
"code": 59402,
"src": "fontawesome"
},
{
"uid": "c5fd349cbd3d23e4ade333789c29c729",
"css": "eye",
......@@ -65,6 +71,12 @@
"css": "flattr",
"code": 59394,
"src": "zocial"
},
{
"uid": "499b745a2e2485bdd059c3a53d048e5f",
"css": "cancel",
"code": 59403,
"src": "elusive"
}
]
}
\ No newline at end of file
......@@ -317,6 +317,12 @@ sub startup {
to('Controller#stats')->
name('stats');
$r->get('/myfiles' => sub {
shift->render(
template => 'myfiles'
);
})->name('myfiles');
$r->get('/manifest.webapp')->
to('Controller#webapp')->
name('manifest.webapp');
......@@ -333,6 +339,10 @@ sub startup {
to('Controller#modify')->
name('modify');
$r->post('/c')->
to('Controller#get_counter')->
name('counter');
$r->get('/(:short).(:f)')->
to('Controller#short')->
name('short');
......
......@@ -3,6 +3,7 @@ package Lutim::Controller;
use Mojo::Base 'Mojolicious::Controller';
use Mojo::Util qw(url_unescape b64_encode);
use Mojo::Asset::Memory;
use Mojo::JSON qw(true false);
use DateTime;
use Digest::file qw(digest_file_hex);
use Text::Unidecode;
......@@ -62,6 +63,28 @@ sub webapp {
);
}
sub get_counter {
my $c = shift;
my $short = $c->param('short');
my $token = $c->param('token');
my @images = LutimModel::Lutim->select('WHERE short = ? AND path IS NOT NULL AND mod_token = ?', ($short, $token));
if (scalar(@images)) {
return $c->render(
json => {
success => true,
counter => $images[0]->counter
}
);
}
$c->render(
json => {
success => false,
msg => $c->l('Unable to get counter')
}
);
}
sub modify {
my $c = shift;
my $short = $c->param('short');
......@@ -257,7 +280,7 @@ sub add {
my $ip = $c->ip;
my ($msg, $short, $real_short, $token, $thumb);
my ($msg, $short, $real_short, $token, $thumb, $limit, $created);
# Check file type
if (index($mediatype, 'image/') >= 0) {
# Create directory if needed
......@@ -360,6 +383,9 @@ sub add {
}
$token = $records[0]->mod_token;
$short .= '/'.$key if (defined($key));
$limit = $records[0]->delete_at_day;
$created = $records[0]->created_at;
} else {
# Houston, we have a problem
$msg = $c->l('There is no more available URL. Retry or contact the administrator. %1', $c->config->{contact});
......@@ -373,12 +399,15 @@ sub add {
if (defined($c->param('format')) && $c->param('format') eq 'json') {
if (defined($short)) {
$msg = {
filename => $upload->filename,
short => $short,
real_short => $real_short,
token => $token,
ext => $ext || extensions($mediatype),
thumb => $thumb
filename => $upload->filename,
short => $short,
real_short => $real_short,
token => $token,
ext => $ext || extensions($mediatype),
thumb => $thumb,
del_at_view => ($c->param('first-view')) ? true : false,
limit => $limit,
created_at => $created
};
} else {
$msg = {
......
......@@ -18,9 +18,9 @@ msgstr ""
#. ($delay)
#. (config('max_delay')
#: templates/partial/lutim.js.ep:139
#: templates/partial/lutim.js.ep:148
#: templates/partial/lutim.js.ep:149
#: templates/partial/lutim.js.ep:116
#: templates/partial/lutim.js.ep:125
#: templates/partial/lutim.js.ep:126
msgid "%1 days"
msgstr ""
......@@ -38,15 +38,20 @@ msgid "1 year"
msgstr "1 year"
#: templates/index.html.ep:4
#: templates/partial/lutim.js.ep:148
#: templates/partial/lutim.js.ep:125
msgid "24 hours"
msgstr "24 hours"
#: lib/Lutim/Controller.pm:215
#: templates/myfiles.html.ep:72
msgid ": Error while trying to get the counter."
msgstr ""
#: lib/Lutim/Controller.pm:238
msgid "An error occured while downloading the image."
msgstr "An error occured while downloading the image."
#: templates/about.html.ep:40
#: templates/myfiles.html.ep:27
#: templates/stats.html.ep:13
msgid "Back to homepage"
msgstr "Back to homepage"
......@@ -60,7 +65,9 @@ msgstr "Click to open the file browser"
msgid "Contributors"
msgstr "Contributors"
#: templates/partial/lutim.js.ep:187
#: templates/partial/lutim.js.ep:164
#: templates/partial/lutim.js.ep:201
#: templates/partial/lutim.js.ep:263
msgid "Copy all view links to clipboard"
msgstr ""
......@@ -68,28 +75,34 @@ msgstr ""
#: templates/index.html.ep:41
#: templates/index.html.ep:49
#: templates/index.html.ep:57
#: templates/partial/lutim.js.ep:127
#: templates/partial/lutim.js.ep:129
#: templates/partial/lutim.js.ep:131
#: templates/partial/lutim.js.ep:133
#: templates/partial/lutim.js.ep:104
#: templates/partial/lutim.js.ep:106
#: templates/partial/lutim.js.ep:108
#: templates/partial/lutim.js.ep:110
msgid "Copy to clipboard"
msgstr "Copy to clipboard"
#: templates/myfiles.html.ep:15
msgid "Counter"
msgstr ""
#: templates/index.html.ep:111
#: templates/index.html.ep:142
#: templates/index.html.ep:79
#: templates/partial/lutim.js.ep:157
#: templates/myfiles.html.ep:16
#: templates/partial/lutim.js.ep:134
msgid "Delete at first view?"
msgstr "Delete at first view?"
#: templates/index.html.ep:62
#: templates/partial/lutim.js.ep:9
#: templates/myfiles.html.ep:19
#: templates/partial/common.js.ep:12
msgid "Deletion link"
msgstr "Deletion link"
#: templates/index.html.ep:45
#: templates/index.html.ep:47
#: templates/partial/lutim.js.ep:129
#: templates/partial/lutim.js.ep:106
msgid "Download link"
msgstr "Download link"
......@@ -106,7 +119,7 @@ msgstr "Drag and drop an image in the appropriate area or use the traditional wa
msgid "Encrypt the image (Lutim does not keep the key)."
msgstr "Encrypt the image (Lutim does not keep the key)."
#: templates/partial/lutim.js.ep:47
#: templates/partial/lutim.js.ep:24
msgid "Error while trying to modify the image."
msgstr ""
......@@ -114,6 +127,14 @@ msgstr ""
msgid "Evolution of total files"
msgstr "Evolution of total files"
#: templates/myfiles.html.ep:18
msgid "Expires at"
msgstr ""
#: templates/myfiles.html.ep:13
msgid "File name"
msgstr ""
#: templates/about.html.ep:24
msgid "For more details, see the <a href=\"https://git.framasoft.org/luc/lutim\">homepage of the project</a>."
msgstr "For more details, see the <a href=\"https://git.framasoft.org/luc/lutim\">homepage of the project</a>."
......@@ -122,8 +143,8 @@ msgstr "For more details, see the <a href=\"https://git.framasoft.org/luc/lutim\
msgid "Fork me!"
msgstr "Fork me!"
#: templates/partial/lutim.js.ep:111
#: templates/partial/lutim.js.ep:77
#: templates/partial/lutim.js.ep:54
#: templates/partial/lutim.js.ep:88
msgid "Hit Enter, then Ctrl+C to copy the short link"
msgstr ""
......@@ -156,7 +177,7 @@ msgstr "Image URL"
msgid "Informations"
msgstr "Informations"
#: templates/layouts/default.html.ep:54
#: templates/layouts/default.html.ep:55
msgid "Install webapp"
msgstr "Install webapp"
......@@ -180,7 +201,7 @@ msgstr "Keep EXIF tags"
#: templates/index.html.ep:130
#: templates/index.html.ep:170
#: templates/index.html.ep:82
#: templates/partial/lutim.js.ep:159
#: templates/partial/lutim.js.ep:136
msgid "Let's go!"
msgstr "Let's go!"
......@@ -190,7 +211,7 @@ msgstr "License:"
#: templates/index.html.ep:53
#: templates/index.html.ep:55
#: templates/partial/lutim.js.ep:131
#: templates/partial/lutim.js.ep:108
msgid "Link for share on social networks"
msgstr "Link for share on social networks"
......@@ -204,15 +225,28 @@ msgstr "Main developers"
#: templates/index.html.ep:37
#: templates/index.html.ep:39
#: templates/partial/lutim.js.ep:127
#: templates/partial/lutim.js.ep:104
msgid "Markdown syntax"
msgstr "Markdown syntax"
#: templates/layouts/default.html.ep:54
#: templates/myfiles.html.ep:2
msgid "My images"
msgstr ""
#: templates/myfiles.html.ep:38
msgid "No limit"
msgstr ""
#: templates/index.html.ep:129
#: templates/index.html.ep:162
msgid "Only images are allowed"
msgstr "Only images are allowed"
#: templates/myfiles.html.ep:6
msgid "Only the images sent with this browser will be listed here. The informations are stored in localStorage: if you delete your localStorage data, you'll loose this informations."
msgstr ""
#: templates/about.html.ep:16
msgid "Only the uploader! (well, only if he's the only owner of the images' rights before the upload)"
msgstr "Only the uploader! (well, only if he's the only owner of the images' rights before the upload)"
......@@ -225,7 +259,7 @@ msgstr "Please contact the administrator: %1"
msgid "Send an image"
msgstr "Send an image"
#: templates/partial/lutim.js.ep:29
#: templates/partial/lutim.js.ep:6
msgid "Share it!"
msgstr ""
......@@ -234,7 +268,7 @@ msgid "Share on Twitter"
msgstr "Share on Twitter"
#: templates/index.html.ep:97
#: templates/partial/lutim.js.ep:162
#: templates/partial/lutim.js.ep:139
msgid "Something bad happened"
msgstr "Something bad happened"
......@@ -246,26 +280,26 @@ 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:234
#: lib/Lutim/Controller.pm:257
msgid "The URL is not valid."
msgstr "The URL is not valid."
#: lib/Lutim/Controller.pm:145
#: lib/Lutim/Controller.pm:76
#: lib/Lutim/Controller.pm:168
#: lib/Lutim/Controller.pm:99
msgid "The delete token is invalid."
msgstr "The delete token is invalid."
#. ($upload->filename)
#: lib/Lutim/Controller.pm:370
#: lib/Lutim/Controller.pm:396
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:198
#: lib/Lutim/Controller.pm:267
#: templates/partial/lutim.js.ep:195
#: lib/Lutim/Controller.pm:221
#: lib/Lutim/Controller.pm:290
#: templates/partial/lutim.js.ep:177
msgid "The file exceed the size limit (%1)"
msgstr "The file exceed the size limit (%1)"
......@@ -274,16 +308,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:147
#: lib/Lutim/Controller.pm:170
msgid "The image %1 has already been deleted."
msgstr "The image %1 has already been deleted."
#. ($image->filename)
#: lib/Lutim/Controller.pm:153
#: lib/Lutim/Controller.pm:176
msgid "The image %1 has been successfully deleted"
msgstr "The image %1 has been successfully deleted"
#: lib/Lutim/Controller.pm:84
#: lib/Lutim/Controller.pm:107
msgid "The image's delay has been successfully modified"
msgstr "The image's delay has been successfully modified"
......@@ -296,27 +330,31 @@ 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:365
#: lib/Lutim/Controller.pm:391
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"
#: templates/index.html.ep:24
#: templates/partial/lutim.js.ep:27
#: templates/partial/lutim.js.ep:4
msgid "Tweet it!"
msgstr "Tweet it!"
#. ($short)
#: lib/Lutim/Controller.pm:118
#: lib/Lutim/Controller.pm:141
msgid "Unable to find the image %1."
msgstr "Unable to find the image %1."
#: lib/Lutim.pm:52
#: lib/Lutim/Controller.pm:451
#: lib/Lutim/Controller.pm:497
#: lib/Lutim/Controller.pm:541
#: lib/Lutim/Controller.pm:480
#: lib/Lutim/Controller.pm:526
#: lib/Lutim/Controller.pm:570
msgid "Unable to find the image: it has been deleted."
msgstr "Unable to find the image: it has been deleted."
#: lib/Lutim/Controller.pm:83
msgid "Unable to get counter"
msgstr ""
#: templates/about.html.ep:17
msgid "Unlike many image sharing services, you don't give us rights on uploaded images."
msgstr "Unlike many image sharing services, you don't give us rights on uploaded images."
......@@ -326,6 +364,10 @@ msgstr "Unlike many image sharing services, you don't give us rights on uploaded
msgid "Upload an image with its URL"
msgstr "Upload an image with its URL"
#: templates/myfiles.html.ep:17
msgid "Uploaded at"
msgstr ""
#: templates/stats.html.ep:6
msgid "Uploaded files by days"
msgstr "Uploaded files by days"
......@@ -337,7 +379,8 @@ msgstr "Uploading is currently disabled, please try later or contact the adminis
#: templates/index.html.ep:29
#: templates/index.html.ep:31
#: templates/partial/lutim.js.ep:125
#: templates/myfiles.html.ep:14
#: templates/partial/lutim.js.ep:102
msgid "View link"
msgstr "View link"
......
......@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Lutim\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2015-09-17 10:04+0000\n"
"PO-Revision-Date: 2015-09-17 21:53+0000\n"
"Last-Translator: Luc Didry <luc@didry.org>\n"
"Language-Team: Spanish (http://www.transifex.com/fiat-tux/lutim/language/es/)\n"
"MIME-Version: 1.0\n"
......@@ -20,8 +20,8 @@ msgstr ""
#. ($delay)
#. (config('max_delay')
#: templates/partial/lutim.js.ep:139 templates/partial/lutim.js.ep:148
#: templates/partial/lutim.js.ep:149
#: templates/partial/lutim.js.ep:116 templates/partial/lutim.js.ep:125
#: templates/partial/lutim.js.ep:126
msgid "%1 days"
msgstr "%1 días"
......@@ -38,15 +38,20 @@ msgstr "-o-"
msgid "1 year"
msgstr "1 año"
#: templates/index.html.ep:4 templates/partial/lutim.js.ep:148
#: templates/index.html.ep:4 templates/partial/lutim.js.ep:125
msgid "24 hours"
msgstr "24 horas"
#: lib/Lutim/Controller.pm:215
#: templates/myfiles.html.ep:68
msgid ": Error while trying to get the counter."
msgstr ": Error al intentar obtener el contador."
#: lib/Lutim/Controller.pm:238
msgid "An error occured while downloading the image."
msgstr "Error al intentar modificar la imagen."
#: templates/about.html.ep:40 templates/stats.html.ep:13
#: templates/about.html.ep:40 templates/myfiles.html.ep:23
#: templates/stats.html.ep:13
msgid "Back to homepage"
msgstr "Volver a la página inicial"
......@@ -58,28 +63,35 @@ msgstr "Clic para abrir el explorador de archivos"
msgid "Contributors"
msgstr "Contribuidores"
#: templates/partial/lutim.js.ep:187
#: templates/partial/lutim.js.ep:164 templates/partial/lutim.js.ep:201
#: templates/partial/lutim.js.ep:263
msgid "Copy all view links to clipboard"
msgstr "Copiar todos los enlaces de visualización al portapapeles"
#: templates/index.html.ep:33 templates/index.html.ep:41
#: templates/index.html.ep:49 templates/index.html.ep:57
#: templates/partial/lutim.js.ep:127 templates/partial/lutim.js.ep:129
#: templates/partial/lutim.js.ep:131 templates/partial/lutim.js.ep:133
#: templates/partial/lutim.js.ep:104 templates/partial/lutim.js.ep:106
#: templates/partial/lutim.js.ep:108 templates/partial/lutim.js.ep:110
msgid "Copy to clipboard"
msgstr "Copiar al portapapeles"
#: templates/myfiles.html.ep:11
msgid "Counter"
msgstr "Contador"
#: templates/index.html.ep:111 templates/index.html.ep:142
#: templates/index.html.ep:79 templates/partial/lutim.js.ep:157
#: templates/index.html.ep:79 templates/myfiles.html.ep:12
#: templates/partial/lutim.js.ep:134
msgid "Delete at first view?"
msgstr "¿Borrar en la primera vista?"
#: templates/index.html.ep:62 templates/partial/lutim.js.ep:9
#: templates/index.html.ep:62 templates/myfiles.html.ep:15
#: templates/partial/common.js.ep:12
msgid "Deletion link"
msgstr "Enlace para borrar"
#: templates/index.html.ep:45 templates/index.html.ep:47
#: templates/partial/lutim.js.ep:129
#: templates/partial/lutim.js.ep:106
msgid "Download link"
msgstr "Enlace de descarga"
......@@ -99,7 +111,7 @@ msgstr "Arrastre y suelte una imagen en el área apropiada, o use el método tra
msgid "Encrypt the image (Lutim does not keep the key)."
msgstr "Las imágenes se cifran en el servidor (Lutim no guarda la clave)."
#: templates/partial/lutim.js.ep:47
#: templates/partial/lutim.js.ep:24
msgid "Error while trying to modify the image."
msgstr "Error al intentar modificar la imagen."
......@@ -107,6 +119,14 @@ msgstr "Error al intentar modificar la imagen."
msgid "Evolution of total files"
msgstr "Evolución de archivos en total"
#: templates/myfiles.html.ep:14
msgid "Expires at"
msgstr "Expira"
#: templates/myfiles.html.ep:9
msgid "File name"
msgstr "Nombre de archivo"
#: templates/about.html.ep:24
msgid ""
"For more details, see the <a "
......@@ -117,7 +137,7 @@ msgstr "Para más detalles, vea la <a href=\"https://git.framasoft.org/luc/lutim
msgid "Fork me!"
msgstr "¡Clóname!"
#: templates/partial/lutim.js.ep:111 templates/partial/lutim.js.ep:77
#: templates/partial/lutim.js.ep:54 templates/partial/lutim.js.ep:88
msgid "Hit Enter, then Ctrl+C to copy the short link"
msgstr "Presione Ingresar, entonces Ctrl + C para copiar el enlace"
......@@ -174,7 +194,7 @@ msgid "Keep EXIF tags"
msgstr "Mantener las etiquetas EXIF"
#: templates/index.html.ep:130 templates/index.html.ep:170
#: templates/index.html.ep:82 templates/partial/lutim.js.ep:159
#: templates/index.html.ep:82 templates/partial/lutim.js.ep:136
msgid "Let's go!"
msgstr "¡Vamos allá!"
......@@ -183,7 +203,7 @@ msgid "License:"
msgstr "Licencia:"
#: templates/index.html.ep:53 templates/index.html.ep:55
#: templates/partial/lutim.js.ep:131
#: templates/partial/lutim.js.ep:108
msgid "Link for share on social networks"
msgstr "Enlace para compartir en redes sociales"
......@@ -199,10 +219,18 @@ msgid "Main developers"
msgstr "Desarrolladores principales"
#: templates/index.html.ep:37 templates/index.html.ep:39
#: templates/partial/lutim.js.ep:127
#: templates/partial/lutim.js.ep:104
msgid "Markdown syntax"
msgstr "Sintaxis de Markdown"
#: templates/myfiles.html.ep:2
msgid "My images"
msgstr "Mis Imágenes"
#: templates/myfiles.html.ep:34
msgid "No limit"
msgstr "Sin fecha de caducidad"
#: templates/index.html.ep:129 templates/index.html.ep:162
msgid "Only images are allowed"
msgstr "Sólo se admiten imágenes"
......@@ -221,7 +249,7 @@ msgstr "Por favor, contacte con el administrador: %1"
msgid "Send an image"
msgstr "Enviar una imagen"
#: templates/partial/lutim.js.ep:29
#: templates/partial/lutim.js.ep:6
msgid "Share it!"
msgstr "¡Compártelo!"
......@@ -229,7 +257,7 @@ msgstr "¡Compártelo!"
msgid "Share on Twitter"
msgstr "Compartir en Twitter"
#: templates/index.html.ep:97 templates/partial/lutim.js.ep:162
#: templates/index.html.ep:97 templates/partial/lutim.js.ep:139
msgid "Something bad happened"
msgstr "Algo malo ha pasado"
......@@ -249,24 +277,24 @@ msgid ""
" you can do."
msgstr "El software Lutim es <a href=\"http://es.wikipedia.org/wiki/Software_libre\">software libre</a>, lo que le permite descargarlo e instalarlo en su propio servidor. Eche un vistazo a la licencia <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> para ver qué puede hacer."
#: lib/Lutim/Controller.pm:234
#: lib/Lutim/Controller.pm:257
msgid "The URL is not valid."
msgstr "La URL no es válida."
#: lib/Lutim/Controller.pm:145 lib/Lutim/Controller.pm:76
#: lib/Lutim/Controller.pm:168 lib/Lutim/Controller.pm:99
msgid "The delete token is invalid."
msgstr "El código de borrado no es válido."
#. ($upload->filename)
#: lib/Lutim/Controller.pm:370
#: lib/Lutim/Controller.pm:396
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:198 lib/Lutim/Controller.pm:267
#: templates/partial/lutim.js.ep:195
#: lib/Lutim/Controller.pm:221 lib/Lutim/Controller.pm:290
#: templates/partial/lutim.js.ep:177
msgid "The file exceed the size limit (%1)"
msgstr "El archivo supera el límite de tamaño (%1)"
......@@ -275,16 +303,16 @@ 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:147
#: lib/Lutim/Controller.pm:170