summernote-rails 0.8.1.1 → 0.8.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/lib/summernote-rails/engine.rb +7 -1
  3. data/lib/summernote-rails/version.rb +1 -1
  4. data/vendor/assets/fonts/summernote.eot +0 -0
  5. data/vendor/assets/fonts/summernote.ttf +0 -0
  6. data/vendor/assets/fonts/summernote.woff +0 -0
  7. data/vendor/assets/javascripts/summernote/locales/ar-AR.js +1 -1
  8. data/vendor/assets/javascripts/summernote/locales/bg-BG.js +1 -1
  9. data/vendor/assets/javascripts/summernote/locales/ca-ES.js +3 -3
  10. data/vendor/assets/javascripts/summernote/locales/cs-CZ.js +1 -1
  11. data/vendor/assets/javascripts/summernote/locales/da-DK.js +1 -1
  12. data/vendor/assets/javascripts/summernote/locales/de-DE.js +2 -2
  13. data/vendor/assets/javascripts/summernote/locales/es-ES.js +3 -3
  14. data/vendor/assets/javascripts/summernote/locales/es-EU.js +2 -2
  15. data/vendor/assets/javascripts/summernote/locales/fa-IR.js +2 -2
  16. data/vendor/assets/javascripts/summernote/locales/fi-FI.js +1 -1
  17. data/vendor/assets/javascripts/summernote/locales/fr-FR.js +1 -1
  18. data/vendor/assets/javascripts/summernote/locales/gl-ES.js +147 -0
  19. data/vendor/assets/javascripts/summernote/locales/he-IL.js +1 -1
  20. data/vendor/assets/javascripts/summernote/locales/hr-HR.js +104 -0
  21. data/vendor/assets/javascripts/summernote/locales/hu-HU.js +2 -2
  22. data/vendor/assets/javascripts/summernote/locales/id-ID.js +2 -2
  23. data/vendor/assets/javascripts/summernote/locales/it-IT.js +1 -1
  24. data/vendor/assets/javascripts/summernote/locales/ja-JP.js +30 -1
  25. data/vendor/assets/javascripts/summernote/locales/ko-KR.js +1 -1
  26. data/vendor/assets/javascripts/summernote/locales/lt-LT.js +1 -1
  27. data/vendor/assets/javascripts/summernote/locales/lt-LV.js +135 -0
  28. data/vendor/assets/javascripts/summernote/locales/nb-NO.js +1 -1
  29. data/vendor/assets/javascripts/summernote/locales/nl-NL.js +1 -1
  30. data/vendor/assets/javascripts/summernote/locales/pl-PL.js +2 -2
  31. data/vendor/assets/javascripts/summernote/locales/pt-BR.js +37 -8
  32. data/vendor/assets/javascripts/summernote/locales/pt-PT.js +8 -1
  33. data/vendor/assets/javascripts/summernote/locales/ro-RO.js +2 -2
  34. data/vendor/assets/javascripts/summernote/locales/ru-RU.js +1 -1
  35. data/vendor/assets/javascripts/summernote/locales/sk-SK.js +1 -1
  36. data/vendor/assets/javascripts/summernote/locales/sl-SI.js +1 -1
  37. data/vendor/assets/javascripts/summernote/locales/sr-RS-Latin.js +1 -1
  38. data/vendor/assets/javascripts/summernote/locales/sr-RS.js +1 -1
  39. data/vendor/assets/javascripts/summernote/locales/sv-SE.js +1 -1
  40. data/vendor/assets/javascripts/summernote/locales/th-TH.js +1 -1
  41. data/vendor/assets/javascripts/summernote/locales/tr-TR.js +40 -4
  42. data/vendor/assets/javascripts/summernote/locales/uk-UA.js +1 -1
  43. data/vendor/assets/javascripts/summernote/locales/vi-VN.js +51 -51
  44. data/vendor/assets/javascripts/summernote/locales/zh-CN.js +1 -1
  45. data/vendor/assets/javascripts/summernote/locales/zh-TW.js +1 -1
  46. data/vendor/assets/javascripts/summernote/plugin/databasic/summernote-ext-databasic.css +16 -0
  47. data/vendor/assets/javascripts/summernote/plugin/databasic/summernote-ext-databasic.js +303 -0
  48. data/vendor/assets/javascripts/summernote/plugin/specialchars/summernote-ext-specialchars.js +3 -4
  49. data/vendor/assets/javascripts/summernote/summernote.js +175 -70
  50. data/vendor/assets/stylesheets/summernote.css +1 -1
  51. metadata +7 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bd79016c7aadde7c9e3243e32dbce0706e08d16
4
- data.tar.gz: 2760af899991a4d1cddafc2c6962da4a37abec53
3
+ metadata.gz: faeabc8bff0b1d0da2013a06e2034864f2b08604
4
+ data.tar.gz: f28cc9c67dc28d8463c846e08ba2c18afd3dbbc8
5
5
  SHA512:
6
- metadata.gz: 0b63e4107d45ddb325a54772198631e3180f568d75c795db3aefbbd8d1dead928be31e38583dc0ce666721b7347712c6e8ed9e5961ccb4e5e3ba2590dc0bdb2c
7
- data.tar.gz: c04ff3aea61c2aa1abec974d48ea52dffa48ec0c4296ae6b56095674e6d1f6c86a68d9f346d24b186800ce065aec7d67e806bd8dc3748eabcb63fd90bdc56b48
6
+ metadata.gz: c29554bb0a223fa694196e841aeb0a2fc30b466f071cd8e352b85dfab5dee1a22617ce51e1b3d7455971ee973bbc31195f210c90c485fd7f5953d7510fbef3c6
7
+ data.tar.gz: 9af9f0ba8a08bb169d6252c99cf82f21b82053471ac900b6e7b6f1c7e3c6f745307552294f7deb75f5ceeb5681b32cfe7ff02b14bd6859db512f467f13b6523a
@@ -3,7 +3,13 @@ module SummernoteRails
3
3
  class Engine < ::Rails::Engine
4
4
  initializer 'summernote-rails.assets.precompile' do |app|
5
5
  app.config.assets.paths << root.join('vendor', 'assets', 'fonts')
6
- app.config.assets.precompile << /\.(?:eot|woff|ttf)$/
6
+ # fix for: https://github.com/twbs/bootstrap-sass/issues/960
7
+ # regex no longer supported by assets.precompile
8
+ # sprockets-rails 3 tracks down the calls to `font_path` and `image_path`
9
+ # and automatically precompiles the referenced assets.
10
+ unless Sprockets::Rails::VERSION.starts_with?('3')
11
+ app.config.assets.precompile << /\.(?:eot|woff|ttf)$/
12
+ end
7
13
  end
8
14
  end
9
15
  end
@@ -1,5 +1,5 @@
1
1
  module SummernoteRails
2
2
  module Rails
3
- VERSION = "0.8.1.1"
3
+ VERSION = "0.8.2.0"
4
4
  end
5
5
  end
@@ -49,7 +49,7 @@
49
49
  },
50
50
  style: {
51
51
  style: 'تنسيق',
52
- normal: 'عادي',
52
+ p: 'عادي',
53
53
  blockquote: 'إقتباس',
54
54
  pre: 'شفيرة',
55
55
  h1: 'عنوان رئيسي 1',
@@ -44,7 +44,7 @@
44
44
  },
45
45
  style: {
46
46
  style: 'Стил',
47
- normal: 'Нормален',
47
+ p: 'Нормален',
48
48
  blockquote: 'Цитат',
49
49
  pre: 'Код',
50
50
  h1: 'Заглавие 1',
@@ -39,7 +39,7 @@
39
39
  videoLink: 'Enllaç del vídeo',
40
40
  insert: 'Inserir vídeo',
41
41
  url: 'URL del vídeo?',
42
- providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, o Youku)'
42
+ providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
43
43
  },
44
44
  link: {
45
45
  link: 'Enllaç',
@@ -58,7 +58,7 @@
58
58
  },
59
59
  style: {
60
60
  style: 'Estil',
61
- normal: 'Normal',
61
+ p: 'p',
62
62
  blockquote: 'Cita',
63
63
  pre: 'Codi',
64
64
  h1: 'Títol 1',
@@ -144,4 +144,4 @@
144
144
  }
145
145
  }
146
146
  });
147
- })(jQuery);
147
+ })(jQuery);
@@ -47,7 +47,7 @@
47
47
  },
48
48
  style: {
49
49
  style: 'Styl',
50
- normal: 'Normální',
50
+ p: 'Normální',
51
51
  blockquote: 'Citace',
52
52
  pre: 'Kód',
53
53
  h1: 'Nadpis 1',
@@ -58,7 +58,7 @@
58
58
  },
59
59
  style: {
60
60
  style: 'Stil',
61
- normal: 'Normal',
61
+ p: 'p',
62
62
  blockquote: 'Citat',
63
63
  pre: 'Kode',
64
64
  h1: 'Overskrift 1',
@@ -35,7 +35,7 @@
35
35
  videoLink: 'Video Link',
36
36
  insert: 'Video einfügen',
37
37
  url: 'Video URL?',
38
- providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, oder Youku)'
38
+ providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion oder Youku)'
39
39
  },
40
40
  link: {
41
41
  link: 'Link',
@@ -54,7 +54,7 @@
54
54
  },
55
55
  style: {
56
56
  style: 'Stil',
57
- normal: 'Normal',
57
+ p: 'p',
58
58
  blockquote: 'Zitat',
59
59
  pre: 'Quellcode',
60
60
  h1: 'Überschrift 1',
@@ -39,7 +39,7 @@
39
39
  videoLink: 'Link del vídeo',
40
40
  insert: 'Insertar vídeo',
41
41
  url: '¿URL del vídeo?',
42
- providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, o Youku)'
42
+ providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion o Youku)'
43
43
  },
44
44
  link: {
45
45
  link: 'Link',
@@ -58,7 +58,7 @@
58
58
  },
59
59
  style: {
60
60
  style: 'Estilo',
61
- normal: 'Normal',
61
+ p: 'p',
62
62
  blockquote: 'Cita',
63
63
  pre: 'Código',
64
64
  h1: 'Título 1',
@@ -144,4 +144,4 @@
144
144
  }
145
145
  }
146
146
  });
147
- })(jQuery);
147
+ })(jQuery);
@@ -29,7 +29,7 @@
29
29
  videoLink: 'Bideorako esteka',
30
30
  insert: 'Bideo berri bat txertatu',
31
31
  url: 'Bideoaren URL helbidea',
32
- providers: '(YouTube, Vimeo, Vine, Instagram, edo DailyMotion)'
32
+ providers: '(YouTube, Vimeo, Vine, Instagram edo DailyMotion)'
33
33
  },
34
34
  link: {
35
35
  link: 'Esteka',
@@ -48,7 +48,7 @@
48
48
  },
49
49
  style: {
50
50
  style: 'Estiloa',
51
- normal: 'Normal',
51
+ p: 'p',
52
52
  blockquote: 'Aipamena',
53
53
  pre: 'Kodea',
54
54
  h1: '1. izenburua',
@@ -30,7 +30,7 @@
30
30
  videoLink: 'لینک ویدیو',
31
31
  insert: 'افزودن ویدیو',
32
32
  url: 'آدرس ویدیو ؟',
33
- providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, یا Youku)'
33
+ providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion یا Youku)'
34
34
  },
35
35
  link: {
36
36
  link: 'لینک',
@@ -49,7 +49,7 @@
49
49
  },
50
50
  style: {
51
51
  style: 'استیل',
52
- normal: 'نرمال',
52
+ p: 'نرمال',
53
53
  blockquote: 'نقل قول',
54
54
  pre: 'کد',
55
55
  h1: 'سرتیتر 1',
@@ -49,7 +49,7 @@
49
49
  },
50
50
  style: {
51
51
  style: 'Tyyli',
52
- normal: 'Normaali',
52
+ p: 'Normaali',
53
53
  blockquote: 'Lainaus',
54
54
  pre: 'Koodi',
55
55
  h1: 'Otsikko 1',
@@ -58,7 +58,7 @@
58
58
  },
59
59
  style: {
60
60
  style: 'Style',
61
- normal: 'Normal',
61
+ p: 'p',
62
62
  blockquote: 'Citation',
63
63
  pre: 'Code source',
64
64
  h1: 'Titre 1',
@@ -0,0 +1,147 @@
1
+ (function ($) {
2
+ $.extend($.summernote.lang, {
3
+ 'gl-ES': {
4
+ font: {
5
+ bold: 'Negrita',
6
+ italic: 'Cursiva',
7
+ underline: 'Subliñado',
8
+ clear: 'Quitar estilo de fonte',
9
+ height: 'Altura de liña',
10
+ name: 'Fonte',
11
+ strikethrough: 'Riscado',
12
+ superscript: 'Superíndice',
13
+ subscript: 'Subíndice',
14
+ size: 'Tamaño da fonte'
15
+ },
16
+ image: {
17
+ image: 'Imaxe',
18
+ insert: 'Inserir imaxe',
19
+ resizeFull: 'Redimensionar a tamaño completo',
20
+ resizeHalf: 'Redimensionar á metade',
21
+ resizeQuarter: 'Redimensionar a un cuarto',
22
+ floatLeft: 'Flotar á esquerda',
23
+ floatRight: 'Flotar á dereita',
24
+ floatNone: 'Non flotar',
25
+ shapeRounded: 'Forma: Redondeado',
26
+ shapeCircle: 'Forma: Círculo',
27
+ shapeThumbnail: 'Forma: Marco',
28
+ shapeNone: 'Forma: Ningunha',
29
+ dragImageHere: 'Arrastrar unha imaxe ou texto aquí',
30
+ dropImage: 'Solta a imaxe ou texto',
31
+ selectFromFiles: 'Seleccionar desde os arquivos',
32
+ maximumFileSize: 'Tamaño máximo do arquivo',
33
+ maximumFileSizeError: 'Superaches o tamaño máximo do arquivo.',
34
+ url: 'URL da imaxe',
35
+ remove: 'Eliminar imaxe'
36
+ },
37
+ video: {
38
+ video: 'Vídeo',
39
+ videoLink: 'Ligazón do vídeo',
40
+ insert: 'Insertar vídeo',
41
+ url: 'URL do vídeo?',
42
+ providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, o Youku)'
43
+ },
44
+ link: {
45
+ link: 'Ligazón',
46
+ insert: 'Inserir Ligazón',
47
+ unlink: 'Quitar Ligazón',
48
+ edit: 'Editar',
49
+ textToDisplay: 'Texto para amosar',
50
+ url: 'Cara a que URL leva a ligazón?',
51
+ openInNewWindow: 'Abrir nunha nova xanela'
52
+ },
53
+ table: {
54
+ table: 'Táboa'
55
+ },
56
+ hr: {
57
+ insert: 'Inserir liña horizontal'
58
+ },
59
+ style: {
60
+ style: 'Estilo',
61
+ normal: 'Normal',
62
+ blockquote: 'Cita',
63
+ pre: 'Código',
64
+ h1: 'Título 1',
65
+ h2: 'Título 2',
66
+ h3: 'Título 3',
67
+ h4: 'Título 4',
68
+ h5: 'Título 5',
69
+ h6: 'Título 6'
70
+ },
71
+ lists: {
72
+ unordered: 'Lista desordenada',
73
+ ordered: 'Lista ordenada'
74
+ },
75
+ options: {
76
+ help: 'Axuda',
77
+ fullscreen: 'Pantalla completa',
78
+ codeview: 'Ver código fonte'
79
+ },
80
+ paragraph: {
81
+ paragraph: 'Parágrafo',
82
+ outdent: 'Menos tabulación',
83
+ indent: 'Máis tabulación',
84
+ left: 'Aliñar á esquerda',
85
+ center: 'Aliñar ao centro',
86
+ right: 'Aliñar á dereita',
87
+ justify: 'Xustificar'
88
+ },
89
+ color: {
90
+ recent: 'Última cor',
91
+ more: 'Máis cores',
92
+ background: 'Cor de fondo',
93
+ foreground: 'Cor de fuente',
94
+ transparent: 'Transparente',
95
+ setTransparent: 'Establecer transparente',
96
+ reset: 'Restaurar',
97
+ resetToDefault: 'Restaurar por defecto'
98
+ },
99
+ shortcut: {
100
+ shortcuts: 'Atallos de teclado',
101
+ close: 'Pechar',
102
+ textFormatting: 'Formato de texto',
103
+ action: 'Acción',
104
+ paragraphFormatting: 'Formato de parágrafo',
105
+ documentStyle: 'Estilo de documento',
106
+ extraKeys: 'Teclas adicionais'
107
+ },
108
+ help : {
109
+ 'insertParagraph': 'Inserir parágrafo',
110
+ 'undo': 'Desfacer última acción',
111
+ 'redo': 'Refacer última acción',
112
+ 'tab': 'Tabular',
113
+ 'untab': 'Eliminar tabulación',
114
+ 'bold': 'Establecer estilo negrita',
115
+ 'italic': 'Establecer estilo cursiva',
116
+ 'underline': 'Establecer estilo subliñado',
117
+ 'strikethrough': 'Establecer estilo riscado',
118
+ 'removeFormat': 'Limpar estilo',
119
+ 'justifyLeft': 'Aliñar á esquerda',
120
+ 'justifyCenter': 'Aliñar ao centro',
121
+ 'justifyRight': 'Aliñar á dereita',
122
+ 'justifyFull': 'Xustificar',
123
+ 'insertUnorderedList': 'Inserir lista desordenada',
124
+ 'insertOrderedList': 'Inserir lista ordenada',
125
+ 'outdent': 'Reducir tabulación do parágrafo',
126
+ 'indent': 'Aumentar tabulación do parágrafo',
127
+ 'formatPara': 'Mudar estilo do bloque a parágrafo (etiqueta P)',
128
+ 'formatH1': 'Mudar estilo do bloque a H1',
129
+ 'formatH2': 'Mudar estilo do bloque a H2',
130
+ 'formatH3': 'Mudar estilo do bloque a H3',
131
+ 'formatH4': 'Mudar estilo do bloque a H4',
132
+ 'formatH5': 'Mudar estilo do bloque a H5',
133
+ 'formatH6': 'Mudar estilo do bloque a H6',
134
+ 'insertHorizontalRule': 'Inserir liña horizontal',
135
+ 'linkDialog.show': 'Amosar panel ligazóns'
136
+ },
137
+ history: {
138
+ undo: 'Desfacer',
139
+ redo: 'Refacer'
140
+ },
141
+ specialChar: {
142
+ specialChar: 'CARACTERES ESPECIAIS',
143
+ select: 'Selecciona Caracteres especiais'
144
+ }
145
+ }
146
+ });
147
+ })(jQuery);
@@ -51,7 +51,7 @@
51
51
  },
52
52
  style: {
53
53
  style: 'עיצוב',
54
- normal: 'טקסט רגיל',
54
+ p: 'טקסט רגיל',
55
55
  blockquote: 'ציטוט',
56
56
  pre: 'קוד',
57
57
  h1: 'כותרת 1',
@@ -0,0 +1,104 @@
1
+ (function ($) {
2
+ $.extend($.summernote.lang, {
3
+ 'hr-HR': {
4
+ font: {
5
+ bold: 'Podebljano',
6
+ italic: 'Kurziv',
7
+ underline: 'Podvučeno',
8
+ clear: 'Ukloni stilove fonta',
9
+ height: 'Visina linije',
10
+ strikethrough: 'Precrtano',
11
+ size: 'Veličina fonta'
12
+ },
13
+ image: {
14
+ image: 'Slika',
15
+ insert: 'Ubaci sliku',
16
+ resizeFull: 'Puna veličina',
17
+ resizeHalf: 'Umanji na 50%',
18
+ resizeQuarter: 'Umanji na 25%',
19
+ floatLeft: 'Poravnaj lijevo',
20
+ floatRight: 'Poravnaj desno',
21
+ floatNone: 'Bez poravnanja',
22
+ dragImageHere: 'Povuci sliku ovdje',
23
+ selectFromFiles: 'Izaberi iz datoteke',
24
+ url: 'Adresa slike',
25
+ remove: 'Ukloni sliku'
26
+ },
27
+ video: {
28
+ video: 'Video',
29
+ videoLink: 'Veza na video',
30
+ insert: 'Ubaci video',
31
+ url: 'URL video',
32
+ providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion ili Youku)'
33
+ },
34
+ link: {
35
+ link: 'Veza',
36
+ insert: 'Ubaci vezu',
37
+ unlink: 'Ukloni vezu',
38
+ edit: 'Uredi',
39
+ textToDisplay: 'Tekst za prikaz',
40
+ url: 'Internet adresa',
41
+ openInNewWindow: 'Otvori u novom prozoru'
42
+ },
43
+ table: {
44
+ table: 'Tablica'
45
+ },
46
+ hr: {
47
+ insert: 'Ubaci horizontalnu liniju'
48
+ },
49
+ style: {
50
+ style: 'Stil',
51
+ p: 'pni',
52
+ blockquote: 'Citat',
53
+ pre: 'Kôd',
54
+ h1: 'Naslov 1',
55
+ h2: 'Naslov 2',
56
+ h3: 'Naslov 3',
57
+ h4: 'Naslov 4',
58
+ h5: 'Naslov 5',
59
+ h6: 'Naslov 6'
60
+ },
61
+ lists: {
62
+ unordered: 'Obična lista',
63
+ ordered: 'Numerirana lista'
64
+ },
65
+ options: {
66
+ help: 'Pomoć',
67
+ fullscreen: 'Preko cijelog ekrana',
68
+ codeview: 'Izvorni kôd'
69
+ },
70
+ paragraph: {
71
+ paragraph: 'Paragraf',
72
+ outdent: 'Smanji uvlačenje',
73
+ indent: 'Povećaj uvlačenje',
74
+ left: 'Poravnaj lijevo',
75
+ center: 'Centrirano',
76
+ right: 'Poravnaj desno',
77
+ justify: 'Poravnaj obostrano'
78
+ },
79
+ color: {
80
+ recent: 'Posljednja boja',
81
+ more: 'Više boja',
82
+ background: 'Boja pozadine',
83
+ foreground: 'Boja teksta',
84
+ transparent: 'Prozirna',
85
+ setTransparent: 'Prozirna',
86
+ reset: 'Poništi',
87
+ resetToDefault: 'Podrazumijevana'
88
+ },
89
+ shortcut: {
90
+ shortcuts: 'Prečice s tipkovnice',
91
+ close: 'Zatvori',
92
+ textFormatting: 'Formatiranje teksta',
93
+ action: 'Akcija',
94
+ paragraphFormatting: 'Formatiranje paragrafa',
95
+ documentStyle: 'Stil dokumenta',
96
+ extraKeys: 'Dodatne kombinacije'
97
+ },
98
+ history: {
99
+ undo: 'Poništi',
100
+ redo: 'Ponovi'
101
+ }
102
+ }
103
+ });
104
+ })(jQuery);