diff --git a/html5/verto/verto_communicator/Gruntfile.js b/html5/verto/verto_communicator/Gruntfile.js index 4d2174ac9d..1962e3263c 100644 --- a/html5/verto/verto_communicator/Gruntfile.js +++ b/html5/verto/verto_communicator/Gruntfile.js @@ -120,6 +120,7 @@ module.exports = function (grunt) { '<%= config.app %>/**/*.html', '.tmp/styles/{,*/}*.css', '<%= config.app %>/images/{,*/}*', + '<%= config.app %>/locales/{,*/}*', '.tmp/**/*.js', '<%= config.app %>/**/*.js' ], @@ -150,6 +151,7 @@ module.exports = function (grunt) { ], routes: { '/partials': 'src/partials', + '/locales': 'src/locales', '/config.json': 'src/config.json', '/contributors.txt': 'src/contributors.txt', '/bower_components': './bower_components', @@ -309,7 +311,8 @@ module.exports = function (grunt) { 'img/*.png', 'images/{,*/}*.{webp}', 'css/fonts/{,*/}*.*', - 'sounds/*.*' + 'sounds/*.*', + 'locales/*.*' ] }, { expand: true, diff --git a/html5/verto/verto_communicator/bower.json b/html5/verto/verto_communicator/bower.json index 73ade295f8..975807de00 100644 --- a/html5/verto/verto_communicator/bower.json +++ b/html5/verto/verto_communicator/bower.json @@ -43,7 +43,9 @@ "jquery-json": "~2.5.1", "datatables": "~1.10.8", "angular-bootstrap": "~0.14.3", - "bootstrap-material-design": "~0.3.0" + "bootstrap-material-design": "~0.3.0", + "angular-translate": "~2.10.0", + "angular-translate-loader-static-files": "~2.10.0" }, "resolutions": { "angular": "~1.3.15", diff --git a/html5/verto/verto_communicator/src/css/verto.css b/html5/verto/verto_communicator/src/css/verto.css index d2d3b7add3..418ed83b54 100644 --- a/html5/verto/verto_communicator/src/css/verto.css +++ b/html5/verto/verto_communicator/src/css/verto.css @@ -1728,6 +1728,10 @@ body:-webkit-full-screen #incall .video-footer { color: white; } +#settings .checkbox .checkbox-material .check { + margin-right: 10px; +} + #settings .btn { color: rgba(0, 10, 66, 0.84); background-color: #E8E8E8; diff --git a/html5/verto/verto_communicator/src/index.html b/html5/verto/verto_communicator/src/index.html index e10df64552..736ab14974 100644 --- a/html5/verto/verto_communicator/src/index.html +++ b/html5/verto/verto_communicator/src/index.html @@ -97,6 +97,8 @@ + + diff --git a/html5/verto/verto_communicator/src/locales/locale-en.json b/html5/verto/verto_communicator/src/locales/locale-en.json new file mode 100644 index 0000000000..c5d32b1846 --- /dev/null +++ b/html5/verto/verto_communicator/src/locales/locale-en.json @@ -0,0 +1,143 @@ +{ + "TITLE_ACTIVE_CALL": "Oops, Active Call in Course.", + "MESSAGE_ACTIVE_CALL_HANGUP": "It seems that you are in a call. Do you want to hang up?", + "MESSAGE_ACTIVE_CALL_BACK": "It seems you were in a call before leaving the last time. Wanna go back to that?", + "TITLE_INCOMING_CALL": "Incoming Call", + "MESSAGE_INCOMING_CALL": "from ", + "MESSAGE_NO_HANGUP_CALL": "There is no call to hangup.", + "MESSAGE_ENTER_FILENAME": "Please, enter filename", + "TITLE_ENABLE_VIDEO": "Would you like to activate video for this call?", + "MESSAGE_ENABLE_VIDEO": "Video will be active during the next calls.", + "TITLE_INSERT_BANNER": "Please insert the banner text", + "TITLE_INSERT_CANVAS_ID": "Please insert the Canvas Id", + "TITLE_INSERT_LAYER": "Please insert the Layer", + "TITLE_TRANSFER": "Transfer party?", + "MESSAGE_TRANSFER": "To what destination would you like to transfer this call?", + "LABEL_TRANSFER": "Destination", + "MESSAGE_DISPLAY_SETTINGS": "Can't display preview settings during a call", + "BUTTON_END_CALL": "End Call", + "BUTTON_CLOSE": "Close", + "MESSAGE_PLAY": "Play", + "MESSAGE_STOP": "Stop", + "MESSAGE_RECORD": "Record", + "MESSAGE_STOP_RECORD": "Stop Record", + "MESSAGE_SNAPSHOT": "Snapshot", + "MESSAGE_VIDEO_MODE": "Video Mode", + "MESSAGE_MUTE_MIC": "(un)Mute Mic", + "MESSAGE_MUTE_VIDEO": "(un)Mute Video", + "MESSAGE_FULLSCREEN": "Toggle Fullscreen Mode", + "MESSAGE_SCREENSHARE": "Screenshare", + "MESSAGE_OPEN_CLOSE_CHAT": "Open/Close Chat", + "MESSAGE_SPEAKER": "Speaker", + "MESSAGE_POPUP": "Popup", + "CHAT_TITLE_MEMBERS": "Members", + "CHAT_TITLE": "Chat", + "CHAT_NO_MEMBERS": "There are no members to show.", + "CHAT_GENERAL": "General", + "CHAT_TITLE_KICK": "Kick", + "CHAT_KICK": "Kick", + "CHAT_TITLE_VIDEO_FLOOR": "Video Floor", + "CHAT_FLOOR": "Floor", + "CHAT_TITLE_TRANSFER": "Transfer", + "CHAT_TRANSFER": "Transfer", + "CHAT_BANNER": "Banner", + "CHAT_TITLE_SET": "Set", + "CHAT_SET": "Set", + "CHAT_TITLE_RESET": "Reset", + "CHAT_RESET": "Reset", + "CHAT_CANVAS": "Canvas", + "CHAT_CANVAS_IN": "Canvas In", + "CHAT_CANVAS_OUT": "Canvas Out", + "CHAT_PREV": "Prev", + "CHAT_NEXT": "Next", + "CHAT_LAYER": "Layer", + "CHAT_AUDIO_VIDEO": "Audio/Video", + "CHAT_TITLE_MUTE_UNMUTE_MIC": "Mute/Unmute Mic", + "CHAT_MUTE_MIC": "Mute", + "CHAT_UNMUTE_MIC": "Unmute", + "CHAT_TITLE_MUTE_UNMUTE_MIC": "Mute/Unmute Video", + "CHAT_NO_MESSAGES": "There are no messages to show.", + "CHAT_SEND_MESSAGE": "Send", + "CHAT_TYPE_MESSAGE": "Type your message here...", + "TITLE_CONTRIBUTORS": "Contributors", + "MESSAGE_CONNECTION_UNTRUSTED": "This Connection is Untrusted.", + "MESSAGE_TOGGLE_NAVIGATION": "Toggle navigation", + "BANDWIDTH_INFO": "Bandwidth Info", + "BANDWIDTH_INFO_INCOMING": "Incoming:", + "BANDWIDTH_INFO_OUTGOING": "Outgoing:", + "BANDWIDTH_INFO_VIDEO_RES": "Video Resolution:", + "IN_CALL": "In Call:", + "LAST_CALL": "Last Call:", + "OPEN_NEW_WINDOW": "Open New Window", + "CHANGE_LOGIN_INFO": "Change Login Information", + "LOGOUT": "Logout", + "ABOUT": "About", + "HELP": "Help", + "CONTRIBUTORS": "Contributors", + "TITLE_PREVIEW_SETTINGS": "Setup your camera and microphone settings", + "CAMERA__SETTNGS": "Camera:", + "MIC_SETTINGS": "Microphone:", + "SAVE": "Save", + "LOADING": "Loading", + "ERRORS" : "Errors", + "CALLING_TO": "Calling to ", + "CANCELLING": "Cancelling...", + "DETERMINING_SPEED": "Determining your speed...", + "CALL_HISTORY": "Call History", + "CLEAR_CALL_HISTORY": "Clear History", + "NO_CALL_HISTORY": "No history calls.", + "ENTER_EXTENSION": "Enter an extension", + "CALL_EXTENSION": "Call Extension", + "LOGIN": "Login", + "LOGIN_INFORMATION": "Login Information", + "SAVE_LOGIN_INFORMATION": "Save Login Information", + "INVALID_LOGIN_FIELDS": "Verify the fields below and try again.", + "NAME": "Name", + "YOUR_NAME": "Your name", + "EMAIL": "Email", + "YOUR_EMAIL": "Your email", + "USER": "User", + "PASSWORD": "Password", + "CALLER_ID": "Caller ID", + "HOSTNAME": "Hostname", + "WEBSOCKET_URL": "Websocket URL", + "SETTINGS": "Settings", + "DEVICE_SETTINGS": "Device Settings", + "SHARE_DEVICE": "Share device", + "SPEAKER": "Speaker:", + "SPEAKER_FEATURE": "Your browser doesn't seem to support this feature", + "PREVIEW_SETTINGS": "Preview Settings", + "REFRESH_DEVICE_LIST": "Refresh device list", + "GENERAL_SETTINGS": "General settings:", + "USE_VIDEO": "Use Video", + "USE_STEREO_AUDIO": "Stereo Audio", + "USE_STUN": "Use STUN", + "SCALE_VIDEO": "Scale Remote Video To Match Camera Resolution", + "ASK_BEFORE_RECOVER": "Ask before recovering call", + "BEST_FRAME_RATE": "Best frame rate:", + "AUDIO_SETTINGS": "Audio settings:", + "ECHO_CANCEL": "Echo Cancellation", + "NOISE_SUPPRESSION": "Noise Suppression", + "HIGHPASS_FILTER": "Highpass Filter", + "VIDEO_SETTINGS": "Video settings:", + "REMOTE_ENCODER": "Dedicated Remote Encoder enabled.", + "AUTO_SPEED_RES": "Automatically determine speed and resolution settings", + "RECHECK_BANDWIDTH": "Recheck bandwidth before each outgoing call", + "CHECK_NETWORK_SPEED": "Check Network Speed", + "VIDEO_QUALITY": "Video quality:", + "MAX_INCOMING_BANDWIDTH": "Max incoming bandwidth:", + "MAX_OUTGOING_BANDWIDTH": "Max outgoing bandwidth:", + "FACTORY_RESET": "Factory reset", + "SAVE_DEVICE_SETTINGS": "Save Device Settings", + "BROWSER_COMPATIBILITY": "Checking browser compatibility.", + "REFRESH_MEDIA_DEVICES": "Refresh Media Devices.", + "BROWSER_WITHOUT_WEBRTC": "Error: browser doesn't support WebRTC.", + "CHECK_PERMISSION_MEDIA": "Checking media permissions", + "CHECK_PROVISIONING_CONF": "Provisioning configuration.", + "CHECK_LOGIN": "Checking login.", + "CHECK_CONNECTION_SPEED": "Check Connection Speed.", + "ERROR_PERMISSION_MEDIA": "Error: Media Permission Denied", + "ERROR_PROVISIONING_CONF": "Error: Provision failed.", + "PLEASE_WAIT": "Please wait..." +} + diff --git a/html5/verto/verto_communicator/src/locales/locale-it.json b/html5/verto/verto_communicator/src/locales/locale-it.json new file mode 100644 index 0000000000..be50edc854 --- /dev/null +++ b/html5/verto/verto_communicator/src/locales/locale-it.json @@ -0,0 +1,144 @@ +{ + "TITLE_ACTIVE_CALL": "Oops, Chiamata in corso.", + "MESSAGE_ACTIVE_CALL_HANGUP": "Sembra che tu sia in conversazione. Vuoi chiudere la chiamata?", + "MESSAGE_ACTIVE_CALL_BACK": "Sembra che eri in conversazione prima di abbandonare la sessione l'ultima volta. Vuoi tornare in quella conversazione?", + "TITLE_INCOMING_CALL": "Chiamata in arrivo", + "MESSAGE_INCOMING_CALL": "da ", + "MESSAGE_NO_HANGUP_CALL": "Non ci sono chiamate da chiudere.", + "MESSAGE_ENTER_FILENAME": "Per favore, inserisci il nome del file", + "TITLE_ENABLE_VIDEO": "Vuoi attivare il video per questa chiamata?", + "MESSAGE_ENABLE_VIDEO": "Il video verrà attivato a partire dalla prossima chiamata.", + "TITLE_INSERT_BANNER": "Per favore inserisci il testo del banner", + "TITLE_INSERT_CANVAS_ID": "Please insert the Canvas Id", + "TITLE_INSERT_LAYER": "Please insert the Layer", + "TITLE_TRANSFER": "Transfer party?", + "MESSAGE_TRANSFER": "To what destination would you like to transfer this call?", + "LABEL_TRANSFER": "Destinazione", + "MESSAGE_DISPLAY_SETTINGS": "Non è possibile mostrare le configurazioni video durante una chiamata", + "BUTTON_END_CALL": "Termina la chiamata", + "BUTTON_CLOSE": "Chiudi", + "MESSAGE_PLAY": "Riproduci", + "MESSAGE_STOP": "Ferma", + "MESSAGE_RECORD": "Registra", + "MESSAGE_STOP_RECORD": "Ferma la registrazione", + "MESSAGE_SNAPSHOT": "Snapshot", + "MESSAGE_VIDEO_MODE": "Video Mode", + "MESSAGE_MUTE_MIC": "(un)Mute Mic", + "MESSAGE_MUTE_VIDEO": "(un)Mute Video", + "MESSAGE_FULLSCREEN": "Abilita/Disabilita schermo intero", + "MESSAGE_SCREENSHARE": "Condividi lo schermo", + "MESSAGE_OPEN_CLOSE_CHAT": "Apri/Chiudi Chat", + "MESSAGE_SPEAKER": "Speaker", + "MESSAGE_POPUP": "Popup", + "CHAT_TITLE_MEMBERS": "Membri", + "CHAT_TITLE": "Chat", + "CHAT_NO_MEMBERS": "Non ci sono membri da mostrare.", + "CHAT_GENERAL": "Generale", + "CHAT_TITLE_KICK": "Kick", + "CHAT_KICK": "Kick", + "CHAT_TITLE_VIDEO_FLOOR": "Video Floor", + "CHAT_FLOOR": "Floor", + "CHAT_TITLE_TRASFER": "Transfer", + "CHAT_TRANSFER": "Transfer", + "CHAT_BANNER": "Banner", + "CHAT_TITLE_SET": "Set", + "CHAT_SET": "Set", + "CHAT_TITLE_RESET": "Reset", + "CHAT_RESET": "Reset", + "CHAT_RESET": "Reset", + "CHAT_CANVAS": "Canvas", + "CHAT_CANVAS_IN": "Canvas In", + "CHAT_CANVAS_OUT": "Canvas Out", + "CHAT_PREV": "Prev", + "CHAT_NEXT": "Next", + "CHAT_LAYER": "Layer", + "CHAT_AUDIO_VIDEO": "Audio/Video", + "CHAT_TITLE_MUTE_UNMUTE_MIC": "Mute/Unmute Mic", + "CHAT_MUTE_MIC": "Mute", + "CHAT_UNMUTE_MIC": "Unmute", + "CHAT_TITLE_MUTE_UNMUTE_MIC": "Mute/Unmute Video", + "CHAT_NO_MESSAGES": "Non ci sono messaggi da mostrare.", + "CHAT_SEND_MESSAGE": "Invia", + "CHAT_TYPE_MESSAGE": "Scrivi il tuo messaggio qui...", + "TITLE_CONTRIBUTORS": "Contributori", + "MESSAGE_CONNECTION_UNTRUSTED": "Questa connessione non è sicura.", + "MESSAGE_TOGGLE_NAVIGATION": "Abilita/Disabilita navigazione", + "BANDWIDTH_INFO": "Informazioni sulla larghezza di banda", + "BANDWIDTH_INFO_INCOMING": "Ingresso:", + "BANDWIDTH_INFO_OUTGOING": "Uscita:", + "BANDWIDTH_INFO_VIDEO_RES": "Risoluzione Video:", + "IN_CALL": "In chiamata: ", + "LAST_CALL": "Ultima chiamata: ", + "OPEN_NEW_WINDOW": "Apri Una Nuova Finestra", + "CHANGE_LOGIN_INFO": "Cambia le informazioni di login", + "LOGOUT": "Logout", + "ABOUT": "About", + "HELP": "Aiuto", + "CONTRIBUTORS": "Contributori", + "TITLE_PREVIEW_SETTINGS": "Configura le impostazioni della tua video camera e del tuo microfono", + "CAMERA_SETTINGS": "Video Camera:", + "MIC_SETTINGS": "Microfono:", + "SAVE": "Salva", + "LOADING": "Caricamento", + "ERRORS" : "Errori", + "CALLING_TO": "Chiamata verso ", + "CANCELLING": "In annullamento", + "DETERMINING_SPEED": "Calcolo della tua velocità...", + "CALL_HISTORY": "Cronologia Chiamate", + "CLEAR_CALL_HISTORY": "Rimuovi la cronologia", + "NO_CALL_HISTORY": "Nessuna chiamata nella cronologia.", + "ENTER_EXTENSION": "Inserisci un numero", + "CALL_EXTENSION": "Chiama il numero", + "LOGIN": "Login", + "LOGIN_INFORMATION": "Informazioni di login", + "SAVE_LOGIN_INFORMATION": "Salva le informazioni di login", + "INVALID_LOGIN_FIELDS": "Verifica i campi e prova di nuovo.", + "NAME": "Nome", + "YOUR_NAME": "Il tuo nome", + "EMAIL": "Email", + "YOUR_EMAIL": "Il tuo indirizzo email", + "USER": "Utente", + "PASSWORD": "Password", + "CALLER_ID": "Caller ID", + "HOSTNAME": "Hostname", + "WEBSOCKET_URL": "Websocket URL", + "SETTINGS": "Impostazioni", + "DEVICE_SETTINGS": "Configurazione dei dispositivi", + "SHARE_DEVICE": "Dispositivo in condivisione", + "SPEAKER": "Altoparlante:", + "SPEAKER_FEATURE": "Il tuo browser sembra non supportare questa funzionalità", + "PREVIEW_SETTINGS": "Anteprima delle configurazioni", + "REFRESH_DEVICE_LIST": "Aggiorna la lista dei dispositivi", + "GENERAL_SETTINGS": "Configurazioni generali:", + "USE_VIDEO": "Abilita Video", + "USE_STEREO_AUDIO": "Abilita Audio Stereo", + "USE_STUN": "Abilita STUN", + "SCALE_VIDEO": "Scala il video remoto con la risoluzione della video camera", + "ASK_BEFORE_RECOVER": "Chiedi prima di recuperare una chiamata", + "BEST_FRAME_RATE": "Miglior frame rate:", + "AUDIO_SETTINGS": "Impostazioni audio:", + "ECHO_CANCEL": "Cancellatore d'eco", + "NOISE_SUPPRESSION": "Soppressione del rumore", + "HIGHPASS_FILTER": "Highpass Filter", + "VIDEO_SETTINGS": "Impostazioni video:", + "REMOTE_ENCODER": "Abilita codificatore remoto dedicato.", + "AUTO_SPEED_RES": "Rileva in modo automatico la velocità e le impostazioni", + "RECHECK_BANDWIDTH": "Controlla la larghezza di banda per ogni chiamata in uscita", + "CHECK_NETWORK_SPEED": "Controllo della velocità di rete", + "VIDEO_QUALITY": "Qualità video:", + "MAX_INCOMING_BANDWIDTH": "Massima larghezza di banda in ingresso:", + "MAX_OUTGOING_BANDWIDTH": "Massima larghezza di banda in uscita:", + "FACTORY_RESET": "Reset ai valori di default", + "SAVE_DEVICE_SETTINGS": "Salva le impostazioni dei dispositivi", + "BROWSER_COMPATIBILITY": "Verifica compatibilità browser.", + "REFRESH_MEDIA_DEVICES": "Aggiornamento dei dispositivi.", + "BROWSER_WITHOUT_WEBRTC": "Errore: il browser non supporta WebRTC.", + "CHECK_PERMISSION_MEDIA": "Verifica permessi dispositivi", + "CHECK_PROVISIONING_CONF": "Recupero della configurazione.", + "CHECK_LOGIN": "Verifica del login.", + "CHECK_CONNECTION_SPEED": "Verifica velocità connessione.", + "ERROR_PERMISSION_MEDIA": "Errore: permesso sui dispositivi negato", + "ERROR_PROVISIONING_CONF": "Errore: Recupero configurazione fallito.", + "PLEASE_WAIT": "Attendere prego..." +} + diff --git a/html5/verto/verto_communicator/src/partials/chat.html b/html5/verto/verto_communicator/src/partials/chat.html index 04ef1963ee..898636d4e7 100644 --- a/html5/verto/verto_communicator/src/partials/chat.html +++ b/html5/verto/verto_communicator/src/partials/chat.html @@ -2,19 +2,19 @@
There are no members to show.
+{{ 'CHAT_NO_MEMBERS' | translate }}