From 1ca3137dd182b7560da7788a3d9ff38f146cda3d Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Sat, 12 Jul 2014 22:09:46 +0200 Subject: [PATCH] Fix same I18N keyword used two times --- lib/Lutim/Controller.pm | 2 +- lib/Lutim/I18N/en.pm | 2 +- lib/Lutim/I18N/fr.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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.', );