jwysiwyg_rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/.document +5 -0
  2. data/Gemfile +14 -0
  3. data/Gemfile.lock +98 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.rdoc +19 -0
  6. data/Rakefile +53 -0
  7. data/VERSION +1 -0
  8. data/app/assets/images/ajax-loader.gif +0 -0
  9. data/app/assets/images/jquery.wysiwyg.bg.png +0 -0
  10. data/app/assets/images/jquery.wysiwyg.gif +0 -0
  11. data/app/assets/images/jquery.wysiwyg.jpg +0 -0
  12. data/app/assets/images/jquery.wysiwyg.no-alpha.gif +0 -0
  13. data/app/assets/images/plugins/fileManager/icon.png +0 -0
  14. data/app/assets/images/plugins/fileManager/images/application.png +0 -0
  15. data/app/assets/images/plugins/fileManager/images/code.png +0 -0
  16. data/app/assets/images/plugins/fileManager/images/css.png +0 -0
  17. data/app/assets/images/plugins/fileManager/images/db.png +0 -0
  18. data/app/assets/images/plugins/fileManager/images/directory.png +0 -0
  19. data/app/assets/images/plugins/fileManager/images/doc.png +0 -0
  20. data/app/assets/images/plugins/fileManager/images/file.png +0 -0
  21. data/app/assets/images/plugins/fileManager/images/film.png +0 -0
  22. data/app/assets/images/plugins/fileManager/images/flash.png +0 -0
  23. data/app/assets/images/plugins/fileManager/images/folder_open.png +0 -0
  24. data/app/assets/images/plugins/fileManager/images/html.png +0 -0
  25. data/app/assets/images/plugins/fileManager/images/java.png +0 -0
  26. data/app/assets/images/plugins/fileManager/images/linux.png +0 -0
  27. data/app/assets/images/plugins/fileManager/images/mkdir.png +0 -0
  28. data/app/assets/images/plugins/fileManager/images/music.png +0 -0
  29. data/app/assets/images/plugins/fileManager/images/pdf.png +0 -0
  30. data/app/assets/images/plugins/fileManager/images/php.png +0 -0
  31. data/app/assets/images/plugins/fileManager/images/picture.png +0 -0
  32. data/app/assets/images/plugins/fileManager/images/ppt.png +0 -0
  33. data/app/assets/images/plugins/fileManager/images/prev-directory.png +0 -0
  34. data/app/assets/images/plugins/fileManager/images/psd.png +0 -0
  35. data/app/assets/images/plugins/fileManager/images/remove.png +0 -0
  36. data/app/assets/images/plugins/fileManager/images/rename.png +0 -0
  37. data/app/assets/images/plugins/fileManager/images/ruby.png +0 -0
  38. data/app/assets/images/plugins/fileManager/images/script.png +0 -0
  39. data/app/assets/images/plugins/fileManager/images/txt.png +0 -0
  40. data/app/assets/images/plugins/fileManager/images/upload.png +0 -0
  41. data/app/assets/images/plugins/fileManager/images/xls.png +0 -0
  42. data/app/assets/images/plugins/fileManager/images/zip.png +0 -0
  43. data/app/assets/javascripts/controls/wysiwyg.colorpicker.js +250 -0
  44. data/app/assets/javascripts/controls/wysiwyg.cssWrap.js +134 -0
  45. data/app/assets/javascripts/controls/wysiwyg.image.js +285 -0
  46. data/app/assets/javascripts/controls/wysiwyg.link.js +249 -0
  47. data/app/assets/javascripts/controls/wysiwyg.table.js +129 -0
  48. data/app/assets/javascripts/i18n/lang.cs.js +116 -0
  49. data/app/assets/javascripts/i18n/lang.de.js +94 -0
  50. data/app/assets/javascripts/i18n/lang.en.js +117 -0
  51. data/app/assets/javascripts/i18n/lang.es.js +94 -0
  52. data/app/assets/javascripts/i18n/lang.fr.js +94 -0
  53. data/app/assets/javascripts/i18n/lang.he.js +94 -0
  54. data/app/assets/javascripts/i18n/lang.hr.js +98 -0
  55. data/app/assets/javascripts/i18n/lang.it.js +94 -0
  56. data/app/assets/javascripts/i18n/lang.ja.js +95 -0
  57. data/app/assets/javascripts/i18n/lang.nl.js +94 -0
  58. data/app/assets/javascripts/i18n/lang.pl.js +94 -0
  59. data/app/assets/javascripts/i18n/lang.pt_br.js +94 -0
  60. data/app/assets/javascripts/i18n/lang.ru.js +117 -0
  61. data/app/assets/javascripts/i18n/lang.se.js +94 -0
  62. data/app/assets/javascripts/i18n/lang.sl.js +94 -0
  63. data/app/assets/javascripts/i18n/lang.zh-cn.js +93 -0
  64. data/app/assets/javascripts/plugins/wysiwyg.autoload.js +61 -0
  65. data/app/assets/javascripts/plugins/wysiwyg.fileManager.js +572 -0
  66. data/app/assets/javascripts/plugins/wysiwyg.fullscreen.js +141 -0
  67. data/app/assets/javascripts/plugins/wysiwyg.i18n.js +99 -0
  68. data/app/assets/javascripts/plugins/wysiwyg.rmFormat.js +357 -0
  69. data/app/assets/stylesheets/jquery.wysiwyg.css +95 -0
  70. data/app/assets/stylesheets/jquery.wysiwyg.modal.css +62 -0
  71. data/app/assets/stylesheets/jquery.wysiwyg.old-school.css +63 -0
  72. data/app/assets/stylesheets/jwysiwyg.css +1 -0
  73. data/app/assets/stylesheets/plugins/fileManager/wysiwyg.fileManager.css +113 -0
  74. data/jwysiwyg_rails.gemspec +129 -0
  75. data/lib/engine.rb +8 -0
  76. data/lib/jwysiwyg_rails.rb +14 -0
  77. data/test/helper.rb +18 -0
  78. data/test/test_jwysiwyg_rails.rb +7 -0
  79. metadata +219 -0
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Internationalization: English language
3
+ *
4
+ * Depends on jWYSIWYG, $.wysiwyg.i18n
5
+ *
6
+ * By: Tudmotu, frost-nzcr4 on github.com
7
+ * Yotam Bar-On
8
+ */
9
+ (function ($) {
10
+ if (undefined === $.wysiwyg) {
11
+ throw "lang.he.js depends on $.wysiwyg";
12
+ }
13
+ if (undefined === $.wysiwyg.i18n) {
14
+ throw "lang.he.js depends on $.wysiwyg.i18n";
15
+ }
16
+
17
+ $.wysiwyg.i18n.lang.he = {
18
+ controls: {
19
+ "Bold": "מודגש",
20
+ "Colorpicker": "פלטת צבעים",
21
+ "Copy": "העתק",
22
+ "Create link": "צור קישור",
23
+ "Cut": "חתוך",
24
+ "Decrease font size": "הקטן גופן",
25
+ "Fullscreen": "מסך מלא",
26
+ "Header 1": "כותרת 1",
27
+ "Header 2": "כותרת 2",
28
+ "Header 3": "כותרת 3",
29
+ "View source code": "הצג קוד מקור",
30
+ "Increase font size": "הגדל גופן",
31
+ "Indent": "הגדל הזחה",
32
+ "Insert Horizontal Rule": "הכנס קו אופקי",
33
+ "Insert image": "הוסף תמונה",
34
+ "Insert Ordered List": "הוספך רשימה ממוספרת",
35
+ "Insert table": "הוסף טבלה",
36
+ "Insert Unordered List": "הוספת רשימה בלתי ממוספרת",
37
+ "Italic": "נטוי",
38
+ "Justify Center": "מרכז",
39
+ "Justify Full": "יישור לשוליים",
40
+ "Justify Left": "הצמד לשמאל",
41
+ "Justify Right": "הצמד לימין",
42
+ "Left to Right": "שמאל לימין",
43
+ "Outdent": "הורד הזחה",
44
+ "Paste": "הדבק",
45
+ "Redo": "עשה שוב",
46
+ "Remove formatting": "הסר עיצוב",
47
+ "Right to Left": "ימין לשמאל",
48
+ "Strike-through": "כיתוב מחוק",
49
+ "Subscript": "כתיב עילי",
50
+ "Superscript": "כתיב תחתי",
51
+ "Underline": "קו תחתון",
52
+ "Undo": "בטל פעולה"
53
+ },
54
+
55
+ dialogs: {
56
+ // for all
57
+ "Apply": "החל",
58
+ "Cancel": "בטל",
59
+
60
+ colorpicker: {
61
+ "Colorpicker": "פלטת צבעים",
62
+ "Color": "צבע"
63
+ },
64
+
65
+ image: {
66
+ "Insert Image": "הכנס תמונה",
67
+ "Preview": "תצוגה מקדימה",
68
+ "URL": "כתובת רשת",
69
+ "Title": "כותרת",
70
+ "Description": "תיאור",
71
+ "Width": "רוחב",
72
+ "Height": "גובה",
73
+ "Original W x H": "מימדים מקוריים",
74
+ "Float": "צף",
75
+ "None": "שום כיוון",
76
+ "Left": "שמאל",
77
+ "Right": "ימין"
78
+ },
79
+
80
+ link: {
81
+ "Insert Link": "צור קישור",
82
+ "Link URL": "כתובת רשת",
83
+ "Link Title": "כותרת",
84
+ "Link Target": "מטרה"
85
+ },
86
+
87
+ table: {
88
+ "Insert table": "הוסף טבלה",
89
+ "Count of columns": "מספר עמודות",
90
+ "Count of rows": "מספר שורות"
91
+ }
92
+ }
93
+ };
94
+ })(jQuery);
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Internationalization: Croatian language
3
+ *
4
+ * Depends on jWYSIWYG, $.wysiwyg.i18n
5
+ *
6
+ * By: Boris Strahija (bstrahija) <boris@creolab.hr>
7
+ *
8
+ */
9
+ (function ($) {
10
+ if (undefined === $.wysiwyg) {
11
+ throw "lang.hr.js depends on $.wysiwyg";
12
+ }
13
+ if (undefined === $.wysiwyg.i18n) {
14
+ throw "lang.hr.js depends on $.wysiwyg.i18n";
15
+ }
16
+
17
+ $.wysiwyg.i18n.lang.hr = {
18
+ controls: {
19
+ "Bold": "Podebljano",
20
+ "Colorpicker": "Izbor boje",
21
+ "Copy": "Kopiraj",
22
+ "Create link": "Umetni link",
23
+ "Cut": "Izreži",
24
+ "Decrease font size": "Smanji font",
25
+ "Fullscreen": "Cijeli ekran",
26
+ "Header 1": "Naslov 1",
27
+ "Header 2": "Naslov 2",
28
+ "Header 3": "Naslov 3",
29
+ "Header 4": "Naslov 4",
30
+ "Header 5": "Naslov 5",
31
+ "Header 6": "Naslov 6",
32
+ "View source code": "Kod",
33
+ "Increase font size": "Povećaj font",
34
+ "Indent": "Uvuci",
35
+ "Insert Horizontal Rule": "Horizontalna linija",
36
+ "Insert image": "Umetni sliku",
37
+ "Insert Ordered List": "Numerirana lista",
38
+ "Insert table": "Umetni tabelu",
39
+ "Insert Unordered List": "Nenumerirana lista",
40
+ "Italic": "Ukošeno",
41
+ "Justify Center": "Centriraj",
42
+ "Justify Full": "Poravnaj obostrano",
43
+ "Justify Left": "Poravnaj lijevo",
44
+ "Justify Right": "Poravnaj desno",
45
+ "Left to Right": "Lijevo na desno",
46
+ "Outdent": "Izvuci",
47
+ "Paste": "Zalijepi",
48
+ "Redo": "Ponovi",
49
+ "Remove formatting": "Poništi oblikovanje",
50
+ "Right to Left": "Desno na lijevo",
51
+ "Strike-through": "Precrtano",
52
+ "Subscript": "Indeks",
53
+ "Superscript": "Eksponent",
54
+ "Underline": "Podcrtano",
55
+ "Undo": "Poništi",
56
+ "Code snippet": "Isječak koda"
57
+ },
58
+
59
+ dialogs: {
60
+ // for all
61
+ "Apply": "Primjeni",
62
+ "Cancel": "Odustani",
63
+
64
+ colorpicker: {
65
+ "Colorpicker": "Izbor boje",
66
+ "Color": "Boja"
67
+ },
68
+
69
+ image: {
70
+ "Insert Image": "Umetni sliku",
71
+ "Preview": "Predprikaz",
72
+ "URL": "URL",
73
+ "Title": "Naslov",
74
+ "Description": "Opis",
75
+ "Width": "Širina",
76
+ "Height": "Visina",
77
+ "Original W x H": "Originalna Š x V",
78
+ "Float": "",
79
+ "None": "Nema",
80
+ "Left": "Lijevo",
81
+ "Right": "Desno"
82
+ },
83
+
84
+ link: {
85
+ "Insert Link": "Umetni link",
86
+ "Link URL": "URL linka",
87
+ "Link Title": "Naslov linka",
88
+ "Link Target": "Meta linka"
89
+ },
90
+
91
+ table: {
92
+ "Insert table": "Umetni tabelu",
93
+ "Count of columns": "Broj kolona",
94
+ "Count of rows": "Broj redova"
95
+ }
96
+ }
97
+ };
98
+ })(jQuery);
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Internationalization: italian language
3
+ *
4
+ * Depends on jWYSIWYG, $.wysiwyg.i18n
5
+ *
6
+ * By: Mauro Franceschini <mauro.franceschini@gmail.com>
7
+ *
8
+ */
9
+ (function ($) {
10
+ if (undefined === $.wysiwyg) {
11
+ throw "lang.it.js depends on $.wysiwyg";
12
+ }
13
+ if (undefined === $.wysiwyg.i18n) {
14
+ throw "lang.it.js depends on $.wysiwyg.i18n";
15
+ }
16
+
17
+ $.wysiwyg.i18n.lang.it = {
18
+ controls: {
19
+ "Bold": "Grassetto",
20
+ "Colorpicker": "Scegli un colore",
21
+ "Copy": "Copia",
22
+ "Create link": "Crea collegamento",
23
+ "Cut": "Taglia",
24
+ "Decrease font size": "Diminuisci dimensione testo",
25
+ "Fullscreen": "Schermo intero",
26
+ "Header 1": "Titolo 1",
27
+ "Header 2": "Titolo 2",
28
+ "Header 3": "Titolo 3",
29
+ "View source code": "Visualizza codice sorgente",
30
+ "Increase font size": "Aumenta dimensione testo",
31
+ "Indent": "Aumenta il rientro",
32
+ "Insert Horizontal Rule": "Inserisci separatore orizzontale",
33
+ "Insert image": "Inserisci immagine",
34
+ "Insert Ordered List": "Inserisci lista ordinata",
35
+ "Insert table": "Inserisci tabella",
36
+ "Insert Unordered List": "Inserisci lista non ordinata",
37
+ "Italic": "Corsivo",
38
+ "Justify Center": "Centrato",
39
+ "Justify Full": "Giustificato",
40
+ "Justify Left": "Allineato a sinistra",
41
+ "Justify Right": "Allineato a destra",
42
+ "Left to Right": "Da sinistra a destra",
43
+ "Outdent": "Riduci il rientro",
44
+ "Paste": "Incolla",
45
+ "Redo": "Ripristina",
46
+ "Remove formatting": "Cancella formattazione",
47
+ "Right to Left": "Da destra a sinistra",
48
+ "Strike-through": "Barrato",
49
+ "Subscript": "Pedice",
50
+ "Superscript": "Apice",
51
+ "Underline": "Sottolineato",
52
+ "Undo": "Annulla"
53
+ },
54
+
55
+ dialogs: {
56
+ // for all
57
+ "Apply": "Applica",
58
+ "Cancel": "Annulla",
59
+
60
+ colorpicker: {
61
+ "Colorpicker": "Scegli un colore",
62
+ "Color": "Colore"
63
+ },
64
+
65
+ image: {
66
+ "Insert Image": "Inserisci immagine",
67
+ "Preview": "Anteprima",
68
+ "URL": "Indirizzo internet (URL)",
69
+ "Title": "Titolo",
70
+ "Description": "Descrizione",
71
+ "Width": "Larghezza",
72
+ "Height": "Altezza",
73
+ "Original W x H": "Dimensioni originali (L x A)",
74
+ "Float": "",
75
+ "None": "",
76
+ "Left": "",
77
+ "Right": ""
78
+ },
79
+
80
+ link: {
81
+ "Insert Link": "Inserisci collegamento",
82
+ "Link URL": "Indirizzo internet (URL)",
83
+ "Link Title": "Titolo",
84
+ "Link Target": "Destinazione"
85
+ },
86
+
87
+ table: {
88
+ "Insert table": "Inserisci tabella",
89
+ "Count of columns": "Numero di colonne",
90
+ "Count of rows": "Numero di righe"
91
+ }
92
+ }
93
+ };
94
+ })(jQuery);
@@ -0,0 +1,95 @@
1
+ /**
2
+ * Internationalization: japanese language
3
+ *
4
+ * Depends on jWYSIWYG, $.wysiwyg.i18n
5
+ *
6
+ * By: https://github.com/rosiro
7
+ *
8
+ */
9
+
10
+ (function ($) {
11
+ if (undefined === $.wysiwyg) {
12
+ throw "lang.ja.js depends on $.wysiwyg";
13
+ return false;
14
+ }
15
+ if (undefined === $.wysiwyg.i18n) {
16
+ throw "lang.ja.js depends on $.wysiwyg.i18n";
17
+ return false;
18
+ }
19
+
20
+ $.wysiwyg.i18n.lang.ja = {
21
+ controls: {
22
+ "Bold": "ボールド",
23
+ "Copy": "コピー",
24
+ "Create link": "リンク作成",
25
+ "Cut": "切り取り",
26
+ "Decrease font size": "フォントサイズを小さく",
27
+ "Header 1": "見出し1",
28
+ "Header 2": "見出し2",
29
+ "Header 3": "見出し3",
30
+ "View source code": "ソースコードを見る",
31
+ "Increase font size": "フォントサイズを大きく",
32
+ "Indent": "インデント",
33
+ "Insert Horizontal Rule": "水平線<HR>を挿入",
34
+ "Insert image": "画像を挿入",
35
+ "Insert Ordered List": "リストの追加",
36
+ "Insert table": "テーブルを挿入",
37
+ "Insert Unordered List": "下線を追加",
38
+ "Italic": "イタリック",
39
+ "Justify Center": "中央寄せ",
40
+ "Justify Full": "左右一杯に揃える",
41
+ "Justify Left": "左寄せ",
42
+ "Justify Right": "右寄せ",
43
+ "Left to Right": "左から右へ",
44
+ "Outdent": "インデント解除",
45
+ "Paste": "貼り付け",
46
+ "Redo": "やり直し",
47
+ "Remove formatting": "書式設定を削除",
48
+ "Right to Left": "右から左へ",
49
+ "Strike-through": "取り消し線",
50
+ "Subscript": "下付き文字",
51
+ "Superscript": "上付き文字",
52
+ "Underline": "下線",
53
+ "Undo": "元に戻す"
54
+ },
55
+
56
+ dialogs: {
57
+ // for all
58
+ "Apply": "適用",
59
+ "Cancel": "キャンセル",
60
+
61
+ colorpicker: {
62
+ "Colorpicker": "カラーピッカー",
63
+ "Color": "カラー"
64
+ },
65
+
66
+ image: {
67
+ "Insert Image": "画像を挿入",
68
+ "Preview": "プレビュー",
69
+ "URL": "URL",
70
+ "Title": "タイトル",
71
+ "Description": "概要",
72
+ "Width": "横幅",
73
+ "Height": "高さ",
74
+ "Original W x H": "オリジナル 横 x 高",
75
+ "Float": "",
76
+ "None": "",
77
+ "Left": "",
78
+ "Right": ""
79
+ },
80
+
81
+ link: {
82
+ "Insert Link": "リンクの挿入",
83
+ "Link URL": "リンク URL",
84
+ "Link Title": "リンク タイトル",
85
+ "Link Target": "リンク ターゲット"
86
+ },
87
+
88
+ table: {
89
+ "Insert table": "テーブルを挿入",
90
+ "Count of columns": "列数",
91
+ "Count of rows": "行数"
92
+ }
93
+ }
94
+ };
95
+ })(jQuery);
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Internationalization: Dutch
3
+ *
4
+ * Depends on jWYSIWYG, $.wysiwyg.i18n
5
+ *
6
+ * By: Erik van Dongen <dongen@connexys.com>
7
+ *
8
+ */
9
+ (function ($) {
10
+ if (undefined === $.wysiwyg) {
11
+ throw "lang.nl.js depends on $.wysiwyg";
12
+ }
13
+ if (undefined === $.wysiwyg.i18n) {
14
+ throw "lang.nl.js depends on $.wysiwyg.i18n";
15
+ }
16
+
17
+ $.wysiwyg.i18n.lang.nl = {
18
+ controls: {
19
+ "Bold": "Vet",
20
+ "Colorpicker": "Kleur kiezen",
21
+ "Copy": "Kopiëren",
22
+ "Create link": "Link maken",
23
+ "Cut": "Knippen",
24
+ "Decrease font size": "Lettergrootte verkleinen",
25
+ "Fullscreen": "Volledig scherm",
26
+ "Header 1": "Kop 1",
27
+ "Header 2": "Kop 2",
28
+ "Header 3": "Kop 3",
29
+ "View source code": "Broncode bekijken",
30
+ "Increase font size": "Lettergrootte vergroten",
31
+ "Indent": "Inspringen",
32
+ "Insert Horizontal Rule": "Horizontale lijn invoegen",
33
+ "Insert image": "Afbeelding invoegen",
34
+ "Insert Ordered List": "Genummerde lijst",
35
+ "Insert table": "Tabel invoegen",
36
+ "Insert Unordered List": "Lijst met opsommingstekens",
37
+ "Italic": "Cursief",
38
+ "Justify Center": "Centreren",
39
+ "Justify Full": "Uitvullen",
40
+ "Justify Left": "Links uitlijnen",
41
+ "Justify Right": "Rechts uitlijnen",
42
+ "Left to Right": "Links naar Rechts",
43
+ "Outdent": "Uitspringen",
44
+ "Paste": "Plakken",
45
+ "Redo": "Opnieuw uitvoeren",
46
+ "Remove formatting": "Opmaak verwijderen",
47
+ "Right to Left": "Rechts naar Links",
48
+ "Strike-through": "Doorstrepen",
49
+ "Subscript": "Subscript",
50
+ "Superscript": "Superscript",
51
+ "Underline": "Onderstrepen",
52
+ "Undo": "Ongedaan maken"
53
+ },
54
+
55
+ dialogs: {
56
+ // for all
57
+ "Apply": "Toepassen",
58
+ "Cancel": "Annuleren",
59
+
60
+ colorpicker: {
61
+ "Colorpicker": "Kleur kiezen",
62
+ "Color": "Kleur"
63
+ },
64
+
65
+ image: {
66
+ "Insert Image": "Afbeeldingen invoegen",
67
+ "Preview": "Voorbeeld",
68
+ "URL": "URL",
69
+ "Title": "Titel",
70
+ "Description": "Beschrijving",
71
+ "Width": "Breedte",
72
+ "Height": "Hoogte",
73
+ "Original W x H": "Originele B x H",
74
+ "Float": "Float",
75
+ "None": "None",
76
+ "Left": "Left",
77
+ "Right": "Right"
78
+ },
79
+
80
+ link: {
81
+ "Insert Link": "Link invoegen",
82
+ "Link URL": "Link URL",
83
+ "Link Title": "Linktitel",
84
+ "Link Target": "Link target"
85
+ },
86
+
87
+ table: {
88
+ "Insert table": "Tabel invoegen",
89
+ "Count of columns": "Aantal kolommen",
90
+ "Count of rows": "Aantal rijen"
91
+ }
92
+ }
93
+ };
94
+ })(jQuery);
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Internationalization: Polish language
3
+ *
4
+ * Depends on jWYSIWYG, $.wysiwyg.i18n
5
+ *
6
+ * By: Andrzej Herok
7
+ *
8
+ */
9
+ (function ($) {
10
+ if (undefined === $.wysiwyg) {
11
+ throw "lang.pl.js depends on $.wysiwyg";
12
+ }
13
+ if (undefined === $.wysiwyg.i18n) {
14
+ throw "lang.pl.js depends on $.wysiwyg.i18n";
15
+ }
16
+
17
+ $.wysiwyg.i18n.lang.pl = {
18
+ controls: {
19
+ "Bold": "Pogrubienie",
20
+ "Colorpicker": "Wybór koloru",
21
+ "Copy": "Kopiuj",
22
+ "Create link": "Utwórz łącze",
23
+ "Cut": "Wytnij",
24
+ "Decrease font size": "Zmniejsz rozmiar czcionki",
25
+ "Fullscreen": "Pełny ekran",
26
+ "Header 1": "Nagłówek 1",
27
+ "Header 2": "Nagłówek 2",
28
+ "Header 3": "Nagłówek 3",
29
+ "View source code": "Pokaż kod źródłowy",
30
+ "Increase font size": "Zwiększ rozmiar czcionki",
31
+ "Indent": "Zwiększ wcięcie",
32
+ "Insert Horizontal Rule": "Wstaw poziomą linię",
33
+ "Insert image": "Wstaw obrazek",
34
+ "Insert Ordered List": "Lista numerowana",
35
+ "Insert table": "Wstaw tabelę",
36
+ "Insert Unordered List": "Lista nienumerowana",
37
+ "Italic": "Kursywa",
38
+ "Justify Center": "Wyśrodkuj",
39
+ "Justify Full": "Justowanie",
40
+ "Justify Left": "Do lewej",
41
+ "Justify Right": "Do prawej",
42
+ "Left to Right": "Od lewej do prawej",
43
+ "Outdent": "Zmniejsz wcięcie",
44
+ "Paste": "Wklej",
45
+ "Redo": "Powtórz",
46
+ "Remove formatting": "Usuń formatowanie",
47
+ "Right to Left": "Od prawej do lewej",
48
+ "Strike-through": "Przekreślenie",
49
+ "Subscript": "Indeks dolny",
50
+ "Superscript": "Indeks górny",
51
+ "Underline": "Podkreślenie",
52
+ "Undo": "Cofnij"
53
+ },
54
+
55
+ dialogs: {
56
+ // for all
57
+ "Apply": "Zastosuj",
58
+ "Cancel": "Anuluj",
59
+
60
+ colorpicker: {
61
+ "Colorpicker": "Próbnik koloru",
62
+ "Color": "Kolor"
63
+ },
64
+
65
+ image: {
66
+ "Insert Image": "Wstaw obrazek",
67
+ "Preview": "Podgląd",
68
+ "URL": "URL",
69
+ "Title": "Tytuł",
70
+ "Description": "Opis",
71
+ "Width": "Szerokość",
72
+ "Height": "Wysokość",
73
+ "Original W x H": "Oryginalne wymiary",
74
+ "Float": "Przyleganie",
75
+ "None": "Brak",
76
+ "Left": "Do lewej",
77
+ "Right": "Do prawej"
78
+ },
79
+
80
+ link: {
81
+ "Insert Link": "Wstaw łącze",
82
+ "Link URL": "URL łącza",
83
+ "Link Title": "Tytuł łącza",
84
+ "Link Target": "Target"
85
+ },
86
+
87
+ table: {
88
+ "Insert table": "Wstaw tabelę",
89
+ "Count of columns": "Liczba kolumn",
90
+ "Count of rows": "Liczba wierszy"
91
+ }
92
+ }
93
+ };
94
+ })(jQuery);
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Internationalization: Brazilian Portugese language
3
+ *
4
+ * Depends on jWYSIWYG, $.wysiwyg.i18n
5
+ *
6
+ * By: Marcelo Wergles <mwergles@gmail.com>
7
+ *
8
+ */
9
+ (function ($) {
10
+ if (undefined === $.wysiwyg) {
11
+ throw "lang.pt_br.js depends on $.wysiwyg";
12
+ }
13
+ if (undefined === $.wysiwyg.i18n) {
14
+ throw "lang.pt_br.js depends on $.wysiwyg.i18n";
15
+ }
16
+
17
+ $.wysiwyg.i18n.lang.pt_br = {
18
+ controls: {
19
+ "Bold": "Negrito",
20
+ "Colorpicker": "Escolher uma cor",
21
+ "Copy": "Copiar",
22
+ "Create link": "Criar link",
23
+ "Cut": "Recortar",
24
+ "Decrease font size": "Diminuir o tamanho da fonte",
25
+ "Fullscreen": "Tela cheia",
26
+ "Header 1": "Título 1",
27
+ "Header 2": "Título 2",
28
+ "Header 3": "Título 3",
29
+ "View source code": "Ver código fonte",
30
+ "Increase font size": "Aumentar o tamanho da fonte",
31
+ "Indent": "Aumentar recuo",
32
+ "Insert Horizontal Rule": "Inserir linha horizontal",
33
+ "Insert image": "Inserir imagem",
34
+ "Insert Ordered List": "Inserir numeração",
35
+ "Insert table": "Inserir tabela",
36
+ "Insert Unordered List": "Inserir marcadores",
37
+ "Italic": "Itálico",
38
+ "Justify Center": "Centralizar",
39
+ "Justify Full": "Justificar",
40
+ "Justify Left": "Alinhar à esquerda",
41
+ "Justify Right": "Alinhar à direita",
42
+ "Left to Right": "Esquerda à direita",
43
+ "Outdent": "Diminuir recuo",
44
+ "Paste": "Colar",
45
+ "Redo": "Refazer",
46
+ "Remove formatting": "Remover formatação",
47
+ "Right to Left": "Direita à esquerda",
48
+ "Strike-through": "Riscar",
49
+ "Subscript": "Subscrito",
50
+ "Superscript": "Sobrescrito",
51
+ "Underline": "Sublinhar",
52
+ "Undo": "Desfazer"
53
+ },
54
+
55
+ dialogs: {
56
+ // for all
57
+ "Apply": "Aplicar",
58
+ "Cancel": "Cancelar",
59
+
60
+ colorpicker: {
61
+ "Colorpicker": "Escolher uma cor",
62
+ "Color": "Cor"
63
+ },
64
+
65
+ image: {
66
+ "Insert Image": "Inserir Imagem",
67
+ "Preview": "Pré-visualizar",
68
+ "URL": "URL",
69
+ "Title": "Título",
70
+ "Description": "Descrição",
71
+ "Width": "Largura",
72
+ "Height": "Altura",
73
+ "Original W x H": "L x A original",
74
+ "Float": "",
75
+ "None": "",
76
+ "Left": "",
77
+ "Right": ""
78
+ },
79
+
80
+ link: {
81
+ "Insert Link": "Inserir Link",
82
+ "Link URL": "URL do link",
83
+ "Link Title": "Título do link",
84
+ "Link Target": "Alvo do link"
85
+ },
86
+
87
+ table: {
88
+ "Insert table": "Inserir tabela",
89
+ "Count of columns": "Número de colunas",
90
+ "Count of rows": "Número de linhas"
91
+ }
92
+ }
93
+ };
94
+ })(jQuery);