mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-06-15 21:30:56 +00:00
first commit
This commit is contained in:
+1211
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 720 B |
Binary file not shown.
|
After Width: | Height: | Size: 723 B |
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'af', {
|
||||
confirmCleanup: 'Die teks wat u wil plak lyk asof dit uit Word gekopiëer is. Wil u dit eers skoonmaak voordat dit geplak word?',
|
||||
error: 'Die geplakte teks kon nie skoongemaak word nie, weens \'n interne fout',
|
||||
title: 'Plak vanuit Word',
|
||||
toolbar: 'Plak vanuit Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ar', {
|
||||
confirmCleanup: 'يبدو أن النص المراد لصقه منسوخ من برنامج وورد. هل تود تنظيفه قبل الشروع في عملية اللصق؟',
|
||||
error: 'لم يتم مسح المعلومات الملصقة لخلل داخلي',
|
||||
title: 'لصق من وورد',
|
||||
toolbar: 'لصق من وورد'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'bg', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Вмъкни от MS Word',
|
||||
toolbar: 'Вмъкни от MS Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'bn', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'পেস্ট (শব্দ)',
|
||||
toolbar: 'পেস্ট (শব্দ)'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'bs', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Zalijepi iz Word-a',
|
||||
toolbar: 'Zalijepi iz Word-a'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ca', {
|
||||
confirmCleanup: 'El text que voleu enganxar sembla provenir de Word. Voleu netejar aquest text abans que sigui enganxat?',
|
||||
error: 'No ha estat possible netejar les dades enganxades degut a un error intern',
|
||||
title: 'Enganxa des del Word',
|
||||
toolbar: 'Enganxa des del Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'cs', {
|
||||
confirmCleanup: 'Jak je vidět, vkládaný text je kopírován z Wordu. Chcete jej před vložením vyčistit?',
|
||||
error: 'Z důvodu vnitřní chyby nebylo možné provést vyčištění vkládaného textu.',
|
||||
title: 'Vložit z Wordu',
|
||||
toolbar: 'Vložit z Wordu'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'cy', {
|
||||
confirmCleanup: 'Mae\'r testun rydych chi am ludo wedi\'i gopïo o Word. Ydych chi am ei lanhau cyn ei ludo?',
|
||||
error: 'Doedd dim modd glanhau y data a ludwyd oherwydd gwall mewnol',
|
||||
title: 'Gludo o Word',
|
||||
toolbar: 'Gludo o Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'da', {
|
||||
confirmCleanup: 'Den tekst du forsøger at indsætte ser ud til at komme fra Word. Vil du rense teksten før den indsættes?',
|
||||
error: 'Det var ikke muligt at fjerne formatteringen på den indsatte tekst grundet en intern fejl',
|
||||
title: 'Indsæt fra Word',
|
||||
toolbar: 'Indsæt fra Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'de', {
|
||||
confirmCleanup: 'Der Text, den Sie einfügen möchten, scheint aus MS-Word kopiert zu sein. Möchten Sie ihn zuvor bereinigen lassen?',
|
||||
error: 'Aufgrund eines internen Fehlers war es nicht möglich die eingefügten Daten zu bereinigen',
|
||||
title: 'Aus MS-Word einfügen',
|
||||
toolbar: 'Aus MS-Word einfügen'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'el', {
|
||||
confirmCleanup: 'Το κείμενο που επικολλάται φαίνεται να είναι αντιγραμμένο από το Word. Μήπως θα θέλατε να καθαριστεί προτού επικολληθεί;',
|
||||
error: 'Δεν ήταν δυνατό να καθαριστούν τα δεδομένα λόγω ενός εσωτερικού σφάλματος',
|
||||
title: 'Επικόλληση από το Word',
|
||||
toolbar: 'Επικόλληση από το Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'en-au', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Paste from Word',
|
||||
toolbar: 'Paste from Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'en-ca', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Paste from Word',
|
||||
toolbar: 'Paste from Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'en-gb', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error',
|
||||
title: 'Paste from Word',
|
||||
toolbar: 'Paste from Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'en', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?',
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error',
|
||||
title: 'Paste from Word',
|
||||
toolbar: 'Paste from Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'eo', {
|
||||
confirmCleanup: 'La teksto, kiun vi volas interglui, ŝajnas esti kopiita el Word. Ĉu vi deziras purigi ĝin antaŭ intergluo?',
|
||||
error: 'Ne eblis purigi la intergluitajn datenojn pro interna eraro',
|
||||
title: 'Interglui el Word',
|
||||
toolbar: 'Interglui el Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'es', {
|
||||
confirmCleanup: 'El texto que desea parece provenir de Word.\r\n¿Desea depurarlo antes de pegarlo?',
|
||||
error: 'No ha sido posible limpiar los datos debido a un error interno',
|
||||
title: 'Pegar desde Word',
|
||||
toolbar: 'Pegar desde Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'et', {
|
||||
confirmCleanup: 'Tekst, mida tahad asetada näib pärinevat Wordist. Kas tahad selle enne asetamist puhastada?',
|
||||
error: 'Asetatud andmete puhastamine ei olnud sisemise vea tõttu võimalik',
|
||||
title: 'Asetamine Wordist',
|
||||
toolbar: 'Asetamine Wordist'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'eu', {
|
||||
confirmCleanup: 'Itsatsi nahi duzun testua Wordetik hartua dela dirudi. Itsatsi baino lehen garbitu nahi duzu?',
|
||||
error: 'Barneko errore bat dela eta ezin izan da testua garbitu',
|
||||
title: 'Itsatsi Word-etik',
|
||||
toolbar: 'Itsatsi Word-etik'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'fa', {
|
||||
confirmCleanup: 'متنی که میخواهید بچسبانید به نظر میرسد که از Word کپی شده است. آیا میخواهید قبل از چسباندن آن را پاکسازی کنید؟',
|
||||
error: 'به دلیل بروز خطای داخلی امکان پاکسازی اطلاعات بازنشانی شده وجود ندارد.',
|
||||
title: 'چسباندن از Word',
|
||||
toolbar: 'چسباندن از Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'fi', {
|
||||
confirmCleanup: 'Liittämäsi teksti näyttäisi olevan Word-dokumentista. Haluatko siivota sen ennen liittämistä? (Suositus: Kyllä)',
|
||||
error: 'Liitetyn tiedon siivoaminen ei onnistunut sisäisen virheen takia',
|
||||
title: 'Liitä Word-dokumentista',
|
||||
toolbar: 'Liitä Word-dokumentista'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'fo', {
|
||||
confirmCleanup: 'Teksturin, tú roynir at seta inn, sýnist at stava frá Word. Skal teksturin reinsast fyrst?',
|
||||
error: 'Tað eydnaðist ikki at reinsa tekstin vegna ein internan feil',
|
||||
title: 'Innrita frá Word',
|
||||
toolbar: 'Innrita frá Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'fr-ca', {
|
||||
confirmCleanup: 'Le texte que vous tentez de coller semble provenir de Word. Désirez vous le nettoyer avant de coller?',
|
||||
error: 'Il n\'a pas été possible de nettoyer les données collées du à une erreur interne',
|
||||
title: 'Coller de Word',
|
||||
toolbar: 'Coller de Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'fr', {
|
||||
confirmCleanup: 'Le texte à coller semble provenir de Word. Désirez-vous le nettoyer avant de coller?',
|
||||
error: 'Il n\'a pas été possible de nettoyer les données collées à la suite d\'une erreur interne.',
|
||||
title: 'Coller depuis Word',
|
||||
toolbar: 'Coller depuis Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'gl', {
|
||||
confirmCleanup: 'O texto que quere pegar semella ser copiado desde o Word. Quere depuralo antes de pegalo?',
|
||||
error: 'Non foi posíbel depurar os datos pegados por mor dun erro interno',
|
||||
title: 'Pegar desde Word',
|
||||
toolbar: 'Pegar desde Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'gu', {
|
||||
confirmCleanup: 'તમે જે ટેક્ષ્ત્ કોપી કરી રહ્યા છો ટે વર્ડ ની છે. કોપી કરતા પેહલા સાફ કરવી છે?',
|
||||
error: 'પેસ્ટ કરેલો ડેટા ઇન્ટરનલ એરર ના લીથે સાફ કરી શકાયો નથી.',
|
||||
title: 'પેસ્ટ (વડૅ ટેક્સ્ટ)',
|
||||
toolbar: 'પેસ્ટ (વડૅ ટેક્સ્ટ)'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'he', {
|
||||
confirmCleanup: 'נראה הטקסט שבכוונתך להדביק מקורו בקובץ וורד. האם ברצונך לנקות אותו טרם ההדבקה?',
|
||||
error: 'לא ניתן היה לנקות את המידע בשל תקלה פנימית.',
|
||||
title: 'הדבקה מ-Word',
|
||||
toolbar: 'הדבקה מ-Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'hi', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'पेस्ट (वर्ड से)',
|
||||
toolbar: 'पेस्ट (वर्ड से)'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'hr', {
|
||||
confirmCleanup: 'Tekst koji želite zalijepiti čini se da je kopiran iz Worda. Želite li prije očistiti tekst?',
|
||||
error: 'Nije moguće očistiti podatke za ljepljenje zbog interne greške',
|
||||
title: 'Zalijepi iz Worda',
|
||||
toolbar: 'Zalijepi iz Worda'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'hu', {
|
||||
confirmCleanup: 'Úgy tűnik a beillesztett szöveget Word-ből másolt át. Meg szeretné tisztítani a szöveget? (ajánlott)',
|
||||
error: 'Egy belső hiba miatt nem sikerült megtisztítani a szöveget',
|
||||
title: 'Beillesztés Word-ből',
|
||||
toolbar: 'Beillesztés Word-ből'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'id', {
|
||||
confirmCleanup: 'Teks yang ingin anda tempel sepertinya di salin dari Word. Apakah anda mau membersihkannya sebelum menempel?',
|
||||
error: 'Tidak mungkin membersihkan data yang ditempel dikerenakan kesalahan internal',
|
||||
title: 'Tempel dari Word',
|
||||
toolbar: 'Tempel dari Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'is', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Líma úr Word',
|
||||
toolbar: 'Líma úr Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'it', {
|
||||
confirmCleanup: 'Il testo da incollare sembra provenire da Word. Desideri pulirlo prima di incollare?',
|
||||
error: 'Non è stato possibile eliminare il testo incollato a causa di un errore interno.',
|
||||
title: 'Incolla da Word',
|
||||
toolbar: 'Incolla da Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ja', {
|
||||
confirmCleanup: '貼り付けを行うテキストは、ワード文章からコピーされようとしています。貼り付ける前にクリーニングを行いますか?',
|
||||
error: '内部エラーにより貼り付けたデータがクリアできませんでした',
|
||||
title: 'ワード文章から貼り付け',
|
||||
toolbar: 'ワード文章から貼り付け'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ka', {
|
||||
confirmCleanup: 'ჩასასმელი ტექსტი ვორდიდან გადმოტანილს გავს - გინდათ მისი წინასწარ გაწმენდა?',
|
||||
error: 'შიდა შეცდომის გამო ვერ მოხერხდა ტექსტის გაწმენდა',
|
||||
title: 'ვორდიდან ჩასმა',
|
||||
toolbar: 'ვორდიდან ჩასმა'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'km', {
|
||||
confirmCleanup: 'អត្ថបទដែលអ្នកចង់បិទភ្ជាប់នេះ ទំនងដូចជាចម្លងមកពី Word។ តើអ្នកចង់សម្អាតវាមុនបិទភ្ជាប់ទេ?',
|
||||
error: 'ដោយសារមានបញ្ហាផ្នែកក្នុងធ្វើឲ្យមិនអាចសម្អាតទិន្នន័យដែលបានបិទភ្ជាប់',
|
||||
title: 'បិទភ្ជាប់ពី Word',
|
||||
toolbar: 'បិទភ្ជាប់ពី Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ko', {
|
||||
confirmCleanup: '붙여 넣기 할 텍스트는 MS Word에서 복사 한 것입니다. 붙여 넣기 전에 MS Word 포멧을 삭제 하시겠습니까?',
|
||||
error: '내부 오류로 붙여 넣은 데이터를 정리 할 수 없습니다.',
|
||||
title: 'MS Word 형식에서 붙여넣기',
|
||||
toolbar: 'MS Word 형식에서 붙여넣기'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ku', {
|
||||
confirmCleanup: 'ئەم دەقەی بەتەمای بیلکێنی پێدەچێت له word هێنرابێت. دەتەوێت پاکی بکەیوه پێش ئەوەی بیلکێنی؟',
|
||||
error: 'هیچ ڕێگەیەك نەبوو لەلکاندنی دەقەکه بەهۆی هەڵەیەکی ناوەخۆیی',
|
||||
title: 'لکاندنی لەلایەن Word',
|
||||
toolbar: 'لکاندنی لەڕێی Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'lt', {
|
||||
confirmCleanup: 'Tekstas, kurį įkeliate yra kopijuojamas iš Word. Ar norite jį išvalyti prieš įkeliant?',
|
||||
error: 'Dėl vidinių sutrikimų, nepavyko išvalyti įkeliamo teksto',
|
||||
title: 'Įdėti iš Word',
|
||||
toolbar: 'Įdėti iš Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'lv', {
|
||||
confirmCleanup: 'Teksts, kuru vēlaties ielīmēt, izskatās ir nokopēts no Word. Vai vēlaties to iztīrīt pirms ielīmēšanas?',
|
||||
error: 'Iekšējas kļūdas dēļ, neizdevās iztīrīt ielīmētos datus.',
|
||||
title: 'Ievietot no Worda',
|
||||
toolbar: 'Ievietot no Worda'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'mk', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Paste from Word', // MISSING
|
||||
toolbar: 'Paste from Word' // MISSING
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'mn', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Word-оос буулгах',
|
||||
toolbar: 'Word-оос буулгах'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ms', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Tampal dari Word',
|
||||
toolbar: 'Tampal dari Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'nb', {
|
||||
confirmCleanup: 'Teksten du limer inn ser ut til å være kopiert fra Word. Vil du renske den før du limer den inn?',
|
||||
error: 'Det var ikke mulig å renske den innlimte teksten på grunn av en intern feil',
|
||||
title: 'Lim inn fra Word',
|
||||
toolbar: 'Lim inn fra Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'nl', {
|
||||
confirmCleanup: 'De tekst die u plakte lijkt gekopieerd te zijn vanuit Word. Wilt u de tekst opschonen voordat deze geplakt wordt?',
|
||||
error: 'Het was niet mogelijk om de geplakte tekst op te schonen door een interne fout',
|
||||
title: 'Plakken als Word-gegevens',
|
||||
toolbar: 'Plakken als Word-gegevens'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'no', {
|
||||
confirmCleanup: 'Teksten du limer inn ser ut til å være kopiert fra Word. Vil du renske den før du limer den inn?',
|
||||
error: 'Det var ikke mulig å renske den innlimte teksten på grunn av en intern feil',
|
||||
title: 'Lim inn fra Word',
|
||||
toolbar: 'Lim inn fra Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'pl', {
|
||||
confirmCleanup: 'Tekst, który chcesz wkleić, prawdopodobnie pochodzi z programu Microsoft Word. Czy chcesz go wyczyścić przed wklejeniem?',
|
||||
error: 'Wyczyszczenie wklejonych danych nie było możliwe z powodu wystąpienia błędu.',
|
||||
title: 'Wklej z programu MS Word',
|
||||
toolbar: 'Wklej z programu MS Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'pt-br', {
|
||||
confirmCleanup: 'O texto que você deseja colar parece ter sido copiado do Word. Você gostaria de remover a formatação antes de colar?',
|
||||
error: 'Não foi possível limpar os dados colados devido a um erro interno',
|
||||
title: 'Colar do Word',
|
||||
toolbar: 'Colar do Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'pt', {
|
||||
confirmCleanup: 'O texto que pretende colar parece ter sido copiado do Word. Deseja limpá-lo antes de colar?',
|
||||
error: 'Não foi possivel limpar a informação colada decido a um erro interno.',
|
||||
title: 'Colar do Word',
|
||||
toolbar: 'Colar do Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ro', {
|
||||
confirmCleanup: 'Textul pe care doriți să-l lipiți este din Word. Doriți curățarea textului înante de a-l adăuga?',
|
||||
error: 'Nu a fost posibilă curățarea datelor adăugate datorită unei erori interne',
|
||||
title: 'Adaugă din Word',
|
||||
toolbar: 'Adaugă din Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ru', {
|
||||
confirmCleanup: 'Текст, который вы желаете вставить, по всей видимости, был скопирован из Word. Следует ли очистить его перед вставкой?',
|
||||
error: 'Невозможно очистить вставленные данные из-за внутренней ошибки',
|
||||
title: 'Вставить из Word',
|
||||
toolbar: 'Вставить из Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'si', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'වචන වලින් අලවන්න',
|
||||
toolbar: 'වචන වලින් අලවන්න'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'sk', {
|
||||
confirmCleanup: 'Vkladaný text vyzerá byť skopírovaný z Wordu. Chcete ho automaticky vyčistiť pred vkladaním?',
|
||||
error: 'Nebolo možné vyčistiť vložené dáta kvôli internej chybe',
|
||||
title: 'Vložiť z Wordu',
|
||||
toolbar: 'Vložiť z Wordu'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'sl', {
|
||||
confirmCleanup: 'Besedilo, ki ga želite prilepiti je kopirano iz Word-a. Ali ga želite očistiti, preden ga prilepite?',
|
||||
error: 'Ni bilo mogoče očistiti prilepljenih podatkov zaradi notranje napake',
|
||||
title: 'Prilepi iz Worda',
|
||||
toolbar: 'Prilepi iz Worda'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'sq', {
|
||||
confirmCleanup: 'Teksti që dëshironi të e hidhni siç duket është kopjuar nga Word-i. Dëshironi të e pastroni para se të e hidhni?',
|
||||
error: 'Nuk ishte e mundur të fshiheshin të dhënat e hedhura për shkak të një gabimi të brendshëm',
|
||||
title: 'Hidhe nga Word-i',
|
||||
toolbar: 'Hidhe nga Word-i'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'sr-latn', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Zalepi iz Worda',
|
||||
toolbar: 'Zalepi iz Worda'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'sr', {
|
||||
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', // MISSING
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: 'Залепи из Worda',
|
||||
toolbar: 'Залепи из Worda'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'sv', {
|
||||
confirmCleanup: 'Texten du vill klistra in verkar vara kopierad från Word. Vill du rensa innan du klistrar?',
|
||||
error: 'Det var inte möjligt att städa upp den inklistrade data på grund av ett internt fel',
|
||||
title: 'Klistra in från Word',
|
||||
toolbar: 'Klistra in från Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'th', {
|
||||
confirmCleanup: 'ข้อความที่คุณต้องการวางลงไปเป็นข้อความที่คัดลอกมาจากโปรแกรมไมโครซอฟท์เวิร์ด คุณต้องการล้างค่าข้อความดังกล่าวก่อนวางลงไปหรือไม่?',
|
||||
error: 'ไม่สามารถล้างข้อมูลที่ต้องการวางได้เนื่องจากเกิดข้อผิดพลาดภายในระบบ',
|
||||
title: 'วางสำเนาจากตัวอักษรเวิร์ด',
|
||||
toolbar: 'วางสำเนาจากตัวอักษรเวิร์ด'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'tr', {
|
||||
confirmCleanup: 'Yapıştırmaya çalıştığınız metin Word\'den kopyalanmıştır. Yapıştırmadan önce silmek istermisiniz?',
|
||||
error: 'Yapıştırmadaki veri bilgisi hata düzelene kadar silinmeyecektir',
|
||||
title: 'Word\'den Yapıştır',
|
||||
toolbar: 'Word\'den Yapıştır'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'ug', {
|
||||
confirmCleanup: 'سىز چاپلىماقچى بولغان مەزمۇن MS Word تىن كەلگەندەك قىلىدۇ، MS Word پىچىمىنى تازىلىۋەتكەندىن كېيىن ئاندىن چاپلامدۇ؟',
|
||||
error: 'ئىچكى خاتالىق سەۋەبىدىن چاپلايدىغان سانلىق مەلۇماتنى تازىلىيالمايدۇ',
|
||||
title: 'MS Word تىن چاپلا',
|
||||
toolbar: 'MS Word تىن چاپلا'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'uk', {
|
||||
confirmCleanup: 'Текст, що Ви намагаєтесь вставити, схожий на скопійований з Word. Бажаєте очистити його форматування перед вставлянням?',
|
||||
error: 'Неможливо очистити форматування через внутрішню помилку.',
|
||||
title: 'Вставити з Word',
|
||||
toolbar: 'Вставити з Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'vi', {
|
||||
confirmCleanup: 'Văn bản bạn muốn dán có kèm định dạng của Word. Bạn có muốn loại bỏ định dạng Word trước khi dán?',
|
||||
error: 'Không thể để làm sạch các dữ liệu dán do một lỗi nội bộ',
|
||||
title: 'Dán với định dạng Word',
|
||||
toolbar: 'Dán với định dạng Word'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'zh-cn', {
|
||||
confirmCleanup: '您要粘贴的内容好像是来自 MS Word,是否要清除 MS Word 格式后再粘贴?',
|
||||
error: '由于内部错误无法清理要粘贴的数据',
|
||||
title: '从 MS Word 粘贴',
|
||||
toolbar: '从 MS Word 粘贴'
|
||||
});
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
CKEDITOR.plugins.setLang( 'pastefromword', 'zh', {
|
||||
confirmCleanup: '您想貼上的文字似乎是自 Word 複製而來,請問您是否要先清除 Word 的格式後再行貼上?',
|
||||
error: 'It was not possible to clean up the pasted data due to an internal error', // MISSING
|
||||
title: '自 Word 貼上',
|
||||
toolbar: '自 Word 貼上'
|
||||
});
|
||||
+145
@@ -0,0 +1,145 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
(function() {
|
||||
CKEDITOR.plugins.add( 'pastefromword', {
|
||||
requires: 'clipboard',
|
||||
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: 'pastefromword,pastefromword-rtl', // %REMOVE_LINE_CORE%
|
||||
hidpi: true, // %REMOVE_LINE_CORE%
|
||||
init: function( editor ) {
|
||||
var commandName = 'pastefromword',
|
||||
// Flag indicate this command is actually been asked instead of a generic pasting.
|
||||
forceFromWord = 0,
|
||||
path = this.path;
|
||||
|
||||
editor.addCommand( commandName, {
|
||||
// Snapshots are done manually by editable.insertXXX methods.
|
||||
canUndo: false,
|
||||
async: true,
|
||||
|
||||
exec: function( editor ) {
|
||||
var cmd = this;
|
||||
|
||||
forceFromWord = 1;
|
||||
// Force html mode for incomming paste events sequence.
|
||||
editor.once( 'beforePaste', forceHtmlMode );
|
||||
|
||||
editor.getClipboardData({ title: editor.lang.pastefromword.title }, function( data ) {
|
||||
// Do not use editor#paste, because it would start from beforePaste event.
|
||||
data && editor.fire( 'paste', { type: 'html', dataValue: data.dataValue } );
|
||||
|
||||
editor.fire( 'afterCommandExec', {
|
||||
name: commandName,
|
||||
command: cmd,
|
||||
returnValue: !!data
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// Register the toolbar button.
|
||||
editor.ui.addButton && editor.ui.addButton( 'PasteFromWord', {
|
||||
label: editor.lang.pastefromword.toolbar,
|
||||
command: commandName,
|
||||
toolbar: 'clipboard,50'
|
||||
});
|
||||
|
||||
editor.on( 'pasteState', function( evt ) {
|
||||
editor.getCommand( commandName ).setState( evt.data );
|
||||
});
|
||||
|
||||
// Features bring by this command beside the normal process:
|
||||
// 1. No more bothering of user about the clean-up.
|
||||
// 2. Perform the clean-up even if content is not from MS-Word.
|
||||
// (e.g. from a MS-Word similar application.)
|
||||
// 3. Listen with high priority (3), so clean up is done before content
|
||||
// type sniffing (priority = 6).
|
||||
editor.on( 'paste', function( evt ) {
|
||||
var data = evt.data,
|
||||
mswordHtml = data.dataValue;
|
||||
|
||||
// MS-WORD format sniffing.
|
||||
if ( mswordHtml && ( forceFromWord || ( /(class=\"?Mso|style=\"[^\"]*\bmso\-|w:WordDocument)/ ).test( mswordHtml ) ) ) {
|
||||
// If filter rules aren't loaded then cancel 'paste' event,
|
||||
// load them and when they'll get loaded fire new paste event
|
||||
// for which data will be filtered in second execution of
|
||||
// this listener.
|
||||
var isLazyLoad = loadFilterRules( editor, path, function() {
|
||||
// Event continuation with the original data.
|
||||
if ( isLazyLoad )
|
||||
editor.fire( 'paste', data );
|
||||
else if ( !editor.config.pasteFromWordPromptCleanup || ( forceFromWord || confirm( editor.lang.pastefromword.confirmCleanup ) ) ) {
|
||||
data.dataValue = CKEDITOR.cleanWord( mswordHtml, editor );
|
||||
}
|
||||
});
|
||||
|
||||
// The cleanup rules are to be loaded, we should just cancel
|
||||
// this event.
|
||||
isLazyLoad && evt.cancel();
|
||||
}
|
||||
}, null, null, 3 );
|
||||
|
||||
function resetFromWord( evt ) {
|
||||
evt && evt.removeListener();
|
||||
editor.removeListener( 'beforePaste', forceHtmlMode );
|
||||
forceFromWord && setTimeout( function() {
|
||||
forceFromWord = 0;
|
||||
}, 0 );
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
function loadFilterRules( editor, path, callback ) {
|
||||
var isLoaded = CKEDITOR.cleanWord;
|
||||
|
||||
if ( isLoaded )
|
||||
callback();
|
||||
else {
|
||||
var filterFilePath = CKEDITOR.getUrl( editor.config.pasteFromWordCleanupFile || ( path + 'filter/default.js' ) );
|
||||
|
||||
// Load with busy indicator.
|
||||
CKEDITOR.scriptLoader.load( filterFilePath, callback, null, true );
|
||||
}
|
||||
|
||||
return !isLoaded;
|
||||
}
|
||||
|
||||
function forceHtmlMode( evt ) {
|
||||
evt.data.type = 'html';
|
||||
}
|
||||
})();
|
||||
|
||||
|
||||
/**
|
||||
* Whether to prompt the user about the clean up of content being pasted from MS Word.
|
||||
*
|
||||
* config.pasteFromWordPromptCleanup = true;
|
||||
*
|
||||
* @since 3.1
|
||||
* @cfg {Boolean} [pasteFromWordPromptCleanup=false]
|
||||
* @member CKEDITOR.config
|
||||
*/
|
||||
|
||||
/**
|
||||
* The file that provides the MS Word cleanup function for pasting operations.
|
||||
*
|
||||
* **Note:** This is a global configuration shared by all editor instances present
|
||||
* in the page.
|
||||
*
|
||||
* // Load from 'pastefromword' plugin 'filter' sub folder (custom.js file) using path relative to CKEditor installation folder.
|
||||
* CKEDITOR.config.pasteFromWordCleanupFile = 'plugins/pastefromword/filter/custom.js';
|
||||
*
|
||||
* // Load from 'pastefromword' plugin 'filter' sub folder (custom.js file) using full path (including CKEditor installation folder).
|
||||
* CKEDITOR.config.pasteFromWordCleanupFile = '/ckeditor/plugins/pastefromword/filter/custom.js';
|
||||
*
|
||||
* // Load custom.js file from 'customFilerts' folder (located in server's root) using full URL.
|
||||
* CKEDITOR.config.pasteFromWordCleanupFile = 'http://my.example.com/customFilerts/custom.js';
|
||||
*
|
||||
* @since 3.1
|
||||
* @cfg {String} [pasteFromWordCleanupFile=<plugin path> + 'filter/default.js']
|
||||
* @member CKEDITOR.config
|
||||
*/
|
||||
Reference in New Issue
Block a user