diff --git a/lib/Lutim/Controller.pm b/lib/Lutim/Controller.pm index 0ed3c02..a68d16a 100644 --- a/lib/Lutim/Controller.pm +++ b/lib/Lutim/Controller.pm @@ -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 => { diff --git a/lib/Lutim/I18N/en.pm b/lib/Lutim/I18N/en.pm index 9883f27..386f160 100644 --- a/lib/Lutim/I18N/en.pm +++ b/lib/Lutim/I18N/en.pm @@ -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.', ); diff --git a/lib/Lutim/I18N/fr.pm b/lib/Lutim/I18N/fr.pm index 1f12dff..87dbc88 100644 --- a/lib/Lutim/I18N/fr.pm +++ b/lib/Lutim/I18N/fr.pm @@ -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.', );