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
@@ -0,0 +1,54 @@
|
|
1
|
+
/* ===========================================================
|
2
|
+
* sk.js
|
3
|
+
* Slovak translation for Trumbowyg
|
4
|
+
* http://alex-d.github.com/Trumbowyg
|
5
|
+
* ===========================================================
|
6
|
+
* Author : VeeeneX (https://github.com/VeeeneX)
|
7
|
+
*/
|
8
|
+
|
9
|
+
jQuery.trumbowyg.langs.sk = {
|
10
|
+
viewHTML: 'Zobraziť HTML',
|
11
|
+
|
12
|
+
formatting: 'Formátovanie',
|
13
|
+
p: 'Paragraf',
|
14
|
+
blockquote: 'Citácia',
|
15
|
+
code: 'Kód',
|
16
|
+
header: 'Nadpis',
|
17
|
+
|
18
|
+
bold: 'Tučné',
|
19
|
+
italic: 'Kurzíva',
|
20
|
+
strikethrough: 'Preškrtnuté',
|
21
|
+
underline: 'Podčiarknuté',
|
22
|
+
|
23
|
+
strong: 'Tučné',
|
24
|
+
em: 'Zvýrazniť',
|
25
|
+
del: 'Zmazať',
|
26
|
+
|
27
|
+
unorderedList: 'Netriedený zoznam',
|
28
|
+
orderedList: 'Triedený zoznam',
|
29
|
+
|
30
|
+
insertImage: 'Vložiť obrázok',
|
31
|
+
insertVideo: 'Vložiť video',
|
32
|
+
link: 'Odkaz',
|
33
|
+
createLink: 'Vložiť odkaz',
|
34
|
+
unlink: 'Zmazať odkaz',
|
35
|
+
|
36
|
+
justifyLeft: 'Zarovnať doľava',
|
37
|
+
justifyCenter: 'Zarovnať na stred',
|
38
|
+
justifyRight: 'Zarovnať doprava',
|
39
|
+
justifyFull: 'Zarovnať do bloku',
|
40
|
+
|
41
|
+
horizontalRule: 'Vložit vodorovnú čiaru',
|
42
|
+
|
43
|
+
fullscreen: 'Režim celej obrazovky',
|
44
|
+
|
45
|
+
close: 'Zavrieť',
|
46
|
+
|
47
|
+
submit: 'Potvrdiť',
|
48
|
+
reset: 'Zrušiť',
|
49
|
+
|
50
|
+
required: 'Povinné',
|
51
|
+
description: 'Popis',
|
52
|
+
title: 'Nadpis',
|
53
|
+
text: 'Text'
|
54
|
+
};
|
@@ -0,0 +1,55 @@
|
|
1
|
+
/* ===========================================================
|
2
|
+
* sv.js
|
3
|
+
* Swedish translation for Trumbowyg
|
4
|
+
* http://www.tim-international.net
|
5
|
+
* ===========================================================
|
6
|
+
* Author : T. Almroth
|
7
|
+
* Github : https://github.com/timint
|
8
|
+
*/
|
9
|
+
|
10
|
+
jQuery.trumbowyg.langs.sv = {
|
11
|
+
viewHTML: 'Visa HTML',
|
12
|
+
|
13
|
+
formatting: 'Formatera',
|
14
|
+
p: 'Avsnitt',
|
15
|
+
blockquote: 'Citat',
|
16
|
+
code: 'Kod',
|
17
|
+
header: 'Överskrift',
|
18
|
+
|
19
|
+
bold: 'Fet',
|
20
|
+
italic: 'Kursiv',
|
21
|
+
strikethrough: 'Genomstruken',
|
22
|
+
underline: 'Understreck',
|
23
|
+
|
24
|
+
strong: 'Viktig',
|
25
|
+
em: 'Framhäv',
|
26
|
+
del: 'Rensa formatering',
|
27
|
+
|
28
|
+
unorderedList: 'Lista',
|
29
|
+
orderedList: 'Numrerad lista',
|
30
|
+
|
31
|
+
insertImage: 'Infoga bild',
|
32
|
+
insertVideo: 'Infoga video',
|
33
|
+
link: 'Länk',
|
34
|
+
createLink: 'Infoga länk',
|
35
|
+
unlink: 'Ta bort länk',
|
36
|
+
|
37
|
+
justifyLeft: 'Vänsterjustera',
|
38
|
+
justifyCenter: 'Centrera',
|
39
|
+
justifyRight: 'Högerjustera',
|
40
|
+
justifyFull: 'Marginaljustera',
|
41
|
+
|
42
|
+
horizontalRule: 'Horisontell linje',
|
43
|
+
|
44
|
+
fullscreen: 'Fullskärm',
|
45
|
+
|
46
|
+
close: 'Stäng',
|
47
|
+
|
48
|
+
submit: 'Bekräfta',
|
49
|
+
reset: 'Återställ',
|
50
|
+
|
51
|
+
required: 'Obligatorisk',
|
52
|
+
description: 'Beskrivning',
|
53
|
+
title: 'Titel',
|
54
|
+
text: 'Text'
|
55
|
+
};
|
@@ -5,53 +5,51 @@
|
|
5
5
|
* ===========================================================
|
6
6
|
* Author : Emrah Bilbay (munzur)
|
7
7
|
* Github : https://github.com/munzur
|
8
|
-
* Website: http://kafe.in/
|
9
8
|
*/
|
10
9
|
|
11
10
|
jQuery.trumbowyg.langs.tr = {
|
12
|
-
viewHTML:
|
11
|
+
viewHTML: 'HTML Kodu',
|
13
12
|
|
14
|
-
formatting:
|
15
|
-
p:
|
16
|
-
blockquote:
|
17
|
-
code:
|
18
|
-
header:
|
13
|
+
formatting: 'Biçimlendirme',
|
14
|
+
p: 'Paragraf',
|
15
|
+
blockquote: 'Alıntı',
|
16
|
+
code: 'Kod',
|
17
|
+
header: 'Başlık',
|
19
18
|
|
20
|
-
bold:
|
21
|
-
italic:
|
22
|
-
strikethrough:
|
23
|
-
underline:
|
19
|
+
bold: 'Kalın',
|
20
|
+
italic: 'İtalik',
|
21
|
+
strikethrough: 'Üzeri çizgili',
|
22
|
+
underline: 'Altı çizgili',
|
24
23
|
|
25
|
-
strong:
|
26
|
-
em:
|
27
|
-
del:
|
24
|
+
strong: 'Koyu',
|
25
|
+
em: 'Vurgulu',
|
26
|
+
del: 'Üzeri çizgili',
|
28
27
|
|
29
|
-
unorderedList:
|
30
|
-
orderedList:
|
28
|
+
unorderedList: 'Simgeli liste',
|
29
|
+
orderedList: 'Numaralı liste',
|
31
30
|
|
32
|
-
insertImage:
|
33
|
-
insertVideo:
|
34
|
-
link:
|
35
|
-
createLink:
|
36
|
-
unlink:
|
31
|
+
insertImage: 'Resim yerleştir',
|
32
|
+
insertVideo: 'Video yerleştir',
|
33
|
+
link: 'Link',
|
34
|
+
createLink: 'Link yerleştir',
|
35
|
+
unlink: 'Linki sil',
|
37
36
|
|
38
|
-
justifyLeft:
|
39
|
-
justifyCenter:
|
40
|
-
justifyRight:
|
41
|
-
justifyFull:
|
37
|
+
justifyLeft: 'Sola hizala',
|
38
|
+
justifyCenter: 'Ortaya hizala',
|
39
|
+
justifyRight: 'Sağa hizala',
|
40
|
+
justifyFull: 'Yasla',
|
42
41
|
|
43
|
-
horizontalRule:
|
42
|
+
horizontalRule: 'Yatay satır ekle',
|
44
43
|
|
45
|
-
fullscreen:
|
44
|
+
fullscreen: 'Tam ekran',
|
46
45
|
|
47
|
-
close:
|
46
|
+
close: 'Kapat',
|
48
47
|
|
49
|
-
submit:
|
50
|
-
reset:
|
48
|
+
submit: 'Onayla',
|
49
|
+
reset: 'Sıfırla',
|
51
50
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
};
|
51
|
+
required: 'Gerekli',
|
52
|
+
description: 'Açıklama',
|
53
|
+
title: 'Başlık',
|
54
|
+
text: 'Metin'
|
55
|
+
};
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/* ===========================================================
|
2
|
+
* ua.js
|
3
|
+
* Ukrainian translation for Trumbowyg
|
4
|
+
* http://alex-d.github.com/Trumbowyg
|
5
|
+
* ===========================================================
|
6
|
+
* Author : Igor Buksha
|
7
|
+
*/
|
8
|
+
|
9
|
+
jQuery.trumbowyg.langs.ua = {
|
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
|
+
|
30
|
+
insertImage: 'Вставити зображення',
|
31
|
+
insertVideo: 'Вставити відео',
|
32
|
+
link: 'Посилання',
|
33
|
+
createLink: 'Вставити посилання',
|
34
|
+
unlink: 'Видалити посилання',
|
35
|
+
|
36
|
+
justifyLeft: 'По лівому краю',
|
37
|
+
justifyCenter: 'В центрі',
|
38
|
+
justifyRight: 'По правому краю',
|
39
|
+
justifyFull: 'По ширині',
|
40
|
+
|
41
|
+
horizontalRule: 'Горизонтальна лінія',
|
42
|
+
|
43
|
+
fullscreen: 'На весь екран',
|
44
|
+
|
45
|
+
close: 'Закрити',
|
46
|
+
|
47
|
+
submit: 'Вставити',
|
48
|
+
reset: 'Скасувати',
|
49
|
+
|
50
|
+
required: 'Обов\'язкове',
|
51
|
+
description: 'Опис',
|
52
|
+
title: 'Підказка',
|
53
|
+
text: 'Текст'
|
54
|
+
};
|
@@ -0,0 +1,55 @@
|
|
1
|
+
/* ===========================================================
|
2
|
+
* vi.js
|
3
|
+
* Vietnamese translation for Trumbowyg
|
4
|
+
* http://alex-d.github.com/Trumbowyg
|
5
|
+
* ===========================================================
|
6
|
+
* Author : heocoi
|
7
|
+
* Github: https://github.com/heocoi
|
8
|
+
*/
|
9
|
+
|
10
|
+
jQuery.trumbowyg.langs.vi = {
|
11
|
+
viewHTML: 'Hiển thị HTML',
|
12
|
+
|
13
|
+
formatting: 'Định dạng',
|
14
|
+
p: 'Đoạn',
|
15
|
+
blockquote: 'Trích dẫn',
|
16
|
+
code: 'Code',
|
17
|
+
header: 'Đầu trang',
|
18
|
+
|
19
|
+
bold: 'In đậm',
|
20
|
+
italic: 'In nghiêng',
|
21
|
+
strikethrough: 'Gạch ngang',
|
22
|
+
underline: 'Gạch chân',
|
23
|
+
|
24
|
+
strong: 'In đậm',
|
25
|
+
em: 'In nghiêng',
|
26
|
+
del: 'Gạch ngang',
|
27
|
+
|
28
|
+
unorderedList: 'Danh sách không thứ tự',
|
29
|
+
orderedList: 'Danh sách có thứ tự',
|
30
|
+
|
31
|
+
insertImage: 'Chèn hình ảnh',
|
32
|
+
insertVideo: 'Chèn video',
|
33
|
+
link: 'Đường dẫn',
|
34
|
+
createLink: 'Tạo đường dẫn',
|
35
|
+
unlink: 'Hủy đường dẫn',
|
36
|
+
|
37
|
+
justifyLeft: 'Canh lề trái',
|
38
|
+
justifyCenter: 'Canh giữa',
|
39
|
+
justifyRight: 'Canh lề phải',
|
40
|
+
justifyFull: 'Canh đều',
|
41
|
+
|
42
|
+
horizontalRule: 'Thêm đường kẻ ngang',
|
43
|
+
|
44
|
+
fullscreen: 'Toàn màn hình',
|
45
|
+
|
46
|
+
close: 'Đóng',
|
47
|
+
|
48
|
+
submit: 'Đồng ý',
|
49
|
+
reset: 'Hủy bỏ',
|
50
|
+
|
51
|
+
required: 'Bắt buộc',
|
52
|
+
description: 'Mô tả',
|
53
|
+
title: 'Tiêu đề',
|
54
|
+
text: 'Nội dung'
|
55
|
+
};
|
@@ -8,50 +8,50 @@
|
|
8
8
|
* Github : https://github.com/akai
|
9
9
|
*/
|
10
10
|
|
11
|
+
// jshint camelcase:false
|
11
12
|
jQuery.trumbowyg.langs.zh_cn = {
|
12
|
-
viewHTML:
|
13
|
+
viewHTML: '源代码',
|
13
14
|
|
14
|
-
formatting:
|
15
|
-
p:
|
16
|
-
blockquote:
|
17
|
-
code:
|
18
|
-
header:
|
15
|
+
formatting: '格式',
|
16
|
+
p: '段落',
|
17
|
+
blockquote: '引用',
|
18
|
+
code: '代码',
|
19
|
+
header: '标题',
|
19
20
|
|
20
|
-
bold:
|
21
|
-
italic:
|
22
|
-
strikethrough:
|
23
|
-
underline:
|
21
|
+
bold: '加粗',
|
22
|
+
italic: '斜体',
|
23
|
+
strikethrough: '删除线',
|
24
|
+
underline: '下划线',
|
24
25
|
|
25
|
-
strong:
|
26
|
-
em:
|
27
|
-
del:
|
26
|
+
strong: '加粗',
|
27
|
+
em: '斜体',
|
28
|
+
del: '删除线',
|
28
29
|
|
29
|
-
unorderedList:
|
30
|
-
orderedList:
|
30
|
+
unorderedList: '无序列表',
|
31
|
+
orderedList: '有序列表',
|
31
32
|
|
32
|
-
insertImage:
|
33
|
-
insertVideo:
|
34
|
-
link:
|
35
|
-
createLink:
|
36
|
-
unlink:
|
33
|
+
insertImage: '插入图片',
|
34
|
+
insertVideo: '插入视频',
|
35
|
+
link: '超链接',
|
36
|
+
createLink: '插入链接',
|
37
|
+
unlink: '取消链接',
|
37
38
|
|
38
|
-
justifyLeft:
|
39
|
-
justifyCenter:
|
40
|
-
justifyRight:
|
41
|
-
justifyFull:
|
39
|
+
justifyLeft: '居左对齐',
|
40
|
+
justifyCenter: '居中对齐',
|
41
|
+
justifyRight: '居右对齐',
|
42
|
+
justifyFull: '两端对齐',
|
42
43
|
|
43
|
-
horizontalRule:
|
44
|
+
horizontalRule: '插入分隔线',
|
44
45
|
|
45
|
-
fullscreen:
|
46
|
+
fullscreen: '全屏',
|
46
47
|
|
47
|
-
close:
|
48
|
+
close: '关闭',
|
48
49
|
|
49
|
-
submit:
|
50
|
-
reset:
|
50
|
+
submit: '确定',
|
51
|
+
reset: '取消',
|
51
52
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
text: "文字"
|
53
|
+
required: '必需的',
|
54
|
+
description: '描述',
|
55
|
+
title: '标题',
|
56
|
+
text: '文字'
|
57
57
|
};
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/* ===========================================================
|
2
|
+
* zh_tw.js
|
3
|
+
* Traditional Chinese translation for Trumbowyg
|
4
|
+
* http://alex-d.github.com/Trumbowyg
|
5
|
+
* ===========================================================
|
6
|
+
* Author : Peter Dave Hello (PeterDaveHello)
|
7
|
+
* Twitter : @PeterDaveHello
|
8
|
+
* Github : https://github.com/PeterDaveHello
|
9
|
+
*/
|
10
|
+
|
11
|
+
// jshint camelcase:false
|
12
|
+
jQuery.trumbowyg.langs.zh_tw = {
|
13
|
+
viewHTML: '原始碼',
|
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
|
+
};
|