foundation-wysihtml5-rails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/CONTRIBUTING.md +5 -0
- data/Gemfile +4 -0
- data/README.md +82 -0
- data/Rakefile +78 -0
- data/foundation-wysihtml5-rails.gemspec +20 -0
- data/lib/foundation-wysihtml5-rails.rb +12 -0
- data/lib/foundation-wysihtml5-rails/engine.rb +9 -0
- data/lib/foundation-wysihtml5-rails/railtie.rb +5 -0
- data/lib/foundation-wysihtml5-rails/version.rb +5 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/core.js.erb +514 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/index.js +2 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/ar-AR.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/bg-BG.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/ca-CT.js +47 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/cs-CZ.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/da-DK.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/de-DE.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/el-GR.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/es-AR.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/es-ES.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/fr-FR.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/fr-NL.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/hr-HR.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/index.js +1 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/it-IT.js +47 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/ja-JP.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/ko-KR.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/lt-LT.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/mo-MD.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/nb-NB.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/nl-NL.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/pl-PL.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/pt-BR.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/ru-RU.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/sk-SK.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/sv-SE.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/tr-TR.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/ua-UA.js +49 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/zh-CN.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/locales/zh-TW.js +48 -0
- data/vendor/assets/javascripts/foundation-wysihtml5/wysihtml5.js +9523 -0
- data/vendor/assets/stylesheets/foundation-wysihtml5/core.css +106 -0
- data/vendor/assets/stylesheets/foundation-wysihtml5/index.css +3 -0
- data/vendor/assets/stylesheets/foundation-wysihtml5/wysiwyg-color.css +67 -0
- metadata +133 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* Dutch translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["nl-NL"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "Normale Tekst",
|
8
|
+
h1: "Kop 1",
|
9
|
+
h2: "Kop 2",
|
10
|
+
h3: "Kop 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "Vet",
|
14
|
+
italic: "Cursief",
|
15
|
+
underline: "Onderstrepen"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "Ongeordende lijst",
|
19
|
+
ordered: "Geordende lijst",
|
20
|
+
outdent: "Inspringen verkleinen",
|
21
|
+
indent: "Inspringen vergroten"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "Link invoegen",
|
25
|
+
cancel: "Annuleren"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "Afbeelding invoegen",
|
29
|
+
cancel: "Annuleren"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "HTML bewerken"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "Zwart",
|
36
|
+
silver: "Zilver",
|
37
|
+
gray: "Grijs",
|
38
|
+
maroon: "Kastanjebruin",
|
39
|
+
red: "Rood",
|
40
|
+
purple: "Paars",
|
41
|
+
green: "Groen",
|
42
|
+
olive: "Olijfgroen",
|
43
|
+
navy: "Donkerblauw",
|
44
|
+
blue: "Blauw",
|
45
|
+
orange: "Oranje"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* Polish translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["pl-PL"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "Tekst podstawowy",
|
8
|
+
h1: "Nagłówek 1",
|
9
|
+
h2: "Nagłówek 2",
|
10
|
+
h3: "Nagłówek 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "Pogrubienie",
|
14
|
+
italic: "Kursywa",
|
15
|
+
underline: "Podkreślenie"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "Lista wypunktowana",
|
19
|
+
ordered: "Lista numerowana",
|
20
|
+
outdent: "Zwiększ wcięcie",
|
21
|
+
indent: "Zmniejsz wcięcie"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "Wstaw odnośnik",
|
25
|
+
cancel: "Anuluj"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "Wstaw obrazek",
|
29
|
+
cancel: "Anuluj"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "Edycja HTML"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "Czarny",
|
36
|
+
silver: "Srebrny",
|
37
|
+
gray: "Szary",
|
38
|
+
maroon: "Kasztanowy",
|
39
|
+
red: "Czerwony",
|
40
|
+
purple: "Fioletowy",
|
41
|
+
green: "Zielony",
|
42
|
+
olive: "Oliwkowy",
|
43
|
+
navy: "Granatowy",
|
44
|
+
blue: "Niebieski",
|
45
|
+
orange: "Pomarańczowy"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* Brazilian portuguese translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["pt-BR"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "Texto normal",
|
8
|
+
h1: "Título 1",
|
9
|
+
h2: "Título 2",
|
10
|
+
h3: "Título 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "Negrito",
|
14
|
+
italic: "Itálico",
|
15
|
+
underline: "Sublinhado"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "Lista",
|
19
|
+
ordered: "Lista numerada",
|
20
|
+
outdent: "Remover indentação",
|
21
|
+
indent: "Indentar"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "Inserir link",
|
25
|
+
cancel: "Cancelar"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "Inserir imagem",
|
29
|
+
cancel: "Cancelar"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "Editar HTML"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "Preto",
|
36
|
+
silver: "Prata",
|
37
|
+
gray: "Cinza",
|
38
|
+
maroon: "Marrom",
|
39
|
+
red: "Vermelho",
|
40
|
+
purple: "Roxo",
|
41
|
+
green: "Verde",
|
42
|
+
olive: "Oliva",
|
43
|
+
navy: "Marinho",
|
44
|
+
blue: "Azul",
|
45
|
+
orange: "Laranja"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* Russian translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["ru-RU"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "Обычный текст",
|
8
|
+
h1: "Заголовок 1",
|
9
|
+
h2: "Заголовок 2",
|
10
|
+
h3: "Заголовок 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "Полужирный",
|
14
|
+
italic: "Курсив",
|
15
|
+
underline: "Подчёркнутый"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "Маркированный список",
|
19
|
+
ordered: "Нумерованный список",
|
20
|
+
outdent: "Уменьшить отступ",
|
21
|
+
indent: "Увеличить отступ"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "Вставить ссылку",
|
25
|
+
cancel: "Отмена"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "Вставить изображение",
|
29
|
+
cancel: "Отмена"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "HTML код"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "Чёрный",
|
36
|
+
silver: "Серебряный",
|
37
|
+
gray: "Серый",
|
38
|
+
maroon: "Коричневый",
|
39
|
+
red: "Красный",
|
40
|
+
purple: "Фиолетовый",
|
41
|
+
green: "Зелёный",
|
42
|
+
olive: "Оливковый",
|
43
|
+
navy: "Тёмно-синий",
|
44
|
+
blue: "Синий",
|
45
|
+
orange: "Оранжевый"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
49
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* Slovak translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["sk-SK"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "Normálny text",
|
8
|
+
h1: "Nadpis úrovne 1",
|
9
|
+
h2: "Nadpis úrovne 2",
|
10
|
+
h3: "Nadpis úrovne 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "Tučné",
|
14
|
+
italic: "Kurzíva",
|
15
|
+
underline: "Podčiarknuté"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "Neusporiadaný zoznam",
|
19
|
+
ordered: "Číslovaný zoznam",
|
20
|
+
outdent: "Zväčšiť odsadenie",
|
21
|
+
indent: "Zmenšiť odsadenie"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "Vložiť odkaz",
|
25
|
+
cancel: "Zrušiť"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "Vložiť obrázok",
|
29
|
+
cancel: "Zrušiť"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "Editovať HTML"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "Čierna",
|
36
|
+
silver: "Strieborná",
|
37
|
+
gray: "Šedá",
|
38
|
+
maroon: "Bordová",
|
39
|
+
red: "Červená",
|
40
|
+
purple: "Fialová",
|
41
|
+
green: "Zelená",
|
42
|
+
olive: "Olivová",
|
43
|
+
navy: "Tmavomodrá",
|
44
|
+
blue: "Modrá",
|
45
|
+
orange: "Oranžová"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* Swedish translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["sv-SE"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "Normal Text",
|
8
|
+
h1: "Rubrik 1",
|
9
|
+
h2: "Rubrik 2",
|
10
|
+
h3: "Rubrik 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "Fet",
|
14
|
+
italic: "Kursiv",
|
15
|
+
underline: "Understruken"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "Osorterad lista",
|
19
|
+
ordered: "Sorterad lista",
|
20
|
+
outdent: "Minska indrag",
|
21
|
+
indent: "Öka indrag"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "Lägg till länk",
|
25
|
+
cancel: "Avbryt"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "Lägg till Bild",
|
29
|
+
cancel: "Avbryt"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "Redigera HTML"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "Svart",
|
36
|
+
silver: "Silver",
|
37
|
+
gray: "Grå",
|
38
|
+
maroon: "Kastaniebrun",
|
39
|
+
red: "Röd",
|
40
|
+
purple: "Lila",
|
41
|
+
green: "Grön",
|
42
|
+
olive: "Olivgrön",
|
43
|
+
navy: "Marinblå",
|
44
|
+
blue: "Blå",
|
45
|
+
orange: "Orange"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* Turkish translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["tr-TR"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "Normal",
|
8
|
+
h1: "Başlık 1",
|
9
|
+
h2: "Başlık 2",
|
10
|
+
h3: "Başlık 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "Kalın",
|
14
|
+
italic: "İtalik",
|
15
|
+
underline: "Altı Çizili"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "Sırasız Liste",
|
19
|
+
ordered: "Sıralı Liste",
|
20
|
+
outdent: "Girintiyi Azalt",
|
21
|
+
indent: "Girintiyi Arttır"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "Ekle",
|
25
|
+
cancel: "Vazgeç"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "Ekle",
|
29
|
+
cancel: "Vazgeç"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "HTML Göster"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "Siyah",
|
36
|
+
silver: "Gümüş",
|
37
|
+
gray: "Gri",
|
38
|
+
maroon: "Vişne Çürüğü",
|
39
|
+
red: "Kırmızı",
|
40
|
+
purple: "Pembe",
|
41
|
+
green: "Yeşil",
|
42
|
+
olive: "Zeytin Yeşili",
|
43
|
+
navy: "Lacivert",
|
44
|
+
blue: "Mavi",
|
45
|
+
orange: "Turuncu"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* Ukrainian translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["ua-UA"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "Звичайний текст",
|
8
|
+
h1: "Заголовок 1",
|
9
|
+
h2: "Заголовок 2",
|
10
|
+
h3: "Заголовок 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "Напівжирний",
|
14
|
+
italic: "Курсив",
|
15
|
+
underline: "Підкреслений"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "Маркований список",
|
19
|
+
ordered: "Нумерований список",
|
20
|
+
outdent: "Зменшити відступ",
|
21
|
+
indent: "Збільшити відступ"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "Вставити посилання",
|
25
|
+
cancel: "Відміна"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "Вставити зображення",
|
29
|
+
cancel: "Відміна"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "HTML код"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "Чорний",
|
36
|
+
silver: "Срібний",
|
37
|
+
gray: "Сірий",
|
38
|
+
maroon: "Коричневий",
|
39
|
+
red: "Червоний",
|
40
|
+
purple: "Фіолетовий",
|
41
|
+
green: "Зелений",
|
42
|
+
olive: "Оливковий",
|
43
|
+
navy: "Темно-синій",
|
44
|
+
blue: "Синій",
|
45
|
+
orange: "Помаранчевий"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
49
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* Chinese translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["zh-CN"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "正文",
|
8
|
+
h1: "标题 1",
|
9
|
+
h2: "标题 2",
|
10
|
+
h3: "标题 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "粗体",
|
14
|
+
italic: "斜体",
|
15
|
+
underline: "下划线"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "项目符号",
|
19
|
+
ordered: "编号",
|
20
|
+
outdent: "减少缩进",
|
21
|
+
indent: "增加缩进"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "插入链接",
|
25
|
+
cancel: "取消"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "插入图片",
|
29
|
+
cancel: "取消"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "HTML代码"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "黑色",
|
36
|
+
silver: "银色",
|
37
|
+
gray: "灰色",
|
38
|
+
maroon: "赤红色",
|
39
|
+
red: "红色",
|
40
|
+
purple: "紫色",
|
41
|
+
green: "绿色",
|
42
|
+
olive: "橄榄色",
|
43
|
+
navy: "深蓝色",
|
44
|
+
blue: "蓝色",
|
45
|
+
orange: "橙色"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|
@@ -0,0 +1,48 @@
|
|
1
|
+
/**
|
2
|
+
* Chinese Traditional translation for foundation-wysihtml5
|
3
|
+
*/
|
4
|
+
(function($){
|
5
|
+
$.fn.wysihtml5.locale["zh-TW"] = {
|
6
|
+
font_styles: {
|
7
|
+
normal: "內文",
|
8
|
+
h1: "標題 1",
|
9
|
+
h2: "標題 2",
|
10
|
+
h3: "標題 3"
|
11
|
+
},
|
12
|
+
emphasis: {
|
13
|
+
bold: "粗體",
|
14
|
+
italic: "斜體",
|
15
|
+
underline: "底線"
|
16
|
+
},
|
17
|
+
lists: {
|
18
|
+
unordered: "項目符號",
|
19
|
+
ordered: "編號列表",
|
20
|
+
outdent: "減少縮排",
|
21
|
+
indent: "增加縮排"
|
22
|
+
},
|
23
|
+
link: {
|
24
|
+
insert: "插入超連結",
|
25
|
+
cancel: "取消"
|
26
|
+
},
|
27
|
+
image: {
|
28
|
+
insert: "插入圖片連結",
|
29
|
+
cancel: "取消"
|
30
|
+
},
|
31
|
+
html: {
|
32
|
+
edit: "HTML原始碼"
|
33
|
+
},
|
34
|
+
colours: {
|
35
|
+
black: "黑色",
|
36
|
+
silver: "銀色",
|
37
|
+
gray: "灰色",
|
38
|
+
maroon: "栗色",
|
39
|
+
red: "红色",
|
40
|
+
purple: "紫色",
|
41
|
+
green: "綠色",
|
42
|
+
olive: "橄欖色",
|
43
|
+
navy: "深藍色",
|
44
|
+
blue: "藍色",
|
45
|
+
orange: "橙色"
|
46
|
+
}
|
47
|
+
};
|
48
|
+
}(jQuery));
|