From ff1343882ab9a1161b0c1308b65b66630c5b946e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 13 Jun 2007 16:56:37 +0000 Subject: [PATCH] Swedish mail templates added (Thomas Habets) git-svn-id: http://redmine.rubyforge.org/svn/trunk@563 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/mailer/attachments_add_pt-br.rhtml | 10 +++++----- app/views/mailer/attachments_add_sv.rhtml | 6 ++++++ app/views/mailer/document_add_pt-br.rhtml | 6 +++--- app/views/mailer/document_add_sv.rhtml | 4 ++++ app/views/mailer/issue_add_pt-br.rhtml | 4 ++-- app/views/mailer/issue_add_sv.rhtml | 3 +++ app/views/mailer/issue_edit_pt-br.rhtml | 14 +++++++------- app/views/mailer/issue_edit_sv.rhtml | 8 ++++++++ app/views/mailer/lost_password_pt-br.rhtml | 4 ++-- app/views/mailer/lost_password_sv.rhtml | 3 +++ app/views/mailer/register_pt-br.rhtml | 4 ++-- app/views/mailer/register_sv.rhtml | 3 +++ 12 files changed, 48 insertions(+), 21 deletions(-) create mode 100644 app/views/mailer/attachments_add_sv.rhtml create mode 100644 app/views/mailer/document_add_sv.rhtml create mode 100644 app/views/mailer/issue_add_sv.rhtml create mode 100644 app/views/mailer/issue_edit_sv.rhtml create mode 100644 app/views/mailer/lost_password_sv.rhtml create mode 100644 app/views/mailer/register_sv.rhtml diff --git a/app/views/mailer/attachments_add_pt-br.rhtml b/app/views/mailer/attachments_add_pt-br.rhtml index d0cad549..eccc4813 100644 --- a/app/views/mailer/attachments_add_pt-br.rhtml +++ b/app/views/mailer/attachments_add_pt-br.rhtml @@ -1,6 +1,6 @@ -<%= @added_to %> -<%= @attachments.size %> arquivo(s) adicionado. -<% @attachments.each do |attachment | %> -- <%= attachment.filename %><% end %> - +<%= @added_to %> +<%= @attachments.size %> arquivo(s) adicionado. +<% @attachments.each do |attachment | %> +- <%= attachment.filename %><% end %> + <%= @url %> \ No newline at end of file diff --git a/app/views/mailer/attachments_add_sv.rhtml b/app/views/mailer/attachments_add_sv.rhtml new file mode 100644 index 00000000..14a093e4 --- /dev/null +++ b/app/views/mailer/attachments_add_sv.rhtml @@ -0,0 +1,6 @@ +<%= @added_to %> +<%= @attachments.size %> fil(er) tillagda. +<% @attachments.each do |attachment | %> +- <%= attachment.filename %><% end %> + +<%= @url %> \ No newline at end of file diff --git a/app/views/mailer/document_add_pt-br.rhtml b/app/views/mailer/document_add_pt-br.rhtml index 809883a3..3ea2f97b 100644 --- a/app/views/mailer/document_add_pt-br.rhtml +++ b/app/views/mailer/document_add_pt-br.rhtml @@ -1,4 +1,4 @@ -Um documento foi adicionado no projeto <%= @document.project.name %> (<%= @document.category.name %>): -<%= l(:field_title) %>: <%= @document.title %> - +Um documento foi adicionado no projeto <%= @document.project.name %> (<%= @document.category.name %>): +<%= l(:field_title) %>: <%= @document.title %> + http://<%= Setting.host_name %>/documents/show/<%= @document.id %> \ No newline at end of file diff --git a/app/views/mailer/document_add_sv.rhtml b/app/views/mailer/document_add_sv.rhtml new file mode 100644 index 00000000..367b8d04 --- /dev/null +++ b/app/views/mailer/document_add_sv.rhtml @@ -0,0 +1,4 @@ +Ett dokument har lagts till i <%= @document.project.name %> (<%= @document.category.name %>): +<%= l(:field_title) %>: <%= @document.title %> + +http://<%= Setting.host_name %>/documents/show/<%= @document.id %> \ No newline at end of file diff --git a/app/views/mailer/issue_add_pt-br.rhtml b/app/views/mailer/issue_add_pt-br.rhtml index 9fc87b99..0a13facd 100644 --- a/app/views/mailer/issue_add_pt-br.rhtml +++ b/app/views/mailer/issue_add_pt-br.rhtml @@ -1,3 +1,3 @@ -Tarefa #<%= @issue.id %> foi incluída. ----------------------------------------- +Tarefa #<%= @issue.id %> foi incluída. +---------------------------------------- <%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/app/views/mailer/issue_add_sv.rhtml b/app/views/mailer/issue_add_sv.rhtml new file mode 100644 index 00000000..c25cc9b6 --- /dev/null +++ b/app/views/mailer/issue_add_sv.rhtml @@ -0,0 +1,3 @@ +Brist #<%= @issue.id %> har rapporterats. +---------------------------------------- +<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/app/views/mailer/issue_edit_pt-br.rhtml b/app/views/mailer/issue_edit_pt-br.rhtml index 8f7c5ea4..39108daa 100644 --- a/app/views/mailer/issue_edit_pt-br.rhtml +++ b/app/views/mailer/issue_edit_pt-br.rhtml @@ -1,8 +1,8 @@ -Tarefa #<%= @issue.id %> foi alterada. -<%= @journal.user.name %> -<% for detail in @journal.details %> -<%= show_detail(detail, true) %> -<% end %> -<%= @journal.notes if @journal.notes? %> ----------------------------------------- +Tarefa #<%= @issue.id %> foi alterada. +<%= @journal.user.name %> +<% for detail in @journal.details %> +<%= show_detail(detail, true) %> +<% end %> +<%= @journal.notes if @journal.notes? %> +---------------------------------------- <%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/app/views/mailer/issue_edit_sv.rhtml b/app/views/mailer/issue_edit_sv.rhtml new file mode 100644 index 00000000..a368dad4 --- /dev/null +++ b/app/views/mailer/issue_edit_sv.rhtml @@ -0,0 +1,8 @@ +Brist #<%= @issue.id %> har uppdaterats. +<%= @journal.user.name %> +<% for detail in @journal.details %> +<%= show_detail(detail, true) %> +<% end %> +<%= @journal.notes if @journal.notes? %> +---------------------------------------- +<%= render :file => "_issue", :use_full_path => true, :locals => { :issue => @issue } %> \ No newline at end of file diff --git a/app/views/mailer/lost_password_pt-br.rhtml b/app/views/mailer/lost_password_pt-br.rhtml index 3a32a96b..1c71d908 100644 --- a/app/views/mailer/lost_password_pt-br.rhtml +++ b/app/views/mailer/lost_password_pt-br.rhtml @@ -1,3 +1,3 @@ -Para mudar sua senha, clique no link abaixo: - +Para mudar sua senha, clique no link abaixo: + http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file diff --git a/app/views/mailer/lost_password_sv.rhtml b/app/views/mailer/lost_password_sv.rhtml new file mode 100644 index 00000000..ca7b21b7 --- /dev/null +++ b/app/views/mailer/lost_password_sv.rhtml @@ -0,0 +1,3 @@ +För att ändra lösenord, följ denna länk: + +http://<%= Setting.host_name %>/account/lost_password?token=<%= @token.value %> \ No newline at end of file diff --git a/app/views/mailer/register_pt-br.rhtml b/app/views/mailer/register_pt-br.rhtml index f4a47a8c..6b7d4b1d 100644 --- a/app/views/mailer/register_pt-br.rhtml +++ b/app/views/mailer/register_pt-br.rhtml @@ -1,3 +1,3 @@ -Para ativar sua conta do redMine, clique no link abaixo: - +Para ativar sua conta do redMine, clique no link abaixo: + http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file diff --git a/app/views/mailer/register_sv.rhtml b/app/views/mailer/register_sv.rhtml new file mode 100644 index 00000000..c7e6d46f --- /dev/null +++ b/app/views/mailer/register_sv.rhtml @@ -0,0 +1,3 @@ +FÃr att aktivera ditt redMine-konto, använd följande länk. + +http://<%= Setting.host_name %>/account/register?token=<%= @token.value %> \ No newline at end of file -- 2.11.0