Fix up translation issues in diary comment notifier.

This commit is contained in:
Tom Hughes 2009-06-02 08:25:00 +00:00
parent 1be7bb8a04
commit 35eeff0081
8 changed files with 14 additions and 14 deletions

View file

@ -72,7 +72,7 @@ class Notifier < ActionMailer::Base
body :to_user => comment.diary_entry.user.display_name, body :to_user => comment.diary_entry.user.display_name,
:from_user => comment.user.display_name, :from_user => comment.user.display_name,
:body => comment.body, :body => comment.body,
:subject => comment.diary_entry.title, :title => comment.diary_entry.title,
:readurl => url_for(:host => SERVER_URL, :readurl => url_for(:host => SERVER_URL,
:controller => "diary_entry", :controller => "diary_entry",
:action => "view", :action => "view",

View file

@ -1,25 +1,25 @@
*************************************************************************** ***************************************************************************
* * * *
<%= t'banner1' %> <%= t'notifier.diary_comment_notification.banner1' %>
<%= t'banner2' %> <%= t'notifier.diary_comment_notification.banner2' %>
* * * *
*************************************************************************** ***************************************************************************
<%= t'notifier.diary.hi', :to_user => @to_user %> <%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %>
<%= t'notifier.diary.header', :from_user => @from_user, :subject => @subject %> <%= t'notifier.diary_comment_notification.header', :from_user => @from_user, :subject => @title %>
== ==
<%= @body %> <%= @body %>
== ==
<%= t'notifier.diary.footer', :readurl => @readurl, :commenturl => @commenturl, :replyurl => @replyurl %> <%= t'notifier.diary_comment_notification.footer', :readurl => @readurl, :commenturl => @commenturl, :replyurl => @replyurl %>
*************************************************************************** ***************************************************************************
* * * *
<%= t'banner1' %> <%= t'notifier.diary_comment_notification.banner1' %>
<%= t'banner2' %> <%= t'notifier.diary_comment_notification.banner2' %>
* * * *
*************************************************************************** ***************************************************************************

View file

@ -243,7 +243,7 @@ de:
sotm: 'Besuche die OpenStreetMap-Konferenz, The State of the Map 2009, am 10.-12. Juli in Amsterdam!' sotm: 'Besuche die OpenStreetMap-Konferenz, The State of the Map 2009, am 10.-12. Juli in Amsterdam!'
alt_donation: Spenden alt_donation: Spenden
notifier: notifier:
diary: diary_comment_notification:
banner1: "* Bitte antworte nicht auf diese E-Mail. *" banner1: "* Bitte antworte nicht auf diese E-Mail. *"
banner2: "* Verwende stattdessen die OpenStreetMap Website zum Antworten. *" banner2: "* Verwende stattdessen die OpenStreetMap Website zum Antworten. *"
hi: "Hallo {{to_user}}," hi: "Hallo {{to_user}},"

View file

@ -318,7 +318,7 @@ en:
sotm: 'Come to the 2009 OpenStreetMap Conference, The State of the Map, July 10-12 in Amsterdam!' sotm: 'Come to the 2009 OpenStreetMap Conference, The State of the Map, July 10-12 in Amsterdam!'
alt_donation: Make a Donation alt_donation: Make a Donation
notifier: notifier:
diary: diary_comment_notification:
banner1: "* Please do not reply to this email. *" banner1: "* Please do not reply to this email. *"
banner2: "* Use the OpenStreetMap web site to reply. *" banner2: "* Use the OpenStreetMap web site to reply. *"
hi: "Hi {{to_user}}," hi: "Hi {{to_user}},"

View file

@ -1,6 +1,6 @@
es: es:
notifier: notifier:
diary: diary_comment_notification:
banner1: "* Por favor, no responda a este mensaje. *" banner1: "* Por favor, no responda a este mensaje. *"
banner2: "* Utilice el OpenStreetMap sitio web para responder. *" banner2: "* Utilice el OpenStreetMap sitio web para responder. *"

View file

@ -138,7 +138,7 @@ fr:
sotm : 'Venez a la conférence 2009 de OpenStreetMap, <a href="http://www.stateofthemap.org">The State of the Map</a>, 10-12 juillet à Amsterdam!' sotm : 'Venez a la conférence 2009 de OpenStreetMap, <a href="http://www.stateofthemap.org">The State of the Map</a>, 10-12 juillet à Amsterdam!'
alt_donation: "Faites une donation" alt_donation: "Faites une donation"
notifier: notifier:
diary: diary_comment_notification:
banner1: "* Sil vous plaît de ne pas répondre à ce message. *" banner1: "* Sil vous plaît de ne pas répondre à ce message. *"
banner2: "* Utilisez le OpenStreetMap site Web pour y répondre. *" banner2: "* Utilisez le OpenStreetMap site Web pour y répondre. *"
site: site:

View file

@ -314,7 +314,7 @@ is:
sotm: 'Come to the 2009 OpenStreetMap Conference, The State of the Map, July 10-12 in Amsterdam!' sotm: 'Come to the 2009 OpenStreetMap Conference, The State of the Map, July 10-12 in Amsterdam!'
alt_donation: Make a Donation alt_donation: Make a Donation
notifier: notifier:
diary: diary_comment_notification:
banner1: "* Ekki svara þessum pósti. *" banner1: "* Ekki svara þessum pósti. *"
banner2: "* Notaðu OpenStreetMap vefinn til að svara. *" banner2: "* Notaðu OpenStreetMap vefinn til að svara. *"
hi: "Hæ {{to_user}}," hi: "Hæ {{to_user}},"

View file

@ -314,7 +314,7 @@ sl:
sotm: 'Udeležite se letošnje OpenStreetMap konference, The State of the Map, ki bo od 10 do 12 Julija v Amsterdamu!' sotm: 'Udeležite se letošnje OpenStreetMap konference, The State of the Map, ki bo od 10 do 12 Julija v Amsterdamu!'
alt_donation: Prispevajte finančna sredstva alt_donation: Prispevajte finančna sredstva
notifier: notifier:
diary: diary_comment_notification:
banner1: "* Ne odgovarjajte na to sporočilo. *" banner1: "* Ne odgovarjajte na to sporočilo. *"
banner2: "* Za odgovor uporabite spletno stran OpenStreetMap. *" banner2: "* Za odgovor uporabite spletno stran OpenStreetMap. *"
hi: "Pozdravljen, {{to_user}}!" hi: "Pozdravljen, {{to_user}}!"