From b89b2a81f70685e5a035b31d1fab71646556252e Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Wed, 26 Jul 2017 22:25:24 +0200 Subject: [PATCH] Provisional solution for translations which doesn't work --- sites/all/modules/ckeditor/plugins/drupalbreaks/plugin.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sites/all/modules/ckeditor/plugins/drupalbreaks/plugin.js b/sites/all/modules/ckeditor/plugins/drupalbreaks/plugin.js index b90728b..c5873f3 100644 --- a/sites/all/modules/ckeditor/plugins/drupalbreaks/plugin.js +++ b/sites/all/modules/ckeditor/plugins/drupalbreaks/plugin.js @@ -48,14 +48,14 @@ CKEDITOR.plugins.add( 'drupalbreaks', if ( Drupal.ckeditorTeaserInfo(editor.name) || Drupal.settings.ckeditor.teaser == editor.name ) { editor.ui.addButton( 'DrupalBreak', { - label : Drupal.t('Insert Teaser Break'), + label : Drupal.t('Separador resumen/cuerpo'), icon : this.path + 'images/drupalbreak.png', command : 'drupalbreak' }); editor.ui.addButton( 'DrupalPageBreak', { - label : Drupal.t( 'Insert Page Break' ), + label : Drupal.t( 'Añadir separador de página' ), icon : this.path + 'images/drupalpagebreak.png', command : 'drupalpagebreak' }); @@ -75,7 +75,7 @@ CKEDITOR.plugins.add( 'drupalbreaks', var img = images.getItem( i ); if ( img.hasClass( 'cke_drupal_break' ) ) { - if ( confirm( Drupal.t( 'The document already contains a teaser break. Do you want to proceed by removing it first?' ) ) ) + if ( confirm( Drupal.t( 'El documento ya contiene un separador. ¿Desea borrarlo primero?' ) ) ) { img.remove(); break; @@ -166,4 +166,4 @@ CKEDITOR.plugins.add( 'drupalbreaks', } }); } -}); +}); \ No newline at end of file