diff options
Diffstat (limited to 'sources/plugins/elementspath')
-rw-r--r-- | sources/plugins/elementspath/lang/es-mx.js | 8 | ||||
-rw-r--r-- | sources/plugins/elementspath/lang/hr.js | 2 | ||||
-rw-r--r-- | sources/plugins/elementspath/plugin.js | 10 |
3 files changed, 14 insertions, 6 deletions
diff --git a/sources/plugins/elementspath/lang/es-mx.js b/sources/plugins/elementspath/lang/es-mx.js new file mode 100644 index 0000000..625d951 --- /dev/null +++ b/sources/plugins/elementspath/lang/es-mx.js | |||
@@ -0,0 +1,8 @@ | |||
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( 'elementspath', 'es-mx', { | ||
6 | eleLabel: 'Ruta de los elementos', | ||
7 | eleTitle: '%1 elemento' | ||
8 | } ); | ||
diff --git a/sources/plugins/elementspath/lang/hr.js b/sources/plugins/elementspath/lang/hr.js index 90a7fd0..004182b 100644 --- a/sources/plugins/elementspath/lang/hr.js +++ b/sources/plugins/elementspath/lang/hr.js | |||
@@ -3,6 +3,6 @@ Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | |||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | 3 | For licensing, see LICENSE.md or http://ckeditor.com/license |
4 | */ | 4 | */ |
5 | CKEDITOR.plugins.setLang( 'elementspath', 'hr', { | 5 | CKEDITOR.plugins.setLang( 'elementspath', 'hr', { |
6 | eleLabel: 'Putanja elemenata', | 6 | eleLabel: 'Putanje elemenata', |
7 | eleTitle: '%1 element' | 7 | eleTitle: '%1 element' |
8 | } ); | 8 | } ); |
diff --git a/sources/plugins/elementspath/plugin.js b/sources/plugins/elementspath/plugin.js index 07ba5c2..f66d7ad 100644 --- a/sources/plugins/elementspath/plugin.js +++ b/sources/plugins/elementspath/plugin.js | |||
@@ -17,7 +17,7 @@ | |||
17 | var idBase = editor._.elementsPath.idBase; | 17 | var idBase = editor._.elementsPath.idBase; |
18 | var element = CKEDITOR.document.getById( idBase + '0' ); | 18 | var element = CKEDITOR.document.getById( idBase + '0' ); |
19 | 19 | ||
20 | // Make the first button focus accessible for IE. (#3417) | 20 | // Make the first button focus accessible for IE. (http://dev.ckeditor.com/ticket/3417) |
21 | // Adobe AIR instead need while of delay. | 21 | // Adobe AIR instead need while of delay. |
22 | element && element.focus( CKEDITOR.env.ie || CKEDITOR.env.air ); | 22 | element && element.focus( CKEDITOR.env.ie || CKEDITOR.env.air ); |
23 | } | 23 | } |
@@ -55,7 +55,7 @@ | |||
55 | 55 | ||
56 | CKEDITOR.plugins.add( 'elementspath', { | 56 | CKEDITOR.plugins.add( 'elementspath', { |
57 | // jscs:disable maximumLineLength | 57 | // jscs:disable maximumLineLength |
58 | 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,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% | 58 | 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,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% |
59 | // jscs:enable maximumLineLength | 59 | // jscs:enable maximumLineLength |
60 | init: function( editor ) { | 60 | init: function( editor ) { |
61 | editor._.elementsPath = { | 61 | editor._.elementsPath = { |
@@ -104,13 +104,13 @@ | |||
104 | selection.selectElement( element ); | 104 | selection.selectElement( element ); |
105 | } | 105 | } |
106 | 106 | ||
107 | // Explicitly fire selectionChange when clicking on an element path button. (#13548) | 107 | // Explicitly fire selectionChange when clicking on an element path button. (http://dev.ckeditor.com/ticket/13548) |
108 | if ( CKEDITOR.env.ie ) { | 108 | if ( CKEDITOR.env.ie ) { |
109 | editor.fire( 'selectionChange', { selection: selection, path: new CKEDITOR.dom.elementPath( element ) } ); | 109 | editor.fire( 'selectionChange', { selection: selection, path: new CKEDITOR.dom.elementPath( element ) } ); |
110 | } | 110 | } |
111 | 111 | ||
112 | // It is important to focus() *after* the above selection | 112 | // It is important to focus() *after* the above selection |
113 | // manipulation, otherwise Firefox will have troubles. #10119 | 113 | // manipulation, otherwise Firefox will have troubles. http://dev.ckeditor.com/ticket/10119 |
114 | editor.focus(); | 114 | editor.focus(); |
115 | } | 115 | } |
116 | 116 | ||
@@ -160,7 +160,7 @@ | |||
160 | filters = elementsPath.filters, | 160 | filters = elementsPath.filters, |
161 | isContentEditable = true, | 161 | isContentEditable = true, |
162 | 162 | ||
163 | // Use elementPath to consider children of editable only (#11124). | 163 | // Use elementPath to consider children of editable only (http://dev.ckeditor.com/ticket/11124). |
164 | elementsChain = editor.elementPath().elements, | 164 | elementsChain = editor.elementPath().elements, |
165 | name; | 165 | name; |
166 | 166 | ||