Commit 57c8587

mo khan <mo@mokhan.ca>
2017-02-16 21:22:04
add/remove translation keys.
1 parent ca69b19
Changed files (2)
app
views
config
locales
app/views/application/_navigation.html.erb
@@ -35,7 +35,7 @@
         </figure>
         <%= t(".profile") %>
       <% end %>
-      <%= link_to t(".nav.user.log_out"), session_path('me'), method: :delete, class: 'nav-item is-tab' %>
+      <%= link_to t(".log_out"), session_path('me'), method: :delete, class: 'nav-item is-tab' %>
     </div>
   </nav>
 </header>
config/locales/en.yml
@@ -44,8 +44,11 @@ en:
   app: 'Stronglifters'
   application:
     navigation:
+      blog: Blog
       home: Home
+      log_out: Log out
       profile: Profile
+      workouts: Workouts
     footer:
       copyright: "© Copyright www.stronglifters.com. All rights reserved."
   time:
@@ -56,22 +59,10 @@ en:
   save: Save
   search: Search
   layouts:
+    administration:
+      dashboard: Dashboard
     application:
-      gyms: Gyms
-      new_workout: 'Next Workout'
-      loading: "Loading..."
-      nav:
-        user:
-          workouts: "Workouts"
-          log_out: "Log out"
-          profile_edit: "Edit profile"
-          profile_view: "View profile"
       title: Strong Lifters
-    flash:
-      notice: 'Yay!'
-      warning: 'Uh oh!'
-      error: 'Oops...'
-      success: 'Yeah Buddy!'
   gyms:
     index:
       title: Gyms
@@ -79,7 +70,6 @@ en:
       title: New Gym
   registrations:
     new:
-      close: 'Close'
       email: "Email"
       login_link: "Already have an account?"
       password: "Password"
@@ -91,18 +81,14 @@ en:
       success: "Thank you for registering. Welcome."
   profiles:
     edit:
-      choose_home_gym: 'Choose Home Gym'
       profile_update_success: "Profile updated. This is how your public profile appears."
       save: Save Profile
     home_gym_modal:
       title: Home Gym
       lead: Search for your regular gym.
     show:
-      exercise_header: Exercise
-      maximum_achieved: Personal Record
       not_available: N/A
       no_workouts_completed: 0 workouts completed
-      personal_records: Personal Records
       workouts_completed_html: "<strong>%{count}</strong> workouts completed since <strong>%{first_session}</strong>."
   sessions:
     create:
@@ -116,9 +102,6 @@ en:
     import_address_modal:
       blurb_html: This is your custom email address for sending CSV exports from the <a href="http://stronglifts.com/apps/">StrongLifts 5x5 mobile application</a>.
       copy: Copy
-      help: I need help.
-      lead: Your custom email address.
-      title: Send-to-Stronglifters.
       warning: To ensure your workouts are imported correctly we suggest that you update your timezone.
   views:
     pagination: