From 3a51160a5b1c06126597cfaff31503839919c136 Mon Sep 17 00:00:00 2001 From: Shaun McDonald Date: Fri, 29 May 2009 11:42:11 +0000 Subject: [PATCH] i18n'ed the site set of views. --- app/views/site/_key.rhtml | 2 +- app/views/site/_search.rhtml | 12 +++++------- app/views/site/_sidebar.rhtml | 4 ++-- app/views/site/edit.rhtml | 22 ++++++++-------------- app/views/site/index.rhtml | 10 +++++----- app/views/site/offline.rhtml | 6 ++---- config/locales/en.yml | 27 +++++++++++++++++++++++++++ 7 files changed, 50 insertions(+), 33 deletions(-) diff --git a/app/views/site/_key.rhtml b/app/views/site/_key.rhtml index f800bbb97..6969916a2 100644 --- a/app/views/site/_key.rhtml +++ b/app/views/site/_key.rhtml @@ -1,5 +1,5 @@ <% content_for :left_menu do %> -<%= link_to_function "Map key", "showKey();" %> +<%= link_to_function t('side.key.map_key'), "showKey();" %> <% end %>