mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-08-06 08:53:03 +02:00
Fix same I18N keyword used two times
This commit is contained in:
@@ -112,7 +112,7 @@ sub modify {
|
||||
$c->app->log->info('[UNSUCCESSFUL] someone tried to modify '.$short.' but it does\'nt exist.');
|
||||
|
||||
# Image never existed
|
||||
my $msg = $c->l('image_not_found', $short);
|
||||
my $msg = $c->l('image_mod_not_found', $short);
|
||||
if (defined($c->param('format')) && $c->param('format') eq 'json') {
|
||||
return $c->render(
|
||||
json => {
|
||||
|
||||
@@ -86,7 +86,7 @@ our %Lexicon = (
|
||||
'already_deleted' => 'The image [_1] has already been deleted.',
|
||||
'install_as_webapp' => 'Install webapp',
|
||||
'image_delay_modified' => 'The image\'s delay has been successfully modified',
|
||||
'image_not_found' => 'Unable to find the image [_1].',
|
||||
'image_mod_not_found' => 'Unable to find the image [_1].',
|
||||
'modify_image_error' => 'Error while trying to modify the image.',
|
||||
);
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ our %Lexicon = (
|
||||
'already_deleted' => 'L\'image [_1] a déjà été supprimée.',
|
||||
'install_as_webapp' => 'Installer la webapp',
|
||||
'image_delay_modified' => 'Le délai de l\'image a été modifié avec succès.',
|
||||
'image_not_found' => 'Impossible de trouver l\'image [_1].',
|
||||
'image_mod_not_found' => 'Impossible de trouver l\'image [_1].',
|
||||
'modify_image_error' => 'Une erreur est survenue lors de la tentative de modification de l\'image.',
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user