right-rails 1.2.2 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. data/CHANGELOG +7 -0
  2. data/README.rdoc +1 -1
  3. data/Rakefile +1 -1
  4. data/init.rb +1 -0
  5. data/lib/generators/right_rails/right_rails_generator.rb +15 -6
  6. data/lib/right_rails.rb +1 -1
  7. data/lib/right_rails/controller_extensions.rb +28 -15
  8. data/lib/right_rails/helpers/misc.rb +38 -38
  9. data/lib/right_rails/helpers/rails.rb +50 -7
  10. data/lib/rjs_renderer.rb +26 -0
  11. data/spec/lib/right_rails/controller_extensions_spec.rb +25 -14
  12. data/spec/lib/right_rails/helpers/forms_spec.rb +6 -6
  13. data/spec/lib/right_rails/helpers/rails_spec.rb +44 -45
  14. data/vendor/assets/images/rightjs-ui/rte.png +0 -0
  15. data/vendor/assets/javascripts/right-safe-src.js +2 -2
  16. data/vendor/assets/javascripts/right-safe.js +2 -2
  17. data/vendor/assets/javascripts/right-src.js +386 -100
  18. data/vendor/assets/javascripts/right.js +2 -2
  19. data/vendor/assets/javascripts/right/calendar-src.js +19 -3
  20. data/vendor/assets/javascripts/right/calendar.js +2 -2
  21. data/vendor/assets/javascripts/right/colorpicker-src.js +59 -20
  22. data/vendor/assets/javascripts/right/colorpicker.js +2 -2
  23. data/vendor/assets/javascripts/right/i18n/de.js +43 -42
  24. data/vendor/assets/javascripts/right/i18n/es.js +1 -0
  25. data/vendor/assets/javascripts/right/i18n/fi.js +1 -0
  26. data/vendor/assets/javascripts/right/i18n/fr.js +1 -0
  27. data/vendor/assets/javascripts/right/i18n/hu.js +1 -0
  28. data/vendor/assets/javascripts/right/i18n/it.js +1 -0
  29. data/vendor/assets/javascripts/right/i18n/jp.js +1 -0
  30. data/vendor/assets/javascripts/right/i18n/lt.js +96 -0
  31. data/vendor/assets/javascripts/right/i18n/nl.js +1 -0
  32. data/vendor/assets/javascripts/right/i18n/pt-br.js +1 -0
  33. data/vendor/assets/javascripts/right/i18n/ru.js +1 -0
  34. data/vendor/assets/javascripts/right/i18n/ua.js +1 -0
  35. data/vendor/assets/javascripts/right/jquerysh-src.js +4 -4
  36. data/vendor/assets/javascripts/right/jquerysh.js +2 -2
  37. data/vendor/assets/javascripts/right/rails-src.js +51 -15
  38. data/vendor/assets/javascripts/right/rails.js +2 -2
  39. data/vendor/assets/javascripts/right/resizable-src.js +11 -11
  40. data/vendor/assets/javascripts/right/rte-src.js +33 -13
  41. data/vendor/assets/javascripts/right/rte.js +2 -2
  42. data/vendor/assets/javascripts/right/slider-src.js +137 -28
  43. data/vendor/assets/javascripts/right/slider.js +2 -2
  44. metadata +24 -126
  45. data/generators/right_rails/right_rails_generator.rb +0 -46
  46. data/generators/right_rails/templates/iframed.html.erb +0 -10
  47. data/generators/right_scaffold/right_scaffold_generator.rb +0 -53
  48. data/generators/right_scaffold/templates/controller.rb +0 -99
  49. data/generators/right_scaffold/templates/helper.rb +0 -2
  50. data/generators/right_scaffold/templates/layout.html.erb +0 -18
  51. data/generators/right_scaffold/templates/style.css +0 -54
  52. data/generators/right_scaffold/templates/view__form.html.erb +0 -16
  53. data/generators/right_scaffold/templates/view__item.html.erb +0 -13
  54. data/generators/right_scaffold/templates/view_edit.html.erb +0 -6
  55. data/generators/right_scaffold/templates/view_index.html.erb +0 -9
  56. data/generators/right_scaffold/templates/view_new.html.erb +0 -5
  57. data/generators/right_scaffold/templates/view_show.html.erb +0 -10
  58. data/lib/generators/right_rails/templates/iframed.html.erb +0 -10
  59. data/public/images/rightjs-ui/colorpicker.png +0 -0
  60. data/public/images/rightjs-ui/resizable.png +0 -0
  61. data/public/images/rightjs-ui/rte.png +0 -0
  62. data/public/javascripts/right-olds-src.js +0 -652
  63. data/public/javascripts/right-olds.js +0 -9
  64. data/public/javascripts/right-safe-src.js +0 -68
  65. data/public/javascripts/right-safe.js +0 -7
  66. data/public/javascripts/right-src.js +0 -6014
  67. data/public/javascripts/right.js +0 -7
  68. data/public/javascripts/right/autocompleter-src.js +0 -625
  69. data/public/javascripts/right/autocompleter.js +0 -7
  70. data/public/javascripts/right/billboard-src.js +0 -564
  71. data/public/javascripts/right/billboard.js +0 -7
  72. data/public/javascripts/right/calendar-src.js +0 -1464
  73. data/public/javascripts/right/calendar.js +0 -7
  74. data/public/javascripts/right/casting-src.js +0 -183
  75. data/public/javascripts/right/casting.js +0 -7
  76. data/public/javascripts/right/colorpicker-src.js +0 -981
  77. data/public/javascripts/right/colorpicker.js +0 -7
  78. data/public/javascripts/right/dialog-src.js +0 -768
  79. data/public/javascripts/right/dialog.js +0 -7
  80. data/public/javascripts/right/dnd-src.js +0 -591
  81. data/public/javascripts/right/dnd.js +0 -7
  82. data/public/javascripts/right/effects-src.js +0 -508
  83. data/public/javascripts/right/effects.js +0 -7
  84. data/public/javascripts/right/i18n/de.js +0 -95
  85. data/public/javascripts/right/i18n/en-us.js +0 -11
  86. data/public/javascripts/right/i18n/es.js +0 -95
  87. data/public/javascripts/right/i18n/fi.js +0 -96
  88. data/public/javascripts/right/i18n/fr.js +0 -95
  89. data/public/javascripts/right/i18n/hu.js +0 -100
  90. data/public/javascripts/right/i18n/it.js +0 -95
  91. data/public/javascripts/right/i18n/jp.js +0 -99
  92. data/public/javascripts/right/i18n/nl.js +0 -95
  93. data/public/javascripts/right/i18n/pt-br.js +0 -95
  94. data/public/javascripts/right/i18n/ru.js +0 -95
  95. data/public/javascripts/right/i18n/ua.js +0 -99
  96. data/public/javascripts/right/in-edit-src.js +0 -373
  97. data/public/javascripts/right/in-edit.js +0 -7
  98. data/public/javascripts/right/jquerysh-src.js +0 -362
  99. data/public/javascripts/right/jquerysh.js +0 -7
  100. data/public/javascripts/right/json-src.js +0 -147
  101. data/public/javascripts/right/json.js +0 -7
  102. data/public/javascripts/right/keys-src.js +0 -87
  103. data/public/javascripts/right/keys.js +0 -7
  104. data/public/javascripts/right/lightbox-src.js +0 -931
  105. data/public/javascripts/right/lightbox.js +0 -7
  106. data/public/javascripts/right/rails-src.js +0 -402
  107. data/public/javascripts/right/rails.js +0 -7
  108. data/public/javascripts/right/rater-src.js +0 -384
  109. data/public/javascripts/right/rater.js +0 -7
  110. data/public/javascripts/right/resizable-src.js +0 -465
  111. data/public/javascripts/right/resizable.js +0 -7
  112. data/public/javascripts/right/rte-src.js +0 -2685
  113. data/public/javascripts/right/rte.js +0 -7
  114. data/public/javascripts/right/selectable-src.js +0 -725
  115. data/public/javascripts/right/selectable.js +0 -7
  116. data/public/javascripts/right/sizzle-src.js +0 -1132
  117. data/public/javascripts/right/sizzle.js +0 -7
  118. data/public/javascripts/right/slider-src.js +0 -395
  119. data/public/javascripts/right/slider.js +0 -7
  120. data/public/javascripts/right/sortable-src.js +0 -430
  121. data/public/javascripts/right/sortable.js +0 -7
  122. data/public/javascripts/right/table-src.js +0 -176
  123. data/public/javascripts/right/table.js +0 -7
  124. data/public/javascripts/right/tabs-src.js +0 -1157
  125. data/public/javascripts/right/tabs.js +0 -7
  126. data/public/javascripts/right/tags-src.js +0 -745
  127. data/public/javascripts/right/tags.js +0 -7
  128. data/public/javascripts/right/tooltips-src.js +0 -331
  129. data/public/javascripts/right/tooltips.js +0 -7
  130. data/public/javascripts/right/uploader-src.js +0 -302
  131. data/public/javascripts/right/uploader.js +0 -7
@@ -1,95 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: Italian module
3
- *
4
- * Copyright (C) Nikolay Nemshilov
5
- */
6
- RightJS.Object.each({
7
-
8
- Calendar: {
9
- Done: 'Fatto',
10
- Now: 'Oggi',
11
- NextMonth: 'Mese successivo',
12
- PrevMonth: 'Mese precedente',
13
- NextYear: 'Anno seguente',
14
- PrevYear: 'Anno precedente',
15
-
16
- dayNames: 'Domenica Lunedi Martedi Mercoledi Giovedi Venerdi Sabato'.split(' '),
17
- dayNamesShort: 'Dom Lun Mar Mer Gio Ven Sab'.split(' '),
18
- dayNamesMin: 'Do Lu Ma Me Gi Ve Sa'.split(' '),
19
- monthNames: 'Gennaio Febbraio Marzo Aprile Maggio Giugno Luglio Agosto Settembre Ottobre Novembre Dicembre'.split(' '),
20
- monthNamesShort: 'Gen Feb Mar Apr Mag Giu Lug Ago Set Ott Nov Dic'.split(' ')
21
- },
22
-
23
- Lightbox: {
24
- Close: 'Chiudi',
25
- Prev: 'Immagine precedente',
26
- Next: 'Immagine seguente'
27
- },
28
-
29
- InEdit: {
30
- Save: "Salva",
31
- Cancel: "Abbandona"
32
- },
33
-
34
- Colorpicker: {
35
- Done: 'Fatto'
36
- },
37
-
38
- Dialog: {
39
- Ok: 'Ok',
40
- Close: 'Close',
41
- Cancel: 'Cancel',
42
- Help: 'Help',
43
- Expand: 'Expand',
44
- Collapse: 'Collapse',
45
-
46
- Alert: 'Warning!',
47
- Confirm: 'Confirm',
48
- Prompt: 'Enter'
49
- },
50
-
51
- Rte: {
52
- Clear: 'Clear',
53
- Save: 'Save',
54
- Source: 'Source',
55
- Bold: 'Bold',
56
- Italic: 'Italic',
57
- Underline: 'Underline',
58
- Strike: 'Strike through',
59
- Ttext: 'Typetext',
60
- Header: 'Header',
61
- Cut: 'Cut',
62
- Copy: 'Copy',
63
- Paste: 'Paste',
64
- Left: 'Left',
65
- Center: 'Center',
66
- Right: 'Right',
67
- Justify: 'Justify',
68
- Undo: 'Undo',
69
- Redo: 'Redo',
70
- Code: 'Code block',
71
- Quote: 'Block quote',
72
- Link: 'Add link',
73
- Image: 'Insert image',
74
- Video: 'Insert video',
75
- Dotlist: 'List with dots',
76
- Numlist: 'List with numbers',
77
- Indent: 'Indent',
78
- Outdent: 'Outdent',
79
- Forecolor: 'Text color',
80
- Backcolor: 'Background color',
81
- Select: 'Select',
82
- Remove: 'Remove',
83
- Format: 'Format',
84
- Fontname: 'Font name',
85
- Fontsize: 'Size',
86
- Subscript: 'Subscript',
87
- Superscript: 'Superscript',
88
- UrlAddress: 'URL Address'
89
- }
90
-
91
- }, function(module, i18n) {
92
- if (self[module]) {
93
- RightJS.$ext(self[module].i18n, i18n);
94
- }
95
- });
@@ -1,99 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: Japanese module
3
- *
4
- * Copyright (C) Nikolay Nemshilov
5
- */
6
- if (self.Calendar) {
7
- Calendar.Options.format = 'POSIX';
8
- }
9
-
10
- RightJS.Object.each({
11
-
12
- Calendar: {
13
- Done: 'Done',
14
- Now: '今日',
15
- NextMonth: '翌月',
16
- PrevMonth: '前の月',
17
- NextYear: '翌年',
18
- PrevYear: '前年',
19
-
20
- dayNames: '日曜日 月曜日 火曜日 水曜日 木曜日 金曜日 土曜日'.split(' '),
21
- dayNamesShort: '日 月 火 水 木 金 土'.split(' '),
22
- dayNamesMin: '日 月 火 水 木 金 土'.split(' '),
23
- monthNames: '1月 2月 3月 4月 5月 6月 7月 8月 9月 10月 11月 12月'.split(' '),
24
- monthNamesShort: '1月 2月 3月 4月 5月 6月 7月 8月 9月 10月 11月 12月'.split(' ')
25
- },
26
-
27
- Lightbox: {
28
- Close: '閉じる',
29
- Prev: '前の画像',
30
- Next: '次の画像'
31
- },
32
-
33
- InEdit: {
34
- Save: "保存",
35
- Cancel: "キャンセル"
36
- },
37
-
38
- Colorpicker: {
39
- Done: 'Done'
40
- },
41
-
42
- Dialog: {
43
- Ok: 'Ok',
44
- Close: 'Close',
45
- Cancel: 'Cancel',
46
- Help: 'Help',
47
- Expand: 'Expand',
48
- Collapse: 'Collapse',
49
-
50
- Alert: 'Warning!',
51
- Confirm: 'Confirm',
52
- Prompt: 'Enter'
53
- },
54
-
55
- Rte: {
56
- Clear: 'Clear',
57
- Save: 'Save',
58
- Source: 'Source',
59
- Bold: 'Bold',
60
- Italic: 'Italic',
61
- Underline: 'Underline',
62
- Strike: 'Strike through',
63
- Ttext: 'Typetext',
64
- Header: 'Header',
65
- Cut: 'Cut',
66
- Copy: 'Copy',
67
- Paste: 'Paste',
68
- Left: 'Left',
69
- Center: 'Center',
70
- Right: 'Right',
71
- Justify: 'Justify',
72
- Undo: 'Undo',
73
- Redo: 'Redo',
74
- Code: 'Code block',
75
- Quote: 'Block quote',
76
- Link: 'Add link',
77
- Image: 'Insert image',
78
- Video: 'Insert video',
79
- Dotlist: 'List with dots',
80
- Numlist: 'List with numbers',
81
- Indent: 'Indent',
82
- Outdent: 'Outdent',
83
- Forecolor: 'Text color',
84
- Backcolor: 'Background color',
85
- Select: 'Select',
86
- Remove: 'Remove',
87
- Format: 'Format',
88
- Fontname: 'Font name',
89
- Fontsize: 'Size',
90
- Subscript: 'Subscript',
91
- Superscript: 'Superscript',
92
- UrlAddress: 'URL Address'
93
- }
94
-
95
- }, function(module, i18n) {
96
- if (self[module]) {
97
- RightJS.$ext(self[module].i18n, i18n);
98
- }
99
- });
@@ -1,95 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: Dutch module
3
- *
4
- * Copyright (C) Douwe Maan, Jeffrey Gelens <jeffrey@noppo.pro>
5
- */
6
- RightJS.Object.each({
7
-
8
- Calendar: {
9
- Done: 'Klaar',
10
- Now: 'Nu',
11
- NextMonth: 'Volgende maand',
12
- PrevMonth: 'Vorige maand',
13
- NextYear: 'Volgend jaar',
14
- PrevYear: 'Vorig jaar',
15
-
16
- dayNames: 'zondag maandag dinsdag woensdag donderdag vrijdag zaterdag'.split(' '),
17
- dayNamesShort: 'zo ma di wo do vr za'.split(' '),
18
- dayNamesMin: 'zo ma di wo do vr za'.split(' '),
19
- monthNames: 'januari februari maart april mei juni juli augustus september oktober november december'.split(' '),
20
- monthNamesShort: 'jan feb maa apr mei juni juli aug sept okt nov dec'.split(' ')
21
- },
22
-
23
- Lightbox: {
24
- Close: 'Sluiten',
25
- Prev: 'Vorige afbeelding',
26
- Next: 'Volgende afbeelding'
27
- },
28
-
29
- InEdit: {
30
- Save: "Opslaan",
31
- Cancel: "Annuleren"
32
- },
33
-
34
- Colorpicker: {
35
- Done: 'Klaar'
36
- },
37
-
38
- Dialog: {
39
- Ok: 'Ok',
40
- Close: 'Sluiten',
41
- Cancel: 'Annuleren',
42
- Help: 'Help',
43
- Expand: 'Uitklappen',
44
- Collapse: 'Inklappen',
45
-
46
- Alert: 'Let op!',
47
- Confirm: 'Bevestigen',
48
- Prompt: 'Enter'
49
- },
50
-
51
- Rte: {
52
- Clear: 'Clear',
53
- Save: 'Bewaar',
54
- Source: 'Bron',
55
- Bold: 'Vetgedrukt',
56
- Italic: 'Schuingedrukt',
57
- Underline: 'Onderstreept',
58
- Strike: 'Doorhalen',
59
- Ttext: 'Typetekst',
60
- Header: 'Kop',
61
- Cut: 'Knippen',
62
- Copy: 'Kopieren',
63
- Paste: 'Plakken',
64
- Left: 'Links uitlijnen',
65
- Center: 'Centreren',
66
- Right: 'Rechts uitlijnen',
67
- Justify: 'Uitlijnen',
68
- Undo: 'Ongedaan maken',
69
- Redo: 'Opnieuw',
70
- Code: 'Code block',
71
- Quote: 'Blokcitaat',
72
- Link: 'Link toevoegen',
73
- Image: 'Plaatje toevoegen',
74
- Video: 'Video toevoegen',
75
- Dotlist: 'Lijst met punten',
76
- Numlist: 'Genummerde lijst',
77
- Indent: 'Inspringen',
78
- Outdent: 'Uitspringen',
79
- Forecolor: 'Tekstkleur',
80
- Backcolor: 'Achtergrond kleur',
81
- Select: 'Selecteren',
82
- Remove: 'Verwijderen',
83
- Format: 'Formaat',
84
- Fontname: 'Lettertype',
85
- Fontsize: 'Lettergrootte',
86
- Subscript: 'Subscript',
87
- Superscript: 'Superscript',
88
- UrlAddress: 'URL'
89
- }
90
-
91
- }, function(module, i18n) {
92
- if (self[module]) {
93
- RightJS.$ext(self[module].i18n, i18n);
94
- }
95
- });
@@ -1,95 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: Brazilian portuguese module
3
- *
4
- * Copyright (C) Bruno Malvestuto
5
- */
6
- RightJS.Object.each({
7
-
8
- Calendar: {
9
- Done: 'Feito',
10
- Now: 'Agora',
11
- NextMonth: 'Próximo Mês',
12
- PrevMonth: 'Mês Anterior',
13
- NextYear: 'Próximo ano',
14
- PrevYear: 'Ano anterior',
15
-
16
- dayNames: 'Domingo Segunda Terça Quarta Quinta Sexta Sábado'.split(' '),
17
- dayNamesShort: 'Dom Seg Ter Qua Qui Sex Sáb'.split(' '),
18
- dayNamesMin: 'D S T Q Q S S'.split(' '),
19
- monthNames: 'Janeiro Fevereiro Março Abril Maio Junho Julho Agosto Setembro Outubro Novembro Dezembro'.split(' '),
20
- monthNamesShort: 'Jan Fev Mar Abr Mai Jun Jul Ago Set Out Nov Dez'.split(' ')
21
- },
22
-
23
- Lightbox: {
24
- Close: 'Fechar',
25
- Prev: 'Anterior',
26
- Next: 'Próxima'
27
- },
28
-
29
- InEdit: {
30
- Save: "Salvar",
31
- Cancel: "Cancelar"
32
- },
33
-
34
- Colorpicker: {
35
- Done: 'Feito'
36
- },
37
-
38
- Dialog: {
39
- Ok: 'Ok',
40
- Close: 'Fechar',
41
- Cancel: 'Cancelar',
42
- Help: 'Ajuda',
43
- Expand: 'Maximizar',
44
- Collapse: 'Minimizar',
45
-
46
- Alert: 'Atenção!',
47
- Confirm: 'Confirmar',
48
- Prompt: 'Editar'
49
- },
50
-
51
- Rte: {
52
- Clear: 'Clear',
53
- Save: 'Save',
54
- Source: 'Source',
55
- Bold: 'Bold',
56
- Italic: 'Italic',
57
- Underline: 'Underline',
58
- Strike: 'Strike through',
59
- Ttext: 'Typetext',
60
- Header: 'Header',
61
- Cut: 'Cut',
62
- Copy: 'Copy',
63
- Paste: 'Paste',
64
- Left: 'Left',
65
- Center: 'Center',
66
- Right: 'Right',
67
- Justify: 'Justify',
68
- Undo: 'Undo',
69
- Redo: 'Redo',
70
- Code: 'Code block',
71
- Quote: 'Block quote',
72
- Link: 'Add link',
73
- Image: 'Insert image',
74
- Video: 'Insert video',
75
- Dotlist: 'List with dots',
76
- Numlist: 'List with numbers',
77
- Indent: 'Indent',
78
- Outdent: 'Outdent',
79
- Forecolor: 'Text color',
80
- Backcolor: 'Background color',
81
- Select: 'Select',
82
- Remove: 'Remove',
83
- Format: 'Format',
84
- Fontname: 'Font name',
85
- Fontsize: 'Size',
86
- Subscript: 'Subscript',
87
- Superscript: 'Superscript',
88
- UrlAddress: 'URL Address'
89
- }
90
-
91
- }, function(module, i18n) {
92
- if (self[module]) {
93
- RightJS.$ext(self[module].i18n, i18n);
94
- }
95
- });
@@ -1,95 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: Russian module
3
- *
4
- * Copyright (C) Nikolay Nemshilov
5
- */
6
- RightJS.Object.each({
7
-
8
- Calendar: {
9
- Done: 'Готово',
10
- Now: 'Сейчас',
11
- NextMonth: 'Следующий месяц',
12
- PrevMonth: 'Предыдущий месяц',
13
- NextYear: 'Следующий год',
14
- PrevYear: 'Предыдущий год',
15
-
16
- dayNames: 'Воскресенье Понедельник Вторник Среда Четверг Пятница Суббота'.split(' '),
17
- dayNamesShort: 'Вск Пнд Втр Срд Чтв Птн Сбт'.split(' '),
18
- dayNamesMin: 'Вс Пн Вт Ср Чт Пт Сб'.split(' '),
19
- monthNames: 'Январь Февраль Март Апрель Май Июнь Июль Август Сентябрь Октябрь Ноябрь Декабрь'.split(' '),
20
- monthNamesShort: 'Янв Фев Мар Апр Май Инь Иль Авг Сен Окт Ноя Дек'.split(' ')
21
- },
22
-
23
- Lightbox: {
24
- Close: 'Закрыть',
25
- Prev: 'Предыдущее изображение',
26
- Next: 'Следующее изображение'
27
- },
28
-
29
- InEdit: {
30
- Save: "Сохранить",
31
- Cancel: "Отмена"
32
- },
33
-
34
- Colorpicker: {
35
- Done: 'Готово'
36
- },
37
-
38
- Dialog: {
39
- Ok: 'Готово',
40
- Close: 'Закрыть',
41
- Cancel: 'Отмена',
42
- Help: 'Помощь',
43
- Expand: 'Во все окно',
44
- Collapse: 'Обычный размер',
45
-
46
- Alert: 'Внимание!',
47
- Confirm: 'Подтверждение',
48
- Prompt: 'Ввод данных'
49
- },
50
-
51
- Rte: {
52
- Clear: 'Очистить',
53
- Save: 'Сохранить',
54
- Source: 'Исходный код',
55
- Bold: 'Жирный',
56
- Italic: 'Наклонный',
57
- Underline: 'Подчеркнутый',
58
- Strike: 'Зачеркнутый',
59
- Ttext: 'Моноширинный',
60
- Header: 'Заголовок',
61
- Cut: 'Вырезать',
62
- Copy: 'Копировать',
63
- Paste: 'Вставить',
64
- Left: 'Ровнять по левому краю',
65
- Center: 'Ровнять по центру',
66
- Right: 'Ровнять по правому краю',
67
- Justify: 'Ровнять по ширине',
68
- Undo: 'Отменить',
69
- Redo: 'Повторить',
70
- Code: 'Блок кода',
71
- Quote: 'Цитата',
72
- Link: 'Добавить ссылку',
73
- Image: 'Вставить картинку',
74
- Video: 'Вставить видео',
75
- Dotlist: 'Обычный список',
76
- Numlist: 'Нумерованый список',
77
- Indent: 'Добавить уровень',
78
- Outdent: 'Убрать уровень',
79
- Forecolor: 'Цвет текста',
80
- Backcolor: 'Цвет подсветки',
81
- Select: 'Выделить',
82
- Remove: 'Удалить',
83
- Format: 'Формат',
84
- Fontname: 'Шрифт',
85
- Fontsize: 'Размер',
86
- Subscript: 'Нижний индекс',
87
- Superscript: 'Верхний индекс',
88
- UrlAddress: 'URL адрес'
89
- }
90
-
91
- }, function(module, i18n) {
92
- if (self[module]) {
93
- RightJS.$ext(self[module].i18n, i18n);
94
- }
95
- });