]> git.openstreetmap.org Git - rails.git/commitdiff
"download" in edit trace was untranslatable
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 22 Jun 2009 23:27:11 +0000 (23:27 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 22 Jun 2009 23:27:11 +0000 (23:27 +0000)
app/views/trace/edit.html.erb
config/locales/en.yml

index a3fab1e31d99173d6bdb7a690909d785795ae83a..d3b655cc467b83fc79ebaedbdcd35be2b039d183 100644 (file)
@@ -7,7 +7,7 @@
 <table border="0">
   <tr>
     <td><%= t'trace.edit.filename' %></td>
-    <td><%= @trace.name %> (<%= link_to 'download', :controller => 'trace', :action => 'data', :id => @trace.id %>)</td>
+    <td><%= @trace.name %> (<%= link_to t('trace.edit.download'), :controller => 'trace', :action => 'data', :id => @trace.id %>)</td>
   </tr> 
   <tr>
     <td><%= t'trace.edit.uploaded_at' %></td>
index 5af9773f54620de203c28b990962d0cac3bab4f9..8bd0f085fbf16e0bdad25e1e22adb1581c3523ad 100644 (file)
@@ -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:"