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

Fix Lutim::Plugin::Helpers needed in Mounter.pm

parent 59000d53
......@@ -79,6 +79,7 @@ sub startup {
# Helpers
$self->plugin('Lutim::Plugin::Helpers');
$self->plugin('Lutim::Plugin::Lang');
# Minion
if ($config->{minion}->{enabled}) {
......
......@@ -2,8 +2,6 @@
package Lutim::Plugin::Helpers;
use Mojo::Base 'Mojolicious::Plugin';
use Mojo::Util qw(quote);
use Mojo::Collection;
use Mojo::File;
use Crypt::CBC;
use Data::Entropy qw(entropy_source);
......@@ -36,14 +34,6 @@ sub register {
$app->helper(crypt => \&_crypt);
$app->helper(decrypt => \&_decrypt);
$app->helper(delete_image => \&_delete_image);
$app->helper(available_langs => \&_available_langs);
$app->hook(
before_dispatch => sub {
my $c = shift;
$c->languages($c->cookie('lutim_lang')) if $c->cookie('lutim_lang');
}
);
}
sub _pg {
......@@ -252,21 +242,4 @@ sub _delete_image {
$img->disable();
}
sub _available_langs {
my $c = shift;
state $langs = Mojo::Collection->new(
glob($c->app->home->rel_file('themes/'.$c->config('theme').'/lib/Lutim/I18N/*')),
glob($c->app->home->rel_file('themes/default/lib/Lutim/I18N/*'))
)->map(
sub {
Mojo::File->new($_)->basename('.po');
}
)->uniq->sort(
sub {
$c->l($a) cmp $c->l($b)
}
)->to_array;
}
1;
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
package Lutim::Plugin::Lang;
use Mojo::Base 'Mojolicious::Plugin';
use Mojo::Collection;
use Mojo::File;
sub register {
my ($self, $app) = @_;
$app->helper(available_langs => \&_available_langs);
$app->hook(
before_dispatch => sub {
my $c = shift;
$c->languages($c->cookie('lutim_lang')) if $c->cookie('lutim_lang');
}
);
}
sub _available_langs {
my $c = shift;
state $langs = Mojo::Collection->new(
glob($c->app->home->rel_file('themes/'.$c->config('theme').'/lib/Lutim/I18N/*')),
glob($c->app->home->rel_file('themes/default/lib/Lutim/I18N/*'))
)->map(
sub {
Mojo::File->new($_)->basename('.po');
}
)->uniq->sort(
sub {
$c->l($a) cmp $c->l($b)
}
)->to_array;
}
1;
......@@ -63,6 +63,9 @@ sub startup {
# Cache static files
$self->plugin('StaticCache');
# Helpers
$self->plugin('Lutim::Plugin::Helpers');
$self->plugin('Mount' => {$config->{prefix} => File::Spec->catfile($Bin, '..', 'script', 'application')});
}
......
......@@ -37,11 +37,11 @@ msgstr "تم إرسال %1 صور على مثيل الخادوم هذا منذ
msgid "-or-"
msgstr "-or-"
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
msgid "1 year"
msgstr "سنة واحدة"
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
msgid "24 hours"
msgstr "24 ساعة"
......@@ -411,7 +411,7 @@ msgstr ""
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:67
#: 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
msgid "Unable to find the image: it has been deleted."
msgstr ""
......@@ -436,7 +436,7 @@ msgid "Uploaded files by days"
msgstr ""
#. ($c->app->config('contact')
#: lib/Lutim/Plugin/Helpers.pm:162
#: lib/Lutim/Plugin/Helpers.pm:152
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
msgstr ""
......@@ -484,7 +484,7 @@ msgstr ""
msgid "core developer"
msgstr ""
#: lib/Lutim.pm:182 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
msgid "no time limit"
msgstr ""
......
......@@ -35,11 +35,11 @@ msgstr "%1 Bilder wurden bisher über diese Instanz versendet."
msgid "-or-"
msgstr "-oder-"
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
msgid "1 year"
msgstr "1 Jahr"
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
msgid "24 hours"
msgstr "24 Stunden"
......@@ -411,7 +411,7 @@ msgstr "Twittere es!"
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:67
#: 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
msgid "Unable to find the image: it has been deleted."
msgstr "Dieses Bild wurde gelöscht."
......@@ -436,7 +436,7 @@ msgid "Uploaded files by days"
msgstr "Hochgeladene Bilder pro Tag"
#. ($c->app->config('contact')
#: lib/Lutim/Plugin/Helpers.pm:162
#: lib/Lutim/Plugin/Helpers.pm:152
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)."
......@@ -484,7 +484,7 @@ msgstr ""
msgid "core developer"
msgstr "Haupt-Entwickler"
#: lib/Lutim.pm:182 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
msgid "no time limit"
msgstr "keine Zeit-Begrenzung"
......
......@@ -33,11 +33,11 @@ msgstr "%1 sent images on this instance from beginning."
msgid "-or-"
msgstr "-or-"
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
msgid "1 year"
msgstr "1 year"
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
msgid "24 hours"
msgstr "24 hours"
......@@ -407,7 +407,7 @@ msgstr "Tweet it!"
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:67
#: 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
msgid "Unable to find the image: it has been deleted."
msgstr "Unable to find the image: it has been deleted."
......@@ -432,7 +432,7 @@ msgid "Uploaded files by days"
msgstr "Uploaded files by days"
#. ($c->app->config('contact')
#: lib/Lutim/Plugin/Helpers.pm:162
#: lib/Lutim/Plugin/Helpers.pm:152
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)."
......@@ -484,7 +484,7 @@ msgstr ""
msgid "core developer"
msgstr "core developer"
#: lib/Lutim.pm:182 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
msgid "no time limit"
msgstr "no time limit"
......
......@@ -35,11 +35,11 @@ msgstr "%1 imágenes enviadas a esta instancia desde el inicio."
msgid "-or-"
msgstr "-o-"
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
msgid "1 year"
msgstr "1 año"
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
msgid "24 hours"
msgstr "24 horas"
......@@ -409,7 +409,7 @@ msgstr "¡Tuitéalo!"
msgid "Unable to find the image %1."
msgstr "No se ha podido encontrar la imagen %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:67
#: 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
msgid "Unable to find the image: it has been deleted."
msgstr "No se ha podido encontrar la imagen: ha sido borrada."
......@@ -434,7 +434,7 @@ msgid "Uploaded files by days"
msgstr "Archivos enviados por día"
#. ($c->app->config('contact')
#: lib/Lutim/Plugin/Helpers.pm:162
#: lib/Lutim/Plugin/Helpers.pm:152
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
msgstr "La carga está deshabilitada en estos momentos, por favor inténtelo más tarde o contacte con el administrador (%1)."
......@@ -482,7 +482,7 @@ msgstr ""
msgid "core developer"
msgstr "desarrollador principal"
#: lib/Lutim.pm:182 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
msgid "no time limit"
msgstr "Sin tiempo límite"
......
......@@ -35,11 +35,11 @@ msgstr "%1 images envoyées sur cette instance depuis le début."
msgid "-or-"
msgstr "-ou-"
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
msgid "1 year"
msgstr "1 an"
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
msgid "24 hours"
msgstr "24 heures"
......@@ -419,7 +419,7 @@ msgstr "Tweetez !"
msgid "Unable to find the image %1."
msgstr "Impossible de trouver l’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:67
#: 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
msgid "Unable to find the image: it has been deleted."
msgstr "Impossible de trouver l’image : elle a été supprimée."
......@@ -444,7 +444,7 @@ msgid "Uploaded files by days"
msgstr "Fichiers envoyés, par jour"
#. ($c->app->config('contact')
#: lib/Lutim/Plugin/Helpers.pm:162
#: lib/Lutim/Plugin/Helpers.pm:152
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
msgstr "L’envoi d’images est actuellement désactivé, veuillez réessayer plus tard ou contacter l’administrateur (%1)."
......@@ -492,7 +492,7 @@ msgstr "traduction en arabe"
msgid "core developer"
msgstr "développeur principal"
#: lib/Lutim.pm:182 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
msgid "no time limit"
msgstr "Pas de limitation de durée"
......
......@@ -34,11 +34,11 @@ msgstr "%1 imatges mandats sus aquesta instància dempuèi lo començament."
msgid "-or-"
msgstr "-o-"
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
msgid "1 year"
msgstr "1 an"
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
#: lib/Lutim.pm:184 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:12 themes/default/templates/partial/lutim.js.ep:147 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
msgid "24 hours"
msgstr "24 oras"
......@@ -416,7 +416,7 @@ msgstr "Tweetejatz-lo !"
msgid "Unable to find the image %1."
msgstr "Impossible de trobar l'imatge %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:67
#: 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
msgid "Unable to find the image: it has been deleted."
msgstr "Impossible de trobar l'imatge : es estat suprimit."
......@@ -441,7 +441,7 @@ msgid "Uploaded files by days"
msgstr "Fichièrs mandats per jorn"
#. ($c->app->config('contact')
#: lib/Lutim/Plugin/Helpers.pm:162
#: lib/Lutim/Plugin/Helpers.pm:152
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
msgstr "La mesa en linha es desactivada pel moment, mercés de tornar ensajar mai tard o de contactar l'administrator (%1)."
......@@ -489,7 +489,7 @@ msgstr ""
msgid "core developer"
msgstr "desvolopaire màger"
#: lib/Lutim.pm:182 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
#: lib/Lutim.pm:183 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
msgid "no time limit"
msgstr "Pas cap de limitacion de durada"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment