trumbowyg_rails 1.1.3 → 2.1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -7
- data/VERSION +1 -1
- data/lib/{trumbowyg_rails.rb → trumbowyg2-rails.rb} +0 -0
- data/trumbowyg_rails.gemspec +5 -5
- data/vendor/assets/images/trumbowyg/images/icons.svg +1 -0
- data/vendor/assets/javascripts/trumbowyg/langs/ar.js +56 -0
- data/vendor/assets/javascripts/trumbowyg/langs/ca.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/cs.js +54 -0
- data/vendor/assets/javascripts/trumbowyg/langs/da.js +55 -0
- data/vendor/assets/javascripts/trumbowyg/langs/de.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/el.js +58 -0
- data/vendor/assets/javascripts/trumbowyg/langs/es.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/es_ar.js +34 -34
- data/vendor/assets/javascripts/trumbowyg/langs/fa.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/fi.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/fr.js +40 -34
- data/vendor/assets/javascripts/trumbowyg/langs/he.js +57 -0
- data/vendor/assets/javascripts/trumbowyg/langs/hu.js +58 -0
- data/vendor/assets/javascripts/trumbowyg/langs/id.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/it.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/ja.js +56 -0
- data/vendor/assets/javascripts/trumbowyg/langs/ko.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/my.js +54 -0
- data/vendor/assets/javascripts/trumbowyg/langs/nl.js +56 -0
- data/vendor/assets/javascripts/trumbowyg/langs/pl.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/pt.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/ro.js +33 -35
- data/vendor/assets/javascripts/trumbowyg/langs/rs.js +53 -0
- data/vendor/assets/javascripts/trumbowyg/langs/rs_latin.js +54 -0
- data/vendor/assets/javascripts/trumbowyg/langs/ru.js +33 -34
- data/vendor/assets/javascripts/trumbowyg/langs/sk.js +54 -0
- data/vendor/assets/javascripts/trumbowyg/langs/sv.js +55 -0
- data/vendor/assets/javascripts/trumbowyg/langs/tr.js +34 -36
- data/vendor/assets/javascripts/trumbowyg/langs/ua.js +54 -0
- data/vendor/assets/javascripts/trumbowyg/langs/vi.js +55 -0
- data/vendor/assets/javascripts/trumbowyg/langs/zh_cn.js +34 -34
- data/vendor/assets/javascripts/trumbowyg/langs/zh_tw.js +57 -0
- data/vendor/assets/javascripts/trumbowyg/plugins/base64/trumbowyg.base64.js +90 -0
- data/vendor/assets/javascripts/trumbowyg/plugins/colors/trumbowyg.colors.js +164 -0
- data/vendor/assets/javascripts/trumbowyg/plugins/noembed/trumbowyg.noembed.js +96 -0
- data/vendor/assets/javascripts/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.js +39 -0
- data/vendor/assets/javascripts/trumbowyg/plugins/preformatted/trumbowyg.preformatted.js +117 -0
- data/vendor/assets/javascripts/trumbowyg/plugins/upload/trumbowyg.upload.js +204 -0
- data/vendor/assets/javascripts/trumbowyg/trumbowyg.js +1126 -700
- data/vendor/assets/stylesheets/trumbowyg/plugins/colors/trumbowyg.colors.scss +49 -0
- data/vendor/assets/stylesheets/trumbowyg/trumbowyg.scss +351 -159
- metadata +33 -11
- data/vendor/assets/images/trumbowyg/images/icons-2x.png +0 -0
- data/vendor/assets/images/trumbowyg/images/icons.png +0 -0
- data/vendor/assets/stylesheets/trumbowyg/_sprite-2x.scss +0 -28
- data/vendor/assets/stylesheets/trumbowyg/_sprite.scss +0 -28
@@ -8,49 +8,48 @@
|
|
8
8
|
*/
|
9
9
|
|
10
10
|
jQuery.trumbowyg.langs.es = {
|
11
|
-
viewHTML:
|
11
|
+
viewHTML: 'Ver HTML',
|
12
12
|
|
13
|
-
formatting:
|
14
|
-
p:
|
15
|
-
blockquote:
|
16
|
-
code:
|
17
|
-
header:
|
13
|
+
formatting: 'Formato',
|
14
|
+
p: 'Párrafo',
|
15
|
+
blockquote: 'Cita',
|
16
|
+
code: 'Código',
|
17
|
+
header: 'Título',
|
18
18
|
|
19
|
-
bold:
|
20
|
-
italic:
|
21
|
-
strikethrough:
|
22
|
-
underline:
|
19
|
+
bold: 'Negrita',
|
20
|
+
italic: 'Cursiva',
|
21
|
+
strikethrough: 'Tachado',
|
22
|
+
underline: 'Subrayado',
|
23
23
|
|
24
|
-
strong:
|
25
|
-
em:
|
26
|
-
del:
|
24
|
+
strong: 'Negrita',
|
25
|
+
em: 'Énfasis',
|
26
|
+
del: 'Borrar',
|
27
27
|
|
28
|
-
unorderedList:
|
29
|
-
orderedList:
|
28
|
+
unorderedList: 'Lista Desordenada',
|
29
|
+
orderedList: 'Lista Ordenada',
|
30
30
|
|
31
|
-
insertImage:
|
32
|
-
insertVideo:
|
33
|
-
link:
|
34
|
-
createLink:
|
35
|
-
unlink:
|
31
|
+
insertImage: 'Insertar una imagen',
|
32
|
+
insertVideo: 'Insertar un vídeo',
|
33
|
+
link: 'Enlace',
|
34
|
+
createLink: 'Insertar un enlace',
|
35
|
+
unlink: 'Suprimir un enlace',
|
36
36
|
|
37
|
-
justifyLeft:
|
38
|
-
justifyCenter:
|
39
|
-
justifyRight:
|
40
|
-
justifyFull:
|
37
|
+
justifyLeft: 'Izquierda',
|
38
|
+
justifyCenter: 'Centrar',
|
39
|
+
justifyRight: 'Derecha',
|
40
|
+
justifyFull: 'Justificado',
|
41
41
|
|
42
|
-
horizontalRule:
|
42
|
+
horizontalRule: 'Insertar separador horizontal',
|
43
43
|
|
44
|
-
fullscreen:
|
44
|
+
fullscreen: 'Pantalla completa',
|
45
45
|
|
46
|
-
close:
|
46
|
+
close: 'Cerrar',
|
47
47
|
|
48
|
-
submit:
|
49
|
-
reset:
|
48
|
+
submit: 'Enviar',
|
49
|
+
reset: 'Cancelar',
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
text: "Texto"
|
51
|
+
required: 'Obligatorio',
|
52
|
+
description: 'Descripción',
|
53
|
+
title: 'Título',
|
54
|
+
text: 'Texto'
|
56
55
|
};
|
@@ -7,50 +7,50 @@
|
|
7
7
|
* Email : felix.vera@gmail.com
|
8
8
|
*/
|
9
9
|
|
10
|
+
// jshint camelcase:false
|
10
11
|
jQuery.trumbowyg.langs.es_ar = {
|
11
|
-
viewHTML:
|
12
|
+
viewHTML: 'Ver HTML',
|
12
13
|
|
13
|
-
formatting:
|
14
|
-
p:
|
15
|
-
blockquote:
|
16
|
-
code:
|
17
|
-
header:
|
14
|
+
formatting: 'Formato',
|
15
|
+
p: 'Párrafo',
|
16
|
+
blockquote: 'Cita',
|
17
|
+
code: 'Código',
|
18
|
+
header: 'Título',
|
18
19
|
|
19
|
-
bold:
|
20
|
-
italic:
|
21
|
-
strikethrough:
|
22
|
-
underline:
|
20
|
+
bold: 'Negrita',
|
21
|
+
italic: 'Itálica',
|
22
|
+
strikethrough: 'Tachado',
|
23
|
+
underline: 'Subrayado',
|
23
24
|
|
24
|
-
strong:
|
25
|
-
em:
|
26
|
-
del:
|
25
|
+
strong: 'Fuere',
|
26
|
+
em: 'Énfasis',
|
27
|
+
del: 'Borrar',
|
27
28
|
|
28
|
-
unorderedList:
|
29
|
-
orderedList:
|
29
|
+
unorderedList: 'Lista Desordenada',
|
30
|
+
orderedList: 'Lista Ordenada',
|
30
31
|
|
31
|
-
insertImage:
|
32
|
-
insertVideo:
|
33
|
-
link:
|
34
|
-
createLink:
|
35
|
-
unlink:
|
32
|
+
insertImage: 'Insertar una imagen',
|
33
|
+
insertVideo: 'Insertar un video',
|
34
|
+
link: 'Vínculo',
|
35
|
+
createLink: 'Insertar un vínculo',
|
36
|
+
unlink: 'Suprimir un vínculo',
|
36
37
|
|
37
|
-
justifyLeft:
|
38
|
-
justifyCenter:
|
39
|
-
justifyRight:
|
40
|
-
justifyFull:
|
38
|
+
justifyLeft: 'Alinear a la Izquierda',
|
39
|
+
justifyCenter: 'Centrar',
|
40
|
+
justifyRight: 'Alinear a la Derecha',
|
41
|
+
justifyFull: 'Justificado',
|
41
42
|
|
42
|
-
horizontalRule:
|
43
|
+
horizontalRule: 'Insertar separado Horizontal',
|
43
44
|
|
44
|
-
fullscreen:
|
45
|
+
fullscreen: 'Pantalla Completa',
|
45
46
|
|
46
|
-
close:
|
47
|
+
close: 'Cerrar',
|
47
48
|
|
48
|
-
submit:
|
49
|
-
reset:
|
49
|
+
submit: 'Enviar',
|
50
|
+
reset: 'Cancelar',
|
50
51
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
text: "Texto"
|
52
|
+
required: 'Obligatorio',
|
53
|
+
description: 'Descripción',
|
54
|
+
title: 'Título',
|
55
|
+
text: 'Texto'
|
56
56
|
};
|
@@ -9,49 +9,48 @@
|
|
9
9
|
*/
|
10
10
|
|
11
11
|
jQuery.trumbowyg.langs.fa = {
|
12
|
-
viewHTML:
|
12
|
+
viewHTML: 'نمایش کد اچ تی ام ال',
|
13
13
|
|
14
|
-
formatting:
|
15
|
-
p:
|
16
|
-
blockquote:
|
17
|
-
code:
|
18
|
-
header:
|
14
|
+
formatting: 'قالب بندی',
|
15
|
+
p: 'پاراگراف',
|
16
|
+
blockquote: 'نقل قول',
|
17
|
+
code: 'کد',
|
18
|
+
header: 'سر تیتر',
|
19
19
|
|
20
|
-
bold:
|
21
|
-
italic:
|
22
|
-
strikethrough:
|
23
|
-
underline:
|
20
|
+
bold: 'ضخیم',
|
21
|
+
italic: 'مورب',
|
22
|
+
strikethrough: 'میان خط دار',
|
23
|
+
underline: 'زیر خط دار',
|
24
24
|
|
25
|
-
strong:
|
26
|
-
em:
|
27
|
-
del:
|
25
|
+
strong: 'برجسته',
|
26
|
+
em: 'مورب',
|
27
|
+
del: 'حذف شده',
|
28
28
|
|
29
|
-
unorderedList:
|
30
|
-
orderedList:
|
29
|
+
unorderedList: 'لیست نامرتب',
|
30
|
+
orderedList: 'لیست مرتب',
|
31
31
|
|
32
|
-
insertImage:
|
33
|
-
insertVideo:
|
34
|
-
link:
|
35
|
-
createLink:
|
36
|
-
unlink:
|
32
|
+
insertImage: 'درج تصویر',
|
33
|
+
insertVideo: 'درج ویدئو',
|
34
|
+
link: 'لینک',
|
35
|
+
createLink: 'درج لینک',
|
36
|
+
unlink: 'حذف لینک',
|
37
37
|
|
38
|
-
justifyLeft:
|
39
|
-
justifyCenter:
|
40
|
-
justifyRight:
|
41
|
-
justifyFull:
|
38
|
+
justifyLeft: 'تراز به چپ',
|
39
|
+
justifyCenter: 'تراز به وسط',
|
40
|
+
justifyRight: 'تراز به راست',
|
41
|
+
justifyFull: 'تراز به چپ و راست',
|
42
42
|
|
43
|
-
horizontalRule:
|
43
|
+
horizontalRule: 'درج خط افقی',
|
44
44
|
|
45
|
-
fullscreen:
|
45
|
+
fullscreen: 'تمام صفحه',
|
46
46
|
|
47
|
-
close:
|
47
|
+
close: 'بستن',
|
48
48
|
|
49
|
-
submit:
|
50
|
-
reset:
|
49
|
+
submit: 'تائید',
|
50
|
+
reset: 'انصراف',
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
text: "متن"
|
52
|
+
required: 'اجباری',
|
53
|
+
description: 'توضیحات',
|
54
|
+
title: 'عنوان',
|
55
|
+
text: 'متن'
|
57
56
|
};
|
@@ -8,49 +8,48 @@
|
|
8
8
|
*/
|
9
9
|
|
10
10
|
jQuery.trumbowyg.langs.fi = {
|
11
|
-
viewHTML:
|
11
|
+
viewHTML: 'Näytä HTML',
|
12
12
|
|
13
|
-
formatting:
|
14
|
-
p:
|
15
|
-
blockquote:
|
16
|
-
code:
|
17
|
-
header:
|
13
|
+
formatting: 'Muotoilu',
|
14
|
+
p: 'Kappale',
|
15
|
+
blockquote: 'Lainaus',
|
16
|
+
code: 'Koodi',
|
17
|
+
header: 'Otsikko',
|
18
18
|
|
19
|
-
bold:
|
20
|
-
italic:
|
21
|
-
strikethrough:
|
22
|
-
underline:
|
19
|
+
bold: 'Lihavointi',
|
20
|
+
italic: 'Kursivointi',
|
21
|
+
strikethrough: 'Yliviivaus',
|
22
|
+
underline: 'Allevivaus',
|
23
23
|
|
24
|
-
strong:
|
25
|
-
em:
|
26
|
-
del:
|
24
|
+
strong: 'Vahvennus',
|
25
|
+
em: 'Painotus',
|
26
|
+
del: 'Poistettu',
|
27
27
|
|
28
|
-
unorderedList:
|
29
|
-
orderedList:
|
28
|
+
unorderedList: 'Numeroimaton lista',
|
29
|
+
orderedList: 'Numeroitu lista',
|
30
30
|
|
31
|
-
insertImage:
|
32
|
-
insertVideo:
|
33
|
-
link:
|
34
|
-
createLink:
|
35
|
-
unlink:
|
31
|
+
insertImage: 'Lisää kuva',
|
32
|
+
insertVideo: 'Lisää video',
|
33
|
+
link: 'Linkki',
|
34
|
+
createLink: 'Luo linkki',
|
35
|
+
unlink: 'Poista linkki',
|
36
36
|
|
37
|
-
justifyLeft:
|
38
|
-
justifyCenter:
|
39
|
-
justifyRight:
|
40
|
-
justifyFull:
|
37
|
+
justifyLeft: 'Asemoi vasemmalle',
|
38
|
+
justifyCenter: 'Keskitä',
|
39
|
+
justifyRight: 'Asemoi oikealle',
|
40
|
+
justifyFull: 'Tasaa',
|
41
41
|
|
42
|
-
horizontalRule:
|
42
|
+
horizontalRule: 'Vaakaviiva',
|
43
43
|
|
44
|
-
fullscreen:
|
44
|
+
fullscreen: 'Kokoruutu',
|
45
45
|
|
46
|
-
close:
|
46
|
+
close: 'Sulje',
|
47
47
|
|
48
|
-
submit:
|
49
|
-
reset:
|
48
|
+
submit: 'Lähetä',
|
49
|
+
reset: 'Palauta',
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
text: "Teksti"
|
51
|
+
required: 'Pakollinen',
|
52
|
+
description: 'Kuvaus',
|
53
|
+
title: 'Otsikko',
|
54
|
+
text: 'Teksti'
|
56
55
|
};
|
@@ -9,49 +9,55 @@
|
|
9
9
|
*/
|
10
10
|
|
11
11
|
jQuery.trumbowyg.langs.fr = {
|
12
|
-
viewHTML:
|
12
|
+
viewHTML: 'Voir le HTML',
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
blockquote: "Citation",
|
17
|
-
code: "Code",
|
18
|
-
header: "Titre",
|
14
|
+
undo: 'Annuler',
|
15
|
+
redo: 'Refaire',
|
19
16
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
17
|
+
formatting: 'Format',
|
18
|
+
p: 'Paragraphe',
|
19
|
+
blockquote: 'Citation',
|
20
|
+
code: 'Code',
|
21
|
+
header: 'Titre',
|
24
22
|
|
25
|
-
|
26
|
-
|
27
|
-
|
23
|
+
bold: 'Gras',
|
24
|
+
italic: 'Italique',
|
25
|
+
strikethrough: 'Rayé',
|
26
|
+
underline: 'Souligné',
|
28
27
|
|
29
|
-
|
30
|
-
|
28
|
+
strong: 'Fort',
|
29
|
+
em: 'Emphase',
|
30
|
+
del: 'Supprimé',
|
31
31
|
|
32
|
-
|
33
|
-
|
34
|
-
link: "Lien",
|
35
|
-
createLink: "Insérer un lien",
|
36
|
-
unlink: "Supprimer le lien",
|
32
|
+
superscript: 'Exposant',
|
33
|
+
subscript: 'Indice',
|
37
34
|
|
38
|
-
|
39
|
-
|
40
|
-
justifyRight: "Aligner à droite",
|
41
|
-
justifyFull: "Justifier",
|
35
|
+
unorderedList: 'Liste à puces',
|
36
|
+
orderedList: 'Liste ordonnée',
|
42
37
|
|
43
|
-
|
38
|
+
insertImage: 'Insérer une image',
|
39
|
+
insertVideo: 'Insérer une video',
|
40
|
+
link: 'Lien',
|
41
|
+
createLink: 'Insérer un lien',
|
42
|
+
unlink: 'Supprimer le lien',
|
44
43
|
|
45
|
-
|
44
|
+
justifyLeft: 'Aligner à gauche',
|
45
|
+
justifyCenter: 'Centrer',
|
46
|
+
justifyRight: 'Aligner à droite',
|
47
|
+
justifyFull: 'Justifier',
|
46
48
|
|
47
|
-
|
49
|
+
horizontalRule: 'Insérer un séparateur horizontal',
|
48
50
|
|
49
|
-
|
50
|
-
reset: "Annuler",
|
51
|
+
fullscreen: 'Plein écran',
|
51
52
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
53
|
+
close: 'Fermer',
|
54
|
+
|
55
|
+
submit: 'Valider',
|
56
|
+
reset: 'Annuler',
|
57
|
+
|
58
|
+
required: 'Obligatoire',
|
59
|
+
description: 'Description',
|
60
|
+
title: 'Titre',
|
61
|
+
text: 'Texte',
|
62
|
+
target: 'Cible'
|
57
63
|
};
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/* ===========================================================
|
2
|
+
* he.js
|
3
|
+
* Hebrew translation for Trumbowyg
|
4
|
+
* http://alex-d.github.com/Trumbowyg
|
5
|
+
* ===========================================================
|
6
|
+
* Author : Udi Doron (udidoron)
|
7
|
+
* Github : https://github.com/udidoron
|
8
|
+
*/
|
9
|
+
|
10
|
+
jQuery.trumbowyg.langs.he = {
|
11
|
+
_dir: 'rtl',
|
12
|
+
|
13
|
+
viewHTML: 'צפה ב-HTML',
|
14
|
+
|
15
|
+
formatting: 'פורמט',
|
16
|
+
p: 'פסקה',
|
17
|
+
blockquote: 'ציטוט',
|
18
|
+
code: 'קוד',
|
19
|
+
header: 'ראשית',
|
20
|
+
|
21
|
+
bold: 'מודגש',
|
22
|
+
italic: 'נטוי',
|
23
|
+
strikethrough: 'קו חוצה',
|
24
|
+
underline: 'קו תחתון',
|
25
|
+
|
26
|
+
strong: 'בולט',
|
27
|
+
em: 'הדגשה',
|
28
|
+
del: 'נמחק',
|
29
|
+
|
30
|
+
unorderedList: 'רשימה ללא סדר',
|
31
|
+
orderedList: 'רשימה מסודרת',
|
32
|
+
|
33
|
+
insertImage: 'הכנס תמונה',
|
34
|
+
insertVideo: 'הכנס סרטון',
|
35
|
+
link: 'קישור',
|
36
|
+
createLink: 'צור קישור',
|
37
|
+
unlink: 'הסר קישור',
|
38
|
+
|
39
|
+
justifyLeft: 'ישר לשמאל',
|
40
|
+
justifyCenter: 'מרכז',
|
41
|
+
justifyRight: 'ישר לימין',
|
42
|
+
justifyFull: 'ישר לשני הצדדים',
|
43
|
+
|
44
|
+
horizontalRule: 'הכנס קו אופקי',
|
45
|
+
|
46
|
+
fullscreen: 'מסך מלא',
|
47
|
+
|
48
|
+
close: 'סגור',
|
49
|
+
|
50
|
+
submit: 'שלח',
|
51
|
+
reset: 'אתחל מחדש',
|
52
|
+
|
53
|
+
required: 'נחוץ',
|
54
|
+
description: 'תיאור',
|
55
|
+
title: 'כותרת',
|
56
|
+
text: 'טקסט'
|
57
|
+
};
|