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.
- checksums.yaml +4 -4
- data/README.md +23 -3
- data/app/assets/javascripts/froala_editor.min.js +3 -8
- data/app/assets/javascripts/froala_editor.pkgd.min.js +3 -17
- data/app/assets/javascripts/languages/ar.js +92 -4
- data/app/assets/javascripts/languages/bs.js +92 -4
- data/app/assets/javascripts/languages/cs.js +92 -4
- data/app/assets/javascripts/languages/da.js +196 -111
- data/app/assets/javascripts/languages/de.js +167 -79
- data/app/assets/javascripts/languages/el.js +327 -0
- data/app/assets/javascripts/languages/en_ca.js +94 -6
- data/app/assets/javascripts/languages/en_gb.js +92 -4
- data/app/assets/javascripts/languages/es.js +93 -5
- data/app/assets/javascripts/languages/et.js +92 -4
- data/app/assets/javascripts/languages/fa.js +96 -8
- data/app/assets/javascripts/languages/fi.js +92 -4
- data/app/assets/javascripts/languages/fr.js +129 -41
- data/app/assets/javascripts/languages/he.js +92 -4
- data/app/assets/javascripts/languages/hr.js +92 -4
- data/app/assets/javascripts/languages/hu.js +105 -17
- data/app/assets/javascripts/languages/id.js +92 -4
- data/app/assets/javascripts/languages/it.js +198 -110
- data/app/assets/javascripts/languages/ja.js +191 -103
- data/app/assets/javascripts/languages/ko.js +116 -28
- data/app/assets/javascripts/languages/ku.js +314 -0
- data/app/assets/javascripts/languages/me.js +92 -4
- data/app/assets/javascripts/languages/nb.js +92 -4
- data/app/assets/javascripts/languages/nl.js +101 -13
- data/app/assets/javascripts/languages/pl.js +92 -4
- data/app/assets/javascripts/languages/pt_br.js +165 -77
- data/app/assets/javascripts/languages/pt_pt.js +94 -6
- data/app/assets/javascripts/languages/ro.js +92 -5
- data/app/assets/javascripts/languages/ru.js +95 -7
- data/app/assets/javascripts/languages/sk.js +92 -5
- data/app/assets/javascripts/languages/sr.js +92 -4
- data/app/assets/javascripts/languages/sv.js +121 -33
- data/app/assets/javascripts/languages/th.js +93 -5
- data/app/assets/javascripts/languages/tr.js +92 -4
- data/app/assets/javascripts/languages/{ua.js → uk.js} +93 -5
- data/app/assets/javascripts/languages/vi.js +92 -4
- data/app/assets/javascripts/languages/zh_cn.js +259 -171
- data/app/assets/javascripts/languages/zh_tw.js +92 -4
- data/app/assets/javascripts/plugins/align.min.js +3 -3
- data/app/assets/javascripts/plugins/char_counter.min.js +3 -3
- data/app/assets/javascripts/plugins/code_beautifier.min.js +3 -4
- data/app/assets/javascripts/plugins/code_view.min.js +3 -3
- data/app/assets/javascripts/plugins/colors.min.js +3 -3
- data/app/assets/javascripts/plugins/draggable.min.js +3 -3
- data/app/assets/javascripts/plugins/emoticons.min.js +3 -3
- data/app/assets/javascripts/plugins/entities.min.js +3 -3
- data/app/assets/javascripts/plugins/file.min.js +3 -3
- data/app/assets/javascripts/plugins/font_family.min.js +3 -3
- data/app/assets/javascripts/plugins/font_size.min.js +3 -3
- data/app/assets/javascripts/plugins/forms.min.js +3 -3
- data/app/assets/javascripts/plugins/fullscreen.min.js +3 -3
- data/app/assets/javascripts/plugins/help.min.js +3 -3
- data/app/assets/javascripts/plugins/image.min.js +3 -4
- data/app/assets/javascripts/plugins/image_manager.min.js +3 -3
- data/app/assets/javascripts/plugins/inline_class.min.js +7 -0
- data/app/assets/javascripts/plugins/inline_style.min.js +3 -3
- data/app/assets/javascripts/plugins/line_breaker.min.js +3 -3
- data/app/assets/javascripts/plugins/line_height.min.js +7 -0
- data/app/assets/javascripts/plugins/link.min.js +3 -3
- data/app/assets/javascripts/plugins/lists.min.js +3 -3
- data/app/assets/javascripts/plugins/paragraph_format.min.js +3 -3
- data/app/assets/javascripts/plugins/paragraph_style.min.js +3 -3
- data/app/assets/javascripts/plugins/print.min.js +3 -3
- data/app/assets/javascripts/plugins/quick_insert.min.js +3 -3
- data/app/assets/javascripts/plugins/quote.min.js +3 -3
- data/app/assets/javascripts/plugins/save.min.js +3 -3
- data/app/assets/javascripts/plugins/special_characters.min.js +3 -3
- data/app/assets/javascripts/plugins/table.min.js +3 -4
- data/app/assets/javascripts/plugins/url.min.js +3 -3
- data/app/assets/javascripts/plugins/video.min.js +3 -4
- data/app/assets/javascripts/plugins/word_paste.min.js +3 -3
- data/app/assets/javascripts/third_party/embedly.min.js +7 -0
- data/app/assets/javascripts/third_party/font_awesome.min.js +7 -0
- data/app/assets/javascripts/third_party/image_aviary.min.js +7 -0
- data/app/assets/javascripts/third_party/image_tui.min.js +7 -0
- data/app/assets/javascripts/third_party/spell_checker.min.js +7 -0
- data/app/assets/stylesheets/froala_editor.css +159 -31
- data/app/assets/stylesheets/froala_editor.min.css +3 -3
- data/app/assets/stylesheets/froala_editor.pkgd.css +274 -82
- data/app/assets/stylesheets/froala_editor.pkgd.min.css +3 -3
- data/app/assets/stylesheets/froala_style.css +174 -26
- data/app/assets/stylesheets/froala_style.min.css +3 -3
- data/app/assets/stylesheets/plugins/char_counter.css +2 -2
- data/app/assets/stylesheets/plugins/char_counter.min.css +2 -2
- data/app/assets/stylesheets/plugins/code_view.css +2 -2
- data/app/assets/stylesheets/plugins/code_view.min.css +2 -2
- data/app/assets/stylesheets/plugins/colors.css +34 -3
- data/app/assets/stylesheets/plugins/colors.min.css +3 -3
- data/app/assets/stylesheets/plugins/draggable.css +3 -3
- data/app/assets/stylesheets/plugins/draggable.min.css +3 -3
- data/app/assets/stylesheets/plugins/emoticons.css +2 -2
- data/app/assets/stylesheets/plugins/emoticons.min.css +2 -2
- data/app/assets/stylesheets/plugins/file.css +16 -16
- data/app/assets/stylesheets/plugins/file.min.css +3 -3
- data/app/assets/stylesheets/plugins/fullscreen.css +3 -3
- data/app/assets/stylesheets/plugins/fullscreen.min.css +3 -3
- data/app/assets/stylesheets/plugins/help.css +2 -2
- data/app/assets/stylesheets/plugins/help.min.css +2 -2
- data/app/assets/stylesheets/plugins/image.css +17 -16
- data/app/assets/stylesheets/plugins/image.min.css +3 -3
- data/app/assets/stylesheets/plugins/image_manager.css +4 -2
- data/app/assets/stylesheets/plugins/image_manager.min.css +3 -3
- data/app/assets/stylesheets/plugins/line_breaker.css +2 -2
- data/app/assets/stylesheets/plugins/line_breaker.min.css +2 -2
- data/app/assets/stylesheets/plugins/quick_insert.css +4 -4
- data/app/assets/stylesheets/plugins/quick_insert.min.css +3 -3
- data/app/assets/stylesheets/plugins/special_characters.css +2 -2
- data/app/assets/stylesheets/plugins/special_characters.min.css +2 -2
- data/app/assets/stylesheets/plugins/table.css +34 -4
- data/app/assets/stylesheets/plugins/table.min.css +3 -3
- data/app/assets/stylesheets/plugins/video.css +18 -18
- data/app/assets/stylesheets/plugins/video.min.css +3 -3
- data/app/assets/stylesheets/themes/dark.css +199 -45
- data/app/assets/stylesheets/themes/dark.min.css +3 -3
- data/app/assets/stylesheets/themes/gray.css +197 -43
- data/app/assets/stylesheets/themes/gray.min.css +3 -3
- data/app/assets/stylesheets/themes/red.css +198 -44
- data/app/assets/stylesheets/themes/red.min.css +3 -3
- data/app/assets/stylesheets/themes/royal.css +210 -56
- data/app/assets/stylesheets/themes/royal.min.css +3 -3
- data/app/assets/stylesheets/third_party/embedly.css +64 -0
- data/app/assets/stylesheets/third_party/embedly.min.css +7 -0
- data/app/assets/stylesheets/third_party/font_awesome.css +50 -0
- data/app/assets/stylesheets/third_party/font_awesome.min.css +7 -0
- data/app/assets/stylesheets/third_party/image_tui.css +42 -0
- data/app/assets/stylesheets/third_party/image_tui.min.css +7 -0
- data/app/assets/stylesheets/third_party/spell_checker.css +72 -0
- data/app/assets/stylesheets/{plugins → third_party}/spell_checker.min.css +2 -2
- data/lib/wysiwyg-rails/engine.rb +0 -2
- data/lib/wysiwyg-rails/version.rb +1 -1
- metadata +20 -26
- data/app/assets/javascripts/plugins/image_aviary.min.js +0 -7
- data/app/assets/javascripts/plugins/spell_checker.min.js +0 -7
@@ -1,9 +1,35 @@
|
|
1
1
|
/*!
|
2
|
-
* froala_editor v2.
|
2
|
+
* froala_editor v2.9.0 (https://www.froala.com/wysiwyg-editor)
|
3
3
|
* License https://froala.com/wysiwyg-editor/terms/
|
4
|
-
* Copyright 2014-
|
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
|
* French
|
9
35
|
*/
|
@@ -21,26 +47,27 @@ $.FE.LANGUAGE['fr'] = {
|
|
21
47
|
|
22
48
|
// Main buttons
|
23
49
|
"Insert": "Ins\u00e9rer",
|
24
|
-
"Delete": "
|
50
|
+
"Delete": "Supprimer",
|
25
51
|
"Cancel": "Annuler",
|
26
52
|
"OK": "Ok",
|
27
|
-
"Back": "
|
28
|
-
"Remove": "
|
53
|
+
"Back": "Retour",
|
54
|
+
"Remove": "Supprimer",
|
29
55
|
"More": "Plus",
|
30
56
|
"Update": "Actualiser",
|
31
57
|
"Style": "Style",
|
32
58
|
|
33
59
|
// Font
|
34
60
|
"Font Family": "Polices de caract\u00e8res",
|
35
|
-
"Font Size": "Taille de
|
61
|
+
"Font Size": "Taille de police",
|
36
62
|
|
37
63
|
// Colors
|
38
64
|
"Colors": "Couleurs",
|
39
65
|
"Background": "Arri\u00e8re-plan",
|
40
66
|
"Text": "Texte",
|
67
|
+
"HEX Color": "Couleur hexad\u00e9cimale",
|
41
68
|
|
42
69
|
// Paragraphs
|
43
|
-
"Paragraph Format": "
|
70
|
+
"Paragraph Format": "Format de paragraphe",
|
44
71
|
"Normal": "Normal",
|
45
72
|
"Code": "Code",
|
46
73
|
"Heading 1": "Titre 1",
|
@@ -57,7 +84,7 @@ $.FE.LANGUAGE['fr'] = {
|
|
57
84
|
"Align Left": "Aligner \u00e0 gauche",
|
58
85
|
"Align Center": "Aligner au centre",
|
59
86
|
"Align Right": "Aligner \u00e0 droite",
|
60
|
-
"Align Justify": "
|
87
|
+
"Align Justify": "Justifier",
|
61
88
|
"None": "Aucun",
|
62
89
|
|
63
90
|
// Lists
|
@@ -74,67 +101,73 @@ $.FE.LANGUAGE['fr'] = {
|
|
74
101
|
"Open Link": "Ouvrir le lien",
|
75
102
|
"Edit Link": "Modifier le lien",
|
76
103
|
"Unlink": "Enlever le lien",
|
77
|
-
"Choose Link": "
|
104
|
+
"Choose Link": "Choisir le lien",
|
78
105
|
|
79
106
|
// Images
|
80
107
|
"Insert Image": "Ins\u00e9rer une image",
|
81
|
-
"Upload Image": "T\u00e9l\
|
108
|
+
"Upload Image": "T\u00e9l\u00e9verser une image",
|
82
109
|
"By URL": "Par URL",
|
83
|
-
"Browse": "
|
84
|
-
"Drop image": "D\
|
85
|
-
"or click": "ou
|
86
|
-
"Manage Images": "
|
110
|
+
"Browse": "Parcourir",
|
111
|
+
"Drop image": "D\u00e9poser une image",
|
112
|
+
"or click": "ou cliquer",
|
113
|
+
"Manage Images": "G\u00e9rer les images",
|
87
114
|
"Loading": "Chargement",
|
88
115
|
"Deleting": "Suppression",
|
89
116
|
"Tags": "\u00c9tiquettes",
|
90
|
-
"Are you sure? Image will be deleted.": "Etes-vous
|
117
|
+
"Are you sure? Image will be deleted.": "Etes-vous certain? L'image sera supprim\u00e9e.",
|
91
118
|
"Replace": "Remplacer",
|
92
|
-
"Uploading": "
|
93
|
-
"Loading image": "
|
119
|
+
"Uploading": "En t\u00e9l\u00e9versement d'images",
|
120
|
+
"Loading image": "En chargement d'images",
|
94
121
|
"Display": "Afficher",
|
95
122
|
"Inline": "En ligne",
|
96
|
-
"Break Text": "
|
97
|
-
"
|
123
|
+
"Break Text": "Rompre le texte",
|
124
|
+
"Alternative Text": "Texte alternatif",
|
98
125
|
"Change Size": "Changer la dimension",
|
99
126
|
"Width": "Largeur",
|
100
127
|
"Height": "Hauteur",
|
101
128
|
"Something went wrong. Please try again.": "Quelque chose a mal tourn\u00e9. Veuillez r\u00e9essayer.",
|
129
|
+
"Image Caption": "L\u00e9gende de l'image",
|
130
|
+
"Advanced Edit": "\u00c9dition avanc\u00e9e",
|
102
131
|
|
103
132
|
// Video
|
104
133
|
"Insert Video": "Ins\u00e9rer une vid\u00e9o",
|
105
|
-
"Embedded Code": "Code
|
134
|
+
"Embedded Code": "Code int\u00e9gr\u00e9",
|
135
|
+
"Paste in a video URL": "Coller l'URL d'une vid\u00e9o",
|
136
|
+
"Drop video": "D\u00e9poser une vid\u00e9o",
|
137
|
+
"Your browser does not support HTML5 video.": "Votre navigateur ne supporte pas les vid\u00e9os en format HTML5.",
|
138
|
+
"Upload Video": "T\u00e9l\u00e9verser une vid\u00e9o",
|
106
139
|
|
107
140
|
// Tables
|
108
141
|
"Insert Table": "Ins\u00e9rer un tableau",
|
109
142
|
"Table Header": "Ent\u00eate de tableau",
|
110
|
-
"Remove Table": "
|
143
|
+
"Remove Table": "Supprimer le tableau",
|
111
144
|
"Table Style": "Style de tableau",
|
112
|
-
"Horizontal Align": "
|
145
|
+
"Horizontal Align": "Alignement horizontal",
|
113
146
|
"Row": "Ligne",
|
114
|
-
"Insert row above": "Ins\u00e9rer une ligne
|
115
|
-
"Insert row below": "Ins\u00e9rer une ligne
|
116
|
-
"Delete row": "
|
147
|
+
"Insert row above": "Ins\u00e9rer une ligne au-dessus",
|
148
|
+
"Insert row below": "Ins\u00e9rer une ligne en-dessous",
|
149
|
+
"Delete row": "Supprimer la ligne",
|
117
150
|
"Column": "Colonne",
|
118
151
|
"Insert column before": "Ins\u00e9rer une colonne avant",
|
119
152
|
"Insert column after": "Ins\u00e9rer une colonne apr\u00e8s",
|
120
|
-
"Delete column": "
|
153
|
+
"Delete column": "Supprimer la colonne",
|
121
154
|
"Cell": "Cellule",
|
122
155
|
"Merge cells": "Fusionner les cellules",
|
123
|
-
"Horizontal split": "Diviser
|
124
|
-
"Vertical split": "Diviser
|
125
|
-
"Cell Background": "
|
126
|
-
"Vertical Align": "
|
156
|
+
"Horizontal split": "Diviser horizontalement",
|
157
|
+
"Vertical split": "Diviser verticalement",
|
158
|
+
"Cell Background": "Arri\u00e8re-plan de la cellule",
|
159
|
+
"Vertical Align": "Alignement vertical",
|
127
160
|
"Top": "En haut",
|
128
|
-
"Middle": "
|
161
|
+
"Middle": "Au centre",
|
129
162
|
"Bottom": "En bas",
|
130
163
|
"Align Top": "Aligner en haut",
|
131
|
-
"Align Middle": "Aligner au
|
164
|
+
"Align Middle": "Aligner au centre",
|
132
165
|
"Align Bottom": "Aligner en bas",
|
133
166
|
"Cell Style": "Style de cellule",
|
134
167
|
|
135
168
|
// Files
|
136
|
-
"Upload File": "T\u00e9l\
|
137
|
-
"Drop file": "D\
|
169
|
+
"Upload File": "T\u00e9l\u00e9verser un fichier",
|
170
|
+
"Drop file": "D\u00e9poser un fichier",
|
138
171
|
|
139
172
|
// Emoticons
|
140
173
|
"Emoticons": "\u00c9motic\u00f4nes",
|
@@ -206,10 +239,13 @@ $.FE.LANGUAGE['fr'] = {
|
|
206
239
|
"Fullscreen": "Plein \u00e9cran",
|
207
240
|
|
208
241
|
// Horizontal line
|
209
|
-
"Insert Horizontal Line": "Ins\
|
242
|
+
"Insert Horizontal Line": "Ins\u00e9rer une ligne horizontale",
|
210
243
|
|
211
244
|
// Clear formatting
|
212
|
-
"Clear Formatting": "Effacer formatage",
|
245
|
+
"Clear Formatting": "Effacer le formatage",
|
246
|
+
|
247
|
+
// Save
|
248
|
+
"Save": "sauvegarder",
|
213
249
|
|
214
250
|
// Undo, redo
|
215
251
|
"Undo": "Annuler",
|
@@ -219,15 +255,67 @@ $.FE.LANGUAGE['fr'] = {
|
|
219
255
|
"Select All": "Tout s\u00e9lectionner",
|
220
256
|
|
221
257
|
// Code view
|
222
|
-
"Code View": "
|
258
|
+
"Code View": "Mode HTML",
|
223
259
|
|
224
260
|
// Quote
|
225
|
-
"Quote": "
|
226
|
-
"Increase": "
|
227
|
-
"Decrease": "
|
261
|
+
"Quote": "Citation",
|
262
|
+
"Increase": "Augmenter",
|
263
|
+
"Decrease": "Diminuer",
|
228
264
|
|
229
265
|
// Quick Insert
|
230
|
-
"Quick Insert": "
|
266
|
+
"Quick Insert": "Insertion rapide",
|
267
|
+
|
268
|
+
// Spcial Characters
|
269
|
+
"Special Characters": "Caract\u00e8res sp\u00e9ciaux",
|
270
|
+
"Latin": "Latin",
|
271
|
+
"Greek": "Grec",
|
272
|
+
"Cyrillic": "Cyrillique",
|
273
|
+
"Punctuation": "Ponctuation",
|
274
|
+
"Currency": "Devise",
|
275
|
+
"Arrows": "Fl\u00e8ches",
|
276
|
+
"Math": "Math",
|
277
|
+
"Misc": "Divers",
|
278
|
+
|
279
|
+
// Print.
|
280
|
+
"Print": "Imprimer",
|
281
|
+
|
282
|
+
// Spell Checker.
|
283
|
+
"Spell Checker": "Correcteur orthographique",
|
284
|
+
|
285
|
+
// Help
|
286
|
+
"Help": "Aide",
|
287
|
+
"Shortcuts": "Raccourcis",
|
288
|
+
"Inline Editor": "\u00c9diteur en ligne",
|
289
|
+
"Show the editor": "Montrer l'\u00e9diteur",
|
290
|
+
"Common actions": "Actions communes",
|
291
|
+
"Copy": "Copier",
|
292
|
+
"Cut": "Couper",
|
293
|
+
"Paste": "Coller",
|
294
|
+
"Basic Formatting": "Formatage de base",
|
295
|
+
"Increase quote level": "Augmenter le niveau de citation",
|
296
|
+
"Decrease quote level": "Diminuer le niveau de citation",
|
297
|
+
"Image / Video": "Image / vid\u00e9o",
|
298
|
+
"Resize larger": "Redimensionner plus grand",
|
299
|
+
"Resize smaller": "Redimensionner plus petit",
|
300
|
+
"Table": "Table",
|
301
|
+
"Select table cell": "S\u00e9lectionner la cellule du tableau",
|
302
|
+
"Extend selection one cell": "\u00c9tendre la s\u00e9lection d'une cellule",
|
303
|
+
"Extend selection one row": "\u00c9tendre la s\u00e9lection d'une ligne",
|
304
|
+
"Navigation": "Navigation",
|
305
|
+
"Focus popup / toolbar": "Focus popup / toolbar",
|
306
|
+
"Return focus to previous position": "Retourner l'accent sur le poste pr\u00e9c\u00e9dent",
|
307
|
+
|
308
|
+
// Embed.ly
|
309
|
+
"Embed URL": "URL int\u00e9gr\u00e9e",
|
310
|
+
"Paste in a URL to embed": "Coller une URL int\u00e9gr\u00e9e",
|
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?": "Le contenu coll\u00e9 provient d'un document Microsoft Word. Voulez-vous conserver le format ou le nettoyer?",
|
314
|
+
"Keep": "Conserver",
|
315
|
+
"Clean": "Nettoyer",
|
316
|
+
"Word Paste Detected": "Copiage de mots d\u00e9tect\u00e9"
|
231
317
|
},
|
232
318
|
direction: "ltr"
|
233
319
|
};
|
320
|
+
|
321
|
+
}));
|
@@ -1,9 +1,35 @@
|
|
1
1
|
/*!
|
2
|
-
* froala_editor v2.
|
2
|
+
* froala_editor v2.9.0 (https://www.froala.com/wysiwyg-editor)
|
3
3
|
* License https://froala.com/wysiwyg-editor/terms/
|
4
|
-
* Copyright 2014-
|
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
|
* Hebrew
|
9
35
|
*/
|
@@ -38,6 +64,7 @@ $.FE.LANGUAGE['he'] = {
|
|
38
64
|
"Colors": "\u05e6\u05d1\u05e2\u05d9\u05dd",
|
39
65
|
"Background": "\u05e8\u05e7\u05e2",
|
40
66
|
"Text": "\u05d4\u05d8\u05e1\u05d8",
|
67
|
+
"HEX Color": "צבע הקס",
|
41
68
|
|
42
69
|
// Paragraphs
|
43
70
|
"Paragraph Format": "\u05e4\u05d5\u05e8\u05de\u05d8",
|
@@ -94,15 +121,21 @@ $.FE.LANGUAGE['he'] = {
|
|
94
121
|
"Display": "\u05ea\u05e6\u05d5\u05d2\u05d4",
|
95
122
|
"Inline": "\u05d1\u05e9\u05d5\u05e8\u05d4",
|
96
123
|
"Break Text": "\u05d8\u05e7\u05e1\u05d8 \u05d4\u05e4\u05e1\u05e7\u05d4",
|
97
|
-
"
|
124
|
+
"Alternative Text": "\u05d8\u05e7\u05e1\u05d8 \u05d7\u05dc\u05d5\u05e4\u05d9",
|
98
125
|
"Change Size": "\u05d2\u05d5\u05d3\u05dc \u05e9\u05d9\u05e0\u05d5\u05d9",
|
99
126
|
"Width": "\u05e8\u05d5\u05d7\u05d1",
|
100
127
|
"Height": "\u05d2\u05d5\u05d1\u05d4",
|
101
128
|
"Something went wrong. Please try again.": "\u05de\u05e9\u05d4\u05d5 \u05d4\u05e9\u05ea\u05d1\u05e9. \u05d1\u05d1\u05e7\u05e9\u05d4 \u05e0\u05e1\u05d4 \u05e9\u05d5\u05d1.",
|
129
|
+
"Image Caption": "כיתוב תמונה",
|
130
|
+
"Advanced Edit": "עריכה מתקדמת",
|
102
131
|
|
103
132
|
// Video
|
104
133
|
"Insert Video": "\u05d4\u05d5\u05e1\u05e4\u05ea \u05d5\u05d9\u05d3\u05d9\u05d0\u05d5",
|
105
134
|
"Embedded Code": "\u05e7\u05d5\u05d3 \u05de\u05d5\u05d8\u05d1\u05e2",
|
135
|
+
"Paste in a video 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": "\u05d4\u05db\u05e0\u05e1 \u05d8\u05d1\u05dc\u05d4",
|
@@ -211,6 +244,9 @@ $.FE.LANGUAGE['he'] = {
|
|
211
244
|
// Clear formatting
|
212
245
|
"Clear Formatting": "\u05dc\u05d4\u05e1\u05d9\u05e8 \u05e2\u05d9\u05e6\u05d5\u05d1",
|
213
246
|
|
247
|
+
// Save
|
248
|
+
"Save": "\u05dc\u05d4\u05e6\u05d9\u05dc",
|
249
|
+
|
214
250
|
// Undo, redo
|
215
251
|
"Undo": "\u05d1\u05d9\u05d8\u05d5\u05dc",
|
216
252
|
"Redo": "\u05d1\u05e6\u05e2 \u05e9\u05d5\u05d1",
|
@@ -227,7 +263,59 @@ $.FE.LANGUAGE['he'] = {
|
|
227
263
|
"Decrease": "\u05d9\u05e8\u05d9\u05d3\u05d4",
|
228
264
|
|
229
265
|
// Quick Insert
|
230
|
-
"Quick Insert": "\u05db\u05e0\u05e1 \u05de\u05d4\u05d9\u05e8"
|
266
|
+
"Quick Insert": "\u05db\u05e0\u05e1 \u05de\u05d4\u05d9\u05e8",
|
267
|
+
|
268
|
+
// Spcial Characters
|
269
|
+
"Special Characters": "תווים מיוחדים",
|
270
|
+
"Latin": "לָטִינִית",
|
271
|
+
"Greek": "יווני",
|
272
|
+
"Cyrillic": "קירילית",
|
273
|
+
"Punctuation": "פיסוק",
|
274
|
+
"Currency": "מַטְבֵּעַ",
|
275
|
+
"Arrows": "חצים",
|
276
|
+
"Math": "מתמטיקה",
|
277
|
+
"Misc": "שונות",
|
278
|
+
|
279
|
+
// Print.
|
280
|
+
"Print": "הדפס",
|
281
|
+
|
282
|
+
// Spell Checker.
|
283
|
+
"Spell Checker": "בודק איות",
|
284
|
+
|
285
|
+
// Help
|
286
|
+
"Help": "עֶזרָה",
|
287
|
+
"Shortcuts": "קיצורי דרך",
|
288
|
+
"Inline Editor": "עורך מוטבע",
|
289
|
+
"Show the editor": "להראות את העורך",
|
290
|
+
"Common actions": "פעולות נפוצות",
|
291
|
+
"Copy": "עותק",
|
292
|
+
"Cut": "גזירה",
|
293
|
+
"Paste": "לְהַדבִּיק",
|
294
|
+
"Basic Formatting": "עיצוב בסיסי",
|
295
|
+
"Increase quote level": "רמת ציטוט",
|
296
|
+
"Decrease quote level": "רמת ציטוט ירידה",
|
297
|
+
"Image / Video": "תמונה / וידאו",
|
298
|
+
"Resize larger": "גודל גדול יותר",
|
299
|
+
"Resize smaller": "גודל קטן יותר",
|
300
|
+
"Table": "שולחן",
|
301
|
+
"Select table cell": "בחר תא תא - -",
|
302
|
+
"Extend selection one cell": "להאריך את הבחירה תא אחד",
|
303
|
+
"Extend selection one row": "להאריך את הבחירה שורה אחת",
|
304
|
+
"Navigation": "ניווט",
|
305
|
+
"Focus popup / toolbar": "מוקד קופץ / סרגל הכלים",
|
306
|
+
"Return focus to previous position": "חזרה להתמקד קודם",
|
307
|
+
|
308
|
+
// Embed.ly
|
309
|
+
"Embed URL": "כתובת אתר להטביע",
|
310
|
+
"Paste in a URL to embed": "הדבק כתובת אתר להטביע",
|
311
|
+
|
312
|
+
// Word Paste.
|
313
|
+
"The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?": "התוכן המודבק מגיע ממסמך Word של Microsoft. האם ברצונך לשמור את הפורמט או לנקות אותו?",
|
314
|
+
"Keep": "לִשְׁמוֹר",
|
315
|
+
"Clean": "לְנַקוֹת",
|
316
|
+
"Word Paste Detected": "הדבק מילה זוהתה"
|
231
317
|
},
|
232
318
|
direction: "rtl"
|
233
319
|
};
|
320
|
+
|
321
|
+
}));
|
@@ -1,9 +1,35 @@
|
|
1
1
|
/*!
|
2
|
-
* froala_editor v2.
|
2
|
+
* froala_editor v2.9.0 (https://www.froala.com/wysiwyg-editor)
|
3
3
|
* License https://froala.com/wysiwyg-editor/terms/
|
4
|
-
* Copyright 2014-
|
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
|
* Croatian
|
9
35
|
*/
|
@@ -38,6 +64,7 @@ $.FE.LANGUAGE['hr'] = {
|
|
38
64
|
"Colors": "Boje",
|
39
65
|
"Background": "Pozadina",
|
40
66
|
"Text": "Tekst",
|
67
|
+
"HEX Color": "Heksadecimalne boje",
|
41
68
|
|
42
69
|
// Paragraphs
|
43
70
|
"Paragraph Format": "Format odlomka",
|
@@ -94,15 +121,21 @@ $.FE.LANGUAGE['hr'] = {
|
|
94
121
|
"Display": "Prika\u017ei",
|
95
122
|
"Inline": "U liniji",
|
96
123
|
"Break Text": "Odvojeni tekst",
|
97
|
-
"
|
124
|
+
"Alternative Text": "Alternativni tekst",
|
98
125
|
"Change Size": "Promjena veli\u010dine",
|
99
126
|
"Width": "\u0160irina",
|
100
127
|
"Height": "Visina",
|
101
128
|
"Something went wrong. Please try again.": "Ne\u0161to je po\u0161lo po zlu. Molimo poku\u0161ajte ponovno.",
|
129
|
+
"Image Caption": "Opis slike",
|
130
|
+
"Advanced Edit": "Napredno uređivanje",
|
102
131
|
|
103
132
|
// Video
|
104
133
|
"Insert Video": "Umetni video",
|
105
134
|
"Embedded Code": "Ugra\u0111eni kod",
|
135
|
+
"Paste in a video URL": "Zalijepite u URL videozapisa",
|
136
|
+
"Drop video": "Ispusti video",
|
137
|
+
"Your browser does not support HTML5 video.": "Vaš preglednik ne podržava HTML video.",
|
138
|
+
"Upload Video": "Prenesi videozapis",
|
106
139
|
|
107
140
|
// Tables
|
108
141
|
"Insert Table": "Umetni tablicu",
|
@@ -211,6 +244,9 @@ $.FE.LANGUAGE['hr'] = {
|
|
211
244
|
// Clear formatting
|
212
245
|
"Clear Formatting": "Ukloni oblikovanje",
|
213
246
|
|
247
|
+
// Save
|
248
|
+
"Save": "\u0055\u0161\u0074\u0065\u0064\u006a\u0065\u0074\u0069",
|
249
|
+
|
214
250
|
// Undo, redo
|
215
251
|
"Undo": "Korak natrag",
|
216
252
|
"Redo": "Korak naprijed",
|
@@ -227,7 +263,59 @@ $.FE.LANGUAGE['hr'] = {
|
|
227
263
|
"Decrease": "Smanji",
|
228
264
|
|
229
265
|
// Quick Insert
|
230
|
-
"Quick Insert": "Brzo umetak"
|
266
|
+
"Quick Insert": "Brzo umetak",
|
267
|
+
|
268
|
+
// Spcial Characters
|
269
|
+
"Special Characters": "Posebni znakovi",
|
270
|
+
"Latin": "Latinski",
|
271
|
+
"Greek": "Grčki",
|
272
|
+
"Cyrillic": "Ćirilica",
|
273
|
+
"Punctuation": "Interpunkcija",
|
274
|
+
"Currency": "Valuta",
|
275
|
+
"Arrows": "Strelice",
|
276
|
+
"Math": "Matematika",
|
277
|
+
"Misc": "Razno",
|
278
|
+
|
279
|
+
// Print.
|
280
|
+
"Print": "Otisak",
|
281
|
+
|
282
|
+
// Spell Checker.
|
283
|
+
"Spell Checker": "Provjeritelj pravopisa",
|
284
|
+
|
285
|
+
// Help
|
286
|
+
"Help": "Pomoć",
|
287
|
+
"Shortcuts": "Prečaci",
|
288
|
+
"Inline Editor": "Inline editor",
|
289
|
+
"Show the editor": "Prikaži urednika",
|
290
|
+
"Common actions": "Zajedničke radnje",
|
291
|
+
"Copy": "Kopirati",
|
292
|
+
"Cut": "Rez",
|
293
|
+
"Paste": "Zalijepiti",
|
294
|
+
"Basic Formatting": "Osnovno oblikovanje",
|
295
|
+
"Increase quote level": "Povećati razinu citata",
|
296
|
+
"Decrease quote level": "Smanjite razinu citata",
|
297
|
+
"Image / Video": "Slika / video",
|
298
|
+
"Resize larger": "Promijenite veličinu većeg",
|
299
|
+
"Resize smaller": "Promijenite veličinu manju",
|
300
|
+
"Table": "Stol",
|
301
|
+
"Select table cell": "Odaberite stolnu ćeliju",
|
302
|
+
"Extend selection one cell": "Proširiti odabir jedne ćelije",
|
303
|
+
"Extend selection one row": "Proširite odabir jednog retka",
|
304
|
+
"Navigation": "Navigacija",
|
305
|
+
"Focus popup / toolbar": "Fokus popup / alatnoj traci",
|
306
|
+
"Return focus to previous position": "Vratiti fokus na prethodnu poziciju",
|
307
|
+
|
308
|
+
// Embed.ly
|
309
|
+
"Embed URL": "Uredi url",
|
310
|
+
"Paste in a URL to embed": "Zalijepite URL da biste ga 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?": "Zalijepi sadržaj dolazi iz Microsoft Word dokumenta. Želite li zadržati format ili očistiti?",
|
314
|
+
"Keep": "Zadržati",
|
315
|
+
"Clean": "Čist",
|
316
|
+
"Word Paste Detected": "Otkrivena je zastavica riječi"
|
231
317
|
},
|
232
318
|
direction: "ltr"
|
233
319
|
};
|
320
|
+
|
321
|
+
}));
|