]> git.openstreetmap.org Git - rails.git/commitdiff
Change user.suspended.body so translators don't have to type out anchors
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 16 May 2010 16:35:22 +0000 (16:35 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 16 May 2010 23:10:27 +0000 (00:10 +0100)
app/views/user/suspended.html.erb
config/locales/en.yml

index 27b8dc3f5c46ab3afbd5458c1965db1f7d29f7ae..fd6a4f441b42b753ccea5412347215444088eb3f 100644 (file)
@@ -2,4 +2,4 @@
 
 <h1><%= t "user.suspended.heading" %></h1>
 
-<%= t "user.suspended.body", :webmaster => "webmaster@openstreetmap.org" %>
+<%= t "user.suspended.body", link_to t("user.suspended.webmaster"), "mailto:webmaster@openstreetmap.org" %>
index f3ad3e4c4b4ff11680698237ced6e39ab9e6937e..6b2db6ba1d7135a4e989504422bf958394915029 100644 (file)
@@ -1672,6 +1672,7 @@ en:
     suspended:
       title: Account Suspended
       heading: Account Suspended
+      webmaster: webmaster
       body: |
         <p>
           Sorry, your account has been automatically suspended due to
@@ -1679,8 +1680,7 @@ en:
         </p>
         <p>
           This decision will be reviewed by an administrator shortly, or
-          you may contact the <a href="mailto:{{webmaster}}">webmaster</a> if
-          you wish to discuss this.
+          you may contact the {{webmaster}} if you wish to discuss this.
         </p>
   user_role:
     filter: