Add not_found template

master
Daniel Berteaud 10 years ago
parent 9160fb4aaf
commit b5957f627b
  1. 3
      lib/Vroom/I18N/en.pm
  2. 3
      lib/Vroom/I18N/fr.pm
  3. 4
      templates/default/not_found.html.ep

@ -325,7 +325,8 @@ our %Lexicon = (
"THANKS" => "Thanks", "THANKS" => "Thanks",
"ABOUT_THANKS" => "VROOM uses the following components, so, thanks to their respective authors :-)", "ABOUT_THANKS" => "VROOM uses the following components, so, thanks to their respective authors :-)",
"ABOUT_MUSICS" => "Also thanks to the authors of songs used", "ABOUT_MUSICS" => "Also thanks to the authors of songs used",
"FROM_AUTHOR" => "from" "FROM_AUTHOR" => "from",
"PAGE_NOT_FOUND" => "This page does not exist"
); );

@ -357,7 +357,8 @@ our %Lexicon = (
"THANKS" => "Remerciements", "THANKS" => "Remerciements",
"ABOUT_THANKS" => "VROOM utilise les composants suivants, merci donc aux auteurs respectifs :-)", "ABOUT_THANKS" => "VROOM utilise les composants suivants, merci donc aux auteurs respectifs :-)",
"ABOUT_MUSICS" => "Merci également aux auteurs des morceaux de musique utilisés", "ABOUT_MUSICS" => "Merci également aux auteurs des morceaux de musique utilisés",
"FROM_AUTHOR" => "de" "FROM_AUTHOR" => "de",
"PAGE_NOT_FOUND" => "Cette page n'existe pas"
); );

@ -0,0 +1,4 @@
%= stash msg => $self->l('PAGE_NOT_FOUND')
%= stash err => 'not_found'
%= stash room => ''
%=include 'error'
Loading…
Cancel
Save