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
  * Russian
9
35
  */
@@ -38,6 +64,7 @@ $.FE.LANGUAGE['ru'] = {
38
64
  "Colors": "\u0426\u0432\u0435\u0442\u0430",
39
65
  "Background": "\u0424\u043e\u043d",
40
66
  "Text": "\u0422\u0435\u043a\u0441\u0442",
67
+ "HEX Color": "HEX цвет",
41
68
 
42
69
  // Paragraphs
43
70
  "Paragraph Format": "\u0424\u043e\u0440\u043c\u0430\u0442 \u0430\u0431\u0437\u0430\u0446\u0430",
@@ -81,7 +108,7 @@ $.FE.LANGUAGE['ru'] = {
81
108
  "Upload Image": "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435",
82
109
  "By URL": "\u041f\u043e \u0441\u0441\u044b\u043b\u043a\u0435",
83
110
  "Browse": "\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f",
84
- "Drop image": "\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0444\u0430\u0439\u043b",
111
+ "Drop image": "\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u0435 \u0441\u044e\u0434\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435",
85
112
  "or click": "\u0438\u043b\u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435",
86
113
  "Manage Images": "\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c\u0438",
87
114
  "Loading": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430",
@@ -94,15 +121,21 @@ $.FE.LANGUAGE['ru'] = {
94
121
  "Display": "\u041f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435",
95
122
  "Inline": "\u041e\u0431\u0442\u0435\u043a\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u043c",
96
123
  "Break Text": "\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0435 \u0432 \u0442\u0435\u043a\u0441\u0442",
97
- "Alternate Text": "\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442",
124
+ "Alternative Text": "\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442",
98
125
  "Change Size": "\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440",
99
126
  "Width": "\u0428\u0438\u0440\u0438\u043d\u0430",
100
127
  "Height": "\u0412\u044b\u0441\u043e\u0442\u0430",
101
128
  "Something went wrong. Please try again.": "\u0427\u0442\u043e\u002d\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a\u002e \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430\u002c \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437\u002e",
129
+ "Image Caption": "Подпись к изображению",
130
+ "Advanced Edit": "Расширенное редактирование",
102
131
 
103
132
  // Video
104
133
  "Insert Video": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e",
105
134
  "Embedded Code": "\u0048\u0054\u004d\u004c\u002d\u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438",
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": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443",
@@ -211,23 +244,78 @@ $.FE.LANGUAGE['ru'] = {
211
244
  // Clear formatting
212
245
  "Clear Formatting": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435",
213
246
 
247
+ // Save
248
+ "Save": "\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c",
249
+
214
250
  // Undo, redo
215
251
  "Undo": "\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c",
216
252
  "Redo": "\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c",
217
253
 
218
254
  // Select all
219
- "Select All": "\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435",
255
+ "Select All": "\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0451",
220
256
 
221
257
  // Code view
222
258
  "Code View": "\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0048\u0054\u004d\u004c\u002d\u043a\u043e\u0434\u0430",
223
259
 
224
260
  // Quote
225
- "Quote": "\u0446\u0438\u0442\u0430\u0442\u0430",
261
+ "Quote": "\u0426\u0438\u0442\u0430\u0442\u0430",
226
262
  "Increase": "\u0423\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435",
227
263
  "Decrease": "\u0421\u043d\u0438\u0436\u0435\u043d\u0438\u0435",
228
264
 
229
265
  // Quick Insert
230
- "Quick Insert": "\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0430"
266
+ "Quick Insert": "\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0430",
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": "Вставить 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?": "Вы пытаетесь вставить текст из документа Microsoft Word. Вы хотите сохранить или очистить формат?",
314
+ "Keep": "Сохранить",
315
+ "Clean": "Очистить",
316
+ "Word Paste Detected": "Обнаружена вставка отформатированного текста"
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
  * Slovak
9
35
  */
@@ -39,6 +65,7 @@ $.FE.LANGUAGE['sk'] = {
39
65
  "Colors": "Farby",
40
66
  "Background": "Pozadie",
41
67
  "Text": "Text",
68
+ "HEX Color": "Hex Farby",
42
69
 
43
70
  // Paragraphs
44
71
  "Paragraph Format": "Form\u00e1t odstavca",
@@ -95,15 +122,21 @@ $.FE.LANGUAGE['sk'] = {
95
122
  "Display": "Zobrazi\u0165",
96
123
  "Inline": "Inline",
97
124
  "Break Text": "Zalomenie textu",
98
- "Alternate Text": "Alternat\u00edvny text",
125
+ "Alternative Text": "Alternat\u00edvny text",
99
126
  "Change Size": "Zmeni\u0165 ve\u013ekos\u0165",
100
127
  "Width": "\u0165\u00edrka",
101
128
  "Height": "V\u00fd\u0161ka",
102
129
  "Something went wrong. Please try again.": "Nie\u010do sa pokazilo. Pros\u00edm, sk\u00faste to znova.",
130
+ "Image Caption": "Titulok obrázka",
131
+ "Advanced Edit": "Pokročilá úprava",
103
132
 
104
133
  // Video
105
134
  "Insert Video": "Vlo\u017ei\u0165 video",
106
135
  "Embedded Code": "Vlo\u017een\u00fd k\u00f3d",
136
+ "Paste in a video URL": "Vložte do adresy URL videa",
137
+ "Drop video": "Drop video",
138
+ "Your browser does not support HTML5 video.": "Váš prehliadač nepodporuje video html5.",
139
+ "Upload Video": "Nahrať video",
107
140
 
108
141
  // Tables
109
142
  "Insert Table": "Vlo\u017ei\u0165 tabu\u013eku",
@@ -212,6 +245,9 @@ $.FE.LANGUAGE['sk'] = {
212
245
  // Clear formatting
213
246
  "Clear Formatting": "Vymaza\u0165 formatovanie",
214
247
 
248
+ // Save
249
+ "Save": "\u0055\u006c\u006f\u017e\u0069\u0165",
250
+
215
251
  // Undo, redo
216
252
  "Undo": "Sp\u00e4\u0165",
217
253
  "Redo": "Znova",
@@ -228,7 +264,58 @@ $.FE.LANGUAGE['sk'] = {
228
264
  "Decrease": "Zn\u00ed\u017ei\u0165",
229
265
 
230
266
  // Quick Insert
231
- "Quick Insert": "Vlo\u017ei\u0165 zr\u00fdchlene"
267
+ "Quick Insert": "Vlo\u017ei\u0165 zr\u00fdchlene",
268
+
269
+ // Spcial Characters
270
+ "Special Characters": "Špeciálne znaky",
271
+ "Latin": "Latinčina",
272
+ "Greek": "Grécky",
273
+ "Cyrillic": "Cyriliky",
274
+ "Punctuation": "Interpunkcia",
275
+ "Currency": "Mena",
276
+ "Arrows": "Šípky",
277
+ "Math": "Matematika",
278
+ "Misc": "Misc",
279
+
280
+ // Print.
281
+ "Print": "Vytlačiť",
282
+
283
+ // Spell Checker.
284
+ "Spell Checker": "Kontrola pravopisu",
285
+
286
+ // Help
287
+ "Help": "Pomoc",
288
+ "Shortcuts": "Skratky",
289
+ "Inline Editor": "Inline editor",
290
+ "Show the editor": "Zobraziť editor",
291
+ "Common actions": "Spoločné akcie",
292
+ "Copy": "Kópie",
293
+ "Cut": "Rez",
294
+ "Paste": "Pasta",
295
+ "Basic Formatting": "Základné formátovanie",
296
+ "Increase quote level": "Zvýšiť úroveň cenovej ponuky",
297
+ "Decrease quote level": "Znížiť úroveň cenovej ponuky",
298
+ "Image / Video": "Obrázok / video",
299
+ "Resize larger": "Zmena veľkosti",
300
+ "Resize smaller": "Meniť veľkosť",
301
+ "Table": "Stôl",
302
+ "Select table cell": "Vyberte bunku tabuľky",
303
+ "Extend selection one cell": "Rozšíriť výber jednej bunky",
304
+ "Extend selection one row": "Rozšíriť výber o jeden riadok",
305
+ "Navigation": "Navigácia",
306
+ "Focus popup / toolbar": "Zameranie / panel s nástrojmi",
307
+ "Return focus to previous position": "Vrátiť zaostrenie na predchádzajúcu pozíciu",
308
+
309
+ // Embed.ly
310
+ "Embed URL": "Vložiť adresu URL",
311
+ "Paste in a URL to embed": "Vložte do adresy URL, ktorú chcete vložiť",
312
+
313
+ // Word Paste.
314
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "Vložený obsah vychádza z dokumentu Microsoft Word. chcete formát uchovať alebo ho vyčistiť?",
315
+ "Keep": "Zachovať",
316
+ "Clean": "Čistý",
317
+ "Word Paste Detected": "Slovná vložka bola zistená"
232
318
  },
233
319
  direction: "ltr"
234
- };
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
  * Serbian (Latin)
9
35
  */
@@ -38,6 +64,7 @@ $.FE.LANGUAGE['sr'] = {
38
64
  "Colors": "Boje",
39
65
  "Background": "Pozadina",
40
66
  "Text": "Tekst",
67
+ "HEX Color": "HEX boje",
41
68
 
42
69
  // Paragraphs
43
70
  "Paragraph Format": "Format pasusa",
@@ -94,15 +121,21 @@ $.FE.LANGUAGE['sr'] = {
94
121
  "Display": "Prikaz",
95
122
  "Inline": "Pri upisivanju",
96
123
  "Break Text": "Prelom teksta",
97
- "Alternate Text": "Alternativni tekst",
124
+ "Alternative Text": "Alternativni tekst",
98
125
  "Change Size": "Promena veli\u010dine",
99
126
  "Width": "\u0160irina",
100
127
  "Height": "Visina",
101
128
  "Something went wrong. Please try again.": "Ne\u0161to krenulo naopako. Poku\u0161ajte ponovo.",
129
+ "Image Caption": "Slika natpisa",
130
+ "Advanced Edit": "Napredno uređivanje",
102
131
 
103
132
  // Video
104
133
  "Insert Video": "Umetanje video",
105
134
  "Embedded Code": "Ugra\u0111eni k\u00f4d",
135
+ "Paste in a video URL": "Lepljenje u video URL",
136
+ "Drop video": "Baci snimak",
137
+ "Your browser does not support HTML5 video.": "Vaš pregledač ne podržava HTML5 video.",
138
+ "Upload Video": "Otpremanje video",
106
139
 
107
140
  // Tables
108
141
  "Insert Table": "Umetni tabelu",
@@ -211,6 +244,9 @@ $.FE.LANGUAGE['sr'] = {
211
244
  // Clear formatting
212
245
  "Clear Formatting": "Brisanje oblikovanja",
213
246
 
247
+ // Save
248
+ "Save": "\u0441\u0430\u0447\u0443\u0432\u0430\u0442\u0438",
249
+
214
250
  // Undo, redo
215
251
  "Undo": "Opozovi radnju",
216
252
  "Redo": "Ponavljanje",
@@ -227,7 +263,59 @@ $.FE.LANGUAGE['sr'] = {
227
263
  "Decrease": "Smanjivanje",
228
264
 
229
265
  // Quick Insert
230
- "Quick Insert": "Brzo umetanje"
266
+ "Quick Insert": "Brzo umetanje",
267
+
268
+ // Spcial Characters
269
+ "Special Characters": "Specijalni znakovi",
270
+ "Latin": "Latino",
271
+ "Greek": "Grk",
272
+ "Cyrillic": "Ćirilica",
273
+ "Punctuation": "Interpunkcije",
274
+ "Currency": "Valuta",
275
+ "Arrows": "Strelice",
276
+ "Math": "Matematika",
277
+ "Misc": "Misc",
278
+
279
+ // Print.
280
+ "Print": "Odštampaj",
281
+
282
+ // Spell Checker.
283
+ "Spell Checker": "Kontrolor pravopisa",
284
+
285
+ // Help
286
+ "Help": "Pomoć",
287
+ "Shortcuts": "Prečice",
288
+ "Inline Editor": "Pri upisivanju Editor",
289
+ "Show the editor": "Prikaži urednik",
290
+ "Common actions": "Zajedničke akcije",
291
+ "Copy": "Kopija",
292
+ "Cut": "Rez",
293
+ "Paste": "Nalepi",
294
+ "Basic Formatting": "Osnovno oblikovanje",
295
+ "Increase quote level": "Povećati ponudu za nivo",
296
+ "Decrease quote level": "Smanjenje ponude nivo",
297
+ "Image / Video": "Slika / Video",
298
+ "Resize larger": "Veće veličine",
299
+ "Resize smaller": "Promena veličine manji",
300
+ "Table": "Sto",
301
+ "Select table cell": "Select ćelije",
302
+ "Extend selection one cell": "Proširite selekciju jednu ćeliju",
303
+ "Extend selection one row": "Proširite selekciju jedan red",
304
+ "Navigation": "Navigacija",
305
+ "Focus popup / toolbar": "Fokus Iskačući meni / traka sa alatkama",
306
+ "Return focus to previous position": "Vratiti fokus na prethodnu poziciju",
307
+
308
+ // Embed.ly
309
+ "Embed URL": "Ugradite URL",
310
+ "Paste in a URL to embed": "Nalepite URL adresu da biste ugradili",
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?": "Nalepljeni sadržaj dolazi iz Microsoft Word dokument. Da li želite zadržati u formatu ili počistiti?",
314
+ "Keep": "Nastavi",
315
+ "Clean": "Oиisti",
316
+ "Word Paste Detected": "Word Nalepi otkriven"
231
317
  },
232
318
  direction: "ltr"
233
319
  };
320
+
321
+ }));