rails-redactorjs 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +22 -0
  4. data/README.md +53 -0
  5. data/Rakefile +2 -0
  6. data/lib/rails-redactorjs.rb +14 -0
  7. data/lib/rails-redactorjs/configuration.rb +54 -0
  8. data/lib/rails-redactorjs/engine.rb +11 -0
  9. data/lib/rails-redactorjs/helper.rb +15 -0
  10. data/lib/rails-redactorjs/version.rb +5 -0
  11. data/rails-redactorjs.gemspec +17 -0
  12. data/vendor/assets/javascripts/rails-redactorjs/css/docstyle.css +123 -0
  13. data/vendor/assets/javascripts/rails-redactorjs/css/style.css +119 -0
  14. data/vendor/assets/javascripts/rails-redactorjs/css/wym.css +136 -0
  15. data/vendor/assets/javascripts/rails-redactorjs/index.js +1 -0
  16. data/vendor/assets/javascripts/rails-redactorjs/langs/by.js +72 -0
  17. data/vendor/assets/javascripts/rails-redactorjs/langs/de.js +75 -0
  18. data/vendor/assets/javascripts/rails-redactorjs/langs/en.js +76 -0
  19. data/vendor/assets/javascripts/rails-redactorjs/langs/es.js +76 -0
  20. data/vendor/assets/javascripts/rails-redactorjs/langs/fr.js +74 -0
  21. data/vendor/assets/javascripts/rails-redactorjs/langs/hu.js +76 -0
  22. data/vendor/assets/javascripts/rails-redactorjs/langs/it.js +76 -0
  23. data/vendor/assets/javascripts/rails-redactorjs/langs/ja.js +76 -0
  24. data/vendor/assets/javascripts/rails-redactorjs/langs/lv.js +74 -0
  25. data/vendor/assets/javascripts/rails-redactorjs/langs/nl.js +76 -0
  26. data/vendor/assets/javascripts/rails-redactorjs/langs/pl.js +75 -0
  27. data/vendor/assets/javascripts/rails-redactorjs/langs/pt_br.js +81 -0
  28. data/vendor/assets/javascripts/rails-redactorjs/langs/ru.js +75 -0
  29. data/vendor/assets/javascripts/rails-redactorjs/langs/sq.js +76 -0
  30. data/vendor/assets/javascripts/rails-redactorjs/langs/tr.js +76 -0
  31. data/vendor/assets/javascripts/rails-redactorjs/langs/ua.js +75 -0
  32. data/vendor/assets/javascripts/rails-redactorjs/langs/zh_cn.js +77 -0
  33. data/vendor/assets/javascripts/rails-redactorjs/langs/zh_tw.js +76 -0
  34. data/vendor/assets/javascripts/rails-redactorjs/plugins/file.html +3 -0
  35. data/vendor/assets/javascripts/rails-redactorjs/plugins/image.html +39 -0
  36. data/vendor/assets/javascripts/rails-redactorjs/plugins/image_edit.html +35 -0
  37. data/vendor/assets/javascripts/rails-redactorjs/plugins/link.html +74 -0
  38. data/vendor/assets/javascripts/rails-redactorjs/plugins/table.html +25 -0
  39. data/vendor/assets/javascripts/rails-redactorjs/plugins/video.html +15 -0
  40. data/vendor/assets/javascripts/rails-redactorjs/redactor.js +2259 -0
  41. data/vendor/assets/javascripts/rails-redactorjs/redactor.min.js +1 -0
  42. data/vendor/assets/javascripts/rails-redactorjs/toolbars/default.js +214 -0
  43. data/vendor/assets/javascripts/rails-redactorjs/toolbars/mini.js +103 -0
  44. data/vendor/assets/stylesheets/rails-redactorjs/css/redactor.css +368 -0
  45. data/vendor/assets/stylesheets/rails-redactorjs/img/icons.png +0 -0
  46. data/vendor/assets/stylesheets/rails-redactorjs/index.css +1 -0
  47. metadata +95 -0
@@ -0,0 +1,76 @@
1
+ var RLANG = {
2
+ html: 'HTML',
3
+ video: 'Videó',
4
+ image: 'Kép',
5
+ table: 'Tábla',
6
+ link: 'Link',
7
+ link_insert: 'Link beszúrás ...',
8
+ unlink: 'Link megszüntetés',
9
+ styles: 'Stílusok',
10
+ paragraph: 'Bekezdés',
11
+ quote: 'Idézet',
12
+ code: 'Kód',
13
+ header1: 'Címsor 1',
14
+ header2: 'Címsor 2',
15
+ header3: 'Címsor 3',
16
+ header4: 'Címsor 4',
17
+ format: 'Formátum',
18
+ bold: 'Félkövér',
19
+ italic: 'Dőlt',
20
+ superscript: 'Felső index',
21
+ strikethrough: 'Áthúzott',
22
+ fontcolor: 'Szöveg szine',
23
+ backcolor: 'Szöveg hátterének szine',
24
+ removeformat: 'Formátum eltávolítása',
25
+ cleanstyles: 'Stilusok törlése',
26
+ lists: 'Listák',
27
+ unorderedlist: 'Nem számozott lista',
28
+ orderedlist: 'Számozott lista',
29
+ outdent: 'Outdent',
30
+ indent: 'Indent',
31
+ redo: 'Újra',
32
+ undo: 'Visszavonás',
33
+ cut: 'Kivágás',
34
+ cancel: 'Mégsem',
35
+ insert: 'Beszurás',
36
+ save: 'Mentés',
37
+ _delete: 'Törlés',
38
+ insert_table: 'Táblázat beszúrása',
39
+ insert_row_above: 'Sor beszúrása az aktuális sor fölé',
40
+ insert_row_below: 'Sor beszúrása ez alá',
41
+ insert_column_left: 'Oszlop beszúrása ettöl balra',
42
+ insert_column_right: 'Oszlop hozzáadása ettöl jobbra',
43
+ delete_column: 'Oszlop törlése',
44
+ delete_row: 'Sor törlése',
45
+ delete_table: 'Táblázat törlése',
46
+ Rows: 'Sorok',
47
+ Columns: 'Oszlopok',
48
+ add_head: 'Fejrész hozzáadása',
49
+ delete_head: 'Fejrész törlése',
50
+ title: 'Felira',
51
+ image_view: 'Kép megnézése',
52
+ image_position: 'Pozició',
53
+ none: 'nincs',
54
+ left: 'bal',
55
+ right: 'jobb',
56
+ image_web_link: 'Link a képre',
57
+ text: 'Szöveg',
58
+ mailto: 'Email',
59
+ web: 'URL',
60
+ video_html_code: 'Videó embed code',
61
+ file: 'File',
62
+ upload: 'Feltöltés',
63
+ download: 'Letöltés',
64
+ choose: 'Válassz',
65
+ or_choose: 'Vagy válassz',
66
+ drop_file_here: 'Ide dobd a file-t',
67
+ align_left: 'Balra igazítás',
68
+ align_center: 'Középre igazítás',
69
+ align_right: 'Jobbra igazítás',
70
+ align_justify: 'Sorkizárt',
71
+ horizontalrule: 'Horizontális vonal',
72
+ fullscreen: 'Teljes képernyős',
73
+ deleted: 'Törölt',
74
+ none: 'Nincs',
75
+ anchor: 'Horgony'
76
+ };
@@ -0,0 +1,76 @@
1
+ var RLANG = {
2
+ html: 'HTML',
3
+ video: 'Video',
4
+ image: 'Immagine',
5
+ table: 'Tabella',
6
+ link: 'Collegamento',
7
+ link_insert: 'Inserisci un collegamento ...',
8
+ unlink: 'Rimuovi il collegamento',
9
+ styles: 'Stili',
10
+ paragraph: 'Paragrafo',
11
+ quote: 'Quote',
12
+ code: 'Codice',
13
+ header1: 'H1',
14
+ header2: 'H2',
15
+ header3: 'H3',
16
+ header4: 'H4',
17
+ format: 'Formatta',
18
+ bold: 'Grassetto',
19
+ italic: 'Corsivo',
20
+ superscript: 'Superscript',
21
+ strikethrough: 'Strikethrough',
22
+ fontcolor: 'Colore del font',
23
+ backcolor: 'Colore di sfondo',
24
+ removeformat: 'Rimuovi formattazione',
25
+ cleanstyles: 'Ripulisci stili',
26
+ lists: 'Elenco',
27
+ unorderedlist: 'Elenco puntato',
28
+ orderedlist: 'Elenco numerato',
29
+ outdent: 'Outdent',
30
+ indent: 'Indent',
31
+ redo: 'Ripeti',
32
+ undo: 'Annulla',
33
+ cut: 'Taglia',
34
+ cancel: 'Cancella',
35
+ insert: 'Inserisci',
36
+ save: 'Salva',
37
+ _delete: 'rimuovi',
38
+ insert_table: 'Inserisci tabella',
39
+ insert_row_above: 'Inserisci una riga sopra',
40
+ insert_row_below: 'Inserisci una riga sotto',
41
+ insert_column_left: 'Aggiungi una colonna a sinistra',
42
+ insert_column_right: 'Aggiungi una colonna a destra',
43
+ delete_column: 'Cancella colonna',
44
+ delete_row: 'Cancella riga',
45
+ delete_table: 'Cancella tabella',
46
+ Rows: 'Righe',
47
+ Columns: 'Colonne',
48
+ add_head: 'Aggiungi head',
49
+ delete_head: 'Cancella head',
50
+ title: 'Titolo',
51
+ image_view: 'Visualizza immagine',
52
+ image_position: 'Posizione',
53
+ none: 'Nessun',
54
+ left: 'Sinistra',
55
+ right: 'Destra',
56
+ image_web_link: 'URL immagine',
57
+ text: 'Testo',
58
+ mailto: 'Email',
59
+ web: 'URL',
60
+ video_html_code: 'Embed code filmato',
61
+ file: 'File',
62
+ upload: 'Upload',
63
+ download: 'Download',
64
+ choose: 'Scegli',
65
+ or_choose: 'O Scegli',
66
+ drop_file_here: 'Trascina il file qui',
67
+ align_left: 'Allinea a sinistra',
68
+ align_center: 'Allinea al centro',
69
+ align_right: 'Allinea a destra',
70
+ align_justify: 'Giustifica',
71
+ horizontalrule: 'Orizzonatale',
72
+ fullscreen: 'Schermo intero',
73
+ deleted: 'Cancellato',
74
+ none: 'Nessun',
75
+ anchor: 'Ancora'
76
+ };
@@ -0,0 +1,76 @@
1
+ var RLANG = {
2
+ html: 'HTML',
3
+ video: 'ビデオ',
4
+ image: 'イメージ',
5
+ table: 'テーブル',
6
+ link: 'リンク',
7
+ link_insert: 'リンクの挿入 ...',
8
+ unlink: 'リンクを外す',
9
+ styles: 'スタイル',
10
+ paragraph: '段落',
11
+ quote: '引用',
12
+ code: 'コード',
13
+ header1: 'ヘッダー 1',
14
+ header2: 'ヘッダー 2',
15
+ header3: 'ヘッダー 3',
16
+ header4: 'ヘッダー 4',
17
+ format: 'フォーマット',
18
+ bold: '太字',
19
+ italic: 'イタリック',
20
+ superscript: '上付き文字',
21
+ strikethrough: '取り消し線',
22
+ fontcolor: 'フォント色',
23
+ backcolor: '背景色',
24
+ removeformat: 'フォーマットの解除',
25
+ cleanstyles: 'スタイルのクリヤー',
26
+ lists: 'リスト',
27
+ unorderedlist: '番号なしリスト',
28
+ orderedlist: '番号つきリスト',
29
+ outdent: '字上げ(逆インデント)',
30
+ indent: '字下げ(インデント)',
31
+ redo: '再実行',
32
+ undo: '元に戻す',
33
+ cut: 'カット',
34
+ cancel: 'キャンセル',
35
+ insert: '挿入',
36
+ save: '保存',
37
+ _delete: '削除',
38
+ insert_table: 'テーブルの挿入',
39
+ insert_row_above: '列を上に追加',
40
+ insert_row_below: '列を下に追加',
41
+ insert_column_left: '行を左に追加',
42
+ insert_column_right: '行を右に追加',
43
+ delete_column: '行を削除',
44
+ delete_row: '列を削除',
45
+ delete_table: 'テーブルを削除',
46
+ Rows: '列',
47
+ Columns: '行',
48
+ add_head: 'テーブルヘッダの追加',
49
+ delete_head: 'テーブルヘッダの削除',
50
+ title: 'タイトル',
51
+ image_view: 'イメージを見る',
52
+ image_position: 'イメージの位置',
53
+ none: '無し',
54
+ left: '左',
55
+ right: '右',
56
+ image_web_link: 'イメージへのリンク',
57
+ text: 'テキスト',
58
+ mailto: 'メール',
59
+ web: 'URL',
60
+ video_html_code: 'ビデオ埋め込みコード',
61
+ file: 'ファイル',
62
+ upload: 'アップロード',
63
+ download: 'ダウンロード',
64
+ choose: '選択',
65
+ or_choose: 'または選択',
66
+ drop_file_here: 'ファイルをここにドロップ',
67
+ align_left: '左揃え',
68
+ align_center: '中央揃え',
69
+ align_right: '右揃え',
70
+ align_justify: '均等割り付け',
71
+ horizontalrule: '水平線',
72
+ fullscreen: '全画面',
73
+ deleted: '打消し',
74
+ none: '無し',
75
+ anchor: 'アンカー'
76
+ };
@@ -0,0 +1,74 @@
1
+ var RLANG = {
2
+ html: 'HTML кods',
3
+ video: 'Video',
4
+ image: 'Attēls',
5
+ table: 'Tabula',
6
+ link: 'Saite',
7
+ link_insert: 'Iekļaut saiti ...',
8
+ unlink: 'Noņemt saiti',
9
+ styles: 'Stili',
10
+ paragraph: 'Vienkāršs teksts',
11
+ quote: 'Citāts',
12
+ code: 'Kods',
13
+ header1: 'Virsraksts 1',
14
+ header2: 'Virsraksts 2',
15
+ header3: 'Virsraksts 3',
16
+ header4: 'Virsraksts 4',
17
+ format: 'Formāts',
18
+ bold: 'Pustrekns',
19
+ italic: 'Slīps',
20
+ superscript: 'Augšraksts',
21
+ strikethrough: 'Nosvītrots',
22
+ fontcolor: 'Teksta krāsa',
23
+ backcolor: 'Fona krāsa',
24
+ removeformat: 'Noņemt stilus',
25
+ cleanstyles: 'Noņemt stilus MS Word',
26
+ lists: 'Saraksti',
27
+ unorderedlist: 'Parasts saraksts',
28
+ orderedlist: 'Numurēts saraksts',
29
+ outdent: 'Samazināt atkāpi',
30
+ indent: 'Palielināt atkāpi',
31
+ redo: 'Atatsaukt',
32
+ undo: 'Atsaukt',
33
+ cut: 'Izgriezt',
34
+ cancel: 'Atcelt',
35
+ insert: 'Iespraust',
36
+ save: 'Saglabāt',
37
+ _delete: 'Dzēst',
38
+ insert_table: 'Iespraust tabulu',
39
+ insert_row_above: 'Pievienot rindu no augšas',
40
+ insert_row_below: 'Pievienot rindu no apakšas',
41
+ insert_column_left: 'Pievienot stabiņu no kreisās puses',
42
+ insert_column_right: 'Pievienot stabiņu no labās puses',
43
+ delete_column: 'Dzēst stabiņu',
44
+ delete_row: 'Dzēst rindu',
45
+ delete_table: 'Dzēst tabulu',
46
+ Rows: 'Rindas',
47
+ Columns: 'Stabiņi',
48
+ add_head: 'Pievienot virsrakstu',
49
+ delete_head: 'Dzēst virsrakstu',
50
+ title: 'Uzvedne',
51
+ image_view: 'Apskatīt attēlu',
52
+ image_position: 'Аttēla apliece',
53
+ none: 'nav',
54
+ left: 'pa kreisi',
55
+ right: 'pa labi',
56
+ image_web_link: 'vai saite uz attēlu',
57
+ text: 'Teksts',
58
+ mailto: 'E-pasts',
59
+ web: 'URL',
60
+ video_html_code: 'Videoklipu kods',
61
+ file: 'Fails',
62
+ upload: 'Augšupielāde',
63
+ download: 'Lejupielāde',
64
+ choose: 'Izvēlieties',
65
+ or_choose: 'Vai izvēlieties',
66
+ drop_file_here: 'Vilkt failu uz šejieni',
67
+ align_left: 'Izlīdzināt pa labi',
68
+ align_center: 'Izlīdzināt pa kreisi',
69
+ align_right: 'Izlīdzināt pret centru',
70
+ align_justify: 'Izlīdzināt malas',
71
+ horizontalrule: 'Horizontāla līnija',
72
+ fullscreen: 'Pa visu ekrānu',
73
+ none: 'None'
74
+ };
@@ -0,0 +1,76 @@
1
+ var RLANG = {
2
+ html: 'HTML',
3
+ video: 'Video',
4
+ image: 'Afbeelding',
5
+ table: 'Tabel',
6
+ link: 'Link',
7
+ link_insert: 'Link invoegen...',
8
+ unlink: 'Link ontkoppelen',
9
+ styles: 'Stijlen',
10
+ paragraph: 'Paragraaf',
11
+ quote: 'Citaat',
12
+ code: 'Code',
13
+ header1: 'Kop 1',
14
+ header2: 'Kop 2',
15
+ header3: 'Kop 3',
16
+ header4: 'Kop 4',
17
+ format: 'Format',
18
+ bold: 'Vet',
19
+ italic: 'Cursief',
20
+ superscript: 'Superscript',
21
+ strikethrough: 'Doorstrepen',
22
+ fontcolor: 'Tekstkleur',
23
+ backcolor: 'Achtergrondkleur',
24
+ removeformat: 'Verwijder formattering',
25
+ cleanstyles: 'Stijlen opschonen',
26
+ lists: 'Lijsten',
27
+ unorderedlist: 'Ongeordende lijst',
28
+ orderedlist: 'Geordende lijst',
29
+ outdent: 'Uitspringen',
30
+ indent: 'Inspringen',
31
+ redo: 'Opnieuw maken',
32
+ undo: 'Ongedaan maken',
33
+ cut: 'Knippen',
34
+ cancel: 'Annuleren',
35
+ insert: 'Invoegen',
36
+ save: 'Opslaan',
37
+ _delete: 'Verwijderen',
38
+ insert_table: 'Tabel invoegen',
39
+ insert_row_above: 'Rij hierboven invoegen',
40
+ insert_row_below: 'Rij hieronder invoegen',
41
+ insert_column_left: 'Kolom links toevoegen',
42
+ insert_column_right: 'Kolom rechts toevoegen',
43
+ delete_column: 'Verwijder kolom',
44
+ delete_row: 'Verwijder rij',
45
+ delete_table: 'Verwijder tabel',
46
+ Rows: 'Rijen',
47
+ Columns: 'Kolommen',
48
+ add_head: 'Titel toevoegen',
49
+ delete_head: 'Titel verwijderen',
50
+ title: 'Titel',
51
+ image_view: 'Toon afbeelding',
52
+ image_position: 'Positie',
53
+ none: 'geen',
54
+ left: 'links',
55
+ right: 'rechts',
56
+ image_web_link: 'Afbeelding link',
57
+ text: 'Tekst',
58
+ mailto: 'Email',
59
+ web: 'URL',
60
+ video_html_code: 'Video embed code',
61
+ file: 'Bestand',
62
+ upload: 'Uploaden',
63
+ download: 'Downloaden',
64
+ choose: 'Kies',
65
+ or_choose: 'Of kies',
66
+ drop_file_here: 'Sleep bestand hier',
67
+ align_left: 'Links uitlijnen',
68
+ align_center: 'Centreren',
69
+ align_right: 'Rechts uitlijnen',
70
+ align_justify: 'Uitvullen',
71
+ horizontalrule: 'Horizontale lijn',
72
+ fullscreen: 'Volledig scherm',
73
+ deleted: 'Verwijderd',
74
+ none: 'Geen',
75
+ anchor: 'Anker'
76
+ };
@@ -0,0 +1,75 @@
1
+ var RLANG = {
2
+ html: 'Źródło',
3
+ video: 'Wideo',
4
+ image: 'Obrazek',
5
+ table: 'Tabela',
6
+ link: 'Link',
7
+ link_insert: 'Wstaw link ...',
8
+ unlink: 'Usuń link',
9
+ styles: 'Style',
10
+ paragraph: 'Zwykły tekst',
11
+ quote: 'Cytat',
12
+ code: 'Kod źródłowy',
13
+ header1: 'Nagłówek 1',
14
+ header2: 'Nagłówek 2',
15
+ header3: 'Nagłówek 3',
16
+ header4: 'Nagłówek 4',
17
+ format: 'Format',
18
+ bold: 'Pogrubiony',
19
+ italic: 'Pochylony',
20
+ superscript: 'Indeks górny',
21
+ strikethrough: 'Przekreślenie',
22
+ fontcolor: 'Kolor tekstu',
23
+ backcolor: 'Kolor tła',
24
+ removeformat: 'Wyczyść formatowanie',
25
+ cleanstyles: 'Wyczyść style MS Word',
26
+ lists: 'Wypunktowanie i numeracja',
27
+ unorderedlist: 'Wypunktowanie',
28
+ orderedlist: 'Numeracja',
29
+ outdent: 'Zwiększ wcięcie',
30
+ indent: 'Zmniejsz wcięcie',
31
+ redo: 'Ponów',
32
+ undo: 'Cofnij',
33
+ cut: 'Wytnij',
34
+ cancel: 'Anuluj',
35
+ insert: 'Wstaw',
36
+ save: 'Zachowaj',
37
+ _delete: 'Usuń',
38
+ insert_table: 'Wstaw tabele',
39
+ insert_row_above: 'Dodaj wiersz na górze',
40
+ insert_row_below: 'Dodaj wiersz na dole',
41
+ insert_column_left: 'Dodaj kolumnę po lewej',
42
+ insert_column_right: 'Dodaj kolumnę po prawej',
43
+ delete_column: 'Usuń kolumnę',
44
+ delete_row: 'Usuń wiersz',
45
+ delete_table: 'Usuń tabele',
46
+ Rows: 'Wiersze',
47
+ Columns: 'Kolumny',
48
+ add_head: 'Dodaj nagłówek',
49
+ delete_head: 'Usuń nagłówek',
50
+ title: 'Wskazówka',
51
+ image_view: 'Pokaż obrazek',
52
+ image_position: 'Obramowanie',
53
+ none: 'nie ma',
54
+ left: 'od lewej',
55
+ right: 'od prawej',
56
+ image_web_link: 'albo link do obrazku',
57
+ text: 'Tekst',
58
+ mailto: 'Poczta e-mail',
59
+ web: 'URL',
60
+ video_html_code: 'Kod źródłowy pliku wideo',
61
+ file: 'Plik',
62
+ upload: 'Wgraj na serwer',
63
+ download: 'Pobierz',
64
+ choose: 'Choose',
65
+ or_choose: 'Or choose',
66
+ drop_file_here: 'Drop file here',
67
+ align_left: 'Align left',
68
+ align_center: 'Align center',
69
+ align_right: 'Align right',
70
+ align_justify: 'Justify',
71
+ horizontalrule: 'Horizontal rule',
72
+ fullscreen: 'Fullscreen',
73
+ deleted: 'Deleted',
74
+ none: 'None'
75
+ };