From 1794320dcfdfcd19572fb1676294f9853a6bbc20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 4 Dec 2017 18:55:29 +0100 Subject: Update to 4.7.3 --- sources/plugins/toolbar/lang/es-mx.js | 22 ++++++++++++++++++++++ sources/plugins/toolbar/plugin.js | 12 ++++-------- 2 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 sources/plugins/toolbar/lang/es-mx.js (limited to 'sources/plugins/toolbar') diff --git a/sources/plugins/toolbar/lang/es-mx.js b/sources/plugins/toolbar/lang/es-mx.js new file mode 100644 index 0000000..4af52fe --- /dev/null +++ b/sources/plugins/toolbar/lang/es-mx.js @@ -0,0 +1,22 @@ +/* +Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.md or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang( 'toolbar', 'es-mx', { + toolbarCollapse: 'Colapsar barra de herramientas', + toolbarExpand: 'Expandir barra de herramientas', + toolbarGroups: { + document: 'Documento', + clipboard: 'Portapapeles/deshacer', + editing: 'Editando', + forms: 'Formularios', + basicstyles: 'Estilo básico', + paragraph: 'Párrafo', + links: 'Enlaces', + insert: 'Insertar', + styles: 'Estilos', + colors: 'Colores', + tools: 'Herramientas' + }, + toolbars: 'Editor de barra de herramientas' +} ); diff --git a/sources/plugins/toolbar/plugin.js b/sources/plugins/toolbar/plugin.js index b267b51..fc19359 100644 --- a/sources/plugins/toolbar/plugin.js +++ b/sources/plugins/toolbar/plugin.js @@ -34,7 +34,7 @@ if ( editor.toolbox ) { editor.toolbox.focusCommandExecuted = true; - // Make the first button focus accessible for IE. (#3417) + // Make the first button focus accessible for IE. (http://dev.ckeditor.com/ticket/3417) // Adobe AIR instead need while of delay. if ( CKEDITOR.env.ie || CKEDITOR.env.air ) { setTimeout( function() { @@ -51,7 +51,7 @@ CKEDITOR.plugins.add( 'toolbar', { requires: 'button', // jscs:disable maximumLineLength - lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% + lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% // jscs:enable maximumLineLength init: function( editor ) { @@ -118,10 +118,6 @@ return false; case 40: // DOWN-ARROW if ( item.button && item.button.hasArrow ) { - // Note: code is duplicated in plugins\richcombo\plugin.js in keyDownFn(). - editor.once( 'panelShow', function( evt ) { - evt.data._.panel._.currentBlock.onKeyDown( 40 ); - } ); item.execute(); } else { // Send left arrow key. @@ -205,7 +201,7 @@ // available because it's a common mistake to leave // an extra comma in the toolbar definition // settings, which leads on the editor not loading - // at all in IE. (#3983) + // at all in IE. (http://dev.ckeditor.com/ticket/3983) if ( !row ) continue; @@ -287,7 +283,7 @@ itemObj.toolbar = toolbarObj; itemObj.onkey = itemKeystroke; - // Fix for #3052: + // Fix for http://dev.ckeditor.com/ticket/3052: // Prevent JAWS from focusing the toolbar after document load. itemObj.onfocus = function() { if ( !editor.toolbox.focusCommandExecuted ) -- cgit v1.2.3