diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 56481aee..45e79c85 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,5 +1,5 @@ - + Indent <%= stylesheet_link_tag "application", :media => "all" %> @@ -28,10 +28,10 @@

- Indent · - Image Attribution · - Privacy Policy · - Source Code + <%= t '.brand' %> · + <%= link_to t('.image_attribution'), attribution_info_path %> · + <%= link_to t('.privacy_policy'), privacy_info_path %> · + <%= link_to t('.source_code'), 'https://github.com/drusepth/Indent' %>

diff --git a/config/locales/views/layouts/en.yml b/config/locales/views/layouts/en.yml index ab7993a2..1149840e 100644 --- a/config/locales/views/layouts/en.yml +++ b/config/locales/views/layouts/en.yml @@ -1,5 +1,10 @@ en: layouts: + application: + brand: Indent + image_attribution: Image Attribution + privacy_policy: Privacy Policy + source_code: Source Code login_box: logged_in_as: Logged in as %{username} my_content: My Content