mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-08 09:52:57 +02:00
Merge branch 'typos' into 'development'
Fix some minor typos and grammar. See merge request fiat-tux/hat-softwares/lutim!57
This commit is contained in:
@@ -196,7 +196,7 @@ sub modify {
|
||||
return $c->redirect_to('/');
|
||||
}
|
||||
} else {
|
||||
$c->app->log->info('[UNSUCCESSFUL] someone tried to modify '.$short.' but it does\'nt exist.') unless $c->config('quiet_logs');
|
||||
$c->app->log->info('[UNSUCCESSFUL] someone tried to modify '.$short.' but it doesn\'t exist.') unless $c->config('quiet_logs');
|
||||
|
||||
# Image never existed
|
||||
my $msg = $c->l('Unable to find the image %1.', $short);
|
||||
@@ -263,7 +263,7 @@ sub delete {
|
||||
}
|
||||
);
|
||||
} else {
|
||||
$c->app->log->info('[UNSUCCESSFUL] someone tried to delete '.$short.' but it does\'nt exist.') unless $c->config('quiet_logs');
|
||||
$c->app->log->info('[UNSUCCESSFUL] someone tried to delete '.$short.' but it doesn\'t exist.') unless $c->config('quiet_logs');
|
||||
|
||||
# Image never existed
|
||||
return $c->respond_to(
|
||||
@@ -653,7 +653,7 @@ sub short {
|
||||
}
|
||||
} elsif ($image->path && !$image->enabled) {
|
||||
# Log access try
|
||||
$c->app->log->info('[NOT FOUND] someone tried to view '.$short.' but it does\'nt exist anymore.') unless $c->config('quiet_logs');
|
||||
$c->app->log->info('[NOT FOUND] someone tried to view '.$short.' but it doesn\'t exist anymore.') unless $c->config('quiet_logs');
|
||||
|
||||
# Warn user
|
||||
$c->flash(
|
||||
@@ -747,7 +747,7 @@ sub zip {
|
||||
}
|
||||
} elsif ($image->path && !$image->enabled) {
|
||||
# Log access try
|
||||
$c->app->log->info('[NOT FOUND] someone tried to view '.$short.' but it does\'nt exist anymore.') unless $c->config('quiet_logs');
|
||||
$c->app->log->info('[NOT FOUND] someone tried to view '.$short.' but it doesn\'t exist anymore.') unless $c->config('quiet_logs');
|
||||
|
||||
# Warn user
|
||||
$zip->addString(encode('UTF-8', $c->l('Unable to find the image: it has been deleted.')), 'images/'.$image->filename.'.txt');
|
||||
|
||||
@@ -129,7 +129,7 @@ sub to_hash {
|
||||
mod_token => $c->mod_token,
|
||||
width => $c->width,
|
||||
height => $c->height,
|
||||
height => $c->iv
|
||||
iv => $c->iv
|
||||
};
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ sub to_hash {
|
||||
=item B<Arguments> : two mandatory parameters: one integer, the delete_at_day attribute, a boolean (0 or 1), the enabled attribute
|
||||
an optional parameter: an unix timestamp
|
||||
|
||||
=item B<Purpose> : count how many images there is with the given delete_at_day attribute, and enabled or disabled, depending on the given enabled attribute
|
||||
=item B<Purpose> : count how many images there are with the given delete_at_day attribute, and enabled or disabled, depending on the given enabled attribute
|
||||
if the optional parameter is given, count only images according to the given mandatory parameters that were created before the timestamp
|
||||
|
||||
=item B<Returns> : integer
|
||||
@@ -241,7 +241,7 @@ sub to_hash {
|
||||
|
||||
=item B<Arguments> : none
|
||||
|
||||
=item B<Purpose> : counts the number of record which path is null
|
||||
=item B<Purpose> : counts the number of records whose path is null
|
||||
|
||||
=item B<Returns> : integer
|
||||
|
||||
@@ -255,7 +255,7 @@ sub to_hash {
|
||||
|
||||
=item B<Arguments> : none
|
||||
|
||||
=item B<Purpose> : counts the number of record which path is not null
|
||||
=item B<Purpose> : counts the number of records whose path is not null
|
||||
|
||||
=item B<Returns> : integer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user