redactor-rails 0.4 → 0.4.1

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