summaryrefslogtreecommitdiffstats
path: root/app/views/mailer
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-13 16:56:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-13 16:56:37 +0000
commitff1343882ab9a1161b0c1308b65b66630c5b946e (patch)
tree13ce787d308f8635b2df66f0a62c5b0327487a02 /app/views/mailer
parent2dbb3978184e919fd554cf372cd48c166a2211f6 (diff)
downloadredmine-ff1343882ab9a1161b0c1308b65b66630c5b946e.tar.gz
redmine-ff1343882ab9a1161b0c1308b65b66630c5b946e.zip
Swedish mail templates added (Thomas Habets)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@563 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer')
-rw-r--r--app/views/mailer/attachments_add_pt-br.rhtml10
-rw-r--r--app/views/mailer/attachments_add_sv.rhtml6
-rw-r--r--app/views/mailer/document_add_pt-br.rhtml6
-rw-r--r--app/views/mailer/document_add_sv.rhtml4
-rw-r--r--app/views/mailer/issue_add_pt-br.rhtml4
-rw-r--r--app/views/mailer/issue_add_sv.rhtml3
-rw-r--r--app/views/mailer/issue_edit_pt-br.rhtml14
-rw-r--r--app/views/mailer/issue_edit_sv.rhtml8
-rw-r--r--app/views/mailer/lost_password_pt-br.rhtml4
-rw-r--r--app/views/mailer/lost_password_sv.rhtml3
-rw-r--r--app/views/mailer/register_pt-br.rhtml4
-rw-r--r--app/views/mailer/register_sv.rhtml3
12 files changed, 48 insertions, 21 deletions
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