comfortable_mexican_sofa 1.12.4 → 1.12.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/arrow_bottom.gif +0 -0
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/arrow_right.gif +0 -0
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/checkerboard.gif +0 -0
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/icon_draft.gif +0 -0
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/icon_file.gif +0 -0
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/icon_layout.gif +0 -0
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/icon_move.gif +0 -0
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/icon_page.gif +0 -0
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/icon_site.gif +0 -0
- data/app/assets/images/{comfortable_mexican_sofa → comfy/admin/cms}/icon_snippet.gif +0 -0
- data/app/assets/javascripts/comfy/admin/cms/application.js.coffee +24 -0
- data/app/assets/javascripts/{comfortable_mexican_sofa/application.js.coffee → comfy/admin/cms/base.js.coffee} +20 -32
- data/app/assets/javascripts/comfy/admin/cms/custom.js.coffee +1 -0
- data/app/assets/javascripts/{comfortable_mexican_sofa → comfy/admin}/cms/files.js.coffee +0 -0
- data/app/assets/javascripts/{comfortable_mexican_sofa → comfy/admin/cms}/lib/bootstrap-datetimepicker.js +0 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/diff.js.coffee +9 -0
- data/app/assets/javascripts/{comfortable_mexican_sofa → comfy/admin/cms}/lib/diff/diff_match_patch.min.js +0 -0
- data/app/assets/javascripts/{comfortable_mexican_sofa → comfy/admin/cms}/lib/diff/pretty_text_diff.min.js +0 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor.js +8221 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/filemanager.js +64 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/cs.js +86 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/da.js +74 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/de.js +79 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/es.js +74 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/fr.js +74 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/it.js +77 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/ja.js +75 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/nb.js +74 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/nl.js +79 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/pl.js +75 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/pt_BR.js +74 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/ru.js +75 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/sv.js +76 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/zh_CN.js +75 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/i18n/zh_TW.js +75 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/imagemanager.js +57 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/table.js +337 -0
- data/app/assets/javascripts/comfy/admin/cms/lib/redactor/video.js +77 -0
- data/app/assets/javascripts/{comfortable_mexican_sofa → comfy/admin}/cms/uploader.js.coffee +0 -2
- data/app/assets/stylesheets/comfy/admin/cms/application.sass +11 -0
- data/app/assets/stylesheets/{comfortable_mexican_sofa → comfy/admin/cms}/base.sass +15 -13
- data/app/assets/stylesheets/{comfortable_mexican_sofa → comfy/admin/cms}/bootstrap_overrides.sass +0 -0
- data/app/assets/stylesheets/{comfortable_mexican_sofa → comfy/admin/cms}/codemirror_overrides.sass +0 -0
- data/app/assets/stylesheets/comfy/admin/cms/custom.sass +1 -0
- data/app/assets/stylesheets/{comfortable_mexican_sofa → comfy/admin/cms}/lib/bootstrap-datetimepicker.css +0 -0
- data/app/assets/stylesheets/comfy/admin/cms/lib/redactor.css +921 -0
- data/app/assets/stylesheets/comfy/admin/cms/redactor_overrides.sass +20 -0
- data/app/controllers/comfy/admin/cms/base_controller.rb +3 -2
- data/app/controllers/comfy/admin/cms/files_controller.rb +52 -24
- data/app/helpers/comfy/cms_helper.rb +1 -0
- data/app/models/comfy/cms/file.rb +1 -1
- data/app/views/comfy/admin/cms/files/_page_form.html.haml +1 -1
- data/app/views/comfy/admin/cms/files/index.html.haml +1 -1
- data/app/views/layouts/comfy/admin/cms/_head.html.haml +11 -8
- data/comfortable_mexican_sofa.gemspec +0 -1
- data/lib/comfortable_mexican_sofa/engine.rb +0 -1
- data/lib/comfortable_mexican_sofa/version.rb +1 -1
- data/lib/generators/comfy/cms/assets_generator.rb +3 -3
- data/lib/generators/comfy/cms/cms_generator.rb +4 -11
- data/test/controllers/comfy/admin/cms/files_controller_test.rb +83 -31
- data/test/gemfiles/Gemfile.rails.4.0 +0 -1
- data/test/gemfiles/Gemfile.rails.4.1 +0 -1
- data/test/gemfiles/Gemfile.rails.4.2 +0 -1
- data/test/gemfiles/Gemfile.rails.master +0 -1
- data/test/generators/cms_assets_generator_test.rb +3 -3
- data/test/generators/cms_generator_test.rb +2 -6
- data/test/integration/js_variables_test.rb +20 -0
- metadata +50 -41
- data/app/assets/javascripts/comfortable_mexican_sofa/admin/application.js +0 -1
- data/app/assets/javascripts/comfortable_mexican_sofa/lib/diff.js.coffee +0 -9
- data/app/assets/stylesheets/comfortable_mexican_sofa/admin/application.css +0 -1
- data/app/assets/stylesheets/comfortable_mexican_sofa/application.sass +0 -8
- data/config/initializers/plupload.rb +0 -9
@@ -0,0 +1,64 @@
|
|
1
|
+
if (!RedactorPlugins) var RedactorPlugins = {};
|
2
|
+
|
3
|
+
(function($)
|
4
|
+
{
|
5
|
+
RedactorPlugins.filemanager = function()
|
6
|
+
{
|
7
|
+
return {
|
8
|
+
init: function()
|
9
|
+
{
|
10
|
+
if (!this.opts.fileManagerJson) return;
|
11
|
+
|
12
|
+
this.modal.addCallback('file', this.filemanager.load);
|
13
|
+
},
|
14
|
+
load: function()
|
15
|
+
{
|
16
|
+
var $modal = this.modal.getModal();
|
17
|
+
|
18
|
+
this.modal.createTabber($modal);
|
19
|
+
this.modal.addTab(1, 'Upload', 'active');
|
20
|
+
this.modal.addTab(2, 'Choose');
|
21
|
+
|
22
|
+
$('#redactor-modal-file-upload-box').addClass('redactor-tab redactor-tab1');
|
23
|
+
|
24
|
+
var $box = $('<div id="redactor-file-manager-box" style="overflow: auto; height: 300px;" class="redactor-tab redactor-tab2">').hide();
|
25
|
+
$modal.append($box);
|
26
|
+
|
27
|
+
|
28
|
+
$.ajax({
|
29
|
+
dataType: "json",
|
30
|
+
cache: false,
|
31
|
+
url: this.opts.fileManagerJson,
|
32
|
+
success: $.proxy(function(data)
|
33
|
+
{
|
34
|
+
var ul = $('<ul id="redactor-modal-list">');
|
35
|
+
$.each(data, $.proxy(function(key, val)
|
36
|
+
{
|
37
|
+
var a = $('<a href="#" title="' + val.title + '" rel="' + val.link + '" class="redactor-file-manager-link">' + val.title + ' <span style="font-size: 11px; color: #888;">' + val.name + '</span> <span style="position: absolute; right: 10px; font-size: 11px; color: #888;">(' + val.size + ')</span></a>');
|
38
|
+
var li = $('<li />');
|
39
|
+
|
40
|
+
a.on('click', $.proxy(this.filemanager.insert, this));
|
41
|
+
|
42
|
+
li.append(a);
|
43
|
+
ul.append(li);
|
44
|
+
|
45
|
+
}, this));
|
46
|
+
|
47
|
+
$('#redactor-file-manager-box').append(ul);
|
48
|
+
|
49
|
+
|
50
|
+
}, this)
|
51
|
+
});
|
52
|
+
|
53
|
+
},
|
54
|
+
insert: function(e)
|
55
|
+
{
|
56
|
+
e.preventDefault();
|
57
|
+
|
58
|
+
var $target = $(e.target).closest('.redactor-file-manager-link');
|
59
|
+
|
60
|
+
this.file.insert('<a href="' + $target.attr('rel') + '">' + $target.attr('title') + '</a>');
|
61
|
+
}
|
62
|
+
};
|
63
|
+
};
|
64
|
+
})(jQuery);
|
@@ -0,0 +1,86 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.Redactor.opts.langs['cs'] = {
|
3
|
+
html: 'HTML',
|
4
|
+
video: 'Video',
|
5
|
+
image: 'Obrázek',
|
6
|
+
table: 'Tabulka',
|
7
|
+
link: 'Odkaz',
|
8
|
+
link_insert: 'Vložit odkaz ...',
|
9
|
+
link_edit: 'Upravit odkaz',
|
10
|
+
unlink: 'Odstranit odkaz',
|
11
|
+
formatting: 'Styly',
|
12
|
+
paragraph: 'Odstavec',
|
13
|
+
quote: 'Citace',
|
14
|
+
code: 'Kód',
|
15
|
+
header1: 'Nadpis 1',
|
16
|
+
header2: 'Nadpis 2',
|
17
|
+
header3: 'Nadpis 3',
|
18
|
+
header4: 'Nadpis 4',
|
19
|
+
header5: 'Nadpis 5',
|
20
|
+
format: 'Formát',
|
21
|
+
bold: 'Tučné',
|
22
|
+
italic: 'Kurzíva',
|
23
|
+
superscript: 'Horní index',
|
24
|
+
strikethrough: 'Přeškrtnuté',
|
25
|
+
fontcolor: 'Barva písma',
|
26
|
+
backcolor: 'Barva pozadí',
|
27
|
+
removeformat: 'Odstranit formátování',
|
28
|
+
cleanformatting: 'Odstranit styly',
|
29
|
+
lists: 'Seznamy',
|
30
|
+
unorderedlist: 'Seznam s odrážkami',
|
31
|
+
orderedlist: 'Číslovaný seznam',
|
32
|
+
outdent: 'Zmenšit odsazení',
|
33
|
+
indent: 'Zvětšit odsazení',
|
34
|
+
redo: 'Vpřed',
|
35
|
+
undo: 'Zpět',
|
36
|
+
cut: 'Vyjmout',
|
37
|
+
cancel: 'Zrušit',
|
38
|
+
insert: 'Vložit',
|
39
|
+
save: 'Uložit',
|
40
|
+
_delete: 'Smazat',
|
41
|
+
insert_table: 'Vložit tabulku',
|
42
|
+
insert_row_above: 'Přidat řádek nahoru',
|
43
|
+
insert_row_below: 'Přidat řádek dolu',
|
44
|
+
insert_column_left: 'Přidat sloupec vlevo',
|
45
|
+
insert_column_right: 'Přidat sloupec vpravo',
|
46
|
+
delete_column: 'Smazat sloupec',
|
47
|
+
delete_row: 'Smazat řádek',
|
48
|
+
delete_table: 'Smazat tabulku',
|
49
|
+
rows: 'Řádky',
|
50
|
+
columns: 'Sloupce',
|
51
|
+
add_head: 'Přidat záhlaví',
|
52
|
+
delete_head: 'Smazat záhlaví',
|
53
|
+
title: 'Titulek',
|
54
|
+
image_view: 'Zobrazit obrázek',
|
55
|
+
image_position: 'Zarovnání',
|
56
|
+
none: 'Žádné',
|
57
|
+
left: 'Vlevo',
|
58
|
+
right: 'Vpravo',
|
59
|
+
image_web_link: 'Odkaz na obrázek',
|
60
|
+
text: 'Text',
|
61
|
+
mailto: 'Email',
|
62
|
+
web: 'URL adresa',
|
63
|
+
video_html_code: 'Zkopírujte kód pro vložení videa do stránky',
|
64
|
+
file: 'Soubor',
|
65
|
+
upload: 'Nahrát',
|
66
|
+
download: 'Stáhnout',
|
67
|
+
choose: 'Vybrat',
|
68
|
+
or_choose: 'nebo',
|
69
|
+
drop_file_here: 'Přetáhněte soubor do tohoto okna',
|
70
|
+
align_left: 'Zarovnat vlevo',
|
71
|
+
align_center: 'Zarovnat na střed',
|
72
|
+
align_right: 'Zarovnat vpravo',
|
73
|
+
align_justify: 'Zarovnat do bloku',
|
74
|
+
horizontalrule: 'Vodorovná čára',
|
75
|
+
fullscreen: 'Celá obrazovka',
|
76
|
+
deleted: 'Přeškrtnuté',
|
77
|
+
none: 'Žádná',
|
78
|
+
anchor: 'Záložka',
|
79
|
+
link_new_tab: 'Otevírat odkaz v novém okně',
|
80
|
+
underline: 'Podtržené',
|
81
|
+
alignment: 'Zarovnání',
|
82
|
+
filename: 'Název (volitelné)',
|
83
|
+
edit: 'Upravit',
|
84
|
+
center: 'Center'
|
85
|
+
};
|
86
|
+
})( jQuery );
|
@@ -0,0 +1,74 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.Redactor.opts.langs['da'] = {
|
3
|
+
html: 'HTML',
|
4
|
+
video: 'Indsæt Video...',
|
5
|
+
image: 'Indsæt Billede...',
|
6
|
+
table: 'Tabel',
|
7
|
+
link: 'Hyperlink',
|
8
|
+
link_insert: 'Indsæt Hyperlink ...',
|
9
|
+
link_edit: 'Rediger link',
|
10
|
+
unlink: 'Fjern Hyperlink',
|
11
|
+
formatting: 'Formatering',
|
12
|
+
paragraph: 'Paragraf',
|
13
|
+
quote: 'Citat',
|
14
|
+
code: 'Kode',
|
15
|
+
header1: 'Overskrift 1',
|
16
|
+
header2: 'Overskrift 2',
|
17
|
+
header3: 'Overskrift 3',
|
18
|
+
header4: 'Overskrift 4',
|
19
|
+
header5: 'Overskrift 5',
|
20
|
+
bold: 'Fed',
|
21
|
+
italic: 'Kursiv',
|
22
|
+
fontcolor: 'Skriftfarve',
|
23
|
+
backcolor: 'Baggrundsfarve',
|
24
|
+
unorderedlist: 'Opstilling Med Punkttegn',
|
25
|
+
orderedlist: 'Opstilling Med Tal',
|
26
|
+
outdent: 'Formindsk Indrykning',
|
27
|
+
indent: 'Forøg Indrykning',
|
28
|
+
cancel: 'Fortryd',
|
29
|
+
insert: 'Indsæt',
|
30
|
+
save: 'Gem',
|
31
|
+
_delete: 'Slet',
|
32
|
+
insert_table: 'Indsæt Tabel...',
|
33
|
+
insert_row_above: 'Indsæt Række Over',
|
34
|
+
insert_row_below: 'Indsæt Række Under',
|
35
|
+
insert_column_left: 'Indsæt Kolonne Venstre',
|
36
|
+
insert_column_right: 'Indsæt Kolonne Højre',
|
37
|
+
delete_column: 'Slet Kolonne',
|
38
|
+
delete_row: 'Slet Række',
|
39
|
+
delete_table: 'Slet Tabel',
|
40
|
+
rows: 'Rækker',
|
41
|
+
columns: 'Kolonner',
|
42
|
+
add_head: 'Indsæt Hoved',
|
43
|
+
delete_head: 'Slet Hoved',
|
44
|
+
title: 'Titel',
|
45
|
+
image_position: 'Placering',
|
46
|
+
none: 'Ingen',
|
47
|
+
left: 'Venstre',
|
48
|
+
right: 'Højre',
|
49
|
+
image_web_link: 'Billede Web Hyperlink',
|
50
|
+
text: 'Tekst',
|
51
|
+
mailto: 'Email',
|
52
|
+
web: 'URL',
|
53
|
+
video_html_code: 'Video Indlejringskode',
|
54
|
+
file: 'Indsæt Fil...',
|
55
|
+
upload: 'Upload',
|
56
|
+
download: 'Download',
|
57
|
+
choose: 'Vælg',
|
58
|
+
or_choose: 'Eller vælg',
|
59
|
+
drop_file_here: 'Træk fil her',
|
60
|
+
align_left: 'Venstrejuster',
|
61
|
+
align_center: 'Centrer',
|
62
|
+
align_right: 'Højrejuster',
|
63
|
+
align_justify: 'Juster',
|
64
|
+
horizontalrule: 'Indsæt Vandret Linje',
|
65
|
+
deleted: 'Slettet',
|
66
|
+
anchor: 'Anker',
|
67
|
+
link_new_tab: 'Åben link i ny fane',
|
68
|
+
underline: 'Understreg',
|
69
|
+
alignment: 'Justering',
|
70
|
+
filename: 'Navn (valgfrit)',
|
71
|
+
edit: 'Rediger',
|
72
|
+
center: 'Centrer'
|
73
|
+
};
|
74
|
+
})( jQuery );
|
@@ -0,0 +1,79 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.Redactor.opts.langs['de'] = {
|
3
|
+
html: 'HTML',
|
4
|
+
video: 'Video',
|
5
|
+
image: 'Bilder',
|
6
|
+
table: 'Tabelle',
|
7
|
+
link: 'Link',
|
8
|
+
link_insert: 'Link einfügen ...',
|
9
|
+
link_edit: 'Link bearbeiten',
|
10
|
+
unlink: 'Link entfernen',
|
11
|
+
formatting: 'Formatvorlagen',
|
12
|
+
paragraph: 'Absatz',
|
13
|
+
quote: 'Zitat',
|
14
|
+
code: 'Code',
|
15
|
+
header1: 'Überschrift 1',
|
16
|
+
header2: 'Überschrift 2',
|
17
|
+
header3: 'Überschrift 3',
|
18
|
+
header4: 'Überschrift 4',
|
19
|
+
header5: 'Überschrift 5',
|
20
|
+
bold: 'Fett',
|
21
|
+
italic: 'Kursiv',
|
22
|
+
fontcolor: 'Schriftfarbe',
|
23
|
+
backcolor: 'Texthervorhebungsfarbe',
|
24
|
+
unorderedlist: 'Aufzählungszeichen',
|
25
|
+
orderedlist: 'Nummerierung',
|
26
|
+
outdent: 'Einzug verkleinern',
|
27
|
+
indent: 'Einzug vergrößern',
|
28
|
+
redo: 'Wiederholen',
|
29
|
+
undo: 'Rückgängig',
|
30
|
+
cut: 'Ausschneiden',
|
31
|
+
cancel: 'Abbrechen',
|
32
|
+
insert: 'Einfügen',
|
33
|
+
save: 'Speichern',
|
34
|
+
_delete: 'Löschen',
|
35
|
+
insert_table: 'Tabelle einfügen',
|
36
|
+
insert_row_above: 'Zeile oberhalb einfügen',
|
37
|
+
insert_row_below: 'Zeile unterhalb einfügen',
|
38
|
+
insert_column_left: 'Spalte links einfügen',
|
39
|
+
insert_column_right: 'Spalte rechts einfügen',
|
40
|
+
delete_column: 'Spalte löschen',
|
41
|
+
delete_row: 'Zeile löschen',
|
42
|
+
delete_table: 'Tabelle löschen',
|
43
|
+
rows: 'Zeilen',
|
44
|
+
columns: 'Spalten',
|
45
|
+
add_head: 'Titel einfügen',
|
46
|
+
delete_head: 'Titel entfernen',
|
47
|
+
title: 'Title',
|
48
|
+
image_view: 'Bilder',
|
49
|
+
image_position: 'Textumbruch',
|
50
|
+
none: 'Keine',
|
51
|
+
left: 'Links',
|
52
|
+
right: 'Rechts',
|
53
|
+
image_web_link: 'Bilder-Link',
|
54
|
+
text: 'Text',
|
55
|
+
mailto: 'Email',
|
56
|
+
web: 'URL',
|
57
|
+
video_html_code: 'Video-Einbettungscode',
|
58
|
+
file: 'Datei',
|
59
|
+
upload: 'Hochladen',
|
60
|
+
download: 'Download',
|
61
|
+
choose: 'Auswählen',
|
62
|
+
or_choose: 'Oder, wählen Sie eine Datei aus',
|
63
|
+
drop_file_here: 'Ziehen Sie eine Datei hier hin',
|
64
|
+
align_left: 'Linksbündig',
|
65
|
+
align_center: 'Mitte',
|
66
|
+
align_right: 'Rechtsbündig',
|
67
|
+
align_justify: 'Blocksatz',
|
68
|
+
horizontalrule: 'Horizontale Linie',
|
69
|
+
fullscreen: 'Vollbild',
|
70
|
+
deleted: 'Durchgestrichen',
|
71
|
+
anchor: 'Anker',
|
72
|
+
link_new_tab: 'Link in neuem Tab öffnen',
|
73
|
+
underline: 'Unterstrichen',
|
74
|
+
alignment: 'Ausrichtung',
|
75
|
+
filename: 'Name (optional)',
|
76
|
+
edit: 'Bearbeiten',
|
77
|
+
center: 'Center'
|
78
|
+
};
|
79
|
+
})( jQuery );
|
@@ -0,0 +1,74 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.Redactor.opts.langs['es'] = {
|
3
|
+
html: 'HTML',
|
4
|
+
video: 'Insertar video...',
|
5
|
+
image: 'Insertar imagen...',
|
6
|
+
table: 'Tabla',
|
7
|
+
link: 'Enlace',
|
8
|
+
link_insert: 'Insertar enlace ...',
|
9
|
+
link_edit: 'Editar enlace',
|
10
|
+
unlink: 'Desenlazar',
|
11
|
+
formatting: 'Estilos',
|
12
|
+
paragraph: 'Texto normal',
|
13
|
+
quote: 'Cita',
|
14
|
+
code: 'Código',
|
15
|
+
header1: 'Cabecera 1',
|
16
|
+
header2: 'Cabecera 2',
|
17
|
+
header3: 'Cabecera 3',
|
18
|
+
header4: 'Cabecera 4',
|
19
|
+
header5: 'Cabecera 5',
|
20
|
+
bold: 'Negrita',
|
21
|
+
italic: 'Itálica',
|
22
|
+
fontcolor: 'Color de fuente',
|
23
|
+
backcolor: 'Color de fondo',
|
24
|
+
unorderedlist: 'Lista desordenada',
|
25
|
+
orderedlist: 'Lista ordenada',
|
26
|
+
outdent: 'Disminuir sangrado',
|
27
|
+
indent: 'Aumentar sangrado',
|
28
|
+
cancel: 'Cancelar',
|
29
|
+
insert: 'Insertar',
|
30
|
+
save: 'Guardar',
|
31
|
+
_delete: 'Borrar',
|
32
|
+
insert_table: 'Insertar tabla...',
|
33
|
+
insert_row_above: 'Añadir fila encima',
|
34
|
+
insert_row_below: 'Añadir fila debajo',
|
35
|
+
insert_column_left: 'Añadir columna a la izquierda',
|
36
|
+
insert_column_right: 'Añadir column a la derecha',
|
37
|
+
delete_column: 'Borrar columna',
|
38
|
+
delete_row: 'Borrar fila',
|
39
|
+
delete_table: 'Borrar tabla',
|
40
|
+
rows: 'Filas',
|
41
|
+
columns: 'Columnas',
|
42
|
+
add_head: 'Añadir cabecera',
|
43
|
+
delete_head: 'Borrar cabecera',
|
44
|
+
title: 'Título',
|
45
|
+
image_position: 'Posición',
|
46
|
+
none: 'Ninguna',
|
47
|
+
left: 'Izquierda',
|
48
|
+
right: 'Derecha',
|
49
|
+
image_web_link: 'Enlace web de la imágen',
|
50
|
+
text: 'Texto',
|
51
|
+
mailto: 'Email',
|
52
|
+
web: 'URL',
|
53
|
+
video_html_code: 'Código de inserción de video',
|
54
|
+
file: 'Insertar archivo...',
|
55
|
+
upload: 'Cargar',
|
56
|
+
download: 'Descargar',
|
57
|
+
choose: 'Elegir',
|
58
|
+
or_choose: 'O elegir',
|
59
|
+
drop_file_here: 'Arrastra y suelta el archivo aqui',
|
60
|
+
align_left: 'Alinear texto a la izquierda',
|
61
|
+
align_center: 'Centrar texto',
|
62
|
+
align_right: 'Alinear texto a la derecha',
|
63
|
+
align_justify: 'Justificar texto',
|
64
|
+
horizontalrule: 'Insertar línea horizontal',
|
65
|
+
deleted: 'Borrado',
|
66
|
+
anchor: 'Anchor',
|
67
|
+
link_new_tab: 'Abrir enlace en una nueva pestaña',
|
68
|
+
underline: 'Subrayado',
|
69
|
+
alignment: 'Alineación',
|
70
|
+
filename: 'Nombre (opcional)',
|
71
|
+
edit: 'Editar',
|
72
|
+
center: 'Center'
|
73
|
+
};
|
74
|
+
})( jQuery );
|
@@ -0,0 +1,74 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.Redactor.opts.langs['fr'] = {
|
3
|
+
html: 'Code HTML',
|
4
|
+
video: 'Insérer une vidéo...',
|
5
|
+
image: 'Insérer une image...',
|
6
|
+
table: 'Tableau',
|
7
|
+
link: 'Lien',
|
8
|
+
link_insert: 'Insérer un lien...',
|
9
|
+
link_edit: 'Modifier le lien',
|
10
|
+
unlink: 'Supprimer le lien',
|
11
|
+
formatting: 'Styles',
|
12
|
+
paragraph: 'Paragraphe',
|
13
|
+
quote: 'Citation',
|
14
|
+
code: 'Code',
|
15
|
+
header1: 'Titre 1',
|
16
|
+
header2: 'Titre 2',
|
17
|
+
header3: 'Titre 3',
|
18
|
+
header4: 'Titre 4',
|
19
|
+
header5: 'Titre 5',
|
20
|
+
bold: 'Gras',
|
21
|
+
italic: 'Italique',
|
22
|
+
fontcolor: 'Couleur du texte',
|
23
|
+
backcolor: 'Couleur d\'arrière plan du texte',
|
24
|
+
unorderedlist: 'Liste à puces',
|
25
|
+
orderedlist: 'Liste numérotée',
|
26
|
+
outdent: 'Diminuer le retrait',
|
27
|
+
indent: 'Augmenter le retrait',
|
28
|
+
cancel: 'Annuler',
|
29
|
+
insert: 'Insérer',
|
30
|
+
save: 'Enregistrer',
|
31
|
+
_delete: 'Supprimer',
|
32
|
+
insert_table: 'Insérer un tableau...',
|
33
|
+
insert_row_above: 'Ajouter une rangée au-dessus',
|
34
|
+
insert_row_below: 'Ajouter une rangée en-dessous',
|
35
|
+
insert_column_left: 'Ajouter une colonne à gauche',
|
36
|
+
insert_column_right: 'Ajouter une colonne à droite',
|
37
|
+
delete_column: 'Supprimer la colonne',
|
38
|
+
delete_row: 'Supprimer la rangée',
|
39
|
+
delete_table: 'Supprimer le tableau',
|
40
|
+
rows: 'Rangées',
|
41
|
+
columns: 'Colonnes',
|
42
|
+
add_head: 'Ajouter un en-tête',
|
43
|
+
delete_head: 'Supprimer l\'en-tête',
|
44
|
+
title: 'Titre',
|
45
|
+
image_position: 'Position',
|
46
|
+
none: 'Aucun',
|
47
|
+
left: 'Gauche',
|
48
|
+
right: 'Droite',
|
49
|
+
image_web_link: 'Adresse URL de l\'image',
|
50
|
+
text: 'Texte',
|
51
|
+
mailto: 'Courriel',
|
52
|
+
web: 'Adresse URL',
|
53
|
+
video_html_code: 'Code d\'intégration du video',
|
54
|
+
file: 'Insérer un fichier...',
|
55
|
+
upload: 'Téléverser',
|
56
|
+
download: 'Télécharger',
|
57
|
+
choose: 'Choisir',
|
58
|
+
or_choose: 'Ou choisissez',
|
59
|
+
drop_file_here: 'Déposez le fichier ici',
|
60
|
+
align_left: 'Aligner à gauche',
|
61
|
+
align_center: 'Aligner au centre',
|
62
|
+
align_right: 'Aligner à droite',
|
63
|
+
align_justify: 'Justifier',
|
64
|
+
horizontalrule: 'Insérer une ligne horizontale',
|
65
|
+
deleted: 'Supprimé',
|
66
|
+
anchor: 'Ancre',
|
67
|
+
link_new_tab: 'Ouvrir le lien dans un nouvel onglet',
|
68
|
+
underline: 'Souligner',
|
69
|
+
alignment: 'Alignement',
|
70
|
+
filename: 'Nom de fichier (optionnel)',
|
71
|
+
edit: 'Edit',
|
72
|
+
center: 'Center'
|
73
|
+
};
|
74
|
+
})( jQuery );
|