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,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:
|
13
|
+
viewHTML: 'Lihat HTML',
|
14
14
|
|
15
|
-
formatting:
|
16
|
-
p:
|
17
|
-
blockquote:
|
18
|
-
code:
|
19
|
-
header:
|
15
|
+
formatting: 'Penyusunan',
|
16
|
+
p: 'Paragraf',
|
17
|
+
blockquote: 'Kutipan',
|
18
|
+
code: 'Kode',
|
19
|
+
header: 'Kepala',
|
20
20
|
|
21
|
-
bold:
|
22
|
-
italic:
|
23
|
-
strikethrough:
|
24
|
-
underline:
|
21
|
+
bold: 'Tebal',
|
22
|
+
italic: 'Miring',
|
23
|
+
strikethrough: 'Coret',
|
24
|
+
underline: 'Garis bawah',
|
25
25
|
|
26
|
-
strong:
|
27
|
-
em:
|
28
|
-
del:
|
26
|
+
strong: 'Tebal',
|
27
|
+
em: 'Miring',
|
28
|
+
del: 'Dicoret',
|
29
29
|
|
30
|
-
unorderedList:
|
31
|
-
orderedList:
|
30
|
+
unorderedList: 'Daftar tak teratur',
|
31
|
+
orderedList: 'Daftar teratur',
|
32
32
|
|
33
|
-
insertImage:
|
34
|
-
insertVideo:
|
35
|
-
link:
|
36
|
-
createLink:
|
37
|
-
unlink:
|
33
|
+
insertImage: 'Sisipkan gambar',
|
34
|
+
insertVideo: 'Sisipkan video',
|
35
|
+
link: 'Tautan',
|
36
|
+
createLink: 'Sisipkan Tautan',
|
37
|
+
unlink: 'Singkirkan tautan',
|
38
38
|
|
39
|
-
justifyLeft:
|
40
|
-
justifyCenter:
|
41
|
-
justifyRight:
|
42
|
-
justifyFull:
|
39
|
+
justifyLeft: 'Rata kiri',
|
40
|
+
justifyCenter: 'Rata Tengah',
|
41
|
+
justifyRight: 'Rata kanan',
|
42
|
+
justifyFull: 'Rata kiri dan kanan',
|
43
43
|
|
44
|
-
horizontalRule:
|
44
|
+
horizontalRule: 'Sisipkan garis mendatar',
|
45
45
|
|
46
|
-
fullscreen:
|
46
|
+
fullscreen: 'Layar penuh',
|
47
47
|
|
48
|
-
close:
|
48
|
+
close: 'Tutup',
|
49
49
|
|
50
|
-
submit:
|
51
|
-
reset:
|
50
|
+
submit: 'Setuju',
|
51
|
+
reset: 'Batal',
|
52
52
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
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:
|
10
|
+
viewHTML: 'Mostra HTML',
|
11
11
|
|
12
|
-
formatting:
|
13
|
-
p:
|
14
|
-
blockquote:
|
15
|
-
code:
|
16
|
-
header:
|
12
|
+
formatting: 'Formattazione',
|
13
|
+
p: 'Paragrafo',
|
14
|
+
blockquote: 'Citazione',
|
15
|
+
code: 'Codice',
|
16
|
+
header: 'Intestazione',
|
17
17
|
|
18
|
-
bold:
|
19
|
-
italic:
|
20
|
-
strikethrough:
|
21
|
-
underline:
|
18
|
+
bold: 'Grassetto',
|
19
|
+
italic: 'Italico',
|
20
|
+
strikethrough: 'Barrato',
|
21
|
+
underline: 'Sottolineato',
|
22
22
|
|
23
|
-
strong:
|
24
|
-
em:
|
25
|
-
del:
|
23
|
+
strong: 'Rafforza',
|
24
|
+
em: 'Enfatizza',
|
25
|
+
del: 'Cancella',
|
26
26
|
|
27
|
-
unorderedList:
|
28
|
-
orderedList:
|
27
|
+
unorderedList: 'Elenco puntato',
|
28
|
+
orderedList: 'Elenco numerato',
|
29
29
|
|
30
|
-
insertImage:
|
31
|
-
insertVideo:
|
32
|
-
link:
|
33
|
-
createLink:
|
34
|
-
unlink:
|
30
|
+
insertImage: 'Inserisci immagine',
|
31
|
+
insertVideo: 'Inserisci video',
|
32
|
+
link: 'Collegamento',
|
33
|
+
createLink: 'Crea un collegamento',
|
34
|
+
unlink: 'Elimina collegamento',
|
35
35
|
|
36
|
-
justifyLeft:
|
37
|
-
justifyCenter:
|
38
|
-
justifyRight:
|
39
|
-
justifyFull:
|
36
|
+
justifyLeft: 'Allinea a sinistra',
|
37
|
+
justifyCenter: 'Centra',
|
38
|
+
justifyRight: 'Allinea a destra',
|
39
|
+
justifyFull: 'Giustifica',
|
40
40
|
|
41
|
-
horizontalRule:
|
41
|
+
horizontalRule: 'Inserisci un separatore orizzontale',
|
42
42
|
|
43
|
-
fullscreen:
|
43
|
+
fullscreen: 'Schermo intero',
|
44
44
|
|
45
|
-
close:
|
45
|
+
close: 'Chiudi',
|
46
46
|
|
47
|
-
submit:
|
48
|
-
reset:
|
47
|
+
submit: 'Invia',
|
48
|
+
reset: 'Annulla',
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
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:
|
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
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
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
|
+
};
|