spree_summernote 3.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 +17 -0
- data/.rspec +1 -0
- data/Gemfile +7 -0
- data/LICENSE +21 -0
- data/README.md +32 -0
- data/Rakefile +46 -0
- data/app/assets/javascripts/spree/backend/spree_summernote.js +3 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-ar-AR.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-ca-ES.js +95 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-cs-CZ.js +96 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-da-DK.js +107 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-de-DE.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-es-ES.js +98 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-es-EU.js +96 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-fa-IR.js +98 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-fi-FI.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-fr-FR.js +100 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-he-IL.js +100 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-hu-HU.js +98 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-id-ID.js +96 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-it-IT.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-ja-JP.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-ko-KR.js +103 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-nb-NO.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-nl-NL.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-pl-PL.js +105 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-pt-BR.js +96 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-pt-PT.js +96 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-ro-RO.js +95 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-ru-RU.js +100 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-sk-SK.js +95 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-sl-SI.js +99 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-sr-RS-Latin.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-sr-RS.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-sv-SE.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-th-TH.js +99 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-tr-TR.js +104 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-uk-UA.js +99 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-vi-VN.js +97 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-zh-CN.js +96 -0
- data/app/assets/javascripts/spree_summernote/locales/summernote-zh-TW.js +95 -0
- data/app/assets/javascripts/spree_summernote/summernote.js +7006 -0
- data/app/assets/javascripts/spree_summernote/summernote_locales.js +2 -0
- data/app/assets/javascripts/spree_summernote/summernote_settings.js +50 -0
- data/app/assets/stylesheets/spree/backend/spree_summernote.css +5 -0
- data/app/assets/stylesheets/spree_summernote/summernote-bs3.css +5442 -0
- data/app/assets/stylesheets/spree_summernote/summernote.css +1 -0
- data/bin/rails +7 -0
- data/config/locales/en.yml +5 -0
- data/config/routes.rb +3 -0
- data/lib/generators/spree_summernote/install/install_generator.rb +15 -0
- data/lib/spree_summernote/engine.rb +20 -0
- data/lib/spree_summernote/factories.rb +6 -0
- data/lib/spree_summernote.rb +2 -0
- data/spec/spec_helper.rb +87 -0
- data/spree_summernote.gemspec +32 -0
- metadata +268 -0
@@ -0,0 +1,97 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.extend($.summernote.lang, {
|
3
|
+
'sr-RS': {
|
4
|
+
font: {
|
5
|
+
bold: 'Подебљано',
|
6
|
+
italic: 'Курзив',
|
7
|
+
underline: 'Подвучено',
|
8
|
+
clear: 'Уклони стилове фонта',
|
9
|
+
height: 'Висина линије',
|
10
|
+
strikethrough: 'Прецртано',
|
11
|
+
size: 'Величина фонта'
|
12
|
+
},
|
13
|
+
image: {
|
14
|
+
image: 'Слика',
|
15
|
+
insert: 'Уметни слику',
|
16
|
+
resizeFull: 'Пуна величина',
|
17
|
+
resizeHalf: 'Умањи на 50%',
|
18
|
+
resizeQuarter: 'Умањи на 25%',
|
19
|
+
floatLeft: 'Уз леву ивицу',
|
20
|
+
floatRight: 'Уз десну ивицу',
|
21
|
+
floatNone: 'Без равнања',
|
22
|
+
dragImageHere: 'Превуци слику овде',
|
23
|
+
selectFromFiles: 'Изабери из датотеке',
|
24
|
+
url: 'Адреса слике',
|
25
|
+
remove: 'Уклони слику'
|
26
|
+
},
|
27
|
+
link: {
|
28
|
+
link: 'Веза',
|
29
|
+
insert: 'Уметни везу',
|
30
|
+
unlink: 'Уклони везу',
|
31
|
+
edit: 'Уреди',
|
32
|
+
textToDisplay: 'Текст за приказ',
|
33
|
+
url: 'Интернет адреса',
|
34
|
+
openInNewWindow: 'Отвори у новом прозору'
|
35
|
+
},
|
36
|
+
table: {
|
37
|
+
table: 'Табела'
|
38
|
+
},
|
39
|
+
hr: {
|
40
|
+
insert: 'Уметни хоризонталну линију'
|
41
|
+
},
|
42
|
+
style: {
|
43
|
+
style: 'Стил',
|
44
|
+
normal: 'Нормални',
|
45
|
+
blockquote: 'Цитат',
|
46
|
+
pre: 'Код',
|
47
|
+
h1: 'Заглавље 1',
|
48
|
+
h2: 'Заглавље 2',
|
49
|
+
h3: 'Заглавље 3',
|
50
|
+
h4: 'Заглавље 4',
|
51
|
+
h5: 'Заглавље 5',
|
52
|
+
h6: 'Заглавље 6'
|
53
|
+
},
|
54
|
+
lists: {
|
55
|
+
unordered: 'Обична листа',
|
56
|
+
ordered: 'Нумерисана листа'
|
57
|
+
},
|
58
|
+
options: {
|
59
|
+
help: 'Помоћ',
|
60
|
+
fullscreen: 'Преко целог екрана',
|
61
|
+
codeview: 'Изворни код'
|
62
|
+
},
|
63
|
+
paragraph: {
|
64
|
+
paragraph: 'Параграф',
|
65
|
+
outdent: 'Смањи увлачење',
|
66
|
+
indent: 'Повечај увлачење',
|
67
|
+
left: 'Поравнај у лево',
|
68
|
+
center: 'Центрирано',
|
69
|
+
right: 'Поравнај у десно',
|
70
|
+
justify: 'Поравнај обострано'
|
71
|
+
},
|
72
|
+
color: {
|
73
|
+
recent: 'Последња боја',
|
74
|
+
more: 'Више боја',
|
75
|
+
background: 'Боја позадине',
|
76
|
+
foreground: 'Боја текста',
|
77
|
+
transparent: 'Провидна',
|
78
|
+
setTransparent: 'Провидна',
|
79
|
+
reset: 'Опозив',
|
80
|
+
resetToDefault: 'Подразумевана'
|
81
|
+
},
|
82
|
+
shortcut: {
|
83
|
+
shortcuts: 'Пречице са тастатуре',
|
84
|
+
close: 'Затвори',
|
85
|
+
textFormatting: 'Форматирање текста',
|
86
|
+
action: 'Акција',
|
87
|
+
paragraphFormatting: 'Форматирање параграфа',
|
88
|
+
documentStyle: 'Стил документа',
|
89
|
+
extraKeys: 'Додатне комбинације'
|
90
|
+
},
|
91
|
+
history: {
|
92
|
+
undo: 'Поништи',
|
93
|
+
redo: 'Понови'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
});
|
97
|
+
})(jQuery);
|
@@ -0,0 +1,97 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.extend($.summernote.lang, {
|
3
|
+
'sv-SE': {
|
4
|
+
font: {
|
5
|
+
bold: 'Fet',
|
6
|
+
italic: 'Kursiv',
|
7
|
+
underline: 'Understruken',
|
8
|
+
clear: 'Radera formatering',
|
9
|
+
height: 'Radavstånd',
|
10
|
+
name: 'Teckensnitt',
|
11
|
+
strikethrough: 'Genomstruken',
|
12
|
+
size: 'Teckenstorlek'
|
13
|
+
},
|
14
|
+
image: {
|
15
|
+
image: 'Bild',
|
16
|
+
insert: 'Infoga bild',
|
17
|
+
resizeFull: 'Full storlek',
|
18
|
+
resizeHalf: 'Halv storlek',
|
19
|
+
resizeQuarter: 'En fjärdedel i storlek',
|
20
|
+
floatLeft: 'Vänsterjusterad',
|
21
|
+
floatRight: 'Högerjusterad',
|
22
|
+
floatNone: 'Ingen justering',
|
23
|
+
dragImageHere: 'Dra en bild hit',
|
24
|
+
selectFromFiles: 'Välj från filer',
|
25
|
+
url: 'Länk till bild',
|
26
|
+
remove: 'Ta bort bild'
|
27
|
+
},
|
28
|
+
link: {
|
29
|
+
link: 'Länk',
|
30
|
+
insert: 'Infoga länk',
|
31
|
+
unlink: 'Ta bort länk',
|
32
|
+
edit: 'Redigera',
|
33
|
+
textToDisplay: 'Visningstext',
|
34
|
+
url: 'Till vilken URL ska denna länk peka?',
|
35
|
+
openInNewWindow: 'Öppna i ett nytt fönster'
|
36
|
+
},
|
37
|
+
table: {
|
38
|
+
table: 'Tabell'
|
39
|
+
},
|
40
|
+
hr: {
|
41
|
+
insert: 'Infoga horisontell linje'
|
42
|
+
},
|
43
|
+
style: {
|
44
|
+
style: 'Stil',
|
45
|
+
normal: 'Normal',
|
46
|
+
blockquote: 'Citat',
|
47
|
+
pre: 'Kod',
|
48
|
+
h1: 'Rubrik 1',
|
49
|
+
h2: 'Rubrik 2',
|
50
|
+
h3: 'Rubrik 3',
|
51
|
+
h4: 'Rubrik 4',
|
52
|
+
h5: 'Rubrik 5',
|
53
|
+
h6: 'Rubrik 6'
|
54
|
+
},
|
55
|
+
lists: {
|
56
|
+
unordered: 'Punktlista',
|
57
|
+
ordered: 'Numrerad lista'
|
58
|
+
},
|
59
|
+
options: {
|
60
|
+
help: 'Hjälp',
|
61
|
+
fullscreen: 'Fullskärm',
|
62
|
+
codeview: 'HTML-visning'
|
63
|
+
},
|
64
|
+
paragraph: {
|
65
|
+
paragraph: 'Justera text',
|
66
|
+
outdent: 'Minska indrag',
|
67
|
+
indent: 'Öka indrag',
|
68
|
+
left: 'Vänsterjusterad',
|
69
|
+
center: 'Centrerad',
|
70
|
+
right: 'Högerjusterad',
|
71
|
+
justify: 'Justera text'
|
72
|
+
},
|
73
|
+
color: {
|
74
|
+
recent: 'Senast använda färg',
|
75
|
+
more: 'Fler färger',
|
76
|
+
background: 'Bakgrundsfärg',
|
77
|
+
foreground: 'Teckenfärg',
|
78
|
+
transparent: 'Genomskinlig',
|
79
|
+
setTransparent: 'Gör genomskinlig',
|
80
|
+
reset: 'Nollställ',
|
81
|
+
resetToDefault: 'Återställ till standard'
|
82
|
+
},
|
83
|
+
shortcut: {
|
84
|
+
shortcuts: 'Kortkommandon',
|
85
|
+
close: 'Stäng',
|
86
|
+
textFormatting: 'Textformatering',
|
87
|
+
action: 'Funktion',
|
88
|
+
paragraphFormatting: 'Avsnittsformatering',
|
89
|
+
documentStyle: 'Dokumentstil'
|
90
|
+
},
|
91
|
+
history: {
|
92
|
+
undo: 'Ångra',
|
93
|
+
redo: 'Gör om'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
});
|
97
|
+
})(jQuery);
|
@@ -0,0 +1,99 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.extend($.summernote.lang, {
|
3
|
+
'th-TH': {
|
4
|
+
font: {
|
5
|
+
bold: 'ตัวหนา',
|
6
|
+
italic: 'ตัวเอียง',
|
7
|
+
underline: 'ขีดเส้นใต้',
|
8
|
+
clear: 'ล้างรูปแบบตัวอักษร',
|
9
|
+
height: 'ความสูงบรรทัด',
|
10
|
+
name: 'แบบตัวอักษร',
|
11
|
+
strikethrough: 'ขีดฆ่า',
|
12
|
+
subscript: 'ตัวห้อย',
|
13
|
+
superscript: 'ตัวยก',
|
14
|
+
size: 'ขนาดตัวอักษร'
|
15
|
+
},
|
16
|
+
image: {
|
17
|
+
image: 'รูปภาพ',
|
18
|
+
insert: 'แทรกรูปภาพ',
|
19
|
+
resizeFull: 'ปรับขนาดเท่าจริง',
|
20
|
+
resizeHalf: 'ปรับขนาดลง 50%',
|
21
|
+
resizeQuarter: 'ปรับขนาดลง 25%',
|
22
|
+
floatLeft: 'ชิดซ้าย',
|
23
|
+
floatRight: 'ชิดขวา',
|
24
|
+
floatNone: 'ไม่จัดตำแหน่ง',
|
25
|
+
dragImageHere: 'ลากรูปภาพที่ต้องการไว้ที่นี่',
|
26
|
+
selectFromFiles: 'เลือกไฟล์รูปภาพ',
|
27
|
+
url: 'ที่อยู่ URL ของรูปภาพ',
|
28
|
+
remove: 'ลบรูปภาพ'
|
29
|
+
},
|
30
|
+
link: {
|
31
|
+
link: 'ตัวเชื่อมโยง',
|
32
|
+
insert: 'แทรกตัวเชื่อมโยง',
|
33
|
+
unlink: 'ยกเลิกตัวเชื่อมโยง',
|
34
|
+
edit: 'แก้ไข',
|
35
|
+
textToDisplay: 'ข้อความที่ให้แสดง',
|
36
|
+
url: 'ที่อยู่เว็บไซต์ที่ต้องการให้เชื่อมโยงไปถึง?',
|
37
|
+
openInNewWindow: 'เปิดในหน้าต่างใหม่'
|
38
|
+
},
|
39
|
+
table: {
|
40
|
+
table: 'ตาราง'
|
41
|
+
},
|
42
|
+
hr: {
|
43
|
+
insert: 'แทรกเส้นคั่น'
|
44
|
+
},
|
45
|
+
style: {
|
46
|
+
style: 'รูปแบบ',
|
47
|
+
normal: 'ปกติ',
|
48
|
+
blockquote: 'ข้อความ',
|
49
|
+
pre: 'โค้ด',
|
50
|
+
h1: 'หัวข้อ 1',
|
51
|
+
h2: 'หัวข้อ 2',
|
52
|
+
h3: 'หัวข้อ 3',
|
53
|
+
h4: 'หัวข้อ 4',
|
54
|
+
h5: 'หัวข้อ 5',
|
55
|
+
h6: 'หัวข้อ 6'
|
56
|
+
},
|
57
|
+
lists: {
|
58
|
+
unordered: 'รายการแบบไม่มีลำดับ',
|
59
|
+
ordered: 'รายการแบบมีลำดับ'
|
60
|
+
},
|
61
|
+
options: {
|
62
|
+
help: 'ช่วยเหลือ',
|
63
|
+
fullscreen: 'ขยายเต็มหน้าจอ',
|
64
|
+
codeview: 'ซอร์สโค้ด'
|
65
|
+
},
|
66
|
+
paragraph: {
|
67
|
+
paragraph: 'ย่อหน้า',
|
68
|
+
outdent: 'เยื้องซ้าย',
|
69
|
+
indent: 'เยื้องขวา',
|
70
|
+
left: 'จัดหน้าชิดซ้าย',
|
71
|
+
center: 'จัดหน้ากึ่งกลาง',
|
72
|
+
right: 'จัดหน้าชิดขวา',
|
73
|
+
justify: 'จัดบรรทัดเสมอกัน'
|
74
|
+
},
|
75
|
+
color: {
|
76
|
+
recent: 'สีที่ใช้ล่าสุด',
|
77
|
+
more: 'สีอื่นๆ',
|
78
|
+
background: 'สีพื้นหลัง',
|
79
|
+
foreground: 'สีพื้นหน้า',
|
80
|
+
transparent: 'โปร่งแสง',
|
81
|
+
setTransparent: 'ตั้งค่าความโปร่งแสง',
|
82
|
+
reset: 'คืนค่า',
|
83
|
+
resetToDefault: 'คืนค่ามาตรฐาน'
|
84
|
+
},
|
85
|
+
shortcut: {
|
86
|
+
shortcuts: 'แป้นลัด',
|
87
|
+
close: 'ปิด',
|
88
|
+
textFormatting: 'การจัดรูปแบบข้อความ',
|
89
|
+
action: 'การกระทำ',
|
90
|
+
paragraphFormatting: 'การจัดรูปแบบย่อหน้า',
|
91
|
+
documentStyle: 'รูปแบบของเอกสาร'
|
92
|
+
},
|
93
|
+
history: {
|
94
|
+
undo: 'ยกเลิกการกระทำ',
|
95
|
+
redo: 'ทำซ้ำการกระทำ'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
});
|
99
|
+
})(jQuery);
|
@@ -0,0 +1,104 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.extend($.summernote.lang, {
|
3
|
+
'tr-TR': {
|
4
|
+
font: {
|
5
|
+
bold: 'Kalın',
|
6
|
+
italic: 'İtalik',
|
7
|
+
underline: 'Altı çizili',
|
8
|
+
clear: 'Temizle',
|
9
|
+
height: 'Satır yüksekliği',
|
10
|
+
name: 'Yazı Tipi',
|
11
|
+
strikethrough: 'Üstü çizili',
|
12
|
+
subscript: 'Subscript',
|
13
|
+
superscript: 'Superscript',
|
14
|
+
size: 'Yazı tipi boyutu'
|
15
|
+
},
|
16
|
+
image: {
|
17
|
+
image: 'Resim',
|
18
|
+
insert: 'Resim ekle',
|
19
|
+
resizeFull: 'Orjinal boyut',
|
20
|
+
resizeHalf: '1/2 boyut',
|
21
|
+
resizeQuarter: '1/4 boyut',
|
22
|
+
floatLeft: 'Sola hizala',
|
23
|
+
floatRight: 'Sağa hizala',
|
24
|
+
floatNone: 'Hizalamayı kaldır',
|
25
|
+
shapeRounded: 'Şekil: Yuvarlatılmış Köşe',
|
26
|
+
shapeCircle: 'Şekil: Daire',
|
27
|
+
shapeThumbnail: 'Şekil: K.Resim',
|
28
|
+
shapeNone: 'Şekil: Yok',
|
29
|
+
dragImageHere: 'Buraya sürükleyin',
|
30
|
+
selectFromFiles: 'Dosya seçin',
|
31
|
+
url: 'Resim bağlantısı',
|
32
|
+
remove: 'Resimi Kaldır'
|
33
|
+
},
|
34
|
+
link: {
|
35
|
+
link: 'Bağlantı',
|
36
|
+
insert: 'Bağlantı ekle',
|
37
|
+
unlink: 'Bağlantıyı kaldır',
|
38
|
+
edit: 'Bağlantıyı düzenle',
|
39
|
+
textToDisplay: 'Görüntülemek için',
|
40
|
+
url: 'Bağlantı adresi?',
|
41
|
+
openInNewWindow: 'Yeni pencerede aç'
|
42
|
+
},
|
43
|
+
table: {
|
44
|
+
table: 'Tablo'
|
45
|
+
},
|
46
|
+
hr: {
|
47
|
+
insert: 'Yatay çizgi ekle'
|
48
|
+
},
|
49
|
+
style: {
|
50
|
+
style: 'Biçim',
|
51
|
+
normal: 'Normal',
|
52
|
+
blockquote: 'Alıntı',
|
53
|
+
pre: 'Önbiçimli',
|
54
|
+
h1: 'Başlık 1',
|
55
|
+
h2: 'Başlık 2',
|
56
|
+
h3: 'Başlık 3',
|
57
|
+
h4: 'Başlık 4',
|
58
|
+
h5: 'Başlık 5',
|
59
|
+
h6: 'Başlık 6'
|
60
|
+
},
|
61
|
+
lists: {
|
62
|
+
unordered: 'Madde işaretli liste',
|
63
|
+
ordered: 'Numaralı liste'
|
64
|
+
},
|
65
|
+
options: {
|
66
|
+
help: 'Yardım',
|
67
|
+
fullscreen: 'Tam ekran',
|
68
|
+
codeview: 'HTML Kodu'
|
69
|
+
},
|
70
|
+
paragraph: {
|
71
|
+
paragraph: 'Paragraf',
|
72
|
+
outdent: 'Girintiyi artır',
|
73
|
+
indent: 'Girintiyi azalt',
|
74
|
+
left: 'Sola hizala',
|
75
|
+
center: 'Ortaya hizala',
|
76
|
+
right: 'Sağa hizala',
|
77
|
+
justify: 'Yasla'
|
78
|
+
},
|
79
|
+
color: {
|
80
|
+
recent: 'Son renk',
|
81
|
+
more: 'Daha fazla renk',
|
82
|
+
background: 'Arka plan rengi',
|
83
|
+
foreground: 'Yazı rengi',
|
84
|
+
transparent: 'Seffaflık',
|
85
|
+
setTransparent: 'Şeffaflığı ayarla',
|
86
|
+
reset: 'Sıfırla',
|
87
|
+
resetToDefault: 'Varsayılanlara sıfırla'
|
88
|
+
},
|
89
|
+
shortcut: {
|
90
|
+
shortcuts: 'Kısayollar',
|
91
|
+
close: 'Kapat',
|
92
|
+
textFormatting: 'Yazı biçimlendirme',
|
93
|
+
action: 'Eylem',
|
94
|
+
paragraphFormatting: 'Paragraf biçimlendirme',
|
95
|
+
documentStyle: 'Biçim'
|
96
|
+
},
|
97
|
+
history: {
|
98
|
+
undo: 'Geri al',
|
99
|
+
redo: 'Yeniden yap'
|
100
|
+
}
|
101
|
+
|
102
|
+
}
|
103
|
+
});
|
104
|
+
})(jQuery);
|
@@ -0,0 +1,99 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.extend($.summernote.lang, {
|
3
|
+
'uk-UA': {
|
4
|
+
font: {
|
5
|
+
bold: 'Напівжирний',
|
6
|
+
italic: 'Курсив',
|
7
|
+
underline: 'Підкреслений',
|
8
|
+
clear: 'Прибрати стилі шрифту',
|
9
|
+
height: 'Висота лінії',
|
10
|
+
name: 'Шрифт',
|
11
|
+
strikethrough: 'Закреслений',
|
12
|
+
subscript: 'Нижній індекс',
|
13
|
+
superscript: 'Верхній індекс',
|
14
|
+
size: 'Розмір шрифту'
|
15
|
+
},
|
16
|
+
image: {
|
17
|
+
image: 'Картинка',
|
18
|
+
insert: 'Вставити картинку',
|
19
|
+
resizeFull: 'Відновити розмір',
|
20
|
+
resizeHalf: 'Зменшити до 50%',
|
21
|
+
resizeQuarter: 'Зменшити до 25%',
|
22
|
+
floatLeft: 'Розташувати ліворуч',
|
23
|
+
floatRight: 'Розташувати праворуч',
|
24
|
+
floatNone: 'Початкове розташування',
|
25
|
+
dragImageHere: 'Перетягніть сюди картинку',
|
26
|
+
selectFromFiles: 'Вибрати з файлів',
|
27
|
+
url: 'URL картинки',
|
28
|
+
remove: 'Видалити картинку'
|
29
|
+
},
|
30
|
+
link: {
|
31
|
+
link: 'Посилання',
|
32
|
+
insert: 'Вставити посилання',
|
33
|
+
unlink: 'Прибрати посилання',
|
34
|
+
edit: 'Редагувати',
|
35
|
+
textToDisplay: 'Текст, що відображається',
|
36
|
+
url: 'URL для переходу',
|
37
|
+
openInNewWindow: 'Відкривати у новому вікні'
|
38
|
+
},
|
39
|
+
table: {
|
40
|
+
table: 'Таблиця'
|
41
|
+
},
|
42
|
+
hr: {
|
43
|
+
insert: 'Вставити горизонтальну лінію'
|
44
|
+
},
|
45
|
+
style: {
|
46
|
+
style: 'Стиль',
|
47
|
+
normal: 'Нормальний',
|
48
|
+
blockquote: 'Цитата',
|
49
|
+
pre: 'Код',
|
50
|
+
h1: 'Заголовок 1',
|
51
|
+
h2: 'Заголовок 2',
|
52
|
+
h3: 'Заголовок 3',
|
53
|
+
h4: 'Заголовок 4',
|
54
|
+
h5: 'Заголовок 5',
|
55
|
+
h6: 'Заголовок 6'
|
56
|
+
},
|
57
|
+
lists: {
|
58
|
+
unordered: 'Маркований список',
|
59
|
+
ordered: 'Нумерований список'
|
60
|
+
},
|
61
|
+
options: {
|
62
|
+
help: 'Допомога',
|
63
|
+
fullscreen: 'На весь екран',
|
64
|
+
codeview: 'Початковий код'
|
65
|
+
},
|
66
|
+
paragraph: {
|
67
|
+
paragraph: 'Параграф',
|
68
|
+
outdent: 'Зменшити відступ',
|
69
|
+
indent: 'Збільшити відступ',
|
70
|
+
left: 'Вирівняти по лівому краю',
|
71
|
+
center: 'Вирівняти по центру',
|
72
|
+
right: 'Вирівняти по правому краю',
|
73
|
+
justify: 'Розтягнути по ширині'
|
74
|
+
},
|
75
|
+
color: {
|
76
|
+
recent: 'Останній колір',
|
77
|
+
more: 'Ще кольори',
|
78
|
+
background: 'Колір фону',
|
79
|
+
foreground: 'Колір шрифту',
|
80
|
+
transparent: 'Прозорий',
|
81
|
+
setTransparent: 'Зробити прозорим',
|
82
|
+
reset: 'Відновити',
|
83
|
+
resetToDefault: 'Відновити початкові'
|
84
|
+
},
|
85
|
+
shortcut: {
|
86
|
+
shortcuts: 'Комбінації клавіш',
|
87
|
+
close: 'Закрити',
|
88
|
+
textFormatting: 'Форматування тексту',
|
89
|
+
action: 'Дія',
|
90
|
+
paragraphFormatting: 'Форматування параграфу',
|
91
|
+
documentStyle: 'Стиль документу'
|
92
|
+
},
|
93
|
+
history: {
|
94
|
+
undo: 'Відмінити',
|
95
|
+
redo: 'Повторити'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
});
|
99
|
+
})(jQuery);
|
@@ -0,0 +1,97 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.extend($.summernote.lang, {
|
3
|
+
'vi-VN': {
|
4
|
+
font: {
|
5
|
+
bold: 'In Đậm',
|
6
|
+
italic: 'In Nghiên',
|
7
|
+
underline: 'Gạch Dưới',
|
8
|
+
clear: 'Bỏ Định Dạng',
|
9
|
+
height: 'Khoảng Cách Hàng',
|
10
|
+
name: 'Phông Chữ',
|
11
|
+
strikethrough: 'Gạch Ngang',
|
12
|
+
size: 'Cỡ Chữ'
|
13
|
+
},
|
14
|
+
image: {
|
15
|
+
image: 'Hình Ảnh',
|
16
|
+
insert: 'Chèn',
|
17
|
+
resizeFull: '100%',
|
18
|
+
resizeHalf: '50%',
|
19
|
+
resizeQuarter: '25%',
|
20
|
+
floatLeft: 'Canh Trái',
|
21
|
+
floatRight: 'Canh Phải',
|
22
|
+
floatNone: 'Canh Đều',
|
23
|
+
dragImageHere: 'Thả Ảnh Ở Đây',
|
24
|
+
selectFromFiles: 'Chọn Từ Files',
|
25
|
+
url: 'URL',
|
26
|
+
remove: 'Ghỡ Bỏ'
|
27
|
+
},
|
28
|
+
link: {
|
29
|
+
link: 'Đường Dẫn',
|
30
|
+
insert: 'Chèn Đường Dẫn',
|
31
|
+
unlink: 'Ghỡ Đường Dẫn',
|
32
|
+
edit: 'Sửa',
|
33
|
+
textToDisplay: 'Text Hiển Thị',
|
34
|
+
url: 'URL',
|
35
|
+
openInNewWindow: 'Mở ở Cửa Sổ Mới'
|
36
|
+
},
|
37
|
+
table: {
|
38
|
+
table: 'Bảng'
|
39
|
+
},
|
40
|
+
hr: {
|
41
|
+
insert: 'Chèn Vào'
|
42
|
+
},
|
43
|
+
style: {
|
44
|
+
style: 'Kiểu Chữ',
|
45
|
+
normal: 'Chữ Thường',
|
46
|
+
blockquote: 'Đoạn Trích',
|
47
|
+
pre: 'Mã Code',
|
48
|
+
h1: 'H1',
|
49
|
+
h2: 'H2',
|
50
|
+
h3: 'H3',
|
51
|
+
h4: 'H4',
|
52
|
+
h5: 'H5',
|
53
|
+
h6: 'H6'
|
54
|
+
},
|
55
|
+
lists: {
|
56
|
+
unordered: 'Liệt Kê Danh Sách',
|
57
|
+
ordered: 'Liệt Kê Theo Số'
|
58
|
+
},
|
59
|
+
options: {
|
60
|
+
help: 'Trợ Giúp',
|
61
|
+
fullscreen: 'Đầy Màn Hình',
|
62
|
+
codeview: 'Xem Dạng Code'
|
63
|
+
},
|
64
|
+
paragraph: {
|
65
|
+
paragraph: 'Canh Lề',
|
66
|
+
outdent: 'Dịch Sang Trái',
|
67
|
+
indent: 'Dịch Sang Phải',
|
68
|
+
left: 'Canh Trái',
|
69
|
+
center: 'Canh Giữa',
|
70
|
+
right: 'Canh Phải',
|
71
|
+
justify: 'Canh Đều'
|
72
|
+
},
|
73
|
+
color: {
|
74
|
+
recent: 'Màu Chữ',
|
75
|
+
more: 'Mở Rộng',
|
76
|
+
background: 'Màu Nền',
|
77
|
+
foreground: 'Màu Chữ',
|
78
|
+
transparent: 'Trong Suốt',
|
79
|
+
setTransparent: 'Nền Trong Suốt',
|
80
|
+
reset: 'Thiệt Lập Lại',
|
81
|
+
resetToDefault: 'Trở Lại Ban Đầu'
|
82
|
+
},
|
83
|
+
shortcut: {
|
84
|
+
shortcuts: 'Phím Tắt',
|
85
|
+
close: 'Đóng',
|
86
|
+
textFormatting: 'Định Dạng Văn Bản',
|
87
|
+
action: 'Hành Động',
|
88
|
+
paragraphFormatting: 'Định Dạng',
|
89
|
+
documentStyle: 'Kiểu Văn Bản'
|
90
|
+
},
|
91
|
+
history: {
|
92
|
+
undo: 'Lùi Lại',
|
93
|
+
redo: 'Làm Lại'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
});
|
97
|
+
})(jQuery);
|
@@ -0,0 +1,96 @@
|
|
1
|
+
(function ($) {
|
2
|
+
$.extend($.summernote.lang, {
|
3
|
+
'zh-CN': {
|
4
|
+
font: {
|
5
|
+
bold: '粗体',
|
6
|
+
italic: '斜体',
|
7
|
+
underline: '下划线',
|
8
|
+
clear: '清除格式',
|
9
|
+
height: '行高',
|
10
|
+
name: '字体',
|
11
|
+
strikethrough: '删除线',
|
12
|
+
size: '字号'
|
13
|
+
},
|
14
|
+
image: {
|
15
|
+
image: '图片',
|
16
|
+
insert: '插入图片',
|
17
|
+
resizeFull: '调整至 100%',
|
18
|
+
resizeHalf: '调整至 50%',
|
19
|
+
resizeQuarter: '调整至 25%',
|
20
|
+
floatLeft: '左浮动',
|
21
|
+
floatRight: '右浮动',
|
22
|
+
floatNone: '不浮动',
|
23
|
+
dragImageHere: '将图片拖至此处',
|
24
|
+
selectFromFiles: '从本地上传',
|
25
|
+
url: '图片地址'
|
26
|
+
},
|
27
|
+
link: {
|
28
|
+
link: '链接',
|
29
|
+
insert: '插入链接',
|
30
|
+
unlink: '去除链接',
|
31
|
+
edit: '编辑链接',
|
32
|
+
textToDisplay: '显示文本',
|
33
|
+
url: '链接地址',
|
34
|
+
openInNewWindow: '在新窗口打开'
|
35
|
+
},
|
36
|
+
table: {
|
37
|
+
table: '表格'
|
38
|
+
},
|
39
|
+
hr: {
|
40
|
+
insert: '水平线'
|
41
|
+
},
|
42
|
+
style: {
|
43
|
+
style: '样式',
|
44
|
+
normal: '普通',
|
45
|
+
blockquote: '引用',
|
46
|
+
pre: '代码',
|
47
|
+
h1: '标题 1',
|
48
|
+
h2: '标题 2',
|
49
|
+
h3: '标题 3',
|
50
|
+
h4: '标题 4',
|
51
|
+
h5: '标题 5',
|
52
|
+
h6: '标题 6'
|
53
|
+
},
|
54
|
+
lists: {
|
55
|
+
unordered: '无序列表',
|
56
|
+
ordered: '有序列表'
|
57
|
+
},
|
58
|
+
options: {
|
59
|
+
help: '帮助',
|
60
|
+
fullscreen: '全屏',
|
61
|
+
codeview: '源代码'
|
62
|
+
},
|
63
|
+
paragraph: {
|
64
|
+
paragraph: '段落',
|
65
|
+
outdent: '减少缩进',
|
66
|
+
indent: '增加缩进',
|
67
|
+
left: '左对齐',
|
68
|
+
center: '居中对齐',
|
69
|
+
right: '右对齐',
|
70
|
+
justify: '两端对齐'
|
71
|
+
},
|
72
|
+
color: {
|
73
|
+
recent: '最近使用',
|
74
|
+
more: '更多',
|
75
|
+
background: '背景',
|
76
|
+
foreground: '前景',
|
77
|
+
transparent: '透明',
|
78
|
+
setTransparent: '透明',
|
79
|
+
reset: '重置',
|
80
|
+
resetToDefault: '默认'
|
81
|
+
},
|
82
|
+
shortcut: {
|
83
|
+
shortcuts: '快捷键',
|
84
|
+
close: '关闭',
|
85
|
+
textFormatting: '文本格式',
|
86
|
+
action: '动作',
|
87
|
+
paragraphFormatting: '段落格式',
|
88
|
+
documentStyle: '文档样式'
|
89
|
+
},
|
90
|
+
history: {
|
91
|
+
undo: '撤销',
|
92
|
+
redo: '重做'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
});
|
96
|
+
})(jQuery);
|