aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/format
diff options
context:
space:
mode:
Diffstat (limited to 'sources/plugins/format')
-rw-r--r--sources/plugins/format/lang/es-mx.js18
-rw-r--r--sources/plugins/format/lang/hr.js20
-rw-r--r--sources/plugins/format/plugin.js4
3 files changed, 30 insertions, 12 deletions
diff --git a/sources/plugins/format/lang/es-mx.js b/sources/plugins/format/lang/es-mx.js
new file mode 100644
index 0000000..d311012
--- /dev/null
+++ b/sources/plugins/format/lang/es-mx.js
@@ -0,0 +1,18 @@
1/*
2Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3For licensing, see LICENSE.md or http://ckeditor.com/license
4*/
5CKEDITOR.plugins.setLang( 'format', 'es-mx', {
6 label: 'Formato',
7 panelTitle: 'Formato de párrafo',
8 tag_address: 'Dirección',
9 tag_div: 'Normal (DIV)',
10 tag_h1: 'Encabezado 1',
11 tag_h2: 'Encabezado 2',
12 tag_h3: 'Encabezado 3',
13 tag_h4: 'Encabezado 4',
14 tag_h5: 'Encabezado 5',
15 tag_h6: 'Encabezado 6',
16 tag_p: 'Normal',
17 tag_pre: 'Formateado'
18} );
diff --git a/sources/plugins/format/lang/hr.js b/sources/plugins/format/lang/hr.js
index 2d6ec21..fbafb0e 100644
--- a/sources/plugins/format/lang/hr.js
+++ b/sources/plugins/format/lang/hr.js
@@ -4,15 +4,15 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
4*/ 4*/
5CKEDITOR.plugins.setLang( 'format', 'hr', { 5CKEDITOR.plugins.setLang( 'format', 'hr', {
6 label: 'Format', 6 label: 'Format',
7 panelTitle: 'Format', 7 panelTitle: 'Format paragrafa',
8 tag_address: 'Address', 8 tag_address: 'Adresa',
9 tag_div: 'Normal (DIV)', 9 tag_div: 'Normalno (DIV)',
10 tag_h1: 'Heading 1', 10 tag_h1: 'Naslov 1',
11 tag_h2: 'Heading 2', 11 tag_h2: 'Naslov 2',
12 tag_h3: 'Heading 3', 12 tag_h3: 'Naslov 3',
13 tag_h4: 'Heading 4', 13 tag_h4: 'Naslov 4',
14 tag_h5: 'Heading 5', 14 tag_h5: 'Naslov 5',
15 tag_h6: 'Heading 6', 15 tag_h6: 'Naslov 6',
16 tag_p: 'Normal', 16 tag_p: 'Normalno',
17 tag_pre: 'Formatirano' 17 tag_pre: 'Formatirano'
18} ); 18} );
diff --git a/sources/plugins/format/plugin.js b/sources/plugins/format/plugin.js
index 826cbcf..54d43ca 100644
--- a/sources/plugins/format/plugin.js
+++ b/sources/plugins/format/plugin.js
@@ -6,7 +6,7 @@
6CKEDITOR.plugins.add( 'format', { 6CKEDITOR.plugins.add( 'format', {
7 requires: 'richcombo', 7 requires: 'richcombo',
8 // jscs:disable maximumLineLength 8 // jscs:disable maximumLineLength
9 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% 9 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%
10 // jscs:enable maximumLineLength 10 // jscs:enable maximumLineLength
11 init: function( editor ) { 11 init: function( editor ) {
12 if ( editor.blockless ) 12 if ( editor.blockless )
@@ -69,7 +69,7 @@ CKEDITOR.plugins.add( 'format', {
69 69
70 editor[ style.checkActive( elementPath, editor ) ? 'removeStyle' : 'applyStyle' ]( style ); 70 editor[ style.checkActive( elementPath, editor ) ? 'removeStyle' : 'applyStyle' ]( style );
71 71
72 // Save the undo snapshot after all changes are affected. (#4899) 72 // Save the undo snapshot after all changes are affected. (http://dev.ckeditor.com/ticket/4899)
73 setTimeout( function() { 73 setTimeout( function() {
74 editor.fire( 'saveSnapshot' ); 74 editor.fire( 'saveSnapshot' );
75 }, 0 ); 75 }, 0 );