From da8633c1a3854d280aba6423e4100f1539525fd8 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 18 Jun 2014 12:49:20 +0200 Subject: [PATCH] Fix a typo goodby -> goodbye --- lib/Vroom/I18N/en.pm | 2 +- lib/Vroom/I18N/fr.pm | 2 +- public/vroom.pl | 4 ++-- templates/default/{goodby.html.ep => goodbye.html.ep} | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename templates/default/{goodby.html.ep => goodbye.html.ep} (96%) diff --git a/lib/Vroom/I18N/en.pm b/lib/Vroom/I18N/en.pm index 37d1dc0..b922db9 100644 --- a/lib/Vroom/I18N/en.pm +++ b/lib/Vroom/I18N/en.pm @@ -47,7 +47,7 @@ our %Lexicon = ( "ROOM_DATA_WIPED_BY_s" => "Room data (chat history and pad content) has been wiped by %s", "NOT_ENABLED" => "This feature isn't enabled", "OOOPS" => "Ooops", - "GOODBY" => "Goodby", + "GOODBYE" => "Goodbye", "THANKS_SEE_YOU_SOON" => "Thanks and see you soon", "THANKS_FOR_USING" => "Thank you for using VROOM, we hope you enjoyed your meeting", "BACK_TO_MAIN_MENU" => "Back to main menu", diff --git a/lib/Vroom/I18N/fr.pm b/lib/Vroom/I18N/fr.pm index 2f80a23..5ecf3a5 100644 --- a/lib/Vroom/I18N/fr.pm +++ b/lib/Vroom/I18N/fr.pm @@ -51,7 +51,7 @@ our %Lexicon = ( "ROOM_DATA_WIPED_BY_s" => "Les données du salon (historique du tchat, prise de notes) ont été supprimées par %s", "NOT_ENABLED" => "Cette fonctionalité n'est pas activée", "OOOPS" => "Oups", - "GOODBY" => "Au revoir", + "GOODBYE" => "Au revoir", "THANKS_SEE_YOU_SOON" => "Merci et à bientôt", "THANKS_FOR_USING" => "Nous vous remmercions de votre confiance, et espérons que " . "vous avez passé une agréable réunion.", diff --git a/public/vroom.pl b/public/vroom.pl index fe43c78..ce5761b 100755 --- a/public/vroom.pl +++ b/public/vroom.pl @@ -710,14 +710,14 @@ post '/feedback' => sub { get 'feedback_thanks' => 'feedback_thanks'; # Route for the goodbye page, displayed when someone leaves a room -get '/goodby/(:room)' => sub { +get '/goodbye/(:room)' => sub { my $self = shift; my $room = $self->stash('room'); if ($self->get_room($room)){ $self->remove_participant($room,$self->session('name')); } $self->logout($room); -} => 'goodby'; +} => 'goodbye'; # Route for the kicked page # Should be merged with the goodby route diff --git a/templates/default/goodby.html.ep b/templates/default/goodbye.html.ep similarity index 96% rename from templates/default/goodby.html.ep rename to templates/default/goodbye.html.ep index e08aa83..7a23946 100644 --- a/templates/default/goodby.html.ep +++ b/templates/default/goodbye.html.ep @@ -1,4 +1,4 @@ -% title $self->l('GOODBY'); +% title $self->l('GOODBYE'); %= include 'header' %= include 'public_toolbar'