Replace TinyMCE with Summernote
@ -0,0 +1,104 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'ar-AR': {
|
||||
font: {
|
||||
bold: 'عريض',
|
||||
italic: 'مائل',
|
||||
underline: 'تحته خط',
|
||||
clear: 'مسح التنسيق',
|
||||
height: 'إرتفاع السطر',
|
||||
name: 'الخط',
|
||||
strikethrough: 'فى وسطه خط',
|
||||
size: 'الحجم'
|
||||
},
|
||||
image: {
|
||||
image: 'صورة',
|
||||
insert: 'إضافة صورة',
|
||||
resizeFull: 'الحجم بالكامل',
|
||||
resizeHalf: 'تصغير للنصف',
|
||||
resizeQuarter: 'تصغير للربع',
|
||||
floatLeft: 'تطيير لليسار',
|
||||
floatRight: 'تطيير لليمين',
|
||||
floatNone: 'ثابته',
|
||||
dragImageHere: 'إدرج الصورة هنا',
|
||||
selectFromFiles: 'حدد ملف',
|
||||
url: 'رابط الصورة',
|
||||
remove: 'حذف الصورة'
|
||||
},
|
||||
video: {
|
||||
video: 'فيديو',
|
||||
videoLink: 'رابط الفيديو',
|
||||
insert: 'إدراج الفيديو',
|
||||
url: 'رابط الفيديو',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'رابط رابط',
|
||||
insert: 'إدراج',
|
||||
unlink: 'حذف الرابط',
|
||||
edit: 'تعديل',
|
||||
textToDisplay: 'النص',
|
||||
url: 'مسار الرابط',
|
||||
openInNewWindow: 'فتح في نافذة جديدة'
|
||||
},
|
||||
table: {
|
||||
table: 'جدول'
|
||||
},
|
||||
hr: {
|
||||
insert: 'إدراج خط أفقي'
|
||||
},
|
||||
style: {
|
||||
style: 'تنسيق',
|
||||
p: 'عادي',
|
||||
blockquote: 'إقتباس',
|
||||
pre: 'شفيرة',
|
||||
h1: 'عنوان رئيسي 1',
|
||||
h2: 'عنوان رئيسي 2',
|
||||
h3: 'عنوان رئيسي 3',
|
||||
h4: 'عنوان رئيسي 4',
|
||||
h5: 'عنوان رئيسي 5',
|
||||
h6: 'عنوان رئيسي 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'قائمة مُنقطة',
|
||||
ordered: 'قائمة مُرقمة'
|
||||
},
|
||||
options: {
|
||||
help: 'مساعدة',
|
||||
fullscreen: 'حجم الشاشة بالكامل',
|
||||
codeview: 'شفيرة المصدر'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'فقرة',
|
||||
outdent: 'محاذاة للخارج',
|
||||
indent: 'محاذاة للداخل',
|
||||
left: 'محاذاة لليسار',
|
||||
center: 'توسيط',
|
||||
right: 'محاذاة لليمين',
|
||||
justify: 'ملئ السطر'
|
||||
},
|
||||
color: {
|
||||
recent: 'تم إستخدامه',
|
||||
more: 'المزيد',
|
||||
background: 'لون الخلفية',
|
||||
foreground: 'لون النص',
|
||||
transparent: 'شفاف',
|
||||
setTransparent: 'بدون خلفية',
|
||||
reset: 'إعادة الضبط',
|
||||
resetToDefault: 'إعادة الضبط'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'إختصارات',
|
||||
close: 'غلق',
|
||||
textFormatting: 'تنسيق النص',
|
||||
action: 'Action',
|
||||
paragraphFormatting: 'تنسيق الفقرة',
|
||||
documentStyle: 'تنسيق المستند'
|
||||
},
|
||||
history: {
|
||||
undo: 'تراجع',
|
||||
redo: 'إعادة'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,147 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'ca-ES': {
|
||||
font: {
|
||||
bold: 'Negreta',
|
||||
italic: 'Cursiva',
|
||||
underline: 'Subratllat',
|
||||
clear: 'Treure estil de lletra',
|
||||
height: 'Alçada de línia',
|
||||
name: 'Font',
|
||||
strikethrough: 'Ratllat',
|
||||
subscript: 'Subíndex',
|
||||
superscript: 'Superíndex',
|
||||
size: 'Mida de lletra'
|
||||
},
|
||||
image: {
|
||||
image: 'Imatge',
|
||||
insert: 'Inserir imatge',
|
||||
resizeFull: 'Redimensionar a mida completa',
|
||||
resizeHalf: 'Redimensionar a la meitat',
|
||||
resizeQuarter: 'Redimensionar a un quart',
|
||||
floatLeft: 'Alinear a l\'esquerra',
|
||||
floatRight: 'Alinear a la dreta',
|
||||
floatNone: 'No alinear',
|
||||
shapeRounded: 'Forma: Arrodonit',
|
||||
shapeCircle: 'Forma: Cercle',
|
||||
shapeThumbnail: 'Forma: Marc',
|
||||
shapeNone: 'Forma: Cap',
|
||||
dragImageHere: 'Arrossegueu una imatge o text aquí',
|
||||
dropImage: 'Deixa anar aquí una imatge o un text',
|
||||
selectFromFiles: 'Seleccioneu des dels arxius',
|
||||
maximumFileSize: 'Mida màxima de l\'arxiu',
|
||||
maximumFileSizeError: 'La mida màxima de l\'arxiu s\'ha superat.',
|
||||
url: 'URL de la imatge',
|
||||
remove: 'Eliminar imatge'
|
||||
},
|
||||
video: {
|
||||
video: 'Vídeo',
|
||||
videoLink: 'Enllaç del vídeo',
|
||||
insert: 'Inserir vídeo',
|
||||
url: 'URL del vídeo?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Enllaç',
|
||||
insert: 'Inserir enllaç',
|
||||
unlink: 'Treure enllaç',
|
||||
edit: 'Editar',
|
||||
textToDisplay: 'Text per mostrar',
|
||||
url: 'Cap a quina URL porta l\'enllaç?',
|
||||
openInNewWindow: 'Obrir en una finestra nova'
|
||||
},
|
||||
table: {
|
||||
table: 'Taula'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Inserir línia horitzontal'
|
||||
},
|
||||
style: {
|
||||
style: 'Estil',
|
||||
p: 'p',
|
||||
blockquote: 'Cita',
|
||||
pre: 'Codi',
|
||||
h1: 'Títol 1',
|
||||
h2: 'Títol 2',
|
||||
h3: 'Títol 3',
|
||||
h4: 'Títol 4',
|
||||
h5: 'Títol 5',
|
||||
h6: 'Títol 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Llista desendreçada',
|
||||
ordered: 'Llista endreçada'
|
||||
},
|
||||
options: {
|
||||
help: 'Ajut',
|
||||
fullscreen: 'Pantalla sencera',
|
||||
codeview: 'Veure codi font'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paràgraf',
|
||||
outdent: 'Menys tabulació',
|
||||
indent: 'Més tabulació',
|
||||
left: 'Alinear a l\'esquerra',
|
||||
center: 'Alinear al mig',
|
||||
right: 'Alinear a la dreta',
|
||||
justify: 'Justificar'
|
||||
},
|
||||
color: {
|
||||
recent: 'Últim color',
|
||||
more: 'Més colors',
|
||||
background: 'Color de fons',
|
||||
foreground: 'Color de lletra',
|
||||
transparent: 'Transparent',
|
||||
setTransparent: 'Establir transparent',
|
||||
reset: 'Restablir',
|
||||
resetToDefault: 'Restablir per defecte'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Dreceres de teclat',
|
||||
close: 'Tancar',
|
||||
textFormatting: 'Format de text',
|
||||
action: 'Acció',
|
||||
paragraphFormatting: 'Format de paràgraf',
|
||||
documentStyle: 'Estil del document',
|
||||
extraKeys: 'Tecles adicionals'
|
||||
},
|
||||
help : {
|
||||
'insertParagraph': 'Inserir paràgraf',
|
||||
'undo': 'Desfer l\'última acció',
|
||||
'redo': 'Refer l\'última acció',
|
||||
'tab': 'Tabular',
|
||||
'untab': 'Eliminar tabulació',
|
||||
'bold': 'Establir estil negreta',
|
||||
'italic': 'Establir estil cursiva',
|
||||
'underline': 'Establir estil subratllat',
|
||||
'strikethrough': 'Establir estil ratllat',
|
||||
'removeFormat': 'Netejar estil',
|
||||
'justifyLeft': 'Alinear a l\'esquerra',
|
||||
'justifyCenter': 'Alinear al centre',
|
||||
'justifyRight': 'Alinear a la dreta',
|
||||
'justifyFull': 'Justificar',
|
||||
'insertUnorderedList': 'Inserir llista desendreçada',
|
||||
'insertOrderedList': 'Inserir llista endreçada',
|
||||
'outdent': 'Reduïr tabulació del paràgraf',
|
||||
'indent': 'Augmentar tabulació del paràgraf',
|
||||
'formatPara': 'Canviar l\'estil del bloc com a un paràgraf (etiqueta P)',
|
||||
'formatH1': 'Canviar l\'estil del bloc com a un H1',
|
||||
'formatH2': 'Canviar l\'estil del bloc com a un H2',
|
||||
'formatH3': 'Canviar l\'estil del bloc com a un H3',
|
||||
'formatH4': 'Canviar l\'estil del bloc com a un H4',
|
||||
'formatH5': 'Canviar l\'estil del bloc com a un H5',
|
||||
'formatH6': 'Canviar l\'estil del bloc com a un H6',
|
||||
'insertHorizontalRule': 'Inserir una línia horitzontal',
|
||||
'linkDialog.show': 'Mostrar panel d\'enllaços'
|
||||
},
|
||||
history: {
|
||||
undo: 'Desfer',
|
||||
redo: 'Refer'
|
||||
},
|
||||
specialChar: {
|
||||
specialChar: 'CARÀCTERS ESPECIALS',
|
||||
select: 'Selecciona caràcters especials'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,103 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'cs-CZ': {
|
||||
font: {
|
||||
bold: 'Tučné',
|
||||
italic: 'Kurzíva',
|
||||
underline: 'Podtržené',
|
||||
clear: 'Odstranit styl písma',
|
||||
height: 'Výška řádku',
|
||||
strikethrough: 'Přeškrtnuté',
|
||||
size: 'Velikost písma'
|
||||
},
|
||||
image: {
|
||||
image: 'Obrázek',
|
||||
insert: 'Vložit obrázek',
|
||||
resizeFull: 'Původní velikost',
|
||||
resizeHalf: 'Poloviční velikost',
|
||||
resizeQuarter: 'Čtvrteční velikost',
|
||||
floatLeft: 'Umístit doleva',
|
||||
floatRight: 'Umístit doprava',
|
||||
floatNone: 'Neobtékat textem',
|
||||
dragImageHere: 'Přetáhnout sem obrázek',
|
||||
selectFromFiles: 'Vybrat soubor',
|
||||
url: 'URL obrázku'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Odkaz videa',
|
||||
insert: 'Vložit video',
|
||||
url: 'URL videa?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion nebo Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Odkaz',
|
||||
insert: 'Vytvořit odkaz',
|
||||
unlink: 'Zrušit odkaz',
|
||||
edit: 'Upravit',
|
||||
textToDisplay: 'Zobrazovaný text',
|
||||
url: 'Na jaké URL má tento odkaz vést?',
|
||||
openInNewWindow: 'Otevřít v novém okně'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabulka'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Vložit vodorovnou čáru'
|
||||
},
|
||||
style: {
|
||||
style: 'Styl',
|
||||
p: 'Normální',
|
||||
blockquote: 'Citace',
|
||||
pre: 'Kód',
|
||||
h1: 'Nadpis 1',
|
||||
h2: 'Nadpis 2',
|
||||
h3: 'Nadpis 3',
|
||||
h4: 'Nadpis 4',
|
||||
h5: 'Nadpis 5',
|
||||
h6: 'Nadpis 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Odrážkový seznam',
|
||||
ordered: 'Číselný seznam'
|
||||
},
|
||||
options: {
|
||||
help: 'Nápověda',
|
||||
fullscreen: 'Celá obrazovka',
|
||||
codeview: 'HTML kód'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Odstavec',
|
||||
outdent: 'Zvětšit odsazení',
|
||||
indent: 'Zmenšit odsazení',
|
||||
left: 'Zarovnat doleva',
|
||||
center: 'Zarovnat na střed',
|
||||
right: 'Zarovnat doprava',
|
||||
justify: 'Zarovnat oboustranně'
|
||||
},
|
||||
color: {
|
||||
recent: 'Aktuální barva',
|
||||
more: 'Další barvy',
|
||||
background: 'Barva pozadí',
|
||||
foreground: 'Barva písma',
|
||||
transparent: 'Průhlednost',
|
||||
setTransparent: 'Nastavit průhlednost',
|
||||
reset: 'Obnovit',
|
||||
resetToDefault: 'Obnovit výchozí'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Klávesové zkratky',
|
||||
close: 'Zavřít',
|
||||
textFormatting: 'Formátování textu',
|
||||
action: 'Akce',
|
||||
paragraphFormatting: 'Formátování odstavce',
|
||||
documentStyle: 'Styl dokumentu'
|
||||
},
|
||||
history: {
|
||||
undo: 'Krok vzad',
|
||||
redo: 'Krok vpřed'
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,114 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'da-DK': {
|
||||
font: {
|
||||
bold: 'Fed',
|
||||
italic: 'Kursiv',
|
||||
underline: 'Understreget',
|
||||
clear: 'Fjern formatering',
|
||||
height: 'Højde',
|
||||
name: 'Skrifttype',
|
||||
strikethrough: 'Gennemstreget',
|
||||
subscript: 'Sænket skrift',
|
||||
superscript: 'Hævet skrift',
|
||||
size: 'Skriftstørrelse'
|
||||
},
|
||||
image: {
|
||||
image: 'Billede',
|
||||
insert: 'Indsæt billede',
|
||||
resizeFull: 'Original størrelse',
|
||||
resizeHalf: 'Halv størrelse',
|
||||
resizeQuarter: 'Kvart størrelse',
|
||||
floatLeft: 'Venstrestillet',
|
||||
floatRight: 'Højrestillet',
|
||||
floatNone: 'Fjern formatering',
|
||||
shapeRounded: 'Form: Runde kanter',
|
||||
shapeCircle: 'Form: Cirkel',
|
||||
shapeThumbnail: 'Form: Miniature',
|
||||
shapeNone: 'Form: Ingen',
|
||||
dragImageHere: 'Træk billede hertil',
|
||||
dropImage: 'Slip billede',
|
||||
selectFromFiles: 'Vælg billed-fil',
|
||||
maximumFileSize: 'Maks fil størrelse',
|
||||
maximumFileSizeError: 'Filen er større end maks tilladte fil størrelse!',
|
||||
url: 'Billede URL',
|
||||
remove: 'Fjern billede'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Video Link',
|
||||
insert: 'Indsæt Video',
|
||||
url: 'Video URL?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Link',
|
||||
insert: 'Indsæt link',
|
||||
unlink: 'Fjern link',
|
||||
edit: 'Rediger',
|
||||
textToDisplay: 'Visningstekst',
|
||||
url: 'Hvor skal linket pege hen?',
|
||||
openInNewWindow: 'Åbn i nyt vindue'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabel'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Indsæt horisontal linje'
|
||||
},
|
||||
style: {
|
||||
style: 'Stil',
|
||||
p: 'p',
|
||||
blockquote: 'Citat',
|
||||
pre: 'Kode',
|
||||
h1: 'Overskrift 1',
|
||||
h2: 'Overskrift 2',
|
||||
h3: 'Overskrift 3',
|
||||
h4: 'Overskrift 4',
|
||||
h5: 'Overskrift 5',
|
||||
h6: 'Overskrift 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Punktopstillet liste',
|
||||
ordered: 'Nummereret liste'
|
||||
},
|
||||
options: {
|
||||
help: 'Hjælp',
|
||||
fullscreen: 'Fuld skærm',
|
||||
codeview: 'HTML-Visning'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Afsnit',
|
||||
outdent: 'Formindsk indryk',
|
||||
indent: 'Forøg indryk',
|
||||
left: 'Venstrestillet',
|
||||
center: 'Centreret',
|
||||
right: 'Højrestillet',
|
||||
justify: 'Blokjuster'
|
||||
},
|
||||
color: {
|
||||
recent: 'Nyligt valgt farve',
|
||||
more: 'Flere farver',
|
||||
background: 'Baggrund',
|
||||
foreground: 'Forgrund',
|
||||
transparent: 'Transparent',
|
||||
setTransparent: 'Sæt transparent',
|
||||
reset: 'Nulstil',
|
||||
resetToDefault: 'Gendan standardindstillinger'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Genveje',
|
||||
close: 'Luk',
|
||||
textFormatting: 'Tekstformatering',
|
||||
action: 'Handling',
|
||||
paragraphFormatting: 'Afsnitsformatering',
|
||||
documentStyle: 'Dokumentstil'
|
||||
},
|
||||
history: {
|
||||
undo: 'Fortryd',
|
||||
redo: 'Annuller fortryd'
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,110 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'de-DE': {
|
||||
font: {
|
||||
bold: 'Fett',
|
||||
italic: 'Kursiv',
|
||||
underline: 'Unterstreichen',
|
||||
clear: 'Zurücksetzen',
|
||||
height: 'Zeilenhöhe',
|
||||
strikethrough: 'Durchgestrichen',
|
||||
size: 'Schriftgröße'
|
||||
},
|
||||
image: {
|
||||
image: 'Grafik',
|
||||
insert: 'Grafik einfügen',
|
||||
resizeFull: 'Originalgröße',
|
||||
resizeHalf: 'Größe 1/2',
|
||||
resizeQuarter: 'Größe 1/4',
|
||||
floatLeft: 'Linksbündig',
|
||||
floatRight: 'Rechtsbündig',
|
||||
floatNone: 'Kein Textfluss',
|
||||
shapeRounded: 'Rahmen: Abgerundet',
|
||||
shapeCircle: 'Rahmen: Kreisförmig',
|
||||
shapeThumbnail: 'Rahmen: Thumbnail',
|
||||
shapeNone: 'Kein Rahmen',
|
||||
dragImageHere: 'Ziehen Sie ein Bild mit der Maus hierher',
|
||||
selectFromFiles: 'Wählen Sie eine Datei aus',
|
||||
maximumFileSize: 'Maximale Dateigröße',
|
||||
maximumFileSizeError: 'Maximale Dateigröße überschritten',
|
||||
url: 'Grafik URL',
|
||||
remove: 'Grafik entfernen'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Video Link',
|
||||
insert: 'Video einfügen',
|
||||
url: 'Video URL?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion oder Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Link',
|
||||
insert: 'Link einfügen',
|
||||
unlink: 'Link entfernen',
|
||||
edit: 'Editieren',
|
||||
textToDisplay: 'Anzeigetext',
|
||||
url: 'Ziel des Links?',
|
||||
openInNewWindow: 'In einem neuen Fenster öffnen'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabelle'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Eine horizontale Linie einfügen'
|
||||
},
|
||||
style: {
|
||||
style: 'Stil',
|
||||
p: 'p',
|
||||
blockquote: 'Zitat',
|
||||
pre: 'Quellcode',
|
||||
h1: 'Überschrift 1',
|
||||
h2: 'Überschrift 2',
|
||||
h3: 'Überschrift 3',
|
||||
h4: 'Überschrift 4',
|
||||
h5: 'Überschrift 5',
|
||||
h6: 'Überschrift 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Aufzählung',
|
||||
ordered: 'Nummerierung'
|
||||
},
|
||||
options: {
|
||||
help: 'Hilfe',
|
||||
fullscreen: 'Vollbild',
|
||||
codeview: 'HTML-Code anzeigen'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Absatz',
|
||||
outdent: 'Einzug vergrößern',
|
||||
indent: 'Einzug verkleinern',
|
||||
left: 'Links ausrichten',
|
||||
center: 'Zentriert ausrichten',
|
||||
right: 'Rechts ausrichten',
|
||||
justify: 'Blocksatz'
|
||||
},
|
||||
color: {
|
||||
recent: 'Letzte Farbe',
|
||||
more: 'Mehr Farben',
|
||||
background: 'Hintergrundfarbe',
|
||||
foreground: 'Schriftfarbe',
|
||||
transparent: 'Transparenz',
|
||||
setTransparent: 'Transparenz setzen',
|
||||
reset: 'Zurücksetzen',
|
||||
resetToDefault: 'Auf Standard zurücksetzen'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Tastenkürzel',
|
||||
close: 'Schließen',
|
||||
textFormatting: 'Textformatierung',
|
||||
action: 'Aktion',
|
||||
paragraphFormatting: 'Absatzformatierung',
|
||||
documentStyle: 'Dokumentenstil'
|
||||
},
|
||||
history: {
|
||||
undo: 'Rückgängig',
|
||||
redo: 'Wiederholen'
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,147 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'es-ES': {
|
||||
font: {
|
||||
bold: 'Negrita',
|
||||
italic: 'Cursiva',
|
||||
underline: 'Subrayado',
|
||||
clear: 'Quitar estilo de fuente',
|
||||
height: 'Altura de línea',
|
||||
name: 'Fuente',
|
||||
strikethrough: 'Tachado',
|
||||
superscript: 'Superíndice',
|
||||
subscript: 'Subíndice',
|
||||
size: 'Tamaño de la fuente'
|
||||
},
|
||||
image: {
|
||||
image: 'Imagen',
|
||||
insert: 'Insertar imagen',
|
||||
resizeFull: 'Redimensionar a tamaño completo',
|
||||
resizeHalf: 'Redimensionar a la mitad',
|
||||
resizeQuarter: 'Redimensionar a un cuarto',
|
||||
floatLeft: 'Flotar a la izquierda',
|
||||
floatRight: 'Flotar a la derecha',
|
||||
floatNone: 'No flotar',
|
||||
shapeRounded: 'Forma: Redondeado',
|
||||
shapeCircle: 'Forma: Círculo',
|
||||
shapeThumbnail: 'Forma: Marco',
|
||||
shapeNone: 'Forma: Ninguna',
|
||||
dragImageHere: 'Arrastrar una imagen o texto aquí',
|
||||
dropImage: 'Suelta la imagen o texto',
|
||||
selectFromFiles: 'Seleccionar desde los archivos',
|
||||
maximumFileSize: 'Tamaño máximo del archivo',
|
||||
maximumFileSizeError: 'Has superado el tamaño máximo del archivo.',
|
||||
url: 'URL de la imagen',
|
||||
remove: 'Eliminar imagen'
|
||||
},
|
||||
video: {
|
||||
video: 'Vídeo',
|
||||
videoLink: 'Link del vídeo',
|
||||
insert: 'Insertar vídeo',
|
||||
url: '¿URL del vídeo?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Link',
|
||||
insert: 'Insertar link',
|
||||
unlink: 'Quitar link',
|
||||
edit: 'Editar',
|
||||
textToDisplay: 'Texto para mostrar',
|
||||
url: '¿Hacia que URL lleva el link?',
|
||||
openInNewWindow: 'Abrir en una nueva ventana'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabla'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Insertar línea horizontal'
|
||||
},
|
||||
style: {
|
||||
style: 'Estilo',
|
||||
p: 'p',
|
||||
blockquote: 'Cita',
|
||||
pre: 'Código',
|
||||
h1: 'Título 1',
|
||||
h2: 'Título 2',
|
||||
h3: 'Título 3',
|
||||
h4: 'Título 4',
|
||||
h5: 'Título 5',
|
||||
h6: 'Título 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Lista desordenada',
|
||||
ordered: 'Lista ordenada'
|
||||
},
|
||||
options: {
|
||||
help: 'Ayuda',
|
||||
fullscreen: 'Pantalla completa',
|
||||
codeview: 'Ver código fuente'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Párrafo',
|
||||
outdent: 'Menos tabulación',
|
||||
indent: 'Más tabulación',
|
||||
left: 'Alinear a la izquierda',
|
||||
center: 'Alinear al centro',
|
||||
right: 'Alinear a la derecha',
|
||||
justify: 'Justificar'
|
||||
},
|
||||
color: {
|
||||
recent: 'Último color',
|
||||
more: 'Más colores',
|
||||
background: 'Color de fondo',
|
||||
foreground: 'Color de fuente',
|
||||
transparent: 'Transparente',
|
||||
setTransparent: 'Establecer transparente',
|
||||
reset: 'Restaurar',
|
||||
resetToDefault: 'Restaurar por defecto'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Atajos de teclado',
|
||||
close: 'Cerrar',
|
||||
textFormatting: 'Formato de texto',
|
||||
action: 'Acción',
|
||||
paragraphFormatting: 'Formato de párrafo',
|
||||
documentStyle: 'Estilo de documento',
|
||||
extraKeys: 'Teclas adicionales'
|
||||
},
|
||||
help : {
|
||||
'insertParagraph': 'Insertar párrafo',
|
||||
'undo': 'Deshacer última acción',
|
||||
'redo': 'Rehacer última acción',
|
||||
'tab': 'Tabular',
|
||||
'untab': 'Eliminar tabulación',
|
||||
'bold': 'Establecer estilo negrita',
|
||||
'italic': 'Establecer estilo cursiva',
|
||||
'underline': 'Establecer estilo subrayado',
|
||||
'strikethrough': 'Establecer estilo tachado',
|
||||
'removeFormat': 'Limpiar estilo',
|
||||
'justifyLeft': 'Alinear a la izquierda',
|
||||
'justifyCenter': 'Alinear al centro',
|
||||
'justifyRight': 'Alinear a la derecha',
|
||||
'justifyFull': 'Justificar',
|
||||
'insertUnorderedList': 'Insertar lista desordenada',
|
||||
'insertOrderedList': 'Insertar lista ordenada',
|
||||
'outdent': 'Reducir tabulación del párrafo',
|
||||
'indent': 'Aumentar tabulación del párrafo',
|
||||
'formatPara': 'Cambiar estilo del bloque a párrafo (etiqueta P)',
|
||||
'formatH1': 'Cambiar estilo del bloque a H1',
|
||||
'formatH2': 'Cambiar estilo del bloque a H2',
|
||||
'formatH3': 'Cambiar estilo del bloque a H3',
|
||||
'formatH4': 'Cambiar estilo del bloque a H4',
|
||||
'formatH5': 'Cambiar estilo del bloque a H5',
|
||||
'formatH6': 'Cambiar estilo del bloque a H6',
|
||||
'insertHorizontalRule': 'Insertar línea horizontal',
|
||||
'linkDialog.show': 'Mostrar panel enlaces'
|
||||
},
|
||||
history: {
|
||||
undo: 'Deshacer',
|
||||
redo: 'Rehacer'
|
||||
},
|
||||
specialChar: {
|
||||
specialChar: 'CARACTERES ESPECIALES',
|
||||
select: 'Selecciona Caracteres especiales'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,103 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'es-EU': {
|
||||
font: {
|
||||
bold: 'Lodia',
|
||||
italic: 'Etzana',
|
||||
underline: 'Azpimarratua',
|
||||
clear: 'Estiloa kendu',
|
||||
height: 'Lerro altuera',
|
||||
name: 'Tipografia',
|
||||
strikethrough: 'Marratua',
|
||||
size: 'Letren neurria'
|
||||
},
|
||||
image: {
|
||||
image: 'Irudia',
|
||||
insert: 'Irudi bat txertatu',
|
||||
resizeFull: 'Jatorrizko neurrira aldatu',
|
||||
resizeHalf: 'Neurria erdira aldatu',
|
||||
resizeQuarter: 'Neurria laurdenera aldatu',
|
||||
floatLeft: 'Ezkerrean kokatu',
|
||||
floatRight: 'Eskuinean kokatu',
|
||||
floatNone: 'Kokapenik ez ezarri',
|
||||
dragImageHere: 'Irudi bat ezarri hemen',
|
||||
selectFromFiles: 'Zure fitxategi bat aukeratu',
|
||||
url: 'Irudiaren URL helbidea'
|
||||
},
|
||||
video: {
|
||||
video: 'Bideoa',
|
||||
videoLink: 'Bideorako esteka',
|
||||
insert: 'Bideo berri bat txertatu',
|
||||
url: 'Bideoaren URL helbidea',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram edo DailyMotion)'
|
||||
},
|
||||
link: {
|
||||
link: 'Esteka',
|
||||
insert: 'Esteka bat txertatu',
|
||||
unlink: 'Esteka ezabatu',
|
||||
edit: 'Editatu',
|
||||
textToDisplay: 'Estekaren testua',
|
||||
url: 'Estekaren URL helbidea',
|
||||
openInNewWindow: 'Leiho berri batean ireki'
|
||||
},
|
||||
table: {
|
||||
table: 'Taula' //Tabla
|
||||
},
|
||||
hr: {
|
||||
insert: 'Marra horizontala txertatu' //Insertar línea horizontal
|
||||
},
|
||||
style: {
|
||||
style: 'Estiloa',
|
||||
p: 'p',
|
||||
blockquote: 'Aipamena',
|
||||
pre: 'Kodea',
|
||||
h1: '1. izenburua',
|
||||
h2: '2. izenburua',
|
||||
h3: '3. izenburua',
|
||||
h4: '4. izenburua',
|
||||
h5: '5. izenburua',
|
||||
h6: '6. izenburua'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Ordenatu gabeko zerrenda',
|
||||
ordered: 'Zerrenda ordenatua'
|
||||
},
|
||||
options: {
|
||||
help: 'Laguntza',
|
||||
fullscreen: 'Pantaila osoa',
|
||||
codeview: 'Kodea ikusi'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paragrafoa',
|
||||
outdent: 'Koska txikiagoa',
|
||||
indent: 'Koska handiagoa',
|
||||
left: 'Ezkerrean kokatu',
|
||||
center: 'Erdian kokatu',
|
||||
right: 'Eskuinean kokatu',
|
||||
justify: 'Justifikatu'
|
||||
},
|
||||
color: {
|
||||
recent: 'Azken kolorea',
|
||||
more: 'Kolore gehiago',
|
||||
background: 'Atzeko planoa',
|
||||
foreground: 'Aurreko planoa',
|
||||
transparent: 'Gardena',
|
||||
setTransparent: 'Gardendu',
|
||||
reset: 'Lehengoratu',
|
||||
resetToDefault: 'Berrezarri lehenetsia'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Lasterbideak',
|
||||
close: 'Itxi',
|
||||
textFormatting: 'Testuaren formatua',
|
||||
action: 'Ekintza',
|
||||
paragraphFormatting: 'Paragrafoaren formatua',
|
||||
documentStyle: 'Dokumentuaren estiloa'
|
||||
},
|
||||
history: {
|
||||
undo: 'Desegin',
|
||||
redo: 'Berregin'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,104 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'fi-FI': {
|
||||
font: {
|
||||
bold: 'Lihavoitu',
|
||||
italic: 'Kursiivi',
|
||||
underline: 'Alleviivaa',
|
||||
clear: 'Tyhjennä muotoilu',
|
||||
height: 'Riviväli',
|
||||
name: 'Kirjasintyyppi',
|
||||
strikethrough: 'Yliviivaus',
|
||||
size: 'Kirjasinkoko'
|
||||
},
|
||||
image: {
|
||||
image: 'Kuva',
|
||||
insert: 'Lisää kuva',
|
||||
resizeFull: 'Koko leveys',
|
||||
resizeHalf: 'Puolikas leveys',
|
||||
resizeQuarter: 'Neljäsosa leveys',
|
||||
floatLeft: 'Sijoita vasemmalle',
|
||||
floatRight: 'Sijoita oikealle',
|
||||
floatNone: 'Ei sijoitusta',
|
||||
dragImageHere: 'Vedä kuva tähän',
|
||||
selectFromFiles: 'Valitse tiedostoista',
|
||||
url: 'URL-osoitteen mukaan',
|
||||
remove: 'Poista kuva'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Linkki videoon',
|
||||
insert: 'Lisää video',
|
||||
url: 'Videon URL-osoite?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion tai Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Linkki',
|
||||
insert: 'Lisää linkki',
|
||||
unlink: 'Poista linkki',
|
||||
edit: 'Muokkaa',
|
||||
textToDisplay: 'Näytettävä teksti',
|
||||
url: 'Linkin URL-osoite?',
|
||||
openInNewWindow: 'Avaa uudessa ikkunassa'
|
||||
},
|
||||
table: {
|
||||
table: 'Taulukko'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Lisää vaakaviiva'
|
||||
},
|
||||
style: {
|
||||
style: 'Tyyli',
|
||||
p: 'Normaali',
|
||||
blockquote: 'Lainaus',
|
||||
pre: 'Koodi',
|
||||
h1: 'Otsikko 1',
|
||||
h2: 'Otsikko 2',
|
||||
h3: 'Otsikko 3',
|
||||
h4: 'Otsikko 4',
|
||||
h5: 'Otsikko 5',
|
||||
h6: 'Otsikko 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Luettelomerkitty luettelo',
|
||||
ordered: 'Numeroitu luettelo'
|
||||
},
|
||||
options: {
|
||||
help: 'Ohje',
|
||||
fullscreen: 'Koko näyttö',
|
||||
codeview: 'HTML-näkymä'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Kappale',
|
||||
outdent: 'Pienennä sisennystä',
|
||||
indent: 'Suurenna sisennystä',
|
||||
left: 'Tasaus vasemmalle',
|
||||
center: 'Keskitä',
|
||||
right: 'Tasaus oikealle',
|
||||
justify: 'Tasaa'
|
||||
},
|
||||
color: {
|
||||
recent: 'Viimeisin väri',
|
||||
more: 'Lisää värejä',
|
||||
background: 'Taustaväri',
|
||||
foreground: 'Tekstin väri',
|
||||
transparent: 'Läpinäkyvä',
|
||||
setTransparent: 'Aseta läpinäkyväksi',
|
||||
reset: 'Palauta',
|
||||
resetToDefault: 'Palauta oletusarvoksi'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Pikanäppäimet',
|
||||
close: 'Sulje',
|
||||
textFormatting: 'Tekstin muotoilu',
|
||||
action: 'Toiminto',
|
||||
paragraphFormatting: 'Kappaleen muotoilu',
|
||||
documentStyle: 'Asiakirjan tyyli'
|
||||
},
|
||||
history: {
|
||||
undo: 'Kumoa',
|
||||
redo: 'Toista'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,147 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'fr-FR': {
|
||||
font: {
|
||||
bold: 'Gras',
|
||||
italic: 'Italique',
|
||||
underline: 'Souligné',
|
||||
clear: 'Effacer la mise en forme',
|
||||
height: 'Interligne',
|
||||
name: 'Famille de police',
|
||||
strikethrough: 'Barré',
|
||||
superscript: 'Exposant',
|
||||
subscript: 'Indice',
|
||||
size: 'Taille de police'
|
||||
},
|
||||
image: {
|
||||
image: 'Image',
|
||||
insert: 'Insérer une image',
|
||||
resizeFull: 'Taille originale',
|
||||
resizeHalf: 'Redimensionner à 50 %',
|
||||
resizeQuarter: 'Redimensionner à 25 %',
|
||||
floatLeft: 'Aligné à gauche',
|
||||
floatRight: 'Aligné à droite',
|
||||
floatNone: 'Pas d\'alignement',
|
||||
shapeRounded: 'Forme: Rectangle arrondie',
|
||||
shapeCircle: 'Forme: Cercle',
|
||||
shapeThumbnail: 'Forme: Vignette',
|
||||
shapeNone: 'Forme: Aucune',
|
||||
dragImageHere: 'Faites glisser une image ou un texte dans ce cadre',
|
||||
dropImage: 'Lachez l\'image ou le texte',
|
||||
selectFromFiles: 'Choisir un fichier',
|
||||
maximumFileSize: 'Taille de fichier maximale',
|
||||
maximumFileSizeError: 'Taille maximale du fichier dépassée',
|
||||
url: 'URL de l\'image',
|
||||
remove: 'Supprimer l\'image'
|
||||
},
|
||||
video: {
|
||||
video: 'Vidéo',
|
||||
videoLink: 'Lien vidéo',
|
||||
insert: 'Insérer une vidéo',
|
||||
url: 'URL de la vidéo',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Lien',
|
||||
insert: 'Insérer un lien',
|
||||
unlink: 'Supprimer un lien',
|
||||
edit: 'Modifier',
|
||||
textToDisplay: 'Texte à afficher',
|
||||
url: 'URL du lien',
|
||||
openInNewWindow: 'Ouvrir dans une nouvelle fenêtre'
|
||||
},
|
||||
table: {
|
||||
table: 'Tableau'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Insérer une ligne horizontale'
|
||||
},
|
||||
style: {
|
||||
style: 'Style',
|
||||
p: 'Normal',
|
||||
blockquote: 'Citation',
|
||||
pre: 'Code source',
|
||||
h1: 'Titre 1',
|
||||
h2: 'Titre 2',
|
||||
h3: 'Titre 3',
|
||||
h4: 'Titre 4',
|
||||
h5: 'Titre 5',
|
||||
h6: 'Titre 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Liste à puces',
|
||||
ordered: 'Liste numérotée'
|
||||
},
|
||||
options: {
|
||||
help: 'Aide',
|
||||
fullscreen: 'Plein écran',
|
||||
codeview: 'Afficher le code HTML'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paragraphe',
|
||||
outdent: 'Diminuer le retrait',
|
||||
indent: 'Augmenter le retrait',
|
||||
left: 'Aligner à gauche',
|
||||
center: 'Centrer',
|
||||
right: 'Aligner à droite',
|
||||
justify: 'Justifier'
|
||||
},
|
||||
color: {
|
||||
recent: 'Dernière couleur sélectionnée',
|
||||
more: 'Plus de couleurs',
|
||||
background: 'Couleur de fond',
|
||||
foreground: 'Couleur de police',
|
||||
transparent: 'Transparent',
|
||||
setTransparent: 'Définir la transparence',
|
||||
reset: 'Restaurer',
|
||||
resetToDefault: 'Restaurer la couleur par défaut'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Raccourcis',
|
||||
close: 'Fermer',
|
||||
textFormatting: 'Mise en forme du texte',
|
||||
action: 'Action',
|
||||
paragraphFormatting: 'Mise en forme des paragraphes',
|
||||
documentStyle: 'Style du document',
|
||||
extraKeys: 'Touches supplémentaires'
|
||||
},
|
||||
help: {
|
||||
'insertParagraph': 'Insérer paragraphe',
|
||||
'undo': 'Défaire la dernière commande',
|
||||
'redo': 'Refaire la dernière commande',
|
||||
'tab': 'Tabulation',
|
||||
'untab': 'Tabulation arrière',
|
||||
'bold': 'Mettre en caractère gras',
|
||||
'italic': 'Mettre en italique',
|
||||
'underline': 'Mettre en souligné',
|
||||
'strikethrough': 'Mettre en texte barré',
|
||||
'removeFormat': 'Nettoyer les styles',
|
||||
'justifyLeft': 'Aligner à gauche',
|
||||
'justifyCenter': 'Centrer',
|
||||
'justifyRight': 'Aligner à droite',
|
||||
'justifyFull': 'Justifier à gauche et à droite',
|
||||
'insertUnorderedList': 'Basculer liste à puces',
|
||||
'insertOrderedList': 'Basculer liste ordonnée',
|
||||
'outdent': 'Diminuer le retrait du paragraphe',
|
||||
'indent': 'Augmenter le retrait du paragraphe',
|
||||
'formatPara': 'Changer le paragraphe en cours en normal (P)',
|
||||
'formatH1': 'Changer le paragraphe en cours en entête H1',
|
||||
'formatH2': 'Change current block\'s format as entête H2',
|
||||
'formatH3': 'Change current block\'s format as entête H3',
|
||||
'formatH4': 'Change current block\'s format as entête H4',
|
||||
'formatH5': 'Change current block\'s format as entête H5',
|
||||
'formatH6': 'Change current block\'s format as entête H6',
|
||||
'insertHorizontalRule': 'Insérer ligne horizontale',
|
||||
'linkDialog.show': 'Afficher fenêtre d\'hyperlien'
|
||||
},
|
||||
history: {
|
||||
undo: 'Annuler la dernière action',
|
||||
redo: 'Restaurer la dernière action annulée'
|
||||
},
|
||||
specialChar: {
|
||||
specialChar: 'CARACTÈRES SPÉCIAUX',
|
||||
select: 'Choisir des caractères spéciaux'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,147 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'gl-ES': {
|
||||
font: {
|
||||
bold: 'Negrita',
|
||||
italic: 'Cursiva',
|
||||
underline: 'Subliñado',
|
||||
clear: 'Quitar estilo de fonte',
|
||||
height: 'Altura de liña',
|
||||
name: 'Fonte',
|
||||
strikethrough: 'Riscado',
|
||||
superscript: 'Superíndice',
|
||||
subscript: 'Subíndice',
|
||||
size: 'Tamaño da fonte'
|
||||
},
|
||||
image: {
|
||||
image: 'Imaxe',
|
||||
insert: 'Inserir imaxe',
|
||||
resizeFull: 'Redimensionar a tamaño completo',
|
||||
resizeHalf: 'Redimensionar á metade',
|
||||
resizeQuarter: 'Redimensionar a un cuarto',
|
||||
floatLeft: 'Flotar á esquerda',
|
||||
floatRight: 'Flotar á dereita',
|
||||
floatNone: 'Non flotar',
|
||||
shapeRounded: 'Forma: Redondeado',
|
||||
shapeCircle: 'Forma: Círculo',
|
||||
shapeThumbnail: 'Forma: Marco',
|
||||
shapeNone: 'Forma: Ningunha',
|
||||
dragImageHere: 'Arrastrar unha imaxe ou texto aquí',
|
||||
dropImage: 'Solta a imaxe ou texto',
|
||||
selectFromFiles: 'Seleccionar desde os arquivos',
|
||||
maximumFileSize: 'Tamaño máximo do arquivo',
|
||||
maximumFileSizeError: 'Superaches o tamaño máximo do arquivo.',
|
||||
url: 'URL da imaxe',
|
||||
remove: 'Eliminar imaxe'
|
||||
},
|
||||
video: {
|
||||
video: 'Vídeo',
|
||||
videoLink: 'Ligazón do vídeo',
|
||||
insert: 'Insertar vídeo',
|
||||
url: 'URL do vídeo?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, o Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Ligazón',
|
||||
insert: 'Inserir Ligazón',
|
||||
unlink: 'Quitar Ligazón',
|
||||
edit: 'Editar',
|
||||
textToDisplay: 'Texto para amosar',
|
||||
url: 'Cara a que URL leva a ligazón?',
|
||||
openInNewWindow: 'Abrir nunha nova xanela'
|
||||
},
|
||||
table: {
|
||||
table: 'Táboa'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Inserir liña horizontal'
|
||||
},
|
||||
style: {
|
||||
style: 'Estilo',
|
||||
normal: 'Normal',
|
||||
blockquote: 'Cita',
|
||||
pre: 'Código',
|
||||
h1: 'Título 1',
|
||||
h2: 'Título 2',
|
||||
h3: 'Título 3',
|
||||
h4: 'Título 4',
|
||||
h5: 'Título 5',
|
||||
h6: 'Título 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Lista desordenada',
|
||||
ordered: 'Lista ordenada'
|
||||
},
|
||||
options: {
|
||||
help: 'Axuda',
|
||||
fullscreen: 'Pantalla completa',
|
||||
codeview: 'Ver código fonte'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Parágrafo',
|
||||
outdent: 'Menos tabulación',
|
||||
indent: 'Máis tabulación',
|
||||
left: 'Aliñar á esquerda',
|
||||
center: 'Aliñar ao centro',
|
||||
right: 'Aliñar á dereita',
|
||||
justify: 'Xustificar'
|
||||
},
|
||||
color: {
|
||||
recent: 'Última cor',
|
||||
more: 'Máis cores',
|
||||
background: 'Cor de fondo',
|
||||
foreground: 'Cor de fuente',
|
||||
transparent: 'Transparente',
|
||||
setTransparent: 'Establecer transparente',
|
||||
reset: 'Restaurar',
|
||||
resetToDefault: 'Restaurar por defecto'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Atallos de teclado',
|
||||
close: 'Pechar',
|
||||
textFormatting: 'Formato de texto',
|
||||
action: 'Acción',
|
||||
paragraphFormatting: 'Formato de parágrafo',
|
||||
documentStyle: 'Estilo de documento',
|
||||
extraKeys: 'Teclas adicionais'
|
||||
},
|
||||
help : {
|
||||
'insertParagraph': 'Inserir parágrafo',
|
||||
'undo': 'Desfacer última acción',
|
||||
'redo': 'Refacer última acción',
|
||||
'tab': 'Tabular',
|
||||
'untab': 'Eliminar tabulación',
|
||||
'bold': 'Establecer estilo negrita',
|
||||
'italic': 'Establecer estilo cursiva',
|
||||
'underline': 'Establecer estilo subliñado',
|
||||
'strikethrough': 'Establecer estilo riscado',
|
||||
'removeFormat': 'Limpar estilo',
|
||||
'justifyLeft': 'Aliñar á esquerda',
|
||||
'justifyCenter': 'Aliñar ao centro',
|
||||
'justifyRight': 'Aliñar á dereita',
|
||||
'justifyFull': 'Xustificar',
|
||||
'insertUnorderedList': 'Inserir lista desordenada',
|
||||
'insertOrderedList': 'Inserir lista ordenada',
|
||||
'outdent': 'Reducir tabulación do parágrafo',
|
||||
'indent': 'Aumentar tabulación do parágrafo',
|
||||
'formatPara': 'Mudar estilo do bloque a parágrafo (etiqueta P)',
|
||||
'formatH1': 'Mudar estilo do bloque a H1',
|
||||
'formatH2': 'Mudar estilo do bloque a H2',
|
||||
'formatH3': 'Mudar estilo do bloque a H3',
|
||||
'formatH4': 'Mudar estilo do bloque a H4',
|
||||
'formatH5': 'Mudar estilo do bloque a H5',
|
||||
'formatH6': 'Mudar estilo do bloque a H6',
|
||||
'insertHorizontalRule': 'Inserir liña horizontal',
|
||||
'linkDialog.show': 'Amosar panel ligazóns'
|
||||
},
|
||||
history: {
|
||||
undo: 'Desfacer',
|
||||
redo: 'Refacer'
|
||||
},
|
||||
specialChar: {
|
||||
specialChar: 'CARACTERES ESPECIAIS',
|
||||
select: 'Selecciona Caracteres especiais'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,104 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'hr-HR': {
|
||||
font: {
|
||||
bold: 'Podebljano',
|
||||
italic: 'Kurziv',
|
||||
underline: 'Podvučeno',
|
||||
clear: 'Ukloni stilove fonta',
|
||||
height: 'Visina linije',
|
||||
strikethrough: 'Precrtano',
|
||||
size: 'Veličina fonta'
|
||||
},
|
||||
image: {
|
||||
image: 'Slika',
|
||||
insert: 'Ubaci sliku',
|
||||
resizeFull: 'Puna veličina',
|
||||
resizeHalf: 'Umanji na 50%',
|
||||
resizeQuarter: 'Umanji na 25%',
|
||||
floatLeft: 'Poravnaj lijevo',
|
||||
floatRight: 'Poravnaj desno',
|
||||
floatNone: 'Bez poravnanja',
|
||||
dragImageHere: 'Povuci sliku ovdje',
|
||||
selectFromFiles: 'Izaberi iz datoteke',
|
||||
url: 'Adresa slike',
|
||||
remove: 'Ukloni sliku'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Veza na video',
|
||||
insert: 'Ubaci video',
|
||||
url: 'URL video',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Veza',
|
||||
insert: 'Ubaci vezu',
|
||||
unlink: 'Ukloni vezu',
|
||||
edit: 'Uredi',
|
||||
textToDisplay: 'Tekst za prikaz',
|
||||
url: 'Internet adresa',
|
||||
openInNewWindow: 'Otvori u novom prozoru'
|
||||
},
|
||||
table: {
|
||||
table: 'Tablica'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Ubaci horizontalnu liniju'
|
||||
},
|
||||
style: {
|
||||
style: 'Stil',
|
||||
p: 'pni',
|
||||
blockquote: 'Citat',
|
||||
pre: 'Kôd',
|
||||
h1: 'Naslov 1',
|
||||
h2: 'Naslov 2',
|
||||
h3: 'Naslov 3',
|
||||
h4: 'Naslov 4',
|
||||
h5: 'Naslov 5',
|
||||
h6: 'Naslov 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Obična lista',
|
||||
ordered: 'Numerirana lista'
|
||||
},
|
||||
options: {
|
||||
help: 'Pomoć',
|
||||
fullscreen: 'Preko cijelog ekrana',
|
||||
codeview: 'Izvorni kôd'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paragraf',
|
||||
outdent: 'Smanji uvlačenje',
|
||||
indent: 'Povećaj uvlačenje',
|
||||
left: 'Poravnaj lijevo',
|
||||
center: 'Centrirano',
|
||||
right: 'Poravnaj desno',
|
||||
justify: 'Poravnaj obostrano'
|
||||
},
|
||||
color: {
|
||||
recent: 'Posljednja boja',
|
||||
more: 'Više boja',
|
||||
background: 'Boja pozadine',
|
||||
foreground: 'Boja teksta',
|
||||
transparent: 'Prozirna',
|
||||
setTransparent: 'Prozirna',
|
||||
reset: 'Poništi',
|
||||
resetToDefault: 'Podrazumijevana'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Prečice s tipkovnice',
|
||||
close: 'Zatvori',
|
||||
textFormatting: 'Formatiranje teksta',
|
||||
action: 'Akcija',
|
||||
paragraphFormatting: 'Formatiranje paragrafa',
|
||||
documentStyle: 'Stil dokumenta',
|
||||
extraKeys: 'Dodatne kombinacije'
|
||||
},
|
||||
history: {
|
||||
undo: 'Poništi',
|
||||
redo: 'Ponovi'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,135 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'hu-HU': {
|
||||
font: {
|
||||
bold: 'Félkövér',
|
||||
italic: 'Dőlt',
|
||||
underline: 'Aláhúzott',
|
||||
clear: 'Formázás törlése',
|
||||
height: 'Sorköz',
|
||||
name: 'Betűtípus',
|
||||
strikethrough: 'Áthúzott',
|
||||
size: 'Betűméret'
|
||||
},
|
||||
image: {
|
||||
image: 'Kép',
|
||||
insert: 'Kép beszúrása',
|
||||
resizeFull: 'Átméretezés teljes méretre',
|
||||
resizeHalf: 'Átméretezés felére',
|
||||
resizeQuarter: 'Átméretezés negyedére',
|
||||
floatLeft: 'Igazítás balra',
|
||||
floatRight: 'Igazítás jobbra',
|
||||
floatNone: 'Igazítás törlése',
|
||||
dragImageHere: 'Ide húzhat képet vagy szöveget',
|
||||
dropImage: 'Engedje el a képet vagy szöveget',
|
||||
selectFromFiles: 'Fájlok kiválasztása',
|
||||
url: 'Kép URL címe',
|
||||
remove: 'Kép törlése'
|
||||
},
|
||||
video: {
|
||||
video: 'Videó',
|
||||
videoLink: 'Videó hivatkozás',
|
||||
insert: 'Videó beszúrása',
|
||||
url: 'Videó URL címe',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion vagy Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Hivatkozás',
|
||||
insert: 'Hivatkozás beszúrása',
|
||||
unlink: 'Hivatkozás megszüntetése',
|
||||
edit: 'Szerkesztés',
|
||||
textToDisplay: 'Megjelenítendő szöveg',
|
||||
url: 'Milyen URL címre hivatkozzon?',
|
||||
openInNewWindow: 'Megnyitás új ablakban'
|
||||
},
|
||||
table: {
|
||||
table: 'Táblázat'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Elválasztó vonal beszúrása'
|
||||
},
|
||||
style: {
|
||||
style: 'Stílus',
|
||||
p: 'Normál',
|
||||
blockquote: 'Idézet',
|
||||
pre: 'Kód',
|
||||
h1: 'Fejléc 1',
|
||||
h2: 'Fejléc 2',
|
||||
h3: 'Fejléc 3',
|
||||
h4: 'Fejléc 4',
|
||||
h5: 'Fejléc 5',
|
||||
h6: 'Fejléc 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Listajeles lista',
|
||||
ordered: 'Számozott lista'
|
||||
},
|
||||
options: {
|
||||
help: 'Súgó',
|
||||
fullscreen: 'Teljes képernyő',
|
||||
codeview: 'Kód nézet'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Bekezdés',
|
||||
outdent: 'Behúzás csökkentése',
|
||||
indent: 'Behúzás növelése',
|
||||
left: 'Igazítás balra',
|
||||
center: 'Igazítás középre',
|
||||
right: 'Igazítás jobbra',
|
||||
justify: 'Sorkizárt'
|
||||
},
|
||||
color: {
|
||||
recent: 'Jelenlegi szín',
|
||||
more: 'További színek',
|
||||
background: 'Háttérszín',
|
||||
foreground: 'Betűszín',
|
||||
transparent: 'Átlátszó',
|
||||
setTransparent: 'Átlászóság beállítása',
|
||||
reset: 'Visszaállítás',
|
||||
resetToDefault: 'Alaphelyzetbe állítás'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Gyorsbillentyű',
|
||||
close: 'Bezárás',
|
||||
textFormatting: 'Szöveg formázása',
|
||||
action: 'Művelet',
|
||||
paragraphFormatting: 'Bekezdés formázása',
|
||||
documentStyle: 'Dokumentumstílus'
|
||||
},
|
||||
help: {
|
||||
'insertParagraph': 'Új bekezdés',
|
||||
'undo': 'Visszavonás',
|
||||
'redo': 'Újra',
|
||||
'tab': 'Behúzás növelése',
|
||||
'untab': 'Behúzás csökkentése',
|
||||
'bold': 'Félkövérre állítás',
|
||||
'italic': 'Dőltre állítás',
|
||||
'underline': 'Aláhúzás',
|
||||
'strikethrough': 'Áthúzás',
|
||||
'removeFormat': 'Formázás törlése',
|
||||
'justifyLeft': 'Balra igazítás',
|
||||
'justifyCenter': 'Középre igazítás',
|
||||
'justifyRight': 'Jobbra igazítás',
|
||||
'justifyFull': 'Sorkizárt',
|
||||
'insertUnorderedList': 'Számozatlan lista be/ki',
|
||||
'insertOrderedList': 'Számozott lista be/ki',
|
||||
'outdent': 'Jelenlegi bekezdés behúzásának megszüntetése',
|
||||
'indent': 'Jelenlegi bekezdés behúzása',
|
||||
'formatPara': 'Blokk formázása bekezdésként (P tag)',
|
||||
'formatH1': 'Blokk formázása, mint Fejléc 1',
|
||||
'formatH2': 'Blokk formázása, mint Fejléc 2',
|
||||
'formatH3': 'Blokk formázása, mint Fejléc 3',
|
||||
'formatH4': 'Blokk formázása, mint Fejléc 4',
|
||||
'formatH5': 'Blokk formázása, mint Fejléc 5',
|
||||
'formatH6': 'Blokk formázása, mint Fejléc 6',
|
||||
'insertHorizontalRule': 'Vízszintes vonal beszúrása',
|
||||
'linkDialog.show': 'Link párbeszédablak megjelenítése'
|
||||
},
|
||||
history: {
|
||||
undo: 'Visszavonás',
|
||||
redo: 'Újra'
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,103 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'id-ID': {
|
||||
font: {
|
||||
bold: 'Tebal',
|
||||
italic: 'Miring',
|
||||
underline: 'Garis bawah',
|
||||
clear: 'Bersihkan gaya',
|
||||
height: 'Jarak baris',
|
||||
strikethrough: 'Coret',
|
||||
size: 'Ukuran font'
|
||||
},
|
||||
image: {
|
||||
image: 'Gambar',
|
||||
insert: 'Sisipkan gambar',
|
||||
resizeFull: 'Ukuran penuh',
|
||||
resizeHalf: 'Ukuran 50%',
|
||||
resizeQuarter: 'Ukuran 25%',
|
||||
floatLeft: 'Rata kiri',
|
||||
floatRight: 'Rata kanan',
|
||||
floatNone: 'Tidak ada perataan',
|
||||
dragImageHere: 'Tarik gambar pada area ini',
|
||||
selectFromFiles: 'Pilih gambar dari berkas',
|
||||
url: 'URL gambar',
|
||||
remove: 'Hapus Gambar'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Link video',
|
||||
insert: 'Sisipkan video',
|
||||
url: 'Tautan video',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion atau Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Tautan',
|
||||
insert: 'Tambah tautan',
|
||||
unlink: 'Hapus tautan',
|
||||
edit: 'Edit',
|
||||
textToDisplay: 'Tampilan teks',
|
||||
url: 'Tautan tujuan',
|
||||
openInNewWindow: 'Buka di jendela baru'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabel'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Masukkan garis horizontal'
|
||||
},
|
||||
style: {
|
||||
style: 'Gaya',
|
||||
p: 'p',
|
||||
blockquote: 'Kutipan',
|
||||
pre: 'Kode',
|
||||
h1: 'Heading 1',
|
||||
h2: 'Heading 2',
|
||||
h3: 'Heading 3',
|
||||
h4: 'Heading 4',
|
||||
h5: 'Heading 5',
|
||||
h6: 'Heading 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Pencacahan',
|
||||
ordered: 'Penomoran'
|
||||
},
|
||||
options: {
|
||||
help: 'Bantuan',
|
||||
fullscreen: 'Layar penuh',
|
||||
codeview: 'Kode HTML'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paragraf',
|
||||
outdent: 'Outdent',
|
||||
indent: 'Indent',
|
||||
left: 'Rata kiri',
|
||||
center: 'Rata tengah',
|
||||
right: 'Rata kanan',
|
||||
justify: 'Rata kanan kiri'
|
||||
},
|
||||
color: {
|
||||
recent: 'Warna sekarang',
|
||||
more: 'Selengkapnya',
|
||||
background: 'Warna latar',
|
||||
foreground: 'Warna font',
|
||||
transparent: 'Transparan',
|
||||
setTransparent: 'Atur transparansi',
|
||||
reset: 'Atur ulang',
|
||||
resetToDefault: 'Kembalikan kesemula'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Jalan pintas',
|
||||
close: 'Keluar',
|
||||
textFormatting: 'Format teks',
|
||||
action: 'Aksi',
|
||||
paragraphFormatting: 'Format paragraf',
|
||||
documentStyle: 'Gaya dokumen'
|
||||
},
|
||||
history: {
|
||||
undo: 'Kembali',
|
||||
redo: 'Ulang'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,104 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'it-IT': {
|
||||
font: {
|
||||
bold: 'Testo in grassetto',
|
||||
italic: 'Testo in corsivo',
|
||||
underline: 'Testo sottolineato',
|
||||
clear: 'Elimina la formattazione del testo',
|
||||
height: 'Altezza della linea di testo',
|
||||
name: 'Famiglia Font',
|
||||
strikethrough: 'Testo barrato',
|
||||
size: 'Dimensione del carattere'
|
||||
},
|
||||
image: {
|
||||
image: 'Immagine',
|
||||
insert: 'Inserisci Immagine',
|
||||
resizeFull: 'Dimensioni originali',
|
||||
resizeHalf: 'Ridimensiona al 50%',
|
||||
resizeQuarter: 'Ridimensiona al 25%',
|
||||
floatLeft: 'Posiziona a sinistra',
|
||||
floatRight: 'Posiziona a destra',
|
||||
floatNone: 'Nessun posizionamento',
|
||||
dragImageHere: 'Trascina qui un\'immagine',
|
||||
selectFromFiles: 'Scegli dai Documenti',
|
||||
url: 'URL dell\'immagine',
|
||||
remove: 'Rimuovi immagine'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Collegamento ad un Video',
|
||||
insert: 'Inserisci Video',
|
||||
url: 'URL del Video',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Collegamento',
|
||||
insert: 'Inserisci Collegamento',
|
||||
unlink: 'Elimina collegamento',
|
||||
edit: 'Modifica collegamento',
|
||||
textToDisplay: 'Testo del collegamento',
|
||||
url: 'URL del collegamento',
|
||||
openInNewWindow: 'Apri in una nuova finestra'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabella'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Inserisce una linea di separazione'
|
||||
},
|
||||
style: {
|
||||
style: 'Stili',
|
||||
p: 'pe',
|
||||
blockquote: 'Citazione',
|
||||
pre: 'Codice',
|
||||
h1: 'Titolo 1',
|
||||
h2: 'Titolo 2',
|
||||
h3: 'Titolo 3',
|
||||
h4: 'Titolo 4',
|
||||
h5: 'Titolo 5',
|
||||
h6: 'Titolo 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Elenco non ordinato',
|
||||
ordered: 'Elenco ordinato'
|
||||
},
|
||||
options: {
|
||||
help: 'Aiuto',
|
||||
fullscreen: 'Modalità a tutto schermo',
|
||||
codeview: 'Visualizza codice'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paragrafo',
|
||||
outdent: 'Diminuisce il livello di rientro',
|
||||
indent: 'Aumenta il livello di rientro',
|
||||
left: 'Allinea a sinistra',
|
||||
center: 'Centra',
|
||||
right: 'Allinea a destra',
|
||||
justify: 'Giustifica (allinea a destra e sinistra)'
|
||||
},
|
||||
color: {
|
||||
recent: 'Ultimo colore utilizzato',
|
||||
more: 'Altri colori',
|
||||
background: 'Colore di sfondo',
|
||||
foreground: 'Colore',
|
||||
transparent: 'Trasparente',
|
||||
setTransparent: 'Trasparente',
|
||||
reset: 'Reimposta',
|
||||
resetToDefault: 'Reimposta i colori'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Scorciatoie da tastiera',
|
||||
close: 'Chiudi',
|
||||
textFormatting: 'Formattazione testo',
|
||||
action: 'Azioni',
|
||||
paragraphFormatting: 'Formattazione paragrafo',
|
||||
documentStyle: 'Stili'
|
||||
},
|
||||
history: {
|
||||
undo: 'Annulla',
|
||||
redo: 'Ripristina'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,133 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'ja-JP': {
|
||||
font: {
|
||||
bold: '太字',
|
||||
italic: '斜体',
|
||||
underline: '下線',
|
||||
clear: 'クリア',
|
||||
height: '文字高',
|
||||
name: 'フォント',
|
||||
strikethrough: '取り消し線',
|
||||
size: '大きさ'
|
||||
},
|
||||
image: {
|
||||
image: '画像',
|
||||
insert: '画像挿入',
|
||||
resizeFull: '最大化',
|
||||
resizeHalf: '1/2',
|
||||
resizeQuarter: '1/4',
|
||||
floatLeft: '左寄せ',
|
||||
floatRight: '右寄せ',
|
||||
floatNone: '寄せ解除',
|
||||
dragImageHere: 'ここに画像をドラッグしてください',
|
||||
selectFromFiles: '画像ファイルを選ぶ',
|
||||
url: 'URLから画像を挿入する',
|
||||
remove: '画像を削除する'
|
||||
},
|
||||
video: {
|
||||
video: '動画',
|
||||
videoLink: '動画リンク',
|
||||
insert: '動画挿入',
|
||||
url: '動画のURL',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'リンク',
|
||||
insert: 'リンク挿入',
|
||||
unlink: 'リンク解除',
|
||||
edit: '編集',
|
||||
textToDisplay: 'リンク文字列',
|
||||
url: 'URLを入力してください',
|
||||
openInNewWindow: '新しいウィンドウで開く'
|
||||
},
|
||||
table: {
|
||||
table: 'テーブル'
|
||||
},
|
||||
hr: {
|
||||
insert: '水平線の挿入'
|
||||
},
|
||||
style: {
|
||||
style: 'スタイル',
|
||||
p: '標準',
|
||||
blockquote: '引用',
|
||||
pre: 'コード',
|
||||
h1: '見出し1',
|
||||
h2: '見出し2',
|
||||
h3: '見出し3',
|
||||
h4: '見出し4',
|
||||
h5: '見出し5',
|
||||
h6: '見出し6'
|
||||
},
|
||||
lists: {
|
||||
unordered: '通常リスト',
|
||||
ordered: '番号リスト'
|
||||
},
|
||||
options: {
|
||||
help: 'ヘルプ',
|
||||
fullscreen: 'フルスクリーン',
|
||||
codeview: 'コード表示'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: '文章',
|
||||
outdent: '字上げ',
|
||||
indent: '字下げ',
|
||||
left: '左寄せ',
|
||||
center: '中央寄せ',
|
||||
right: '右寄せ',
|
||||
justify: '均等割付'
|
||||
},
|
||||
color: {
|
||||
recent: '現在の色',
|
||||
more: 'もっと見る',
|
||||
background: '背景色',
|
||||
foreground: '文字色',
|
||||
transparent: '透過率',
|
||||
setTransparent: '透過率を設定',
|
||||
reset: '標準',
|
||||
resetToDefault: '標準に戻す'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'ショートカット',
|
||||
close: '閉じる',
|
||||
textFormatting: '文字フォーマット',
|
||||
action: 'アクション',
|
||||
paragraphFormatting: '文章フォーマット',
|
||||
documentStyle: 'ドキュメント形式'
|
||||
},
|
||||
history: {
|
||||
undo: '元に戻す',
|
||||
redo: 'やり直す'
|
||||
},
|
||||
help: {
|
||||
'insertParagraph': '改行挿入',
|
||||
'undo': '一旦、行った操作を戻す',
|
||||
'redo': '最後のコマンドをやり直す',
|
||||
'tab': 'Tab',
|
||||
'untab': 'タブ戻し',
|
||||
'bold': '太文字',
|
||||
'italic': '斜体',
|
||||
'underline': '下線',
|
||||
'strikethrough': '取り消し線',
|
||||
'removeFormat': '装飾を戻す',
|
||||
'justifyLeft': '左寄せ',
|
||||
'justifyCenter': '真ん中寄せ',
|
||||
'justifyRight': '右寄せ',
|
||||
'justifyFull': 'すべてを整列',
|
||||
'insertUnorderedList': '行頭に●を挿入',
|
||||
'insertOrderedList': '行頭に番号を挿入',
|
||||
'outdent': '字下げを戻す(アウトデント)',
|
||||
'indent': '字下げする(インデント)',
|
||||
'formatPara': '段落(P tag)指定',
|
||||
'formatH1': 'H1指定',
|
||||
'formatH2': 'H2指定',
|
||||
'formatH3': 'H3指定',
|
||||
'formatH4': 'H4指定',
|
||||
'formatH5': 'H5指定',
|
||||
'formatH6': 'H6指定',
|
||||
'insertHorizontalRule': '<hr />を挿入',
|
||||
'linkDialog.show': 'リンク挿入'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,115 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'ko-KR': {
|
||||
font: {
|
||||
bold: '굵게',
|
||||
italic: '기울임꼴',
|
||||
underline: '밑줄',
|
||||
clear: '글자 효과 없애기',
|
||||
height: '줄간격',
|
||||
name: '글꼴',
|
||||
superscript: '위 첨자',
|
||||
subscript: '아래 첨자',
|
||||
strikethrough: '취소선',
|
||||
size: '글자 크기'
|
||||
},
|
||||
image: {
|
||||
image: '사진',
|
||||
insert: '사진 추가',
|
||||
resizeFull: '100% 크기로 변경',
|
||||
resizeHalf: '50% 크기로 변경',
|
||||
resizeQuarter: '25% 크기로 변경',
|
||||
floatLeft: '왼쪽 정렬',
|
||||
floatRight: '오른쪽 정렬',
|
||||
floatNone: '정렬하지 않음',
|
||||
shapeRounded: '스타일: 둥근 모서리',
|
||||
shapeCircle: '스타일: 원형',
|
||||
shapeThumbnail: '스타일: 액자',
|
||||
shapeNone: '스타일: 없음',
|
||||
dragImageHere: '텍스트 혹은 사진을 이곳으로 끌어오세요',
|
||||
dropImage: '텍스트 혹은 사진을 내려놓으세요',
|
||||
selectFromFiles: '파일 선택',
|
||||
url: '사진 URL',
|
||||
remove: '사진 삭제'
|
||||
},
|
||||
video: {
|
||||
video: '동영상',
|
||||
videoLink: '동영상 링크',
|
||||
insert: '동영상 추가',
|
||||
url: '동영상 URL',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, Youku 사용 가능)'
|
||||
},
|
||||
link: {
|
||||
link: '링크',
|
||||
insert: '링크 추가',
|
||||
unlink: '링크 삭제',
|
||||
edit: '수정',
|
||||
textToDisplay: '링크에 표시할 내용',
|
||||
url: '이동할 URL',
|
||||
openInNewWindow: '새창으로 열기'
|
||||
},
|
||||
table: {
|
||||
table: '테이블'
|
||||
},
|
||||
hr: {
|
||||
insert: '구분선 추가'
|
||||
},
|
||||
style: {
|
||||
style: '스타일',
|
||||
p: '본문',
|
||||
blockquote: '인용구',
|
||||
pre: '코드',
|
||||
h1: '제목 1',
|
||||
h2: '제목 2',
|
||||
h3: '제목 3',
|
||||
h4: '제목 4',
|
||||
h5: '제목 5',
|
||||
h6: '제목 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: '글머리 기호',
|
||||
ordered: '번호 매기기'
|
||||
},
|
||||
options: {
|
||||
help: '도움말',
|
||||
fullscreen: '전체 화면',
|
||||
codeview: '코드 보기'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: '문단 정렬',
|
||||
outdent: '내어쓰기',
|
||||
indent: '들여쓰기',
|
||||
left: '왼쪽 정렬',
|
||||
center: '가운데 정렬',
|
||||
right: '오른쪽 정렬',
|
||||
justify: '양쪽 정렬'
|
||||
},
|
||||
color: {
|
||||
recent: '마지막으로 사용한 색',
|
||||
more: '다른 색 선택',
|
||||
background: '배경색',
|
||||
foreground: '글자색',
|
||||
transparent: '투명',
|
||||
setTransparent: '투명',
|
||||
reset: '취소',
|
||||
resetToDefault: '기본 값으로 변경'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: '키보드 단축키',
|
||||
close: '닫기',
|
||||
textFormatting: '글자 스타일 적용',
|
||||
action: '기능',
|
||||
paragraphFormatting: '문단 스타일 적용',
|
||||
documentStyle: '문서 스타일 적용'
|
||||
},
|
||||
history: {
|
||||
undo: '실행 취소',
|
||||
redo: '다시 실행'
|
||||
},
|
||||
specialChar: {
|
||||
specialChar: '특수문자',
|
||||
select: '특수문자를 선택하세요'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,107 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'lt-LT': {
|
||||
font: {
|
||||
bold: 'Paryškintas',
|
||||
italic: 'Kursyvas',
|
||||
underline: 'Pabrėžtas',
|
||||
clear: 'Be formatavimo',
|
||||
height: 'Eilutės aukštis',
|
||||
name: 'Šrifto pavadinimas',
|
||||
strikethrough: 'Perbrauktas',
|
||||
superscript: 'Viršutinis',
|
||||
subscript: 'Indeksas',
|
||||
size: 'Šrifto dydis'
|
||||
},
|
||||
image: {
|
||||
image: 'Paveikslėlis',
|
||||
insert: 'Įterpti paveikslėlį',
|
||||
resizeFull: 'Pilnas dydis',
|
||||
resizeHalf: 'Sumažinti dydį 50%',
|
||||
resizeQuarter: 'Sumažinti dydį 25%',
|
||||
floatLeft: 'Kairinis lygiavimas',
|
||||
floatRight: 'Dešininis lygiavimas',
|
||||
floatNone: 'Jokio lygiavimo',
|
||||
shapeRounded: 'Forma: apvalūs kraštai',
|
||||
shapeCircle: 'Forma: apskritimas',
|
||||
shapeThumbnail: 'Forma: miniatiūra',
|
||||
shapeNone: 'Forma: jokia',
|
||||
dragImageHere: 'Vilkite paveikslėlį čia',
|
||||
selectFromFiles: 'Pasirinkite failą',
|
||||
maximumFileSize: 'Maskimalus failo dydis',
|
||||
maximumFileSizeError: 'Maskimalus failo dydis viršytas!',
|
||||
url: 'Paveikslėlio URL adresas',
|
||||
remove: 'Ištrinti paveikslėlį'
|
||||
},
|
||||
link: {
|
||||
link: 'Nuoroda',
|
||||
insert: 'Įterpti nuorodą',
|
||||
unlink: 'Pašalinti nuorodą',
|
||||
edit: 'Redaguoti',
|
||||
textToDisplay: 'Rodomas tekstas',
|
||||
url: 'Koks URL adresas yra susietas?',
|
||||
openInNewWindow: 'Atidaryti naujame lange'
|
||||
},
|
||||
table: {
|
||||
table: 'Lentelė'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Įterpti horizontalią liniją'
|
||||
},
|
||||
style: {
|
||||
style: 'Stilius',
|
||||
p: 'pus',
|
||||
blockquote: 'Citata',
|
||||
pre: 'Kodas',
|
||||
h1: 'Antraštė 1',
|
||||
h2: 'Antraštė 2',
|
||||
h3: 'Antraštė 3',
|
||||
h4: 'Antraštė 4',
|
||||
h5: 'Antraštė 5',
|
||||
h6: 'Antraštė 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Suženklintasis sąrašas',
|
||||
ordered: 'Sunumeruotas sąrašas'
|
||||
},
|
||||
options: {
|
||||
help: 'Pagalba',
|
||||
fullscreen: 'Viso ekrano režimas',
|
||||
codeview: 'HTML kodo peržiūra'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Pastraipa',
|
||||
outdent: 'Sumažinti įtrauką',
|
||||
indent: 'Padidinti įtrauką',
|
||||
left: 'Kairinė lygiuotė',
|
||||
center: 'Centrinė lygiuotė',
|
||||
right: 'Dešininė lygiuotė',
|
||||
justify: 'Abipusis išlyginimas'
|
||||
},
|
||||
color: {
|
||||
recent: 'Paskutinė naudota spalva',
|
||||
more: 'Daugiau spalvų',
|
||||
background: 'Fono spalva',
|
||||
foreground: 'Šrifto spalva',
|
||||
transparent: 'Permatoma',
|
||||
setTransparent: 'Nustatyti skaidrumo intensyvumą',
|
||||
reset: 'Atkurti',
|
||||
resetToDefault: 'Atstatyti numatytąją spalvą'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Spartieji klavišai',
|
||||
close: 'Uždaryti',
|
||||
textFormatting: 'Teksto formatavimas',
|
||||
action: 'Veiksmas',
|
||||
paragraphFormatting: 'Pastraipos formatavimas',
|
||||
documentStyle: 'Dokumento stilius',
|
||||
extraKeys: 'Papildomi klavišų deriniai'
|
||||
},
|
||||
history: {
|
||||
undo: 'Anuliuoti veiksmą',
|
||||
redo: 'Perdaryti veiksmą'
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,135 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'lv-LV': {
|
||||
font: {
|
||||
bold: 'Treknraksts',
|
||||
italic: 'Kursīvs',
|
||||
underline: 'Pasvītrots',
|
||||
clear: 'Noņemt formatējumu',
|
||||
height: 'Līnijas augstums',
|
||||
name: 'Fonts',
|
||||
strikethrough: 'Nosvītrots',
|
||||
superscript: 'Augšraksts',
|
||||
subscript: 'Apakšraksts',
|
||||
size: 'Fonta lielums'
|
||||
},
|
||||
image: {
|
||||
image: 'Attēls',
|
||||
insert: 'Ievietot attēlu',
|
||||
resizeFull: 'Pilns izmērts',
|
||||
resizeHalf: 'Samazināt 50%',
|
||||
resizeQuarter: 'Samazināt 25%',
|
||||
floatLeft: 'Līdzināt pa kreisi',
|
||||
floatRight: 'Līdzināt pa labi',
|
||||
floatNone: 'Nelīdzināt',
|
||||
shapeRounded: 'Forma: apaļām malām',
|
||||
shapeCircle: 'Forma: aplis',
|
||||
shapeThumbnail: 'Forma: rāmītis',
|
||||
shapeNone: 'Forma: orģināla',
|
||||
dragImageHere: 'Ievēlciet attēlu šeit',
|
||||
selectFromFiles: 'Izvēlēties failu',
|
||||
maximumFileSize: 'Maksimālais faila izmērs',
|
||||
maximumFileSizeError: 'Faila izmērs pārāk liels!',
|
||||
url: 'Attēla URL',
|
||||
remove: 'Dzēst attēlu'
|
||||
},
|
||||
link: {
|
||||
link: 'Saite',
|
||||
insert: 'Ievietot saiti',
|
||||
unlink: 'Noņemt saiti',
|
||||
edit: 'Rediģēt',
|
||||
textToDisplay: 'Saites saturs',
|
||||
url: 'Koks URL adresas yra susietas?',
|
||||
openInNewWindow: 'Atvērt jaunā logā'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabula'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Ievietot līniju'
|
||||
},
|
||||
style: {
|
||||
style: 'Stils',
|
||||
p: 'Parasts',
|
||||
blockquote: 'Citāts',
|
||||
pre: 'Kods',
|
||||
h1: 'Virsraksts h1',
|
||||
h2: 'Virsraksts h2',
|
||||
h3: 'Virsraksts h3',
|
||||
h4: 'Virsraksts h4',
|
||||
h5: 'Virsraksts h5',
|
||||
h6: 'Virsraksts h6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Nenumurēts saraksts',
|
||||
ordered: 'Numurēts saraksts'
|
||||
},
|
||||
options: {
|
||||
help: 'Palīdzība',
|
||||
fullscreen: 'Pa visu ekrānu',
|
||||
codeview: 'HTML kods'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paragrāfs',
|
||||
outdent: 'Samazināt atkāpi',
|
||||
indent: 'Palielināt atkāpi',
|
||||
left: 'Līdzināt pa kreisi',
|
||||
center: 'Centrēt',
|
||||
right: 'Līdzināt pa labi',
|
||||
justify: 'Līdzināt gar abām malām'
|
||||
},
|
||||
color: {
|
||||
recent: 'Nesen izmantotās',
|
||||
more: 'Citas krāsas',
|
||||
background: 'Fona krāsa',
|
||||
foreground: 'Fonta krāsa',
|
||||
transparent: 'Caurspīdīgs',
|
||||
setTransparent: 'Iestatīt caurspīdīgumu',
|
||||
reset: 'Atjaunot',
|
||||
resetToDefault: 'Atjaunot noklusējumu'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Saīsnes',
|
||||
close: 'Aizvērt',
|
||||
textFormatting: 'Teksta formatēšana',
|
||||
action: 'Darbība',
|
||||
paragraphFormatting: 'Paragrāfa formatēšana',
|
||||
documentStyle: 'Dokumenta stils',
|
||||
extraKeys: 'Citas taustiņu kombinācijas'
|
||||
},
|
||||
history: {
|
||||
undo: 'Atsauks (undo)',
|
||||
redo: 'Atkārtot (redo)'
|
||||
},
|
||||
help: {
|
||||
insertParagraph: 'Ievietot Paragrāfu',
|
||||
undo: 'Atcelt iepriekšējo darbību',
|
||||
redo: 'Atkārtot atcelto darbību',
|
||||
tab: 'Atkāpe',
|
||||
untab: 'Samazināt atkāpi',
|
||||
bold: 'Pārvērst tekstu treknrakstā',
|
||||
italic: 'Pārvērst tekstu slīprakstā (kursīvā)',
|
||||
underline: 'Pasvītrot tekstu',
|
||||
strikethrough: 'Nosvītrot tekstu',
|
||||
removeFormat: 'Notīrīt stilu no teksta',
|
||||
justifyLeft: 'Līdzīnāt saturu pa kreisi',
|
||||
justifyCenter: 'Centrēt saturu',
|
||||
justifyRight: 'Līdzīnāt saturu pa labi',
|
||||
justifyFull: 'Izlīdzināt saturu gar abām malām',
|
||||
insertUnorderedList: 'Ievietot nenumurētu sarakstu',
|
||||
insertOrderedList: 'Ievietot numurētu sarakstu',
|
||||
outdent: 'Samazināt/noņemt atkāpi paragrāfam',
|
||||
indent: 'Uzlikt atkāpi paragrāfam',
|
||||
formatPara: 'Mainīt bloka tipu uz (p) Paragrāfu',
|
||||
formatH1: 'Mainīt bloka tipu uz virsrakstu H1',
|
||||
formatH2: 'Mainīt bloka tipu uz virsrakstu H2',
|
||||
formatH3: 'Mainīt bloka tipu uz virsrakstu H3',
|
||||
formatH4: 'Mainīt bloka tipu uz virsrakstu H4',
|
||||
formatH5: 'Mainīt bloka tipu uz virsrakstu H5',
|
||||
formatH6: 'Mainīt bloka tipu uz virsrakstu H6',
|
||||
insertHorizontalRule: 'Ievietot horizontālu līniju',
|
||||
'linkDialog.show': 'Parādīt saites logu'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,104 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'nb-NO': {
|
||||
font: {
|
||||
bold: 'Fet',
|
||||
italic: 'Kursiv',
|
||||
underline: 'Understrek',
|
||||
clear: 'Fjern formatering',
|
||||
height: 'Linjehøyde',
|
||||
name: 'Skrifttype',
|
||||
strikethrough: 'Gjennomstrek',
|
||||
size: 'Skriftstørrelse'
|
||||
},
|
||||
image: {
|
||||
image: 'Bilde',
|
||||
insert: 'Sett inn bilde',
|
||||
resizeFull: 'Sett full størrelse',
|
||||
resizeHalf: 'Sett halv størrelse',
|
||||
resizeQuarter: 'Sett kvart størrelse',
|
||||
floatLeft: 'Flyt til venstre',
|
||||
floatRight: 'Flyt til høyre',
|
||||
floatNone: 'Fjern flyt',
|
||||
dragImageHere: 'Dra et bilde hit',
|
||||
selectFromFiles: 'Velg fra filer',
|
||||
url: 'Bilde-URL',
|
||||
remove: 'Fjern bilde'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Videolenke',
|
||||
insert: 'Sett inn video',
|
||||
url: 'Video-URL',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Lenke',
|
||||
insert: 'Sett inn lenke',
|
||||
unlink: 'Fjern lenke',
|
||||
edit: 'Rediger',
|
||||
textToDisplay: 'Visningstekst',
|
||||
url: 'Til hvilken URL skal denne lenken peke?',
|
||||
openInNewWindow: 'Åpne i nytt vindu'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabell'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Sett inn horisontal linje'
|
||||
},
|
||||
style: {
|
||||
style: 'Stil',
|
||||
p: 'p',
|
||||
blockquote: 'Sitat',
|
||||
pre: 'Kode',
|
||||
h1: 'Overskrift 1',
|
||||
h2: 'Overskrift 2',
|
||||
h3: 'Overskrift 3',
|
||||
h4: 'Overskrift 4',
|
||||
h5: 'Overskrift 5',
|
||||
h6: 'Overskrift 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Punktliste',
|
||||
ordered: 'Nummerert liste'
|
||||
},
|
||||
options: {
|
||||
help: 'Hjelp',
|
||||
fullscreen: 'Fullskjerm',
|
||||
codeview: 'HTML-visning'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Avsnitt',
|
||||
outdent: 'Tilbakerykk',
|
||||
indent: 'Innrykk',
|
||||
left: 'Venstrejustert',
|
||||
center: 'Midtstilt',
|
||||
right: 'Høyrejustert',
|
||||
justify: 'Blokkjustert'
|
||||
},
|
||||
color: {
|
||||
recent: 'Nylig valgt farge',
|
||||
more: 'Flere farger',
|
||||
background: 'Bakgrunnsfarge',
|
||||
foreground: 'Skriftfarge',
|
||||
transparent: 'Gjennomsiktig',
|
||||
setTransparent: 'Sett gjennomsiktig',
|
||||
reset: 'Nullstill',
|
||||
resetToDefault: 'Nullstill til standard'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Hurtigtaster',
|
||||
close: 'Lukk',
|
||||
textFormatting: 'Tekstformatering',
|
||||
action: 'Handling',
|
||||
paragraphFormatting: 'Avsnittsformatering',
|
||||
documentStyle: 'Dokumentstil'
|
||||
},
|
||||
history: {
|
||||
undo: 'Angre',
|
||||
redo: 'Gjør om'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,104 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'nl-NL': {
|
||||
font: {
|
||||
bold: 'Vet',
|
||||
italic: 'Cursief',
|
||||
underline: 'Onderstrepen',
|
||||
clear: 'Stijl verwijderen',
|
||||
height: 'Regelhoogte',
|
||||
name: 'Lettertype',
|
||||
strikethrough: 'Doorhalen',
|
||||
size: 'Tekstgrootte'
|
||||
},
|
||||
image: {
|
||||
image: 'Afbeelding',
|
||||
insert: 'Afbeelding invoegen',
|
||||
resizeFull: 'Volledige breedte',
|
||||
resizeHalf: 'Halve breedte',
|
||||
resizeQuarter: 'Kwart breedte',
|
||||
floatLeft: 'Links uitlijnen',
|
||||
floatRight: 'Rechts uitlijnen',
|
||||
floatNone: 'Geen uitlijning',
|
||||
dragImageHere: 'Sleep hier een afbeelding naar toe',
|
||||
selectFromFiles: 'Selecteer een bestand',
|
||||
url: 'URL van de afbeelding',
|
||||
remove: 'Verwijder afbeelding'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Video link',
|
||||
insert: 'Video invoegen',
|
||||
url: 'URL van de video',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion of Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Link',
|
||||
insert: 'Link invoegen',
|
||||
unlink: 'Link verwijderen',
|
||||
edit: 'Wijzigen',
|
||||
textToDisplay: 'Tekst van link',
|
||||
url: 'Naar welke URL moet deze link verwijzen?',
|
||||
openInNewWindow: 'Open in nieuw venster'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabel'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Horizontale lijn invoegen'
|
||||
},
|
||||
style: {
|
||||
style: 'Stijl',
|
||||
p: 'Normaal',
|
||||
blockquote: 'Quote',
|
||||
pre: 'Code',
|
||||
h1: 'Kop 1',
|
||||
h2: 'Kop 2',
|
||||
h3: 'Kop 3',
|
||||
h4: 'Kop 4',
|
||||
h5: 'Kop 5',
|
||||
h6: 'Kop 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Ongeordende lijst',
|
||||
ordered: 'Geordende lijst'
|
||||
},
|
||||
options: {
|
||||
help: 'Help',
|
||||
fullscreen: 'Volledig scherm',
|
||||
codeview: 'Bekijk Code'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paragraaf',
|
||||
outdent: 'Inspringen verkleinen',
|
||||
indent: 'Inspringen vergroten',
|
||||
left: 'Links uitlijnen',
|
||||
center: 'Centreren',
|
||||
right: 'Rechts uitlijnen',
|
||||
justify: 'Uitvullen'
|
||||
},
|
||||
color: {
|
||||
recent: 'Recente kleur',
|
||||
more: 'Meer kleuren',
|
||||
background: 'Achtergrond kleur',
|
||||
foreground: 'Tekst kleur',
|
||||
transparent: 'Transparant',
|
||||
setTransparent: 'Transparant',
|
||||
reset: 'Standaard',
|
||||
resetToDefault: 'Standaard kleur'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Toetsencombinaties',
|
||||
close: 'sluiten',
|
||||
textFormatting: 'Tekststijlen',
|
||||
action: 'Acties',
|
||||
paragraphFormatting: 'Paragraafstijlen',
|
||||
documentStyle: 'Documentstijlen'
|
||||
},
|
||||
history: {
|
||||
undo: 'Ongedaan maken',
|
||||
redo: 'Opnieuw doorvoeren'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,112 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'pl-PL': {
|
||||
font: {
|
||||
bold: 'Pogrubienie',
|
||||
italic: 'Pochylenie',
|
||||
underline: 'Podkreślenie',
|
||||
clear: 'Usuń formatowanie',
|
||||
height: 'Interlinia',
|
||||
name: 'Czcionka',
|
||||
strikethrough: 'Przekreślenie',
|
||||
size: 'Rozmiar'
|
||||
},
|
||||
image: {
|
||||
image: 'Grafika',
|
||||
insert: 'Wstaw grafikę',
|
||||
resizeFull: 'Zmień rozmiar na 100%',
|
||||
resizeHalf: 'Zmień rozmiar na 50%',
|
||||
resizeQuarter: 'Zmień rozmiar na 25%',
|
||||
floatLeft: 'Po lewej',
|
||||
floatRight: 'Po prawej',
|
||||
floatNone: 'Równo z tekstem',
|
||||
shapeRounded: 'Kształt: zaokrąglone',
|
||||
shapeCircle: 'Kształt: okrąg',
|
||||
shapeThumbnail: 'Kształt: miniatura',
|
||||
shapeNone: 'Kształt: brak',
|
||||
dragImageHere: 'Przeciągnij grafikę lub tekst tutaj',
|
||||
dropImage: 'Przeciągnij grafikę lub tekst',
|
||||
selectFromFiles: 'Wybierz z dysku',
|
||||
maximumFileSize: 'Limit wielkości pliku',
|
||||
maximumFileSizeError: 'Przekroczono limit wielkości pliku.',
|
||||
url: 'Adres URL grafiki',
|
||||
remove: 'Usuń grafikę'
|
||||
},
|
||||
video: {
|
||||
video: 'Wideo',
|
||||
videoLink: 'Adres wideo',
|
||||
insert: 'Wstaw wideo',
|
||||
url: 'Adres wideo',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion lub Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Odnośnik',
|
||||
insert: 'Wstaw odnośnik',
|
||||
unlink: 'Usuń odnośnik',
|
||||
edit: 'Edytuj',
|
||||
textToDisplay: 'Tekst do wyświetlenia',
|
||||
url: 'Na jaki adres URL powinien przenosić ten odnośnik?',
|
||||
openInNewWindow: 'Otwórz w nowym oknie'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabela'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Wstaw poziomą linię'
|
||||
},
|
||||
style: {
|
||||
style: 'Style',
|
||||
p: 'pny',
|
||||
blockquote: 'Cytat',
|
||||
pre: 'Kod',
|
||||
h1: 'Nagłówek 1',
|
||||
h2: 'Nagłówek 2',
|
||||
h3: 'Nagłówek 3',
|
||||
h4: 'Nagłówek 4',
|
||||
h5: 'Nagłówek 5',
|
||||
h6: 'Nagłówek 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Lista wypunktowana',
|
||||
ordered: 'Lista numerowana'
|
||||
},
|
||||
options: {
|
||||
help: 'Pomoc',
|
||||
fullscreen: 'Pełny ekran',
|
||||
codeview: 'Źródło'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Akapit',
|
||||
outdent: 'Zmniejsz wcięcie',
|
||||
indent: 'Zwiększ wcięcie',
|
||||
left: 'Wyrównaj do lewej',
|
||||
center: 'Wyrównaj do środka',
|
||||
right: 'Wyrównaj do prawej',
|
||||
justify: 'Wyrównaj do lewej i prawej'
|
||||
},
|
||||
color: {
|
||||
recent: 'Ostani kolor',
|
||||
more: 'Więcej kolorów',
|
||||
background: 'Tło',
|
||||
foreground: 'Czcionka',
|
||||
transparent: 'Przeźroczysty',
|
||||
setTransparent: 'Przeźroczyste',
|
||||
reset: 'Reset',
|
||||
resetToDefault: 'Domyślne'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Skróty klawiaturowe',
|
||||
close: 'Zamknij',
|
||||
textFormatting: 'Formatowanie tekstu',
|
||||
action: 'Akcja',
|
||||
paragraphFormatting: 'Formatowanie akapitu',
|
||||
documentStyle: 'Styl dokumentu',
|
||||
extraKeys: 'Dodatkowe klawisze'
|
||||
},
|
||||
history: {
|
||||
undo: 'Cofnij',
|
||||
redo: 'Ponów'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,132 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'pt-BR': {
|
||||
font: {
|
||||
bold: 'Negrito',
|
||||
italic: 'Itálico',
|
||||
underline: 'Sublinhado',
|
||||
clear: 'Remover estilo da fonte',
|
||||
height: 'Altura da linha',
|
||||
name: 'Fonte',
|
||||
strikethrough: 'Riscado',
|
||||
size: 'Tamanho da fonte'
|
||||
},
|
||||
image: {
|
||||
image: 'Imagem',
|
||||
insert: 'Inserir imagem',
|
||||
resizeFull: 'Redimensionar Completamente',
|
||||
resizeHalf: 'Redimensionar pela Metade',
|
||||
resizeQuarter: 'Redimensionar um Quarto',
|
||||
floatLeft: 'Flutuar para Esquerda',
|
||||
floatRight: 'Flutuar para Direira',
|
||||
floatNone: 'Não Flutuar',
|
||||
dragImageHere: 'Arraste uma imagem para cá',
|
||||
selectFromFiles: 'Selecione a partir dos arquivos',
|
||||
url: 'URL da imagem'
|
||||
},
|
||||
video: {
|
||||
video: 'Vídeo',
|
||||
videoLink: 'Link para vídeo',
|
||||
insert: 'Inserir vídeo',
|
||||
url: 'URL do vídeo?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Link',
|
||||
insert: 'Inserir link',
|
||||
unlink: 'Remover link',
|
||||
edit: 'Editar',
|
||||
textToDisplay: 'Texto para exibir',
|
||||
url: 'Para qual URL esse link leva?',
|
||||
openInNewWindow: 'Abrir em uma nova janela'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabela'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Inserir linha horizontal'
|
||||
},
|
||||
style: {
|
||||
style: 'Estilo',
|
||||
normal: 'Normal',
|
||||
blockquote: 'Citação',
|
||||
pre: 'Código',
|
||||
h1: 'Título 1',
|
||||
h2: 'Título 2',
|
||||
h3: 'Título 3',
|
||||
h4: 'Título 4',
|
||||
h5: 'Título 5',
|
||||
h6: 'Título 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Lista com marcadores',
|
||||
ordered: 'Lista numerada'
|
||||
},
|
||||
options: {
|
||||
help: 'Ajuda',
|
||||
fullscreen: 'Tela cheia',
|
||||
codeview: 'Ver código-fonte'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Parágrafo',
|
||||
outdent: 'Menor tabulação',
|
||||
indent: 'Maior tabulação',
|
||||
left: 'Alinhar à esquerda',
|
||||
center: 'Alinhar ao centro',
|
||||
right: 'Alinha à direita',
|
||||
justify: 'Justificado'
|
||||
},
|
||||
color: {
|
||||
recent: 'Cor recente',
|
||||
more: 'Mais cores',
|
||||
background: 'Fundo',
|
||||
foreground: 'Fonte',
|
||||
transparent: 'Transparente',
|
||||
setTransparent: 'Fundo transparente',
|
||||
reset: 'Restaurar',
|
||||
resetToDefault: 'Restaurar padrão'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Atalhos do teclado',
|
||||
close: 'Fechar',
|
||||
textFormatting: 'Formatação de texto',
|
||||
action: 'Ação',
|
||||
paragraphFormatting: 'Formatação de parágrafo',
|
||||
documentStyle: 'Estilo de documento'
|
||||
},
|
||||
history: {
|
||||
undo: 'Desfazer',
|
||||
redo: 'Refazer'
|
||||
},
|
||||
help: {
|
||||
'insertParagraph': 'Inserir Parágrafo',
|
||||
'undo': 'Desfazer o último comando',
|
||||
'redo': 'Refazer o último comando',
|
||||
'tab': 'Tab',
|
||||
'untab': 'Desfazer tab',
|
||||
'bold': 'Colocar em negrito',
|
||||
'italic': 'Colocar em itálico',
|
||||
'underline': 'Sublinhado',
|
||||
'strikethrough': 'Tachado',
|
||||
'removeFormat': 'Remover estilo',
|
||||
'justifyLeft': 'Alinhar à esquerda',
|
||||
'justifyCenter': 'Centralizar',
|
||||
'justifyRight': 'Alinhar à esquerda',
|
||||
'justifyFull': 'Justificar',
|
||||
'insertUnorderedList': 'Lista não ordenada',
|
||||
'insertOrderedList': 'Lista ordenada',
|
||||
'outdent': 'Recuar parágrafo atual',
|
||||
'indent': 'Avançar parágrafo atual',
|
||||
'formatPara': 'Alterar formato do bloco para parágrafo(tag P)',
|
||||
'formatH1': 'Alterar formato do bloco para H1',
|
||||
'formatH2': 'Alterar formato do bloco para H2',
|
||||
'formatH3': 'Alterar formato do bloco para H3',
|
||||
'formatH4': 'Alterar formato do bloco para H4',
|
||||
'formatH5': 'Alterar formato do bloco para H5',
|
||||
'formatH6': 'Alterar formato do bloco para H6',
|
||||
'insertHorizontalRule': 'Inserir régua horizontal',
|
||||
'linkDialog.show': 'Inserir um Hiperlink'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,103 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'pt-PT': {
|
||||
font: {
|
||||
bold: 'Negrito',
|
||||
italic: 'Itálico',
|
||||
underline: 'Sublinhado',
|
||||
clear: 'Remover estilo da fonte',
|
||||
height: 'Altura da linha',
|
||||
name: 'Fonte',
|
||||
strikethrough: 'Riscado',
|
||||
size: 'Tamanho da fonte'
|
||||
},
|
||||
image: {
|
||||
image: 'Imagem',
|
||||
insert: 'Inserir imagem',
|
||||
resizeFull: 'Redimensionar Completo',
|
||||
resizeHalf: 'Redimensionar Metade',
|
||||
resizeQuarter: 'Redimensionar Um Quarto',
|
||||
floatLeft: 'Float Esquerda',
|
||||
floatRight: 'Float Direita',
|
||||
floatNone: 'Sem Float',
|
||||
dragImageHere: 'Arraste uma imagem para aqui',
|
||||
selectFromFiles: 'Selecione a partir dos arquivos',
|
||||
url: 'Endereço da imagem'
|
||||
},
|
||||
video: {
|
||||
video: 'Vídeo',
|
||||
videoLink: 'Link para vídeo',
|
||||
insert: 'Inserir vídeo',
|
||||
url: 'URL do vídeo?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ou Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Link',
|
||||
insert: 'Inserir ligação',
|
||||
unlink: 'Remover ligação',
|
||||
edit: 'Editar',
|
||||
textToDisplay: 'Texto para exibir',
|
||||
url: 'Que endereço esta licação leva?',
|
||||
openInNewWindow: 'Abrir numa nova janela'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabela'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Inserir linha horizontal'
|
||||
},
|
||||
style: {
|
||||
style: 'Estilo',
|
||||
p: 'p',
|
||||
blockquote: 'Citação',
|
||||
pre: 'Código',
|
||||
h1: 'Título 1',
|
||||
h2: 'Título 2',
|
||||
h3: 'Título 3',
|
||||
h4: 'Título 4',
|
||||
h5: 'Título 5',
|
||||
h6: 'Título 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Lista com marcadores',
|
||||
ordered: 'Lista numerada'
|
||||
},
|
||||
options: {
|
||||
help: 'Ajuda',
|
||||
fullscreen: 'Janela Completa',
|
||||
codeview: 'Ver código-fonte'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Parágrafo',
|
||||
outdent: 'Menor tabulação',
|
||||
indent: 'Maior tabulação',
|
||||
left: 'Alinhar à esquerda',
|
||||
center: 'Alinhar ao centro',
|
||||
right: 'Alinha à direita',
|
||||
justify: 'Justificado'
|
||||
},
|
||||
color: {
|
||||
recent: 'Cor recente',
|
||||
more: 'Mais cores',
|
||||
background: 'Fundo',
|
||||
foreground: 'Fonte',
|
||||
transparent: 'Transparente',
|
||||
setTransparent: 'Fundo transparente',
|
||||
reset: 'Restaurar',
|
||||
resetToDefault: 'Restaurar padrão'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Atalhos do teclado',
|
||||
close: 'Fechar',
|
||||
textFormatting: 'Formatação de texto',
|
||||
action: 'Ação',
|
||||
paragraphFormatting: 'Formatação de parágrafo',
|
||||
documentStyle: 'Estilo de documento'
|
||||
},
|
||||
history: {
|
||||
undo: 'Desfazer',
|
||||
redo: 'Refazer'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,102 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'ro-RO': {
|
||||
font: {
|
||||
bold: 'Îngroșat',
|
||||
italic: 'Înclinat',
|
||||
underline: 'Subliniat',
|
||||
clear: 'Înlătură formatare font',
|
||||
height: 'Înălțime rând',
|
||||
strikethrough: 'Tăiat',
|
||||
size: 'Dimensiune font'
|
||||
},
|
||||
image: {
|
||||
image: 'Imagine',
|
||||
insert: 'Inserează imagine',
|
||||
resizeFull: 'Redimensionează complet',
|
||||
resizeHalf: 'Redimensionează 1/2',
|
||||
resizeQuarter: 'Redimensionează 1/4',
|
||||
floatLeft: 'Aliniere la stânga',
|
||||
floatRight: 'Aliniere la dreapta',
|
||||
floatNone: 'Fară aliniere',
|
||||
dragImageHere: 'Trage o imagine aici',
|
||||
selectFromFiles: 'Alege din fişiere',
|
||||
url: 'URL imagine'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Link video',
|
||||
insert: 'Inserează video',
|
||||
url: 'URL video?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion sau Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Link',
|
||||
insert: 'Inserează link',
|
||||
unlink: 'Înlătură link',
|
||||
edit: 'Editează',
|
||||
textToDisplay: 'Text ce va fi afişat',
|
||||
url: 'Deschidere în fereastra nouă?'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabel'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Inserează o linie orizontală'
|
||||
},
|
||||
style: {
|
||||
style: 'Stil',
|
||||
p: 'p',
|
||||
blockquote: 'Citat',
|
||||
pre: 'Preformatat',
|
||||
h1: 'Titlu 1',
|
||||
h2: 'Titlu 2',
|
||||
h3: 'Titlu 3',
|
||||
h4: 'Titlu 4',
|
||||
h5: 'Titlu 5',
|
||||
h6: 'Titlu 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Listă neordonată',
|
||||
ordered: 'Listă ordonată'
|
||||
},
|
||||
options: {
|
||||
help: 'Ajutor',
|
||||
fullscreen: 'Măreşte',
|
||||
codeview: 'Sursă'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paragraf',
|
||||
outdent: 'Creşte identarea',
|
||||
indent: 'Scade identarea',
|
||||
left: 'Aliniere la stânga',
|
||||
center: 'Aliniere centrală',
|
||||
right: 'Aliniere la dreapta',
|
||||
justify: 'Aliniere în bloc'
|
||||
},
|
||||
color: {
|
||||
recent: 'Culoare recentă',
|
||||
more: 'Mai multe culori',
|
||||
background: 'Culoarea fundalului',
|
||||
foreground: 'Culoarea textului',
|
||||
transparent: 'Transparent',
|
||||
setTransparent: 'Setează transparent',
|
||||
reset: 'Resetează',
|
||||
resetToDefault: 'Revino la iniţial'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Scurtături tastatură',
|
||||
close: 'Închide',
|
||||
textFormatting: 'Formatare text',
|
||||
action: 'Acţiuni',
|
||||
paragraphFormatting: 'Formatare paragraf',
|
||||
documentStyle: 'Stil paragraf'
|
||||
},
|
||||
history: {
|
||||
undo: 'Starea anterioară',
|
||||
redo: 'Starea ulterioară'
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,102 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'sk-SK': {
|
||||
font: {
|
||||
bold: 'Tučné',
|
||||
italic: 'Kurzíva',
|
||||
underline: 'Podčiarknutie',
|
||||
clear: 'Odstrániť štýl písma',
|
||||
height: 'Výška riadku',
|
||||
strikethrough: 'Prečiarknuté',
|
||||
size: 'Veľkosť písma'
|
||||
},
|
||||
image: {
|
||||
image: 'Obrázok',
|
||||
insert: 'Vložiť obrázok',
|
||||
resizeFull: 'Pôvodná veľkosť',
|
||||
resizeHalf: 'Polovičná veľkosť',
|
||||
resizeQuarter: 'Štvrtinová veľkosť',
|
||||
floatLeft: 'Umiestniť doľava',
|
||||
floatRight: 'Umiestniť doprava',
|
||||
floatNone: 'Bez zarovnania',
|
||||
dragImageHere: 'Pretiahnuť sem obrázok',
|
||||
selectFromFiles: 'Vybrať súbor',
|
||||
url: 'URL obrázku'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Odkaz videa',
|
||||
insert: 'Vložiť video',
|
||||
url: 'URL videa?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion alebo Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Odkaz',
|
||||
insert: 'Vytvoriť odkaz',
|
||||
unlink: 'Zrušiť odkaz',
|
||||
edit: 'Upraviť',
|
||||
textToDisplay: 'Zobrazovaný text',
|
||||
url: 'Na akú URL adresu má tento odkaz viesť?',
|
||||
openInNewWindow: 'Otvoriť v novom okne'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabuľka'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Vložit vodorovnú čiaru'
|
||||
},
|
||||
style: {
|
||||
style: 'Štýl',
|
||||
p: 'Normálny',
|
||||
blockquote: 'Citácia',
|
||||
pre: 'Kód',
|
||||
h1: 'Nadpis 1',
|
||||
h2: 'Nadpis 2',
|
||||
h3: 'Nadpis 3',
|
||||
h4: 'Nadpis 4',
|
||||
h5: 'Nadpis 5',
|
||||
h6: 'Nadpis 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Odrážkový zoznam',
|
||||
ordered: 'Číselný zoznam'
|
||||
},
|
||||
options: {
|
||||
help: 'Pomoc',
|
||||
fullscreen: 'Celá obrazovka',
|
||||
codeview: 'HTML kód'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Odsek',
|
||||
outdent: 'Zväčšiť odsadenie',
|
||||
indent: 'Zmenšiť odsadenie',
|
||||
left: 'Zarovnať doľava',
|
||||
center: 'Zarovnať na stred',
|
||||
right: 'Zarovnať doprava',
|
||||
justify: 'Zarovnať obojstranne'
|
||||
},
|
||||
color: {
|
||||
recent: 'Aktuálna farba',
|
||||
more: 'Dalšie farby',
|
||||
background: 'Farba pozadia',
|
||||
foreground: 'Farba písma',
|
||||
transparent: 'Priehľadnosť',
|
||||
setTransparent: 'Nastaviť priehľadnosť',
|
||||
reset: 'Obnoviť',
|
||||
resetToDefault: 'Obnoviť prednastavené'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Klávesové skratky',
|
||||
close: 'Zavrieť',
|
||||
textFormatting: 'Formátovanie textu',
|
||||
action: 'Akcia',
|
||||
paragraphFormatting: 'Formátovanie odseku',
|
||||
documentStyle: 'Štýl dokumentu'
|
||||
},
|
||||
history: {
|
||||
undo: 'Krok vzad',
|
||||
redo: 'Krok dopredu'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,106 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'sl-SI': {
|
||||
font: {
|
||||
bold: 'Krepko',
|
||||
italic: 'Ležeče',
|
||||
underline: 'Podčrtano',
|
||||
clear: 'Počisti oblikovanje izbire',
|
||||
height: 'Razmik med vrsticami',
|
||||
name: 'Pisava',
|
||||
strikethrough: 'Prečrtano',
|
||||
subscript: 'Podpisano',
|
||||
superscript: 'Nadpisano',
|
||||
size: 'Velikost pisave'
|
||||
},
|
||||
image: {
|
||||
image: 'Slika',
|
||||
insert: 'Vstavi sliko',
|
||||
resizeFull: 'Razširi na polno velikost',
|
||||
resizeHalf: 'Razširi na polovico velikosti',
|
||||
resizeQuarter: 'Razširi na četrtino velikosti',
|
||||
floatLeft: 'Leva poravnava',
|
||||
floatRight: 'Desna poravnava',
|
||||
floatNone: 'Brez poravnave',
|
||||
dragImageHere: 'Sem povlecite sliko',
|
||||
selectFromFiles: 'Izberi sliko za nalaganje',
|
||||
url: 'URL naslov slike',
|
||||
remove: 'Odstrani sliko'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Video povezava',
|
||||
insert: 'Vstavi video',
|
||||
url: 'Povezava do videa',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ali Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Povezava',
|
||||
insert: 'Vstavi povezavo',
|
||||
unlink: 'Odstrani povezavo',
|
||||
edit: 'Uredi',
|
||||
textToDisplay: 'Prikazano besedilo',
|
||||
url: 'Povezava',
|
||||
openInNewWindow: 'Odpri v novem oknu'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabela'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Vstavi horizontalno črto'
|
||||
},
|
||||
style: {
|
||||
style: 'Slogi',
|
||||
p: 'Navadno besedilo',
|
||||
blockquote: 'Citat',
|
||||
pre: 'Koda',
|
||||
h1: 'Naslov 1',
|
||||
h2: 'Naslov 2',
|
||||
h3: 'Naslov 3',
|
||||
h4: 'Naslov 4',
|
||||
h5: 'Naslov 5',
|
||||
h6: 'Naslov 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Označen seznam',
|
||||
ordered: 'Oštevilčen seznam'
|
||||
},
|
||||
options: {
|
||||
help: 'Pomoč',
|
||||
fullscreen: 'Celozaslonski način',
|
||||
codeview: 'Pregled HTML kode'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Slogi odstavka',
|
||||
outdent: 'Zmanjšaj odmik',
|
||||
indent: 'Povečaj odmik',
|
||||
left: 'Leva poravnava',
|
||||
center: 'Desna poravnava',
|
||||
right: 'Sredinska poravnava',
|
||||
justify: 'Obojestranska poravnava'
|
||||
},
|
||||
color: {
|
||||
recent: 'Uporabi zadnjo barvo',
|
||||
more: 'Več barv',
|
||||
background: 'Barva ozadja',
|
||||
foreground: 'Barva besedila',
|
||||
transparent: 'Brez barve',
|
||||
setTransparent: 'Brez barve',
|
||||
reset: 'Ponastavi',
|
||||
resetToDefault: 'Ponastavi na privzeto'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Bljižnice',
|
||||
close: 'Zapri',
|
||||
textFormatting: 'Oblikovanje besedila',
|
||||
action: 'Dejanja',
|
||||
paragraphFormatting: 'Oblikovanje odstavka',
|
||||
documentStyle: 'Oblikovanje naslova'
|
||||
},
|
||||
history: {
|
||||
undo: 'Razveljavi',
|
||||
redo: 'Uveljavi'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,104 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'sr-RS': {
|
||||
font: {
|
||||
bold: 'Podebljano',
|
||||
italic: 'Kurziv',
|
||||
underline: 'Podvučeno',
|
||||
clear: 'Ukloni stilove fonta',
|
||||
height: 'Visina linije',
|
||||
strikethrough: 'Precrtano',
|
||||
size: 'Veličina fonta'
|
||||
},
|
||||
image: {
|
||||
image: 'Slika',
|
||||
insert: 'Umetni sliku',
|
||||
resizeFull: 'Puna veličina',
|
||||
resizeHalf: 'Umanji na 50%',
|
||||
resizeQuarter: 'Umanji na 25%',
|
||||
floatLeft: 'Uz levu ivicu',
|
||||
floatRight: 'Uz desnu ivicu',
|
||||
floatNone: 'Bez ravnanja',
|
||||
dragImageHere: 'Prevuci sliku ovde',
|
||||
selectFromFiles: 'Izaberi iz datoteke',
|
||||
url: 'Adresa slike',
|
||||
remove: 'Ukloni sliku'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Veza ka videu',
|
||||
insert: 'Umetni video',
|
||||
url: 'URL video',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Veza',
|
||||
insert: 'Umetni vezu',
|
||||
unlink: 'Ukloni vezu',
|
||||
edit: 'Uredi',
|
||||
textToDisplay: 'Tekst za prikaz',
|
||||
url: 'Internet adresa',
|
||||
openInNewWindow: 'Otvori u novom prozoru'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabela'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Umetni horizontalnu liniju'
|
||||
},
|
||||
style: {
|
||||
style: 'Stil',
|
||||
p: 'pni',
|
||||
blockquote: 'Citat',
|
||||
pre: 'Kod',
|
||||
h1: 'Zaglavlje 1',
|
||||
h2: 'Zaglavlje 2',
|
||||
h3: 'Zaglavlje 3',
|
||||
h4: 'Zaglavlje 4',
|
||||
h5: 'Zaglavlje 5',
|
||||
h6: 'Zaglavlje 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Obična lista',
|
||||
ordered: 'Numerisana lista'
|
||||
},
|
||||
options: {
|
||||
help: 'Pomoć',
|
||||
fullscreen: 'Preko celog ekrana',
|
||||
codeview: 'Izvorni kod'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Paragraf',
|
||||
outdent: 'Smanji uvlačenje',
|
||||
indent: 'Povečaj uvlačenje',
|
||||
left: 'Poravnaj u levo',
|
||||
center: 'Centrirano',
|
||||
right: 'Poravnaj u desno',
|
||||
justify: 'Poravnaj obostrano'
|
||||
},
|
||||
color: {
|
||||
recent: 'Poslednja boja',
|
||||
more: 'Više boja',
|
||||
background: 'Boja pozadine',
|
||||
foreground: 'Boja teksta',
|
||||
transparent: 'Providna',
|
||||
setTransparent: 'Providna',
|
||||
reset: 'Opoziv',
|
||||
resetToDefault: 'Podrazumevana'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Prečice sa tastature',
|
||||
close: 'Zatvori',
|
||||
textFormatting: 'Formatiranje teksta',
|
||||
action: 'Akcija',
|
||||
paragraphFormatting: 'Formatiranje paragrafa',
|
||||
documentStyle: 'Stil dokumenta',
|
||||
extraKeys: 'Dodatne kombinacije'
|
||||
},
|
||||
history: {
|
||||
undo: 'Poništi',
|
||||
redo: 'Ponovi'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,104 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'sv-SE': {
|
||||
font: {
|
||||
bold: 'Fet',
|
||||
italic: 'Kursiv',
|
||||
underline: 'Understruken',
|
||||
clear: 'Radera formatering',
|
||||
height: 'Radavstånd',
|
||||
name: 'Teckensnitt',
|
||||
strikethrough: 'Genomstruken',
|
||||
size: 'Teckenstorlek'
|
||||
},
|
||||
image: {
|
||||
image: 'Bild',
|
||||
insert: 'Infoga bild',
|
||||
resizeFull: 'Full storlek',
|
||||
resizeHalf: 'Halv storlek',
|
||||
resizeQuarter: 'En fjärdedel i storlek',
|
||||
floatLeft: 'Vänsterjusterad',
|
||||
floatRight: 'Högerjusterad',
|
||||
floatNone: 'Ingen justering',
|
||||
dragImageHere: 'Dra en bild hit',
|
||||
selectFromFiles: 'Välj från filer',
|
||||
url: 'Länk till bild',
|
||||
remove: 'Ta bort bild'
|
||||
},
|
||||
video: {
|
||||
video: 'Filmklipp',
|
||||
videoLink: 'Länk till filmklipp',
|
||||
insert: 'Infoga filmklipp',
|
||||
url: 'Länk till filmklipp',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion eller Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Länk',
|
||||
insert: 'Infoga länk',
|
||||
unlink: 'Ta bort länk',
|
||||
edit: 'Redigera',
|
||||
textToDisplay: 'Visningstext',
|
||||
url: 'Till vilken URL ska denna länk peka?',
|
||||
openInNewWindow: 'Öppna i ett nytt fönster'
|
||||
},
|
||||
table: {
|
||||
table: 'Tabell'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Infoga horisontell linje'
|
||||
},
|
||||
style: {
|
||||
style: 'Stil',
|
||||
p: 'p',
|
||||
blockquote: 'Citat',
|
||||
pre: 'Kod',
|
||||
h1: 'Rubrik 1',
|
||||
h2: 'Rubrik 2',
|
||||
h3: 'Rubrik 3',
|
||||
h4: 'Rubrik 4',
|
||||
h5: 'Rubrik 5',
|
||||
h6: 'Rubrik 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Punktlista',
|
||||
ordered: 'Numrerad lista'
|
||||
},
|
||||
options: {
|
||||
help: 'Hjälp',
|
||||
fullscreen: 'Fullskärm',
|
||||
codeview: 'HTML-visning'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Justera text',
|
||||
outdent: 'Minska indrag',
|
||||
indent: 'Öka indrag',
|
||||
left: 'Vänsterjusterad',
|
||||
center: 'Centrerad',
|
||||
right: 'Högerjusterad',
|
||||
justify: 'Justera text'
|
||||
},
|
||||
color: {
|
||||
recent: 'Senast använda färg',
|
||||
more: 'Fler färger',
|
||||
background: 'Bakgrundsfärg',
|
||||
foreground: 'Teckenfärg',
|
||||
transparent: 'Genomskinlig',
|
||||
setTransparent: 'Gör genomskinlig',
|
||||
reset: 'Nollställ',
|
||||
resetToDefault: 'Återställ till standard'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Kortkommandon',
|
||||
close: 'Stäng',
|
||||
textFormatting: 'Textformatering',
|
||||
action: 'Funktion',
|
||||
paragraphFormatting: 'Avsnittsformatering',
|
||||
documentStyle: 'Dokumentstil'
|
||||
},
|
||||
history: {
|
||||
undo: 'Ångra',
|
||||
redo: 'Gör om'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,113 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'ta-IN': {
|
||||
font: {
|
||||
bold: 'தடித்த',
|
||||
italic: 'சாய்வு',
|
||||
underline: 'அடிக்கோடு',
|
||||
clear: 'நீக்கு',
|
||||
height: 'வரி உயரம்',
|
||||
name: 'எழுத்துரு பெயர்',
|
||||
strikethrough: 'குறுக்குக் கோடு',
|
||||
size: 'எழுத்துரு அளவு',
|
||||
superscript: 'மேல் ஒட்டு',
|
||||
subscript: 'கீழ் ஒட்டு'
|
||||
},
|
||||
image: {
|
||||
image: 'படம்',
|
||||
insert: 'படத்தை செருகு',
|
||||
resizeFull: 'முழு அளவை',
|
||||
resizeHalf: 'அரை அளவை',
|
||||
resizeQuarter: 'கால் அளவை',
|
||||
floatLeft: 'இடப்பக்கமாக வை',
|
||||
floatRight: 'வலப்பக்கமாக வை',
|
||||
floatNone: 'இயல்புநிலையில் வை',
|
||||
shapeRounded: 'வட்டமான வடிவம்',
|
||||
shapeCircle: 'வட்ட வடிவம்',
|
||||
shapeThumbnail: 'சிறு வடிவம்',
|
||||
shapeNone: 'வடிவத்தை நீக்கு',
|
||||
dragImageHere: 'படத்தை இங்கே இழுத்துவை',
|
||||
dropImage: 'படத்தை விடு',
|
||||
selectFromFiles: 'கோப்புகளை தேர்வு செய்',
|
||||
maximumFileSize: 'அதிகபட்ச கோப்பு அளவு',
|
||||
maximumFileSizeError: 'கோப்பு அதிகபட்ச அளவை மீறிவிட்டது',
|
||||
url: 'இணையதள முகவரி',
|
||||
remove: 'படத்தை நீக்கு'
|
||||
},
|
||||
video: {
|
||||
video: 'காணொளி',
|
||||
videoLink: 'காணொளி இணைப்பு',
|
||||
insert: 'காணொளியை செருகு',
|
||||
url: 'இணையதள முகவரி',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'இணைப்பு',
|
||||
insert: 'இணைப்பை செருகு',
|
||||
unlink: 'இணைப்பை நீக்கு',
|
||||
edit: 'இணைப்பை தொகு',
|
||||
textToDisplay: 'காட்சி வாசகம்',
|
||||
url: 'இணையதள முகவரி',
|
||||
openInNewWindow: 'புதிய சாளரத்தில் திறக்க'
|
||||
},
|
||||
table: {
|
||||
table: 'அட்டவணை'
|
||||
},
|
||||
hr: {
|
||||
insert: 'கிடைமட்ட கோடு'
|
||||
},
|
||||
style: {
|
||||
style: 'தொகுப்பு',
|
||||
p: 'பத்தி',
|
||||
blockquote: 'மேற்கோள்',
|
||||
pre: 'குறியீடு',
|
||||
h1: 'தலைப்பு 1',
|
||||
h2: 'தலைப்பு 2',
|
||||
h3: 'தலைப்பு 3',
|
||||
h4: 'தலைப்பு 4',
|
||||
h5: 'தலைப்பு 5',
|
||||
h6: 'தலைப்பு 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'வரிசையிடாத',
|
||||
ordered: 'வரிசையிட்ட'
|
||||
},
|
||||
options: {
|
||||
help: 'உதவி',
|
||||
fullscreen: 'முழுத்திரை',
|
||||
codeview: 'நிரலாக்க காட்சி'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'பத்தி',
|
||||
outdent: 'வெளித்தள்ளு',
|
||||
indent: 'உள்ளே தள்ளு',
|
||||
left: 'இடது சீரமைப்பு',
|
||||
center: 'நடு சீரமைப்பு',
|
||||
right: 'வலது சீரமைப்பு',
|
||||
justify: 'இருபுற சீரமைப்பு'
|
||||
},
|
||||
color: {
|
||||
recent: 'அண்மை நிறம்',
|
||||
more: 'மேலும்',
|
||||
background: 'பின்புல நிறம்',
|
||||
foreground: 'முன்புற நிறம்',
|
||||
transparent: 'தெளிமையான',
|
||||
setTransparent: 'தெளிமையாக்கு',
|
||||
reset: 'மீட்டமைக்க',
|
||||
resetToDefault: 'இயல்புநிலைக்கு மீட்டமை'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'குறுக்குவழி',
|
||||
close: 'மூடு',
|
||||
textFormatting: 'எழுத்து வடிவமைப்பு',
|
||||
action: 'செயல்படுத்து',
|
||||
paragraphFormatting: 'பத்தி வடிவமைப்பு',
|
||||
documentStyle: 'ஆவண பாணி'
|
||||
},
|
||||
history: {
|
||||
undo: 'மீளமை',
|
||||
redo: 'மீண்டும்'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,106 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'th-TH': {
|
||||
font: {
|
||||
bold: 'ตัวหนา',
|
||||
italic: 'ตัวเอียง',
|
||||
underline: 'ขีดเส้นใต้',
|
||||
clear: 'ล้างรูปแบบตัวอักษร',
|
||||
height: 'ความสูงบรรทัด',
|
||||
name: 'แบบตัวอักษร',
|
||||
strikethrough: 'ขีดฆ่า',
|
||||
subscript: 'ตัวห้อย',
|
||||
superscript: 'ตัวยก',
|
||||
size: 'ขนาดตัวอักษร'
|
||||
},
|
||||
image: {
|
||||
image: 'รูปภาพ',
|
||||
insert: 'แทรกรูปภาพ',
|
||||
resizeFull: 'ปรับขนาดเท่าจริง',
|
||||
resizeHalf: 'ปรับขนาดลง 50%',
|
||||
resizeQuarter: 'ปรับขนาดลง 25%',
|
||||
floatLeft: 'ชิดซ้าย',
|
||||
floatRight: 'ชิดขวา',
|
||||
floatNone: 'ไม่จัดตำแหน่ง',
|
||||
dragImageHere: 'ลากรูปภาพที่ต้องการไว้ที่นี่',
|
||||
selectFromFiles: 'เลือกไฟล์รูปภาพ',
|
||||
url: 'ที่อยู่ URL ของรูปภาพ',
|
||||
remove: 'ลบรูปภาพ'
|
||||
},
|
||||
video: {
|
||||
video: 'วีดีโอ',
|
||||
videoLink: 'ลิงก์ของวีดีโอ',
|
||||
insert: 'แทรกวีดีโอ',
|
||||
url: 'ที่อยู่ URL ของวีดีโอ?',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion หรือ Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'ตัวเชื่อมโยง',
|
||||
insert: 'แทรกตัวเชื่อมโยง',
|
||||
unlink: 'ยกเลิกตัวเชื่อมโยง',
|
||||
edit: 'แก้ไข',
|
||||
textToDisplay: 'ข้อความที่ให้แสดง',
|
||||
url: 'ที่อยู่เว็บไซต์ที่ต้องการให้เชื่อมโยงไปถึง?',
|
||||
openInNewWindow: 'เปิดในหน้าต่างใหม่'
|
||||
},
|
||||
table: {
|
||||
table: 'ตาราง'
|
||||
},
|
||||
hr: {
|
||||
insert: 'แทรกเส้นคั่น'
|
||||
},
|
||||
style: {
|
||||
style: 'รูปแบบ',
|
||||
p: 'ปกติ',
|
||||
blockquote: 'ข้อความ',
|
||||
pre: 'โค้ด',
|
||||
h1: 'หัวข้อ 1',
|
||||
h2: 'หัวข้อ 2',
|
||||
h3: 'หัวข้อ 3',
|
||||
h4: 'หัวข้อ 4',
|
||||
h5: 'หัวข้อ 5',
|
||||
h6: 'หัวข้อ 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'รายการแบบไม่มีลำดับ',
|
||||
ordered: 'รายการแบบมีลำดับ'
|
||||
},
|
||||
options: {
|
||||
help: 'ช่วยเหลือ',
|
||||
fullscreen: 'ขยายเต็มหน้าจอ',
|
||||
codeview: 'ซอร์สโค้ด'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'ย่อหน้า',
|
||||
outdent: 'เยื้องซ้าย',
|
||||
indent: 'เยื้องขวา',
|
||||
left: 'จัดหน้าชิดซ้าย',
|
||||
center: 'จัดหน้ากึ่งกลาง',
|
||||
right: 'จัดหน้าชิดขวา',
|
||||
justify: 'จัดบรรทัดเสมอกัน'
|
||||
},
|
||||
color: {
|
||||
recent: 'สีที่ใช้ล่าสุด',
|
||||
more: 'สีอื่นๆ',
|
||||
background: 'สีพื้นหลัง',
|
||||
foreground: 'สีพื้นหน้า',
|
||||
transparent: 'โปร่งแสง',
|
||||
setTransparent: 'ตั้งค่าความโปร่งแสง',
|
||||
reset: 'คืนค่า',
|
||||
resetToDefault: 'คืนค่ามาตรฐาน'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'แป้นลัด',
|
||||
close: 'ปิด',
|
||||
textFormatting: 'การจัดรูปแบบข้อความ',
|
||||
action: 'การกระทำ',
|
||||
paragraphFormatting: 'การจัดรูปแบบย่อหน้า',
|
||||
documentStyle: 'รูปแบบของเอกสาร'
|
||||
},
|
||||
history: {
|
||||
undo: 'ยกเลิกการกระทำ',
|
||||
redo: 'ทำซ้ำการกระทำ'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,104 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'vi-VN': {
|
||||
font: {
|
||||
bold: 'In Đậm',
|
||||
italic: 'In Nghiêng',
|
||||
underline: 'Gạch dưới',
|
||||
clear: 'Bỏ định dạng',
|
||||
height: 'Chiều cao dòng',
|
||||
name: 'Phông chữ',
|
||||
strikethrough: 'Gạch ngang',
|
||||
size: 'Cỡ chữ'
|
||||
},
|
||||
image: {
|
||||
image: 'Hình ảnh',
|
||||
insert: 'Chèn',
|
||||
resizeFull: '100%',
|
||||
resizeHalf: '50%',
|
||||
resizeQuarter: '25%',
|
||||
floatLeft: 'Trôi về trái',
|
||||
floatRight: 'Trôi về phải',
|
||||
floatNone: 'Không trôi',
|
||||
dragImageHere: 'Thả Ảnh ở vùng này',
|
||||
selectFromFiles: 'Chọn từ File',
|
||||
url: 'URL',
|
||||
remove: 'Xóa'
|
||||
},
|
||||
video: {
|
||||
video: 'Video',
|
||||
videoLink: 'Link đến Video',
|
||||
insert: 'Chèn Video',
|
||||
url: 'URL',
|
||||
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion và Youku)'
|
||||
},
|
||||
link: {
|
||||
link: 'Link',
|
||||
insert: 'Chèn Link',
|
||||
unlink: 'Gỡ Link',
|
||||
edit: 'Sửa',
|
||||
textToDisplay: 'Văn bản hiển thị',
|
||||
url: 'URL',
|
||||
openInNewWindow: 'Mở ở Cửa sổ mới'
|
||||
},
|
||||
table: {
|
||||
table: 'Bảng'
|
||||
},
|
||||
hr: {
|
||||
insert: 'Chèn'
|
||||
},
|
||||
style: {
|
||||
style: 'Kiểu chữ',
|
||||
p: 'Chữ thường',
|
||||
blockquote: 'Đoạn trích',
|
||||
pre: 'Mã Code',
|
||||
h1: 'H1',
|
||||
h2: 'H2',
|
||||
h3: 'H3',
|
||||
h4: 'H4',
|
||||
h5: 'H5',
|
||||
h6: 'H6'
|
||||
},
|
||||
lists: {
|
||||
unordered: 'Liệt kê danh sách',
|
||||
ordered: 'Liệt kê theo thứ tự'
|
||||
},
|
||||
options: {
|
||||
help: 'Trợ giúp',
|
||||
fullscreen: 'Toàn Màn hình',
|
||||
codeview: 'Xem Code'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: 'Canh lề',
|
||||
outdent: 'Dịch sang trái',
|
||||
indent: 'Dịch sang phải',
|
||||
left: 'Canh trái',
|
||||
center: 'Canh giữa',
|
||||
right: 'Canh phải',
|
||||
justify: 'Canh đều'
|
||||
},
|
||||
color: {
|
||||
recent: 'Màu chữ',
|
||||
more: 'Mở rộng',
|
||||
background: 'Màu nền',
|
||||
foreground: 'Màu chữ',
|
||||
transparent: 'trong suốt',
|
||||
setTransparent: 'Nền trong suốt',
|
||||
reset: 'Thiết lập lại',
|
||||
resetToDefault: 'Trở lại ban đầu'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: 'Phím tắt',
|
||||
close: 'Đóng',
|
||||
textFormatting: 'Định dạng Văn bản',
|
||||
action: 'Hành động',
|
||||
paragraphFormatting: 'Định dạng',
|
||||
documentStyle: 'Kiểu văn bản'
|
||||
},
|
||||
history: {
|
||||
undo: 'Lùi lại',
|
||||
redo: 'Làm lại'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,142 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'zh-CN': {
|
||||
font: {
|
||||
bold: '粗体',
|
||||
italic: '斜体',
|
||||
underline: '下划线',
|
||||
clear: '清除格式',
|
||||
height: '行高',
|
||||
name: '字体',
|
||||
strikethrough: '删除线',
|
||||
subscript: '下标',
|
||||
superscript: '上标',
|
||||
size: '字号'
|
||||
},
|
||||
image: {
|
||||
image: '图片',
|
||||
insert: '插入图片',
|
||||
resizeFull: '缩放至 100%',
|
||||
resizeHalf: '缩放至 50%',
|
||||
resizeQuarter: '缩放至 25%',
|
||||
floatLeft: '靠左浮动',
|
||||
floatRight: '靠右浮动',
|
||||
floatNone: '取消浮动',
|
||||
shapeRounded: '形状: 圆角',
|
||||
shapeCircle: '形状: 圆',
|
||||
shapeThumbnail: '形状: 缩略图',
|
||||
shapeNone: '形状: 无',
|
||||
dragImageHere: '将图片拖拽至此处',
|
||||
selectFromFiles: '从本地上传',
|
||||
maximumFileSize: '文件大小最大值',
|
||||
maximumFileSizeError: '文件大小超出最大值。',
|
||||
url: '图片地址',
|
||||
remove: '移除图片'
|
||||
},
|
||||
video: {
|
||||
video: '视频',
|
||||
videoLink: '视频链接',
|
||||
insert: '插入视频',
|
||||
url: '视频地址',
|
||||
providers: '(优酷, Instagram, DailyMotion, Youtube等)'
|
||||
},
|
||||
link: {
|
||||
link: '链接',
|
||||
insert: '插入链接',
|
||||
unlink: '去除链接',
|
||||
edit: '编辑链接',
|
||||
textToDisplay: '显示文本',
|
||||
url: '链接地址',
|
||||
openInNewWindow: '在新窗口打开'
|
||||
},
|
||||
table: {
|
||||
table: '表格'
|
||||
},
|
||||
hr: {
|
||||
insert: '水平线'
|
||||
},
|
||||
style: {
|
||||
style: '样式',
|
||||
p: '普通',
|
||||
blockquote: '引用',
|
||||
pre: '代码',
|
||||
h1: '标题 1',
|
||||
h2: '标题 2',
|
||||
h3: '标题 3',
|
||||
h4: '标题 4',
|
||||
h5: '标题 5',
|
||||
h6: '标题 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: '无序列表',
|
||||
ordered: '有序列表'
|
||||
},
|
||||
options: {
|
||||
help: '帮助',
|
||||
fullscreen: '全屏',
|
||||
codeview: '源代码'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: '段落',
|
||||
outdent: '减少缩进',
|
||||
indent: '增加缩进',
|
||||
left: '左对齐',
|
||||
center: '居中对齐',
|
||||
right: '右对齐',
|
||||
justify: '两端对齐'
|
||||
},
|
||||
color: {
|
||||
recent: '最近使用',
|
||||
more: '更多',
|
||||
background: '背景',
|
||||
foreground: '前景',
|
||||
transparent: '透明',
|
||||
setTransparent: '透明',
|
||||
reset: '重置',
|
||||
resetToDefault: '默认'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: '快捷键',
|
||||
close: '关闭',
|
||||
textFormatting: '文本格式',
|
||||
action: '动作',
|
||||
paragraphFormatting: '段落格式',
|
||||
documentStyle: '文档样式',
|
||||
extraKeys: '额外按键'
|
||||
},
|
||||
history: {
|
||||
undo: '撤销',
|
||||
redo: '重做'
|
||||
},
|
||||
help: {
|
||||
insertParagraph: '插入段落',
|
||||
undo: '撤销',
|
||||
redo: '重做',
|
||||
tab: '增加缩进',
|
||||
untab: '减少缩进',
|
||||
bold: '粗体',
|
||||
italic: '斜体',
|
||||
underline: '下划线',
|
||||
strikethrough: '删除线',
|
||||
removeFormat: '清除格式',
|
||||
justifyLeft: '左对齐',
|
||||
justifyCenter: '居中对齐',
|
||||
justifyRight: '右对齐',
|
||||
justifyFull: '两端对齐',
|
||||
insertUnorderedList: '无序列表',
|
||||
insertOrderedList: '有序列表',
|
||||
outdent: '减少缩进',
|
||||
indent: '增加缩进',
|
||||
formatPara: '设置选中内容样式为 普通',
|
||||
formatH1: '设置选中内容样式为 标题1',
|
||||
formatH2: '设置选中内容样式为 标题2',
|
||||
formatH3: '设置选中内容样式为 标题3',
|
||||
formatH4: '设置选中内容样式为 标题4',
|
||||
formatH5: '设置选中内容样式为 标题5',
|
||||
formatH6: '设置选中内容样式为 标题6',
|
||||
insertHorizontalRule: '插入水平线',
|
||||
'linkDialog.show': '显示链接对话框'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,113 @@
|
||||
(function ($) {
|
||||
$.extend($.summernote.lang, {
|
||||
'zh-TW': {
|
||||
font: {
|
||||
bold: '粗體',
|
||||
italic: '斜體',
|
||||
underline: '底線',
|
||||
clear: '清除格式',
|
||||
height: '行高',
|
||||
name: '字體',
|
||||
strikethrough: '刪除線',
|
||||
subscript: '下標',
|
||||
superscript: '上標',
|
||||
size: '字號'
|
||||
},
|
||||
image: {
|
||||
image: '圖片',
|
||||
insert: '插入圖片',
|
||||
resizeFull: '縮放至100%',
|
||||
resizeHalf: '縮放至 50%',
|
||||
resizeQuarter: '縮放至 25%',
|
||||
floatLeft: '靠左浮動',
|
||||
floatRight: '靠右浮動',
|
||||
floatNone: '取消浮動',
|
||||
shapeRounded: '形狀: 圓角',
|
||||
shapeCircle: '形狀: 圓',
|
||||
shapeThumbnail: '形狀: 縮略圖',
|
||||
shapeNone: '形狀: 無',
|
||||
dragImageHere: '將圖片拖曳至此處',
|
||||
selectFromFiles: '從本機上傳',
|
||||
maximumFileSize: '文件大小最大值',
|
||||
maximumFileSizeError: '文件大小超出最大值。',
|
||||
url: '圖片網址',
|
||||
remove: '移除圖片'
|
||||
},
|
||||
video: {
|
||||
video: '影片',
|
||||
videoLink: '影片連結',
|
||||
insert: '插入影片',
|
||||
url: '影片網址',
|
||||
providers: '(優酷, Instagram, DailyMotion, Youtube等)'
|
||||
},
|
||||
link: {
|
||||
link: '連結',
|
||||
insert: '插入連結',
|
||||
unlink: '取消連結',
|
||||
edit: '編輯連結',
|
||||
textToDisplay: '顯示文字',
|
||||
url: '連結網址',
|
||||
openInNewWindow: '在新視窗開啟'
|
||||
},
|
||||
table: {
|
||||
table: '表格'
|
||||
},
|
||||
hr: {
|
||||
insert: '水平線'
|
||||
},
|
||||
style: {
|
||||
style: '樣式',
|
||||
p: '一般',
|
||||
blockquote: '引用區塊',
|
||||
pre: '程式碼區塊',
|
||||
h1: '標題 1',
|
||||
h2: '標題 2',
|
||||
h3: '標題 3',
|
||||
h4: '標題 4',
|
||||
h5: '標題 5',
|
||||
h6: '標題 6'
|
||||
},
|
||||
lists: {
|
||||
unordered: '項目清單',
|
||||
ordered: '編號清單'
|
||||
},
|
||||
options: {
|
||||
help: '幫助',
|
||||
fullscreen: '全螢幕',
|
||||
codeview: '原始碼'
|
||||
},
|
||||
paragraph: {
|
||||
paragraph: '段落',
|
||||
outdent: '取消縮排',
|
||||
indent: '增加縮排',
|
||||
left: '靠右對齊',
|
||||
center: '靠中對齊',
|
||||
right: '靠右對齊',
|
||||
justify: '左右對齊'
|
||||
},
|
||||
color: {
|
||||
recent: '字型顏色',
|
||||
more: '更多',
|
||||
background: '背景',
|
||||
foreground: '前景',
|
||||
transparent: '透明',
|
||||
setTransparent: '透明',
|
||||
reset: '重設',
|
||||
resetToDefault: '默認'
|
||||
},
|
||||
shortcut: {
|
||||
shortcuts: '快捷鍵',
|
||||
close: '關閉',
|
||||
textFormatting: '文字格式',
|
||||
action: '動作',
|
||||
paragraphFormatting: '段落格式',
|
||||
documentStyle: '文件格式',
|
||||
extraKeys: '額外按鍵'
|
||||
},
|
||||
history: {
|
||||
undo: '復原',
|
||||
redo: '取消復原'
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
@ -0,0 +1,16 @@
|
||||
.ext-databasic {
|
||||
position: relative;
|
||||
display: block;
|
||||
min-height: 50px;
|
||||
background-color: cyan;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
border: 1px solid white;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.ext-databasic p {
|
||||
color: white;
|
||||
font-size: 1.2em;
|
||||
margin: 0;
|
||||
}
|
@ -0,0 +1,303 @@
|
||||
(function (factory) {
|
||||
/* global define */
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// Node/CommonJS
|
||||
module.exports = factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory(window.jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
|
||||
// pull in some summernote core functions
|
||||
var ui = $.summernote.ui;
|
||||
var dom = $.summernote.dom;
|
||||
|
||||
// define the popover plugin
|
||||
var DataBasicPlugin = function (context) {
|
||||
var self = this;
|
||||
var options = context.options;
|
||||
var lang = options.langInfo;
|
||||
|
||||
self.icon = '<i class="fa fa-object-group"/>';
|
||||
|
||||
// add context menu button for dialog
|
||||
context.memo('button.databasic', function () {
|
||||
return ui.button({
|
||||
contents: self.icon,
|
||||
tooltip: lang.databasic.insert,
|
||||
click: context.createInvokeHandler('databasic.showDialog')
|
||||
}).render();
|
||||
});
|
||||
|
||||
// add popover edit button
|
||||
context.memo('button.databasicDialog', function () {
|
||||
return ui.button({
|
||||
contents: self.icon,
|
||||
tooltip: lang.databasic.edit,
|
||||
click: context.createInvokeHandler('databasic.showDialog')
|
||||
}).render();
|
||||
});
|
||||
|
||||
// add popover size buttons
|
||||
context.memo('button.databasicSize100', function () {
|
||||
return ui.button({
|
||||
contents: '<span class="note-fontsize-10">100%</span>',
|
||||
tooltip: lang.image.resizeFull,
|
||||
click: context.createInvokeHandler('editor.resize', '1')
|
||||
}).render();
|
||||
});
|
||||
context.memo('button.databasicSize50', function () {
|
||||
return ui.button({
|
||||
contents: '<span class="note-fontsize-10">50%</span>',
|
||||
tooltip: lang.image.resizeHalf,
|
||||
click: context.createInvokeHandler('editor.resize', '0.5')
|
||||
}).render();
|
||||
});
|
||||
context.memo('button.databasicSize25', function () {
|
||||
return ui.button({
|
||||
contents: '<span class="note-fontsize-10">25%</span>',
|
||||
tooltip: lang.image.resizeQuarter,
|
||||
click: context.createInvokeHandler('editor.resize', '0.25')
|
||||
}).render();
|
||||
});
|
||||
|
||||
self.events = {
|
||||
'summernote.init': function (we, e) {
|
||||
// update existing containers
|
||||
$('data.ext-databasic', e.editable).each(function () { self.setContent($(this)); });
|
||||
// TODO: make this an undo snapshot...
|
||||
},
|
||||
'summernote.keyup summernote.mouseup summernote.change summernote.scroll': function () {
|
||||
self.update();
|
||||
},
|
||||
'summernote.dialog.shown': function () {
|
||||
self.hidePopover();
|
||||
}
|
||||
};
|
||||
|
||||
self.initialize = function () {
|
||||
// create dialog markup
|
||||
var $container = options.dialogsInBody ? $(document.body) : context.layoutInfo.editor;
|
||||
|
||||
var body = '<div class="form-group row-fluid">' +
|
||||
'<label>' + lang.databasic.testLabel + '</label>' +
|
||||
'<input class="ext-databasic-test form-control" type="text" />' +
|
||||
'</div>';
|
||||
var footer = '<button href="#" class="btn btn-primary ext-databasic-save">' + lang.databasic.insert + '</button>';
|
||||
|
||||
self.$dialog = ui.dialog({
|
||||
title: lang.databasic.name,
|
||||
fade: options.dialogsFade,
|
||||
body: body,
|
||||
footer: footer
|
||||
}).render().appendTo($container);
|
||||
|
||||
// create popover
|
||||
self.$popover = ui.popover({
|
||||
className: 'ext-databasic-popover'
|
||||
}).render().appendTo('body');
|
||||
var $content = self.$popover.find('.popover-content');
|
||||
|
||||
context.invoke('buttons.build', $content, options.popover.databasic);
|
||||
};
|
||||
|
||||
self.destroy = function () {
|
||||
self.$popover.remove();
|
||||
self.$popover = null;
|
||||
self.$dialog.remove();
|
||||
self.$dialog = null;
|
||||
};
|
||||
|
||||
self.update = function () {
|
||||
// Prevent focusing on editable when invoke('code') is executed
|
||||
if (!context.invoke('editor.hasFocus')) {
|
||||
self.hidePopover();
|
||||
return;
|
||||
}
|
||||
|
||||
var rng = context.invoke('editor.createRange');
|
||||
var visible = false;
|
||||
|
||||
if (rng.isOnData())
|
||||
{
|
||||
var $data = $(rng.sc).closest('data.ext-databasic');
|
||||
|
||||
if ($data.length)
|
||||
{
|
||||
var pos = dom.posFromPlaceholder($data[0]);
|
||||
|
||||
self.$popover.css({
|
||||
display: 'block',
|
||||
left: pos.left,
|
||||
top: pos.top
|
||||
});
|
||||
|
||||
// save editor target to let size buttons resize the container
|
||||
context.invoke('editor.saveTarget', $data[0]);
|
||||
|
||||
visible = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// hide if not visible
|
||||
if (!visible) {
|
||||
self.hidePopover();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
self.hidePopover = function () {
|
||||
self.$popover.hide();
|
||||
};
|
||||
|
||||
// define plugin dialog
|
||||
self.getInfo = function () {
|
||||
var rng = context.invoke('editor.createRange');
|
||||
|
||||
if (rng.isOnData())
|
||||
{
|
||||
var $data = $(rng.sc).closest('data.ext-databasic');
|
||||
|
||||
if ($data.length)
|
||||
{
|
||||
// Get the first node on range(for edit).
|
||||
return {
|
||||
node: $data,
|
||||
test: $data.attr('data-test')
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
return {};
|
||||
};
|
||||
|
||||
self.setContent = function ($node) {
|
||||
$node.html('<p contenteditable="false">' + self.icon + ' ' + lang.databasic.name + ': ' +
|
||||
$node.attr('data-test') + '</p>');
|
||||
};
|
||||
|
||||
self.updateNode = function (info) {
|
||||
self.setContent(info.node
|
||||
.attr('data-test', info.test));
|
||||
};
|
||||
|
||||
self.createNode = function (info) {
|
||||
var $node = $('<data class="ext-databasic"></data>');
|
||||
|
||||
if ($node) {
|
||||
// save node to info structure
|
||||
info.node = $node;
|
||||
// insert node into editor dom
|
||||
context.invoke('editor.insertNode', $node[0]);
|
||||
}
|
||||
|
||||
return $node;
|
||||
};
|
||||
|
||||
self.showDialog = function () {
|
||||
var info = self.getInfo();
|
||||
var newNode = !info.node;
|
||||
context.invoke('editor.saveRange');
|
||||
|
||||
self
|
||||
.openDialog(info)
|
||||
.then(function (dialogInfo) {
|
||||
// [workaround] hide dialog before restore range for IE range focus
|
||||
ui.hideDialog(self.$dialog);
|
||||
context.invoke('editor.restoreRange');
|
||||
|
||||
// insert a new node
|
||||
if (newNode)
|
||||
{
|
||||
self.createNode(info);
|
||||
}
|
||||
|
||||
// update info with dialog info
|
||||
$.extend(info, dialogInfo);
|
||||
|
||||
self.updateNode(info);
|
||||
})
|
||||
.fail(function () {
|
||||
context.invoke('editor.restoreRange');
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
self.openDialog = function (info) {
|
||||
return $.Deferred(function (deferred) {
|
||||
var $inpTest = self.$dialog.find('.ext-databasic-test');
|
||||
var $saveBtn = self.$dialog.find('.ext-databasic-save');
|
||||
var onKeyup = function (event) {
|
||||
if (event.keyCode === 13)
|
||||
{
|
||||
$saveBtn.trigger('click');
|
||||
}
|
||||
};
|
||||
|
||||
ui.onDialogShown(self.$dialog, function () {
|
||||
context.triggerEvent('dialog.shown');
|
||||
|
||||
$inpTest.val(info.test).on('input', function () {
|
||||
ui.toggleBtn($saveBtn, $inpTest.val());
|
||||
}).trigger('focus').on('keyup', onKeyup);
|
||||
|
||||
$saveBtn
|
||||
.text(info.node ? lang.databasic.edit : lang.databasic.insert)
|
||||
.click(function (event) {
|
||||
event.preventDefault();
|
||||
|
||||
deferred.resolve({ test: $inpTest.val() });
|
||||
});
|
||||
|
||||
// init save button
|
||||
ui.toggleBtn($saveBtn, $inpTest.val());
|
||||
});
|
||||
|
||||
ui.onDialogHidden(self.$dialog, function () {
|
||||
$inpTest.off('input keyup');
|
||||
$saveBtn.off('click');
|
||||
|
||||
if (deferred.state() === 'pending') {
|
||||
deferred.reject();
|
||||
}
|
||||
});
|
||||
|
||||
ui.showDialog(self.$dialog);
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
// Extends summernote
|
||||
$.extend(true, $.summernote, {
|
||||
plugins: {
|
||||
databasic: DataBasicPlugin
|
||||
},
|
||||
|
||||
options: {
|
||||
popover: {
|
||||
databasic: [
|
||||
['databasic', ['databasicDialog', 'databasicSize100', 'databasicSize50', 'databasicSize25']]
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
// add localization texts
|
||||
lang: {
|
||||
'en-US': {
|
||||
databasic: {
|
||||
name: 'Basic Data Container',
|
||||
insert: 'insert basic data container',
|
||||
edit: 'edit basic data container',
|
||||
testLabel: 'test input'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}));
|
@ -0,0 +1,82 @@
|
||||
(function (factory) {
|
||||
/* global define */
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// Node/CommonJS
|
||||
module.exports = factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory(window.jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
|
||||
// Extends plugins for adding hello.
|
||||
// - plugin is external module for customizing.
|
||||
$.extend($.summernote.plugins, {
|
||||
/**
|
||||
* @param {Object} context - context object has status of editor.
|
||||
*/
|
||||
'hello': function (context) {
|
||||
var self = this;
|
||||
|
||||
// ui has renders to build ui elements.
|
||||
// - you can create a button with `ui.button`
|
||||
var ui = $.summernote.ui;
|
||||
|
||||
// add hello button
|
||||
context.memo('button.hello', function () {
|
||||
// create button
|
||||
var button = ui.button({
|
||||
contents: '<i class="fa fa-child"/> Hello',
|
||||
tooltip: 'hello',
|
||||
click: function () {
|
||||
self.$panel.show();
|
||||
self.$panel.hide(500);
|
||||
// invoke insertText method with 'hello' on editor module.
|
||||
context.invoke('editor.insertText', 'hello');
|
||||
}
|
||||
});
|
||||
|
||||
// create jQuery object from button instance.
|
||||
var $hello = button.render();
|
||||
return $hello;
|
||||
});
|
||||
|
||||
// This events will be attached when editor is initialized.
|
||||
this.events = {
|
||||
// This will be called after modules are initialized.
|
||||
'summernote.init': function (we, e) {
|
||||
console.log('summernote initialized', we, e);
|
||||
},
|
||||
// This will be called when user releases a key on editable.
|
||||
'summernote.keyup': function (we, e) {
|
||||
console.log('summernote keyup', we, e);
|
||||
}
|
||||
};
|
||||
|
||||
// This method will be called when editor is initialized by $('..').summernote();
|
||||
// You can create elements for plugin
|
||||
this.initialize = function () {
|
||||
this.$panel = $('<div class="hello-panel"/>').css({
|
||||
position: 'absolute',
|
||||
width: 100,
|
||||
height: 100,
|
||||
left: '50%',
|
||||
top: '50%',
|
||||
background: 'red'
|
||||
}).hide();
|
||||
|
||||
this.$panel.appendTo('body');
|
||||
};
|
||||
|
||||
// This methods will be called when editor is destroyed by $('..').summernote('destroy');
|
||||
// You should remove elements on `initialize`.
|
||||
this.destroy = function () {
|
||||
this.$panel.remove();
|
||||
this.$panel = null;
|
||||
};
|
||||
}
|
||||
});
|
||||
}));
|
@ -0,0 +1,315 @@
|
||||
(function (factory) {
|
||||
/* global define */
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// Node/CommonJS
|
||||
module.exports = factory(require('jquery'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory(window.jQuery);
|
||||
}
|
||||
}(function ($) {
|
||||
$.extend($.summernote.plugins, {
|
||||
'specialchars': function (context) {
|
||||
var self = this;
|
||||
var ui = $.summernote.ui;
|
||||
|
||||
var $editor = context.layoutInfo.editor;
|
||||
var options = context.options;
|
||||
var lang = options.langInfo;
|
||||
|
||||
var KEY = {
|
||||
UP: 38,
|
||||
DOWN: 40,
|
||||
LEFT: 37,
|
||||
RIGHT: 39,
|
||||
ENTER: 13
|
||||
};
|
||||
var COLUMN_LENGTH = 15;
|
||||
var COLUMN_WIDTH = 35;
|
||||
|
||||
var currentColumn, currentRow, totalColumn, totalRow = 0;
|
||||
|
||||
// special characters data set
|
||||
var specialCharDataSet = [
|
||||
'"', '&', '<', '>', '¡', '¢',
|
||||
'£', '¤', '¥', '¦', '§',
|
||||
'¨', '©', 'ª', '«', '¬',
|
||||
'®', '¯', '°', '±', '²',
|
||||
'³', '´', 'µ', '¶', '·',
|
||||
'¸', '¹', 'º', '»', '¼',
|
||||
'½', '¾', '¿', '×', '÷',
|
||||
'ƒ', 'ˆ', '˜', '–', '—',
|
||||
'‘', '’', '‚', '“', '”',
|
||||
'„', '†', '‡', '•', '…',
|
||||
'‰', '′', '″', '‹', '›',
|
||||
'‾', '⁄', '€', 'ℑ', '℘',
|
||||
'ℜ', '™', 'ℵ', '←', '↑',
|
||||
'→', '↓', '↔', '↵', '⇐',
|
||||
'⇑', '⇒', '⇓', '⇔', '∀',
|
||||
'∂', '∃', '∅', '∇', '∈',
|
||||
'∉', '∋', '∏', '∑', '−',
|
||||
'∗', '√', '∝', '∞', '∠',
|
||||
'∧', '∨', '∩', '∪', '∫',
|
||||
'∴', '∼', '≅', '≈', '≠',
|
||||
'≡', '≤', '≥', '⊂', '⊃',
|
||||
'⊄', '⊆', '⊇', '⊕', '⊗',
|
||||
'⊥', '⋅', '⌈', '⌉', '⌊',
|
||||
'⌋', '◊', '♠', '♣', '♥',
|
||||
'♦'
|
||||
];
|
||||
|
||||
context.memo('button.specialCharacter', function () {
|
||||
return ui.button({
|
||||
contents: '<i class="fa fa-font fa-flip-vertical">',
|
||||
tooltip: lang.specialChar.specialChar,
|
||||
click: function () {
|
||||
self.show();
|
||||
}
|
||||
}).render();
|
||||
});
|
||||
|
||||
/**
|
||||
* Make Special Characters Table
|
||||
*
|
||||
* @member plugin.specialChar
|
||||
* @private
|
||||
* @return {jQuery}
|
||||
*/
|
||||
this.makeSpecialCharSetTable = function () {
|
||||
var $table = $('<table/>');
|
||||
$.each(specialCharDataSet, function (idx, text) {
|
||||
var $td = $('<td/>').addClass('note-specialchar-node');
|
||||
var $tr = (idx % COLUMN_LENGTH === 0) ? $('<tr/>') : $table.find('tr').last();
|
||||
|
||||
var $button = ui.button({
|
||||
callback: function ($node) {
|
||||
$node.html(text);
|
||||
$node.attr('title', text);
|
||||
$node.attr('data-value', encodeURIComponent(text));
|
||||
$node.css({
|
||||
width: COLUMN_WIDTH,
|
||||
'margin-right': '2px',
|
||||
'margin-bottom': '2px'
|
||||
});
|
||||
}
|
||||
}).render();
|
||||
|
||||
$td.append($button);
|
||||
|
||||
$tr.append($td);
|
||||
if (idx % COLUMN_LENGTH === 0) {
|
||||
$table.append($tr);
|
||||
}
|
||||
});
|
||||
|
||||
totalRow = $table.find('tr').length;
|
||||
totalColumn = COLUMN_LENGTH;
|
||||
|
||||
return $table;
|
||||
};
|
||||
|
||||
this.initialize = function () {
|
||||
var $container = options.dialogsInBody ? $(document.body) : $editor;
|
||||
|
||||
var body = '<div class="form-group row-fluid">' + this.makeSpecialCharSetTable()[0].outerHTML + '</div>';
|
||||
|
||||
this.$dialog = ui.dialog({
|
||||
title: lang.specialChar.select,
|
||||
body: body
|
||||
}).render().appendTo($container);
|
||||
};
|
||||
|
||||
this.show = function () {
|
||||
var text = context.invoke('editor.getSelectedText');
|
||||
context.invoke('editor.saveRange');
|
||||
this.showSpecialCharDialog(text).then(function (selectChar) {
|
||||
context.invoke('editor.restoreRange');
|
||||
|
||||
// build node
|
||||
var $node = $('<span></span>').html(selectChar)[0];
|
||||
|
||||
if ($node) {
|
||||
// insert video node
|
||||
context.invoke('editor.insertNode', $node);
|
||||
}
|
||||
}).fail(function () {
|
||||
context.invoke('editor.restoreRange');
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* show image dialog
|
||||
*
|
||||
* @param {jQuery} $dialog
|
||||
* @return {Promise}
|
||||
*/
|
||||
this.showSpecialCharDialog = function (text) {
|
||||
return $.Deferred(function (deferred) {
|
||||
var $specialCharDialog = self.$dialog;
|
||||
var $specialCharNode = $specialCharDialog.find('.note-specialchar-node');
|
||||
var $selectedNode = null;
|
||||
var ARROW_KEYS = [KEY.UP, KEY.DOWN, KEY.LEFT, KEY.RIGHT];
|
||||
var ENTER_KEY = KEY.ENTER;
|
||||
|
||||
function addActiveClass($target) {
|
||||
if (!$target) {
|
||||
return;
|
||||
}
|
||||
$target.find('button').addClass('active');
|
||||
$selectedNode = $target;
|
||||
}
|
||||
|
||||
function removeActiveClass($target) {
|
||||
$target.find('button').removeClass('active');
|
||||
$selectedNode = null;
|
||||
}
|
||||
|
||||
// find next node
|
||||
function findNextNode(row, column) {
|
||||
var findNode = null;
|
||||
$.each($specialCharNode, function (idx, $node) {
|
||||
var findRow = Math.ceil((idx + 1) / COLUMN_LENGTH);
|
||||
var findColumn = ((idx + 1) % COLUMN_LENGTH === 0) ? COLUMN_LENGTH : (idx + 1) % COLUMN_LENGTH;
|
||||
if (findRow === row && findColumn === column) {
|
||||
findNode = $node;
|
||||
return false;
|
||||
}
|
||||
});
|
||||
return $(findNode);
|
||||
}
|
||||
|
||||
function arrowKeyHandler(keyCode) {
|
||||
// left, right, up, down key
|
||||
var $nextNode;
|
||||
var lastRowColumnLength = $specialCharNode.length % totalColumn;
|
||||
|
||||
if (KEY.LEFT === keyCode) {
|
||||
|
||||
if (currentColumn > 1) {
|
||||
currentColumn = currentColumn - 1;
|
||||
} else if (currentRow === 1 && currentColumn === 1) {
|
||||
currentColumn = lastRowColumnLength;
|
||||
currentRow = totalRow;
|
||||
} else {
|
||||
currentColumn = totalColumn;
|
||||
currentRow = currentRow - 1;
|
||||
}
|
||||
|
||||
} else if (KEY.RIGHT === keyCode) {
|
||||
|
||||
if (currentRow === totalRow && lastRowColumnLength === currentColumn) {
|
||||
currentColumn = 1;
|
||||
currentRow = 1;
|
||||
} else if (currentColumn < totalColumn) {
|
||||
currentColumn = currentColumn + 1;
|
||||
} else {
|
||||
currentColumn = 1;
|
||||
currentRow = currentRow + 1;
|
||||
}
|
||||
|
||||
} else if (KEY.UP === keyCode) {
|
||||
if (currentRow === 1 && lastRowColumnLength < currentColumn) {
|
||||
currentRow = totalRow - 1;
|
||||
} else {
|
||||
currentRow = currentRow - 1;
|
||||
}
|
||||
} else if (KEY.DOWN === keyCode) {
|
||||
currentRow = currentRow + 1;
|
||||
}
|
||||
|
||||
if (currentRow === totalRow && currentColumn > lastRowColumnLength) {
|
||||
currentRow = 1;
|
||||
} else if (currentRow > totalRow) {
|
||||
currentRow = 1;
|
||||
} else if (currentRow < 1) {
|
||||
currentRow = totalRow;
|
||||
}
|
||||
|
||||
$nextNode = findNextNode(currentRow, currentColumn);
|
||||
|
||||
if ($nextNode) {
|
||||
removeActiveClass($selectedNode);
|
||||
addActiveClass($nextNode);
|
||||
}
|
||||
}
|
||||
|
||||
function enterKeyHandler() {
|
||||
if (!$selectedNode) {
|
||||
return;
|
||||
}
|
||||
|
||||
deferred.resolve(decodeURIComponent($selectedNode.find('button').attr('data-value')));
|
||||
$specialCharDialog.modal('hide');
|
||||
}
|
||||
|
||||
function keyDownEventHandler(event) {
|
||||
event.preventDefault();
|
||||
var keyCode = event.keyCode;
|
||||
if (keyCode === undefined || keyCode === null) {
|
||||
return;
|
||||
}
|
||||
// check arrowKeys match
|
||||
if (ARROW_KEYS.indexOf(keyCode) > -1) {
|
||||
if ($selectedNode === null) {
|
||||
addActiveClass($specialCharNode.eq(0));
|
||||
currentColumn = 1;
|
||||
currentRow = 1;
|
||||
return;
|
||||
}
|
||||
arrowKeyHandler(keyCode);
|
||||
} else if (keyCode === ENTER_KEY) {
|
||||
enterKeyHandler();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// remove class
|
||||
removeActiveClass($specialCharNode);
|
||||
|
||||
// find selected node
|
||||
if (text) {
|
||||
for (var i = 0; i < $specialCharNode.length; i++) {
|
||||
var $checkNode = $($specialCharNode[i]);
|
||||
if ($checkNode.text() === text) {
|
||||
addActiveClass($checkNode);
|
||||
currentRow = Math.ceil((i + 1) / COLUMN_LENGTH);
|
||||
currentColumn = (i + 1) % COLUMN_LENGTH;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ui.onDialogShown(self.$dialog, function () {
|
||||
|
||||
$(document).on('keydown', keyDownEventHandler);
|
||||
|
||||
self.$dialog.find('button').tooltip();
|
||||
|
||||
$specialCharNode.on('click', function (event) {
|
||||
event.preventDefault();
|
||||
deferred.resolve(decodeURIComponent($(event.currentTarget).find('button').attr('data-value')));
|
||||
ui.hideDialog(self.$dialog);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
ui.onDialogHidden(self.$dialog, function () {
|
||||
$specialCharNode.off('click');
|
||||
|
||||
self.$dialog.find('button').tooltip('destroy');
|
||||
|
||||
$(document).off('keydown', keyDownEventHandler);
|
||||
|
||||
if (deferred.state() === 'pending') {
|
||||
deferred.reject();
|
||||
}
|
||||
});
|
||||
|
||||
ui.showDialog(self.$dialog);
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
}));
|
@ -1 +0,0 @@
|
||||
!function(e){function t(){function t(e){"remove"===e&&this.each(function(e,t){var n=i(t);n&&n.remove()}),this.find("span.mceEditor,div.mceEditor").each(function(e,t){var n=tinymce.get(t.id.replace(/_parent$/,""));n&&n.remove()})}function r(e){var n,r=this;if(null!=e)t.call(r),r.each(function(t,n){var r;(r=tinymce.get(n.id))&&r.setContent(e)});else if(r.length>0&&(n=tinymce.get(r[0].id)))return n.getContent()}function i(e){var t=null;return e&&e.id&&a.tinymce&&(t=tinymce.get(e.id)),t}function o(e){return!!(e&&e.length&&a.tinymce&&e.is(":tinymce"))}var s={};e.each(["text","html","val"],function(t,a){var l=s[a]=e.fn[a],c="text"===a;e.fn[a]=function(t){var a=this;if(!o(a))return l.apply(a,arguments);if(t!==n)return r.call(a.filter(":tinymce"),t),l.apply(a.not(":tinymce"),arguments),a;var s="",u=arguments;return(c?a:a.eq(0)).each(function(t,n){var r=i(n);s+=r?c?r.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):r.getContent({save:!0}):l.apply(e(n),u)}),s}}),e.each(["append","prepend"],function(t,r){var a=s[r]=e.fn[r],l="prepend"===r;e.fn[r]=function(e){var t=this;return o(t)?e!==n?("string"==typeof e&&t.filter(":tinymce").each(function(t,n){var r=i(n);r&&r.setContent(l?e+r.getContent():r.getContent()+e)}),a.apply(t.not(":tinymce"),arguments),t):void 0:a.apply(t,arguments)}}),e.each(["remove","replaceWith","replaceAll","empty"],function(n,r){var i=s[r]=e.fn[r];e.fn[r]=function(){return t.call(this,r),i.apply(this,arguments)}}),s.attr=e.fn.attr,e.fn.attr=function(t,a){var l=this,c=arguments;if(!t||"value"!==t||!o(l))return a!==n?s.attr.apply(l,c):s.attr.apply(l,c);if(a!==n)return r.call(l.filter(":tinymce"),a),s.attr.apply(l.not(":tinymce"),c),l;var u=l[0],d=i(u);return d?d.getContent({save:!0}):s.attr.apply(e(u),c)}}var n,r,i,o=[],a=window;e.fn.tinymce=function(n){function s(){var r=[],o=0;i||(t(),i=!0),d.each(function(e,t){var i,a=t.id,s=n.oninit;a||(t.id=a=tinymce.DOM.uniqueId()),tinymce.get(a)||(i=new tinymce.Editor(a,n,tinymce.EditorManager),r.push(i),i.on("init",function(){var e,t=s;d.css("visibility",""),s&&++o==r.length&&("string"==typeof t&&(e=t.indexOf(".")===-1?null:tinymce.resolve(t.replace(/\.\w+$/,"")),t=tinymce.resolve(t)),t.apply(e||tinymce,r))}))}),e.each(r,function(e,t){t.render()})}var l,c,u,d=this,f="";if(!d.length)return d;if(!n)return window.tinymce?tinymce.get(d[0].id):null;if(d.css("visibility","hidden"),a.tinymce||r||!(l=n.script_url))1===r?o.push(s):s();else{r=1,c=l.substring(0,l.lastIndexOf("/")),l.indexOf(".min")!=-1&&(f=".min"),a.tinymce=a.tinyMCEPreInit||{base:c,suffix:f},l.indexOf("gzip")!=-1&&(u=n.language||"en",l=l+(/\?/.test(l)?"&":"?")+"js=true&core=true&suffix="+escape(f)+"&themes="+escape(n.theme||"modern")+"&plugins="+escape(n.plugins||"")+"&languages="+(u||""),a.tinyMCE_GZ||(a.tinyMCE_GZ={start:function(){function t(e){tinymce.ScriptLoader.markDone(tinymce.baseURI.toAbsolute(e))}t("langs/"+u+".js"),t("themes/"+n.theme+"/theme"+f+".js"),t("themes/"+n.theme+"/langs/"+u+".js"),e.each(n.plugins.split(","),function(e,n){n&&(t("plugins/"+n+"/plugin"+f+".js"),t("plugins/"+n+"/langs/"+u+".js"))})},end:function(){}}));var p=document.createElement("script");p.type="text/javascript",p.onload=p.onreadystatechange=function(t){t=t||window.event,2===r||"load"!=t.type&&!/complete|loaded/.test(p.readyState)||(tinymce.dom.Event.domLoaded=1,r=2,n.script_loaded&&n.script_loaded(),s(),e.each(o,function(e,t){t()}))},p.src=l,document.body.appendChild(p)}return d},e.extend(e.expr[":"],{tinymce:function(e){var t;return!!(e.id&&"tinymce"in window&&(t=tinymce.get(e.id),t&&t.editorManager===tinymce))}})}(jQuery);
|
@ -1,3 +0,0 @@
|
||||
This is where language files should be placed.
|
||||
|
||||
Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/
|
@ -1,504 +0,0 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("advlist",function(e){function t(t){return e.$.contains(e.getBody(),t)}function n(e){return e&&/^(OL|UL|DL)$/.test(e.nodeName)&&t(e)}function r(e,t){var n=[];return t&&tinymce.each(t.split(/[ ,]/),function(e){n.push({text:e.replace(/\-/g," ").replace(/\b\w/g,function(e){return e.toUpperCase()}),data:"default"==e?"":e})}),n}function i(t,n){e.undoManager.transact(function(){var r,i=e.dom,o=e.selection;if(r=i.getParent(o.getNode(),"ol,ul"),!r||r.nodeName!=t||n===!1){var a={"list-style-type":n?n:""};e.execCommand("UL"==t?"InsertUnorderedList":"InsertOrderedList",!1,a)}r=i.getParent(o.getNode(),"ol,ul"),r&&tinymce.util.Tools.each(i.select("ol,ul",r).concat([r]),function(e){e.nodeName!==t&&n!==!1&&(e=i.rename(e,t)),i.setStyle(e,"listStyleType",n?n:null),e.removeAttribute("data-mce-style")}),e.focus()})}function o(t){var n=e.dom.getStyle(e.dom.getParent(e.selection.getNode(),"ol,ul"),"listStyleType")||"";t.control.items().each(function(e){e.active(e.settings.data===n)})}var a,s,l=function(e,t){var n=e.settings.plugins?e.settings.plugins:"";return tinymce.util.Tools.inArray(n.split(/[ ,]/),t)!==-1};a=r("OL",e.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman")),s=r("UL",e.getParam("advlist_bullet_styles","default,circle,disc,square"));var c=function(t){return function(){var r=this;e.on("NodeChange",function(e){var i=tinymce.util.Tools.grep(e.parents,n);r.active(i.length>0&&i[0].nodeName===t)})}};l(e,"lists")&&(e.addCommand("ApplyUnorderedListStyle",function(e,t){i("UL",t["list-style-type"])}),e.addCommand("ApplyOrderedListStyle",function(e,t){i("OL",t["list-style-type"])}),e.addButton("numlist",{type:a.length>0?"splitbutton":"button",tooltip:"Numbered list",menu:a,onPostRender:c("OL"),onshow:o,onselect:function(e){i("OL",e.control.settings.data)},onclick:function(){i("OL",!1)}}),e.addButton("bullist",{type:s.length>0?"splitbutton":"button",tooltip:"Bullet list",onPostRender:c("UL"),menu:s,onshow:o,onselect:function(e){i("UL",e.control.settings.data)},onclick:function(){i("UL",!1)}}))});
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("anchor",function(e){var t=function(e){return!e.attr("href")&&(e.attr("id")||e.attr("name"))&&!e.firstChild},n=function(e){return function(n){for(var r=0;r<n.length;r++)t(n[r])&&n[r].attr("contenteditable",e)}},r=function(e){return/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(e)},i=function(){var t=e.selection.getNode(),n="A"==t.tagName&&""===e.dom.getAttrib(t,"href"),i="";n&&(i=t.id||t.name||""),e.windowManager.open({title:"Anchor",body:{type:"textbox",name:"id",size:40,label:"Id",value:i},onsubmit:function(i){var o=i.data.id;return r(o)?void(n?(t.removeAttribute("name"),t.id=o):(e.selection.collapse(!0),e.execCommand("mceInsertContent",!1,e.dom.createHTML("a",{id:o})))):(i.preventDefault(),void e.windowManager.alert("Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."))}})};tinymce.Env.ceFalse&&e.on("PreInit",function(){e.parser.addNodeFilter("a",n("false")),e.serializer.addNodeFilter("a",n(null))}),e.addCommand("mceAnchor",i),e.addButton("anchor",{icon:"anchor",tooltip:"Anchor",onclick:i,stateSelector:"a:not([href])"}),e.addMenuItem("anchor",{icon:"anchor",text:"Anchor",context:"insert",onclick:i})});
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("autolink",function(e){function t(e){i(e,-1,"(",!0)}function n(e){i(e,0,"",!0)}function r(e){i(e,-1,"",!1)}function i(e,t,n){function r(e,t){if(t<0&&(t=0),3==e.nodeType){var n=e.data.length;t>n&&(t=n)}return t}function i(e,t){1!=e.nodeType||e.hasChildNodes()?s.setStart(e,r(e,t)):s.setStartBefore(e)}function o(e,t){1!=e.nodeType||e.hasChildNodes()?s.setEnd(e,r(e,t)):s.setEndAfter(e)}var s,l,c,u,d,f,p,m,g,h;if("A"!=e.selection.getNode().tagName){if(s=e.selection.getRng(!0).cloneRange(),s.startOffset<5){if(m=s.endContainer.previousSibling,!m){if(!s.endContainer.firstChild||!s.endContainer.firstChild.nextSibling)return;m=s.endContainer.firstChild.nextSibling}if(g=m.length,i(m,g),o(m,g),s.endOffset<5)return;l=s.endOffset,u=m}else{if(u=s.endContainer,3!=u.nodeType&&u.firstChild){for(;3!=u.nodeType&&u.firstChild;)u=u.firstChild;3==u.nodeType&&(i(u,0),o(u,u.nodeValue.length))}l=1==s.endOffset?2:s.endOffset-1-t}c=l;do i(u,l>=2?l-2:0),o(u,l>=1?l-1:0),l-=1,h=s.toString();while(" "!=h&&""!==h&&160!=h.charCodeAt(0)&&l-2>=0&&h!=n);s.toString()==n||160==s.toString().charCodeAt(0)?(i(u,l),o(u,c),l+=1):0===s.startOffset?(i(u,0),o(u,c)):(i(u,l),o(u,c)),f=s.toString(),"."==f.charAt(f.length-1)&&o(u,c-1),f=s.toString(),p=f.match(a),p&&("www."==p[1]?p[1]="http://www.":/@$/.test(p[1])&&!/^mailto:/.test(p[1])&&(p[1]="mailto:"+p[1]),d=e.selection.getBookmark(),e.selection.setRng(s),e.execCommand("createlink",!1,p[1]+p[2]),e.settings.default_link_target&&e.dom.setAttrib(e.selection.getNode(),"target",e.settings.default_link_target),e.selection.moveToBookmark(d),e.nodeChanged())}}var o,a=/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@)(.+)$/i;return e.settings.autolink_pattern&&(a=e.settings.autolink_pattern),e.on("keydown",function(t){if(13==t.keyCode)return r(e)}),tinymce.Env.ie?void e.on("focus",function(){if(!o){o=!0;try{e.execCommand("AutoUrlDetect",!1,!0)}catch(e){}}}):(e.on("keypress",function(n){if(41==n.keyCode)return t(e)}),void e.on("keyup",function(t){if(32==t.keyCode)return n(e)}))});
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("autoresize",function(e){function t(){return e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen()}function n(r){var a,s,l,c,u,d,f,p,m,g,h,v,b=tinymce.DOM;if(s=e.getDoc()){if(l=s.body,c=s.documentElement,u=i.autoresize_min_height,!l||r&&"setcontent"===r.type&&r.initial||t())return void(l&&c&&(l.style.overflowY="auto",c.style.overflowY="auto"));f=e.dom.getStyle(l,"margin-top",!0),p=e.dom.getStyle(l,"margin-bottom",!0),m=e.dom.getStyle(l,"padding-top",!0),g=e.dom.getStyle(l,"padding-bottom",!0),h=e.dom.getStyle(l,"border-top-width",!0),v=e.dom.getStyle(l,"border-bottom-width",!0),d=l.offsetHeight+parseInt(f,10)+parseInt(p,10)+parseInt(m,10)+parseInt(g,10)+parseInt(h,10)+parseInt(v,10),(isNaN(d)||d<=0)&&(d=tinymce.Env.ie?l.scrollHeight:tinymce.Env.webkit&&0===l.clientHeight?0:l.offsetHeight),d>i.autoresize_min_height&&(u=d),i.autoresize_max_height&&d>i.autoresize_max_height?(u=i.autoresize_max_height,l.style.overflowY="auto",c.style.overflowY="auto"):(l.style.overflowY="hidden",c.style.overflowY="hidden",l.scrollTop=0),u!==o&&(a=u-o,b.setStyle(e.iframeElement,"height",u+"px"),o=u,tinymce.isWebKit&&a<0&&n(r))}}function r(t,i,o){tinymce.util.Delay.setEditorTimeout(e,function(){n({}),t--?r(t,i,o):o&&o()},i)}var i=e.settings,o=0;e.settings.inline||(i.autoresize_min_height=parseInt(e.getParam("autoresize_min_height",e.getElement().offsetHeight),10),i.autoresize_max_height=parseInt(e.getParam("autoresize_max_height",0),10),e.on("init",function(){var t,n;t=e.getParam("autoresize_overflow_padding",1),n=e.getParam("autoresize_bottom_margin",50),t!==!1&&e.dom.setStyles(e.getBody(),{paddingLeft:t,paddingRight:t}),n!==!1&&e.dom.setStyles(e.getBody(),{paddingBottom:n})}),e.on("nodechange setcontent keyup FullscreenStateChanged",n),e.getParam("autoresize_on_init",!0)&&e.on("init",function(){r(20,100,function(){r(5,1e3)})}),e.addCommand("mceAutoResize",n))});
|
@ -1 +0,0 @@
|
||||
tinymce._beforeUnloadHandler=function(){var e;return tinymce.each(tinymce.editors,function(t){t.plugins.autosave&&t.plugins.autosave.storeDraft(),!e&&t.isDirty()&&t.getParam("autosave_ask_before_unload",!0)&&(e=t.translate("You have unsaved changes are you sure you want to navigate away?"))}),e},tinymce.PluginManager.add("autosave",function(e){function t(e,t){var n={s:1e3,m:6e4};return e=/^(\d+)([ms]?)$/.exec(""+(e||t)),(e[2]?n[e[2]]:1)*parseInt(e,10)}function n(){var e=parseInt(p.getItem(u+"time"),10)||0;return!((new Date).getTime()-e>f.autosave_retention)||(r(!1),!1)}function r(t){p.removeItem(u+"draft"),p.removeItem(u+"time"),t!==!1&&e.fire("RemoveDraft")}function i(){!c()&&e.isDirty()&&(p.setItem(u+"draft",e.getContent({format:"raw",no_events:!0})),p.setItem(u+"time",(new Date).getTime()),e.fire("StoreDraft"))}function o(){n()&&(e.setContent(p.getItem(u+"draft"),{format:"raw"}),e.fire("RestoreDraft"))}function a(){d||(setInterval(function(){e.removed||i()},f.autosave_interval),d=!0)}function s(){var t=this;t.disabled(!n()),e.on("StoreDraft RestoreDraft RemoveDraft",function(){t.disabled(!n())}),a()}function l(){e.undoManager.beforeChange(),o(),r(),e.undoManager.add()}function c(t){var n=e.settings.forced_root_block;return t=tinymce.trim("undefined"==typeof t?e.getBody().innerHTML:t),""===t||new RegExp("^<"+n+"[^>]*>((\xa0| |[ \t]|<br[^>]*>)+?|)</"+n+">|<br>$","i").test(t)}var u,d,f=e.settings,p=tinymce.util.LocalStorage;u=f.autosave_prefix||"tinymce-autosave-{path}{query}-{id}-",u=u.replace(/\{path\}/g,document.location.pathname),u=u.replace(/\{query\}/g,document.location.search),u=u.replace(/\{id\}/g,e.id),f.autosave_interval=t(f.autosave_interval,"30s"),f.autosave_retention=t(f.autosave_retention,"20m"),e.addButton("restoredraft",{title:"Restore last draft",onclick:l,onPostRender:s}),e.addMenuItem("restoredraft",{text:"Restore last draft",onclick:l,onPostRender:s,context:"file"}),e.settings.autosave_restore_when_empty!==!1&&(e.on("init",function(){n()&&c()&&o()}),e.on("saveContent",function(){r()})),window.onbeforeunload=tinymce._beforeUnloadHandler,this.hasDraft=n,this.storeDraft=i,this.restoreDraft=o,this.removeDraft=r,this.isEmpty=c});
|
@ -1 +0,0 @@
|
||||
!function(){tinymce.create("tinymce.plugins.BBCodePlugin",{init:function(e){var t=this,n=e.getParam("bbcode_dialect","punbb").toLowerCase();e.on("beforeSetContent",function(e){e.content=t["_"+n+"_bbcode2html"](e.content)}),e.on("postProcess",function(e){e.set&&(e.content=t["_"+n+"_bbcode2html"](e.content)),e.get&&(e.content=t["_"+n+"_html2bbcode"](e.content))})},getInfo:function(){return{longname:"BBCode Plugin",author:"Ephox Corp",authorurl:"http://www.tinymce.com",infourl:"http://www.tinymce.com/wiki.php/Plugin:bbcode"}},_punbb_html2bbcode:function(e){function t(t,n){e=e.replace(t,n)}return e=tinymce.trim(e),t(/<a.*?href=\"(.*?)\".*?>(.*?)<\/a>/gi,"[url=$1]$2[/url]"),t(/<font.*?color=\"(.*?)\".*?class=\"codeStyle\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),t(/<font.*?color=\"(.*?)\".*?class=\"quoteStyle\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),t(/<font.*?class=\"codeStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),t(/<font.*?class=\"quoteStyle\".*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),t(/<span style=\"color: ?(.*?);\">(.*?)<\/span>/gi,"[color=$1]$2[/color]"),t(/<font.*?color=\"(.*?)\".*?>(.*?)<\/font>/gi,"[color=$1]$2[/color]"),t(/<span style=\"font-size:(.*?);\">(.*?)<\/span>/gi,"[size=$1]$2[/size]"),t(/<font>(.*?)<\/font>/gi,"$1"),t(/<img.*?src=\"(.*?)\".*?\/>/gi,"[img]$1[/img]"),t(/<span class=\"codeStyle\">(.*?)<\/span>/gi,"[code]$1[/code]"),t(/<span class=\"quoteStyle\">(.*?)<\/span>/gi,"[quote]$1[/quote]"),t(/<strong class=\"codeStyle\">(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]"),t(/<strong class=\"quoteStyle\">(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]"),t(/<em class=\"codeStyle\">(.*?)<\/em>/gi,"[code][i]$1[/i][/code]"),t(/<em class=\"quoteStyle\">(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]"),t(/<u class=\"codeStyle\">(.*?)<\/u>/gi,"[code][u]$1[/u][/code]"),t(/<u class=\"quoteStyle\">(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]"),t(/<\/(strong|b)>/gi,"[/b]"),t(/<(strong|b)>/gi,"[b]"),t(/<\/(em|i)>/gi,"[/i]"),t(/<(em|i)>/gi,"[i]"),t(/<\/u>/gi,"[/u]"),t(/<span style=\"text-decoration: ?underline;\">(.*?)<\/span>/gi,"[u]$1[/u]"),t(/<u>/gi,"[u]"),t(/<blockquote[^>]*>/gi,"[quote]"),t(/<\/blockquote>/gi,"[/quote]"),t(/<br \/>/gi,"\n"),t(/<br\/>/gi,"\n"),t(/<br>/gi,"\n"),t(/<p>/gi,""),t(/<\/p>/gi,"\n"),t(/ |\u00a0/gi," "),t(/"/gi,'"'),t(/</gi,"<"),t(/>/gi,">"),t(/&/gi,"&"),e},_punbb_bbcode2html:function(e){function t(t,n){e=e.replace(t,n)}return e=tinymce.trim(e),t(/\n/gi,"<br />"),t(/\[b\]/gi,"<strong>"),t(/\[\/b\]/gi,"</strong>"),t(/\[i\]/gi,"<em>"),t(/\[\/i\]/gi,"</em>"),t(/\[u\]/gi,"<u>"),t(/\[\/u\]/gi,"</u>"),t(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'<a href="$1">$2</a>'),t(/\[url\](.*?)\[\/url\]/gi,'<a href="$1">$1</a>'),t(/\[img\](.*?)\[\/img\]/gi,'<img src="$1" />'),t(/\[color=(.*?)\](.*?)\[\/color\]/gi,'<font color="$1">$2</font>'),t(/\[code\](.*?)\[\/code\]/gi,'<span class="codeStyle">$1</span> '),t(/\[quote.*?\](.*?)\[\/quote\]/gi,'<span class="quoteStyle">$1</span> '),e}}),tinymce.PluginManager.add("bbcode",tinymce.plugins.BBCodePlugin)}();
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("code",function(e){function t(){var t=e.windowManager.open({title:"Source code",body:{type:"textbox",name:"code",multiline:!0,minWidth:e.getParam("code_dialog_width",600),minHeight:e.getParam("code_dialog_height",Math.min(tinymce.DOM.getViewPort().h-200,500)),spellcheck:!1,style:"direction: ltr; text-align: left"},onSubmit:function(t){e.focus(),e.undoManager.transact(function(){e.setContent(t.data.code)}),e.selection.setCursorLocation(),e.nodeChanged()}});t.find("#code").value(e.getContent({source_view:!0}))}e.addCommand("mceCodeEditor",t),e.addButton("code",{icon:"code",tooltip:"Source code",onclick:t}),e.addMenuItem("code",{icon:"code",text:"Source code",context:"tools",onclick:t})});
|
@ -1,138 +0,0 @@
|
||||
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */
|
||||
/**
|
||||
* prism.js default theme for JavaScript, CSS and HTML
|
||||
* Based on dabblet (http://dabblet.com)
|
||||
* @author Lea Verou
|
||||
*/
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: black;
|
||||
text-shadow: 0 1px white;
|
||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||
direction: ltr;
|
||||
text-align: left;
|
||||
white-space: pre;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: normal;
|
||||
line-height: 1.5;
|
||||
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
|
||||
-webkit-hyphens: none;
|
||||
-moz-hyphens: none;
|
||||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
||||
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
||||
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
||||
text-shadow: none;
|
||||
background: #b3d4fc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
text-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Code blocks */
|
||||
pre[class*="language-"] {
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
:not(pre) > code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
background: #f5f2f0;
|
||||
}
|
||||
|
||||
/* Inline code */
|
||||
:not(pre) > code[class*="language-"] {
|
||||
padding: .1em;
|
||||
border-radius: .3em;
|
||||
}
|
||||
|
||||
.token.comment,
|
||||
.token.prolog,
|
||||
.token.doctype,
|
||||
.token.cdata {
|
||||
color: slategray;
|
||||
}
|
||||
|
||||
.token.punctuation {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.namespace {
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
.token.property,
|
||||
.token.tag,
|
||||
.token.boolean,
|
||||
.token.number,
|
||||
.token.constant,
|
||||
.token.symbol,
|
||||
.token.deleted {
|
||||
color: #905;
|
||||
}
|
||||
|
||||
.token.selector,
|
||||
.token.attr-name,
|
||||
.token.string,
|
||||
.token.char,
|
||||
.token.builtin,
|
||||
.token.inserted {
|
||||
color: #690;
|
||||
}
|
||||
|
||||
.token.operator,
|
||||
.token.entity,
|
||||
.token.url,
|
||||
.language-css .token.string,
|
||||
.style .token.string {
|
||||
color: #a67f59;
|
||||
background: hsla(0, 0%, 100%, .5);
|
||||
}
|
||||
|
||||
.token.atrule,
|
||||
.token.attr-value,
|
||||
.token.keyword {
|
||||
color: #07a;
|
||||
}
|
||||
|
||||
.token.function {
|
||||
color: #DD4A68;
|
||||
}
|
||||
|
||||
.token.regex,
|
||||
.token.important,
|
||||
.token.variable {
|
||||
color: #e90;
|
||||
}
|
||||
|
||||
.token.important,
|
||||
.token.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
.token.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.token.entity {
|
||||
cursor: help;
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("colorpicker",function(e){function t(t,n){function r(e){var t=new tinymce.util.Color(e),n=t.toRgb();o.fromJSON({r:n.r,g:n.g,b:n.b,hex:t.toHex().substr(1)}),i(t.toHex())}function i(e){o.find("#preview")[0].getEl().style.background=e}var o=e.windowManager.open({title:"Color",items:{type:"container",layout:"flex",direction:"row",align:"stretch",padding:5,spacing:10,items:[{type:"colorpicker",value:n,onchange:function(){var e=this.rgb();o&&(o.find("#r").value(e.r),o.find("#g").value(e.g),o.find("#b").value(e.b),o.find("#hex").value(this.value().substr(1)),i(this.value()))}},{type:"form",padding:0,labelGap:5,defaults:{type:"textbox",size:7,value:"0",flex:1,spellcheck:!1,onchange:function(){var e,t,n=o.find("colorpicker")[0];return e=this.name(),t=this.value(),"hex"==e?(t="#"+t,r(t),void n.value(t)):(t={r:o.find("#r").value(),g:o.find("#g").value(),b:o.find("#b").value()},n.value(t),void r(t))}},items:[{name:"r",label:"R",autofocus:1},{name:"g",label:"G"},{name:"b",label:"B"},{name:"hex",label:"#",value:"000000"},{name:"preview",type:"container",border:1}]}]},onSubmit:function(){t("#"+this.toJSON().hex)}});r(n)}e.settings.color_picker_callback||(e.settings.color_picker_callback=t)});
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("contextmenu",function(e){var t,n,r=e.settings.contextmenu_never_use_native,i=function(e){return e.ctrlKey&&!r},o=function(){return tinymce.Env.mac&&tinymce.Env.webkit},a=function(){return n===!0};return e.on("mousedown",function(t){o()&&2===t.button&&!i(t)&&e.selection.isCollapsed()&&e.once("contextmenu",function(t){e.selection.placeCaretAt(t.clientX,t.clientY)})}),e.on("contextmenu",function(r){var o;if(!i(r)){if(r.preventDefault(),o=e.settings.contextmenu||"link openlink image inserttable | cell row column deletetable",t)t.show();else{var a=[];tinymce.each(o.split(/[ ,]/),function(t){var n=e.menuItems[t];"|"==t&&(n={text:t}),n&&(n.shortcut="",a.push(n))});for(var s=0;s<a.length;s++)"|"==a[s].text&&(0!==s&&s!=a.length-1||a.splice(s,1));t=new tinymce.ui.Menu({items:a,context:"contextmenu",classes:"contextmenu"}).renderTo(),t.on("hide",function(e){e.control===this&&(n=!1)}),e.on("remove",function(){t.remove(),t=null})}var l={x:r.pageX,y:r.pageY};e.inline||(l=tinymce.DOM.getPos(e.getContentAreaContainer()),l.x+=r.clientX,l.y+=r.clientY),t.moveTo(l.x,l.y),n=!0}}),{isContextMenuVisible:a}});
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("directionality",function(e){function t(t){var n,r=e.dom,i=e.selection.getSelectedBlocks();i.length&&(n=r.getAttrib(i[0],"dir"),tinymce.each(i,function(e){r.getParent(e.parentNode,"*[dir='"+t+"']",r.getRoot())||(n!=t?r.setAttrib(e,"dir",t):r.setAttrib(e,"dir",null))}),e.nodeChanged())}function n(e){var t=[];return tinymce.each("h1 h2 h3 h4 h5 h6 div p".split(" "),function(n){t.push(n+"[dir="+e+"]")}),t.join(",")}e.addCommand("mceDirectionLTR",function(){t("ltr")}),e.addCommand("mceDirectionRTL",function(){t("rtl")}),e.addButton("ltr",{title:"Left to right",cmd:"mceDirectionLTR",stateSelector:n("ltr")}),e.addButton("rtl",{title:"Right to left",cmd:"mceDirectionRTL",stateSelector:n("rtl")})});
|
Before Width: | Height: | Size: 354 B |
Before Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 340 B |
Before Width: | Height: | Size: 336 B |
Before Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 343 B |
Before Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 328 B |
Before Width: | Height: | Size: 337 B |
Before Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 336 B |
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("emoticons",function(e,t){function n(){var e;return e='<table role="list" class="mce-grid">',tinymce.each(r,function(n){e+="<tr>",tinymce.each(n,function(n){var r=t+"/img/smiley-"+n+".gif";e+='<td><a href="#" data-mce-url="'+r+'" data-mce-alt="'+n+'" tabindex="-1" role="option" aria-label="'+n+'"><img src="'+r+'" style="width: 18px; height: 18px" role="presentation" /></a></td>'}),e+="</tr>"}),e+="</table>"}var r=[["cool","cry","embarassed","foot-in-mouth"],["frown","innocent","kiss","laughing"],["money-mouth","sealed","smile","surprised"],["tongue-out","undecided","wink","yell"]];e.addButton("emoticons",{type:"panelbutton",panel:{role:"application",autohide:!0,html:n,onclick:function(t){var n=e.dom.getParent(t.target,"a");n&&(e.insertContent('<img src="'+n.getAttribute("data-mce-url")+'" alt="'+n.getAttribute("data-mce-alt")+'" />'),this.hide())}},tooltip:"Emoticons"})});
|
@ -1,8 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<h3>Custom dialog</h3>
|
||||
Input some text: <input id="content">
|
||||
<button onclick="top.tinymce.activeEditor.windowManager.getWindows()[0].close();">Close window</button>
|
||||
</body>
|
||||
</html>
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("example",function(e,t){e.addButton("example",{text:"My button",icon:!1,onclick:function(){e.windowManager.open({title:"Example plugin",body:[{type:"textbox",name:"title",label:"Title"}],onsubmit:function(t){e.insertContent("Title: "+t.data.title)}})}}),e.addMenuItem("example",{text:"Example plugin",context:"tools",onclick:function(){e.windowManager.open({title:"TinyMCE site",url:t+"/dialog.html",width:600,height:400,buttons:[{text:"Insert",onclick:function(){var t=e.windowManager.getWindows()[0];e.insertContent(t.getContentWindow().document.getElementById("content").value),t.close()}},{text:"Close",onclick:"close"}]})}})});
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("example_dependency",function(){},["example"]);
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("fullscreen",function(e){function t(){var e,t,n=window,r=document,i=r.body;return i.offsetWidth&&(e=i.offsetWidth,t=i.offsetHeight),n.innerWidth&&n.innerHeight&&(e=n.innerWidth,t=n.innerHeight),{w:e,h:t}}function n(){var e=tinymce.DOM.getViewPort();return{x:e.x,y:e.y}}function r(e){scrollTo(e.x,e.y)}function i(){function i(){f.setStyle(g,"height",t().h-(m.clientHeight-g.clientHeight))}var p,m,g,h,v=document.body,b=document.documentElement;d=!d,m=e.getContainer(),p=m.style,g=e.getContentAreaContainer().firstChild,h=g.style,d?(u=n(),o=h.width,a=h.height,h.width=h.height="100%",l=p.width,c=p.height,p.width=p.height="",f.addClass(v,"mce-fullscreen"),f.addClass(b,"mce-fullscreen"),f.addClass(m,"mce-fullscreen"),f.bind(window,"resize",i),i(),s=i):(h.width=o,h.height=a,l&&(p.width=l),c&&(p.height=c),f.removeClass(v,"mce-fullscreen"),f.removeClass(b,"mce-fullscreen"),f.removeClass(m,"mce-fullscreen"),f.unbind(window,"resize",s),r(u)),e.fire("FullscreenStateChanged",{state:d})}var o,a,s,l,c,u,d=!1,f=tinymce.DOM;if(!e.settings.inline)return e.on("init",function(){e.addShortcut("Ctrl+Shift+F","",i)}),e.on("remove",function(){s&&f.unbind(window,"resize",s)}),e.addCommand("mceFullScreen",i),e.addMenuItem("fullscreen",{text:"Fullscreen",shortcut:"Ctrl+Shift+F",selectable:!0,onClick:function(){i(),e.focus()},onPostRender:function(){var t=this;e.on("FullscreenStateChanged",function(e){t.active(e.state)})},context:"view"}),e.addButton("fullscreen",{tooltip:"Fullscreen",shortcut:"Ctrl+Shift+F",onClick:i,onPostRender:function(){var t=this;e.on("FullscreenStateChanged",function(e){t.active(e.state)})}}),{isFullscreen:function(){return d}}});
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("hr",function(e){e.addCommand("InsertHorizontalRule",function(){e.execCommand("mceInsertContent",!1,"<hr />")}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})});
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("importcss",function(e){function t(e){var t=tinymce.Env.cacheSuffix;return"string"==typeof e&&(e=e.replace("?"+t,"").replace("&"+t,"")),e}function n(t){var n=e.settings,r=n.skin!==!1&&(n.skin||"lightgray");if(r){var i=n.skin_url;return i=i?e.documentBaseURI.toAbsolute(i):tinymce.baseURL+"/skins/"+r,t===i+"/content"+(e.inline?".inline":"")+".min.css"}return!1}function r(e){return"string"==typeof e?function(t){return t.indexOf(e)!==-1}:e instanceof RegExp?function(t){return e.test(t)}:e}function i(r,i){function o(e,r){var s,l=e.href;if(l=t(l),l&&i(l,r)&&!n(l)){p(e.imports,function(e){o(e,!0)});try{s=e.cssRules||e.rules}catch(e){}p(s,function(e){e.styleSheet?o(e.styleSheet,!0):e.selectorText&&p(e.selectorText.split(","),function(e){a.push(tinymce.trim(e))})})}}var a=[],s={};p(e.contentCSS,function(e){s[e]=!0}),i||(i=function(e,t){return t||s[e]});try{p(r.styleSheets,function(e){o(e)})}finally{}return a}function o(t){var n,r=/^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(t);if(r){var i=r[1],o=r[2].substr(1).split(".").join(" "),a=tinymce.makeMap("a,img");return r[1]?(n={title:t},e.schema.getTextBlockElements()[i]?n.block=i:e.schema.getBlockElements()[i]||a[i.toLowerCase()]?n.selector=i:n.inline=i):r[2]&&(n={inline:"span",title:t.substr(1),classes:o}),e.settings.importcss_merge_classes!==!1?n.classes=o:n.attributes={"class":o},n}}function a(e,t){return tinymce.util.Tools.grep(e,function(e){return!e.filter||e.filter(t)})}function s(e){return tinymce.util.Tools.map(e,function(e){return tinymce.util.Tools.extend({},e,{original:e,selectors:{},filter:r(e.filter),item:{text:e.title,menu:[]}})})}function l(e,t){return null===t||e.settings.importcss_exclusive!==!1}function c(t,n,r){return!(l(e,n)?t in r:t in n.selectors)}function u(t,n,r){l(e,n)?r[t]=!0:n.selectors[t]=!0}function d(t,n,r){var i,a=e.settings;return i=r&&r.selector_converter?r.selector_converter:a.importcss_selector_converter?a.importcss_selector_converter:o,i.call(t,n,r)}var f=this,p=tinymce.each;e.on("renderFormatsMenu",function(t){var n=e.settings,o={},l=r(n.importcss_selector_filter),m=t.control,g=s(n.importcss_groups),h=function(t,n){if(c(t,n,o)){u(t,n,o);var r=d(f,t,n);if(r){var i=r.name||tinymce.DOM.uniqueId();return e.formatter.register(i,r),tinymce.extend({},m.settings.itemDefaults,{text:r.title,format:i})}}return null};e.settings.importcss_append||m.items().remove(),p(i(t.doc||e.getDoc(),r(n.importcss_file_filter)),function(e){if(e.indexOf(".mce-")===-1&&(!l||l(e))){var t=a(g,e);if(t.length>0)tinymce.util.Tools.each(t,function(t){var n=h(e,t);n&&t.item.menu.push(n)});else{var n=h(e,null);n&&m.add(n)}}}),p(g,function(e){e.item.menu.length>0&&m.add(e.item)}),t.control.renderNew()}),f.convertSelectorToFormat=o});
|
@ -1 +0,0 @@
|
||||
tinymce.PluginManager.add("insertdatetime",function(e){function t(t,n){function r(e,t){if(e=""+e,e.length<t)for(var n=0;n<t-e.length;n++)e="0"+e;return e}return n=n||new Date,t=t.replace("%D","%m/%d/%Y"),t=t.replace("%r","%I:%M:%S %p"),t=t.replace("%Y",""+n.getFullYear()),t=t.replace("%y",""+n.getYear()),t=t.replace("%m",r(n.getMonth()+1,2)),t=t.replace("%d",r(n.getDate(),2)),t=t.replace("%H",""+r(n.getHours(),2)),t=t.replace("%M",""+r(n.getMinutes(),2)),t=t.replace("%S",""+r(n.getSeconds(),2)),t=t.replace("%I",""+((n.getHours()+11)%12+1)),t=t.replace("%p",""+(n.getHours()<12?"AM":"PM")),t=t.replace("%B",""+e.translate(l[n.getMonth()])),t=t.replace("%b",""+e.translate(s[n.getMonth()])),t=t.replace("%A",""+e.translate(a[n.getDay()])),t=t.replace("%a",""+e.translate(o[n.getDay()])),t=t.replace("%%","%")}function n(n){var r=t(n);if(e.settings.insertdatetime_element){var i;i=t(/%[HMSIp]/.test(n)?"%Y-%m-%dT%H:%M":"%Y-%m-%d"),r='<time datetime="'+i+'">'+r+"</time>";var o=e.dom.getParent(e.selection.getStart(),"time");if(o)return void e.dom.setOuterHTML(o,r)}e.insertContent(r)}var r,i,o="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),a="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),s="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),l="January February March April May June July August September October November December".split(" "),c=[];e.addCommand("mceInsertDate",function(){n(e.getParam("insertdatetime_dateformat",e.translate("%Y-%m-%d")))}),e.addCommand("mceInsertTime",function(){n(e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S")))}),e.addButton("insertdatetime",{type:"splitbutton",title:"Insert date/time",onclick:function(){n(r||i)},menu:c}),tinymce.each(e.settings.insertdatetime_formats||["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"],function(e){i||(i=e),c.push({text:t(e),onclick:function(){r=e,n(e)}})}),e.addMenuItem("insertdatetime",{icon:"date",text:"Date/time",menu:c,context:"insert"})});
|
@ -1 +0,0 @@
|
||||
!function(e){e.PluginManager.add("legacyoutput",function(t,n,r){t.settings.inline_styles=!1,t.on("init",function(){var n="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",r=e.explode(t.settings.font_size_style_values),i=t.schema;t.formatter.register({alignleft:{selector:n,attributes:{align:"left"}},aligncenter:{selector:n,attributes:{align:"center"}},alignright:{selector:n,attributes:{align:"right"}},alignjustify:{selector:n,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all"},{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all"},{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all"},{inline:"span",styles:{textDecoration:"underline"},exact:!0}],strikethrough:[{inline:"strike",remove:"all"},{inline:"span",styles:{textDecoration:"line-through"},exact:!0}],fontname:{inline:"font",attributes:{face:"%value"}},fontsize:{inline:"font",attributes:{size:function(t){return e.inArray(r,t.value)+1}}},forecolor:{inline:"font",attributes:{color:"%value"}},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"}}}),e.each("b,i,u,strike".split(","),function(e){i.addValidElements(e+"[*]")}),i.getElementRule("font")||i.addValidElements("font[face|size|color|style]"),e.each(n.split(","),function(e){var t=i.getElementRule(e);t&&(t.attributes.align||(t.attributes.align={},t.attributesOrder.push("align")))})}),t.addButton("fontsizeselect",function(){var e=[],n="8pt=1 10pt=2 12pt=3 14pt=4 18pt=5 24pt=6 36pt=7",r=t.settings.fontsize_formats||n;return t.$.each(r.split(" "),function(t,n){var r=n,i=n,o=n.split("=");o.length>1&&(r=o[0],i=o[1]),e.push({text:r,value:i})}),{type:"listbox",text:"Font Sizes",tooltip:"Font Sizes",values:e,fixedWidth:!0,onPostRender:function(){var e=this;t.on("NodeChange",function(){var n;n=t.dom.getParent(t.selection.getNode(),"font"),n?e.value(n.size):e.value("")})},onclick:function(e){e.control.settings.value&&t.execCommand("FontSize",!1,e.control.settings.value)}}}),t.addButton("fontselect",function(){function e(e){e=e.replace(/;$/,"").split(";");for(var t=e.length;t--;)e[t]=e[t].split("=");return e}var n="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",i=[],o=e(t.settings.font_formats||n);return r.each(o,function(e,t){i.push({text:{raw:t[0]},value:t[1],textStyle:t[1].indexOf("dings")==-1?"font-family:"+t[1]:""})}),{type:"listbox",text:"Font Family",tooltip:"Font Family",values:i,fixedWidth:!0,onPostRender:function(){var e=this;t.on("NodeChange",function(){var n;n=t.dom.getParent(t.selection.getNode(),"font"),n?e.value(n.face):e.value("")})},onselect:function(e){e.control.settings.value&&t.execCommand("FontName",!1,e.control.settings.value)}}})})}(tinymce);
|