diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 18:55:29 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 18:55:29 +0100 |
commit | 1794320dcfdfcd19572fb1676294f9853a6bbc20 (patch) | |
tree | a4c9e978947d6930d50391747382d7f95a5863e3 /sources/plugins/format | |
parent | 7183f6a6a21ad9124e70c997e0168459f377a9f2 (diff) | |
download | ludivine-ckeditor-component-master.tar.gz ludivine-ckeditor-component-master.tar.zst ludivine-ckeditor-component-master.zip |
Diffstat (limited to 'sources/plugins/format')
-rw-r--r-- | sources/plugins/format/lang/es-mx.js | 18 | ||||
-rw-r--r-- | sources/plugins/format/lang/hr.js | 20 | ||||
-rw-r--r-- | sources/plugins/format/plugin.js | 4 |
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 | /* | ||
2 | Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.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 | */ |
5 | CKEDITOR.plugins.setLang( 'format', 'hr', { | 5 | CKEDITOR.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 @@ | |||
6 | CKEDITOR.plugins.add( 'format', { | 6 | CKEDITOR.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 ); |