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
@@ -0,0 +1,58 @@
1
+ /* ===========================================================
2
+ * hu.js
3
+ * Hungarian translation for Trumbowyg
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : Peter MATO
7
+ * Web: http://fixme.hu
8
+ * GitHub: https://github.com/matopeter
9
+ */
10
+
11
+ jQuery.trumbowyg.langs.hu = {
12
+ viewHTML: 'HTML nézet',
13
+
14
+ formatting: 'Stílusok',
15
+
16
+ p: 'Bekezdés',
17
+ blockquote: 'Idézet',
18
+ code: 'Kód',
19
+ header: 'Címsor',
20
+
21
+ bold: 'Félkövér',
22
+ italic: 'Dőlt',
23
+ strikethrough: 'Áthúzott',
24
+ underline: 'Aláhúzott',
25
+
26
+ strong: 'Vastag',
27
+ em: 'Kiemelt',
28
+ del: 'Törölt',
29
+
30
+ unorderedList: 'Felsorolás',
31
+ orderedList: 'Számozás',
32
+
33
+ insertImage: 'Kép beszúrása',
34
+ insertVideo: 'Video beszúrása',
35
+ link: 'Link',
36
+ createLink: 'Link létrehozása',
37
+ unlink: 'Link eltávolítása',
38
+
39
+ justifyLeft: 'Balra igazítás',
40
+ justifyCenter: 'Középre igazítás',
41
+ justifyRight: 'Jobbra igazítás',
42
+ justifyFull: 'Sorkizárt',
43
+
44
+ horizontalRule: 'Vízszintes vonal',
45
+
46
+ fullscreen: 'Teljes képernyő',
47
+ close: 'Bezár',
48
+
49
+ submit: 'Beküldés',
50
+ reset: 'Alaphelyzet',
51
+
52
+ required: 'Kötelező',
53
+ description: 'Leírás',
54
+ title: 'Cím',
55
+ text: 'Szöveg',
56
+
57
+ removeformat: 'Formázás eltávolítása'
58
+ };
@@ -10,49 +10,48 @@
10
10
  */
11
11
 
12
12
  jQuery.trumbowyg.langs.id = {
13
- viewHTML: "Lihat HTML",
13
+ viewHTML: 'Lihat HTML',
14
14
 
15
- formatting: "Penyusunan",
16
- p: "Paragraf",
17
- blockquote: "Kutipan",
18
- code: "Kode",
19
- header: "Kepala",
15
+ formatting: 'Penyusunan',
16
+ p: 'Paragraf',
17
+ blockquote: 'Kutipan',
18
+ code: 'Kode',
19
+ header: 'Kepala',
20
20
 
21
- bold: "Tebal",
22
- italic: "Miring",
23
- strikethrough: "Coret",
24
- underline: "Garis bawah",
21
+ bold: 'Tebal',
22
+ italic: 'Miring',
23
+ strikethrough: 'Coret',
24
+ underline: 'Garis bawah',
25
25
 
26
- strong: "Tebal",
27
- em: "Miring",
28
- del: "Dicoret",
26
+ strong: 'Tebal',
27
+ em: 'Miring',
28
+ del: 'Dicoret',
29
29
 
30
- unorderedList: "Daftar tak teratur",
31
- orderedList: "Daftar teratur",
30
+ unorderedList: 'Daftar tak teratur',
31
+ orderedList: 'Daftar teratur',
32
32
 
33
- insertImage: "Sisipkan gambar",
34
- insertVideo: "Sisipkan video",
35
- link: "Tautan",
36
- createLink: "Sisipkan Tautan",
37
- unlink: "Singkirkan tautan",
33
+ insertImage: 'Sisipkan gambar',
34
+ insertVideo: 'Sisipkan video',
35
+ link: 'Tautan',
36
+ createLink: 'Sisipkan Tautan',
37
+ unlink: 'Singkirkan tautan',
38
38
 
39
- justifyLeft: "Rata kiri",
40
- justifyCenter: "Rata Tengah",
41
- justifyRight: "Rata kanan",
42
- justifyFull: "Rata kiri dan kanan",
39
+ justifyLeft: 'Rata kiri',
40
+ justifyCenter: 'Rata Tengah',
41
+ justifyRight: 'Rata kanan',
42
+ justifyFull: 'Rata kiri dan kanan',
43
43
 
44
- horizontalRule: "Sisipkan garis mendatar",
44
+ horizontalRule: 'Sisipkan garis mendatar',
45
45
 
46
- fullscreen: "Layar penuh",
46
+ fullscreen: 'Layar penuh',
47
47
 
48
- close: "Tutup",
48
+ close: 'Tutup',
49
49
 
50
- submit: "Setuju",
51
- reset: "Batal",
50
+ submit: 'Setuju',
51
+ reset: 'Batal',
52
52
 
53
- invalidUrl: "Tautan salah",
54
- required: "Diperlukan",
55
- description: "Deskripsi",
56
- title: "Judul",
57
- text: "Teks"
53
+ required: 'Diperlukan',
54
+ description: 'Deskripsi',
55
+ title: 'Judul',
56
+ text: 'Teks'
58
57
  };
@@ -7,49 +7,48 @@
7
7
  */
8
8
 
9
9
  jQuery.trumbowyg.langs.it = {
10
- viewHTML: "Mostra HTML",
10
+ viewHTML: 'Mostra HTML',
11
11
 
12
- formatting: "Formattazione",
13
- p: "Paragrafo",
14
- blockquote: "Citazione",
15
- code: "Codice",
16
- header: "Intestazione",
12
+ formatting: 'Formattazione',
13
+ p: 'Paragrafo',
14
+ blockquote: 'Citazione',
15
+ code: 'Codice',
16
+ header: 'Intestazione',
17
17
 
18
- bold: "Grassetto",
19
- italic: "Italico",
20
- strikethrough: "Barrato",
21
- underline: "Sottolineato",
18
+ bold: 'Grassetto',
19
+ italic: 'Italico',
20
+ strikethrough: 'Barrato',
21
+ underline: 'Sottolineato',
22
22
 
23
- strong: "Rafforza",
24
- em: "Enfatizza",
25
- del: "Cancella",
23
+ strong: 'Rafforza',
24
+ em: 'Enfatizza',
25
+ del: 'Cancella',
26
26
 
27
- unorderedList: "Elenco puntato",
28
- orderedList: "Elenco numerato",
27
+ unorderedList: 'Elenco puntato',
28
+ orderedList: 'Elenco numerato',
29
29
 
30
- insertImage: "Inserisci immagine",
31
- insertVideo: "Inserisci video",
32
- link: "Collegamento",
33
- createLink: "Crea un collegamento",
34
- unlink: "Elimina collegamento",
30
+ insertImage: 'Inserisci immagine',
31
+ insertVideo: 'Inserisci video',
32
+ link: 'Collegamento',
33
+ createLink: 'Crea un collegamento',
34
+ unlink: 'Elimina collegamento',
35
35
 
36
- justifyLeft: "Allinea a sinistra",
37
- justifyCenter: "Centra",
38
- justifyRight: "Allinea a destra",
39
- justifyFull: "Giustifica",
36
+ justifyLeft: 'Allinea a sinistra',
37
+ justifyCenter: 'Centra',
38
+ justifyRight: 'Allinea a destra',
39
+ justifyFull: 'Giustifica',
40
40
 
41
- horizontalRule: "Inserisci un separatore orizzontale",
41
+ horizontalRule: 'Inserisci un separatore orizzontale',
42
42
 
43
- fullscreen: "Schermo intero",
43
+ fullscreen: 'Schermo intero',
44
44
 
45
- close: "Chiudi",
45
+ close: 'Chiudi',
46
46
 
47
- submit: "Invia",
48
- reset: "Annulla",
47
+ submit: 'Invia',
48
+ reset: 'Annulla',
49
49
 
50
- invalidUrl: "URL invalido",
51
- required: "Obbligatorio",
52
- description: "Descrizione",
53
- title: "Titolo",
54
- text: "Testo"
50
+ required: 'Obbligatorio',
51
+ description: 'Descrizione',
52
+ title: 'Titolo',
53
+ text: 'Testo'
55
54
  };
@@ -0,0 +1,56 @@
1
+ /* ===========================================================
2
+ * ja.js
3
+ * Japanese translation for Trumbowyg
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : Kouta Fukuhara (foo9)
7
+ * Twitter : @foo9
8
+ * Website : https://github.com/foo9
9
+ */
10
+
11
+ jQuery.trumbowyg.langs.ja = {
12
+ viewHTML: 'HTML表示',
13
+
14
+ formatting: 'フォーマット',
15
+ p: '段落',
16
+ blockquote: '引用',
17
+ code: 'コード',
18
+ header: '見出し',
19
+
20
+ bold: '太字',
21
+ italic: '斜体',
22
+ strikethrough: '取り消し線',
23
+ underline: '下線',
24
+
25
+ strong: '太字',
26
+ em: '斜体',
27
+ del: '取り消し線',
28
+
29
+ unorderedList: '順序なしリスト',
30
+ orderedList: '順序ありリスト',
31
+
32
+ insertImage: '画像の挿入',
33
+ insertVideo: '動画の挿入',
34
+ link: 'リンク',
35
+ createLink: 'リンクの作成',
36
+ unlink: 'リンクの削除',
37
+
38
+ justifyLeft: '左揃え',
39
+ justifyCenter: '中央揃え',
40
+ justifyRight: '右揃え',
41
+ justifyFull: '両端揃え',
42
+
43
+ horizontalRule: '横罫線',
44
+
45
+ fullscreen: '全画面表示',
46
+
47
+ close: '閉じる',
48
+
49
+ submit: '送信',
50
+ reset: 'キャンセル',
51
+
52
+ required: '必須',
53
+ description: '説明',
54
+ title: 'タイトル',
55
+ text: 'テキスト'
56
+ };
@@ -9,49 +9,48 @@
9
9
  */
10
10
 
11
11
  jQuery.trumbowyg.langs.ko = {
12
- viewHTML: "HTML로 보기",
12
+ viewHTML: 'HTML로 보기',
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: "올바르지 않은 URL입니다.",
53
- required: "꼭 입력해야 합니다.",
54
- description: "설명",
55
- title: "제목",
56
- text: "본문 내용"
52
+ required: '꼭 입력해야 합니다.',
53
+ description: '설명',
54
+ title: '제목',
55
+ text: '본문 내용'
57
56
  };
@@ -0,0 +1,54 @@
1
+ /* ===========================================================
2
+ * my.js
3
+ * Malaysian translation for Trumbowyg
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : JohnPozy
7
+ */
8
+
9
+ jQuery.trumbowyg.langs.id = {
10
+ viewHTML: 'Lihat HTML',
11
+
12
+ formatting: 'Pemformatan',
13
+ p: 'Perenggan',
14
+ blockquote: 'Blockquote',
15
+ code: 'Kod',
16
+ header: 'Pengepala',
17
+
18
+ bold: 'Tebal',
19
+ italic: 'Condong',
20
+ strikethrough: 'Garis batal',
21
+ underline: 'Garis bawah',
22
+
23
+ strong: 'Kuat',
24
+ em: 'Condong',
25
+ del: 'Hapus',
26
+
27
+ unorderedList: 'Senarai tidak tertib',
28
+ orderedList: 'Senarai tertib',
29
+
30
+ insertImage: 'Masukkan imej',
31
+ insertVideo: 'Masukkan video',
32
+ link: 'Pautan',
33
+ createLink: 'Cipta pautan',
34
+ unlink: 'Hapus pautan',
35
+
36
+ justifyLeft: 'Mengimbangkan ke kiri',
37
+ justifyCenter: 'Mengimbangkan ke tengah',
38
+ justifyRight: 'Mengimbangkan ke kanan',
39
+ justifyFull: 'Mengimbangkan ke kiri dan kanan',
40
+
41
+ horizontalRule: 'Masukkan garis mendatar',
42
+
43
+ fullscreen: 'Skrin penuh',
44
+
45
+ close: 'Tutup',
46
+
47
+ submit: 'Hantar',
48
+ reset: 'Batal',
49
+
50
+ required: 'Diperlukan',
51
+ description: 'Perihal',
52
+ title: 'Tajuk',
53
+ text: 'Teks'
54
+ };
@@ -0,0 +1,56 @@
1
+ /* ===========================================================
2
+ * nl.js
3
+ * Dutch translation for Trumbowyg
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : Danny Hiemstra
7
+ * Github : https://github.com/dhiemstra
8
+ */
9
+
10
+ jQuery.trumbowyg.langs.nl = {
11
+ viewHTML: 'HTML bekijken',
12
+
13
+ formatting: 'Opmaak',
14
+ p: 'Paragraaf',
15
+ blockquote: 'Citaat',
16
+ code: 'Code',
17
+ header: 'Kop',
18
+
19
+ bold: 'Vet',
20
+ italic: 'Cursief',
21
+ strikethrough: 'Doorhalen',
22
+ underline: 'Onderlijnen',
23
+
24
+ strong: 'Sterk',
25
+ em: 'Nadruk',
26
+ del: 'Verwijderd',
27
+
28
+ unorderedList: 'Ongenummerde lijst',
29
+ orderedList: 'Genummerde lijst',
30
+
31
+ insertImage: 'Afbeelding invoegen',
32
+ insertVideo: 'Video invoegen',
33
+ link: 'Link',
34
+ createLink: 'Link maken',
35
+ unlink: 'Link verwijderen',
36
+
37
+ justifyLeft: 'Links uitlijnen',
38
+ justifyCenter: 'Centreren',
39
+ justifyRight: 'Rechts uitlijnen',
40
+ justifyFull: 'Uitvullen',
41
+
42
+ horizontalRule: 'Horizontale lijn',
43
+ removeFormat: 'Opmaak verwijderen',
44
+
45
+ fullscreen: 'Volledig scherm',
46
+
47
+ close: 'Sluiten',
48
+
49
+ submit: 'Verzenden',
50
+ reset: 'Herstellen',
51
+
52
+ required: 'Verplicht',
53
+ description: 'Omschrijving',
54
+ title: 'Titel',
55
+ text: 'Tekst'
56
+ };