Actualización
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 921 B |
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'af', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ar', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'bg', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'bn', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'bs', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ca', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'cs', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'cy', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'da', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'de', {
|
||||
toolbarswitch: 'Symbolleiste ändern'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'el', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'en-au', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'en-ca', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'en-gb', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'en', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'eo', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'es', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'et', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'eu', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'fa', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'fi', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'fo', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'fr', {
|
||||
toolbarswitch: 'Toolbar commutateur'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'fr', {
|
||||
toolbarswitch: 'Toolbar commutateur'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'gl', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'gu', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'he', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'hi', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'hr', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'hu', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'id', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'is', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'it', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ja', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ka', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'km', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ko', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ku', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'lt', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'lv', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'mk', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'mn', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ms', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'nb', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'nl', {
|
||||
toolbarswitch: 'Toolbar verwisselen'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'no', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'pl', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'pt-br', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'pt', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ro', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ru', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'si', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'sk', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'sl', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'sq', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'sr-latn', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'sr', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'sv', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'th', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'tr', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'ug', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'uk', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'vi', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'zh-cn', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
@@ -0,0 +1,7 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'toolbarswitch', 'zh', {
|
||||
toolbarswitch: 'Switch toolbar'
|
||||
});
|
||||
102
main/inc/lib/javascript/ckeditor/plugins/toolbarswitch/plugin.js
Normal file
102
main/inc/lib/javascript/ckeditor/plugins/toolbarswitch/plugin.js
Normal file
@@ -0,0 +1,102 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* @fileOverview Plugin that changes the toolbar and maximizes the editor
|
||||
* for the big toolbar.
|
||||
*
|
||||
* You need a custom config to define the small and big toolbars.
|
||||
* Also the maximize plug-in is needed but not the maximize button.
|
||||
* For this plugin you should use the 'Toolbarswitch' button instead.
|
||||
*
|
||||
* CKEDITOR.replace('sometextcomponentname', {
|
||||
* customConfig: '/...custom_ckeditor_config.js'
|
||||
* toolbar: 'yoursmalltoolbarname',
|
||||
* smallToolbar: 'yoursmalltoolbarname',
|
||||
* maximizedToolbar: 'yourbigtoolbarname' });
|
||||
*
|
||||
* Requires:
|
||||
* - Maximize plugin. But not the button that goes with it.
|
||||
* - All toolbars used in the ckeditor instance have to use the 'Toolbarswitch' button instead.
|
||||
* - A custom config to define the small and big toolbars.
|
||||
* - function CKeditor_OnComplete(ckEditorInstance){ ... your own custom code or leave empty... }
|
||||
* This was added to the plugin for those that wrap the ckeditor in other java script to shield
|
||||
* the rest of their code from ckeditor version particularities.
|
||||
* - jQuery
|
||||
*/
|
||||
|
||||
|
||||
function switchMe(editor, callback) {
|
||||
var origToolbar = editor.config.toolbar;
|
||||
var origSmallToolbar = editor.config.smallToolbar;
|
||||
var origMaximizedToolbar = editor.config.maximizedToolbar;
|
||||
var newToolbar = origToolbar == origSmallToolbar ? origMaximizedToolbar : origSmallToolbar;
|
||||
|
||||
var origConfig = editor.config,
|
||||
newConfig = jQuery.extend(true, {}, origConfig);
|
||||
|
||||
newConfig.toolbar = newToolbar;
|
||||
newConfig.on = {
|
||||
instanceReady: function(e) {
|
||||
if (typeof CKeditor_OnComplete !== 'undefined') {
|
||||
CKeditor_OnComplete(e.editor);
|
||||
}
|
||||
if (callback) {
|
||||
callback.call(null, e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// Copy data to original text element before getting rid of the old editor
|
||||
var data = editor.getData();
|
||||
var domTextElement = editor.element.$;
|
||||
jQuery(domTextElement).val(data);
|
||||
|
||||
// Remove old editor and the DOM elements, else you get two editors
|
||||
var id = domTextElement.id;
|
||||
editor.destroy(true);
|
||||
|
||||
CKEDITOR.replace(id, newConfig);
|
||||
}
|
||||
|
||||
CKEDITOR.plugins.add('toolbarswitch', {
|
||||
requires: [ 'button', 'toolbar', 'maximize' ],
|
||||
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,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,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
|
||||
icons: 'toolbarswitch', // %REMOVE_LINE_CORE%
|
||||
hidpi: true, // %REMOVE_LINE_CORE%
|
||||
init: function (editor) {
|
||||
var lang = editor.lang;
|
||||
var commandFunction = {
|
||||
exec: function( editor ) {
|
||||
if ( editor.config.toolbar == editor.config.maximizedToolbar ) {
|
||||
// For switching to the small toolbar first minimize
|
||||
editor.commands.maximize.exec();
|
||||
switchMe(editor, function(e){
|
||||
var newEditor = e.editor;
|
||||
newEditor.fire('triggerResize');
|
||||
});
|
||||
} else {
|
||||
switchMe(editor, function(e){
|
||||
var newEditor = e.editor;
|
||||
newEditor.commands.maximize.exec();
|
||||
newEditor.fire('triggerResize');
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var command = editor.addCommand( 'toolbarswitch', commandFunction );
|
||||
command.modes = { wysiwyg:1,source:1 };
|
||||
command.canUndo = false;
|
||||
command.readOnly = 1;
|
||||
|
||||
editor.ui.addButton && editor.ui.addButton( 'Toolbarswitch', {
|
||||
label: lang.toolbarswitch.toolbarswitch,
|
||||
command: 'toolbarswitch',
|
||||
toolbar: 'tools,10'
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user