diff --git a/app/views/layouts/_login_box.html.erb b/app/views/layouts/_login_box.html.erb index 46cefeb0..5c2bbb33 100644 --- a/app/views/layouts/_login_box.html.erb +++ b/app/views/layouts/_login_box.html.erb @@ -6,22 +6,22 @@ <% else %> -
  • Login
  • -
  • Register
  • +
  • <%= link_to t('.login'), login_path %>
  • +
  • <%= link_to t('.register'), signup_path %>
  • <% end %> diff --git a/config/locales/views/layouts/en.yml b/config/locales/views/layouts/en.yml new file mode 100644 index 00000000..40ffe57a --- /dev/null +++ b/config/locales/views/layouts/en.yml @@ -0,0 +1,13 @@ +en: + layouts: + login_box: + logged_in_as: Logged in as %{username} + my_content: My Content + account_settings: Account Settings + privacy_policy: Privacy Policy + report_a_problem: Report a problem + give_feedback: Give feedback + request_a_feature: Request a feature + log_out: Log out + login: Login + register: Register \ No newline at end of file