]> git.openstreetmap.org Git - rails.git/commitdiff
Use 'My Account' for account pages
authorAndy Allan <git@gravitystorm.co.uk>
Sat, 15 Feb 2025 14:57:16 +0000 (14:57 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Sat, 15 Feb 2025 17:06:40 +0000 (17:06 +0000)
It's hard to make a distinction between 'Preferences' and 'Settings' in some languages,
and many other sites use the term 'Account' for things like changing email.

app/views/accounts/edit.html.erb
app/views/layouts/_header.html.erb
app/views/users/show.html.erb
config/locales/en.yml
test/system/user_suspension_test.rb

index ce7dd97a83d4dd7597810559c4d2fa8452f2b56b..5c626fc9f985645120e6cda69ce6f4ab1db46bc6 100644 (file)
@@ -3,7 +3,7 @@
 <% end %>
 
 <% content_for :heading do %>
-  <h1><%= t ".my settings" %></h1>
+  <h1><%= t ".my_account" %></h1>
 <% end %>
 
 <%= render :partial => "settings_menu" %>
index 45e23fc2b914471be7f4f40a830ef341447c2ef6..2e5af50b494e44bc012acff747e113a1943e8e6f 100644 (file)
             <span class='badge count-number'><%= number_with_delimiter(current_user.new_messages.size) %></span>
           <% end %>
           <%= link_to t("users.show.my profile"), current_user, :class => "dropdown-item" %>
-          <%= link_to t("users.show.my settings"), edit_account_path, :class => "dropdown-item" %>
+          <%= link_to t("users.show.my_account"), edit_account_path, :class => "dropdown-item" %>
           <%= link_to t("users.show.my_preferences"), preferences_path, :class => "dropdown-item" %>
           <div class="dropdown-divider"></div>
           <%= yield :greeting %>
index 8ef7b56447d4fd891cdcb60daa0a8ef67c7543f9..a32f5fae1e071337716f945fbd5b531093cd3e92 100644 (file)
@@ -30,7 +30,7 @@
               <span class='badge count-number'><%= number_with_delimiter(current_user.diary_comments.size) %></span>
             </li>
             <li>
-              <%= link_to t(".my settings"), edit_account_path %>
+              <%= link_to t(".my_account"), edit_account_path %>
             </li>
 
             <% if current_user.blocks.exists? %>
index eaf0fdf1582d0473a180b32a0342dc7c30deedd6..eb87f790aa595398dbeedd58140d87b8336a091b 100644 (file)
@@ -246,7 +246,7 @@ en:
   accounts:
     edit:
       title: "Edit account"
-      my settings: My Settings
+      my_account: My Account
       current email address: "Current Email Address"
       external auth: "External Authentication"
       openid:
@@ -2809,7 +2809,7 @@ en:
       my notes: My Notes
       my messages: My Messages
       my profile: My Profile
-      my settings: My Settings
+      my_account: My Account
       my comments: My Comments
       my_preferences: My Preferences
       my_dashboard: My Dashboard
index a7251235770971ff33b49f2bcb3cc912f604b3f5..d6368b68b28edfb4a8aa825428341d93b660dcea 100644 (file)
@@ -5,7 +5,7 @@ class UserSuspensionTest < ApplicationSystemTestCase
     user = create(:user)
     sign_in_as(user)
     visit edit_account_path
-    assert_content "My Settings"
+    assert_content "My Account"
 
     user.suspend!