From d43d387b8c33cc451ff54e2bb3218f17a69e5d33 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 16 Jun 2014 21:53:29 +0200 Subject: [PATCH] Add localization for the new wipe data feature --- lib/Vroom/I18N/en.pm | 13 +++++++++++++ lib/Vroom/I18N/fr.pm | 13 +++++++++++++ templates/default/join.html.ep | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/lib/Vroom/I18N/en.pm b/lib/Vroom/I18N/en.pm index 4c96e21..61c787b 100644 --- a/lib/Vroom/I18N/en.pm +++ b/lib/Vroom/I18N/en.pm @@ -43,6 +43,9 @@ our %Lexicon = ( "PASSWORD_PROTECT_OFF_BY_s" => "%s removed password protection", "OWNER_PASSWORD_CHANGED_BY_s" => "%s changed the room manager password", "OWNER_PASSWORD_REMOVED_BY_s" => "%s removed the room manager password, so this room isn't persistent anymore", + "DATA_WIPED" => "Data has been wiped", + "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", "THANKS_SEE_YOU_SOON" => "Thanks and see you soon", @@ -88,6 +91,15 @@ our %Lexicon = ( "SET_A_DISPLAY_NAME" => "Please set your name before you can join the room", "FORCE_DISPLAY_NAME" => "Participants will be asked for their name before they can join the room", "NAME_WONT_BE_ASKED" => "Participant won't have to type their name before they can join the room", + "WIPE_CHAT_AND_PAD" => "Wipe chat history and pad content", + "WIPE_CHAT" => "Wipe chat history", + "WIPE_ROOM_DATA" => "Wipe room data", + "YOU_ARE_ABOUT_TO_WIPE_DATA" => "You are about to wipe room data", + "THIS_INCLUDE" => "This includes", + "CHAT_HISTORY" => "Chat history", + "PAD_CONTENT" => "The collaborative pad content", + "CONFIRM_WIPE" => "Wipe", + "CANCEL" => "Cancel", "CHANGE_COLOR" => "Change your color", "CLICK_TO_CHAT" => "Click to access the chat", "OPEN_ETHERPAD" => "Collaborative notetaking", @@ -161,6 +173,7 @@ our %Lexicon = ( "HELP_PERSISTENT_BUTTON" => "Make this room persistent, you'll be able to leave, reconnecte, and get configuration menus back. " . "The room will also be kept much longer.", "HELP_ASK_FOR_NAME_BUTTON" => "This will enforce participants to set their name before joining the room.", + "HELP_WIPE_DATA_BUTTON" => "This will wipe room data (chat history and collaborative pad content)", "HELP_LOGOUT_BUTTON" => "This will end the call and disconnect you from the room", "HELP_PEER_ACTIONS_BUTTONS" => "This menu will appear when you put the mouse over a video preview. It'll allow " . "you to run actions which only affect this peer (mute/suspend/grant admin rights/kick " . diff --git a/lib/Vroom/I18N/fr.pm b/lib/Vroom/I18N/fr.pm index 336a9e1..f1941f5 100644 --- a/lib/Vroom/I18N/fr.pm +++ b/lib/Vroom/I18N/fr.pm @@ -47,6 +47,9 @@ our %Lexicon = ( "PASSWORD_PROTECT_OFF_BY_s" => "%s a supprimé la protection par mot de passe", "OWNER_PASSWORD_CHANGED_BY_s" => "%s a modifié le mot de passe de gestionnaire du salon", "OWNER_PASSWORD_REMOVED_BY_s" => "%s a supprimé le mot de passe de gestionnaire du salon. Ce salon n'est donc plus persistant", + "DATA_WIPED" => "Les données ont été supprimées", + "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", "THANKS_SEE_YOU_SOON" => "Merci et à bientôt", @@ -94,6 +97,15 @@ our %Lexicon = ( "SET_A_DISPLAY_NAME" => "Merci de saisir votre nom avant de pouvoir rejoindre le salon", "FORCE_DISPLAY_NAME" => "Les participants doivent saisir leur nom avant de rejoindre le salon", "NAME_WONT_BE_ASKED" => "La saisie du nom ne sera plus obligatoire pour rejoindre ce salon", + "WIPE_CHAT_AND_PAD" => "Supprimer l'historique du tchat et les prises de notes", + "WIPE_CHAT" => "Supprimer l'historique du tchat", + "WIPE_ROOM_DATA" => "Suppression des données du salon", + "YOU_ARE_ABOUT_TO_WIPE_DATA" => "Vous êtes sur le point de supprimer certaines données du salon", + "THIS_INCLUDE" => "Celà inclus", + "CHAT_HISTORY" => "L'historique du tchat", + "PAD_CONTENT" => "Le contenu du bloc note collaboratif", + "CONFIRM_WIPE" => "Supprimer", + "CANCEL" => "Annuler", "CHANGE_COLOR" => "Changer de couleur", "CLICK_TO_CHAT" => "Accéder au tchat", "OPEN_ETHERPAD" => "Prise de notes collaborative", @@ -181,6 +193,7 @@ our %Lexicon = ( "récupérer l'accès aux menus de configuration. Le salon sera également conservé " . "bien plus longtemps sur le système", "HELP_ASK_FOR_NAME_BUTTON" => "Permet d'imposer la saisie du nom avant de pouvoir rejoindre le salon", + "HELP_WIPE_DATA_BUTTON" => "Supprime les données du salon (historique du tchat, prise de notes)", "HELP_LOGOUT_BUTTON" => "Ce bouton vous déconnectera du système", "HELP_PEER_ACTIONS_BUTTONS" => "Ce menu s'affiche en passant la souris au dessus d'une vignette vidéo. Il " . "vous permet d'effectuer certaines actions qui ne concerneront que cette " . diff --git a/templates/default/join.html.ep b/templates/default/join.html.ep index 33000ef..f6ab957 100644 --- a/templates/default/join.html.ep +++ b/templates/default/join.html.ep @@ -507,7 +507,7 @@
- <%=l 'HELP_WIPE_DATA' %> + <%=l 'HELP_WIPE_DATA_BUTTON' %>