diff --git a/app/views/mailer/attachments_add_pt-br.rhtml b/app/views/mailer/attachments_add_pt-br.rhtml index d0cad5494..eccc4813e 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 000000000..14a093e48 --- /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 809883a3b..3ea2f97be 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 000000000..367b8d048 --- /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 9fc87b99e..0a13facda 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 000000000..c25cc9b6f --- /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 8f7c5ea4c..39108daac 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 000000000..a368dad40 --- /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 3a32a96b2..1c71d908f 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 000000000..ca7b21b77 --- /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 f4a47a8c2..6b7d4b1d4 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 000000000..c7e6d46fe --- /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