From 01e14e412fab373939d6becd4da86b095eaa6c42 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Fri, 10 Aug 2018 16:26:53 -0500 Subject: [PATCH] Add translations for ckeditor's video #2622 --- .../ckeditor/plugins/video/dialogs/video.js | 8 ++++---- .../lib/javascript/ckeditor/plugins/video/plugin.js | 12 ++++++++++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/main/inc/lib/javascript/ckeditor/plugins/video/dialogs/video.js b/main/inc/lib/javascript/ckeditor/plugins/video/dialogs/video.js index a0716fc265..e2c05d696e 100644 --- a/main/inc/lib/javascript/ckeditor/plugins/video/dialogs/video.js +++ b/main/inc/lib/javascript/ckeditor/plugins/video/dialogs/video.js @@ -223,7 +223,7 @@ CKEDITOR.dialog.add( 'video', function ( editor ) [ { id : 'info', - label: 'Information', + label: lang.infoLabel, elements : [ { @@ -384,19 +384,19 @@ CKEDITOR.dialog.add( 'video', function ( editor ) elements: [ { type : 'html', - html : 'Multiple 360° video player can fails in one page.' + html : lang.html360 }, { type : 'checkbox', id : '360video', - label: 'Enable 360° video player', + label: lang.video360, commit : commitValue, setup : loadValue }, { type : 'checkbox', id : '360videostereo', - label : 'Is a stereo video (1:1 aspect ratio)', + label : lang.video360stereo, 'default': 'checked', commit : commitValue, setup : loadValue diff --git a/main/inc/lib/javascript/ckeditor/plugins/video/plugin.js b/main/inc/lib/javascript/ckeditor/plugins/video/plugin.js index 09fca62cdb..88c671cb1c 100644 --- a/main/inc/lib/javascript/ckeditor/plugins/video/plugin.js +++ b/main/inc/lib/javascript/ckeditor/plugins/video/plugin.js @@ -179,7 +179,11 @@ var en = { sourceVideo: 'Source video', sourceType : 'Video type', linkTemplate : '%type% ', - fallbackTemplate : 'Your browser doesn\'t support video.
Please download the file: %links%' + fallbackTemplate : 'Your browser doesn\'t support video.
Please download the file: %links%', + infoLabel: 'Information', + html360: 'Multiple 360° video players may fails in one page.', + video360: 'Enable 360° video player', + video360stereo : 'Is a stereo video (1:1 aspect ratio)' }; var es = { @@ -193,7 +197,11 @@ var es = { sourceVideo: 'Archivo de video', sourceType : 'Tipo', linkTemplate : '%type% ', - fallbackTemplate : 'Su navegador no soporta VIDEO.
Por favor, descargue el fichero: %links%' + fallbackTemplate : 'Su navegador no soporta VIDEO.
Por favor, descargue el fichero: %links%', + infoLabel: 'Información', + html360: 'Multiples reproductores de video 360° pueden fallar en una sola página.', + video360: 'Habilitar reproductor de video 360°', + video360stereo : 'Este es un video estéreo (relación de aspecto 1:1)' }; // v3