From fa2545b2fae199ad6e137d22fc276de2e5364b7c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 20 May 2014 11:41:12 +0200 Subject: [PATCH] Add a title on the remove email button --- lib/Vroom/I18N/en.pm | 1 + lib/Vroom/I18N/fr.pm | 1 + public/js/vroom.js | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/Vroom/I18N/en.pm b/lib/Vroom/I18N/en.pm index 4724614..6b7c6ab 100644 --- a/lib/Vroom/I18N/en.pm +++ b/lib/Vroom/I18N/en.pm @@ -84,6 +84,7 @@ our %Lexicon = ( "REMOVE_OWNER_PASSWORD" => "Remove the manager password. The room will become ephemeral", "ADD_NOTIFICATION" => "Add a notification", "ADD_THIS_ADDRESS" => "Add this address", + "REMOVE_THIS_ADDRESS" => "Remove this address", "NOTIFICATION_ON_JOIN" => "You can set a list of email address which will receive a notification each time someone joins this room", "s_WILL_BE_NOTIFIED" => "%s will receive a notification each time someone joins this room", "s_WONT_BE_NOTIFIED_ANYMORE" => "%s won't be notified anymore", diff --git a/lib/Vroom/I18N/fr.pm b/lib/Vroom/I18N/fr.pm index a9fef91..0f1429d 100644 --- a/lib/Vroom/I18N/fr.pm +++ b/lib/Vroom/I18N/fr.pm @@ -90,6 +90,7 @@ our %Lexicon = ( "REMOVE_OWNER_PASSWORD" => "Supprimer le mot de passe du gestionnaire. Le salon redeviendra éphémère", "ADD_NOTIFICATION" => "Ajouter une notification", "ADD_THIS_ADDRESS" => "Ajouter cette adresse", + "REMOVE_THIS_ADDRESS" => "Supprimer cette adresse", "NOTIFICATION_ON_JOIN" => "Vous pouvez ajouter des adresses email qui recevront une notification dès que quelqu'un rejoint ce salon", "s_WILL_BE_NOTIFIED" => "%s recevra une notification à chaque fois qu'une personne rejoint ce salon", "s_WONT_BE_NOTIFIED_ANYMORE" => "%s ne recevra plus les notifications pour ce salon", diff --git a/public/js/vroom.js b/public/js/vroom.js index 094b060..7f26d65 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -55,7 +55,8 @@ var locale = { YOU_HAVE_RESUMED_s: '', CANT_SUSPEND_OWNER: '', YOU_HAVE_KICKED_s: '', - CANT_KICK_OWNER: '' + CANT_KICK_OWNER: '', + REMOVE_THIS_ADDRESS: '' }; // Localize the strings we need @@ -548,7 +549,7 @@ function initVroom(room) { // Add a new email address in the list of the ones notified when someone joins function addNotifiedEmail(email){ var id = email.replace('@', '_AT_').replace('.', '_DOT_'); - $('
  • ').html(email + ' ' + + $('
  • ').html(email + '
    ' + ' ' + ' ') .attr('id', 'emailNotification_' + id)