xmt_froala 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +2 -0
  5. data/app/assets/javascripts/xmt_froala.js +31 -0
  6. data/app/assets/stylesheets/xmt_froala.css +17 -0
  7. data/app/controllers/xmt_froala/application_controller.rb +5 -0
  8. data/app/controllers/xmt_froala/assets_controller.rb +94 -0
  9. data/app/models/xmt_froala/asset_uploader.rb +107 -0
  10. data/app/models/xmt_froala/file_uploader.rb +10 -0
  11. data/app/models/xmt_froala/flash_uploader.rb +10 -0
  12. data/app/models/xmt_froala/image_uploader.rb +10 -0
  13. data/app/models/xmt_froala/media_uploader.rb +10 -0
  14. data/config/routes.rb +6 -0
  15. data/lib/generators/xmt_froala/install/USAGE +10 -0
  16. data/lib/generators/xmt_froala/install/install_generator.rb +23 -0
  17. data/lib/generators/xmt_froala/install/templates/application.js +17 -0
  18. data/lib/generators/xmt_froala/install/templates/xmt_froala.rb +29 -0
  19. data/lib/generators/xmt_froala/migration/USAGE +14 -0
  20. data/lib/generators/xmt_froala/migration/migration_generator.rb +36 -0
  21. data/lib/generators/xmt_froala/migration/templates/migration/migration.rb +18 -0
  22. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/asset.rb +14 -0
  23. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/file.rb +3 -0
  24. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/flash.rb +3 -0
  25. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/image.rb +3 -0
  26. data/lib/generators/xmt_froala/migration/templates/models/active_record/xmt_froala/media.rb +3 -0
  27. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/asset.rb +27 -0
  28. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/file.rb +3 -0
  29. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/flash.rb +3 -0
  30. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/image.rb +3 -0
  31. data/lib/generators/xmt_froala/migration/templates/models/mongoid/xmt_froala/media.rb +3 -0
  32. data/lib/tasks/xmt_froala_tasks.rake +9 -0
  33. data/lib/xmt_froala.rb +65 -0
  34. data/lib/xmt_froala/active_record.rb +14 -0
  35. data/lib/xmt_froala/engine.rb +32 -0
  36. data/lib/xmt_froala/formtastic.rb +12 -0
  37. data/lib/xmt_froala/helper.rb +105 -0
  38. data/lib/xmt_froala/simple_form.rb +11 -0
  39. data/lib/xmt_froala/version.rb +3 -0
  40. data/vendor/assets/javascripts/xmt_froala/froala_editor.js +0 -0
  41. data/vendor/assets/javascripts/xmt_froala/languages/ar.js +318 -0
  42. data/vendor/assets/javascripts/xmt_froala/languages/bs.js +318 -0
  43. data/vendor/assets/javascripts/xmt_froala/languages/cs.js +318 -0
  44. data/vendor/assets/javascripts/xmt_froala/languages/da.js +318 -0
  45. data/vendor/assets/javascripts/xmt_froala/languages/de.js +318 -0
  46. data/vendor/assets/javascripts/xmt_froala/languages/en_ca.js +262 -0
  47. data/vendor/assets/javascripts/xmt_froala/languages/en_gb.js +262 -0
  48. data/vendor/assets/javascripts/xmt_froala/languages/es.js +318 -0
  49. data/vendor/assets/javascripts/xmt_froala/languages/et.js +318 -0
  50. data/vendor/assets/javascripts/xmt_froala/languages/fa.js +318 -0
  51. data/vendor/assets/javascripts/xmt_froala/languages/fi.js +318 -0
  52. data/vendor/assets/javascripts/xmt_froala/languages/fr.js +318 -0
  53. data/vendor/assets/javascripts/xmt_froala/languages/he.js +318 -0
  54. data/vendor/assets/javascripts/xmt_froala/languages/hr.js +318 -0
  55. data/vendor/assets/javascripts/xmt_froala/languages/hu.js +318 -0
  56. data/vendor/assets/javascripts/xmt_froala/languages/id.js +319 -0
  57. data/vendor/assets/javascripts/xmt_froala/languages/it.js +318 -0
  58. data/vendor/assets/javascripts/xmt_froala/languages/ja.js +318 -0
  59. data/vendor/assets/javascripts/xmt_froala/languages/ko.js +318 -0
  60. data/vendor/assets/javascripts/xmt_froala/languages/me.js +318 -0
  61. data/vendor/assets/javascripts/xmt_froala/languages/nb.js +318 -0
  62. data/vendor/assets/javascripts/xmt_froala/languages/nl.js +318 -0
  63. data/vendor/assets/javascripts/xmt_froala/languages/pl.js +318 -0
  64. data/vendor/assets/javascripts/xmt_froala/languages/pt_br.js +318 -0
  65. data/vendor/assets/javascripts/xmt_froala/languages/pt_pt.js +318 -0
  66. data/vendor/assets/javascripts/xmt_froala/languages/ro.js +319 -0
  67. data/vendor/assets/javascripts/xmt_froala/languages/ru.js +318 -0
  68. data/vendor/assets/javascripts/xmt_froala/languages/sk.js +318 -0
  69. data/vendor/assets/javascripts/xmt_froala/languages/sr.js +318 -0
  70. data/vendor/assets/javascripts/xmt_froala/languages/sv.js +318 -0
  71. data/vendor/assets/javascripts/xmt_froala/languages/th.js +318 -0
  72. data/vendor/assets/javascripts/xmt_froala/languages/tr.js +318 -0
  73. data/vendor/assets/javascripts/xmt_froala/languages/uk.js +318 -0
  74. data/vendor/assets/javascripts/xmt_froala/languages/vi.js +258 -0
  75. data/vendor/assets/javascripts/xmt_froala/languages/zh_cn.js +320 -0
  76. data/vendor/assets/javascripts/xmt_froala/languages/zh_tw.js +318 -0
  77. data/vendor/assets/javascripts/xmt_froala/plugins/align.js +139 -0
  78. data/vendor/assets/javascripts/xmt_froala/plugins/align.min.js +7 -0
  79. data/vendor/assets/javascripts/xmt_froala/plugins/char_counter.js +154 -0
  80. data/vendor/assets/javascripts/xmt_froala/plugins/char_counter.min.js +7 -0
  81. data/vendor/assets/javascripts/xmt_froala/plugins/code_beautifier.js +3270 -0
  82. data/vendor/assets/javascripts/xmt_froala/plugins/code_beautifier.min.js +7 -0
  83. data/vendor/assets/javascripts/xmt_froala/plugins/code_view.js +393 -0
  84. data/vendor/assets/javascripts/xmt_froala/plugins/code_view.min.js +7 -0
  85. data/vendor/assets/javascripts/xmt_froala/plugins/colors.js +492 -0
  86. data/vendor/assets/javascripts/xmt_froala/plugins/colors.min.js +7 -0
  87. data/vendor/assets/javascripts/xmt_froala/plugins/draggable.js +459 -0
  88. data/vendor/assets/javascripts/xmt_froala/plugins/draggable.min.js +7 -0
  89. data/vendor/assets/javascripts/xmt_froala/plugins/emoticons.js +509 -0
  90. data/vendor/assets/javascripts/xmt_froala/plugins/emoticons.min.js +7 -0
  91. data/vendor/assets/javascripts/xmt_froala/plugins/entities.js +121 -0
  92. data/vendor/assets/javascripts/xmt_froala/plugins/entities.min.js +7 -0
  93. data/vendor/assets/javascripts/xmt_froala/plugins/file.js +736 -0
  94. data/vendor/assets/javascripts/xmt_froala/plugins/file.min.js +239 -0
  95. data/vendor/assets/javascripts/xmt_froala/plugins/font_family.js +182 -0
  96. data/vendor/assets/javascripts/xmt_froala/plugins/font_family.min.js +7 -0
  97. data/vendor/assets/javascripts/xmt_froala/plugins/font_size.js +118 -0
  98. data/vendor/assets/javascripts/xmt_froala/plugins/font_size.min.js +7 -0
  99. data/vendor/assets/javascripts/xmt_froala/plugins/forms.js +430 -0
  100. data/vendor/assets/javascripts/xmt_froala/plugins/forms.min.js +7 -0
  101. data/vendor/assets/javascripts/xmt_froala/plugins/fullscreen.js +274 -0
  102. data/vendor/assets/javascripts/xmt_froala/plugins/fullscreen.min.js +7 -0
  103. data/vendor/assets/javascripts/xmt_froala/plugins/help.js +216 -0
  104. data/vendor/assets/javascripts/xmt_froala/plugins/help.min.js +7 -0
  105. data/vendor/assets/javascripts/xmt_froala/plugins/image.js +3323 -0
  106. data/vendor/assets/javascripts/xmt_froala/plugins/image.min.js +7 -0
  107. data/vendor/assets/javascripts/xmt_froala/plugins/image_manager.js +1056 -0
  108. data/vendor/assets/javascripts/xmt_froala/plugins/image_manager.min.js +7 -0
  109. data/vendor/assets/javascripts/xmt_froala/plugins/inline_style.js +94 -0
  110. data/vendor/assets/javascripts/xmt_froala/plugins/inline_style.min.js +7 -0
  111. data/vendor/assets/javascripts/xmt_froala/plugins/line_breaker.js +537 -0
  112. data/vendor/assets/javascripts/xmt_froala/plugins/line_breaker.min.js +7 -0
  113. data/vendor/assets/javascripts/xmt_froala/plugins/link.js +1157 -0
  114. data/vendor/assets/javascripts/xmt_froala/plugins/link.min.js +7 -0
  115. data/vendor/assets/javascripts/xmt_froala/plugins/lists.js +462 -0
  116. data/vendor/assets/javascripts/xmt_froala/plugins/lists.min.js +7 -0
  117. data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_format.js +290 -0
  118. data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_format.min.js +7 -0
  119. data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_style.js +144 -0
  120. data/vendor/assets/javascripts/xmt_froala/plugins/paragraph_style.min.js +7 -0
  121. data/vendor/assets/javascripts/xmt_froala/plugins/plain_paste.js +96 -0
  122. data/vendor/assets/javascripts/xmt_froala/plugins/print.js +137 -0
  123. data/vendor/assets/javascripts/xmt_froala/plugins/print.min.js +7 -0
  124. data/vendor/assets/javascripts/xmt_froala/plugins/quick_format.js +89 -0
  125. data/vendor/assets/javascripts/xmt_froala/plugins/quick_insert.js +478 -0
  126. data/vendor/assets/javascripts/xmt_froala/plugins/quick_insert.min.js +7 -0
  127. data/vendor/assets/javascripts/xmt_froala/plugins/quote.js +141 -0
  128. data/vendor/assets/javascripts/xmt_froala/plugins/quote.min.js +7 -0
  129. data/vendor/assets/javascripts/xmt_froala/plugins/save.js +189 -0
  130. data/vendor/assets/javascripts/xmt_froala/plugins/save.min.js +7 -0
  131. data/vendor/assets/javascripts/xmt_froala/plugins/special_characters.js +781 -0
  132. data/vendor/assets/javascripts/xmt_froala/plugins/special_characters.min.js +7 -0
  133. data/vendor/assets/javascripts/xmt_froala/plugins/table.js +4194 -0
  134. data/vendor/assets/javascripts/xmt_froala/plugins/table.min.js +7 -0
  135. data/vendor/assets/javascripts/xmt_froala/plugins/url.js +194 -0
  136. data/vendor/assets/javascripts/xmt_froala/plugins/url.min.js +7 -0
  137. data/vendor/assets/javascripts/xmt_froala/plugins/video.js +2342 -0
  138. data/vendor/assets/javascripts/xmt_froala/plugins/video.min.js +7 -0
  139. data/vendor/assets/javascripts/xmt_froala/plugins/word_paste.js +1403 -0
  140. data/vendor/assets/javascripts/xmt_froala/plugins/word_paste.min.js +7 -0
  141. data/vendor/assets/javascripts/xmt_froala/third_party/embedly.js +543 -0
  142. data/vendor/assets/javascripts/xmt_froala/third_party/embedly.min.js +7 -0
  143. data/vendor/assets/javascripts/xmt_froala/third_party/image_aviary.js +163 -0
  144. data/vendor/assets/javascripts/xmt_froala/third_party/image_aviary.min.js +7 -0
  145. data/vendor/assets/javascripts/xmt_froala/third_party/spell_checker.js +222 -0
  146. data/vendor/assets/javascripts/xmt_froala/third_party/spell_checker.min.js +7 -0
  147. data/vendor/assets/javascripts/xmt_froala/xmt_froala.js +15172 -0
  148. data/vendor/assets/stylesheets/xmt_froala/css/font-awesome.css +2546 -0
  149. data/vendor/assets/stylesheets/xmt_froala/css/froala_editor.min.css +7 -0
  150. data/vendor/assets/stylesheets/xmt_froala/css/froala_editor.pkgd.css +2902 -0
  151. data/vendor/assets/stylesheets/xmt_froala/css/froala_editor.pkgd.min.css +7 -0
  152. data/vendor/assets/stylesheets/xmt_froala/css/froala_style.css +413 -0
  153. data/vendor/assets/stylesheets/xmt_froala/css/froala_style.min.css +7 -0
  154. data/vendor/assets/stylesheets/xmt_froala/css/plugins/char_counter.css +57 -0
  155. data/vendor/assets/stylesheets/xmt_froala/css/plugins/char_counter.min.css +7 -0
  156. data/vendor/assets/stylesheets/xmt_froala/css/plugins/code_view.css +112 -0
  157. data/vendor/assets/stylesheets/xmt_froala/css/plugins/code_view.min.css +7 -0
  158. data/vendor/assets/stylesheets/xmt_froala/css/plugins/colors.css +155 -0
  159. data/vendor/assets/stylesheets/xmt_froala/css/plugins/colors.min.css +7 -0
  160. data/vendor/assets/stylesheets/xmt_froala/css/plugins/draggable.css +43 -0
  161. data/vendor/assets/stylesheets/xmt_froala/css/plugins/draggable.min.css +7 -0
  162. data/vendor/assets/stylesheets/xmt_froala/css/plugins/emoticons.css +42 -0
  163. data/vendor/assets/stylesheets/xmt_froala/css/plugins/emoticons.min.css +7 -0
  164. data/vendor/assets/stylesheets/xmt_froala/css/plugins/file.css +146 -0
  165. data/vendor/assets/stylesheets/xmt_froala/css/plugins/file.min.css +7 -0
  166. data/vendor/assets/stylesheets/xmt_froala/css/plugins/fullscreen.css +28 -0
  167. data/vendor/assets/stylesheets/xmt_froala/css/plugins/fullscreen.min.css +7 -0
  168. data/vendor/assets/stylesheets/xmt_froala/css/plugins/help.css +52 -0
  169. data/vendor/assets/stylesheets/xmt_froala/css/plugins/help.min.css +7 -0
  170. data/vendor/assets/stylesheets/xmt_froala/css/plugins/image.css +244 -0
  171. data/vendor/assets/stylesheets/xmt_froala/css/plugins/image.min.css +7 -0
  172. data/vendor/assets/stylesheets/xmt_froala/css/plugins/image_manager.css +266 -0
  173. data/vendor/assets/stylesheets/xmt_froala/css/plugins/image_manager.min.css +7 -0
  174. data/vendor/assets/stylesheets/xmt_froala/css/plugins/line_breaker.css +37 -0
  175. data/vendor/assets/stylesheets/xmt_froala/css/plugins/line_breaker.min.css +7 -0
  176. data/vendor/assets/stylesheets/xmt_froala/css/plugins/quick_insert.css +70 -0
  177. data/vendor/assets/stylesheets/xmt_froala/css/plugins/quick_insert.min.css +7 -0
  178. data/vendor/assets/stylesheets/xmt_froala/css/plugins/special_characters.css +51 -0
  179. data/vendor/assets/stylesheets/xmt_froala/css/plugins/special_characters.min.css +7 -0
  180. data/vendor/assets/stylesheets/xmt_froala/css/plugins/table.css +181 -0
  181. data/vendor/assets/stylesheets/xmt_froala/css/plugins/table.min.css +7 -0
  182. data/vendor/assets/stylesheets/xmt_froala/css/plugins/video.css +231 -0
  183. data/vendor/assets/stylesheets/xmt_froala/css/plugins/video.min.css +7 -0
  184. data/vendor/assets/stylesheets/xmt_froala/css/themes/dark.css +1281 -0
  185. data/vendor/assets/stylesheets/xmt_froala/css/themes/dark.min.css +7 -0
  186. data/vendor/assets/stylesheets/xmt_froala/css/themes/gray.css +1281 -0
  187. data/vendor/assets/stylesheets/xmt_froala/css/themes/gray.min.css +7 -0
  188. data/vendor/assets/stylesheets/xmt_froala/css/themes/red.css +1281 -0
  189. data/vendor/assets/stylesheets/xmt_froala/css/themes/red.min.css +7 -0
  190. data/vendor/assets/stylesheets/xmt_froala/css/themes/royal.css +1281 -0
  191. data/vendor/assets/stylesheets/xmt_froala/css/themes/royal.min.css +7 -0
  192. data/vendor/assets/stylesheets/xmt_froala/css/third_party/embedly.css +64 -0
  193. data/vendor/assets/stylesheets/xmt_froala/css/third_party/embedly.min.css +7 -0
  194. data/vendor/assets/stylesheets/xmt_froala/css/third_party/spell_checker.css +72 -0
  195. data/vendor/assets/stylesheets/xmt_froala/css/third_party/spell_checker.min.css +7 -0
  196. data/vendor/assets/stylesheets/xmt_froala/css/xmt_froala.css +1423 -0
  197. data/vendor/assets/stylesheets/xmt_froala/fonts/FontAwesome.otf +0 -0
  198. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.eot +0 -0
  199. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.svg +2671 -0
  200. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.ttf +0 -0
  201. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.woff +0 -0
  202. data/vendor/assets/stylesheets/xmt_froala/fonts/fontawesome-webfont.woff2 +0 -0
  203. metadata +273 -0
@@ -0,0 +1,318 @@
1
+ /*!
2
+ * froala_editor v2.8.1 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2018 Froala Labs
5
+ */
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 ($) {
33
+ /**
34
+ * Portuguese spoken in Brazil
35
+ */
36
+
37
+ $.FE.LANGUAGE['pt_br'] = {
38
+ translation: {
39
+ // Place holder
40
+ "Type something": "Digite algo",
41
+
42
+ // Basic formatting
43
+ "Bold": "Negrito",
44
+ "Italic": "It\u00e1lico",
45
+ "Underline": "Sublinhar",
46
+ "Strikethrough": "Riscar",
47
+
48
+ // Main buttons
49
+ "Insert": "Inserir",
50
+ "Delete": "Apagar",
51
+ "Cancel": "Cancelar",
52
+ "OK": "Ok",
53
+ "Back": "Voltar",
54
+ "Remove": "Remover",
55
+ "More": "Mais",
56
+ "Update": "Atualizar",
57
+ "Style": "Estilo",
58
+
59
+ // Font
60
+ "Font Family": "Fonte",
61
+ "Font Size": "Tamanho",
62
+
63
+ // Colors
64
+ "Colors": "Cores",
65
+ "Background": "Fundo",
66
+ "Text": "Texto",
67
+ "HEX Color": "Cor hexadecimal",
68
+
69
+ // Paragraphs
70
+ "Paragraph Format": "Formatos",
71
+ "Normal": "Normal",
72
+ "Code": "C\u00f3digo",
73
+ "Heading 1": "Cabe\u00e7alho 1",
74
+ "Heading 2": "Cabe\u00e7alho 2",
75
+ "Heading 3": "Cabe\u00e7alho 3",
76
+ "Heading 4": "Cabe\u00e7alho 4",
77
+
78
+ // Style
79
+ "Paragraph Style": "Estilo de par\u00e1grafo",
80
+ "Inline Style": "Estilo embutido",
81
+
82
+ // Alignment
83
+ "Align": "Alinhar",
84
+ "Align Left": "Alinhar \u00e0 esquerda",
85
+ "Align Center": "Centralizar",
86
+ "Align Right": "Alinhar \u00e0 direita",
87
+ "Align Justify": "Justificar",
88
+ "None": "Nenhum",
89
+
90
+ // Lists
91
+ "Ordered List": "Lista ordenada",
92
+ "Unordered List": "Lista n\u00e3o ordenada",
93
+
94
+ // Indent
95
+ "Decrease Indent": "Diminuir recuo",
96
+ "Increase Indent": "Aumentar recuo",
97
+
98
+ // Links
99
+ "Insert Link": "Inserir link",
100
+ "Open in new tab": "Abrir em uma nova aba",
101
+ "Open Link": "Abrir link",
102
+ "Edit Link": "Editar link",
103
+ "Unlink": "Remover link",
104
+ "Choose Link": "Escolha o link",
105
+
106
+ // Images
107
+ "Insert Image": "Inserir imagem",
108
+ "Upload Image": "Carregar imagem",
109
+ "By URL": "Por URL",
110
+ "Browse": "Procurar",
111
+ "Drop image": "Arraste sua imagem aqui",
112
+ "or click": "ou clique aqui",
113
+ "Manage Images": "Gerenciar imagens",
114
+ "Loading": "Carregando",
115
+ "Deleting": "Excluindo",
116
+ "Tags": "Etiquetas",
117
+ "Are you sure? Image will be deleted.": "Voc\u00ea tem certeza? Imagem ser\u00e1 apagada.",
118
+ "Replace": "Substituir",
119
+ "Uploading": "Carregando imagem",
120
+ "Loading image": "Carregando imagem",
121
+ "Display": "Exibir",
122
+ "Inline": "Em linha",
123
+ "Break Text": "Texto de quebra",
124
+ "Alternate Text": "Texto alternativo",
125
+ "Change Size": "Alterar tamanho",
126
+ "Width": "Largura",
127
+ "Height": "Altura",
128
+ "Something went wrong. Please try again.": "Algo deu errado. Por favor, tente novamente.",
129
+ "Image Caption": "Legenda da imagem",
130
+ "Advanced Edit": "Edição avançada",
131
+
132
+ // Video
133
+ "Insert Video": "Inserir v\u00eddeo",
134
+ "Embedded Code": "C\u00f3digo embutido",
135
+ "Paste in a video URL": "Colar em um URL de vídeo",
136
+ "Drop video": "Solte o video",
137
+ "Your browser does not support HTML5 video.": "Seu navegador não suporta o vídeo html5.",
138
+ "Upload Video": "Envio vídeo",
139
+
140
+ // Tables
141
+ "Insert Table": "Inserir tabela",
142
+ "Table Header": "Cabe\u00e7alho da tabela",
143
+ "Remove Table": "Remover tabela",
144
+ "Table Style": "estilo de tabela",
145
+ "Horizontal Align": "Alinhamento horizontal",
146
+ "Row": "Linha",
147
+ "Insert row above": "Inserir linha antes",
148
+ "Insert row below": "Inserir linha depois",
149
+ "Delete row": "Excluir linha",
150
+ "Column": "Coluna",
151
+ "Insert column before": "Inserir coluna antes",
152
+ "Insert column after": "Inserir coluna depois",
153
+ "Delete column": "Excluir coluna",
154
+ "Cell": "C\u00e9lula",
155
+ "Merge cells": "Agrupar c\u00e9lulas",
156
+ "Horizontal split": "Divis\u00e3o horizontal",
157
+ "Vertical split": "Divis\u00e3o vertical",
158
+ "Cell Background": "Fundo da c\u00e9lula",
159
+ "Vertical Align": "Alinhamento vertical",
160
+ "Top": "Topo",
161
+ "Middle": "Meio",
162
+ "Bottom": "Fundo",
163
+ "Align Top": "Alinhar topo",
164
+ "Align Middle": "Alinhar meio",
165
+ "Align Bottom": "Alinhar fundo",
166
+ "Cell Style": "Estilo de c\u00e9lula",
167
+
168
+ // Files
169
+ "Upload File": "Upload de arquivo",
170
+ "Drop file": "Arraste seu arquivo aqui",
171
+
172
+ // Emoticons
173
+ "Emoticons": "Emoticons",
174
+ "Grinning face": "Sorrindo a cara",
175
+ "Grinning face with smiling eyes": "Sorrindo rosto com olhos sorridentes",
176
+ "Face with tears of joy": "Rosto com l\u00e1grimas de alegria",
177
+ "Smiling face with open mouth": "Rosto de sorriso com a boca aberta",
178
+ "Smiling face with open mouth and smiling eyes": "Rosto de sorriso com a boca aberta e olhos sorridentes",
179
+ "Smiling face with open mouth and cold sweat": "Rosto de sorriso com a boca aberta e suor frio",
180
+ "Smiling face with open mouth and tightly-closed eyes": "Rosto de sorriso com a boca aberta e os olhos bem fechados",
181
+ "Smiling face with halo": "Rosto de sorriso com halo",
182
+ "Smiling face with horns": "Rosto de sorriso com chifres",
183
+ "Winking face": "Pisc a rosto",
184
+ "Smiling face with smiling eyes": "Rosto de sorriso com olhos sorridentes",
185
+ "Face savoring delicious food": "Rosto saboreando uma deliciosa comida",
186
+ "Relieved face": "Rosto aliviado",
187
+ "Smiling face with heart-shaped eyes": "Rosto de sorriso com os olhos em forma de cora\u00e7\u00e3o",
188
+ "Smiling face with sunglasses": "Rosto de sorriso com \u00f3culos de sol",
189
+ "Smirking face": "Rosto sorridente",
190
+ "Neutral face": "Rosto neutra",
191
+ "Expressionless face": "Rosto inexpressivo",
192
+ "Unamused face": "O rosto n\u00e3o divertido",
193
+ "Face with cold sweat": "Rosto com suor frio",
194
+ "Pensive face": "O rosto pensativo",
195
+ "Confused face": "Cara confusa",
196
+ "Confounded face": "Rosto at\u00f4nito",
197
+ "Kissing face": "Beijar Rosto",
198
+ "Face throwing a kiss": "Rosto jogando um beijo",
199
+ "Kissing face with smiling eyes": "Beijar rosto com olhos sorridentes",
200
+ "Kissing face with closed eyes": "Beijando a cara com os olhos fechados",
201
+ "Face with stuck out tongue": "Preso de cara com a l\u00edngua para fora",
202
+ "Face with stuck out tongue and winking eye": "Rosto com estendeu a l\u00edngua e olho piscando",
203
+ "Face with stuck out tongue and tightly-closed eyes": "Rosto com estendeu a língua e os olhos bem fechados",
204
+ "Disappointed face": "Rosto decepcionado",
205
+ "Worried face": "O rosto preocupado",
206
+ "Angry face": "Rosto irritado",
207
+ "Pouting face": "Beicinho Rosto",
208
+ "Crying face": "Cara de choro",
209
+ "Persevering face": "Perseverar Rosto",
210
+ "Face with look of triumph": "Rosto com olhar de triunfo",
211
+ "Disappointed but relieved face": "Fiquei Desapontado mas aliviado Rosto",
212
+ "Frowning face with open mouth": "Sobrancelhas franzidas rosto com a boca aberta",
213
+ "Anguished face": "O rosto angustiado",
214
+ "Fearful face": "Cara com medo",
215
+ "Weary face": "Rosto cansado",
216
+ "Sleepy face": "Cara de sono",
217
+ "Tired face": "Rosto cansado",
218
+ "Grimacing face": "Fazendo caretas face",
219
+ "Loudly crying face": "Alto chorando rosto",
220
+ "Face with open mouth": "Enfrentar com a boca aberta",
221
+ "Hushed face": "Flagrantes de rosto",
222
+ "Face with open mouth and cold sweat": "Enfrentar com a boca aberta e suor frio",
223
+ "Face screaming in fear": "Cara gritando de medo",
224
+ "Astonished face": "Cara de surpresa",
225
+ "Flushed face": "Rosto vermelho",
226
+ "Sleeping face": "O rosto de sono",
227
+ "Dizzy face": "Cara tonto",
228
+ "Face without mouth": "Rosto sem boca",
229
+ "Face with medical mask": "Rosto com m\u00e1scara m\u00e9dica",
230
+
231
+ // Line breaker
232
+ "Break": "Quebrar",
233
+
234
+ // Math
235
+ "Subscript": "Subscrito",
236
+ "Superscript": "Sobrescrito",
237
+
238
+ // Full screen
239
+ "Fullscreen": "Tela cheia",
240
+
241
+ // Horizontal line
242
+ "Insert Horizontal Line": "Inserir linha horizontal",
243
+
244
+ // Clear formatting
245
+ "Clear Formatting": "Remover formata\u00e7\u00e3o",
246
+
247
+ // Undo, redo
248
+ "Undo": "Desfazer",
249
+ "Redo": "Refazer",
250
+
251
+ // Select all
252
+ "Select All": "Selecionar tudo",
253
+
254
+ // Code view
255
+ "Code View": "Exibi\u00e7\u00e3o de c\u00f3digo",
256
+
257
+ // Quote
258
+ "Quote": "Cita\u00e7\u00e3o",
259
+ "Increase": "Aumentar",
260
+ "Decrease": "Diminuir",
261
+
262
+ // Quick Insert
263
+ "Quick Insert": "Inser\u00e7\u00e3o r\u00e1pida",
264
+
265
+ // Spcial Characters
266
+ "Special Characters": "Caracteres especiais",
267
+ "Latin": "Latino",
268
+ "Greek": "Grego",
269
+ "Cyrillic": "Cirílico",
270
+ "Punctuation": "Pontuação",
271
+ "Currency": "Moeda",
272
+ "Arrows": "Setas; flechas",
273
+ "Math": "Matemática",
274
+ "Misc": "Misc",
275
+
276
+ // Print.
277
+ "Print": "Impressão",
278
+
279
+ // Spell Checker.
280
+ "Spell Checker": "Verificador ortográfico",
281
+
282
+ // Help
283
+ "Help": "Socorro",
284
+ "Shortcuts": "Atalhos",
285
+ "Inline Editor": "Editor em linha",
286
+ "Show the editor": "Mostre o editor",
287
+ "Common actions": "Ações comuns",
288
+ "Copy": "Cópia de",
289
+ "Cut": "Cortar",
290
+ "Paste": "Colar",
291
+ "Basic Formatting": "Formatação básica",
292
+ "Increase quote level": "Aumentar o nível de cotação",
293
+ "Decrease quote level": "Diminuir o nível de cotação",
294
+ "Image / Video": "Imagem / video",
295
+ "Resize larger": "Redimensionar maior",
296
+ "Resize smaller": "Redimensionar menor",
297
+ "Table": "Tabela",
298
+ "Select table cell": "Selecione a célula da tabela",
299
+ "Extend selection one cell": "Ampliar a seleção de uma célula",
300
+ "Extend selection one row": "Ampliar a seleção uma linha",
301
+ "Navigation": "Navegação",
302
+ "Focus popup / toolbar": "Foco popup / barra de ferramentas",
303
+ "Return focus to previous position": "Retornar o foco para a posição anterior",
304
+
305
+ // Embed.ly
306
+ "Embed URL": "URL de inserção",
307
+ "Paste in a URL to embed": "Colar em url para incorporar",
308
+
309
+ // Word Paste.
310
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "O conteúdo colado vem de um documento Microsoft Word. Você quer manter o formato ou limpá-lo?",
311
+ "Keep": "Guarda",
312
+ "Clean": "Limpar \ limpo",
313
+ "Word Paste Detected": "Pasta de palavras detectada"
314
+ },
315
+ direction: "ltr"
316
+ };
317
+
318
+ }));
@@ -0,0 +1,318 @@
1
+ /*!
2
+ * froala_editor v2.8.1 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2018 Froala Labs
5
+ */
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 ($) {
33
+ /**
34
+ * Portuguese spoken in Portugal
35
+ */
36
+
37
+ $.FE.LANGUAGE['pt_pt'] = {
38
+ translation: {
39
+ // Place holder
40
+ "Type something": "Digite algo",
41
+
42
+ // Basic formatting
43
+ "Bold": "Negrito",
44
+ "Italic": "It\u00e1lico",
45
+ "Underline": "Sublinhado",
46
+ "Strikethrough": "Rasurado",
47
+
48
+ // Main buttons
49
+ "Insert": "Inserir",
50
+ "Delete": "Apagar",
51
+ "Cancel": "Cancelar",
52
+ "OK": "Ok",
53
+ "Back": "Voltar",
54
+ "Remove": "Remover",
55
+ "More": "Mais",
56
+ "Update": "Atualizar",
57
+ "Style": "Estilo",
58
+
59
+ // Font
60
+ "Font Family": "Fonte",
61
+ "Font Size": "Tamanho da fonte",
62
+
63
+ // Colors
64
+ "Colors": "Cores",
65
+ "Background": "Fundo",
66
+ "Text": "Texto",
67
+ "HEX Color": "Cor hexadecimal",
68
+
69
+ // Paragraphs
70
+ "Paragraph Format": "Formatos",
71
+ "Normal": "Normal",
72
+ "Code": "C\u00f3digo",
73
+ "Heading 1": "Cabe\u00e7alho 1",
74
+ "Heading 2": "Cabe\u00e7alho 2",
75
+ "Heading 3": "Cabe\u00e7alho 3",
76
+ "Heading 4": "Cabe\u00e7alho 4",
77
+
78
+ // Style
79
+ "Paragraph Style": "Estilo de par\u00e1grafo",
80
+ "Inline Style": "Estilo embutido",
81
+
82
+ // Alignment
83
+ "Align": "Alinhar",
84
+ "Align Left": "Alinhar \u00e0 esquerda",
85
+ "Align Center": "Alinhar ao centro",
86
+ "Align Right": "Alinhar \u00e0 direita",
87
+ "Align Justify": "Justificado",
88
+ "None": "Nenhum",
89
+
90
+ // Lists
91
+ "Ordered List": "Lista ordenada",
92
+ "Unordered List": "Lista n\u00e3o ordenada",
93
+
94
+ // Indent
95
+ "Decrease Indent": "Diminuir avan\u00e7o",
96
+ "Increase Indent": "Aumentar avan\u00e7o",
97
+
98
+ // Links
99
+ "Insert Link": "Inserir link",
100
+ "Open in new tab": "Abrir em uma nova aba",
101
+ "Open Link": "Abrir link",
102
+ "Edit Link": "Editar link",
103
+ "Unlink": "Remover link",
104
+ "Choose Link": "Escolha o link",
105
+
106
+ // Images
107
+ "Insert Image": "Inserir imagem",
108
+ "Upload Image": "Carregar imagem",
109
+ "By URL": "Por URL",
110
+ "Browse": "Procurar",
111
+ "Drop image": "Largue imagem",
112
+ "or click": "ou clique em",
113
+ "Manage Images": "Gerenciar as imagens",
114
+ "Loading": "Carregando",
115
+ "Deleting": "Excluindo",
116
+ "Tags": "Etiquetas",
117
+ "Are you sure? Image will be deleted.": "Voc\u00ea tem certeza? Imagem ser\u00e1 apagada.",
118
+ "Replace": "Substituir",
119
+ "Uploading": "Carregando imagem",
120
+ "Loading image": "Carregando imagem",
121
+ "Display": "Exibir",
122
+ "Inline": "Em linha",
123
+ "Break Text": "Texto de quebra",
124
+ "Alternate Text": "Texto alternativo",
125
+ "Change Size": "Alterar tamanho",
126
+ "Width": "Largura",
127
+ "Height": "Altura",
128
+ "Something went wrong. Please try again.": "Algo deu errado. Por favor, tente novamente.",
129
+ "Image Caption": "Legenda da imagem",
130
+ "Advanced Edit": "Edição avançada",
131
+
132
+ // Video
133
+ "Insert Video": "Inserir v\u00eddeo",
134
+ "Embedded Code": "C\u00f3digo embutido",
135
+ "Paste in a video URL": "Colar em um URL de vídeo",
136
+ "Drop video": "Solte o video",
137
+ "Your browser does not support HTML5 video.": "Seu navegador não suporta o vídeo html5.",
138
+ "Upload Video": "Envio vídeo",
139
+
140
+ // Tables
141
+ "Insert Table": "Inserir tabela",
142
+ "Table Header": "Cabe\u00e7alho da tabela",
143
+ "Remove Table": "Remover tabela",
144
+ "Table Style": "estilo de tabela",
145
+ "Horizontal Align": "Alinhamento horizontal",
146
+ "Row": "Linha",
147
+ "Insert row above": "Inserir linha antes",
148
+ "Insert row below": "Inserir linha depois",
149
+ "Delete row": "Eliminar linha",
150
+ "Column": "Coluna",
151
+ "Insert column before": "Inserir coluna antes",
152
+ "Insert column after": "Inserir coluna depois",
153
+ "Delete column": "Eliminar coluna",
154
+ "Cell": "C\u00e9lula",
155
+ "Merge cells": "Unir c\u00e9lulas",
156
+ "Horizontal split": "Divis\u00e3o horizontal",
157
+ "Vertical split": "Divis\u00e3o vertical",
158
+ "Cell Background": "Fundo da c\u00e9lula",
159
+ "Vertical Align": "Alinhar vertical",
160
+ "Top": "Topo",
161
+ "Middle": "Meio",
162
+ "Bottom": "Fundo",
163
+ "Align Top": "Alinhar topo",
164
+ "Align Middle": "Alinhar meio",
165
+ "Align Bottom": "Alinhar fundo",
166
+ "Cell Style": "Estilo de c\u00e9lula",
167
+
168
+ // Files
169
+ "Upload File": "Upload de arquivo",
170
+ "Drop file": "Largar arquivo",
171
+
172
+ // Emoticons
173
+ "Emoticons": "Emoticons",
174
+ "Grinning face": "Sorrindo a cara",
175
+ "Grinning face with smiling eyes": "Sorrindo rosto com olhos sorridentes",
176
+ "Face with tears of joy": "Rosto com l\u00e1grimas de alegria",
177
+ "Smiling face with open mouth": "Rosto de sorriso com a boca aberta",
178
+ "Smiling face with open mouth and smiling eyes": "Rosto de sorriso com a boca aberta e olhos sorridentes",
179
+ "Smiling face with open mouth and cold sweat": "Rosto de sorriso com a boca aberta e suor frio",
180
+ "Smiling face with open mouth and tightly-closed eyes": "Rosto de sorriso com a boca aberta e os olhos bem fechados",
181
+ "Smiling face with halo": "Rosto de sorriso com halo",
182
+ "Smiling face with horns": "Rosto de sorriso com chifres",
183
+ "Winking face": "Pisc a rosto",
184
+ "Smiling face with smiling eyes": "Rosto de sorriso com olhos sorridentes",
185
+ "Face savoring delicious food": "Rosto saboreando uma deliciosa comida",
186
+ "Relieved face": "Rosto aliviado",
187
+ "Smiling face with heart-shaped eyes": "Rosto de sorriso com os olhos em forma de cora\u00e7\u00e3o",
188
+ "Smiling face with sunglasses": "Rosto de sorriso com \u00f3culos de sol",
189
+ "Smirking face": "Rosto sorridente",
190
+ "Neutral face": "Rosto neutra",
191
+ "Expressionless face": "Rosto inexpressivo",
192
+ "Unamused face": "O rosto n\u00e3o divertido",
193
+ "Face with cold sweat": "Rosto com suor frio",
194
+ "Pensive face": "O rosto pensativo",
195
+ "Confused face": "Cara confusa",
196
+ "Confounded face": "Rosto at\u00f4nito",
197
+ "Kissing face": "Beijar Rosto",
198
+ "Face throwing a kiss": "Rosto jogando um beijo",
199
+ "Kissing face with smiling eyes": "Beijar rosto com olhos sorridentes",
200
+ "Kissing face with closed eyes": "Beijando a cara com os olhos fechados",
201
+ "Face with stuck out tongue": "Preso de cara com a l\u00edngua para fora",
202
+ "Face with stuck out tongue and winking eye": "Rosto com estendeu a l\u00edngua e olho piscando",
203
+ "Face with stuck out tongue and tightly-closed eyes": "Rosto com estendeu a língua e os olhos bem fechados",
204
+ "Disappointed face": "Rosto decepcionado",
205
+ "Worried face": "O rosto preocupado",
206
+ "Angry face": "Rosto irritado",
207
+ "Pouting face": "Beicinho Rosto",
208
+ "Crying face": "Cara de choro",
209
+ "Persevering face": "Perseverar Rosto",
210
+ "Face with look of triumph": "Rosto com olhar de triunfo",
211
+ "Disappointed but relieved face": "Fiquei Desapontado mas aliviado Rosto",
212
+ "Frowning face with open mouth": "Sobrancelhas franzidas rosto com a boca aberta",
213
+ "Anguished face": "O rosto angustiado",
214
+ "Fearful face": "Cara com medo",
215
+ "Weary face": "Rosto cansado",
216
+ "Sleepy face": "Cara de sono",
217
+ "Tired face": "Rosto cansado",
218
+ "Grimacing face": "Fazendo caretas face",
219
+ "Loudly crying face": "Alto chorando rosto",
220
+ "Face with open mouth": "Enfrentar com a boca aberta",
221
+ "Hushed face": "Flagrantes de rosto",
222
+ "Face with open mouth and cold sweat": "Enfrentar com a boca aberta e suor frio",
223
+ "Face screaming in fear": "Cara gritando de medo",
224
+ "Astonished face": "Cara de surpresa",
225
+ "Flushed face": "Rosto vermelho",
226
+ "Sleeping face": "O rosto de sono",
227
+ "Dizzy face": "Cara tonto",
228
+ "Face without mouth": "Rosto sem boca",
229
+ "Face with medical mask": "Rosto com m\u00e1scara m\u00e9dica",
230
+
231
+ // Line breaker
232
+ "Break": "Partir",
233
+
234
+ // Math
235
+ "Subscript": "Subscrito",
236
+ "Superscript": "Sobrescrito",
237
+
238
+ // Full screen
239
+ "Fullscreen": "Tela cheia",
240
+
241
+ // Horizontal line
242
+ "Insert Horizontal Line": "Inserir linha horizontal",
243
+
244
+ // Clear formatting
245
+ "Clear Formatting": "Remover formata\u00e7\u00e3o",
246
+
247
+ // Undo, redo
248
+ "Undo": "Anular",
249
+ "Redo": "Restaurar",
250
+
251
+ // Select all
252
+ "Select All": "Seleccionar tudo",
253
+
254
+ // Code view
255
+ "Code View": "Exibi\u00e7\u00e3o de c\u00f3digo",
256
+
257
+ // Quote
258
+ "Quote": "Cita\u00e7\u00e3o",
259
+ "Increase": "Aumentar",
260
+ "Decrease": "Diminuir",
261
+
262
+ // Quick Insert
263
+ "Quick Insert": "Inser\u00e7\u00e3o r\u00e1pida",
264
+
265
+ // Spcial Characters
266
+ "Special Characters": "Caracteres especiais",
267
+ "Latin": "Latino",
268
+ "Greek": "Grego",
269
+ "Cyrillic": "Cirílico",
270
+ "Punctuation": "Pontuação",
271
+ "Currency": "Moeda",
272
+ "Arrows": "Setas; flechas",
273
+ "Math": "Matemática",
274
+ "Misc": "Misc",
275
+
276
+ // Print.
277
+ "Print": "Impressão",
278
+
279
+ // Spell Checker.
280
+ "Spell Checker": "Verificador ortográfico",
281
+
282
+ // Help
283
+ "Help": "Socorro",
284
+ "Shortcuts": "Atalhos",
285
+ "Inline Editor": "Editor em linha",
286
+ "Show the editor": "Mostre o editor",
287
+ "Common actions": "Ações comuns",
288
+ "Copy": "Cópia de",
289
+ "Cut": "Cortar",
290
+ "Paste": "Colar",
291
+ "Basic Formatting": "Formatação básica",
292
+ "Increase quote level": "Aumentar o nível de cotação",
293
+ "Decrease quote level": "Diminuir o nível de cotação",
294
+ "Image / Video": "Imagem / video",
295
+ "Resize larger": "Redimensionar maior",
296
+ "Resize smaller": "Redimensionar menor",
297
+ "Table": "Tabela",
298
+ "Select table cell": "Selecione a célula da tabela",
299
+ "Extend selection one cell": "Ampliar a seleção de uma célula",
300
+ "Extend selection one row": "Ampliar a seleção uma linha",
301
+ "Navigation": "Navegação",
302
+ "Focus popup / toolbar": "Foco popup / barra de ferramentas",
303
+ "Return focus to previous position": "Retornar o foco para a posição anterior",
304
+
305
+ // Embed.ly
306
+ "Embed URL": "URL de inserção",
307
+ "Paste in a URL to embed": "Colar em url para incorporar",
308
+
309
+ // Word Paste.
310
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "O conteúdo colado vem de um documento Microsoft Word. Você quer manter o formato ou limpá-lo?",
311
+ "Keep": "Guarda",
312
+ "Clean": "Limpar \ limpo",
313
+ "Word Paste Detected": "Pasta de palavras detectada"
314
+ },
315
+ direction: "ltr"
316
+ };
317
+
318
+ }));