diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 17:54:04 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-12-04 17:54:04 +0100 |
commit | 317f8f8f0651488f226b5280a8f036c7c135c639 (patch) | |
tree | 97bd4889ab2822a00d4b0f0d5cde38b59f9f41de /sources/plugins/button | |
parent | 1096cdefb1c9a3f3c4ca6807e272da6c92e5ed9c (diff) | |
download | piedsjaloux-ckeditor-component-317f8f8f0651488f226b5280a8f036c7c135c639.tar.gz piedsjaloux-ckeditor-component-317f8f8f0651488f226b5280a8f036c7c135c639.tar.zst piedsjaloux-ckeditor-component-317f8f8f0651488f226b5280a8f036c7c135c639.zip |
Add oembed4.7.3
Diffstat (limited to 'sources/plugins/button')
52 files changed, 106 insertions, 62 deletions
diff --git a/sources/plugins/button/lang/af.js b/sources/plugins/button/lang/af.js index af03793..6ccebfa 100644 --- a/sources/plugins/button/lang/af.js +++ b/sources/plugins/button/lang/af.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/ar.js b/sources/plugins/button/lang/ar.js index 28f4346..025068d 100644 --- a/sources/plugins/button/lang/ar.js +++ b/sources/plugins/button/lang/ar.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/ast.js b/sources/plugins/button/lang/ast.js deleted file mode 100644 index 5ab7bf6..0000000 --- a/sources/plugins/button/lang/ast.js +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | CKEDITOR.plugins.setLang( 'button', 'ast', { | ||
7 | selectedLabel: '%1 (Seleicionáu)' | ||
8 | } ); | ||
diff --git a/sources/plugins/button/lang/az.js b/sources/plugins/button/lang/az.js new file mode 100644 index 0000000..30ac85e --- /dev/null +++ b/sources/plugins/button/lang/az.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | CKEDITOR.plugins.setLang( 'button', 'az', { | ||
7 | selectedLabel: '%1 (seçilib)' | ||
8 | } ); | ||
diff --git a/sources/plugins/button/lang/bg.js b/sources/plugins/button/lang/bg.js index dfe5be1..0b146bb 100644 --- a/sources/plugins/button/lang/bg.js +++ b/sources/plugins/button/lang/bg.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/ca.js b/sources/plugins/button/lang/ca.js index 2feb710..0891d49 100644 --- a/sources/plugins/button/lang/ca.js +++ b/sources/plugins/button/lang/ca.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/cs.js b/sources/plugins/button/lang/cs.js index 01f4a86..552a05c 100644 --- a/sources/plugins/button/lang/cs.js +++ b/sources/plugins/button/lang/cs.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/da.js b/sources/plugins/button/lang/da.js index 021201f..255dcc5 100644 --- a/sources/plugins/button/lang/da.js +++ b/sources/plugins/button/lang/da.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/de-ch.js b/sources/plugins/button/lang/de-ch.js index 680cc20..63430d7 100644 --- a/sources/plugins/button/lang/de-ch.js +++ b/sources/plugins/button/lang/de-ch.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/de.js b/sources/plugins/button/lang/de.js index d31afaa..dca3daa 100644 --- a/sources/plugins/button/lang/de.js +++ b/sources/plugins/button/lang/de.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/el.js b/sources/plugins/button/lang/el.js index 84e630c..1718816 100644 --- a/sources/plugins/button/lang/el.js +++ b/sources/plugins/button/lang/el.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/en-gb.js b/sources/plugins/button/lang/en-gb.js index b4060d3..d7daefc 100644 --- a/sources/plugins/button/lang/en-gb.js +++ b/sources/plugins/button/lang/en-gb.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/en.js b/sources/plugins/button/lang/en.js index b0b4807..d5c4088 100644 --- a/sources/plugins/button/lang/en.js +++ b/sources/plugins/button/lang/en.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/eo.js b/sources/plugins/button/lang/eo.js index 733c960..acf0c13 100644 --- a/sources/plugins/button/lang/eo.js +++ b/sources/plugins/button/lang/eo.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/es-mx.js b/sources/plugins/button/lang/es-mx.js new file mode 100644 index 0000000..3b1b47b --- /dev/null +++ b/sources/plugins/button/lang/es-mx.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | CKEDITOR.plugins.setLang( 'button', 'es-mx', { | ||
7 | selectedLabel: '%1 (Seleccionado)' | ||
8 | } ); | ||
diff --git a/sources/plugins/button/lang/es.js b/sources/plugins/button/lang/es.js index 8b4695b..cb46c6f 100644 --- a/sources/plugins/button/lang/es.js +++ b/sources/plugins/button/lang/es.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/eu.js b/sources/plugins/button/lang/eu.js index fd60b16..c49d92a 100644 --- a/sources/plugins/button/lang/eu.js +++ b/sources/plugins/button/lang/eu.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/fa.js b/sources/plugins/button/lang/fa.js index 8e923b0..358c88a 100644 --- a/sources/plugins/button/lang/fa.js +++ b/sources/plugins/button/lang/fa.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/fi.js b/sources/plugins/button/lang/fi.js index 2668a8d..4822e74 100644 --- a/sources/plugins/button/lang/fi.js +++ b/sources/plugins/button/lang/fi.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/fr.js b/sources/plugins/button/lang/fr.js index 1039c90..1b1c6d3 100644 --- a/sources/plugins/button/lang/fr.js +++ b/sources/plugins/button/lang/fr.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/gl.js b/sources/plugins/button/lang/gl.js index e73ea65..3e4e0b7 100644 --- a/sources/plugins/button/lang/gl.js +++ b/sources/plugins/button/lang/gl.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/he.js b/sources/plugins/button/lang/he.js index 8890cf9..c67afb6 100644 --- a/sources/plugins/button/lang/he.js +++ b/sources/plugins/button/lang/he.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/hr.js b/sources/plugins/button/lang/hr.js new file mode 100644 index 0000000..031f8f5 --- /dev/null +++ b/sources/plugins/button/lang/hr.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | CKEDITOR.plugins.setLang( 'button', 'hr', { | ||
7 | selectedLabel: '%1 (Odabrano)' | ||
8 | } ); | ||
diff --git a/sources/plugins/button/lang/hu.js b/sources/plugins/button/lang/hu.js index 9dc42a5..0dffac1 100644 --- a/sources/plugins/button/lang/hu.js +++ b/sources/plugins/button/lang/hu.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/id.js b/sources/plugins/button/lang/id.js index 52726a8..f973ffc 100644 --- a/sources/plugins/button/lang/id.js +++ b/sources/plugins/button/lang/id.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/it.js b/sources/plugins/button/lang/it.js index 0b28b8c..359dc9a 100644 --- a/sources/plugins/button/lang/it.js +++ b/sources/plugins/button/lang/it.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/ja.js b/sources/plugins/button/lang/ja.js index 559d08c..e2b064f 100644 --- a/sources/plugins/button/lang/ja.js +++ b/sources/plugins/button/lang/ja.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/km.js b/sources/plugins/button/lang/km.js index ecfc774..9437a2f 100644 --- a/sources/plugins/button/lang/km.js +++ b/sources/plugins/button/lang/km.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/ko.js b/sources/plugins/button/lang/ko.js index 2e2cc61..64ad966 100644 --- a/sources/plugins/button/lang/ko.js +++ b/sources/plugins/button/lang/ko.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/ku.js b/sources/plugins/button/lang/ku.js index b794e23..d342dd0 100644 --- a/sources/plugins/button/lang/ku.js +++ b/sources/plugins/button/lang/ku.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/lt.js b/sources/plugins/button/lang/lt.js index e17e9e5..b492bd5 100644 --- a/sources/plugins/button/lang/lt.js +++ b/sources/plugins/button/lang/lt.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/nb.js b/sources/plugins/button/lang/nb.js index b91a823..8d38121 100644 --- a/sources/plugins/button/lang/nb.js +++ b/sources/plugins/button/lang/nb.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/nl.js b/sources/plugins/button/lang/nl.js index 0654cec..3e00f80 100644 --- a/sources/plugins/button/lang/nl.js +++ b/sources/plugins/button/lang/nl.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/no.js b/sources/plugins/button/lang/no.js new file mode 100644 index 0000000..e6252b1 --- /dev/null +++ b/sources/plugins/button/lang/no.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | CKEDITOR.plugins.setLang( 'button', 'no', { | ||
7 | selectedLabel: '%1 (Valgt)' | ||
8 | } ); | ||
diff --git a/sources/plugins/button/lang/oc.js b/sources/plugins/button/lang/oc.js new file mode 100644 index 0000000..cb91761 --- /dev/null +++ b/sources/plugins/button/lang/oc.js | |||
@@ -0,0 +1,8 @@ | |||
1 | /** | ||
2 | * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. | ||
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | |||
6 | CKEDITOR.plugins.setLang( 'button', 'oc', { | ||
7 | selectedLabel: '%1 (Seleccionat)' | ||
8 | } ); | ||
diff --git a/sources/plugins/button/lang/pl.js b/sources/plugins/button/lang/pl.js index bc980d0..304d07a 100644 --- a/sources/plugins/button/lang/pl.js +++ b/sources/plugins/button/lang/pl.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/pt-br.js b/sources/plugins/button/lang/pt-br.js index f1cd7c4..e3fdf84 100644 --- a/sources/plugins/button/lang/pt-br.js +++ b/sources/plugins/button/lang/pt-br.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/pt.js b/sources/plugins/button/lang/pt.js index adc8251..e02c45a 100644 --- a/sources/plugins/button/lang/pt.js +++ b/sources/plugins/button/lang/pt.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/ro.js b/sources/plugins/button/lang/ro.js index c70153c..0669dd5 100644 --- a/sources/plugins/button/lang/ro.js +++ b/sources/plugins/button/lang/ro.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/ru.js b/sources/plugins/button/lang/ru.js index 06ee190..085f6ee 100644 --- a/sources/plugins/button/lang/ru.js +++ b/sources/plugins/button/lang/ru.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/sk.js b/sources/plugins/button/lang/sk.js index adbadf2..12bec80 100644 --- a/sources/plugins/button/lang/sk.js +++ b/sources/plugins/button/lang/sk.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/sl.js b/sources/plugins/button/lang/sl.js index 85e5cc2..c6633ae 100644 --- a/sources/plugins/button/lang/sl.js +++ b/sources/plugins/button/lang/sl.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/sq.js b/sources/plugins/button/lang/sq.js index 1690634..2e53e4c 100644 --- a/sources/plugins/button/lang/sq.js +++ b/sources/plugins/button/lang/sq.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/sv.js b/sources/plugins/button/lang/sv.js index db15526..b89e475 100644 --- a/sources/plugins/button/lang/sv.js +++ b/sources/plugins/button/lang/sv.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/tr.js b/sources/plugins/button/lang/tr.js index a87bb12..30d3670 100644 --- a/sources/plugins/button/lang/tr.js +++ b/sources/plugins/button/lang/tr.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/tt.js b/sources/plugins/button/lang/tt.js index 79044c6..6324922 100644 --- a/sources/plugins/button/lang/tt.js +++ b/sources/plugins/button/lang/tt.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/ug.js b/sources/plugins/button/lang/ug.js index fe30252..fa3a90c 100644 --- a/sources/plugins/button/lang/ug.js +++ b/sources/plugins/button/lang/ug.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/uk.js b/sources/plugins/button/lang/uk.js index a40cf8f..7b49fe2 100644 --- a/sources/plugins/button/lang/uk.js +++ b/sources/plugins/button/lang/uk.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/vi.js b/sources/plugins/button/lang/vi.js index a3ea973..b6a5911 100644 --- a/sources/plugins/button/lang/vi.js +++ b/sources/plugins/button/lang/vi.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/zh-cn.js b/sources/plugins/button/lang/zh-cn.js index 1271943..fade7d7 100644 --- a/sources/plugins/button/lang/zh-cn.js +++ b/sources/plugins/button/lang/zh-cn.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/lang/zh.js b/sources/plugins/button/lang/zh.js index 5fee74f..7479462 100644 --- a/sources/plugins/button/lang/zh.js +++ b/sources/plugins/button/lang/zh.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
diff --git a/sources/plugins/button/plugin.js b/sources/plugins/button/plugin.js index 0ce75c6..e91fa86 100644 --- a/sources/plugins/button/plugin.js +++ b/sources/plugins/button/plugin.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. | 2 | * @license 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 | 5 | ||
@@ -12,6 +12,7 @@ | |||
12 | ' hidefocus="true"' + | 12 | ' hidefocus="true"' + |
13 | ' role="button"' + | 13 | ' role="button"' + |
14 | ' aria-labelledby="{id}_label"' + | 14 | ' aria-labelledby="{id}_label"' + |
15 | ' aria-describedby="{id}_description"' + | ||
15 | ' aria-haspopup="{hasArrow}"' + | 16 | ' aria-haspopup="{hasArrow}"' + |
16 | ' aria-disabled="{ariaDisabled}"'; | 17 | ' aria-disabled="{ariaDisabled}"'; |
17 | 18 | ||
@@ -28,13 +29,14 @@ | |||
28 | 29 | ||
29 | template += ' onkeydown="return CKEDITOR.tools.callFunction({keydownFn},event);"' + | 30 | template += ' onkeydown="return CKEDITOR.tools.callFunction({keydownFn},event);"' + |
30 | ' onfocus="return CKEDITOR.tools.callFunction({focusFn},event);" ' + | 31 | ' onfocus="return CKEDITOR.tools.callFunction({focusFn},event);" ' + |
31 | ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // #188 | 32 | ( CKEDITOR.env.ie ? 'onclick="return false;" onmouseup' : 'onclick' ) + // http://dev.ckeditor.com/ticket/188 |
32 | '="CKEDITOR.tools.callFunction({clickFn},this);return false;">' + | 33 | '="CKEDITOR.tools.callFunction({clickFn},this);return false;">' + |
33 | '<span class="cke_button_icon cke_button__{iconName}_icon" style="{style}"'; | 34 | '<span class="cke_button_icon cke_button__{iconName}_icon" style="{style}"'; |
34 | 35 | ||
35 | 36 | ||
36 | template += '> </span>' + | 37 | template += '> </span>' + |
37 | '<span id="{id}_label" class="cke_button_label cke_button__{name}_label" aria-hidden="false">{label}</span>' + | 38 | '<span id="{id}_label" class="cke_button_label cke_button__{name}_label" aria-hidden="false">{label}</span>' + |
39 | '<span id="{id}_description" class="cke_button_label" aria-hidden="false">{ariaShortcut}</span>' + | ||
38 | '{arrowHtml}' + | 40 | '{arrowHtml}' + |
39 | '</a>'; | 41 | '</a>'; |
40 | 42 | ||
@@ -47,7 +49,7 @@ | |||
47 | btnTpl = CKEDITOR.addTemplate( 'button', template ); | 49 | btnTpl = CKEDITOR.addTemplate( 'button', template ); |
48 | 50 | ||
49 | CKEDITOR.plugins.add( 'button', { | 51 | CKEDITOR.plugins.add( 'button', { |
50 | lang: 'af,ar,bg,ca,cs,da,de,de-ch,el,en,en-gb,eo,es,eu,fa,fi,fr,gl,he,hu,id,it,ja,km,ko,ku,lt,nb,nl,pl,pt,pt-br,ro,ru,sk,sl,sq,sv,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% | 52 | lang: 'af,ar,az,bg,ca,cs,da,de,de-ch,el,en,en-gb,eo,es,es-mx,eu,fa,fi,fr,gl,he,hr,hu,id,it,ja,km,ko,ku,lt,nb,nl,no,oc,pl,pt,pt-br,ro,ru,sk,sl,sq,sv,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE% |
51 | beforeInit: function( editor ) { | 53 | beforeInit: function( editor ) { |
52 | editor.ui.addHandler( CKEDITOR.UI_BUTTON, CKEDITOR.ui.button.handler ); | 54 | editor.ui.addHandler( CKEDITOR.UI_BUTTON, CKEDITOR.ui.button.handler ); |
53 | } | 55 | } |
@@ -138,7 +140,9 @@ | |||
138 | stateName = '', | 140 | stateName = '', |
139 | command = this.command, | 141 | command = this.command, |
140 | // Get the command name. | 142 | // Get the command name. |
141 | clickFn; | 143 | clickFn, |
144 | keystroke, | ||
145 | shortcut; | ||
142 | 146 | ||
143 | this._.editor = editor; | 147 | this._.editor = editor; |
144 | 148 | ||
@@ -185,7 +189,7 @@ | |||
185 | } | 189 | } |
186 | instance.execute(); | 190 | instance.execute(); |
187 | 191 | ||
188 | // Fixed iOS focus issue when your press disabled button (#12381). | 192 | // Fixed iOS focus issue when your press disabled button (http://dev.ckeditor.com/ticket/12381). |
189 | if ( env.iOS ) { | 193 | if ( env.iOS ) { |
190 | editor.focus(); | 194 | editor.focus(); |
191 | } | 195 | } |
@@ -239,13 +243,20 @@ | |||
239 | }, this ); | 243 | }, this ); |
240 | } | 244 | } |
241 | 245 | ||
242 | if ( !command ) | 246 | if ( !command ) { |
243 | stateName += 'off'; | 247 | stateName += 'off'; |
248 | } else { | ||
249 | keystroke = editor.getCommandKeystroke( command ); | ||
250 | |||
251 | if ( keystroke ) { | ||
252 | shortcut = CKEDITOR.tools.keystrokeToString( editor.lang.common.keyboard, keystroke ); | ||
253 | } | ||
254 | } | ||
244 | 255 | ||
245 | var name = this.name || this.command, | 256 | var name = this.name || this.command, |
246 | iconName = name; | 257 | iconName = name; |
247 | 258 | ||
248 | // Check if we're pointing to an icon defined by another command. (#9555) | 259 | // Check if we're pointing to an icon defined by another command. (http://dev.ckeditor.com/ticket/9555) |
249 | if ( this.icon && !( /\./ ).test( this.icon ) ) { | 260 | if ( this.icon && !( /\./ ).test( this.icon ) ) { |
250 | iconName = this.icon; | 261 | iconName = this.icon; |
251 | this.icon = null; | 262 | this.icon = null; |
@@ -259,7 +270,8 @@ | |||
259 | cls: this.className || '', | 270 | cls: this.className || '', |
260 | state: stateName, | 271 | state: stateName, |
261 | ariaDisabled: stateName == 'disabled' ? 'true' : 'false', | 272 | ariaDisabled: stateName == 'disabled' ? 'true' : 'false', |
262 | title: this.title, | 273 | title: this.title + ( shortcut ? ' (' + shortcut.display + ')' : '' ), |
274 | ariaShortcut: shortcut ? editor.lang.common.keyboardShortcut + ' ' + shortcut.aria : '', | ||
263 | titleJs: env.gecko && !env.hc ? '' : ( this.title || '' ).replace( "'", '' ), | 275 | titleJs: env.gecko && !env.hc ? '' : ( this.title || '' ).replace( "'", '' ), |
264 | hasArrow: this.hasArrow ? 'true' : 'false', | 276 | hasArrow: this.hasArrow ? 'true' : 'false', |
265 | keydownFn: keydownFn, | 277 | keydownFn: keydownFn, |
@@ -299,7 +311,7 @@ | |||
299 | element.removeAttribute( 'aria-disabled' ); | 311 | element.removeAttribute( 'aria-disabled' ); |
300 | 312 | ||
301 | if ( !this.hasArrow ) { | 313 | if ( !this.hasArrow ) { |
302 | // Note: aria-pressed attribute should not be added to menuButton instances. (#11331) | 314 | // Note: aria-pressed attribute should not be added to menuButton instances. (http://dev.ckeditor.com/ticket/11331) |
303 | state == CKEDITOR.TRISTATE_ON ? | 315 | state == CKEDITOR.TRISTATE_ON ? |
304 | element.setAttribute( 'aria-pressed', true ) : | 316 | element.setAttribute( 'aria-pressed', true ) : |
305 | element.removeAttribute( 'aria-pressed' ); | 317 | element.removeAttribute( 'aria-pressed' ); |