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.pl = {
11
- viewHTML: "Pokaż HTML",
11
+ viewHTML: 'Pokaż HTML',
12
12
 
13
- formatting: "Format",
14
- p: "Akapit",
15
- blockquote: "Cytat",
16
- code: "Kod",
17
- header: "Nagłówek",
13
+ formatting: 'Format',
14
+ p: 'Akapit',
15
+ blockquote: 'Cytat',
16
+ code: 'Kod',
17
+ header: 'Nagłówek',
18
18
 
19
- bold: "Pogrubienie",
20
- italic: "Pochylenie",
21
- strikethrough: "Przekreślenie",
22
- underline: "Podkreślenie",
19
+ bold: 'Pogrubienie',
20
+ italic: 'Pochylenie',
21
+ strikethrough: 'Przekreślenie',
22
+ underline: 'Podkreślenie',
23
23
 
24
- strong: "Wytłuszczenie",
25
- em: "Uwydatnienie",
26
- del: "Usunięte",
24
+ strong: 'Wytłuszczenie',
25
+ em: 'Uwydatnienie',
26
+ del: 'Usunięte',
27
27
 
28
- unorderedList: "Lista nieuporządkowana",
29
- orderedList: "Lista uporządkowana",
28
+ unorderedList: 'Lista nieuporządkowana',
29
+ orderedList: 'Lista uporządkowana',
30
30
 
31
- insertImage: "Wstaw obraz",
32
- insertVideo: "Wstaw film",
33
- link: "Link",
34
- createLink: "Wstaw link",
35
- unlink: "Usuń link",
31
+ insertImage: 'Wstaw obraz',
32
+ insertVideo: 'Wstaw film',
33
+ link: 'Link',
34
+ createLink: 'Wstaw link',
35
+ unlink: 'Usuń link',
36
36
 
37
- justifyLeft: "Wyrównaj do lewej",
38
- justifyCenter: "Wyśrodkuj",
39
- justifyRight: "Wyrównaj do prawej",
40
- justifyFull: "Wyjustuj",
37
+ justifyLeft: 'Wyrównaj do lewej',
38
+ justifyCenter: 'Wyśrodkuj',
39
+ justifyRight: 'Wyrównaj do prawej',
40
+ justifyFull: 'Wyjustuj',
41
41
 
42
- horizontalRule: "Odkreśl linią",
42
+ horizontalRule: 'Odkreśl linią',
43
43
 
44
- fullscreen: "Pełny ekran",
44
+ fullscreen: 'Pełny ekran',
45
45
 
46
- close: "Zamknij",
46
+ close: 'Zamknij',
47
47
 
48
- submit: "Zastosuj",
49
- reset: "Przywróć",
48
+ submit: 'Zastosuj',
49
+ reset: 'Przywróć',
50
50
 
51
- invalidUrl: "Nieprawidłowy URL",
52
- required: "Wymagane",
53
- description: "Opis",
54
- title: "Tytuł",
55
- text: "Tekst"
51
+ required: 'Wymagane',
52
+ description: 'Opis',
53
+ title: 'Tytuł',
54
+ text: 'Tekst'
56
55
  };
@@ -10,49 +10,48 @@
10
10
  */
11
11
 
12
12
  jQuery.trumbowyg.langs.pt = {
13
- viewHTML: "Ver HTML",
13
+ viewHTML: 'Ver HTML',
14
14
 
15
- formatting: "Formatar",
16
- p: "Paragráfo",
17
- blockquote: "Citação",
18
- code: "Código",
19
- header: "Título",
15
+ formatting: 'Formatar',
16
+ p: 'Paragráfo',
17
+ blockquote: 'Citação',
18
+ code: 'Código',
19
+ header: 'Título',
20
20
 
21
- bold: "Negrito",
22
- italic: "Itálico",
23
- strikethrough: "Suprimir",
24
- underline: "Sublinhado",
21
+ bold: 'Negrito',
22
+ italic: 'Itálico',
23
+ strikethrough: 'Suprimir',
24
+ underline: 'Sublinhado',
25
25
 
26
- strong: "Forte",
27
- em: "Ênfase",
28
- del: "Apagar",
26
+ strong: 'Forte',
27
+ em: 'Ênfase',
28
+ del: 'Apagar',
29
29
 
30
- unorderedList: "Lista não ordenada",
31
- orderedList: "Liste ordenada",
30
+ unorderedList: 'Lista não ordenada',
31
+ orderedList: 'Liste ordenada',
32
32
 
33
- insertImage: "Inserir imagem",
34
- insertVideo: "Inserir vídeo",
35
- link: "Link",
36
- createLink: "Criar um link",
37
- unlink: "Remover link",
33
+ insertImage: 'Inserir imagem',
34
+ insertVideo: 'Inserir vídeo',
35
+ link: 'Link',
36
+ createLink: 'Criar um link',
37
+ unlink: 'Remover link',
38
38
 
39
- justifyLeft: "Alinhar a esquerda",
40
- justifyCenter: "Centralizar",
41
- justifyRight: "Alinhar a direita",
42
- justifyFull: "Justificar",
39
+ justifyLeft: 'Alinhar a esquerda',
40
+ justifyCenter: 'Centralizar',
41
+ justifyRight: 'Alinhar a direita',
42
+ justifyFull: 'Justificar',
43
43
 
44
- horizontalRule: "Inserir separador horizontal",
44
+ horizontalRule: 'Inserir separador horizontal',
45
45
 
46
- fullscreen: "Tela cheia",
46
+ fullscreen: 'Tela cheia',
47
47
 
48
- close: "Fechar",
48
+ close: 'Fechar',
49
49
 
50
- submit: "Enviar",
51
- reset: "Limpar",
50
+ submit: 'Enviar',
51
+ reset: 'Limpar',
52
52
 
53
- invalidUrl: "URL inválida",
54
- required: "Obrigatório",
55
- description: "Descrição",
56
- title: "Título",
57
- text: "Texto"
53
+ required: 'Obrigatório',
54
+ description: 'Descrição',
55
+ title: 'Título',
56
+ text: 'Texto'
58
57
  };
@@ -4,7 +4,6 @@
4
4
  * http://alex-d.github.com/Trumbowyg
5
5
  * ===========================================================
6
6
  * Author : Vladut Radulescu (pacMakaveli)
7
- *
8
7
  * Email: pacMakaveli90@gmail.com
9
8
  * Twitter : @pacMakaveli90
10
9
  * Website : creative-studio51.co.uk
@@ -12,49 +11,48 @@
12
11
  */
13
12
 
14
13
  jQuery.trumbowyg.langs.pt = {
15
- viewHTML: "Vizualizare HTML",
14
+ viewHTML: 'Vizualizare HTML',
16
15
 
17
- formatting: "Format",
18
- p: "Paragraf",
19
- blockquote: "Citație",
20
- code: "Cod",
21
- header: "Titlu",
16
+ formatting: 'Format',
17
+ p: 'Paragraf',
18
+ blockquote: 'Citație',
19
+ code: 'Cod',
20
+ header: 'Titlu',
22
21
 
23
- bold: "Bold",
24
- italic: "Italic",
25
- strikethrough: "Tăiat",
26
- underline: "Subliniat",
22
+ bold: 'Bold',
23
+ italic: 'Italic',
24
+ strikethrough: 'Tăiat',
25
+ underline: 'Subliniat',
27
26
 
28
- strong: "Puternic",
29
- em: "Accentuat",
30
- del: "Sterge",
27
+ strong: 'Puternic',
28
+ em: 'Accentuat',
29
+ del: 'Sterge',
31
30
 
32
- unorderedList: "Lista dezordonată",
33
- orderedList: "Liste ordonată",
31
+ unorderedList: 'Lista dezordonată',
32
+ orderedList: 'Liste ordonată',
34
33
 
35
- insertImage: "Adăugare Imagine",
36
- insertVideo: "Adăugare Video",
37
- link: "Link",
38
- createLink: "Crează link",
39
- unlink: "Remover link",
34
+ insertImage: 'Adăugare Imagine',
35
+ insertVideo: 'Adăugare Video',
36
+ link: 'Link',
37
+ createLink: 'Crează link',
38
+ unlink: 'Remover link',
40
39
 
41
- justifyLeft: "Aliniază stânga",
42
- justifyCenter: "Aliniază centru",
43
- justifyRight: "Aliniază dreapta",
44
- justifyFull: "Justificare",
40
+ justifyLeft: 'Aliniază stânga',
41
+ justifyCenter: 'Aliniază centru',
42
+ justifyRight: 'Aliniază dreapta',
43
+ justifyFull: 'Justificare',
45
44
 
46
- horizontalRule: "Linie orizontală",
45
+ horizontalRule: 'Linie orizontală',
47
46
 
48
- fullscreen: "Tot ecranul",
47
+ fullscreen: 'Tot ecranul',
49
48
 
50
- close: "Închide",
49
+ close: 'Închide',
51
50
 
52
- submit: "Procesează",
53
- reset: "Resetează",
51
+ submit: 'Procesează',
52
+ reset: 'Resetează',
54
53
 
55
- invalidUrl: "URL invalid",
56
- required: "Obligatoriu",
57
- description: "Descriere",
58
- title: "Titlu",
59
- text: "Text"
54
+ required: 'Obligatoriu',
55
+ description: 'Descriere',
56
+ title: 'Titlu',
57
+ text: 'Text'
60
58
  };
@@ -0,0 +1,53 @@
1
+ /* ===========================================================
2
+ * rs.js
3
+ * Serbian (Cyrlic) translation for Trumbowyg
4
+ * https://www.github.com/johonunu
5
+ * ===========================================================
6
+ * Author : Nikola Trifunovic (https://www.github.com/johonunu)
7
+ */
8
+
9
+ jQuery.trumbowyg.langs.rs = {
10
+ viewHTML: 'Погледај HTML кóд',
11
+
12
+ formatting: 'Форматирање',
13
+ p: 'Параграф',
14
+ blockquote: 'Цитат',
15
+ code: 'Кóд',
16
+ header: 'Наслов',
17
+
18
+ bold: 'Подебљано',
19
+ italic: 'Курзив',
20
+ strikethrough: 'Прецртано',
21
+ underline: 'Подвучено',
22
+
23
+ strong: 'Подебљано',
24
+ em: 'Истакнуто',
25
+ del: 'Обрисано',
26
+
27
+ unorderedList: 'Ненабројива листа',
28
+ orderedList: 'Набројива листа',
29
+ insertImage: 'Унеси слику',
30
+ insertVideo: 'Унеси видео',
31
+ link: 'Линк',
32
+ createLink: 'Унеси линк',
33
+ unlink: 'Уклони линк',
34
+
35
+ justifyLeft: 'Лево равнање',
36
+ justifyCenter: 'Централно равнање',
37
+ justifyRight: 'Десно равнање',
38
+ justifyFull: 'Обострано равнање',
39
+
40
+ horizontalRule: 'Хоризонтална линија',
41
+
42
+ fullscreen: 'Режим читавог екрана',
43
+
44
+ close: 'Затвори',
45
+
46
+ submit: 'Унеси',
47
+ reset: 'Откажи',
48
+
49
+ required: 'Обавезно поље',
50
+ description: 'Опис',
51
+ title: 'Наслов',
52
+ text: 'Текст'
53
+ };
@@ -0,0 +1,54 @@
1
+ /* ===========================================================
2
+ * rs_latin.js
3
+ * Serbian (Latin) translation for Trumbowyg
4
+ * https://www.github.com/johonunu
5
+ * ===========================================================
6
+ * Author : Nikola Trifunovic (https://www.github.com/johonunu)
7
+ */
8
+
9
+ // jshint camelcase:false
10
+ jQuery.trumbowyg.langs.rs_latin = {
11
+ viewHTML: 'Poglеdaj HTML kód',
12
+
13
+ formatting: 'Formatiranjе',
14
+ p: 'Paragraf',
15
+ blockquote: 'Citat',
16
+ code: 'Kód',
17
+ header: 'Naslov',
18
+
19
+ bold: 'Podеbljano',
20
+ italic: 'Kurziv',
21
+ strikethrough: 'Prеcrtano',
22
+ underline: 'Podvučеno',
23
+
24
+ strong: 'Podеbljano',
25
+ em: 'Istaknuto',
26
+ del: 'Obrisano',
27
+
28
+ unorderedList: 'Nеnabrojiva lista',
29
+ orderedList: 'Nabrojiva lista',
30
+ insertImage: 'Unеsi sliku',
31
+ insertVideo: 'Unеsi vidеo',
32
+ link: 'Link',
33
+ createLink: 'Unеsi link',
34
+ unlink: 'Ukloni link',
35
+
36
+ justifyLeft: 'Lеvo ravnanjе',
37
+ justifyCenter: 'Cеntralno ravnanjе',
38
+ justifyRight: 'Dеsno ravnanjе',
39
+ justifyFull: 'Obostrano ravnanjе',
40
+
41
+ horizontalRule: 'Horizontalna linija',
42
+
43
+ fullscreen: 'Rеžim čitavog еkrana',
44
+
45
+ close: 'Zatvori',
46
+
47
+ submit: 'Unеsi',
48
+ reset: 'Otkaži',
49
+
50
+ required: 'Obavеzno poljе',
51
+ description: 'Opis',
52
+ title: 'Naslov',
53
+ text: 'Tеkst'
54
+ };
@@ -7,49 +7,48 @@
7
7
  */
8
8
 
9
9
  jQuery.trumbowyg.langs.ru = {
10
- viewHTML: "Посмотреть HTML",
10
+ viewHTML: 'Посмотреть HTML',
11
11
 
12
- formatting: "Форматирование",
13
- p: "Обычный",
14
- blockquote: "Цитата",
15
- code: "Код",
16
- header: "Заголовок",
12
+ formatting: 'Форматирование',
13
+ p: 'Обычный',
14
+ blockquote: 'Цитата',
15
+ code: 'Код',
16
+ header: 'Заголовок',
17
17
 
18
- bold: "Полужирный",
19
- italic: "Курсив",
20
- strikethrough: "Зачеркнутый",
21
- underline: "Подчеркнутый",
18
+ bold: 'Полужирный',
19
+ italic: 'Курсив',
20
+ strikethrough: 'Зачеркнутый',
21
+ underline: 'Подчеркнутый',
22
22
 
23
- strong: "Полужирный",
24
- em: "Курсив",
25
- del: "Зачеркнутый",
23
+ strong: 'Полужирный',
24
+ em: 'Курсив',
25
+ del: 'Зачеркнутый',
26
26
 
27
- unorderedList: "Обычный список",
28
- orderedList: "Нумерованный список",
27
+ unorderedList: 'Обычный список',
28
+ orderedList: 'Нумерованный список',
29
29
 
30
- insertImage: "Вставить изображение",
31
- insertVideo: "Вставить видео",
32
- link: "Ссылка",
33
- createLink: "Вставить ссылку",
34
- unlink: "Удалить ссылку",
30
+ insertImage: 'Вставить изображение',
31
+ insertVideo: 'Вставить видео',
32
+ link: 'Ссылка',
33
+ createLink: 'Вставить ссылку',
34
+ unlink: 'Удалить ссылку',
35
35
 
36
- justifyLeft: "По левому краю",
37
- justifyCenter: "По центру",
38
- justifyRight: "По правому краю",
39
- justifyFull: "По ширине",
36
+ justifyLeft: 'По левому краю',
37
+ justifyCenter: 'По центру',
38
+ justifyRight: 'По правому краю',
39
+ justifyFull: 'По ширине',
40
40
 
41
- horizontalRule: "Горизонтальная линия",
41
+ horizontalRule: 'Горизонтальная линия',
42
42
 
43
- fullscreen: "Во весь экран",
43
+ fullscreen: 'Во весь экран',
44
44
 
45
- close: "Закрыть",
45
+ close: 'Закрыть',
46
46
 
47
- submit: "Вставить",
48
- reset: "Отменить",
47
+ submit: 'Вставить',
48
+ reset: 'Отменить',
49
49
 
50
- invalidUrl: "Неверный URL",
51
- required: "Обязательное",
52
- description: "Описание",
53
- title: "Подсказка",
54
- text: "Текст"
50
+ required: 'Обязательное',
51
+ description: 'Описание',
52
+ title: 'Подсказка',
53
+ text: 'Текст'
55
54
  };