activeadmin_froala_editor 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +3 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.md +64 -0
  6. data/Rakefile +3 -0
  7. data/activeadmin_froala_editor.gemspec +19 -0
  8. data/app/assets/fonts/FontAwesome.otf +0 -0
  9. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  10. data/app/assets/fonts/fontawesome-webfont.svg +2671 -0
  11. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  12. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  13. data/app/assets/fonts/fontawesome-webfont.woff2 +0 -0
  14. data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.min.js +12 -0
  15. data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.pkgd.min.js +22 -0
  16. data/app/assets/javascripts/activeadmin/froala_editor/languages/ar.js +314 -0
  17. data/app/assets/javascripts/activeadmin/froala_editor/languages/bs.js +314 -0
  18. data/app/assets/javascripts/activeadmin/froala_editor/languages/cs.js +314 -0
  19. data/app/assets/javascripts/activeadmin/froala_editor/languages/da.js +314 -0
  20. data/app/assets/javascripts/activeadmin/froala_editor/languages/de.js +314 -0
  21. data/app/assets/javascripts/activeadmin/froala_editor/languages/en_ca.js +258 -0
  22. data/app/assets/javascripts/activeadmin/froala_editor/languages/en_gb.js +258 -0
  23. data/app/assets/javascripts/activeadmin/froala_editor/languages/es.js +314 -0
  24. data/app/assets/javascripts/activeadmin/froala_editor/languages/et.js +314 -0
  25. data/app/assets/javascripts/activeadmin/froala_editor/languages/fa.js +314 -0
  26. data/app/assets/javascripts/activeadmin/froala_editor/languages/fi.js +314 -0
  27. data/app/assets/javascripts/activeadmin/froala_editor/languages/fr.js +314 -0
  28. data/app/assets/javascripts/activeadmin/froala_editor/languages/he.js +314 -0
  29. data/app/assets/javascripts/activeadmin/froala_editor/languages/hr.js +314 -0
  30. data/app/assets/javascripts/activeadmin/froala_editor/languages/hu.js +314 -0
  31. data/app/assets/javascripts/activeadmin/froala_editor/languages/id.js +315 -0
  32. data/app/assets/javascripts/activeadmin/froala_editor/languages/it.js +314 -0
  33. data/app/assets/javascripts/activeadmin/froala_editor/languages/ja.js +314 -0
  34. data/app/assets/javascripts/activeadmin/froala_editor/languages/ko.js +314 -0
  35. data/app/assets/javascripts/activeadmin/froala_editor/languages/me.js +314 -0
  36. data/app/assets/javascripts/activeadmin/froala_editor/languages/nb.js +314 -0
  37. data/app/assets/javascripts/activeadmin/froala_editor/languages/nl.js +314 -0
  38. data/app/assets/javascripts/activeadmin/froala_editor/languages/pl.js +314 -0
  39. data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_br.js +314 -0
  40. data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_pt.js +314 -0
  41. data/app/assets/javascripts/activeadmin/froala_editor/languages/ro.js +315 -0
  42. data/app/assets/javascripts/activeadmin/froala_editor/languages/ru.js +314 -0
  43. data/app/assets/javascripts/activeadmin/froala_editor/languages/sk.js +314 -0
  44. data/app/assets/javascripts/activeadmin/froala_editor/languages/sr.js +314 -0
  45. data/app/assets/javascripts/activeadmin/froala_editor/languages/sv.js +314 -0
  46. data/app/assets/javascripts/activeadmin/froala_editor/languages/th.js +314 -0
  47. data/app/assets/javascripts/activeadmin/froala_editor/languages/tr.js +314 -0
  48. data/app/assets/javascripts/activeadmin/froala_editor/languages/uk.js +314 -0
  49. data/app/assets/javascripts/activeadmin/froala_editor/languages/vi.js +254 -0
  50. data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_cn.js +314 -0
  51. data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_tw.js +314 -0
  52. data/app/assets/javascripts/activeadmin/froala_editor/plugins/align.min.js +7 -0
  53. data/app/assets/javascripts/activeadmin/froala_editor/plugins/char_counter.min.js +7 -0
  54. data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_beautifier.min.js +8 -0
  55. data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_view.min.js +7 -0
  56. data/app/assets/javascripts/activeadmin/froala_editor/plugins/colors.min.js +7 -0
  57. data/app/assets/javascripts/activeadmin/froala_editor/plugins/draggable.min.js +7 -0
  58. data/app/assets/javascripts/activeadmin/froala_editor/plugins/emoticons.min.js +7 -0
  59. data/app/assets/javascripts/activeadmin/froala_editor/plugins/entities.min.js +7 -0
  60. data/app/assets/javascripts/activeadmin/froala_editor/plugins/file.min.js +7 -0
  61. data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_family.min.js +7 -0
  62. data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_size.min.js +7 -0
  63. data/app/assets/javascripts/activeadmin/froala_editor/plugins/forms.min.js +7 -0
  64. data/app/assets/javascripts/activeadmin/froala_editor/plugins/fullscreen.min.js +7 -0
  65. data/app/assets/javascripts/activeadmin/froala_editor/plugins/help.min.js +7 -0
  66. data/app/assets/javascripts/activeadmin/froala_editor/plugins/image.min.js +8 -0
  67. data/app/assets/javascripts/activeadmin/froala_editor/plugins/image_manager.min.js +7 -0
  68. data/app/assets/javascripts/activeadmin/froala_editor/plugins/inline_style.min.js +7 -0
  69. data/app/assets/javascripts/activeadmin/froala_editor/plugins/line_breaker.min.js +7 -0
  70. data/app/assets/javascripts/activeadmin/froala_editor/plugins/link.min.js +7 -0
  71. data/app/assets/javascripts/activeadmin/froala_editor/plugins/lists.min.js +7 -0
  72. data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_format.min.js +7 -0
  73. data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_style.min.js +7 -0
  74. data/app/assets/javascripts/activeadmin/froala_editor/plugins/print.min.js +7 -0
  75. data/app/assets/javascripts/activeadmin/froala_editor/plugins/quick_insert.min.js +7 -0
  76. data/app/assets/javascripts/activeadmin/froala_editor/plugins/quote.min.js +7 -0
  77. data/app/assets/javascripts/activeadmin/froala_editor/plugins/save.min.js +7 -0
  78. data/app/assets/javascripts/activeadmin/froala_editor/plugins/special_characters.min.js +7 -0
  79. data/app/assets/javascripts/activeadmin/froala_editor/plugins/table.min.js +8 -0
  80. data/app/assets/javascripts/activeadmin/froala_editor/plugins/url.min.js +7 -0
  81. data/app/assets/javascripts/activeadmin/froala_editor/plugins/video.min.js +8 -0
  82. data/app/assets/javascripts/activeadmin/froala_editor/plugins/word_paste.min.js +7 -0
  83. data/app/assets/javascripts/activeadmin/froala_editor/third_party/embedly.min.js +7 -0
  84. data/app/assets/javascripts/activeadmin/froala_editor/third_party/image_aviary.min.js +7 -0
  85. data/app/assets/javascripts/activeadmin/froala_editor/third_party/spell_checker.min.js +7 -0
  86. data/app/assets/javascripts/activeadmin/froala_editor_input.js +7 -0
  87. data/app/assets/stylesheets/activeadmin/_froala_editor_input.sass +43 -0
  88. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.css +1254 -0
  89. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.min.css +7 -0
  90. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.css +2862 -0
  91. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.min.css +7 -0
  92. data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.css +452 -0
  93. data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.min.css +7 -0
  94. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.css +57 -0
  95. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.min.css +7 -0
  96. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.css +112 -0
  97. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.min.css +7 -0
  98. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.css +154 -0
  99. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.min.css +7 -0
  100. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.css +43 -0
  101. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.min.css +7 -0
  102. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.css +42 -0
  103. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.min.css +7 -0
  104. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.css +146 -0
  105. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.min.css +7 -0
  106. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.css +28 -0
  107. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.min.css +7 -0
  108. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.css +52 -0
  109. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.min.css +7 -0
  110. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.css +244 -0
  111. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.min.css +7 -0
  112. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.css +265 -0
  113. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.min.css +7 -0
  114. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.css +37 -0
  115. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.min.css +7 -0
  116. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.css +70 -0
  117. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.min.css +7 -0
  118. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.css +51 -0
  119. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.min.css +7 -0
  120. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.css +151 -0
  121. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.min.css +7 -0
  122. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.css +231 -0
  123. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.min.css +7 -0
  124. data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.css +1233 -0
  125. data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.min.css +7 -0
  126. data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.css +1233 -0
  127. data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.min.css +7 -0
  128. data/app/assets/stylesheets/activeadmin/froala_editor/themes/red.css +1233 -0
  129. data/app/assets/stylesheets/activeadmin/froala_editor/themes/red.min.css +7 -0
  130. data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.css +1233 -0
  131. data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.min.css +7 -0
  132. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.css +64 -0
  133. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.min.css +7 -0
  134. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.css +72 -0
  135. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.min.css +7 -0
  136. data/app/assets/stylesheets/font-awesome/_animated.scss +34 -0
  137. data/app/assets/stylesheets/font-awesome/_bordered-pulled.scss +25 -0
  138. data/app/assets/stylesheets/font-awesome/_core.scss +12 -0
  139. data/app/assets/stylesheets/font-awesome/_fixed-width.scss +6 -0
  140. data/app/assets/stylesheets/font-awesome/_icons.scss +789 -0
  141. data/app/assets/stylesheets/font-awesome/_larger.scss +13 -0
  142. data/app/assets/stylesheets/font-awesome/_list.scss +19 -0
  143. data/app/assets/stylesheets/font-awesome/_mixins.scss +60 -0
  144. data/app/assets/stylesheets/font-awesome/_path.scss +15 -0
  145. data/app/assets/stylesheets/font-awesome/_rotated-flipped.scss +20 -0
  146. data/app/assets/stylesheets/font-awesome/_screen-reader.scss +5 -0
  147. data/app/assets/stylesheets/font-awesome/_stacked.scss +20 -0
  148. data/app/assets/stylesheets/font-awesome/_variables.scss +800 -0
  149. data/app/assets/stylesheets/font-awesome/font-awesome.scss +18 -0
  150. data/lib/activeadmin/froala_editor.rb +1 -0
  151. data/lib/activeadmin/froala_editor/engine.rb +9 -0
  152. data/lib/activeadmin/froala_editor/version.rb +5 -0
  153. data/lib/activeadmin_froala_editor.rb +3 -0
  154. data/lib/formtastic/inputs/froala_editor_input.rb +9 -0
  155. data/screenshot.jpg +0 -0
  156. metadata +211 -0
@@ -0,0 +1,258 @@
1
+ /*!
2
+ * froala_editor v2.7.1 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2017 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
+ * English spoken in Great Britain
35
+ */
36
+
37
+ $.FE.LANGUAGE['en_gb'] = {
38
+ translation: {
39
+ // Place holder
40
+ "Type something": "Type something",
41
+
42
+ // Basic formatting
43
+ "Bold": "Bold",
44
+ "Italic": "Italic",
45
+ "Underline": "Underline",
46
+ "Strikethrough": "Strikethrough",
47
+
48
+ // Main buttons
49
+ "Insert": "Insert",
50
+ "Delete": "Delete",
51
+ "Cancel": "Cancel",
52
+ "OK": "OK",
53
+ "Back": "Back",
54
+ "Remove": "Remove",
55
+ "More": "More",
56
+ "Update": "Update",
57
+ "Style": "Style",
58
+
59
+ // Font
60
+ "Font Family": "Font Family",
61
+ "Font Size": "Font Size",
62
+
63
+ // Colors
64
+ "Colors": "Colours",
65
+ "Background": "Background",
66
+ "Text": "Text",
67
+ "HEX Color": "HEX Colour",
68
+
69
+ // Paragraphs
70
+ "Paragraph Format": "Paragraph Format",
71
+ "Normal": "Normal",
72
+ "Code": "Code",
73
+ "Heading 1": "Heading 1",
74
+ "Heading 2": "Heading 2",
75
+ "Heading 3": "Heading 3",
76
+ "Heading 4": "Heading 4",
77
+
78
+ // Style
79
+ "Paragraph Style": "Paragraph Style",
80
+ "Inline Style": "Inline Style",
81
+
82
+ // Alignment
83
+ "Align": "Align",
84
+ "Align Left": "Align Left",
85
+ "Align Center": "Align Centre",
86
+ "Align Right": "Alight Right",
87
+ "Align Justify": "Align Justify",
88
+ "None": "None",
89
+
90
+ // Lists
91
+ "Ordered List": "Ordered List",
92
+ "Unordered List": "Unordered List",
93
+
94
+ // Indent
95
+ "Decrease Indent": "Decrease Indent",
96
+ "Increase Indent": "Increase Indent",
97
+
98
+ // Links
99
+ "Insert Link": "Insert Link",
100
+ "Open in new tab": "Open in new tab",
101
+ "Open Link": "Open Link",
102
+ "Edit Link": "Edit Link",
103
+ "Unlink": "Unlink",
104
+ "Choose Link": "Choose Link",
105
+
106
+ // Images
107
+ "Insert Image": "Insert Image",
108
+ "Upload Image": "Upload Image",
109
+ "By URL": "By URL",
110
+ "Browse": "Browse",
111
+ "Drop image": "Drop image",
112
+ "or click": "or click",
113
+ "Manage Images": "Manage Images",
114
+ "Loading": "Loading",
115
+ "Deleting": "Deleting",
116
+ "Tags": "Tags",
117
+ "Are you sure? Image will be deleted.": "Are you sure? Image will be deleted.",
118
+ "Replace": "Replace",
119
+ "Uploading": "Uploading",
120
+ "Loading image": "Loading image",
121
+ "Display": "Display",
122
+ "Inline": "Inline",
123
+ "Break Text": "Break Text",
124
+ "Alternate Text": "Alternate Text",
125
+ "Change Size": "Change Size",
126
+ "Width": "Width",
127
+ "Height": "Height",
128
+ "Something went wrong. Please try again.": "Something went wrong. Please try again.",
129
+ "Image Caption": "Image Caption",
130
+ "Advanced Edit": "Advanced Edit",
131
+
132
+ // Video
133
+ "Insert Video": "Insert Video",
134
+ "Embedded Code": "Embedded Code",
135
+
136
+ // Tables
137
+ "Insert Table": "Insert Table",
138
+ "Table Header": "Table Header",
139
+ "Remove Table": "Remove Table",
140
+ "Table Style": "Table Style",
141
+ "Horizontal Align": "Horizontal Align",
142
+ "Row": "Row",
143
+ "Insert row above": "Insert row above",
144
+ "Insert row below": "Insert row below",
145
+ "Delete row": "Delete row",
146
+ "Column": "Column",
147
+ "Insert column before": "Insert column before",
148
+ "Insert column after": "Insert column after",
149
+ "Delete column": "Delete column",
150
+ "Cell": "Cell",
151
+ "Merge cells": "Merge cells",
152
+ "Horizontal split": "Horizontal split",
153
+ "Vertical split": "Vertical split",
154
+ "Cell Background": "Cell Background",
155
+ "Vertical Align": "Vertical Align",
156
+ "Top": "Top",
157
+ "Middle": "Middle",
158
+ "Bottom": "Bottom",
159
+ "Align Top": "Align Top",
160
+ "Align Middle": "Align Middle",
161
+ "Align Bottom": "Align Bottom",
162
+ "Cell Style": "Cell Style",
163
+
164
+ // Files
165
+ "Upload File": "Upload File",
166
+ "Drop file": "Drop file",
167
+
168
+ // Emoticons
169
+ "Emoticons": "Emoticons",
170
+
171
+ // Line breaker
172
+ "Break": "Break",
173
+
174
+ // Math
175
+ "Subscript": "Subscript",
176
+ "Superscript": "Superscript",
177
+
178
+ // Full screen
179
+ "Fullscreen": "Fullscreen",
180
+
181
+ // Horizontal line
182
+ "Insert Horizontal Line": "Insert Horizontal Line",
183
+
184
+ // Clear formatting
185
+ "Clear Formatting": "Cell Formatting",
186
+
187
+ // Undo, redo
188
+ "Undo": "Undo",
189
+ "Redo": "Redo",
190
+
191
+ // Select all
192
+ "Select All": "Select All",
193
+
194
+ // Code view
195
+ "Code View": "Code View",
196
+
197
+ // Quote
198
+ "Quote": "Quote",
199
+ "Increase": "Increase",
200
+ "Decrease": "Decrease",
201
+
202
+ // Quick Insert
203
+ "Quick Insert": "Quick Insert",
204
+
205
+ // Spcial Characters
206
+ "Special Characters": "Special Characters",
207
+ "Latin": "Latin",
208
+ "Greek": "Greek",
209
+ "Cyrillic": "Cyrillic",
210
+ "Punctuation": "Punctuation",
211
+ "Currency": "Currency",
212
+ "Arrows": "Arrows",
213
+ "Math": "Math",
214
+ "Misc": "Misc",
215
+
216
+ // Print.
217
+ "Print": "Print",
218
+
219
+ // Spell Checker.
220
+ "Spell Checker": "Spell Checker",
221
+
222
+ // Help
223
+ "Help": "Help",
224
+ "Shortcuts": "Shortcuts",
225
+ "Inline Editor": "Inline Editor",
226
+ "Show the editor": "Show the editor",
227
+ "Common actions": "Common actions",
228
+ "Copy": "Copy",
229
+ "Cut": "Cut",
230
+ "Paste": "Paste",
231
+ "Basic Formatting": "Basic Formatting",
232
+ "Increase quote level": "Increase quote level",
233
+ "Decrease quote level": "Decrease quote level",
234
+ "Image / Video": "Image / Video",
235
+ "Resize larger": "Resize larger",
236
+ "Resize smaller": "Resize smaller",
237
+ "Table": "Table",
238
+ "Select table cell": "Select table cell",
239
+ "Extend selection one cell": "Extend selection one cell",
240
+ "Extend selection one row": "Extend selection one row",
241
+ "Navigation": "Navigation",
242
+ "Focus popup / toolbar": "Focus popup / toolbar",
243
+ "Return focus to previous position": "Return focus to previous position",
244
+
245
+ // Embed.ly
246
+ "Embed URL": "Embed URL",
247
+ "Paste in a URL to embed": "Paste in a URL to embed",
248
+
249
+ // Word Paste.
250
+ "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?",
251
+ "Keep": "Keep",
252
+ "Clean": "Clean",
253
+ "Word Paste Detected": "Word Paste Detected"
254
+ },
255
+ direction: "ltr"
256
+ };
257
+
258
+ }));
@@ -0,0 +1,314 @@
1
+ /*!
2
+ * froala_editor v2.7.1 (https://www.froala.com/wysiwyg-editor)
3
+ * License https://froala.com/wysiwyg-editor/terms/
4
+ * Copyright 2014-2017 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
+ * Spanish
35
+ */
36
+
37
+ $.FE.LANGUAGE['es'] = {
38
+ translation: {
39
+ // Place holder
40
+ "Type something": "Escriba algo",
41
+
42
+ // Basic formatting
43
+ "Bold": "Negrita",
44
+ "Italic": "It\u00e1lica",
45
+ "Underline": "Subrayado",
46
+ "Strikethrough": "Tachado",
47
+
48
+ // Main buttons
49
+ "Insert": "Insertar",
50
+ "Delete": "Borrar",
51
+ "Cancel": "Cancelar",
52
+ "OK": "Ok",
53
+ "Back": "Atr\u00e1s",
54
+ "Remove": "Quitar",
55
+ "More": "M\u00e1s",
56
+ "Update": "Actualizaci\u00f3n",
57
+ "Style": "Estilo",
58
+
59
+ // Font
60
+ "Font Family": "Familia de fuentes",
61
+ "Font Size": "Tama\u00f1o de fuente",
62
+
63
+ // Colors
64
+ "Colors": "Colores",
65
+ "Background": "Fondo",
66
+ "Text": "Texto",
67
+ "HEX Color": "Color hexadecimal",
68
+
69
+ // Paragraphs
70
+ "Paragraph Format": "Formato de p\u00e1rrafo",
71
+ "Normal": "Normal",
72
+ "Code": "C\u00f3digo",
73
+ "Heading 1": "Encabezado 1",
74
+ "Heading 2": "Encabezado 2",
75
+ "Heading 3": "Encabezado 3",
76
+ "Heading 4": "Encabezado 4",
77
+
78
+ // Style
79
+ "Paragraph Style": "Estilo de p\u00e1rrafo",
80
+ "Inline Style": "Estilo en l\u00ednea",
81
+
82
+ // Alignment
83
+ "Align": "Alinear",
84
+ "Align Left": "Alinear a la izquierda",
85
+ "Align Center": "Alinear al centro",
86
+ "Align Right": "Alinear a la derecha",
87
+ "Align Justify": "Justificar",
88
+ "None": "Ninguno",
89
+
90
+ // Lists
91
+ "Ordered List": "Lista ordenada",
92
+ "Unordered List": "Lista desordenada",
93
+
94
+ // Indent
95
+ "Decrease Indent": "Reducir sangr\u00eda",
96
+ "Increase Indent": "Aumentar sangr\u00eda",
97
+
98
+ // Links
99
+ "Insert Link": "Insertar enlace",
100
+ "Open in new tab": "Abrir en una nueva pesta\u00F1a",
101
+ "Open Link": "Abrir enlace",
102
+ "Edit Link": "Editar enlace",
103
+ "Unlink": "Quitar enlace",
104
+ "Choose Link": "Elegir enlace",
105
+
106
+ // Images
107
+ "Insert Image": "Insertar imagen",
108
+ "Upload Image": "Cargar imagen",
109
+ "By URL": "Por URL",
110
+ "Browse": "Examinar",
111
+ "Drop image": "Soltar la imagen",
112
+ "or click": "o haga clic en",
113
+ "Manage Images": "Administrar im\u00e1genes",
114
+ "Loading": "Cargando",
115
+ "Deleting": "Borrado",
116
+ "Tags": "Etiquetas",
117
+ "Are you sure? Image will be deleted.": "\u00bfEst\u00e1 seguro? Imagen ser\u00e1 borrada.",
118
+ "Replace": "Reemplazar",
119
+ "Uploading": "Carga",
120
+ "Loading image": "Cargando imagen",
121
+ "Display": "Mostrar",
122
+ "Inline": "En l\u00ednea",
123
+ "Break Text": "Romper texto",
124
+ "Alternate Text": "Texto alternativo",
125
+ "Change Size": "Cambiar tama\u00f1o",
126
+ "Width": "Ancho",
127
+ "Height": "Altura",
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",
131
+
132
+ // Video
133
+ "Insert Video": "Insertar video",
134
+ "Embedded Code": "C\u00f3digo incrustado",
135
+
136
+ // Tables
137
+ "Insert Table": "Insertar tabla",
138
+ "Table Header": "Encabezado de la tabla",
139
+ "Remove Table": "Retire la tabla",
140
+ "Table Style": "Estilo de tabla",
141
+ "Horizontal Align": "Alinear horizontal",
142
+ "Row": "Fila",
143
+ "Insert row above": "Insertar fila antes",
144
+ "Insert row below": "Insertar fila despu\u00e9s",
145
+ "Delete row": "Eliminar fila",
146
+ "Column": "Columna",
147
+ "Insert column before": "Insertar columna antes",
148
+ "Insert column after": "Insertar columna despu\u00e9s",
149
+ "Delete column": "Eliminar columna",
150
+ "Cell": "Celda",
151
+ "Merge cells": "Combinar celdas",
152
+ "Horizontal split": "Divisi\u00f3n horizontal",
153
+ "Vertical split": "Divisi\u00f3n vertical",
154
+ "Cell Background": "Fondo de la celda",
155
+ "Vertical Align": "Alinear vertical",
156
+ "Top": "Cima",
157
+ "Middle": "Medio",
158
+ "Bottom": "Del fondo",
159
+ "Align Top": "Alinear a la parte superior",
160
+ "Align Middle": "Alinear media",
161
+ "Align Bottom": "Alinear abajo",
162
+ "Cell Style": "Estilo de celda",
163
+
164
+ // Files
165
+ "Upload File": "Subir archivo",
166
+ "Drop file": "Soltar archivo",
167
+
168
+ // Emoticons
169
+ "Emoticons": "Emoticones",
170
+ "Grinning face": "Sonriendo cara",
171
+ "Grinning face with smiling eyes": "Sonriendo cara con ojos sonrientes",
172
+ "Face with tears of joy": "Cara con l\u00e1grimas de alegr\u00eda",
173
+ "Smiling face with open mouth": "Cara sonriente con la boca abierta",
174
+ "Smiling face with open mouth and smiling eyes": "Cara sonriente con la boca abierta y los ojos sonrientes",
175
+ "Smiling face with open mouth and cold sweat": "Cara sonriente con la boca abierta y el sudor fr\u00edo",
176
+ "Smiling face with open mouth and tightly-closed eyes": "Cara sonriente con la boca abierta y los ojos fuertemente cerrados",
177
+ "Smiling face with halo": "Cara sonriente con halo",
178
+ "Smiling face with horns": "Cara sonriente con cuernos",
179
+ "Winking face": "Gui\u00f1o de la cara",
180
+ "Smiling face with smiling eyes": "Cara sonriente con ojos sonrientes",
181
+ "Face savoring delicious food": "Care saborear una deliciosa comida",
182
+ "Relieved face": "Cara Aliviado",
183
+ "Smiling face with heart-shaped eyes": "Cara sonriente con los ojos en forma de coraz\u00f3n",
184
+ "Smiling face with sunglasses": "Cara sonriente con gafas de sol",
185
+ "Smirking face": "Sonriendo cara",
186
+ "Neutral face": "Cara neutral",
187
+ "Expressionless face": "Rostro inexpresivo",
188
+ "Unamused face": "Cara no divertido",
189
+ "Face with cold sweat": "Cara con sudor fr\u00edo",
190
+ "Pensive face": "Rostro pensativo",
191
+ "Confused face": "Cara confusa",
192
+ "Confounded face": "Cara Averg\u00fc\u00e9ncense",
193
+ "Kissing face": "Besar la cara",
194
+ "Face throwing a kiss": "Cara lanzando un beso",
195
+ "Kissing face with smiling eyes": "Besar a cara con ojos sonrientes",
196
+ "Kissing face with closed eyes": "Besar a cara con los ojos cerrados",
197
+ "Face with stuck out tongue": "Cara con la lengua pegada",
198
+ "Face with stuck out tongue and winking eye": "Cara con pegado a la lengua y los ojos gui\u00f1o",
199
+ "Face with stuck out tongue and tightly-closed eyes": "Cara con la lengua pegada a y los ojos fuertemente cerrados",
200
+ "Disappointed face": "Cara decepcionado",
201
+ "Worried face": "Cara de preocupaci\u00f3n",
202
+ "Angry face": "Cara enojada",
203
+ "Pouting face": "Que pone mala cara",
204
+ "Crying face": "Cara llorando",
205
+ "Persevering face": "Perseverar cara",
206
+ "Face with look of triumph": "Cara con expresi\u00f3n de triunfo",
207
+ "Disappointed but relieved face": "Decepcionado pero el rostro aliviado",
208
+ "Frowning face with open mouth": "Con el ce\u00f1o fruncido la cara con la boca abierta",
209
+ "Anguished face": "Rostro angustiado",
210
+ "Fearful face": "Cara Temeroso",
211
+ "Weary face": "Rostro cansado",
212
+ "Sleepy face": "Rostro so\u00f1oliento",
213
+ "Tired face": "Rostro cansado",
214
+ "Grimacing face": "Haciendo una mueca cara",
215
+ "Loudly crying face": "Llorando en voz alta la cara",
216
+ "Face with open mouth": "Cara con la boca abierta",
217
+ "Hushed face": "Cara callada",
218
+ "Face with open mouth and cold sweat": "Cara con la boca abierta y el sudor frío",
219
+ "Face screaming in fear": "Cara gritando de miedo",
220
+ "Astonished face": "Cara asombrosa",
221
+ "Flushed face": "Cara enrojecida",
222
+ "Sleeping face": "Rostro dormido",
223
+ "Dizzy face": "Cara Mareado",
224
+ "Face without mouth": "Cara sin boca",
225
+ "Face with medical mask": "Cara con la m\u00e1scara m\u00e9dica",
226
+
227
+ // Line breaker
228
+ "Break": "Romper",
229
+
230
+ // Math
231
+ "Subscript": "Sub\u00edndice",
232
+ "Superscript": "Super\u00edndice",
233
+
234
+ // Full screen
235
+ "Fullscreen": "Pantalla completa",
236
+
237
+ // Horizontal line
238
+ "Insert Horizontal Line": "Insertar l\u00ednea horizontal",
239
+
240
+ // Clear formatting
241
+ "Clear Formatting": "Quitar el formato",
242
+
243
+ // Undo, redo
244
+ "Undo": "Deshacer",
245
+ "Redo": "Rehacer",
246
+
247
+ // Select all
248
+ "Select All": "Seleccionar todo",
249
+
250
+ // Code view
251
+ "Code View": "Vista de c\u00f3digo",
252
+
253
+ // Quote
254
+ "Quote": "Cita",
255
+ "Increase": "Aumentar",
256
+ "Decrease": "Disminuci\u00f3n",
257
+
258
+ // Quick Insert
259
+ "Quick Insert": "Inserci\u00f3n r\u00e1pida",
260
+
261
+ // Spcial Characters
262
+ "Special Characters": "Caracteres especiales",
263
+ "Latin": "Latín",
264
+ "Greek": "Griego",
265
+ "Cyrillic": "Cirílico",
266
+ "Punctuation": "Puntuación",
267
+ "Currency": "Moneda",
268
+ "Arrows": "Flechas",
269
+ "Math": "Mates",
270
+ "Misc": "Misc",
271
+
272
+ // Print.
273
+ "Print": "Impresión",
274
+
275
+ // Spell Checker.
276
+ "Spell Checker": "Corrector ortográfico",
277
+
278
+ // Help
279
+ "Help": "Ayuda",
280
+ "Shortcuts": "Atajos",
281
+ "Inline Editor": "Editor en línea",
282
+ "Show the editor": "Mostrar al editor",
283
+ "Common actions": "Acciones comunes",
284
+ "Copy": "Dupdo",
285
+ "Cut": "Cortar",
286
+ "Paste": "Pegar",
287
+ "Basic Formatting": "Formato básico",
288
+ "Increase quote level": "Aumentar el nivel de cotización",
289
+ "Decrease quote level": "Disminuir el nivel de cotización",
290
+ "Image / Video": "Imagen / video",
291
+ "Resize larger": "Redimensionar más grande",
292
+ "Resize smaller": "Redimensionar más pequeño",
293
+ "Table": "Mesa",
294
+ "Select table cell": "Celda de tabla select",
295
+ "Extend selection one cell": "Ampliar la selección una celda",
296
+ "Extend selection one row": "Ampliar la selección una fila",
297
+ "Navigation": "Navegación",
298
+ "Focus popup / toolbar": "Focus popup / toolbar",
299
+ "Return focus to previous position": "Volver al foco a la posición anterior",
300
+
301
+ // Embed.ly
302
+ "Embed URL": "URL de inserción",
303
+ "Paste in a URL to embed": "Pegar en una url para incrustar",
304
+
305
+ // Word Paste.
306
+ "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?",
307
+ "Keep": "Guardar",
308
+ "Clean": "Limpiar",
309
+ "Word Paste Detected": "Palabra detectada"
310
+ },
311
+ direction: "ltr"
312
+ };
313
+
314
+ }));