From 91badcf98b514b3b6b642e03c9955986f78c8b5f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sun, 7 Jun 2009 16:22:02 +0000 Subject: [PATCH 1/1] Made UCL VR Centre and bytemark in 'layouts.intro_3' translatable --- app/views/layouts/site.rhtml | 4 ++-- config/locales/en.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index e7e058963..43c6091b0 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -81,8 +81,8 @@

<%= t 'layouts.intro_3', - :ucl => 'UCL VR Centre', - :bytemark => 'bytemark' %> + :ucl => '' + t('layouts.intro_3_ucl') + '', + :bytemark => '' + t('layouts.intro_3_bytemark') + '' %>

<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index acad152e6..716ab0e03 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -343,6 +343,8 @@ en: intro_1: "OpenStreetMap is a free editable map of the whole world. It is made by people like you." intro_2: "OpenStreetMap allows you to view, edit and use geographical data in a collaborative way from anywhere on Earth." intro_3: "OpenStreetMap's hosting is kindly supported by the {{ucl}} and {{bytemark}}." + intro_3_ucl: "UCL VR Centre" + intro_3_bytemark: "bytemark" osm_offline: "The OpenStreetMap database is currently offline while essential database maintenance work is carried out." osm_read_only: "The OpenStreetMap database is currently in read-only mode while essential database maintenance work is carried out." donate: "Support OpenStreetMap by {{link}} to the Hardware Upgrade Fund." -- 2.45.1