foundation-wysihtml5-rails 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +3 -0
  3. data/CONTRIBUTING.md +5 -0
  4. data/Gemfile +4 -0
  5. data/README.md +82 -0
  6. data/Rakefile +78 -0
  7. data/foundation-wysihtml5-rails.gemspec +20 -0
  8. data/lib/foundation-wysihtml5-rails.rb +12 -0
  9. data/lib/foundation-wysihtml5-rails/engine.rb +9 -0
  10. data/lib/foundation-wysihtml5-rails/railtie.rb +5 -0
  11. data/lib/foundation-wysihtml5-rails/version.rb +5 -0
  12. data/vendor/assets/javascripts/foundation-wysihtml5/core.js.erb +514 -0
  13. data/vendor/assets/javascripts/foundation-wysihtml5/index.js +2 -0
  14. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ar-AR.js +49 -0
  15. data/vendor/assets/javascripts/foundation-wysihtml5/locales/bg-BG.js +49 -0
  16. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ca-CT.js +47 -0
  17. data/vendor/assets/javascripts/foundation-wysihtml5/locales/cs-CZ.js +48 -0
  18. data/vendor/assets/javascripts/foundation-wysihtml5/locales/da-DK.js +48 -0
  19. data/vendor/assets/javascripts/foundation-wysihtml5/locales/de-DE.js +49 -0
  20. data/vendor/assets/javascripts/foundation-wysihtml5/locales/el-GR.js +48 -0
  21. data/vendor/assets/javascripts/foundation-wysihtml5/locales/es-AR.js +49 -0
  22. data/vendor/assets/javascripts/foundation-wysihtml5/locales/es-ES.js +48 -0
  23. data/vendor/assets/javascripts/foundation-wysihtml5/locales/fr-FR.js +49 -0
  24. data/vendor/assets/javascripts/foundation-wysihtml5/locales/fr-NL.js +48 -0
  25. data/vendor/assets/javascripts/foundation-wysihtml5/locales/hr-HR.js +48 -0
  26. data/vendor/assets/javascripts/foundation-wysihtml5/locales/index.js +1 -0
  27. data/vendor/assets/javascripts/foundation-wysihtml5/locales/it-IT.js +47 -0
  28. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ja-JP.js +49 -0
  29. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ko-KR.js +49 -0
  30. data/vendor/assets/javascripts/foundation-wysihtml5/locales/lt-LT.js +48 -0
  31. data/vendor/assets/javascripts/foundation-wysihtml5/locales/mo-MD.js +48 -0
  32. data/vendor/assets/javascripts/foundation-wysihtml5/locales/nb-NB.js +49 -0
  33. data/vendor/assets/javascripts/foundation-wysihtml5/locales/nl-NL.js +48 -0
  34. data/vendor/assets/javascripts/foundation-wysihtml5/locales/pl-PL.js +48 -0
  35. data/vendor/assets/javascripts/foundation-wysihtml5/locales/pt-BR.js +48 -0
  36. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ru-RU.js +49 -0
  37. data/vendor/assets/javascripts/foundation-wysihtml5/locales/sk-SK.js +48 -0
  38. data/vendor/assets/javascripts/foundation-wysihtml5/locales/sv-SE.js +48 -0
  39. data/vendor/assets/javascripts/foundation-wysihtml5/locales/tr-TR.js +48 -0
  40. data/vendor/assets/javascripts/foundation-wysihtml5/locales/ua-UA.js +49 -0
  41. data/vendor/assets/javascripts/foundation-wysihtml5/locales/zh-CN.js +48 -0
  42. data/vendor/assets/javascripts/foundation-wysihtml5/locales/zh-TW.js +48 -0
  43. data/vendor/assets/javascripts/foundation-wysihtml5/wysihtml5.js +9523 -0
  44. data/vendor/assets/stylesheets/foundation-wysihtml5/core.css +106 -0
  45. data/vendor/assets/stylesheets/foundation-wysihtml5/index.css +3 -0
  46. data/vendor/assets/stylesheets/foundation-wysihtml5/wysiwyg-color.css +67 -0
  47. metadata +133 -0
@@ -0,0 +1,2 @@
1
+ //= require ./wysihtml5
2
+ //= require ./core
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Arabic translation for foundation-wysihtml5
3
+ */
4
+ (function($){
5
+ $.fn.wysihtml5.locale["mo-MD"] = {
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
+
35
+ colours: {
36
+ black: "أسود",
37
+ silver: "فضي",
38
+ gray: "رمادي",
39
+ maroon: "بني",
40
+ red: "أحمر",
41
+ purple: "بنفسجي",
42
+ green: "أخضر",
43
+ olive: "زيتوني",
44
+ navy: "أزرق قاتم",
45
+ blue: "أزرق نيلي",
46
+ orange: "برتقالي"
47
+ }
48
+ };
49
+ }(jQuery));
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Bulgarian translation for foundation-wysihtml5
3
+ */
4
+ (function($){
5
+ $.fn.wysihtml5.locale["bg-BG"] = {
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,47 @@
1
+ /**
2
+ * Catalan translation for foundation-wysihtml5
3
+ */
4
+ (function($){
5
+ $.fn.wysihtml5.locale["ca-CT"] = {
6
+ font_styles: {
7
+ normal: "Text normal",
8
+ h1: "Títol 1",
9
+ h2: "Títol 2"
10
+ },
11
+ emphasis: {
12
+ bold: "Negreta",
13
+ italic: "Cursiva",
14
+ underline: "Subratllat"
15
+ },
16
+ lists: {
17
+ unordered: "Llista desordenada",
18
+ ordered: "Llista ordenada",
19
+ outdent: "Esborrar tabulació",
20
+ indent: "Afegir tabulació"
21
+ },
22
+ link: {
23
+ insert: "Afegir enllaç",
24
+ cancel: "Cancelar"
25
+ },
26
+ image: {
27
+ insert: "Afegir imatge",
28
+ cancel: "Cancelar"
29
+ },
30
+ html: {
31
+ edit: "Editar HTML"
32
+ },
33
+ colours: {
34
+ black: "Negre",
35
+ silver: "Plata",
36
+ gray: "Gris",
37
+ maroon: "Marró",
38
+ red: "Vermell",
39
+ purple: "Porpre",
40
+ green: "Verd",
41
+ olive: "Oliva",
42
+ navy: "Blau marí",
43
+ blue: "Blau",
44
+ orange: "Taronja"
45
+ }
46
+ };
47
+ }(jQuery));
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Czech translation for foundation-wysihtml5
3
+ */
4
+ (function($){
5
+ $.fn.wysihtml5.locale["cs-CZ"] = {
6
+ font_styles: {
7
+ normal: "Normální text",
8
+ h1: "Nadpis úrovně 1",
9
+ h2: "Nadpis úrovně 2",
10
+ h3: "Nadpis úrovně 3"
11
+ },
12
+ emphasis: {
13
+ bold: "Tučné",
14
+ italic: "Kurzíva",
15
+ underline: "Podtržení"
16
+ },
17
+ lists: {
18
+ unordered: "Seznam s odrážkami",
19
+ ordered: "Číslovaný seznam",
20
+ outdent: "Zvětšit odsazení",
21
+ indent: "Zmenšit odsazení"
22
+ },
23
+ link: {
24
+ insert: "Vložit odkaz",
25
+ cancel: "Zrušit"
26
+ },
27
+ image: {
28
+ insert: "Vložit obrázek",
29
+ cancel: "Zrušit"
30
+ },
31
+ html: {
32
+ edit: "Upravit HTML"
33
+ },
34
+ colours: {
35
+ black: "Černá",
36
+ silver: "Stříbrná",
37
+ gray: "Šedá",
38
+ maroon: "Vínová",
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
+ * Danish translations
3
+ */
4
+ (function($){
5
+ $.fn.wysihtml5.locale["da-DK"] = {
6
+ font_styles: {
7
+ normal: "Normal tekst",
8
+ h1: "Overskrift 1",
9
+ h2: "Overskrift 2",
10
+ h3: "Overskrift 3"
11
+ },
12
+ emphasis: {
13
+ bold: "Fed",
14
+ italic: "Kursiv",
15
+ underline: "Understreget"
16
+ },
17
+ lists: {
18
+ unordered: "Uordnet liste",
19
+ ordered: "Ordnet liste",
20
+ outdent: "Udryk",
21
+ indent: "Indryk"
22
+ },
23
+ link: {
24
+ insert: "Indsæt Link",
25
+ cancel: "Annuler"
26
+ },
27
+ image: {
28
+ insert: "Indsæt billede",
29
+ cancel: "Annuler"
30
+ },
31
+ html: {
32
+ edit: "Rediger HTML"
33
+ },
34
+ colours: {
35
+ black: "Sort",
36
+ silver: "Sølv",
37
+ gray: "Grå",
38
+ maroon: "Mørkerød",
39
+ red: "Rød",
40
+ purple: "Lilla",
41
+ green: "Grøn",
42
+ olive: "Lysegrøn",
43
+ navy: "Mørkeblå",
44
+ blue: "Blå",
45
+ orange: "Orange"
46
+ }
47
+ };
48
+ }(jQuery));
@@ -0,0 +1,49 @@
1
+ /**
2
+ * German translation for foundation-wysihtml5
3
+ */
4
+ (function($){
5
+ $.fn.wysihtml5.locale["de-DE"] = {
6
+ font_styles: {
7
+ normal: "Normaler Text",
8
+ h1: "Überschrift 1",
9
+ h2: "Überschrift 2",
10
+ h3: "Überschrift 3"
11
+ },
12
+ emphasis: {
13
+ bold: "Fett",
14
+ italic: "Kursiv",
15
+ underline: "Unterstrichen"
16
+ },
17
+ lists: {
18
+ unordered: "Ungeordnete Liste",
19
+ ordered: "Geordnete Liste",
20
+ outdent: "Einzug verkleinern",
21
+ indent: "Einzug vergrößern"
22
+ },
23
+ link: {
24
+ insert: "Link einfügen",
25
+ cancel: "Abbrechen",
26
+ target: "Link in neuen Fenster öffnen"
27
+ },
28
+ image: {
29
+ insert: "Bild einfügen",
30
+ cancel: "Abbrechen"
31
+ },
32
+ html: {
33
+ edit: "HTML bearbeiten"
34
+ },
35
+ colours: {
36
+ black: "Schwarz",
37
+ silver: "Silber",
38
+ gray: "Grau",
39
+ maroon: "Kastanienbraun",
40
+ red: "Rot",
41
+ purple: "Violett",
42
+ green: "Grün",
43
+ olive: "Olivgrün",
44
+ navy: "Marineblau",
45
+ blue: "Blau",
46
+ orange: "Orange"
47
+ }
48
+ };
49
+ }(jQuery));
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Greek translation for foundation-wysihtml5
3
+ */
4
+ (function($){
5
+ $.fn.wysihtml5.locale["el-GR"] = {
6
+ font_styles: {
7
+ normal: "Απλό κείμενο",
8
+ h1: "Κεφαλίδα 1",
9
+ h2: "Κεφαλίδα 2",
10
+ h3: "Κεφαλίδα 3"
11
+ },
12
+ emphasis: {
13
+ bold: "B",
14
+ italic: "I",
15
+ underline: "U"
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,49 @@
1
+ /**
2
+ * Spanish Argenina translation for foundation-wysihtml5
3
+ */
4
+
5
+ (function($){
6
+ $.fn.wysihtml5.locale["es-AR"] = {
7
+ font_styles: {
8
+ normal: "Texto normal",
9
+ h1: "Título 1",
10
+ h2: "Título 2",
11
+ h3: "Título 3"
12
+ },
13
+ emphasis: {
14
+ bold: "Negrita",
15
+ italic: "Itálica",
16
+ underline: "Subrayado"
17
+ },
18
+ lists: {
19
+ ordered: "Lista ordenada",
20
+ unordered: "Lista desordenada",
21
+ indent: "Agregar sangría",
22
+ outdent: "Eliminar sangría"
23
+ },
24
+ link: {
25
+ insert: "Insertar enlace",
26
+ cancel: "Cancelar"
27
+ },
28
+ image: {
29
+ insert: "Insertar imágen",
30
+ cancel: "Cancelar"
31
+ },
32
+ html: {
33
+ edit: "Editar HTML"
34
+ },
35
+ colours: {
36
+ black: "Negro",
37
+ silver: "Plata",
38
+ gray: "Gris",
39
+ maroon: "Marrón",
40
+ red: "Rojo",
41
+ purple: "Púrpura",
42
+ green: "Verde",
43
+ olive: "Oliva",
44
+ navy: "Azul Marino",
45
+ blue: "Azul",
46
+ orange: "Naranja"
47
+ }
48
+ };
49
+ }(jQuery));
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Uruguayan spanish translation for foundation-wysihtml5
3
+ */
4
+ (function($){
5
+ $.fn.wysihtml5.locale["es-ES"] = {
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: "Negrita",
14
+ italic: "Itálica",
15
+ underline: "Subrayado"
16
+ },
17
+ lists: {
18
+ unordered: "Lista desordenada",
19
+ ordered: "Lista ordenada",
20
+ outdent: "Eliminar sangría",
21
+ indent: "Agregar sangría"
22
+ },
23
+ link: {
24
+ insert: "Insertar enlace",
25
+ cancel: "Cancelar"
26
+ },
27
+ image: {
28
+ insert: "Insertar imágen",
29
+ cancel: "Cancelar"
30
+ },
31
+ html: {
32
+ edit: "Editar HTML"
33
+ },
34
+ colours: {
35
+ black: "Negro",
36
+ silver: "Plata",
37
+ gray: "Gris",
38
+ maroon: "Marrón",
39
+ red: "Rojo",
40
+ purple: "Púrpura",
41
+ green: "Verde",
42
+ olive: "Oliva",
43
+ navy: "Azul Marino",
44
+ blue: "Azul",
45
+ orange: "Naranja"
46
+ }
47
+ };
48
+ }(jQuery));