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.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -7
  3. data/VERSION +1 -1
  4. data/lib/{trumbowyg_rails.rb → trumbowyg2-rails.rb} +0 -0
  5. data/trumbowyg_rails.gemspec +5 -5
  6. data/vendor/assets/images/trumbowyg/images/icons.svg +1 -0
  7. data/vendor/assets/javascripts/trumbowyg/langs/ar.js +56 -0
  8. data/vendor/assets/javascripts/trumbowyg/langs/ca.js +33 -34
  9. data/vendor/assets/javascripts/trumbowyg/langs/cs.js +54 -0
  10. data/vendor/assets/javascripts/trumbowyg/langs/da.js +55 -0
  11. data/vendor/assets/javascripts/trumbowyg/langs/de.js +33 -34
  12. data/vendor/assets/javascripts/trumbowyg/langs/el.js +58 -0
  13. data/vendor/assets/javascripts/trumbowyg/langs/es.js +33 -34
  14. data/vendor/assets/javascripts/trumbowyg/langs/es_ar.js +34 -34
  15. data/vendor/assets/javascripts/trumbowyg/langs/fa.js +33 -34
  16. data/vendor/assets/javascripts/trumbowyg/langs/fi.js +33 -34
  17. data/vendor/assets/javascripts/trumbowyg/langs/fr.js +40 -34
  18. data/vendor/assets/javascripts/trumbowyg/langs/he.js +57 -0
  19. data/vendor/assets/javascripts/trumbowyg/langs/hu.js +58 -0
  20. data/vendor/assets/javascripts/trumbowyg/langs/id.js +33 -34
  21. data/vendor/assets/javascripts/trumbowyg/langs/it.js +33 -34
  22. data/vendor/assets/javascripts/trumbowyg/langs/ja.js +56 -0
  23. data/vendor/assets/javascripts/trumbowyg/langs/ko.js +33 -34
  24. data/vendor/assets/javascripts/trumbowyg/langs/my.js +54 -0
  25. data/vendor/assets/javascripts/trumbowyg/langs/nl.js +56 -0
  26. data/vendor/assets/javascripts/trumbowyg/langs/pl.js +33 -34
  27. data/vendor/assets/javascripts/trumbowyg/langs/pt.js +33 -34
  28. data/vendor/assets/javascripts/trumbowyg/langs/ro.js +33 -35
  29. data/vendor/assets/javascripts/trumbowyg/langs/rs.js +53 -0
  30. data/vendor/assets/javascripts/trumbowyg/langs/rs_latin.js +54 -0
  31. data/vendor/assets/javascripts/trumbowyg/langs/ru.js +33 -34
  32. data/vendor/assets/javascripts/trumbowyg/langs/sk.js +54 -0
  33. data/vendor/assets/javascripts/trumbowyg/langs/sv.js +55 -0
  34. data/vendor/assets/javascripts/trumbowyg/langs/tr.js +34 -36
  35. data/vendor/assets/javascripts/trumbowyg/langs/ua.js +54 -0
  36. data/vendor/assets/javascripts/trumbowyg/langs/vi.js +55 -0
  37. data/vendor/assets/javascripts/trumbowyg/langs/zh_cn.js +34 -34
  38. data/vendor/assets/javascripts/trumbowyg/langs/zh_tw.js +57 -0
  39. data/vendor/assets/javascripts/trumbowyg/plugins/base64/trumbowyg.base64.js +90 -0
  40. data/vendor/assets/javascripts/trumbowyg/plugins/colors/trumbowyg.colors.js +164 -0
  41. data/vendor/assets/javascripts/trumbowyg/plugins/noembed/trumbowyg.noembed.js +96 -0
  42. data/vendor/assets/javascripts/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.js +39 -0
  43. data/vendor/assets/javascripts/trumbowyg/plugins/preformatted/trumbowyg.preformatted.js +117 -0
  44. data/vendor/assets/javascripts/trumbowyg/plugins/upload/trumbowyg.upload.js +204 -0
  45. data/vendor/assets/javascripts/trumbowyg/trumbowyg.js +1126 -700
  46. data/vendor/assets/stylesheets/trumbowyg/plugins/colors/trumbowyg.colors.scss +49 -0
  47. data/vendor/assets/stylesheets/trumbowyg/trumbowyg.scss +351 -159
  48. metadata +33 -11
  49. data/vendor/assets/images/trumbowyg/images/icons-2x.png +0 -0
  50. data/vendor/assets/images/trumbowyg/images/icons.png +0 -0
  51. data/vendor/assets/stylesheets/trumbowyg/_sprite-2x.scss +0 -28
  52. 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: "Ver HTML",
11
+ viewHTML: 'Ver HTML',
12
12
 
13
- formatting: "Formato",
14
- p: "Párrafo",
15
- blockquote: "Cita",
16
- code: "Código",
17
- header: "Título",
13
+ formatting: 'Formato',
14
+ p: 'Párrafo',
15
+ blockquote: 'Cita',
16
+ code: 'Código',
17
+ header: 'Título',
18
18
 
19
- bold: "Negrita",
20
- italic: "Cursiva",
21
- strikethrough: "Tachado",
22
- underline: "Subrayado",
19
+ bold: 'Negrita',
20
+ italic: 'Cursiva',
21
+ strikethrough: 'Tachado',
22
+ underline: 'Subrayado',
23
23
 
24
- strong: "Negrita",
25
- em: "Énfasis",
26
- del: "Borrar",
24
+ strong: 'Negrita',
25
+ em: 'Énfasis',
26
+ del: 'Borrar',
27
27
 
28
- unorderedList: "Lista Desordenada",
29
- orderedList: "Lista Ordenada",
28
+ unorderedList: 'Lista Desordenada',
29
+ orderedList: 'Lista Ordenada',
30
30
 
31
- insertImage: "Insertar una imagen",
32
- insertVideo: "Insertar un vídeo",
33
- link: "Enlace",
34
- createLink: "Insertar un enlace",
35
- unlink: "Suprimir un enlace",
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: "Izquierda",
38
- justifyCenter: "Centrar",
39
- justifyRight: "Derecha",
40
- justifyFull: "Justificado",
37
+ justifyLeft: 'Izquierda',
38
+ justifyCenter: 'Centrar',
39
+ justifyRight: 'Derecha',
40
+ justifyFull: 'Justificado',
41
41
 
42
- horizontalRule: "Insertar separador horizontal",
42
+ horizontalRule: 'Insertar separador horizontal',
43
43
 
44
- fullscreen: "Pantalla completa",
44
+ fullscreen: 'Pantalla completa',
45
45
 
46
- close: "Cerrar",
46
+ close: 'Cerrar',
47
47
 
48
- submit: "Enviar",
49
- reset: "Cancelar",
48
+ submit: 'Enviar',
49
+ reset: 'Cancelar',
50
50
 
51
- invalidUrl: "URL no válida",
52
- required: "Obligatorio",
53
- description: "Descripción",
54
- title: "Título",
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: "Ver HTML",
12
+ viewHTML: 'Ver HTML',
12
13
 
13
- formatting: "Formato",
14
- p: "Párrafo",
15
- blockquote: "Cita",
16
- code: "Código",
17
- header: "Título",
14
+ formatting: 'Formato',
15
+ p: 'Párrafo',
16
+ blockquote: 'Cita',
17
+ code: 'Código',
18
+ header: 'Título',
18
19
 
19
- bold: "Negrita",
20
- italic: "Itálica",
21
- strikethrough: "Tachado",
22
- underline: "Subrayado",
20
+ bold: 'Negrita',
21
+ italic: 'Itálica',
22
+ strikethrough: 'Tachado',
23
+ underline: 'Subrayado',
23
24
 
24
- strong: "Fuere",
25
- em: "Énfasis",
26
- del: "Borrar",
25
+ strong: 'Fuere',
26
+ em: 'Énfasis',
27
+ del: 'Borrar',
27
28
 
28
- unorderedList: "Lista Desordenada",
29
- orderedList: "Lista Ordenada",
29
+ unorderedList: 'Lista Desordenada',
30
+ orderedList: 'Lista Ordenada',
30
31
 
31
- insertImage: "Insertar una imagen",
32
- insertVideo: "Insertar un video",
33
- link: "Vínculo",
34
- createLink: "Insertar un vínculo",
35
- unlink: "Suprimir un vínculo",
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: "Alinear a la Izquierda",
38
- justifyCenter: "Centrar",
39
- justifyRight: "Alinear a la Derecha",
40
- justifyFull: "Justificado",
38
+ justifyLeft: 'Alinear a la Izquierda',
39
+ justifyCenter: 'Centrar',
40
+ justifyRight: 'Alinear a la Derecha',
41
+ justifyFull: 'Justificado',
41
42
 
42
- horizontalRule: "Insertar separado Horizontal",
43
+ horizontalRule: 'Insertar separado Horizontal',
43
44
 
44
- fullscreen: "Pantalla Completa",
45
+ fullscreen: 'Pantalla Completa',
45
46
 
46
- close: "Cerrar",
47
+ close: 'Cerrar',
47
48
 
48
- submit: "Enviar",
49
- reset: "Cancelar",
49
+ submit: 'Enviar',
50
+ reset: 'Cancelar',
50
51
 
51
- invalidUrl: "URL inválida",
52
- required: "Obligatorio",
53
- description: "Descripción",
54
- title: "Título",
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
- invalidUrl: "لینک نامعتبر",
53
- required: "اجباری",
54
- description: "توضیحات",
55
- title: "عنوان",
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: "Näytä HTML",
11
+ viewHTML: 'Näytä HTML',
12
12
 
13
- formatting: "Muotoilu",
14
- p: "Kappale",
15
- blockquote: "Lainaus",
16
- code: "Koodi",
17
- header: "Otsikko",
13
+ formatting: 'Muotoilu',
14
+ p: 'Kappale',
15
+ blockquote: 'Lainaus',
16
+ code: 'Koodi',
17
+ header: 'Otsikko',
18
18
 
19
- bold: "Lihavointi",
20
- italic: "Kursivointi",
21
- strikethrough: "Yliviivaus",
22
- underline: "Allevivaus",
19
+ bold: 'Lihavointi',
20
+ italic: 'Kursivointi',
21
+ strikethrough: 'Yliviivaus',
22
+ underline: 'Allevivaus',
23
23
 
24
- strong: "Vahvennus",
25
- em: "Painotus",
26
- del: "Poistettu",
24
+ strong: 'Vahvennus',
25
+ em: 'Painotus',
26
+ del: 'Poistettu',
27
27
 
28
- unorderedList: "Numeroimaton lista",
29
- orderedList: "Numeroitu lista",
28
+ unorderedList: 'Numeroimaton lista',
29
+ orderedList: 'Numeroitu lista',
30
30
 
31
- insertImage: "Lisää kuva",
32
- insertVideo: "Lisää video",
33
- link: "Linkki",
34
- createLink: "Luo linkki",
35
- unlink: "Poista linkki",
31
+ insertImage: 'Lisää kuva',
32
+ insertVideo: 'Lisää video',
33
+ link: 'Linkki',
34
+ createLink: 'Luo linkki',
35
+ unlink: 'Poista linkki',
36
36
 
37
- justifyLeft: "Asemoi vasemmalle",
38
- justifyCenter: "Keskitä",
39
- justifyRight: "Asemoi oikealle",
40
- justifyFull: "Tasaa",
37
+ justifyLeft: 'Asemoi vasemmalle',
38
+ justifyCenter: 'Keskitä',
39
+ justifyRight: 'Asemoi oikealle',
40
+ justifyFull: 'Tasaa',
41
41
 
42
- horizontalRule: "Vaakaviiva",
42
+ horizontalRule: 'Vaakaviiva',
43
43
 
44
- fullscreen: "Kokoruutu",
44
+ fullscreen: 'Kokoruutu',
45
45
 
46
- close: "Sulje",
46
+ close: 'Sulje',
47
47
 
48
- submit: "Lähetä",
49
- reset: "Palauta",
48
+ submit: 'Lähetä',
49
+ reset: 'Palauta',
50
50
 
51
- invalidUrl: "Viallinen URL-osoite",
52
- required: "Pakollinen",
53
- description: "Kuvaus",
54
- title: "Otsikko",
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: "Voir le HTML",
12
+ viewHTML: 'Voir le HTML',
13
13
 
14
- formatting: "Format",
15
- p: "Paragraphe",
16
- blockquote: "Citation",
17
- code: "Code",
18
- header: "Titre",
14
+ undo: 'Annuler',
15
+ redo: 'Refaire',
19
16
 
20
- bold: "Gras",
21
- italic: "Italique",
22
- strikethrough: "Rayé",
23
- underline: "Souligné",
17
+ formatting: 'Format',
18
+ p: 'Paragraphe',
19
+ blockquote: 'Citation',
20
+ code: 'Code',
21
+ header: 'Titre',
24
22
 
25
- strong: "Fort",
26
- em: "Emphase",
27
- del: "Supprimé",
23
+ bold: 'Gras',
24
+ italic: 'Italique',
25
+ strikethrough: 'Rayé',
26
+ underline: 'Souligné',
28
27
 
29
- unorderedList: "Liste à puces",
30
- orderedList: "Liste ordonnée",
28
+ strong: 'Fort',
29
+ em: 'Emphase',
30
+ del: 'Supprimé',
31
31
 
32
- insertImage: "Insérer une image",
33
- insertVideo: "Insérer une video",
34
- link: "Lien",
35
- createLink: "Insérer un lien",
36
- unlink: "Supprimer le lien",
32
+ superscript: 'Exposant',
33
+ subscript: 'Indice',
37
34
 
38
- justifyLeft: "Aligner à gauche",
39
- justifyCenter: "Centrer",
40
- justifyRight: "Aligner à droite",
41
- justifyFull: "Justifier",
35
+ unorderedList: 'Liste à puces',
36
+ orderedList: 'Liste ordonnée',
42
37
 
43
- horizontalRule: "Insérer un séparateur horizontal",
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
- fullscreen: "Plein écran",
44
+ justifyLeft: 'Aligner à gauche',
45
+ justifyCenter: 'Centrer',
46
+ justifyRight: 'Aligner à droite',
47
+ justifyFull: 'Justifier',
46
48
 
47
- close: "Fermer",
49
+ horizontalRule: 'Insérer un séparateur horizontal',
48
50
 
49
- submit: "Valider",
50
- reset: "Annuler",
51
+ fullscreen: 'Plein écran',
51
52
 
52
- invalidUrl: "URL invalide",
53
- required: "Obligatoire",
54
- description: "Description",
55
- title: "Titre",
56
- text: "Texte"
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
+ };