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,7 +0,0 @@
1
- /**
2
- * Additional Visual Effects v2.2.0
3
- * http://rightjs.org/plugins/effects
4
- *
5
- * Copyright (C) 2009-2011 Nikolay Nemshilov
6
- */
7
- (function(a){function n(a,b,c){var d=e(c).compact(),g=k(d.last())?d.pop():{},h=new(f[b.capitalize()])(a,g);h.start.apply(h,d);return a}function m(a,b){for(var c=0,d=b.length,e=a.computedStyles(),f={},g;c<d;c++)g=b[c],g in e&&(f[g]=""+e[g]);return f}if(!a.Fx)throw"RightJS Fx is missing";var b=a,c=a.$,d=a.$w,e=a.$A,f=a.Fx,g=a.Class,h=a.Object,i=a.Element,j=a.defined,k=a.isHash,l=a.isString;a.Effects={version:"2.2.0"},f.Move=new g(f.Morph,{extend:{Options:h.merge(f.Options,{duration:"long",position:"absolute"})},prepare:function(a){return this.$super(this.getEndPosition(a))},getEndPosition:function(a){var b=this.element.getStyle("position"),c={};if(b!="absolute"||b!="relative")this.element._.style.position=b=b=="fixed"?"absolute":"relative";a.top&&(a.y=a.top.toInt()),a.left&&(a.x=a.left.toInt());var d=this.element.position(),e=this.getParentPosition(),f=d.x-e.x,g=d.y-e.y;this.options.position=="relative"?b=="absolute"?(j(a.x)&&(a.x+=d.x),j(a.y)&&(a.y+=d.x)):(j(a.x)&&(a.x+=f),j(a.y)&&(a.y+=g)):b=="relative"&&(j(a.x)&&(a.x+=f-d.x),j(a.y)&&(a.y+=g-d.y));for(var h in a)switch(h){case"top":case"left":break;case"y":c.top=a.y+"px";break;case"x":c.left=a.x+"px";break;default:c[h]=a[h]}return c},getParentPosition:function(){f.Move.Dummy=f.Move.Dummy||new i("div",{style:"width:0;height:0;visibility:hidden"}),this.element.insert(f.Move.Dummy,"before");var a=f.Move.Dummy.position();f.Move.Dummy.remove();return a}}),f.Zoom=new g(f.Move,{PROPERTIES:d("width height lineHeight paddingTop paddingRight paddingBottom paddingLeft fontSize borderWidth"),extend:{Options:h.merge(f.Move.Options,{position:"relative",duration:"normal",from:"center"})},prepare:function(a,b){return this.$super(this._getZoomedStyle(a,b))},_getZoomedStyle:function(a,b){var c=this._getProportion(a);return h.merge(this._getBasicStyle(c),this._getEndPosition(c),b)},_getProportion:function(a){if(k(a)){var c=$E("div").insertTo($E("div",{style:"visibility:hidden;float:left;height:0;width:0"}).insertTo(document.body)).setStyle(a);a=a.height?c.size().y/this.element.size().y:c.size().x/this.element.size().x,c.remove()}else l(a)&&(a=b(a).endsWith("%")?b(a).toFloat()/100:b(a).toFloat());return a},_getBasicStyle:function(a){function e(c){return""+b(c).toFloat()*a}var c=m(this.element,this.PROPERTIES),d=/([\d\.]+)/g;for(var f in c){if(f==="width"||f==="height")c[f]=c[f]||this.element["offset"+b(f).capitalize()]+"px";c[f].match(d)?c[f]=c[f].replace(d,e):delete c[f]}c.borderWidth&&b(c.borderWidth).toFloat()<1&&(c.borderWidth="1px");return c},_getEndPosition:function(a){var b={},c=this.element.size(),d=c.x*(a-1),e=c.y*(a-1);switch(this.options.from.replace("-"," ").split(" ").sort().join("_")){case"top":b.x=-d/2;break;case"right":b.x=-d,b.y=-e/2;break;case"bottom":b.x=-d/2;case"bottom_left":b.y=-e;break;case"bottom_right":b.y=-e;case"right_top":b.x=-d;break;case"center":b.x=-d/2;case"left":b.y=-e/2;break;default:}return b}}),f.Bounce=new g(f,{extend:{Options:h.merge(f.Options,{duration:"short",direction:"top",value:16})},prepare:function(a){a=a||this.options.value;var b=this.element.position(),c=f.Durations[this.options.duration]||this.options.duration,d={duration:c,position:"relative"},e="y";switch(this.options.direction){case"right":a=-a;case"left":e="x";break;case"bottom":a=-a}var g={},h={};g[e]=-a,h[e]=a,(new f.Move(this.element,d)).start(g),(new f.Move(this.element,d)).start(h),this.finish.bind(this).delay(1);return this}}),f.Run=new g(f.Move,{extend:{Options:h.merge(f.Move.Options,{direction:"left"})},prepare:function(a){var b=a||"toggle",c={},d=this.element.dimensions(),e=80;if(b=="out"||b=="toggle"&&this.element.visible())this.options.direction=="left"?c.x=-d.width-e:c.y=-d.height-e,this.onFinish(function(){this.element.hide().setStyle(this.getEndPosition({x:d.left,y:d.top}))});else{d=this.element.setStyle("visibility: hidden").show().dimensions();var f={};this.options.direction=="left"?(f.x=-d.width-e,c.x=d.left):(f.y=-d.height-e,c.y=d.top),this.element.setStyle(this.getEndPosition(f)).setStyle("visibility: visible")}return this.$super(c)}}),f.Puff=new g(f.Zoom,{extend:{Options:h.merge(f.Zoom.Options,{size:1.4})},prepare:function(a){var b=a||"toggle",c=0,d=this.options.size,e;if(b=="out"||b=="toggle"&&this.element.visible())e=this.getEndPosition(this._getZoomedStyle(1)),this.onFinish(function(){e.opacity=1,this.element.hide().setStyle(e)});else{this.element.setStyle("visibility: visible").show();var f=this.element.offsetWidth;e=this.getEndPosition(this._getZoomedStyle(1)),this.onFinish(function(){this.element.setStyle(e)}),this.element.setStyle(h.merge(this.getEndPosition(this._getZoomedStyle(d)),{opacity:0,visibility:"visible"})),d=f/this.element.offsetWidth,c=1}return this.$super(d,{opacity:c})}}),f.Glow=new g(f.Morph,{extend:{Options:h.merge(f.Options,{color:"#FF8",transition:"Exp"})},prepare:function(a,b){var c=this.element,d=c._.style,e="color",f=b||c.getStyle(e);f=[c].concat(c.parents()).map("getStyle",e).compact().first()||"#FFF",d[e]=a||this.options.color;return this.$super({color:f})}}),a.Element.include({move:function(a,b){return n(this,"move",[a,b||{}])},bounce:function(){return n(this,"bounce",arguments)},zoom:function(a,b){return n(this,"zoom",[a,b||{}])},run:function(){return n(this,"run",arguments)},puff:function(){return n(this,"puff",arguments)},glow:function(){return n(this,"glow",arguments)}})})(RightJS)
@@ -1,95 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: German module
3
- *
4
- * Copyright (C) Nikolay Nemshilov
5
- */
6
- RightJS.Object.each({
7
-
8
- Calendar: {
9
- Done: 'Erledigt',
10
- Now: 'Jetzt',
11
- NextMonth: 'Nächster Monat',
12
- PrevMonth: 'Vorhergehender Monat',
13
- NextYear: 'Nächstes Jahr',
14
- PrevYear: 'Vorhergehendes Jahr',
15
-
16
- dayNames: 'Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag'.split(' '),
17
- dayNamesShort: 'So Mo Di Mi Do Fr Sa'.split(' '),
18
- dayNamesMin: 'So Mo Di Mi Do Fr Sa'.split(' '),
19
- monthNames: 'Januar Februar März April Mai Juni Juli August September Oktober November Dezember'.split(' '),
20
- monthNamesShort: 'Jan Feb Mär Apr Mai Jun Jul Aug Sep Okt Nov Dez'.split(' ')
21
- },
22
-
23
- Lightbox: {
24
- Close: 'Schliessen',
25
- Prev: 'Vorhergehendes Bild',
26
- Next: 'Nächstes Bild'
27
- },
28
-
29
- InEdit: {
30
- Save: "Speichern",
31
- Cancel: "Abbruch"
32
- },
33
-
34
- Colorpicker: {
35
- Done: 'Erledigt'
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,11 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: US English module
3
- *
4
- * Copyright (C) Nikolay Nemshilov
5
- */
6
- if (self.Calendar) {
7
- RightJS.$ext(self.Calendar.Options, {
8
- firstDay: 0,
9
- format: 'US'
10
- });
11
- }
@@ -1,95 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: Spanish module
3
- *
4
- * Copyright (C) Nikolay Nemshilov
5
- */
6
- RightJS.Object.each({
7
-
8
- Calendar: {
9
- Done: 'Hecho',
10
- Now: 'Ahora',
11
- NextMonth: 'Mes siguiente',
12
- PrevMonth: 'Mes precedente',
13
- NextYear: 'Año siguiente',
14
- PrevYear: 'Año precedente',
15
-
16
- dayNames: 'Domingo Lunes Martes Miércoles Jueves Viernes Sábado'.split(' '),
17
- dayNamesShort: 'Dom Lun Mar Mié Jue Vie Sab'.split(' '),
18
- dayNamesMin: 'Do Lu Ma Mi Ju Vi Sa'.split(' '),
19
- monthNames: 'Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre Diciembre'.split(' '),
20
- monthNamesShort: 'Ene Feb Mar Abr May Jun Jul Ago Sep Oct Nov Dic'.split(' ')
21
- },
22
-
23
- Lightbox: {
24
- Close: 'Cerrar',
25
- Prev: 'Imagen precedente',
26
- Next: 'Imagen siguiente'
27
- },
28
-
29
- InEdit: {
30
- Save: "Guardar",
31
- Cancel: "Borrar"
32
- },
33
-
34
- Colorpicker: {
35
- Done: 'Hecho'
36
- },
37
-
38
- Dialog: {
39
- Ok: 'Ok',
40
- Close: 'Cerrar',
41
- Cancel: 'Cancelar',
42
- Help: 'Ayuda',
43
- Expand: 'Expandir',
44
- Collapse: 'Plegar',
45
-
46
- Alert: 'Aviso!',
47
- Confirm: 'Confirmar',
48
- Prompt: 'Entrar'
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,96 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: Finnish module
3
- *
4
- * Copyright (C) Juho Vepsäläinen
5
- * Source: http://www.csc.fi/sivut/kotoistus/suositukset/vahv_kalenterit_cldr1_4.htm
6
- */
7
- RightJS.Object.each({
8
-
9
- Calendar: {
10
- Done: "OK",
11
- Now: "Tänään",
12
- NextMonth: "Seuraava kuukausi",
13
- PrevMonth: "Edellinen kuukausi",
14
- NextYear: "Seuraava vuosi",
15
- PrevYear: "Edellinen vuosi",
16
-
17
- dayNames: 'Sunnuntai Maanantai Tiistai Keskiviikko Torstai Perjantai Lauantai'.split(' '),
18
- dayNamesShort: 'Su Ma Ti Ke To Pe La'.split(' '),
19
- dayNamesMin: 'S M T K T P L'.split(' '),
20
- monthNames: 'Tammikuu Helmikuu Maaliskuu Huhtikuu Toukokuu Kesäkuu Heinäkuu Elokuu Syyskuu Lokakuu Marraskuu Joulukuu'.split(' '),
21
- monthNamesShort: 'Tammi Helmi Maalis Huhti Touko Kesä Heinä Elo Syys Loka Marras Joulu'.split(' ')
22
- },
23
-
24
- Lightbox: {
25
- Close: 'Sulje',
26
- Prev: 'Edellinen kuva',
27
- Next: 'Seuraava kuva'
28
- },
29
-
30
- InEdit: {
31
- Save: "Tallenna",
32
- Cancel: "Peruuta"
33
- },
34
-
35
- Colorpicker: {
36
- Done: 'OK'
37
- },
38
-
39
- Dialog: {
40
- Ok: 'Ok',
41
- Close: 'Sulje',
42
- Cancel: 'Peruuta',
43
- Help: 'Ohje',
44
- Expand: 'Laajenna',
45
- Collapse: 'Luhista',
46
-
47
- Alert: 'Varoitus!',
48
- Confirm: 'Vahvista',
49
- Prompt: 'Syötä'
50
- },
51
-
52
- Rte: {
53
- Clear: 'Tyhjennä',
54
- Save: 'Tallenna',
55
- Source: 'Lähdekoodi',
56
- Bold: 'Lihavointi',
57
- Italic: 'Kursivointi',
58
- Underline: 'Alleviivaus',
59
- Strike: 'Yliviivaus',
60
- Ttext: 'Tasamittainen',
61
- Header: 'Otsikko',
62
- Cut: 'Leikkaa',
63
- Copy: 'Kopioi',
64
- Paste: 'Liitä',
65
- Left: 'Vasemmalle',
66
- Center: 'Keskelle',
67
- Right: 'Oikealle',
68
- Justify: 'Tasaa',
69
- Undo: 'Kumoa',
70
- Redo: 'Toista',
71
- Code: 'Koodilohko',
72
- Quote: 'Lainaus',
73
- Link: 'Lisää linkki',
74
- Image: 'Lisää kuva',
75
- Video: 'Lisää video',
76
- Dotlist: 'Tavallinen lista',
77
- Numlist: 'Numeroitu lista',
78
- Indent: 'Sisennä',
79
- Outdent: 'Ulonna',
80
- Forecolor: 'Tekstin väri',
81
- Backcolor: 'Taustan väri',
82
- Select: 'Valitse',
83
- Remove: 'Poista',
84
- Format: 'Muotoilu',
85
- Fontname: 'Fontin nimi',
86
- Fontsize: 'Koko',
87
- Subscript: 'Alaindeksi',
88
- Superscript: 'Yläindeksi',
89
- UrlAddress: 'www-osoite'
90
- }
91
-
92
- }, function(module, i18n) {
93
- if (self[module]) {
94
- RightJS.$ext(self[module].i18n, i18n);
95
- }
96
- });
@@ -1,95 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: French module
3
- *
4
- * Copyright (C) Nikolay Nemshilov
5
- */
6
- RightJS.Object.each({
7
-
8
- Calendar: {
9
- Done: "Fait",
10
- Now: "Maint.",
11
- NextMonth: "Mois prochain",
12
- PrevMonth: "Mois précédent",
13
- NextYear: "L'année prochain",
14
- PrevYear: "L'année précédente",
15
-
16
- dayNames: 'Dimanche Lundi Mardi Mercredi Jeudi Vendredi Samedi'.split(' '),
17
- dayNamesShort: 'Dim Lun Mar Mer Jeu Ven Sam'.split(' '),
18
- dayNamesMin: 'Di Lu Ma Me Je Ve Sa'.split(' '),
19
- monthNames: 'Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre'.split(' '),
20
- monthNamesShort: 'Jan Fév Mar Avr Mai Juin Juil Août Sept Oct Nov Déc'.split(' ')
21
- },
22
-
23
- Lightbox: {
24
- Close: 'Fermer',
25
- Prev: 'Image précédente',
26
- Next: 'Image suivante'
27
- },
28
-
29
- InEdit: {
30
- Save: "Enregistrer",
31
- Cancel: "Annuler"
32
- },
33
-
34
- Colorpicker: {
35
- Done: 'Fait'
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,100 +0,0 @@
1
- /**
2
- * RightJS UI Internationalization: Hungarian module
3
- *
4
- * Copyright (C) Arnold Mészáros
5
- */
6
- if (self.Calendar) {
7
- Calendar.Options.format = 'HU';
8
- Calendar.Formats.HU = '%Y.%m.%d';
9
- }
10
-
11
- RightJS.Object.each({
12
-
13
- Calendar: {
14
- Done: 'Kész',
15
- Now: 'Most',
16
- NextMonth: 'Következő hónap',
17
- PrevMonth: 'Előző hónap',
18
- NextYear: 'Következő év',
19
- PrevYear: 'Előző év',
20
-
21
- dayNames: 'Vasárnap Hétfő Kedd Szerda Csütörtök Péntek Szombat'.split(' '),
22
- dayNamesShort: 'Va Hé Ke Sze Csü Pé Szo'.split(' '),
23
- dayNamesMin: 'V H K Sz Cs P Sz'.split(' '),
24
- monthNames: 'Január Február Március Április Május Június Július Augusztus Szeptember Október November December'.split(' '),
25
- monthNamesShort: 'Jan Feb Már Ápr Máj Jún Júl Aug Szep Okt Nov Dec'.split(' ')
26
- },
27
-
28
- Lightbox: {
29
- Close: 'Bezár',
30
- Prev: 'Előző kép',
31
- Next: 'Következő kép'
32
- },
33
-
34
- InEdit: {
35
- Save: "Save",
36
- Cancel: "Cancel"
37
- },
38
-
39
- Colorpicker: {
40
- Done: 'Kész'
41
- },
42
-
43
- Dialog: {
44
- Ok: 'Ok',
45
- Close: 'Close',
46
- Cancel: 'Cancel',
47
- Help: 'Help',
48
- Expand: 'Expand',
49
- Collapse: 'Collapse',
50
-
51
- Alert: 'Warning!',
52
- Confirm: 'Confirm',
53
- Prompt: 'Enter'
54
- },
55
-
56
- Rte: {
57
- Clear: 'Clear',
58
- Save: 'Save',
59
- Source: 'Source',
60
- Bold: 'Bold',
61
- Italic: 'Italic',
62
- Underline: 'Underline',
63
- Strike: 'Strike through',
64
- Ttext: 'Typetext',
65
- Header: 'Header',
66
- Cut: 'Cut',
67
- Copy: 'Copy',
68
- Paste: 'Paste',
69
- Left: 'Left',
70
- Center: 'Center',
71
- Right: 'Right',
72
- Justify: 'Justify',
73
- Undo: 'Undo',
74
- Redo: 'Redo',
75
- Code: 'Code block',
76
- Quote: 'Block quote',
77
- Link: 'Add link',
78
- Image: 'Insert image',
79
- Video: 'Insert video',
80
- Dotlist: 'List with dots',
81
- Numlist: 'List with numbers',
82
- Indent: 'Indent',
83
- Outdent: 'Outdent',
84
- Forecolor: 'Text color',
85
- Backcolor: 'Background color',
86
- Select: 'Select',
87
- Remove: 'Remove',
88
- Format: 'Format',
89
- Fontname: 'Font name',
90
- Fontsize: 'Size',
91
- Subscript: 'Subscript',
92
- Superscript: 'Superscript',
93
- UrlAddress: 'URL Address'
94
- }
95
-
96
- }, function(module, i18n) {
97
- if (self[module]) {
98
- RightJS.$ext(self[module].i18n, i18n);
99
- }
100
- });