summaryrefslogtreecommitdiffstats
path: root/app/views/mailer
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-08 09:26:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-05-08 09:26:57 +0000
commit5c88c1f50bd4295325cbb1a69704cf5423b20b2b (patch)
tree6e7f0891c9dbff690c41f0088472c0838abd3311 /app/views/mailer
parentd85f5518d903a660a3645747d5c47bb8cee1bf35 (diff)
downloadredmine-5c88c1f50bd4295325cbb1a69704cf5423b20b2b.tar.gz
redmine-5c88c1f50bd4295325cbb1a69704cf5423b20b2b.zip
Changed the length of 'language' column in users table from 2 to 5, to allow long language codes like pt-br.
Updated portuguese translation (Arthur Zapparoli). Current pt translation moved to pt-br. git-svn-id: http://redmine.rubyforge.org/svn/trunk@518 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer')
-rw-r--r--app/views/mailer/attachments_add_pt-br.rhtml6
-rw-r--r--app/views/mailer/attachments_add_pt.rhtml2
-rw-r--r--app/views/mailer/document_add_pt-br.rhtml4
-rw-r--r--app/views/mailer/document_add_pt.rhtml2
-rw-r--r--app/views/mailer/issue_add_pt-br.rhtml3
-rw-r--r--app/views/mailer/issue_add_pt.rhtml2
-rw-r--r--app/views/mailer/issue_edit_pt-br.rhtml8
-rw-r--r--app/views/mailer/issue_edit_pt.rhtml2
-rw-r--r--app/views/mailer/lost_password_pt-br.rhtml3
-rw-r--r--app/views/mailer/lost_password_pt.rhtml2
-rw-r--r--app/views/mailer/register_pt-br.rhtml3
-rw-r--r--app/views/mailer/register_pt.rhtml2
12 files changed, 33 insertions, 6 deletions
diff --git a/app/views/mailer/attachments_add_pt-br.rhtml b/app/views/mailer/attachments_add_pt-br.rhtml
new file mode 100644
index 000000000..d0cad5494
--- /dev/null
+++ b/app/views/mailer/attachments_add_pt-br.rhtml
@@ -0,0 +1,6 @@
+<%= @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_pt.rhtml b/app/views/mailer/attachments_add_pt.rhtml
index 81e2974c1..eccc4813e 100644
--- a/app/views/mailer/attachments_add_pt.rhtml
+++ b/app/views/mailer/attachments_add_pt.rhtml
@@ -1,5 +1,5 @@
<%= @added_to %>
-<%= @attachments.size %> files(s) added.
+<%= @attachments.size %> arquivo(s) adicionado.
<% @attachments.each do |attachment | %>
- <%= attachment.filename %><% end %>
diff --git a/app/views/mailer/document_add_pt-br.rhtml b/app/views/mailer/document_add_pt-br.rhtml
new file mode 100644
index 000000000..809883a3b
--- /dev/null
+++ b/app/views/mailer/document_add_pt-br.rhtml
@@ -0,0 +1,4 @@
+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_pt.rhtml b/app/views/mailer/document_add_pt.rhtml
index 67648de15..3ea2f97be 100644
--- a/app/views/mailer/document_add_pt.rhtml
+++ b/app/views/mailer/document_add_pt.rhtml
@@ -1,4 +1,4 @@
-A document has been added to <%= @document.project.name %> (<%= @document.category.name %>):
+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/issue_add_pt-br.rhtml b/app/views/mailer/issue_add_pt-br.rhtml
new file mode 100644
index 000000000..9fc87b99e
--- /dev/null
+++ b/app/views/mailer/issue_add_pt-br.rhtml
@@ -0,0 +1,3 @@
+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_pt.rhtml b/app/views/mailer/issue_add_pt.rhtml
index 823de2cef..0a13facda 100644
--- a/app/views/mailer/issue_add_pt.rhtml
+++ b/app/views/mailer/issue_add_pt.rhtml
@@ -1,3 +1,3 @@
-Issue #<%= @issue.id %> has been reported.
+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_edit_pt-br.rhtml b/app/views/mailer/issue_edit_pt-br.rhtml
new file mode 100644
index 000000000..8f7c5ea4c
--- /dev/null
+++ b/app/views/mailer/issue_edit_pt-br.rhtml
@@ -0,0 +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? %>
+----------------------------------------
+<%= 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.rhtml b/app/views/mailer/issue_edit_pt.rhtml
index 7a9ca1634..39108daac 100644
--- a/app/views/mailer/issue_edit_pt.rhtml
+++ b/app/views/mailer/issue_edit_pt.rhtml
@@ -1,4 +1,4 @@
-Issue #<%= @issue.id %> has been updated.
+Tarefa #<%= @issue.id %> foi alterada.
<%= @journal.user.name %>
<% for detail in @journal.details %>
<%= show_detail(detail, true) %>
diff --git a/app/views/mailer/lost_password_pt-br.rhtml b/app/views/mailer/lost_password_pt-br.rhtml
new file mode 100644
index 000000000..3a32a96b2
--- /dev/null
+++ b/app/views/mailer/lost_password_pt-br.rhtml
@@ -0,0 +1,3 @@
+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_pt.rhtml b/app/views/mailer/lost_password_pt.rhtml
index 332ddeb0b..1c71d908f 100644
--- a/app/views/mailer/lost_password_pt.rhtml
+++ b/app/views/mailer/lost_password_pt.rhtml
@@ -1,3 +1,3 @@
-To change your password, use the following link:
+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/register_pt-br.rhtml b/app/views/mailer/register_pt-br.rhtml
new file mode 100644
index 000000000..f4a47a8c2
--- /dev/null
+++ b/app/views/mailer/register_pt-br.rhtml
@@ -0,0 +1,3 @@
+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_pt.rhtml b/app/views/mailer/register_pt.rhtml
index 64477febc..6b7d4b1d4 100644
--- a/app/views/mailer/register_pt.rhtml
+++ b/app/views/mailer/register_pt.rhtml
@@ -1,3 +1,3 @@
-To activate your redMine account, use the following link:
+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