From 17e9016373ccd306abbcbd5b2e842198f36a9b01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 22 Jun 2009 23:27:11 +0000 Subject: [PATCH 1/1] "download" in edit trace was untranslatable --- app/views/trace/edit.html.erb | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/trace/edit.html.erb b/app/views/trace/edit.html.erb index a3fab1e31..d3b655cc4 100644 --- a/app/views/trace/edit.html.erb +++ b/app/views/trace/edit.html.erb @@ -7,7 +7,7 @@ - + diff --git a/config/locales/en.yml b/config/locales/en.yml index 5af9773f5..8bd0f085f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -573,6 +573,7 @@ en: trace_uploaded: "Your GPX file has been uploaded and is awaiting insertion in to the database. This will usually happen within half an hour, and an email will be sent to you on completion." edit: filename: "Filename:" + download: "download" uploaded_at: "Uploaded at:" points: "Points:" start_coord: "Start coordinate:" -- 2.43.2
<%= t'trace.edit.filename' %><%= @trace.name %> (<%= link_to 'download', :controller => 'trace', :action => 'data', :id => @trace.id %>)<%= @trace.name %> (<%= link_to t('trace.edit.download'), :controller => 'trace', :action => 'data', :id => @trace.id %>)
<%= t'trace.edit.uploaded_at' %>