first commit

This commit is contained in:
/usr/bin/nano
2017-04-15 01:34:36 +03:00
commit c715e2a604
5325 changed files with 329700 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 B

+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'af', {
alt: 'Bladsy-einde',
toolbar: 'Bladsy-einde invoeg'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ar', {
alt: 'فاصل الصفحة',
toolbar: 'إدخال صفحة جديدة'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'bg', {
alt: 'Разделяне на страници',
toolbar: 'Вмъкване на нова страница при печат'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'bn', {
alt: 'Page Break', // MISSING
toolbar: 'পেজ ব্রেক'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'bs', {
alt: 'Page Break', // MISSING
toolbar: 'Insert Page Break for Printing' // MISSING
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ca', {
alt: 'Salt de pàgina',
toolbar: 'Insereix salt de pàgina'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'cs', {
alt: 'Konec stránky',
toolbar: 'Vložit konec stránky'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'cy', {
alt: 'Toriad Tudalen',
toolbar: 'Mewnosod Toriad Tudalen i Argraffu'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'da', {
alt: 'Sideskift',
toolbar: 'Indsæt sideskift'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'de', {
alt: 'Seitenumbruch einfügen',
toolbar: 'Seitenumbruch einfügen'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'el', {
alt: 'Αλλαγή Σελίδας',
toolbar: 'Εισαγωγή τέλους σελίδας'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'en-au', {
alt: 'Page Break', // MISSING
toolbar: 'Insert Page Break for Printing'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'en-ca', {
alt: 'Page Break', // MISSING
toolbar: 'Insert Page Break for Printing'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'en-gb', {
alt: 'Page Break', // MISSING
toolbar: 'Insert Page Break for Printing'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'en', {
alt: 'Page Break',
toolbar: 'Insert Page Break for Printing'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'eo', {
alt: 'Paĝavanco',
toolbar: 'Enmeti Paĝavancon por Presado'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'es', {
alt: 'Salto de página',
toolbar: 'Insertar Salto de Página'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'et', {
alt: 'Lehevahetuskoht',
toolbar: 'Lehevahetuskoha sisestamine'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'eu', {
alt: 'Orrialde-jauzia',
toolbar: 'Txertatu Orrialde-jauzia Inprimatzean'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'fa', {
alt: 'شکستن صفحه',
toolbar: 'گنجاندن شکستگی پایان برگه'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'fi', {
alt: 'Sivunvaihto',
toolbar: 'Lisää sivunvaihto'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'fo', {
alt: 'Síðuskift',
toolbar: 'Ger síðuskift'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'fr-ca', {
alt: 'Saut de page',
toolbar: 'Insérer un saut de page à l\'impression'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'fr', {
alt: 'Saut de page',
toolbar: 'Saut de page'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'gl', {
alt: 'Quebra de páxina',
toolbar: 'Inserir quebra de páxina'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'gu', {
alt: 'નવું પાનું',
toolbar: 'ઇન્સર્ટ પેજબ્રેક/પાનાને અલગ કરવું/દાખલ કરવું'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'he', {
alt: 'שבירת דף',
toolbar: 'הוספת שבירת דף'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'hi', {
alt: 'पेज ब्रेक',
toolbar: 'पेज ब्रेक इन्सर्ट् करें'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'hr', {
alt: 'Prijelom stranice',
toolbar: 'Ubaci prijelom stranice'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'hu', {
alt: 'Oldaltörés',
toolbar: 'Oldaltörés beillesztése'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'is', {
alt: 'Page Break', // MISSING
toolbar: 'Setja inn síðuskil'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'it', {
alt: 'Interruzione di pagina',
toolbar: 'Inserisci interruzione di pagina per la stampa'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ja', {
alt: '改ページ',
toolbar: '印刷の為に改ページ挿入'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ka', {
alt: 'გვერდის წყვეტა',
toolbar: 'გვერდის წყვეტა ბეჭდვისთვის'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'km', {
alt: 'បំបែក​ទំព័រ',
toolbar: 'បន្ថែម​ការ​បំបែក​ទំព័រ​មុន​បោះពុម្ព'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ko', {
alt: '패이지 나누기',
toolbar: '인쇄시 페이지 나누기 삽입'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ku', {
alt: 'پشووی پەڕە',
toolbar: 'دانانی پشووی پەڕە بۆ چاپکردن'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'lt', {
alt: 'Puslapio skirtukas',
toolbar: 'Įterpti puslapių skirtuką'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'lv', {
alt: 'Lapas pārnesums',
toolbar: 'Ievietot lapas pārtraukumu drukai'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'mk', {
alt: 'Page Break', // MISSING
toolbar: 'Insert Page Break for Printing' // MISSING
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'mn', {
alt: 'Page Break', // MISSING
toolbar: 'Хуудас тусгаарлагч оруулах'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ms', {
alt: 'Page Break', // MISSING
toolbar: 'Insert Page Break for Printing' // MISSING
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'nb', {
alt: 'Sideskift',
toolbar: 'Sett inn sideskift for utskrift'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'nl', {
alt: 'Pagina-einde',
toolbar: 'Pagina-einde invoegen'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'no', {
alt: 'Sideskift',
toolbar: 'Sett inn sideskift for utskrift'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'pl', {
alt: 'Wstaw podział strony',
toolbar: 'Wstaw podział strony'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'pt-br', {
alt: 'Quebra de Página',
toolbar: 'Inserir Quebra de Página'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'pt', {
alt: 'Quebra de página',
toolbar: 'Inserir Quebra de Página'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ro', {
alt: 'Page Break',
toolbar: 'Inserează separator de pagină (Page Break)'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ru', {
alt: 'Разрыв страницы',
toolbar: 'Вставить разрыв страницы для печати'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'si', {
alt: 'පිටු බිදුම',
toolbar: 'මුද්‍රණය සඳහා පිටු බිදුමක් ඇතුලත් කරන්න'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'sk', {
alt: 'Zalomenie strany',
toolbar: 'Vložiť oddeľovač stránky pre tlač'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'sl', {
alt: 'Prelom Strani',
toolbar: 'Vstavi prelom strani'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'sq', {
alt: 'Thyerja e Faqes',
toolbar: 'Vendos Thyerje Faqeje për Shtyp'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'sr-latn', {
alt: 'Page Break', // MISSING
toolbar: 'Insert Page Break for Printing' // MISSING
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'sr', {
alt: 'Page Break', // MISSING
toolbar: 'Insert Page Break for Printing' // MISSING
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'sv', {
alt: 'Sidbrytning',
toolbar: 'Infoga sidbrytning'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'th', {
alt: 'ตัวแบ่งหน้า',
toolbar: 'แทรกตัวแบ่งหน้า Page Break'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'tr', {
alt: 'Sayfa Sonu',
toolbar: 'Sayfa Sonu Ekle'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'ug', {
alt: 'بەت ئايرىغۇچ',
toolbar: 'بەت ئايرىغۇچ قىستۇر'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'uk', {
alt: 'Розрив Сторінки',
toolbar: 'Вставити розрив сторінки'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'vi', {
alt: 'Ngắt trang',
toolbar: 'Chèn ngắt trang'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'zh-cn', {
alt: '分页符',
toolbar: '插入打印分页符'
});
+8
View File
@@ -0,0 +1,8 @@
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pagebreak', 'zh', {
alt: '分頁符號',
toolbar: '插入分頁符號'
});
+143
View File
@@ -0,0 +1,143 @@
/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/**
* @fileOverview Horizontal Page Break
*/
// Register a plugin named "pagebreak".
CKEDITOR.plugins.add( 'pagebreak', {
requires: 'fakeobjects',
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,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: 'pagebreak,pagebreak-rtl', // %REMOVE_LINE_CORE%
hidpi: true, // %REMOVE_LINE_CORE%
onLoad: function() {
var cssStyles = [
'{',
'background: url(' + CKEDITOR.getUrl( this.path + 'images/pagebreak.gif' ) + ') no-repeat center center;',
'clear: both;',
'width:100%; _width:99.9%;',
'border-top: #999999 1px dotted;',
'border-bottom: #999999 1px dotted;',
'padding:0;',
'height: 5px;',
'cursor: default;',
'}'
].join( '' ).replace( /;/g, ' !important;' ); // Increase specificity to override other styles, e.g. block outline.
// Add the style that renders our placeholder.
CKEDITOR.addCss( 'div.cke_pagebreak' + cssStyles );
},
init: function( editor ) {
if ( editor.blockless )
return;
// Register the command.
editor.addCommand( 'pagebreak', CKEDITOR.plugins.pagebreakCmd );
// Register the toolbar button.
editor.ui.addButton && editor.ui.addButton( 'PageBreak', {
label: editor.lang.pagebreak.toolbar,
command: 'pagebreak',
toolbar: 'insert,70'
});
// Opera needs help to select the page-break.
CKEDITOR.env.opera && editor.on( 'contentDom', function() {
editor.document.on( 'click', function( evt ) {
var target = evt.data.getTarget();
if ( target.is( 'div' ) && target.hasClass( 'cke_pagebreak' ) )
editor.getSelection().selectElement( target );
});
});
},
afterInit: function( editor ) {
var label = editor.lang.pagebreak.alt;
// Register a filter to displaying placeholders after mode change.
var dataProcessor = editor.dataProcessor,
dataFilter = dataProcessor && dataProcessor.dataFilter,
htmlFilter = dataProcessor && dataProcessor.htmlFilter;
if ( htmlFilter ) {
htmlFilter.addRules({
attributes: {
'class': function( value, element ) {
var className = value.replace( 'cke_pagebreak', '' );
if ( className != value ) {
var span = CKEDITOR.htmlParser.fragment.fromHtml( '<span style="display: none;">&nbsp;</span>' ).children[ 0 ];
element.children.length = 0;
element.add( span );
var attrs = element.attributes;
delete attrs[ 'aria-label' ];
delete attrs.contenteditable;
delete attrs.title;
}
return className;
}
}
}, 5 );
}
if ( dataFilter ) {
dataFilter.addRules({
elements: {
div: function( element ) {
var attributes = element.attributes,
style = attributes && attributes.style,
child = style && element.children.length == 1 && element.children[ 0 ],
childStyle = child && ( child.name == 'span' ) && child.attributes.style;
if ( childStyle && ( /page-break-after\s*:\s*always/i ).test( style ) && ( /display\s*:\s*none/i ).test( childStyle ) ) {
attributes.contenteditable = "false";
attributes[ 'class' ] = "cke_pagebreak";
attributes[ 'data-cke-display-name' ] = "pagebreak";
attributes[ 'aria-label' ] = label;
attributes[ 'title' ] = label;
element.children.length = 0;
}
}
}
});
}
}
});
// TODO Much probably there's no need to expose this object as public object.
CKEDITOR.plugins.pagebreakCmd = {
exec: function( editor ) {
var label = editor.lang.pagebreak.alt;
// Create read-only element that represents a print break.
var pagebreak = CKEDITOR.dom.element.createFromHtml( '<div style="' +
'page-break-after: always;"' +
'contenteditable="false" ' +
'title="' + label + '" ' +
'aria-label="' + label + '" ' +
'data-cke-display-name="pagebreak" ' +
'class="cke_pagebreak">' +
'</div>', editor.document );
editor.insertElement( pagebreak );
},
context: 'div',
allowedContent: {
div: {
styles: '!page-break-after'
},
span: {
match: function( element ) {
var parent = element.parent;
return parent && parent.name == 'div' && parent.styles[ 'page-break-after' ];
},
styles: 'display'
}
},
requiredContent: 'div{page-break-after}'
};