public
Description: Globalization made easy with interface in place translations
Homepage: http://lucaguidi.com/projects/click-to-globalize
Clone URL: git://github.com/jodosha/click-to-globalize.git
Prepare for v0.4.0
jodosha (author)
Mon Jul 21 02:01:59 -0700 2008
commit  1c2f76259bce4ec7662767e8c59a4684c92887d9
tree    53318b7b4bf75d6fefecac58b3155db22a4b764e
parent  12de391af5cac4cc4e7af8b6a770f3479569a601
0
...
24
25
26
27
28
 
29
30
31
32
 
33
34
35
 
36
37
38
 
39
40
41
...
79
80
81
82
83
84
85
 
86
87
88
...
91
92
93
94
 
95
96
97
...
132
133
134
135
 
136
137
138
...
142
143
144
145
 
146
147
148
...
24
25
26
 
 
27
28
 
 
 
29
30
31
 
32
33
34
 
35
36
37
38
...
76
77
78
 
 
 
 
79
80
81
82
...
85
86
87
 
88
89
90
91
...
126
127
128
 
129
130
131
132
...
136
137
138
 
139
140
141
142
0
@@ -24,18 +24,15 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
    $ ./script/plugin install git://github.com/jodosha/click-to-globalize.git
0
    rake click:setup
0
 
0
-3. Add to ApplicationController:
0
-   around_filter :observe_locales
0
+3. Edit config/click.yml
0
 
0
-4. Edit config/click.yml
0
-
0
-5. Add at the end of your layout the following code:
0
+4. Add at the end of your layout the following code:
0
    <%= click_to_globalize -%>
0
 
0
-6. Put in your view:
0
+5. Put in your view:
0
    <%= 'hello_world'.t %>
0
 
0
-7. Start your server and click to globalize.
0
+6. Start your server and click to globalize.
0
 
0
 
0
 
0
@@ -79,10 +76,7 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
    or markdown (BlueCloth). Edit config/click.yml
0
      formatting: textile
0
 
0
-8. Add to ApplicationController:
0
-   around_filter :observe_locales
0
-
0
-9. Personalize the access to the globalization features, overriding #globalize:
0
+8. Personalize the access to the globalization features, overriding #globalize:
0
    class ApplicationController < ActionController::Base
0
      def globalize?
0
        current_user.admin?
0
@@ -91,7 +85,7 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
    
0
    NOTE: #globalize? is method to turn on/off all the Click to Globalize features.
0
 
0
-10. Add at the end of your layout the following code:
0
+9. Add at the end of your layout the following code:
0
    <%= click_to_globalize -%>
0
 
0
 
0
@@ -132,7 +126,7 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
   security problems (i.e. XSS).
0
   <%= textilize(h('some_text'.t)) %>
0
 
0
-
0
+* The official Globalize repository is still *not compatible with Rails 2.1*, use the {heythisisnate's fork}[http://github.com/heythisisnate/globalize/tree] instead.
0
   
0
 = Contribute
0
 
0
@@ -142,7 +136,7 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
 
0
 * Create a ticket to the {Sushistar Lighthouse page}[http://sushistar.lighthouseapp.com]
0
 
0
-* Create a patch and add as attachement to the ticket.
0
+* Create a patch and add as attachment to the ticket.
0
 
0
 
0
 
...
2
3
4
5
 
6
7
8
 
...
2
3
4
 
5
6
7
 
8
0
@@ -2,7 +2,7 @@ author: Luca Guidi
0
 email: guidi.luca@gmail.com
0
 homepage: http://lucaguidi.com/pages/click-to-globalize
0
 summary: Globalization made easy with interface in place translations
0
-description: Click to Globalize is an extension for Globalize which allows in place translation for your views.
0
+description: Click to Globalize is an extension for Globalize which allow in place translation for your views.
0
 license: MIT
0
 rails_version: 1.2.3+
0
-version: 0.3.1
0
+version: 0.4.0

Comments