From d4f87f6b9b8e33438e75c8d8a40650606009df3c Mon Sep 17 00:00:00 2001 From: Jenny Herbert Date: Sun, 31 May 2009 16:29:42 +0000 Subject: [PATCH] Added translations to notifier/diary_comment_notification --- .../notifier/diary_comment_notification.rhtml | 37 +++++-------------- config/locales/de.yml | 4 ++ config/locales/en.yml | 7 ++++ config/locales/es.yml | 6 +++ config/locales/fr.yml | 6 ++- 5 files changed, 31 insertions(+), 29 deletions(-) create mode 100644 config/locales/es.yml diff --git a/app/views/notifier/diary_comment_notification.rhtml b/app/views/notifier/diary_comment_notification.rhtml index 4d5cd1d15..2202f57c3 100644 --- a/app/views/notifier/diary_comment_notification.rhtml +++ b/app/views/notifier/diary_comment_notification.rhtml @@ -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' %> * * *************************************************************************** diff --git a/config/locales/de.yml b/config/locales/de.yml index ecd72231d..dbc6ac8a7 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -138,6 +138,10 @@ de: donate_link_text: Spende sotm: 'Komme zur OpenStreetMap Konferenz 2009, The State of the Map, am 10.-12. Juli in Amsterdam!' alt_donation: Spenden + notifier: + diary: + banner1: "* Bitte antworten Sie nicht auf diese E-Mail. *" + banner2: "* Verwenden Sie die OpenStreetMap Website zum Antworten. *" site: index: js_1: "Dein Browser unterstützt kein Javascript oder du hast es deaktiviert." diff --git a/config/locales/en.yml b/config/locales/en.yml index 8082e7f21..c3d004ac5 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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 index 000000000..b903bfa20 --- /dev/null +++ b/config/locales/es.yml @@ -0,0 +1,6 @@ +es: + notifier: + diary: + banner1: "* Por favor, no responda a este mensaje. *" + banner2: "* Utilice el OpenStreetMap sitio web para responder. *" + diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 8bb158050..7e81f4e54 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -133,6 +133,10 @@ fr: shop: "Boutique" sotm: 'Venez a la conférence 2009 de OpenStreetMap, The State of the Map, 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." -- 2.43.2