From c8e09bf32533c05c10c843d62edeffad6a87a0bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Sun, 22 Jan 2012 13:54:25 +0100 Subject: [PATCH] localize back to top [ci skip] --- app/views/layouts/application.html.haml | 2 +- config/locales/diaspora/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 9533c07e8..6b679f174 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -134,7 +134,7 @@ = yield - unless @landing_page - %a{:id=>"back-to-top", :title=>"Back to top", :href=>"#"} + %a{:id=>"back-to-top", :title=>"#{I18n.t('.back_to_top')}", :href=>"#"} ⇧ %footer diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index e76e82401..dc2c60bb1 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -364,6 +364,7 @@ en: toggle: "toggle mobile" public_feed: "Public Diaspora Feed for %{name}" your_aspects: "your aspects" + back_to_top: "Back to top" likes: likes: