]> git.openstreetmap.org Git - rails.git/commitdiff
Added translations to notifier/diary_comment_notification
authorJenny Herbert <jennyh@svn.openstreetmap.org>
Sun, 31 May 2009 16:29:42 +0000 (16:29 +0000)
committerJenny Herbert <jennyh@svn.openstreetmap.org>
Sun, 31 May 2009 16:29:42 +0000 (16:29 +0000)
app/views/notifier/diary_comment_notification.rhtml
config/locales/de.yml
config/locales/en.yml
config/locales/es.yml [new file with mode: 0644]
config/locales/fr.yml

index 4d5cd1d156168c3415b1652794b7e01230678958..2202f57c370d6211c4a46a7a7065446cb8f6c6a5 100644 (file)
@@ -1,44 +1,25 @@
 ***************************************************************************
 *                                                                         *
-*                   Please do not reply to this email.                    *
-*                Use the OpenStreetMap web site to reply.                 *
-*                                                                         *
-*               Bitte antworten Sie nicht auf diese E-Mail.               *
-*          Verwenden Sie die OpenStreetMap Website zum Antworten.         *
-*                                                                         *
-*                 Por favor, no responda a este mensaje.                  *
-*           Utilice el OpenStreetMap sitio web para responder.            *
-*                                                                         *
-*            S’il vous plaît de ne pas répondre à ce message.             *
-*           Utilisez le OpenStreetMap site Web pour y répondre.           *
+<%= t'banner1' %>
+<%= t'banner2' %>
 *                                                                         *
 ***************************************************************************
 
-Hi <%= @to_user %>,
 
-<%= @from_user %> has commented on your recent OpenStreetMap diary entry
-with the subject "<%= @subject %>":
+<%= t'notifier.diary.hi', :to_user => @to_user %> 
+
+<%= t'notifier.diary.header', :from_user => @from_user, :subject => @subject %>
 
 ==
 <%= @body %>
 ==
 
-You can also read the comment at <%= @readurl %>
-and you can comment at <%= @commenturl %>
-or reply at <%= @replyurl %>
+<%= t'notifier.diary.header', :readurl => @readurl, :commenturl => @commenturl, :replyurl => @replyurl
+
 
 ***************************************************************************
 *                                                                         *
-*                   Please do not reply to this email.                    *
-*                Use the OpenStreetMap web site to reply.                 *
-*                                                                         *
-*               Bitte antworten Sie nicht auf diese E-Mail.               *
-*          Verwenden Sie die OpenStreetMap Website zum Antworten.         *
-*                                                                         *
-*                 Por favor, no responda a este mensaje.                  *
-*           Utilice el OpenStreetMap sitio web para responder.            *
-*                                                                         *
-*            S’il vous plaît de ne pas répondre à ce message.             *
-*           Utilisez le OpenStreetMap site Web pour y répondre.           *
+<%= t'banner1' %>
+<%= t'banner2' %>
 *                                                                         *
 ***************************************************************************
index ecd72231db2f7c24b29a1cc08e216eec440d7e84..dbc6ac8a7118053637dd9f0426865fa6f02ef064 100644 (file)
@@ -138,6 +138,10 @@ de:
     donate_link_text: Spende\r
     sotm: 'Komme zur OpenStreetMap Konferenz 2009, <a href="http://www.stateofthemap.org">The State of the Map</a>, am 10.-12. Juli in Amsterdam!'\r
     alt_donation: Spenden\r
+  notifier:\r
+    diary:\r
+      banner1: "*               Bitte antworten Sie nicht auf diese E-Mail.               *"\r
+      banner2: "*          Verwenden Sie die OpenStreetMap Website zum Antworten.         *"\r
   site:\r
     index:\r
       js_1: "Dein Browser unterstützt kein Javascript oder du hast es deaktiviert."\r
index 8082e7f21080d4a67b13ee2946fe7336ca79bc2a..c3d004ac5bbd93b5a02937c3ae728f1f59945445 100644 (file)
@@ -235,6 +235,13 @@ en:
     shop: Shop
     sotm: 'Come to the 2009 OpenStreetMap Conference, The State of the Map, July 10-12 in Amsterdam!'
     alt_donation: Make a Donation
+  notifier:
+    diary:
+      banner1: "*                   Please do not reply to this email.                    *"
+      banner2: "*                Use the OpenStreetMap web site to reply.                 *"
+      hi: "Hi {{to_user}},"
+      header: "{{from_user}} has commented on your recent OpenStreetMap diary entry with the subject {{subject}}:"
+      footer: "You can also read the comment at {{readurl}} and you can comment at {{commenturl}} or reply at {{replyurl}}"
   message:
     inbox:
       my_inbox: "My inbox"
diff --git a/config/locales/es.yml b/config/locales/es.yml
new file mode 100644 (file)
index 0000000..b903bfa
--- /dev/null
@@ -0,0 +1,6 @@
+es:\r
+  notifier:\r
+    diary:\r
+      banner1: "*                 Por favor, no responda a este mensaje.                  *"\r
+      banner2: "*           Utilice el OpenStreetMap sitio web para responder.            *"\r
+\r
index 8bb158050ca3f811a8ea8db5fc70c9dd422adf68..7e81f4e54e96d2fd2deb86b4a47865d0055c1238 100644 (file)
@@ -133,6 +133,10 @@ fr:
     shop: "Boutique"
     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"
+  notifier:
+    diary:
+      banner1: "*            S’il vous plaît de ne pas répondre à ce message.             *"
+      banner2: "*           Utilisez le OpenStreetMap site Web pour y répondre.           *"
   site:
     index:
       js_1: "Vous utilisez soit un navigateur qui ne supporte pas Javascript soit vous avez désactivé Javascript."
@@ -252,4 +256,4 @@ fr:
     set_home:
       flash success: "Emplacement de mon domicile sauvegardé avec succès"
     go_public:
-      flash success: "Tous vos éditions sont dorénavant publiques et vous n'êtes pas autorisé a éditer."
\ No newline at end of file
+      flash success: "Tous vos éditions sont dorénavant publiques et vous n'êtes pas autorisé a éditer."