public
Description: A kind of map bugs tracker for OpenStreetMap
Clone URL: git://github.com/karouf/typocosmy.git
Search Repo:
Globalized restful-authentication views
karouf (author)
Sun Jul 06 06:28:36 -0700 2008
commit  d228987261ec15314d25e3c3d978745a5f3e9150
tree    c45170939e10795a4066a89d2bef984353fb3e20
parent  04e7af8070aeb23914a7bd7a4e4c0167a8ba0117
...
1
 
2
3
4
 
5
6
7
 
8
9
10
...
12
13
14
15
 
16
...
 
1
2
3
 
4
5
6
 
7
8
9
10
...
12
13
14
 
15
16
0
@@ -1,10 +1,10 @@
0
-<h1>Log In</h1>
0
+<h1><%= "Log In".t %></h1>
0
 
0
 <% form_tag session_path do -%>
0
-<p><label for="login">Login</label><br/>
0
+<p><label for="login"><%= "Login".t %></label><br/>
0
 <%= text_field_tag 'login', @login %></p>
0
 
0
-<p><label for="password">Password</label><br/>
0
+<p><label for="password"><%= "Password".t %></label><br/>
0
 <%= password_field_tag 'password', nil %></p>
0
 
0
 <!-- Uncomment this if you want this functionality
0
@@ -12,5 +12,5 @@
0
 <%= check_box_tag 'remember_me', '1', @remember_me %></p>
0
 -->
0
 
0
-<p><%= submit_tag 'Log in' %></p>
0
+<p><%= submit_tag 'Log in'.t %></p>
0
 <% end -%>
...
1
2
3
 
 
4
5
6
7
 
 
 
8
...
1
 
 
2
3
4
 
 
 
5
6
7
8
0
@@ -1,8 +1,8 @@
0
 <% if logged_in? -%>
0
- <div id="user-bar-greeting">Logged in as <%= link_to_current_user :content_method => :login %></div>
0
- <div id="user-bar-action" >(<%= link_to "log out", logout_path, { :title => "Log out" } %>)</div>
0
+ <div id="user-bar-greeting"><%= "Logged in as ".t %><%= link_to_current_user :content_method => :login %></div>
0
+ <div id="user-bar-action" >(<%= link_to "log out".t, logout_path, { :title => "Log out".t } %>)</div>
0
 <% else -%>
0
- <div id="user-bar-greeting"><%= abbr_tag_with_IP 'Not logged in', :style => 'border: none;' %></div>
0
- <div id="user-bar-action" ><%= link_to "Log in", login_path, { :title => "Log in" } %> /
0
- <%= link_to "Sign up", signup_path, { :title => "Create an account" } %></div>
0
+ <div id="user-bar-greeting"><%= abbr_tag_with_IP 'Not logged in'.t, :style => 'border: none;' %></div>
0
+ <div id="user-bar-action" ><%= link_to "Log in".t, login_path, { :title => "Log in".t } %> /
0
+ <%= link_to "Sign up".t, signup_path, { :title => "Create an account".t } %></div>
0
 <% end -%>
...
1
 
2
3
4
5
6
 
7
8
9
 
10
11
12
 
13
14
15
 
16
17
18
 
19
...
 
1
2
3
4
5
 
6
7
8
 
9
10
11
 
12
13
14
 
15
16
17
 
18
19
0
@@ -1,19 +1,19 @@
0
-<h1>Sign up as a new user</h1>
0
+<h1><%= "Sign up as a new user".t %></h1>
0
 <% @user.password = @user.password_confirmation = nil %>
0
 
0
 <%= error_messages_for :user %>
0
 <% form_for :user, :url => { :controller => 'users', :action => 'create'} do |f| -%>
0
-<p><label for="login">Login</label><br/>
0
+<p><label for="login"><%= "Login".t %></label><br/>
0
 <%= f.text_field :login %></p>
0
 
0
-<p><label for="email">Email</label><br/>
0
+<p><label for="email"><%= "Email".t %></label><br/>
0
 <%= f.text_field :email %></p>
0
 
0
-<p><label for="password">Password</label><br/>
0
+<p><label for="password"><%= "Password".t %></label><br/>
0
 <%= f.password_field :password %></p>
0
 
0
-<p><label for="password_confirmation">Confirm Password</label><br/>
0
+<p><label for="password_confirmation"><%= "Confirm Password".t %></label><br/>
0
 <%= f.password_field :password_confirmation %></p>
0
 
0
-<p><%= submit_tag 'Sign up' %></p>
0
+<p><%= submit_tag 'Sign up'.t %></p>
0
 <% end -%>

Comments

    No one has commented yet.