redactor-rails 0.4 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -2
- data/app/controller/redactor_rails/documents_controller.rb +9 -1
- data/app/controller/redactor_rails/pictures_controller.rb +9 -1
- data/lib/redactor-rails/helper.rb +1 -4
- data/lib/redactor-rails/orm/active_record.rb +1 -1
- data/lib/redactor-rails/version.rb +1 -1
- data/vendor/assets/javascripts/redactor-rails/index.js +1 -1
- data/vendor/assets/javascripts/redactor-rails/langs/ar.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/ba.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/bg.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/by.js +4 -3
- data/vendor/assets/javascripts/redactor-rails/langs/cs.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/da.js +4 -3
- data/vendor/assets/javascripts/redactor-rails/langs/de.js +4 -3
- data/vendor/assets/javascripts/redactor-rails/langs/en.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/eo.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/es.js +4 -3
- data/vendor/assets/javascripts/redactor-rails/langs/fa.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/fi.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/fr.js +4 -3
- data/vendor/assets/javascripts/redactor-rails/langs/hr.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/hu.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/id.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/it.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/ja.js +4 -3
- data/vendor/assets/javascripts/redactor-rails/langs/ko.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/lv.js +4 -3
- data/vendor/assets/javascripts/redactor-rails/langs/nl.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/pl.js +4 -3
- data/vendor/assets/javascripts/redactor-rails/langs/pt_br.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/ro.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/ru.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/sk.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/sq.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/sr-cir.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/sr-lat.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/sv.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/tr.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/ua.js +4 -3
- data/vendor/assets/javascripts/redactor-rails/langs/vi.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/zh_cn.js +3 -2
- data/vendor/assets/javascripts/redactor-rails/langs/zh_tw.js +74 -66
- data/vendor/assets/javascripts/redactor-rails/redactor.js +1114 -539
- data/vendor/assets/javascripts/redactor-rails/redactor.min.js +3 -3
- data/vendor/assets/stylesheets/redactor-rails/css/redactor-iframe.css +3 -2
- data/vendor/assets/stylesheets/redactor-rails/css/redactor.css +56 -43
- metadata +3 -3
@@ -1,66 +1,74 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
1
|
+
(function ($) {
|
2
|
+
$.Redactor.opts.langs['zh_tw'] = {
|
3
|
+
html: 'HTML',
|
4
|
+
video: '插入影片',
|
5
|
+
image: '插入圖片',
|
6
|
+
table: '表格',
|
7
|
+
link: '連結',
|
8
|
+
link_insert: '插入連結',
|
9
|
+
link_edit: 'Edit link',
|
10
|
+
unlink: '移除連結',
|
11
|
+
formatting: '樣式',
|
12
|
+
paragraph: '段落',
|
13
|
+
quote: '引用',
|
14
|
+
code: '原始碼',
|
15
|
+
header1: '標題 1',
|
16
|
+
header2: '標題 2',
|
17
|
+
header3: '標題 3',
|
18
|
+
header4: '標題 4',
|
19
|
+
header5: '標題 5',
|
20
|
+
bold: '將文字變成粗體',
|
21
|
+
italic: '將文字變成斜體',
|
22
|
+
fontcolor: '選擇文字顏色',
|
23
|
+
backcolor: '選擇文字底色',
|
24
|
+
unorderedlist: '項目列表',
|
25
|
+
orderedlist: '編號列表',
|
26
|
+
outdent: '減少縮排',
|
27
|
+
indent: '增加縮排',
|
28
|
+
cancel: '取消',
|
29
|
+
insert: '插入',
|
30
|
+
save: '儲存',
|
31
|
+
_delete: '刪除',
|
32
|
+
insert_table: '插入表格',
|
33
|
+
insert_row_above: '加入上方橫列',
|
34
|
+
insert_row_below: '加入下方橫列',
|
35
|
+
insert_column_left: '加入左方直欄',
|
36
|
+
insert_column_right: '加入右方直欄',
|
37
|
+
delete_column: '刪除整欄',
|
38
|
+
delete_row: '刪除整列',
|
39
|
+
delete_table: '刪除表格',
|
40
|
+
rows: '橫列',
|
41
|
+
columns: '直欄',
|
42
|
+
add_head: '加入表格標題',
|
43
|
+
delete_head: '刪除表格標題',
|
44
|
+
title: '標題',
|
45
|
+
image_position: '位置',
|
46
|
+
none: '無',
|
47
|
+
left: '靠左',
|
48
|
+
right: '靠右',
|
49
|
+
image_web_link: '連結',
|
50
|
+
text: '內文',
|
51
|
+
mailto: 'Email',
|
52
|
+
web: '網址',
|
53
|
+
video_html_code: '嵌入影片的原始碼',
|
54
|
+
file: '插入文件',
|
55
|
+
upload: '上傳',
|
56
|
+
download: '下載',
|
57
|
+
choose: '選擇',
|
58
|
+
or_choose: '或選擇',
|
59
|
+
drop_file_here: '將文件拖曳至此',
|
60
|
+
align_left: '將文字對齊至左側',
|
61
|
+
align_center: '將文字置中',
|
62
|
+
align_right: '將文字對齊至右側',
|
63
|
+
align_justify: '對齊至兩側',
|
64
|
+
horizontalrule: '插入水平線',
|
65
|
+
fullscreen: '全銀幕',
|
66
|
+
deleted: '刪除線',
|
67
|
+
anchor: '錨點',
|
68
|
+
link_new_tab: '另開視窗',
|
69
|
+
underline: '底線',
|
70
|
+
alignment: '對齊',
|
71
|
+
filename: '名稱 (選填)',
|
72
|
+
edit: '編輯'
|
73
|
+
};
|
74
|
+
})( jQuery );
|