Remove some dead code

master
Daniel Berteaud 11 years ago
parent d7f353065f
commit 061e7ba4d4
  1. 2
      lib/Vroom/I18N/en.pm
  2. 2
      lib/Vroom/I18N/fr.pm
  3. 10
      public/js/vroom.js

@ -36,7 +36,6 @@ our %Lexicon = (
"YOUR_FEEDBACK_HELPS_US" => "Your feedback (good or bad) can help us improve this application", "YOUR_FEEDBACK_HELPS_US" => "Your feedback (good or bad) can help us improve this application",
"ROOM_LOCKED" => "This room is now locked", "ROOM_LOCKED" => "This room is now locked",
"ROOM_UNLOCKED" => "This room is now unlocked", "ROOM_UNLOCKED" => "This room is now unlocked",
"ONE_OF_THE_PEERS" => "one of the peers",
"ROOM_LOCKED_BY_s" => "%s locked the room", "ROOM_LOCKED_BY_s" => "%s locked the room",
"ROOM_UNLOCKED_BY_s" => "%s unlocked the room", "ROOM_UNLOCKED_BY_s" => "%s unlocked the room",
"PASSWORD_PROTECT_ON_BY_s" => "%s password protected the room", "PASSWORD_PROTECT_ON_BY_s" => "%s password protected the room",
@ -220,7 +219,6 @@ our %Lexicon = (
"EVERYONE_CAN_SEE_YOUR_SCREEN" => "All other participants can see your screen now", "EVERYONE_CAN_SEE_YOUR_SCREEN" => "All other participants can see your screen now",
"SCREEN_UNSHARED" => "You do no longer share your screen", "SCREEN_UNSHARED" => "You do no longer share your screen",
"ERROR_MAIL_INVALID" => "Please enter a valid email address", "ERROR_MAIL_INVALID" => "Please enter a valid email address",
"CANT_SEND_TO_s" => "Couldn't send message to %s",
"SCREEN_s" => "%s's screen", "SCREEN_s" => "%s's screen",
"BROWSER_NOT_SUPPORTED" => "Browser not supported", "BROWSER_NOT_SUPPORTED" => "Browser not supported",
"NO_WEBRTC_SUPPORT" => "Sorry, but the video conference will not work because your web browser doesn't have the " . "NO_WEBRTC_SUPPORT" => "Sorry, but the video conference will not work because your web browser doesn't have the " .

@ -40,7 +40,6 @@ our %Lexicon = (
"INVITE_SENT_TO_s" => "Une invitation a été envoyée à %s", "INVITE_SENT_TO_s" => "Une invitation a été envoyée à %s",
"ROOM_LOCKED" => "Ce salon est maintenant verrouillé", "ROOM_LOCKED" => "Ce salon est maintenant verrouillé",
"ROOM_UNLOCKED" => "Ce salon est maintenant déverrouillé", "ROOM_UNLOCKED" => "Ce salon est maintenant déverrouillé",
"ONE_OF_THE_PEERS" => "un des participants",
"ROOM_LOCKED_BY_s" => "%s a verrouillé le salon", "ROOM_LOCKED_BY_s" => "%s a verrouillé le salon",
"ROOM_UNLOCKED_BY_s" => "%s a déverrouillé le salon", "ROOM_UNLOCKED_BY_s" => "%s a déverrouillé le salon",
"PASSWORD_PROTECT_ON_BY_s" => "%s a protégé le salon par un mot de passe", "PASSWORD_PROTECT_ON_BY_s" => "%s a protégé le salon par un mot de passe",
@ -244,7 +243,6 @@ our %Lexicon = (
"EVERYONE_CAN_SEE_YOUR_SCREEN" => "Tous les autres participants peuvent voir votre écran", "EVERYONE_CAN_SEE_YOUR_SCREEN" => "Tous les autres participants peuvent voir votre écran",
"SCREEN_UNSHARED" => "Vous ne partagez plus votre écran", "SCREEN_UNSHARED" => "Vous ne partagez plus votre écran",
"ERROR_MAIL_INVALID" => "Veuillez saisir une adresse email valide", "ERROR_MAIL_INVALID" => "Veuillez saisir une adresse email valide",
"CANT_SEND_TO_s" => "Le message n'a pas pu être envoyé à %s",
"SCREEN_s" => "Écran de %s", "SCREEN_s" => "Écran de %s",
"BROWSER_NOT_SUPPORTED" => "Navigateur non supporté", "BROWSER_NOT_SUPPORTED" => "Navigateur non supporté",
"NO_WEBRTC_SUPPORT" => "Désolé, la vidéo conférence ne fonctionnera pas (ou pas correctement) car votre navigateur " . "NO_WEBRTC_SUPPORT" => "Désolé, la vidéo conférence ne fonctionnera pas (ou pas correctement) car votre navigateur " .

@ -32,14 +32,12 @@ var locale = {
CAM_SUSPENDED: '', CAM_SUSPENDED: '',
CAM_RESUMED: '', CAM_RESUMED: '',
SET_YOUR_NAME_TO_CHAT: '', SET_YOUR_NAME_TO_CHAT: '',
ONE_OF_THE_PEERS: '',
ROOM_LOCKED_BY_s: '', ROOM_LOCKED_BY_s: '',
ROOM_UNLOCKED_BY_s: '', ROOM_UNLOCKED_BY_s: '',
PASSWORD_PROTECT_ON_BY_s: '', PASSWORD_PROTECT_ON_BY_s: '',
PASSWORD_PROTECT_OFF_BY_s: '', PASSWORD_PROTECT_OFF_BY_s: '',
OWNER_PASSWORD_CHANGED_BY_s: '', OWNER_PASSWORD_CHANGED_BY_s: '',
OWNER_PASSWORD_REMOVED_BY_s: '', OWNER_PASSWORD_REMOVED_BY_s: '',
CANT_SEND_TO_s: '',
SCREEN_s: '', SCREEN_s: '',
TO_INVITE_SHARE_THIS_URL: '', TO_INVITE_SHARE_THIS_URL: '',
NO_SOUND_DETECTED: '', NO_SOUND_DETECTED: '',
@ -1262,14 +1260,6 @@ function initVroom(room) {
} }
}); });
// Error sending something through dataChannel
webrtc.on('cantsend', function (peer, message){
if (message.type == 'textChat'){
var who = (peers[peer.id].hasName) ? stringEscape(peers[peer.id].displayName) : locale.ONE_OF_THE_PEERS;
$.notify(sprintf(locale.CANT_SEND_TO_s, who), 'error');
}
});
// Do not close the dropdown menus (invite/conf) when filling fields // Do not close the dropdown menus (invite/conf) when filling fields
$('.dropdown-menu').on('click', 'li', function(e){ $('.dropdown-menu').on('click', 'li', function(e){
e.stopPropagation(); e.stopPropagation();

Loading…
Cancel
Save