diff options
Diffstat (limited to 'sources/plugins/removeformat')
-rw-r--r-- | sources/plugins/removeformat/lang/es-mx.js | 7 | ||||
-rw-r--r-- | sources/plugins/removeformat/plugin.js | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/sources/plugins/removeformat/lang/es-mx.js b/sources/plugins/removeformat/lang/es-mx.js new file mode 100644 index 0000000..dda30c5 --- /dev/null +++ b/sources/plugins/removeformat/lang/es-mx.js | |||
@@ -0,0 +1,7 @@ | |||
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( 'removeformat', 'es-mx', { | ||
6 | toolbar: 'Remover formato' | ||
7 | } ); | ||
diff --git a/sources/plugins/removeformat/plugin.js b/sources/plugins/removeformat/plugin.js index 20f7ecb..94360ee 100644 --- a/sources/plugins/removeformat/plugin.js +++ b/sources/plugins/removeformat/plugin.js | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | CKEDITOR.plugins.add( 'removeformat', { | 6 | CKEDITOR.plugins.add( 'removeformat', { |
7 | // jscs:disable maximumLineLength | 7 | // jscs:disable maximumLineLength |
8 | 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% | 8 | 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% |
9 | // jscs:enable maximumLineLength | 9 | // jscs:enable maximumLineLength |
10 | icons: 'removeformat', // %REMOVE_LINE_CORE% | 10 | icons: 'removeformat', // %REMOVE_LINE_CORE% |
11 | hidpi: true, // %REMOVE_LINE_CORE% | 11 | hidpi: true, // %REMOVE_LINE_CORE% |
@@ -120,7 +120,7 @@ CKEDITOR.plugins.removeformat = { | |||
120 | } | 120 | } |
121 | 121 | ||
122 | // The selection path may not changed, but we should force a selection | 122 | // The selection path may not changed, but we should force a selection |
123 | // change event to refresh command states, due to the above attribution change. (#9238) | 123 | // change event to refresh command states, due to the above attribution change. (http://dev.ckeditor.com/ticket/9238) |
124 | editor.forceNextSelectionCheck(); | 124 | editor.forceNextSelectionCheck(); |
125 | editor.getSelection().selectRanges( ranges ); | 125 | editor.getSelection().selectRanges( ranges ); |
126 | } | 126 | } |