wysiwyg-rails 2.6.0 → 2.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -3
  3. data/app/assets/javascripts/froala_editor.min.js +3 -8
  4. data/app/assets/javascripts/froala_editor.pkgd.min.js +3 -17
  5. data/app/assets/javascripts/languages/ar.js +92 -4
  6. data/app/assets/javascripts/languages/bs.js +92 -4
  7. data/app/assets/javascripts/languages/cs.js +92 -4
  8. data/app/assets/javascripts/languages/da.js +196 -111
  9. data/app/assets/javascripts/languages/de.js +167 -79
  10. data/app/assets/javascripts/languages/el.js +327 -0
  11. data/app/assets/javascripts/languages/en_ca.js +94 -6
  12. data/app/assets/javascripts/languages/en_gb.js +92 -4
  13. data/app/assets/javascripts/languages/es.js +93 -5
  14. data/app/assets/javascripts/languages/et.js +92 -4
  15. data/app/assets/javascripts/languages/fa.js +96 -8
  16. data/app/assets/javascripts/languages/fi.js +92 -4
  17. data/app/assets/javascripts/languages/fr.js +129 -41
  18. data/app/assets/javascripts/languages/he.js +92 -4
  19. data/app/assets/javascripts/languages/hr.js +92 -4
  20. data/app/assets/javascripts/languages/hu.js +105 -17
  21. data/app/assets/javascripts/languages/id.js +92 -4
  22. data/app/assets/javascripts/languages/it.js +198 -110
  23. data/app/assets/javascripts/languages/ja.js +191 -103
  24. data/app/assets/javascripts/languages/ko.js +116 -28
  25. data/app/assets/javascripts/languages/ku.js +314 -0
  26. data/app/assets/javascripts/languages/me.js +92 -4
  27. data/app/assets/javascripts/languages/nb.js +92 -4
  28. data/app/assets/javascripts/languages/nl.js +101 -13
  29. data/app/assets/javascripts/languages/pl.js +92 -4
  30. data/app/assets/javascripts/languages/pt_br.js +165 -77
  31. data/app/assets/javascripts/languages/pt_pt.js +94 -6
  32. data/app/assets/javascripts/languages/ro.js +92 -5
  33. data/app/assets/javascripts/languages/ru.js +95 -7
  34. data/app/assets/javascripts/languages/sk.js +92 -5
  35. data/app/assets/javascripts/languages/sr.js +92 -4
  36. data/app/assets/javascripts/languages/sv.js +121 -33
  37. data/app/assets/javascripts/languages/th.js +93 -5
  38. data/app/assets/javascripts/languages/tr.js +92 -4
  39. data/app/assets/javascripts/languages/{ua.js → uk.js} +93 -5
  40. data/app/assets/javascripts/languages/vi.js +92 -4
  41. data/app/assets/javascripts/languages/zh_cn.js +259 -171
  42. data/app/assets/javascripts/languages/zh_tw.js +92 -4
  43. data/app/assets/javascripts/plugins/align.min.js +3 -3
  44. data/app/assets/javascripts/plugins/char_counter.min.js +3 -3
  45. data/app/assets/javascripts/plugins/code_beautifier.min.js +3 -4
  46. data/app/assets/javascripts/plugins/code_view.min.js +3 -3
  47. data/app/assets/javascripts/plugins/colors.min.js +3 -3
  48. data/app/assets/javascripts/plugins/draggable.min.js +3 -3
  49. data/app/assets/javascripts/plugins/emoticons.min.js +3 -3
  50. data/app/assets/javascripts/plugins/entities.min.js +3 -3
  51. data/app/assets/javascripts/plugins/file.min.js +3 -3
  52. data/app/assets/javascripts/plugins/font_family.min.js +3 -3
  53. data/app/assets/javascripts/plugins/font_size.min.js +3 -3
  54. data/app/assets/javascripts/plugins/forms.min.js +3 -3
  55. data/app/assets/javascripts/plugins/fullscreen.min.js +3 -3
  56. data/app/assets/javascripts/plugins/help.min.js +3 -3
  57. data/app/assets/javascripts/plugins/image.min.js +3 -4
  58. data/app/assets/javascripts/plugins/image_manager.min.js +3 -3
  59. data/app/assets/javascripts/plugins/inline_class.min.js +7 -0
  60. data/app/assets/javascripts/plugins/inline_style.min.js +3 -3
  61. data/app/assets/javascripts/plugins/line_breaker.min.js +3 -3
  62. data/app/assets/javascripts/plugins/line_height.min.js +7 -0
  63. data/app/assets/javascripts/plugins/link.min.js +3 -3
  64. data/app/assets/javascripts/plugins/lists.min.js +3 -3
  65. data/app/assets/javascripts/plugins/paragraph_format.min.js +3 -3
  66. data/app/assets/javascripts/plugins/paragraph_style.min.js +3 -3
  67. data/app/assets/javascripts/plugins/print.min.js +3 -3
  68. data/app/assets/javascripts/plugins/quick_insert.min.js +3 -3
  69. data/app/assets/javascripts/plugins/quote.min.js +3 -3
  70. data/app/assets/javascripts/plugins/save.min.js +3 -3
  71. data/app/assets/javascripts/plugins/special_characters.min.js +3 -3
  72. data/app/assets/javascripts/plugins/table.min.js +3 -4
  73. data/app/assets/javascripts/plugins/url.min.js +3 -3
  74. data/app/assets/javascripts/plugins/video.min.js +3 -4
  75. data/app/assets/javascripts/plugins/word_paste.min.js +3 -3
  76. data/app/assets/javascripts/third_party/embedly.min.js +7 -0
  77. data/app/assets/javascripts/third_party/font_awesome.min.js +7 -0
  78. data/app/assets/javascripts/third_party/image_aviary.min.js +7 -0
  79. data/app/assets/javascripts/third_party/image_tui.min.js +7 -0
  80. data/app/assets/javascripts/third_party/spell_checker.min.js +7 -0
  81. data/app/assets/stylesheets/froala_editor.css +159 -31
  82. data/app/assets/stylesheets/froala_editor.min.css +3 -3
  83. data/app/assets/stylesheets/froala_editor.pkgd.css +274 -82
  84. data/app/assets/stylesheets/froala_editor.pkgd.min.css +3 -3
  85. data/app/assets/stylesheets/froala_style.css +174 -26
  86. data/app/assets/stylesheets/froala_style.min.css +3 -3
  87. data/app/assets/stylesheets/plugins/char_counter.css +2 -2
  88. data/app/assets/stylesheets/plugins/char_counter.min.css +2 -2
  89. data/app/assets/stylesheets/plugins/code_view.css +2 -2
  90. data/app/assets/stylesheets/plugins/code_view.min.css +2 -2
  91. data/app/assets/stylesheets/plugins/colors.css +34 -3
  92. data/app/assets/stylesheets/plugins/colors.min.css +3 -3
  93. data/app/assets/stylesheets/plugins/draggable.css +3 -3
  94. data/app/assets/stylesheets/plugins/draggable.min.css +3 -3
  95. data/app/assets/stylesheets/plugins/emoticons.css +2 -2
  96. data/app/assets/stylesheets/plugins/emoticons.min.css +2 -2
  97. data/app/assets/stylesheets/plugins/file.css +16 -16
  98. data/app/assets/stylesheets/plugins/file.min.css +3 -3
  99. data/app/assets/stylesheets/plugins/fullscreen.css +3 -3
  100. data/app/assets/stylesheets/plugins/fullscreen.min.css +3 -3
  101. data/app/assets/stylesheets/plugins/help.css +2 -2
  102. data/app/assets/stylesheets/plugins/help.min.css +2 -2
  103. data/app/assets/stylesheets/plugins/image.css +17 -16
  104. data/app/assets/stylesheets/plugins/image.min.css +3 -3
  105. data/app/assets/stylesheets/plugins/image_manager.css +4 -2
  106. data/app/assets/stylesheets/plugins/image_manager.min.css +3 -3
  107. data/app/assets/stylesheets/plugins/line_breaker.css +2 -2
  108. data/app/assets/stylesheets/plugins/line_breaker.min.css +2 -2
  109. data/app/assets/stylesheets/plugins/quick_insert.css +4 -4
  110. data/app/assets/stylesheets/plugins/quick_insert.min.css +3 -3
  111. data/app/assets/stylesheets/plugins/special_characters.css +2 -2
  112. data/app/assets/stylesheets/plugins/special_characters.min.css +2 -2
  113. data/app/assets/stylesheets/plugins/table.css +34 -4
  114. data/app/assets/stylesheets/plugins/table.min.css +3 -3
  115. data/app/assets/stylesheets/plugins/video.css +18 -18
  116. data/app/assets/stylesheets/plugins/video.min.css +3 -3
  117. data/app/assets/stylesheets/themes/dark.css +199 -45
  118. data/app/assets/stylesheets/themes/dark.min.css +3 -3
  119. data/app/assets/stylesheets/themes/gray.css +197 -43
  120. data/app/assets/stylesheets/themes/gray.min.css +3 -3
  121. data/app/assets/stylesheets/themes/red.css +198 -44
  122. data/app/assets/stylesheets/themes/red.min.css +3 -3
  123. data/app/assets/stylesheets/themes/royal.css +210 -56
  124. data/app/assets/stylesheets/themes/royal.min.css +3 -3
  125. data/app/assets/stylesheets/third_party/embedly.css +64 -0
  126. data/app/assets/stylesheets/third_party/embedly.min.css +7 -0
  127. data/app/assets/stylesheets/third_party/font_awesome.css +50 -0
  128. data/app/assets/stylesheets/third_party/font_awesome.min.css +7 -0
  129. data/app/assets/stylesheets/third_party/image_tui.css +42 -0
  130. data/app/assets/stylesheets/third_party/image_tui.min.css +7 -0
  131. data/app/assets/stylesheets/third_party/spell_checker.css +72 -0
  132. data/app/assets/stylesheets/{plugins → third_party}/spell_checker.min.css +2 -2
  133. data/lib/wysiwyg-rails/engine.rb +0 -2
  134. data/lib/wysiwyg-rails/version.rb +1 -1
  135. metadata +20 -26
  136. data/app/assets/javascripts/plugins/image_aviary.min.js +0 -7
  137. data/app/assets/javascripts/plugins/spell_checker.min.js +0 -7
@@ -1,9 +1,35 @@
1
1
  /*!
2
- * froala_editor v2.6.0 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v2.9.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2017 Froala Labs
4
+ * Copyright 2014-2018 Froala Labs
5
5
  */
6
6
 
7
+ (function (factory) {
8
+ if (typeof define === 'function' && define.amd) {
9
+ // AMD. Register as an anonymous module.
10
+ define(['jquery'], factory);
11
+ } else if (typeof module === 'object' && module.exports) {
12
+ // Node/CommonJS
13
+ module.exports = function( root, jQuery ) {
14
+ if ( jQuery === undefined ) {
15
+ // require('jQuery') returns a factory that requires window to
16
+ // build a jQuery instance, we normalize how we use modules
17
+ // that require this pattern but the window provided is a noop
18
+ // if it's defined (how jquery works)
19
+ if ( typeof window !== 'undefined' ) {
20
+ jQuery = require('jquery');
21
+ }
22
+ else {
23
+ jQuery = require('jquery')(root);
24
+ }
25
+ }
26
+ return factory(jQuery);
27
+ };
28
+ } else {
29
+ // Browser globals
30
+ factory(window.jQuery);
31
+ }
32
+ }(function ($) {
7
33
  /**
8
34
  * Spanish
9
35
  */
@@ -28,7 +54,7 @@ $.FE.LANGUAGE['es'] = {
28
54
  "Remove": "Quitar",
29
55
  "More": "M\u00e1s",
30
56
  "Update": "Actualizaci\u00f3n",
31
- "Style": "",
57
+ "Style": "Estilo",
32
58
 
33
59
  // Font
34
60
  "Font Family": "Familia de fuentes",
@@ -38,6 +64,7 @@ $.FE.LANGUAGE['es'] = {
38
64
  "Colors": "Colores",
39
65
  "Background": "Fondo",
40
66
  "Text": "Texto",
67
+ "HEX Color": "Color hexadecimal",
41
68
 
42
69
  // Paragraphs
43
70
  "Paragraph Format": "Formato de p\u00e1rrafo",
@@ -94,15 +121,21 @@ $.FE.LANGUAGE['es'] = {
94
121
  "Display": "Mostrar",
95
122
  "Inline": "En l\u00ednea",
96
123
  "Break Text": "Romper texto",
97
- "Alternate Text": "Texto alternativo",
124
+ "Alternative Text": "Texto alternativo",
98
125
  "Change Size": "Cambiar tama\u00f1o",
99
126
  "Width": "Ancho",
100
127
  "Height": "Altura",
101
128
  "Something went wrong. Please try again.": "Algo sali\u00f3 mal. Por favor, vuelva a intentarlo.",
129
+ "Image Caption": "Captura de imagen",
130
+ "Advanced Edit": "Edición avanzada",
102
131
 
103
132
  // Video
104
133
  "Insert Video": "Insertar video",
105
134
  "Embedded Code": "C\u00f3digo incrustado",
135
+ "Paste in a video URL": "Pegar en una URL de video",
136
+ "Drop video": "Soltar video",
137
+ "Your browser does not support HTML5 video.": "Su navegador no es compatible con video html5.",
138
+ "Upload Video": "Subir video",
106
139
 
107
140
  // Tables
108
141
  "Insert Table": "Insertar tabla",
@@ -211,6 +244,9 @@ $.FE.LANGUAGE['es'] = {
211
244
  // Clear formatting
212
245
  "Clear Formatting": "Quitar el formato",
213
246
 
247
+ // Save
248
+ "Save": "Salvar",
249
+
214
250
  // Undo, redo
215
251
  "Undo": "Deshacer",
216
252
  "Redo": "Rehacer",
@@ -227,7 +263,59 @@ $.FE.LANGUAGE['es'] = {
227
263
  "Decrease": "Disminuci\u00f3n",
228
264
 
229
265
  // Quick Insert
230
- "Quick Insert": "Inserci\u00f3n r\u00e1pida"
266
+ "Quick Insert": "Inserci\u00f3n r\u00e1pida",
267
+
268
+ // Spcial Characters
269
+ "Special Characters": "Caracteres especiales",
270
+ "Latin": "Latín",
271
+ "Greek": "Griego",
272
+ "Cyrillic": "Cirílico",
273
+ "Punctuation": "Puntuación",
274
+ "Currency": "Moneda",
275
+ "Arrows": "Flechas",
276
+ "Math": "Mates",
277
+ "Misc": "Misc",
278
+
279
+ // Print.
280
+ "Print": "Impresión",
281
+
282
+ // Spell Checker.
283
+ "Spell Checker": "Corrector ortográfico",
284
+
285
+ // Help
286
+ "Help": "Ayuda",
287
+ "Shortcuts": "Atajos",
288
+ "Inline Editor": "Editor en línea",
289
+ "Show the editor": "Mostrar al editor",
290
+ "Common actions": "Acciones comunes",
291
+ "Copy": "Dupdo",
292
+ "Cut": "Cortar",
293
+ "Paste": "Pegar",
294
+ "Basic Formatting": "Formato básico",
295
+ "Increase quote level": "Aumentar el nivel de cotización",
296
+ "Decrease quote level": "Disminuir el nivel de cotización",
297
+ "Image / Video": "Imagen / video",
298
+ "Resize larger": "Redimensionar más grande",
299
+ "Resize smaller": "Redimensionar más pequeño",
300
+ "Table": "Mesa",
301
+ "Select table cell": "Celda de tabla select",
302
+ "Extend selection one cell": "Ampliar la selección una celda",
303
+ "Extend selection one row": "Ampliar la selección una fila",
304
+ "Navigation": "Navegación",
305
+ "Focus popup / toolbar": "Focus popup / toolbar",
306
+ "Return focus to previous position": "Volver al foco a la posición anterior",
307
+
308
+ // Embed.ly
309
+ "Embed URL": "URL de inserción",
310
+ "Paste in a URL to embed": "Pegar en una url para incrustar",
311
+
312
+ // Word Paste.
313
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "El contenido pegado viene de un documento de Microsoft Word. ¿Quieres mantener el formato o limpiarlo?",
314
+ "Keep": "Guardar",
315
+ "Clean": "Limpiar",
316
+ "Word Paste Detected": "Palabra detectada"
231
317
  },
232
318
  direction: "ltr"
233
319
  };
320
+
321
+ }));
@@ -1,9 +1,35 @@
1
1
  /*!
2
- * froala_editor v2.6.0 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v2.9.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2017 Froala Labs
4
+ * Copyright 2014-2018 Froala Labs
5
5
  */
6
6
 
7
+ (function (factory) {
8
+ if (typeof define === 'function' && define.amd) {
9
+ // AMD. Register as an anonymous module.
10
+ define(['jquery'], factory);
11
+ } else if (typeof module === 'object' && module.exports) {
12
+ // Node/CommonJS
13
+ module.exports = function( root, jQuery ) {
14
+ if ( jQuery === undefined ) {
15
+ // require('jQuery') returns a factory that requires window to
16
+ // build a jQuery instance, we normalize how we use modules
17
+ // that require this pattern but the window provided is a noop
18
+ // if it's defined (how jquery works)
19
+ if ( typeof window !== 'undefined' ) {
20
+ jQuery = require('jquery');
21
+ }
22
+ else {
23
+ jQuery = require('jquery')(root);
24
+ }
25
+ }
26
+ return factory(jQuery);
27
+ };
28
+ } else {
29
+ // Browser globals
30
+ factory(window.jQuery);
31
+ }
32
+ }(function ($) {
7
33
  /**
8
34
  * Estonian
9
35
  */
@@ -38,6 +64,7 @@ $.FE.LANGUAGE['et'] = {
38
64
  "Colors": "V\u00e4rvid",
39
65
  "Background": "Taust",
40
66
  "Text": "Tekst",
67
+ "HEX Color": "Hex värvi",
41
68
 
42
69
  // Paragraphs
43
70
  "Paragraph Format": "Paragrahv formaat",
@@ -94,15 +121,21 @@ $.FE.LANGUAGE['et'] = {
94
121
  "Display": "Kuvama",
95
122
  "Inline": "J\u00e4rjekorras",
96
123
  "Break Text": "Murdma teksti",
97
- "Alternate Text": "Asendusliikme teksti",
124
+ "Alternative Text": "Asendusliikme teksti",
98
125
  "Change Size": "Muuda suurust",
99
126
  "Width": "Laius",
100
127
  "Height": "K\u00f5rgus",
101
128
  "Something went wrong. Please try again.": "Midagi l\u00e4ks valesti. Palun proovi uuesti.",
129
+ "Image Caption": "Pildi pealkiri",
130
+ "Advanced Edit": "Täiustatud redigeerimine",
102
131
 
103
132
  // Video
104
133
  "Insert Video": "Lisa video",
105
134
  "Embedded Code": "Varjatud koodi",
135
+ "Paste in a video URL": "Kleebi video URL-i",
136
+ "Drop video": "Tilk videot",
137
+ "Your browser does not support HTML5 video.": "Teie brauser ei toeta html5-videot.",
138
+ "Upload Video": "Video üleslaadimine",
106
139
 
107
140
  // Tables
108
141
  "Insert Table": "Sisesta tabel",
@@ -211,6 +244,9 @@ $.FE.LANGUAGE['et'] = {
211
244
  // Clear formatting
212
245
  "Clear Formatting": "Eemalda formaatimine",
213
246
 
247
+ // Save
248
+ "Save": "Salvesta",
249
+
214
250
  // Undo, redo
215
251
  "Undo": "V\u00f5ta tagasi",
216
252
  "Redo": "Tee uuesti",
@@ -227,7 +263,59 @@ $.FE.LANGUAGE['et'] = {
227
263
  "Decrease": "V\u00e4henda",
228
264
 
229
265
  // Quick Insert
230
- "Quick Insert": "Kiire sisestada"
266
+ "Quick Insert": "Kiire sisestada",
267
+
268
+ // Spcial Characters
269
+ "Special Characters": "Erimärgid",
270
+ "Latin": "Latin",
271
+ "Greek": "Kreeka keel",
272
+ "Cyrillic": "Kirillitsa",
273
+ "Punctuation": "Kirjavahemärgid",
274
+ "Currency": "Valuuta",
275
+ "Arrows": "Nooled",
276
+ "Math": "Matemaatika",
277
+ "Misc": "Misc",
278
+
279
+ // Print.
280
+ "Print": "Printige",
281
+
282
+ // Spell Checker.
283
+ "Spell Checker": "Õigekirja kontrollija",
284
+
285
+ // Help
286
+ "Help": "Abi",
287
+ "Shortcuts": "Otseteed",
288
+ "Inline Editor": "Sisemine redaktor",
289
+ "Show the editor": "Näita redaktorit",
290
+ "Common actions": "Ühised meetmed",
291
+ "Copy": "Koopia",
292
+ "Cut": "Lõigake",
293
+ "Paste": "Kleepige",
294
+ "Basic Formatting": "Põhiline vormindamine",
295
+ "Increase quote level": "Suurendada tsiteerimise taset",
296
+ "Decrease quote level": "Langetada tsiteerimise tase",
297
+ "Image / Video": "Pilt / video",
298
+ "Resize larger": "Suuruse muutmine suurem",
299
+ "Resize smaller": "Väiksema suuruse muutmine",
300
+ "Table": "Laud",
301
+ "Select table cell": "Vali tabeli lahtrisse",
302
+ "Extend selection one cell": "Laiendage valikut üks lahtrisse",
303
+ "Extend selection one row": "Laiendage valikut ühe reana",
304
+ "Navigation": "Navigeerimine",
305
+ "Focus popup / toolbar": "Fookuse hüpikakna / tööriistariba",
306
+ "Return focus to previous position": "Tagasi pöörata tähelepanu eelmisele positsioonile",
307
+
308
+ // Embed.ly
309
+ "Embed URL": "Embed url",
310
+ "Paste in a URL to embed": "Kleepige URL-i sisestamiseks",
311
+
312
+ // Word Paste.
313
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "Kleepitud sisu pärineb Microsoft Wordi dokumendist. kas soovite vormi säilitada või puhastada?",
314
+ "Keep": "Pidage seda",
315
+ "Clean": "Puhas",
316
+ "Word Paste Detected": "Avastatud sõna pasta"
231
317
  },
232
318
  direction: "ltr"
233
319
  };
320
+
321
+ }));
@@ -1,9 +1,35 @@
1
1
  /*!
2
- * froala_editor v2.6.0 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v2.9.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2017 Froala Labs
4
+ * Copyright 2014-2018 Froala Labs
5
5
  */
6
6
 
7
+ (function (factory) {
8
+ if (typeof define === 'function' && define.amd) {
9
+ // AMD. Register as an anonymous module.
10
+ define(['jquery'], factory);
11
+ } else if (typeof module === 'object' && module.exports) {
12
+ // Node/CommonJS
13
+ module.exports = function( root, jQuery ) {
14
+ if ( jQuery === undefined ) {
15
+ // require('jQuery') returns a factory that requires window to
16
+ // build a jQuery instance, we normalize how we use modules
17
+ // that require this pattern but the window provided is a noop
18
+ // if it's defined (how jquery works)
19
+ if ( typeof window !== 'undefined' ) {
20
+ jQuery = require('jquery');
21
+ }
22
+ else {
23
+ jQuery = require('jquery')(root);
24
+ }
25
+ }
26
+ return factory(jQuery);
27
+ };
28
+ } else {
29
+ // Browser globals
30
+ factory(window.jQuery);
31
+ }
32
+ }(function ($) {
7
33
  /**
8
34
  * Persian
9
35
  */
@@ -14,9 +40,9 @@ $.FE.LANGUAGE['fa'] = {
14
40
  "Type something": "\u0686\u06cc\u0632\u06cc \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f",
15
41
 
16
42
  // Basic formatting
17
- "Bold": "\u0636\u062e\u06cc\u0645",
18
- "Italic": "\u062e\u0637 \u06a9\u062c",
19
- "Underline": "\u062e\u0637 \u0632\u06cc\u0631",
43
+ "Bold": "ضخیم",
44
+ "Italic": "خط کج",
45
+ "Underline": "خط زیر",
20
46
  "Strikethrough": "\u062e\u0637 \u062e\u0648\u0631\u062f\u0647",
21
47
 
22
48
  // Main buttons
@@ -38,6 +64,7 @@ $.FE.LANGUAGE['fa'] = {
38
64
  "Colors": "\u0631\u0646\u06af",
39
65
  "Background": "\u0632\u0645\u06cc\u0646\u0647 \u0645\u062a\u0646",
40
66
  "Text": "\u0645\u062a\u0646",
67
+ "HEX Color": "کد رنگ",
41
68
 
42
69
  // Paragraphs
43
70
  "Paragraph Format": "\u0642\u0627\u0644\u0628",
@@ -94,15 +121,21 @@ $.FE.LANGUAGE['fa'] = {
94
121
  "Display": "\u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0646",
95
122
  "Inline": "\u062e\u0637\u06cc",
96
123
  "Break Text": "\u0634\u06a9\u0633\u062a\u0646 \u0627\u0633\u062a\u0631\u0627\u062d\u062a",
97
- "Alternate Text": "\u0645\u062a\u0646 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646",
124
+ "Alternative Text": "\u0645\u062a\u0646 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646",
98
125
  "Change Size": "\u062a\u063a\u06cc\u06cc\u0631 \u0627\u0646\u062f\u0627\u0632\u0647",
99
126
  "Width": "\u0639\u0631\u0636",
100
127
  "Height": "\u0627\u0631\u062a\u0641\u0627\u0639",
101
- "Something went wrong. Please try again.": "\u0686\u06cc\u0632\u06cc \u0631\u0627 \u0627\u0634\u062a\u0628\u0627\u0647 \u0631\u0641\u062a\u002e \u0644\u0637\u0641\u0627 \u062f\u0648\u0628\u0627\u0631\u0647 \u062a\u0644\u0627\u0634 \u06a9\u0646\u06cc\u062f\u002e",
128
+ "Something went wrong. Please try again.": "خطایی رخ داده است ، لطفا مجددا تلاش کنید",
129
+ "Image Caption": "عنوان تصویر",
130
+ "Advanced Edit": "ویرایش پیشرفته",
102
131
 
103
132
  // Video
104
133
  "Insert Video": "\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0641\u0627\u06cc\u0644 \u062a\u0635\u0648\u06cc\u0631\u06cc",
105
134
  "Embedded Code": "\u06a9\u062f \u062c\u0627\u0633\u0627\u0632\u06cc \u0634\u062f\u0647",
135
+ "Paste in a video URL": "در URL ویدیو وارد کنید",
136
+ "Drop video": "رها کردن ویدیو",
137
+ "Your browser does not support HTML5 video.": "مرورگر شما ویدیو HTML5 را پشتیبانی نمی کند.",
138
+ "Upload Video": "آپلود ویدیو",
106
139
 
107
140
  // Tables
108
141
  "Insert Table": "\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u062c\u062f\u0648\u0644",
@@ -211,6 +244,9 @@ $.FE.LANGUAGE['fa'] = {
211
244
  // Clear formatting
212
245
  "Clear Formatting": "\u062d\u0630\u0641 \u0642\u0627\u0644\u0628 \u0628\u0646\u062f\u06cc",
213
246
 
247
+ // Save
248
+ "Save": "\u0635\u0631\u0641\u0647 \u062c\u0648\u06cc\u06cc",
249
+
214
250
  // Undo, redo
215
251
  "Undo": "\u0628\u0627\u0637\u0644 \u06a9\u0631\u062f\u0646",
216
252
  "Redo": "\u0627\u0646\u062c\u0627\u0645 \u062f\u0648\u0628\u0627\u0631\u0647",
@@ -227,7 +263,59 @@ $.FE.LANGUAGE['fa'] = {
227
263
  "Decrease": "\u0646\u0632\u0648\u0644 \u06a9\u0631\u062f\u0646",
228
264
 
229
265
  // Quick Insert
230
- "Quick Insert": "\u062f\u0631\u062c \u0633\u0631\u06cc\u0639"
266
+ "Quick Insert": "\u062f\u0631\u062c \u0633\u0631\u06cc\u0639",
267
+
268
+ // Spcial Characters
269
+ "Special Characters": "کاراکترهای خاص",
270
+ "Latin": "لاتین",
271
+ "Greek": "یونانی",
272
+ "Cyrillic": "سیریلیک",
273
+ "Punctuation": "نقطه گذاری",
274
+ "Currency": "واحد پول",
275
+ "Arrows": "فلش ها",
276
+ "Math": "ریاضی",
277
+ "Misc": "متاسفم",
278
+
279
+ // Print.
280
+ "Print": "چاپ",
281
+
282
+ // Spell Checker.
283
+ "Spell Checker": "بررسی کننده غلط املایی",
284
+
285
+ // Help
286
+ "Help": "کمک",
287
+ "Shortcuts": "کلید های میانبر",
288
+ "Inline Editor": "ویرایشگر خطی",
289
+ "Show the editor": "ویرایشگر را نشان بده",
290
+ "Common actions": "اقدامات مشترک",
291
+ "Copy": "کپی کنید",
292
+ "Cut": "برش",
293
+ "Paste": "چسباندن",
294
+ "Basic Formatting": "قالب بندی اولیه",
295
+ "Increase quote level": "افزایش سطح نقل قول",
296
+ "Decrease quote level": "کاهش میزان نقل قول",
297
+ "Image / Video": "تصویر / ویدئو",
298
+ "Resize larger": "تغییر اندازه بزرگتر",
299
+ "Resize smaller": "تغییر اندازه کوچکتر",
300
+ "Table": "جدول",
301
+ "Select table cell": "سلول جدول را انتخاب کنید",
302
+ "Extend selection one cell": "انتخاب یک سلول را گسترش دهید",
303
+ "Extend selection one row": "یک ردیف را انتخاب کنید",
304
+ "Navigation": "جهت یابی",
305
+ "Focus popup / toolbar": "تمرکز پنجره / نوار ابزار",
306
+ "Return focus to previous position": "تمرکز بازگشت به موقعیت قبلی",
307
+
308
+ // Embed.ly
309
+ "Embed URL": "آدرس جاسازی",
310
+ "Paste in a URL to embed": "یک URL برای جاسازی کپی کنید",
311
+
312
+ // Word Paste.
313
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "محتوای جا به جا از یک سند Word Microsoft می آید. آیا می خواهید فرمت را نگه دارید یا پاک کنید؟",
314
+ "Keep": "نگاه داشتن",
315
+ "Clean": "پاک کن",
316
+ "Word Paste Detected": "کلمه رب تشخیص داده شده است"
231
317
  },
232
318
  direction: "rtl"
233
319
  };
320
+
321
+ }));
@@ -1,9 +1,35 @@
1
1
  /*!
2
- * froala_editor v2.6.0 (https://www.froala.com/wysiwyg-editor)
2
+ * froala_editor v2.9.0 (https://www.froala.com/wysiwyg-editor)
3
3
  * License https://froala.com/wysiwyg-editor/terms/
4
- * Copyright 2014-2017 Froala Labs
4
+ * Copyright 2014-2018 Froala Labs
5
5
  */
6
6
 
7
+ (function (factory) {
8
+ if (typeof define === 'function' && define.amd) {
9
+ // AMD. Register as an anonymous module.
10
+ define(['jquery'], factory);
11
+ } else if (typeof module === 'object' && module.exports) {
12
+ // Node/CommonJS
13
+ module.exports = function( root, jQuery ) {
14
+ if ( jQuery === undefined ) {
15
+ // require('jQuery') returns a factory that requires window to
16
+ // build a jQuery instance, we normalize how we use modules
17
+ // that require this pattern but the window provided is a noop
18
+ // if it's defined (how jquery works)
19
+ if ( typeof window !== 'undefined' ) {
20
+ jQuery = require('jquery');
21
+ }
22
+ else {
23
+ jQuery = require('jquery')(root);
24
+ }
25
+ }
26
+ return factory(jQuery);
27
+ };
28
+ } else {
29
+ // Browser globals
30
+ factory(window.jQuery);
31
+ }
32
+ }(function ($) {
7
33
  /**
8
34
  * Finnish
9
35
  */
@@ -38,6 +64,7 @@ $.FE.LANGUAGE['fi'] = {
38
64
  "Colors": "V\u00e4rit",
39
65
  "Background": "Taustan",
40
66
  "Text": "Tekstin",
67
+ "HEX Color": "Heksadesimaali",
41
68
 
42
69
  // Paragraphs
43
70
  "Paragraph Format": "Muotoilut",
@@ -94,15 +121,21 @@ $.FE.LANGUAGE['fi'] = {
94
121
  "Display": "N\u00e4ytt\u00e4",
95
122
  "Inline": "Linjassa",
96
123
  "Break Text": "Rikkoa teksti",
97
- "Alternate Text": "Vaihtoehtoinen teksti",
124
+ "Alternative Text": "Vaihtoehtoinen teksti",
98
125
  "Change Size": "Muuta kokoa",
99
126
  "Width": "Leveys",
100
127
  "Height": "Korkeus",
101
128
  "Something went wrong. Please try again.": "Jotain meni pieleen. Yrit\u00e4 uudelleen.",
129
+ "Image Caption": "Kuva-otsikko",
130
+ "Advanced Edit": "Edistynyt muokkaus",
102
131
 
103
132
  // Video
104
133
  "Insert Video": "Lis\u00e4\u00e4 video",
105
134
  "Embedded Code": "Upotettu koodi",
135
+ "Paste in a video URL": "Liitä video url",
136
+ "Drop video": "Pudota video",
137
+ "Your browser does not support HTML5 video.": "Selaimesi ei tue html5-videota.",
138
+ "Upload Video": "Lataa video",
106
139
 
107
140
  // Tables
108
141
  "Insert Table": "Lis\u00e4\u00e4 taulukko",
@@ -211,6 +244,9 @@ $.FE.LANGUAGE['fi'] = {
211
244
  // Clear formatting
212
245
  "Clear Formatting": "Poista muotoilu",
213
246
 
247
+ // Save
248
+ "Save": "Tallentaa",
249
+
214
250
  // Undo, redo
215
251
  "Undo": "Peru",
216
252
  "Redo": "Tee uudelleen",
@@ -227,7 +263,59 @@ $.FE.LANGUAGE['fi'] = {
227
263
  "Decrease": "Pienenn\u00e4",
228
264
 
229
265
  // Quick Insert
230
- "Quick Insert": "Nopea insertti"
266
+ "Quick Insert": "Nopea insertti",
267
+
268
+ // Spcial Characters
269
+ "Special Characters": "Erikoismerkkejä",
270
+ "Latin": "Latina",
271
+ "Greek": "Kreikkalainen",
272
+ "Cyrillic": "Kyrillinen",
273
+ "Punctuation": "Välimerkit",
274
+ "Currency": "Valuutta",
275
+ "Arrows": "Nuolet",
276
+ "Math": "Matematiikka",
277
+ "Misc": "Sekalaista",
278
+
279
+ // Print.
280
+ "Print": "Tulosta",
281
+
282
+ // Spell Checker.
283
+ "Spell Checker": "Oikeinkirjoittaja",
284
+
285
+ // Help
286
+ "Help": "Auta",
287
+ "Shortcuts": "Pikakuvakkeet",
288
+ "Inline Editor": "Inline-editori",
289
+ "Show the editor": "Näytä editori",
290
+ "Common actions": "Yhteisiä toimia",
291
+ "Copy": "Kopio",
292
+ "Cut": "Leikata",
293
+ "Paste": "Tahna",
294
+ "Basic Formatting": "Perusmuotoilu",
295
+ "Increase quote level": "Lisää lainaustasoa",
296
+ "Decrease quote level": "Laskea lainaustasoa",
297
+ "Image / Video": "Kuva / video",
298
+ "Resize larger": "Kokoa suurempi",
299
+ "Resize smaller": "Pienempi koko",
300
+ "Table": "Pöytä",
301
+ "Select table cell": "Valitse taulukon solu",
302
+ "Extend selection one cell": "Laajentaa valinta yhden solun",
303
+ "Extend selection one row": "Laajenna valinta yksi rivi",
304
+ "Navigation": "Suunnistus",
305
+ "Focus popup / toolbar": "Painopistevalo / työkalurivi",
306
+ "Return focus to previous position": "Palauta tarkennus edelliseen asentoon",
307
+
308
+ // Embed.ly
309
+ "Embed URL": "Upottaa URL-osoite",
310
+ "Paste in a URL to embed": "Liitä upotettu URL-osoite",
311
+
312
+ // Word Paste.
313
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "Liitetty sisältö tulee Microsoft Word -asiakirjasta. Haluatko säilyttää muodon tai puhdistaa sen?",
314
+ "Keep": "Pitää",
315
+ "Clean": "Puhdas",
316
+ "Word Paste Detected": "Sana-tahna havaittu"
231
317
  },
232
318
  direction: "ltr"
233
319
  };
320
+
321
+ }));