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.pl = {
|
11
|
-
viewHTML:
|
11
|
+
viewHTML: 'Pokaż HTML',
|
12
12
|
|
13
|
-
formatting:
|
14
|
-
p:
|
15
|
-
blockquote:
|
16
|
-
code:
|
17
|
-
header:
|
13
|
+
formatting: 'Format',
|
14
|
+
p: 'Akapit',
|
15
|
+
blockquote: 'Cytat',
|
16
|
+
code: 'Kod',
|
17
|
+
header: 'Nagłówek',
|
18
18
|
|
19
|
-
bold:
|
20
|
-
italic:
|
21
|
-
strikethrough:
|
22
|
-
underline:
|
19
|
+
bold: 'Pogrubienie',
|
20
|
+
italic: 'Pochylenie',
|
21
|
+
strikethrough: 'Przekreślenie',
|
22
|
+
underline: 'Podkreślenie',
|
23
23
|
|
24
|
-
strong:
|
25
|
-
em:
|
26
|
-
del:
|
24
|
+
strong: 'Wytłuszczenie',
|
25
|
+
em: 'Uwydatnienie',
|
26
|
+
del: 'Usunięte',
|
27
27
|
|
28
|
-
unorderedList:
|
29
|
-
orderedList:
|
28
|
+
unorderedList: 'Lista nieuporządkowana',
|
29
|
+
orderedList: 'Lista uporządkowana',
|
30
30
|
|
31
|
-
insertImage:
|
32
|
-
insertVideo:
|
33
|
-
link:
|
34
|
-
createLink:
|
35
|
-
unlink:
|
31
|
+
insertImage: 'Wstaw obraz',
|
32
|
+
insertVideo: 'Wstaw film',
|
33
|
+
link: 'Link',
|
34
|
+
createLink: 'Wstaw link',
|
35
|
+
unlink: 'Usuń link',
|
36
36
|
|
37
|
-
justifyLeft:
|
38
|
-
justifyCenter:
|
39
|
-
justifyRight:
|
40
|
-
justifyFull:
|
37
|
+
justifyLeft: 'Wyrównaj do lewej',
|
38
|
+
justifyCenter: 'Wyśrodkuj',
|
39
|
+
justifyRight: 'Wyrównaj do prawej',
|
40
|
+
justifyFull: 'Wyjustuj',
|
41
41
|
|
42
|
-
horizontalRule:
|
42
|
+
horizontalRule: 'Odkreśl linią',
|
43
43
|
|
44
|
-
fullscreen:
|
44
|
+
fullscreen: 'Pełny ekran',
|
45
45
|
|
46
|
-
close:
|
46
|
+
close: 'Zamknij',
|
47
47
|
|
48
|
-
submit:
|
49
|
-
reset:
|
48
|
+
submit: 'Zastosuj',
|
49
|
+
reset: 'Przywróć',
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
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:
|
13
|
+
viewHTML: 'Ver HTML',
|
14
14
|
|
15
|
-
formatting:
|
16
|
-
p:
|
17
|
-
blockquote:
|
18
|
-
code:
|
19
|
-
header:
|
15
|
+
formatting: 'Formatar',
|
16
|
+
p: 'Paragráfo',
|
17
|
+
blockquote: 'Citação',
|
18
|
+
code: 'Código',
|
19
|
+
header: 'Título',
|
20
20
|
|
21
|
-
bold:
|
22
|
-
italic:
|
23
|
-
strikethrough:
|
24
|
-
underline:
|
21
|
+
bold: 'Negrito',
|
22
|
+
italic: 'Itálico',
|
23
|
+
strikethrough: 'Suprimir',
|
24
|
+
underline: 'Sublinhado',
|
25
25
|
|
26
|
-
strong:
|
27
|
-
em:
|
28
|
-
del:
|
26
|
+
strong: 'Forte',
|
27
|
+
em: 'Ênfase',
|
28
|
+
del: 'Apagar',
|
29
29
|
|
30
|
-
unorderedList:
|
31
|
-
orderedList:
|
30
|
+
unorderedList: 'Lista não ordenada',
|
31
|
+
orderedList: 'Liste ordenada',
|
32
32
|
|
33
|
-
insertImage:
|
34
|
-
insertVideo:
|
35
|
-
link:
|
36
|
-
createLink:
|
37
|
-
unlink:
|
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:
|
40
|
-
justifyCenter:
|
41
|
-
justifyRight:
|
42
|
-
justifyFull:
|
39
|
+
justifyLeft: 'Alinhar a esquerda',
|
40
|
+
justifyCenter: 'Centralizar',
|
41
|
+
justifyRight: 'Alinhar a direita',
|
42
|
+
justifyFull: 'Justificar',
|
43
43
|
|
44
|
-
horizontalRule:
|
44
|
+
horizontalRule: 'Inserir separador horizontal',
|
45
45
|
|
46
|
-
fullscreen:
|
46
|
+
fullscreen: 'Tela cheia',
|
47
47
|
|
48
|
-
close:
|
48
|
+
close: 'Fechar',
|
49
49
|
|
50
|
-
submit:
|
51
|
-
reset:
|
50
|
+
submit: 'Enviar',
|
51
|
+
reset: 'Limpar',
|
52
52
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
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:
|
14
|
+
viewHTML: 'Vizualizare HTML',
|
16
15
|
|
17
|
-
formatting:
|
18
|
-
p:
|
19
|
-
blockquote:
|
20
|
-
code:
|
21
|
-
header:
|
16
|
+
formatting: 'Format',
|
17
|
+
p: 'Paragraf',
|
18
|
+
blockquote: 'Citație',
|
19
|
+
code: 'Cod',
|
20
|
+
header: 'Titlu',
|
22
21
|
|
23
|
-
bold:
|
24
|
-
italic:
|
25
|
-
strikethrough:
|
26
|
-
underline:
|
22
|
+
bold: 'Bold',
|
23
|
+
italic: 'Italic',
|
24
|
+
strikethrough: 'Tăiat',
|
25
|
+
underline: 'Subliniat',
|
27
26
|
|
28
|
-
strong:
|
29
|
-
em:
|
30
|
-
del:
|
27
|
+
strong: 'Puternic',
|
28
|
+
em: 'Accentuat',
|
29
|
+
del: 'Sterge',
|
31
30
|
|
32
|
-
unorderedList:
|
33
|
-
orderedList:
|
31
|
+
unorderedList: 'Lista dezordonată',
|
32
|
+
orderedList: 'Liste ordonată',
|
34
33
|
|
35
|
-
insertImage:
|
36
|
-
insertVideo:
|
37
|
-
link:
|
38
|
-
createLink:
|
39
|
-
unlink:
|
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:
|
42
|
-
justifyCenter:
|
43
|
-
justifyRight:
|
44
|
-
justifyFull:
|
40
|
+
justifyLeft: 'Aliniază stânga',
|
41
|
+
justifyCenter: 'Aliniază centru',
|
42
|
+
justifyRight: 'Aliniază dreapta',
|
43
|
+
justifyFull: 'Justificare',
|
45
44
|
|
46
|
-
horizontalRule:
|
45
|
+
horizontalRule: 'Linie orizontală',
|
47
46
|
|
48
|
-
fullscreen:
|
47
|
+
fullscreen: 'Tot ecranul',
|
49
48
|
|
50
|
-
close:
|
49
|
+
close: 'Închide',
|
51
50
|
|
52
|
-
submit:
|
53
|
-
reset:
|
51
|
+
submit: 'Procesează',
|
52
|
+
reset: 'Resetează',
|
54
53
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
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
|
-
|
10
|
+
viewHTML: 'Посмотреть HTML',
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
formatting: 'Форматирование',
|
13
|
+
p: 'Обычный',
|
14
|
+
blockquote: 'Цитата',
|
15
|
+
code: 'Код',
|
16
|
+
header: 'Заголовок',
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
bold: 'Полужирный',
|
19
|
+
italic: 'Курсив',
|
20
|
+
strikethrough: 'Зачеркнутый',
|
21
|
+
underline: 'Подчеркнутый',
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
strong: 'Полужирный',
|
24
|
+
em: 'Курсив',
|
25
|
+
del: 'Зачеркнутый',
|
26
26
|
|
27
|
-
|
28
|
-
|
27
|
+
unorderedList: 'Обычный список',
|
28
|
+
orderedList: 'Нумерованный список',
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
insertImage: 'Вставить изображение',
|
31
|
+
insertVideo: 'Вставить видео',
|
32
|
+
link: 'Ссылка',
|
33
|
+
createLink: 'Вставить ссылку',
|
34
|
+
unlink: 'Удалить ссылку',
|
35
35
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
36
|
+
justifyLeft: 'По левому краю',
|
37
|
+
justifyCenter: 'По центру',
|
38
|
+
justifyRight: 'По правому краю',
|
39
|
+
justifyFull: 'По ширине',
|
40
40
|
|
41
|
-
|
41
|
+
horizontalRule: 'Горизонтальная линия',
|
42
42
|
|
43
|
-
|
43
|
+
fullscreen: 'Во весь экран',
|
44
44
|
|
45
|
-
|
45
|
+
close: 'Закрыть',
|
46
46
|
|
47
|
-
|
48
|
-
|
47
|
+
submit: 'Вставить',
|
48
|
+
reset: 'Отменить',
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
text: "Текст"
|
50
|
+
required: 'Обязательное',
|
51
|
+
description: 'Описание',
|
52
|
+
title: 'Подсказка',
|
53
|
+
text: 'Текст'
|
55
54
|
};
|