##// END OF EJS Templates
Adds email notifications support for news comments (#2074)....
Jean-Philippe Lang -
r4883:36009de154e0
parent child
Show More
@@ -0,0 +1,24
1 # Redmine - project management software
2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
18 class CommentObserver < ActiveRecord::Observer
19 def after_create(comment)
20 if comment.commented.is_a?(News) && Setting.notified_events.include?('news_comment_added')
21 Mailer.deliver_news_comment_added(comment)
22 end
23 end
24 end
@@ -0,0 +1,5
1 <h1><%= link_to(h(@news.title), @news_url) %></h1>
2
3 <p><%= l(:text_user_wrote, :value => h(@comment.author)) %></p>
4
5 <%= textilizable @comment, :comments, :only_path => false %>
@@ -0,0 +1,6
1 <%= @news.title %>
2 <%= @news_url %>
3
4 <%= l(:text_user_wrote, :value => @comment.author) %>
5
6 <%= @comment.comments %>
@@ -1,106 +1,108
1 # redMine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006 Jean-Philippe Lang
2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 class NewsController < ApplicationController
18 class NewsController < ApplicationController
19 default_search_scope :news
19 default_search_scope :news
20 model_object News
20 model_object News
21 before_filter :find_model_object, :except => [:new, :create, :index]
21 before_filter :find_model_object, :except => [:new, :create, :index]
22 before_filter :find_project_from_association, :except => [:new, :create, :index]
22 before_filter :find_project_from_association, :except => [:new, :create, :index]
23 before_filter :find_project, :only => [:new, :create]
23 before_filter :find_project, :only => [:new, :create]
24 before_filter :authorize, :except => [:index]
24 before_filter :authorize, :except => [:index]
25 before_filter :find_optional_project, :only => :index
25 before_filter :find_optional_project, :only => :index
26 accept_key_auth :index
26 accept_key_auth :index
27
27
28 helper :watchers
29
28 def index
30 def index
29 case params[:format]
31 case params[:format]
30 when 'xml', 'json'
32 when 'xml', 'json'
31 @offset, @limit = api_offset_and_limit
33 @offset, @limit = api_offset_and_limit
32 else
34 else
33 @limit = 10
35 @limit = 10
34 end
36 end
35
37
36 scope = @project ? @project.news.visible : News.visible
38 scope = @project ? @project.news.visible : News.visible
37
39
38 @news_count = scope.count
40 @news_count = scope.count
39 @news_pages = Paginator.new self, @news_count, @limit, params['page']
41 @news_pages = Paginator.new self, @news_count, @limit, params['page']
40 @offset ||= @news_pages.current.offset
42 @offset ||= @news_pages.current.offset
41 @newss = scope.all(:include => [:author, :project],
43 @newss = scope.all(:include => [:author, :project],
42 :order => "#{News.table_name}.created_on DESC",
44 :order => "#{News.table_name}.created_on DESC",
43 :offset => @offset,
45 :offset => @offset,
44 :limit => @limit)
46 :limit => @limit)
45
47
46 respond_to do |format|
48 respond_to do |format|
47 format.html { render :layout => false if request.xhr? }
49 format.html { render :layout => false if request.xhr? }
48 format.api
50 format.api
49 format.atom { render_feed(@newss, :title => (@project ? @project.name : Setting.app_title) + ": #{l(:label_news_plural)}") }
51 format.atom { render_feed(@newss, :title => (@project ? @project.name : Setting.app_title) + ": #{l(:label_news_plural)}") }
50 end
52 end
51 end
53 end
52
54
53 def show
55 def show
54 @comments = @news.comments
56 @comments = @news.comments
55 @comments.reverse! if User.current.wants_comments_in_reverse_order?
57 @comments.reverse! if User.current.wants_comments_in_reverse_order?
56 end
58 end
57
59
58 def new
60 def new
59 @news = News.new(:project => @project, :author => User.current)
61 @news = News.new(:project => @project, :author => User.current)
60 end
62 end
61
63
62 def create
64 def create
63 @news = News.new(:project => @project, :author => User.current)
65 @news = News.new(:project => @project, :author => User.current)
64 if request.post?
66 if request.post?
65 @news.attributes = params[:news]
67 @news.attributes = params[:news]
66 if @news.save
68 if @news.save
67 flash[:notice] = l(:notice_successful_create)
69 flash[:notice] = l(:notice_successful_create)
68 redirect_to :controller => 'news', :action => 'index', :project_id => @project
70 redirect_to :controller => 'news', :action => 'index', :project_id => @project
69 else
71 else
70 render :action => 'new'
72 render :action => 'new'
71 end
73 end
72 end
74 end
73 end
75 end
74
76
75 def edit
77 def edit
76 end
78 end
77
79
78 def update
80 def update
79 if request.put? and @news.update_attributes(params[:news])
81 if request.put? and @news.update_attributes(params[:news])
80 flash[:notice] = l(:notice_successful_update)
82 flash[:notice] = l(:notice_successful_update)
81 redirect_to :action => 'show', :id => @news
83 redirect_to :action => 'show', :id => @news
82 else
84 else
83 render :action => 'edit'
85 render :action => 'edit'
84 end
86 end
85 end
87 end
86
88
87 def destroy
89 def destroy
88 @news.destroy
90 @news.destroy
89 redirect_to :action => 'index', :project_id => @project
91 redirect_to :action => 'index', :project_id => @project
90 end
92 end
91
93
92 private
94 private
93 def find_project
95 def find_project
94 @project = Project.find(params[:project_id])
96 @project = Project.find(params[:project_id])
95 rescue ActiveRecord::RecordNotFound
97 rescue ActiveRecord::RecordNotFound
96 render_404
98 render_404
97 end
99 end
98
100
99 def find_optional_project
101 def find_optional_project
100 return true unless params[:project_id]
102 return true unless params[:project_id]
101 @project = Project.find(params[:project_id])
103 @project = Project.find(params[:project_id])
102 authorize
104 authorize
103 rescue ActiveRecord::RecordNotFound
105 rescue ActiveRecord::RecordNotFound
104 render_404
106 render_404
105 end
107 end
106 end
108 end
@@ -1,442 +1,460
1 # redMine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2007 Jean-Philippe Lang
2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 require 'ar_condition'
18 require 'ar_condition'
19
19
20 class Mailer < ActionMailer::Base
20 class Mailer < ActionMailer::Base
21 layout 'mailer'
21 layout 'mailer'
22 helper :application
22 helper :application
23 helper :issues
23 helper :issues
24 helper :custom_fields
24 helper :custom_fields
25
25
26 include ActionController::UrlWriter
26 include ActionController::UrlWriter
27 include Redmine::I18n
27 include Redmine::I18n
28
28
29 def self.default_url_options
29 def self.default_url_options
30 h = Setting.host_name
30 h = Setting.host_name
31 h = h.to_s.gsub(%r{\/.*$}, '') unless Redmine::Utils.relative_url_root.blank?
31 h = h.to_s.gsub(%r{\/.*$}, '') unless Redmine::Utils.relative_url_root.blank?
32 { :host => h, :protocol => Setting.protocol }
32 { :host => h, :protocol => Setting.protocol }
33 end
33 end
34
34
35 # Builds a tmail object used to email recipients of the added issue.
35 # Builds a tmail object used to email recipients of the added issue.
36 #
36 #
37 # Example:
37 # Example:
38 # issue_add(issue) => tmail object
38 # issue_add(issue) => tmail object
39 # Mailer.deliver_issue_add(issue) => sends an email to issue recipients
39 # Mailer.deliver_issue_add(issue) => sends an email to issue recipients
40 def issue_add(issue)
40 def issue_add(issue)
41 redmine_headers 'Project' => issue.project.identifier,
41 redmine_headers 'Project' => issue.project.identifier,
42 'Issue-Id' => issue.id,
42 'Issue-Id' => issue.id,
43 'Issue-Author' => issue.author.login
43 'Issue-Author' => issue.author.login
44 redmine_headers 'Issue-Assignee' => issue.assigned_to.login if issue.assigned_to
44 redmine_headers 'Issue-Assignee' => issue.assigned_to.login if issue.assigned_to
45 message_id issue
45 message_id issue
46 recipients issue.recipients
46 recipients issue.recipients
47 cc(issue.watcher_recipients - @recipients)
47 cc(issue.watcher_recipients - @recipients)
48 subject "[#{issue.project.name} - #{issue.tracker.name} ##{issue.id}] (#{issue.status.name}) #{issue.subject}"
48 subject "[#{issue.project.name} - #{issue.tracker.name} ##{issue.id}] (#{issue.status.name}) #{issue.subject}"
49 body :issue => issue,
49 body :issue => issue,
50 :issue_url => url_for(:controller => 'issues', :action => 'show', :id => issue)
50 :issue_url => url_for(:controller => 'issues', :action => 'show', :id => issue)
51 render_multipart('issue_add', body)
51 render_multipart('issue_add', body)
52 end
52 end
53
53
54 # Builds a tmail object used to email recipients of the edited issue.
54 # Builds a tmail object used to email recipients of the edited issue.
55 #
55 #
56 # Example:
56 # Example:
57 # issue_edit(journal) => tmail object
57 # issue_edit(journal) => tmail object
58 # Mailer.deliver_issue_edit(journal) => sends an email to issue recipients
58 # Mailer.deliver_issue_edit(journal) => sends an email to issue recipients
59 def issue_edit(journal)
59 def issue_edit(journal)
60 issue = journal.journalized.reload
60 issue = journal.journalized.reload
61 redmine_headers 'Project' => issue.project.identifier,
61 redmine_headers 'Project' => issue.project.identifier,
62 'Issue-Id' => issue.id,
62 'Issue-Id' => issue.id,
63 'Issue-Author' => issue.author.login
63 'Issue-Author' => issue.author.login
64 redmine_headers 'Issue-Assignee' => issue.assigned_to.login if issue.assigned_to
64 redmine_headers 'Issue-Assignee' => issue.assigned_to.login if issue.assigned_to
65 message_id journal
65 message_id journal
66 references issue
66 references issue
67 @author = journal.user
67 @author = journal.user
68 recipients issue.recipients
68 recipients issue.recipients
69 # Watchers in cc
69 # Watchers in cc
70 cc(issue.watcher_recipients - @recipients)
70 cc(issue.watcher_recipients - @recipients)
71 s = "[#{issue.project.name} - #{issue.tracker.name} ##{issue.id}] "
71 s = "[#{issue.project.name} - #{issue.tracker.name} ##{issue.id}] "
72 s << "(#{issue.status.name}) " if journal.new_value_for('status_id')
72 s << "(#{issue.status.name}) " if journal.new_value_for('status_id')
73 s << issue.subject
73 s << issue.subject
74 subject s
74 subject s
75 body :issue => issue,
75 body :issue => issue,
76 :journal => journal,
76 :journal => journal,
77 :issue_url => url_for(:controller => 'issues', :action => 'show', :id => issue)
77 :issue_url => url_for(:controller => 'issues', :action => 'show', :id => issue)
78
78
79 render_multipart('issue_edit', body)
79 render_multipart('issue_edit', body)
80 end
80 end
81
81
82 def reminder(user, issues, days)
82 def reminder(user, issues, days)
83 set_language_if_valid user.language
83 set_language_if_valid user.language
84 recipients user.mail
84 recipients user.mail
85 subject l(:mail_subject_reminder, :count => issues.size, :days => days)
85 subject l(:mail_subject_reminder, :count => issues.size, :days => days)
86 body :issues => issues,
86 body :issues => issues,
87 :days => days,
87 :days => days,
88 :issues_url => url_for(:controller => 'issues', :action => 'index', :set_filter => 1, :assigned_to_id => user.id, :sort_key => 'due_date', :sort_order => 'asc')
88 :issues_url => url_for(:controller => 'issues', :action => 'index', :set_filter => 1, :assigned_to_id => user.id, :sort_key => 'due_date', :sort_order => 'asc')
89 render_multipart('reminder', body)
89 render_multipart('reminder', body)
90 end
90 end
91
91
92 # Builds a tmail object used to email users belonging to the added document's project.
92 # Builds a tmail object used to email users belonging to the added document's project.
93 #
93 #
94 # Example:
94 # Example:
95 # document_added(document) => tmail object
95 # document_added(document) => tmail object
96 # Mailer.deliver_document_added(document) => sends an email to the document's project recipients
96 # Mailer.deliver_document_added(document) => sends an email to the document's project recipients
97 def document_added(document)
97 def document_added(document)
98 redmine_headers 'Project' => document.project.identifier
98 redmine_headers 'Project' => document.project.identifier
99 recipients document.recipients
99 recipients document.recipients
100 subject "[#{document.project.name}] #{l(:label_document_new)}: #{document.title}"
100 subject "[#{document.project.name}] #{l(:label_document_new)}: #{document.title}"
101 body :document => document,
101 body :document => document,
102 :document_url => url_for(:controller => 'documents', :action => 'show', :id => document)
102 :document_url => url_for(:controller => 'documents', :action => 'show', :id => document)
103 render_multipart('document_added', body)
103 render_multipart('document_added', body)
104 end
104 end
105
105
106 # Builds a tmail object used to email recipients of a project when an attachements are added.
106 # Builds a tmail object used to email recipients of a project when an attachements are added.
107 #
107 #
108 # Example:
108 # Example:
109 # attachments_added(attachments) => tmail object
109 # attachments_added(attachments) => tmail object
110 # Mailer.deliver_attachments_added(attachments) => sends an email to the project's recipients
110 # Mailer.deliver_attachments_added(attachments) => sends an email to the project's recipients
111 def attachments_added(attachments)
111 def attachments_added(attachments)
112 container = attachments.first.container
112 container = attachments.first.container
113 added_to = ''
113 added_to = ''
114 added_to_url = ''
114 added_to_url = ''
115 case container.class.name
115 case container.class.name
116 when 'Project'
116 when 'Project'
117 added_to_url = url_for(:controller => 'projects', :action => 'list_files', :id => container)
117 added_to_url = url_for(:controller => 'projects', :action => 'list_files', :id => container)
118 added_to = "#{l(:label_project)}: #{container}"
118 added_to = "#{l(:label_project)}: #{container}"
119 recipients container.project.notified_users.select {|user| user.allowed_to?(:view_files, container.project)}.collect {|u| u.mail}
119 recipients container.project.notified_users.select {|user| user.allowed_to?(:view_files, container.project)}.collect {|u| u.mail}
120 when 'Version'
120 when 'Version'
121 added_to_url = url_for(:controller => 'projects', :action => 'list_files', :id => container.project_id)
121 added_to_url = url_for(:controller => 'projects', :action => 'list_files', :id => container.project_id)
122 added_to = "#{l(:label_version)}: #{container.name}"
122 added_to = "#{l(:label_version)}: #{container.name}"
123 recipients container.project.notified_users.select {|user| user.allowed_to?(:view_files, container.project)}.collect {|u| u.mail}
123 recipients container.project.notified_users.select {|user| user.allowed_to?(:view_files, container.project)}.collect {|u| u.mail}
124 when 'Document'
124 when 'Document'
125 added_to_url = url_for(:controller => 'documents', :action => 'show', :id => container.id)
125 added_to_url = url_for(:controller => 'documents', :action => 'show', :id => container.id)
126 added_to = "#{l(:label_document)}: #{container.title}"
126 added_to = "#{l(:label_document)}: #{container.title}"
127 recipients container.recipients
127 recipients container.recipients
128 end
128 end
129 redmine_headers 'Project' => container.project.identifier
129 redmine_headers 'Project' => container.project.identifier
130 subject "[#{container.project.name}] #{l(:label_attachment_new)}"
130 subject "[#{container.project.name}] #{l(:label_attachment_new)}"
131 body :attachments => attachments,
131 body :attachments => attachments,
132 :added_to => added_to,
132 :added_to => added_to,
133 :added_to_url => added_to_url
133 :added_to_url => added_to_url
134 render_multipart('attachments_added', body)
134 render_multipart('attachments_added', body)
135 end
135 end
136
136
137 # Builds a tmail object used to email recipients of a news' project when a news item is added.
137 # Builds a tmail object used to email recipients of a news' project when a news item is added.
138 #
138 #
139 # Example:
139 # Example:
140 # news_added(news) => tmail object
140 # news_added(news) => tmail object
141 # Mailer.deliver_news_added(news) => sends an email to the news' project recipients
141 # Mailer.deliver_news_added(news) => sends an email to the news' project recipients
142 def news_added(news)
142 def news_added(news)
143 redmine_headers 'Project' => news.project.identifier
143 redmine_headers 'Project' => news.project.identifier
144 message_id news
144 message_id news
145 recipients news.recipients
145 recipients news.recipients
146 subject "[#{news.project.name}] #{l(:label_news)}: #{news.title}"
146 subject "[#{news.project.name}] #{l(:label_news)}: #{news.title}"
147 body :news => news,
147 body :news => news,
148 :news_url => url_for(:controller => 'news', :action => 'show', :id => news)
148 :news_url => url_for(:controller => 'news', :action => 'show', :id => news)
149 render_multipart('news_added', body)
149 render_multipart('news_added', body)
150 end
150 end
151
152 # Builds a tmail object used to email recipients of a news' project when a news comment is added.
153 #
154 # Example:
155 # news_comment_added(comment) => tmail object
156 # Mailer.news_comment_added(comment) => sends an email to the news' project recipients
157 def news_comment_added(comment)
158 news = comment.commented
159 redmine_headers 'Project' => news.project.identifier
160 message_id comment
161 recipients news.recipients
162 cc news.watcher_recipients
163 subject "Re: [#{news.project.name}] #{l(:label_news)}: #{news.title}"
164 body :news => news,
165 :comment => comment,
166 :news_url => url_for(:controller => 'news', :action => 'show', :id => news)
167 render_multipart('news_comment_added', body)
168 end
151
169
152 # Builds a tmail object used to email the recipients of the specified message that was posted.
170 # Builds a tmail object used to email the recipients of the specified message that was posted.
153 #
171 #
154 # Example:
172 # Example:
155 # message_posted(message) => tmail object
173 # message_posted(message) => tmail object
156 # Mailer.deliver_message_posted(message) => sends an email to the recipients
174 # Mailer.deliver_message_posted(message) => sends an email to the recipients
157 def message_posted(message)
175 def message_posted(message)
158 redmine_headers 'Project' => message.project.identifier,
176 redmine_headers 'Project' => message.project.identifier,
159 'Topic-Id' => (message.parent_id || message.id)
177 'Topic-Id' => (message.parent_id || message.id)
160 message_id message
178 message_id message
161 references message.parent unless message.parent.nil?
179 references message.parent unless message.parent.nil?
162 recipients(message.recipients)
180 recipients(message.recipients)
163 cc((message.root.watcher_recipients + message.board.watcher_recipients).uniq - @recipients)
181 cc((message.root.watcher_recipients + message.board.watcher_recipients).uniq - @recipients)
164 subject "[#{message.board.project.name} - #{message.board.name} - msg#{message.root.id}] #{message.subject}"
182 subject "[#{message.board.project.name} - #{message.board.name} - msg#{message.root.id}] #{message.subject}"
165 body :message => message,
183 body :message => message,
166 :message_url => url_for(message.event_url)
184 :message_url => url_for(message.event_url)
167 render_multipart('message_posted', body)
185 render_multipart('message_posted', body)
168 end
186 end
169
187
170 # Builds a tmail object used to email the recipients of a project of the specified wiki content was added.
188 # Builds a tmail object used to email the recipients of a project of the specified wiki content was added.
171 #
189 #
172 # Example:
190 # Example:
173 # wiki_content_added(wiki_content) => tmail object
191 # wiki_content_added(wiki_content) => tmail object
174 # Mailer.deliver_wiki_content_added(wiki_content) => sends an email to the project's recipients
192 # Mailer.deliver_wiki_content_added(wiki_content) => sends an email to the project's recipients
175 def wiki_content_added(wiki_content)
193 def wiki_content_added(wiki_content)
176 redmine_headers 'Project' => wiki_content.project.identifier,
194 redmine_headers 'Project' => wiki_content.project.identifier,
177 'Wiki-Page-Id' => wiki_content.page.id
195 'Wiki-Page-Id' => wiki_content.page.id
178 message_id wiki_content
196 message_id wiki_content
179 recipients wiki_content.recipients
197 recipients wiki_content.recipients
180 cc(wiki_content.page.wiki.watcher_recipients - recipients)
198 cc(wiki_content.page.wiki.watcher_recipients - recipients)
181 subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_added, :id => wiki_content.page.pretty_title)}"
199 subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_added, :id => wiki_content.page.pretty_title)}"
182 body :wiki_content => wiki_content,
200 body :wiki_content => wiki_content,
183 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', :project_id => wiki_content.project, :id => wiki_content.page.title)
201 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', :project_id => wiki_content.project, :id => wiki_content.page.title)
184 render_multipart('wiki_content_added', body)
202 render_multipart('wiki_content_added', body)
185 end
203 end
186
204
187 # Builds a tmail object used to email the recipients of a project of the specified wiki content was updated.
205 # Builds a tmail object used to email the recipients of a project of the specified wiki content was updated.
188 #
206 #
189 # Example:
207 # Example:
190 # wiki_content_updated(wiki_content) => tmail object
208 # wiki_content_updated(wiki_content) => tmail object
191 # Mailer.deliver_wiki_content_updated(wiki_content) => sends an email to the project's recipients
209 # Mailer.deliver_wiki_content_updated(wiki_content) => sends an email to the project's recipients
192 def wiki_content_updated(wiki_content)
210 def wiki_content_updated(wiki_content)
193 redmine_headers 'Project' => wiki_content.project.identifier,
211 redmine_headers 'Project' => wiki_content.project.identifier,
194 'Wiki-Page-Id' => wiki_content.page.id
212 'Wiki-Page-Id' => wiki_content.page.id
195 message_id wiki_content
213 message_id wiki_content
196 recipients wiki_content.recipients
214 recipients wiki_content.recipients
197 cc(wiki_content.page.wiki.watcher_recipients + wiki_content.page.watcher_recipients - recipients)
215 cc(wiki_content.page.wiki.watcher_recipients + wiki_content.page.watcher_recipients - recipients)
198 subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_updated, :id => wiki_content.page.pretty_title)}"
216 subject "[#{wiki_content.project.name}] #{l(:mail_subject_wiki_content_updated, :id => wiki_content.page.pretty_title)}"
199 body :wiki_content => wiki_content,
217 body :wiki_content => wiki_content,
200 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', :project_id => wiki_content.project, :id => wiki_content.page.title),
218 :wiki_content_url => url_for(:controller => 'wiki', :action => 'show', :project_id => wiki_content.project, :id => wiki_content.page.title),
201 :wiki_diff_url => url_for(:controller => 'wiki', :action => 'diff', :project_id => wiki_content.project, :id => wiki_content.page.title, :version => wiki_content.version)
219 :wiki_diff_url => url_for(:controller => 'wiki', :action => 'diff', :project_id => wiki_content.project, :id => wiki_content.page.title, :version => wiki_content.version)
202 render_multipart('wiki_content_updated', body)
220 render_multipart('wiki_content_updated', body)
203 end
221 end
204
222
205 # Builds a tmail object used to email the specified user their account information.
223 # Builds a tmail object used to email the specified user their account information.
206 #
224 #
207 # Example:
225 # Example:
208 # account_information(user, password) => tmail object
226 # account_information(user, password) => tmail object
209 # Mailer.deliver_account_information(user, password) => sends account information to the user
227 # Mailer.deliver_account_information(user, password) => sends account information to the user
210 def account_information(user, password)
228 def account_information(user, password)
211 set_language_if_valid user.language
229 set_language_if_valid user.language
212 recipients user.mail
230 recipients user.mail
213 subject l(:mail_subject_register, Setting.app_title)
231 subject l(:mail_subject_register, Setting.app_title)
214 body :user => user,
232 body :user => user,
215 :password => password,
233 :password => password,
216 :login_url => url_for(:controller => 'account', :action => 'login')
234 :login_url => url_for(:controller => 'account', :action => 'login')
217 render_multipart('account_information', body)
235 render_multipart('account_information', body)
218 end
236 end
219
237
220 # Builds a tmail object used to email all active administrators of an account activation request.
238 # Builds a tmail object used to email all active administrators of an account activation request.
221 #
239 #
222 # Example:
240 # Example:
223 # account_activation_request(user) => tmail object
241 # account_activation_request(user) => tmail object
224 # Mailer.deliver_account_activation_request(user)=> sends an email to all active administrators
242 # Mailer.deliver_account_activation_request(user)=> sends an email to all active administrators
225 def account_activation_request(user)
243 def account_activation_request(user)
226 # Send the email to all active administrators
244 # Send the email to all active administrators
227 recipients User.active.find(:all, :conditions => {:admin => true}).collect { |u| u.mail }.compact
245 recipients User.active.find(:all, :conditions => {:admin => true}).collect { |u| u.mail }.compact
228 subject l(:mail_subject_account_activation_request, Setting.app_title)
246 subject l(:mail_subject_account_activation_request, Setting.app_title)
229 body :user => user,
247 body :user => user,
230 :url => url_for(:controller => 'users', :action => 'index', :status => User::STATUS_REGISTERED, :sort_key => 'created_on', :sort_order => 'desc')
248 :url => url_for(:controller => 'users', :action => 'index', :status => User::STATUS_REGISTERED, :sort_key => 'created_on', :sort_order => 'desc')
231 render_multipart('account_activation_request', body)
249 render_multipart('account_activation_request', body)
232 end
250 end
233
251
234 # Builds a tmail object used to email the specified user that their account was activated by an administrator.
252 # Builds a tmail object used to email the specified user that their account was activated by an administrator.
235 #
253 #
236 # Example:
254 # Example:
237 # account_activated(user) => tmail object
255 # account_activated(user) => tmail object
238 # Mailer.deliver_account_activated(user) => sends an email to the registered user
256 # Mailer.deliver_account_activated(user) => sends an email to the registered user
239 def account_activated(user)
257 def account_activated(user)
240 set_language_if_valid user.language
258 set_language_if_valid user.language
241 recipients user.mail
259 recipients user.mail
242 subject l(:mail_subject_register, Setting.app_title)
260 subject l(:mail_subject_register, Setting.app_title)
243 body :user => user,
261 body :user => user,
244 :login_url => url_for(:controller => 'account', :action => 'login')
262 :login_url => url_for(:controller => 'account', :action => 'login')
245 render_multipart('account_activated', body)
263 render_multipart('account_activated', body)
246 end
264 end
247
265
248 def lost_password(token)
266 def lost_password(token)
249 set_language_if_valid(token.user.language)
267 set_language_if_valid(token.user.language)
250 recipients token.user.mail
268 recipients token.user.mail
251 subject l(:mail_subject_lost_password, Setting.app_title)
269 subject l(:mail_subject_lost_password, Setting.app_title)
252 body :token => token,
270 body :token => token,
253 :url => url_for(:controller => 'account', :action => 'lost_password', :token => token.value)
271 :url => url_for(:controller => 'account', :action => 'lost_password', :token => token.value)
254 render_multipart('lost_password', body)
272 render_multipart('lost_password', body)
255 end
273 end
256
274
257 def register(token)
275 def register(token)
258 set_language_if_valid(token.user.language)
276 set_language_if_valid(token.user.language)
259 recipients token.user.mail
277 recipients token.user.mail
260 subject l(:mail_subject_register, Setting.app_title)
278 subject l(:mail_subject_register, Setting.app_title)
261 body :token => token,
279 body :token => token,
262 :url => url_for(:controller => 'account', :action => 'activate', :token => token.value)
280 :url => url_for(:controller => 'account', :action => 'activate', :token => token.value)
263 render_multipart('register', body)
281 render_multipart('register', body)
264 end
282 end
265
283
266 def test(user)
284 def test(user)
267 set_language_if_valid(user.language)
285 set_language_if_valid(user.language)
268 recipients user.mail
286 recipients user.mail
269 subject 'Redmine test'
287 subject 'Redmine test'
270 body :url => url_for(:controller => 'welcome')
288 body :url => url_for(:controller => 'welcome')
271 render_multipart('test', body)
289 render_multipart('test', body)
272 end
290 end
273
291
274 # Overrides default deliver! method to prevent from sending an email
292 # Overrides default deliver! method to prevent from sending an email
275 # with no recipient, cc or bcc
293 # with no recipient, cc or bcc
276 def deliver!(mail = @mail)
294 def deliver!(mail = @mail)
277 set_language_if_valid @initial_language
295 set_language_if_valid @initial_language
278 return false if (recipients.nil? || recipients.empty?) &&
296 return false if (recipients.nil? || recipients.empty?) &&
279 (cc.nil? || cc.empty?) &&
297 (cc.nil? || cc.empty?) &&
280 (bcc.nil? || bcc.empty?)
298 (bcc.nil? || bcc.empty?)
281
299
282 # Set Message-Id and References
300 # Set Message-Id and References
283 if @message_id_object
301 if @message_id_object
284 mail.message_id = self.class.message_id_for(@message_id_object)
302 mail.message_id = self.class.message_id_for(@message_id_object)
285 end
303 end
286 if @references_objects
304 if @references_objects
287 mail.references = @references_objects.collect {|o| self.class.message_id_for(o)}
305 mail.references = @references_objects.collect {|o| self.class.message_id_for(o)}
288 end
306 end
289
307
290 # Log errors when raise_delivery_errors is set to false, Rails does not
308 # Log errors when raise_delivery_errors is set to false, Rails does not
291 raise_errors = self.class.raise_delivery_errors
309 raise_errors = self.class.raise_delivery_errors
292 self.class.raise_delivery_errors = true
310 self.class.raise_delivery_errors = true
293 begin
311 begin
294 return super(mail)
312 return super(mail)
295 rescue Exception => e
313 rescue Exception => e
296 if raise_errors
314 if raise_errors
297 raise e
315 raise e
298 elsif mylogger
316 elsif mylogger
299 mylogger.error "The following error occured while sending email notification: \"#{e.message}\". Check your configuration in config/configuration.yml."
317 mylogger.error "The following error occured while sending email notification: \"#{e.message}\". Check your configuration in config/configuration.yml."
300 end
318 end
301 ensure
319 ensure
302 self.class.raise_delivery_errors = raise_errors
320 self.class.raise_delivery_errors = raise_errors
303 end
321 end
304 end
322 end
305
323
306 # Sends reminders to issue assignees
324 # Sends reminders to issue assignees
307 # Available options:
325 # Available options:
308 # * :days => how many days in the future to remind about (defaults to 7)
326 # * :days => how many days in the future to remind about (defaults to 7)
309 # * :tracker => id of tracker for filtering issues (defaults to all trackers)
327 # * :tracker => id of tracker for filtering issues (defaults to all trackers)
310 # * :project => id or identifier of project to process (defaults to all projects)
328 # * :project => id or identifier of project to process (defaults to all projects)
311 # * :users => array of user ids who should be reminded
329 # * :users => array of user ids who should be reminded
312 def self.reminders(options={})
330 def self.reminders(options={})
313 days = options[:days] || 7
331 days = options[:days] || 7
314 project = options[:project] ? Project.find(options[:project]) : nil
332 project = options[:project] ? Project.find(options[:project]) : nil
315 tracker = options[:tracker] ? Tracker.find(options[:tracker]) : nil
333 tracker = options[:tracker] ? Tracker.find(options[:tracker]) : nil
316 user_ids = options[:users]
334 user_ids = options[:users]
317
335
318 s = ARCondition.new ["#{IssueStatus.table_name}.is_closed = ? AND #{Issue.table_name}.due_date <= ?", false, days.day.from_now.to_date]
336 s = ARCondition.new ["#{IssueStatus.table_name}.is_closed = ? AND #{Issue.table_name}.due_date <= ?", false, days.day.from_now.to_date]
319 s << "#{Issue.table_name}.assigned_to_id IS NOT NULL"
337 s << "#{Issue.table_name}.assigned_to_id IS NOT NULL"
320 s << ["#{Issue.table_name}.assigned_to_id IN (?)", user_ids] if user_ids.present?
338 s << ["#{Issue.table_name}.assigned_to_id IN (?)", user_ids] if user_ids.present?
321 s << "#{Project.table_name}.status = #{Project::STATUS_ACTIVE}"
339 s << "#{Project.table_name}.status = #{Project::STATUS_ACTIVE}"
322 s << "#{Issue.table_name}.project_id = #{project.id}" if project
340 s << "#{Issue.table_name}.project_id = #{project.id}" if project
323 s << "#{Issue.table_name}.tracker_id = #{tracker.id}" if tracker
341 s << "#{Issue.table_name}.tracker_id = #{tracker.id}" if tracker
324
342
325 issues_by_assignee = Issue.find(:all, :include => [:status, :assigned_to, :project, :tracker],
343 issues_by_assignee = Issue.find(:all, :include => [:status, :assigned_to, :project, :tracker],
326 :conditions => s.conditions
344 :conditions => s.conditions
327 ).group_by(&:assigned_to)
345 ).group_by(&:assigned_to)
328 issues_by_assignee.each do |assignee, issues|
346 issues_by_assignee.each do |assignee, issues|
329 deliver_reminder(assignee, issues, days) unless assignee.nil?
347 deliver_reminder(assignee, issues, days) unless assignee.nil?
330 end
348 end
331 end
349 end
332
350
333 # Activates/desactivates email deliveries during +block+
351 # Activates/desactivates email deliveries during +block+
334 def self.with_deliveries(enabled = true, &block)
352 def self.with_deliveries(enabled = true, &block)
335 was_enabled = ActionMailer::Base.perform_deliveries
353 was_enabled = ActionMailer::Base.perform_deliveries
336 ActionMailer::Base.perform_deliveries = !!enabled
354 ActionMailer::Base.perform_deliveries = !!enabled
337 yield
355 yield
338 ensure
356 ensure
339 ActionMailer::Base.perform_deliveries = was_enabled
357 ActionMailer::Base.perform_deliveries = was_enabled
340 end
358 end
341
359
342 private
360 private
343 def initialize_defaults(method_name)
361 def initialize_defaults(method_name)
344 super
362 super
345 @initial_language = current_language
363 @initial_language = current_language
346 set_language_if_valid Setting.default_language
364 set_language_if_valid Setting.default_language
347 from Setting.mail_from
365 from Setting.mail_from
348
366
349 # Common headers
367 # Common headers
350 headers 'X-Mailer' => 'Redmine',
368 headers 'X-Mailer' => 'Redmine',
351 'X-Redmine-Host' => Setting.host_name,
369 'X-Redmine-Host' => Setting.host_name,
352 'X-Redmine-Site' => Setting.app_title,
370 'X-Redmine-Site' => Setting.app_title,
353 'Precedence' => 'bulk',
371 'Precedence' => 'bulk',
354 'Auto-Submitted' => 'auto-generated'
372 'Auto-Submitted' => 'auto-generated'
355 end
373 end
356
374
357 # Appends a Redmine header field (name is prepended with 'X-Redmine-')
375 # Appends a Redmine header field (name is prepended with 'X-Redmine-')
358 def redmine_headers(h)
376 def redmine_headers(h)
359 h.each { |k,v| headers["X-Redmine-#{k}"] = v }
377 h.each { |k,v| headers["X-Redmine-#{k}"] = v }
360 end
378 end
361
379
362 # Overrides the create_mail method
380 # Overrides the create_mail method
363 def create_mail
381 def create_mail
364 # Removes the current user from the recipients and cc
382 # Removes the current user from the recipients and cc
365 # if he doesn't want to receive notifications about what he does
383 # if he doesn't want to receive notifications about what he does
366 @author ||= User.current
384 @author ||= User.current
367 if @author.pref[:no_self_notified]
385 if @author.pref[:no_self_notified]
368 recipients.delete(@author.mail) if recipients
386 recipients.delete(@author.mail) if recipients
369 cc.delete(@author.mail) if cc
387 cc.delete(@author.mail) if cc
370 end
388 end
371
389
372 notified_users = [recipients, cc].flatten.compact.uniq
390 notified_users = [recipients, cc].flatten.compact.uniq
373 # Rails would log recipients only, not cc and bcc
391 # Rails would log recipients only, not cc and bcc
374 mylogger.info "Sending email notification to: #{notified_users.join(', ')}" if mylogger
392 mylogger.info "Sending email notification to: #{notified_users.join(', ')}" if mylogger
375
393
376 # Blind carbon copy recipients
394 # Blind carbon copy recipients
377 if Setting.bcc_recipients?
395 if Setting.bcc_recipients?
378 bcc(notified_users)
396 bcc(notified_users)
379 recipients []
397 recipients []
380 cc []
398 cc []
381 end
399 end
382 super
400 super
383 end
401 end
384
402
385 # Rails 2.3 has problems rendering implicit multipart messages with
403 # Rails 2.3 has problems rendering implicit multipart messages with
386 # layouts so this method will wrap an multipart messages with
404 # layouts so this method will wrap an multipart messages with
387 # explicit parts.
405 # explicit parts.
388 #
406 #
389 # https://rails.lighthouseapp.com/projects/8994/tickets/2338-actionmailer-mailer-views-and-content-type
407 # https://rails.lighthouseapp.com/projects/8994/tickets/2338-actionmailer-mailer-views-and-content-type
390 # https://rails.lighthouseapp.com/projects/8994/tickets/1799-actionmailer-doesnt-set-template_format-when-rendering-layouts
408 # https://rails.lighthouseapp.com/projects/8994/tickets/1799-actionmailer-doesnt-set-template_format-when-rendering-layouts
391
409
392 def render_multipart(method_name, body)
410 def render_multipart(method_name, body)
393 if Setting.plain_text_mail?
411 if Setting.plain_text_mail?
394 content_type "text/plain"
412 content_type "text/plain"
395 body render(:file => "#{method_name}.text.plain.rhtml", :body => body, :layout => 'mailer.text.plain.erb')
413 body render(:file => "#{method_name}.text.plain.rhtml", :body => body, :layout => 'mailer.text.plain.erb')
396 else
414 else
397 content_type "multipart/alternative"
415 content_type "multipart/alternative"
398 part :content_type => "text/plain", :body => render(:file => "#{method_name}.text.plain.rhtml", :body => body, :layout => 'mailer.text.plain.erb')
416 part :content_type => "text/plain", :body => render(:file => "#{method_name}.text.plain.rhtml", :body => body, :layout => 'mailer.text.plain.erb')
399 part :content_type => "text/html", :body => render_message("#{method_name}.text.html.rhtml", body)
417 part :content_type => "text/html", :body => render_message("#{method_name}.text.html.rhtml", body)
400 end
418 end
401 end
419 end
402
420
403 # Makes partial rendering work with Rails 1.2 (retro-compatibility)
421 # Makes partial rendering work with Rails 1.2 (retro-compatibility)
404 def self.controller_path
422 def self.controller_path
405 ''
423 ''
406 end unless respond_to?('controller_path')
424 end unless respond_to?('controller_path')
407
425
408 # Returns a predictable Message-Id for the given object
426 # Returns a predictable Message-Id for the given object
409 def self.message_id_for(object)
427 def self.message_id_for(object)
410 # id + timestamp should reduce the odds of a collision
428 # id + timestamp should reduce the odds of a collision
411 # as far as we don't send multiple emails for the same object
429 # as far as we don't send multiple emails for the same object
412 timestamp = object.send(object.respond_to?(:created_on) ? :created_on : :updated_on)
430 timestamp = object.send(object.respond_to?(:created_on) ? :created_on : :updated_on)
413 hash = "redmine.#{object.class.name.demodulize.underscore}-#{object.id}.#{timestamp.strftime("%Y%m%d%H%M%S")}"
431 hash = "redmine.#{object.class.name.demodulize.underscore}-#{object.id}.#{timestamp.strftime("%Y%m%d%H%M%S")}"
414 host = Setting.mail_from.to_s.gsub(%r{^.*@}, '')
432 host = Setting.mail_from.to_s.gsub(%r{^.*@}, '')
415 host = "#{::Socket.gethostname}.redmine" if host.empty?
433 host = "#{::Socket.gethostname}.redmine" if host.empty?
416 "<#{hash}@#{host}>"
434 "<#{hash}@#{host}>"
417 end
435 end
418
436
419 private
437 private
420
438
421 def message_id(object)
439 def message_id(object)
422 @message_id_object = object
440 @message_id_object = object
423 end
441 end
424
442
425 def references(object)
443 def references(object)
426 @references_objects ||= []
444 @references_objects ||= []
427 @references_objects << object
445 @references_objects << object
428 end
446 end
429
447
430 def mylogger
448 def mylogger
431 RAILS_DEFAULT_LOGGER
449 RAILS_DEFAULT_LOGGER
432 end
450 end
433 end
451 end
434
452
435 # Patch TMail so that message_id is not overwritten
453 # Patch TMail so that message_id is not overwritten
436 module TMail
454 module TMail
437 class Mail
455 class Mail
438 def add_message_id( fqdn = nil )
456 def add_message_id( fqdn = nil )
439 self.message_id ||= ::TMail::new_message_id(fqdn)
457 self.message_id ||= ::TMail::new_message_id(fqdn)
440 end
458 end
441 end
459 end
442 end
460 end
@@ -1,45 +1,54
1 # Redmine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2008 Jean-Philippe Lang
2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 class News < ActiveRecord::Base
18 class News < ActiveRecord::Base
19 belongs_to :project
19 belongs_to :project
20 belongs_to :author, :class_name => 'User', :foreign_key => 'author_id'
20 belongs_to :author, :class_name => 'User', :foreign_key => 'author_id'
21 has_many :comments, :as => :commented, :dependent => :delete_all, :order => "created_on"
21 has_many :comments, :as => :commented, :dependent => :delete_all, :order => "created_on"
22
22
23 validates_presence_of :title, :description
23 validates_presence_of :title, :description
24 validates_length_of :title, :maximum => 60
24 validates_length_of :title, :maximum => 60
25 validates_length_of :summary, :maximum => 255
25 validates_length_of :summary, :maximum => 255
26
26
27 acts_as_searchable :columns => ['title', 'summary', "#{table_name}.description"], :include => :project
27 acts_as_searchable :columns => ['title', 'summary', "#{table_name}.description"], :include => :project
28 acts_as_event :url => Proc.new {|o| {:controller => 'news', :action => 'show', :id => o.id}}
28 acts_as_event :url => Proc.new {|o| {:controller => 'news', :action => 'show', :id => o.id}}
29 acts_as_activity_provider :find_options => {:include => [:project, :author]},
29 acts_as_activity_provider :find_options => {:include => [:project, :author]},
30 :author_key => :author_id
30 :author_key => :author_id
31 acts_as_watchable
32
33 after_create :add_author_as_watcher
31
34
32 named_scope :visible, lambda {|*args| {
35 named_scope :visible, lambda {|*args| {
33 :include => :project,
36 :include => :project,
34 :conditions => Project.allowed_to_condition(args.first || User.current, :view_news)
37 :conditions => Project.allowed_to_condition(args.first || User.current, :view_news)
35 }}
38 }}
36
39
37 def visible?(user=User.current)
40 def visible?(user=User.current)
38 !user.nil? && user.allowed_to?(:view_news, project)
41 !user.nil? && user.allowed_to?(:view_news, project)
39 end
42 end
40
43
41 # returns latest news for projects visible by user
44 # returns latest news for projects visible by user
42 def self.latest(user = User.current, count = 5)
45 def self.latest(user = User.current, count = 5)
43 find(:all, :limit => count, :conditions => Project.allowed_to_condition(user, :view_news), :include => [ :author, :project ], :order => "#{News.table_name}.created_on DESC")
46 find(:all, :limit => count, :conditions => Project.allowed_to_condition(user, :view_news), :include => [ :author, :project ], :order => "#{News.table_name}.created_on DESC")
44 end
47 end
48
49 private
50
51 def add_author_as_watcher
52 Watcher.create(:watchable => self, :user => author)
53 end
45 end
54 end
@@ -1,69 +1,70
1 <div class="contextual">
1 <div class="contextual">
2 <%= watcher_tag(@news, User.current) %>
2 <%= link_to(l(:button_edit),
3 <%= link_to(l(:button_edit),
3 edit_news_path(@news),
4 edit_news_path(@news),
4 :class => 'icon icon-edit',
5 :class => 'icon icon-edit',
5 :accesskey => accesskey(:edit),
6 :accesskey => accesskey(:edit),
6 :onclick => 'Element.show("edit-news"); return false;') if User.current.allowed_to?(:manage_news, @project) %>
7 :onclick => 'Element.show("edit-news"); return false;') if User.current.allowed_to?(:manage_news, @project) %>
7 <%= link_to(l(:button_delete),
8 <%= link_to(l(:button_delete),
8 news_path(@news),
9 news_path(@news),
9 :confirm => l(:text_are_you_sure),
10 :confirm => l(:text_are_you_sure),
10 :method => :delete,
11 :method => :delete,
11 :class => 'icon icon-del') if User.current.allowed_to?(:manage_news, @project) %>
12 :class => 'icon icon-del') if User.current.allowed_to?(:manage_news, @project) %>
12 </div>
13 </div>
13
14
14 <h2><%= avatar(@news.author, :size => "24") %><%=h @news.title %></h2>
15 <h2><%= avatar(@news.author, :size => "24") %><%=h @news.title %></h2>
15
16
16 <% if authorize_for('news', 'edit') %>
17 <% if authorize_for('news', 'edit') %>
17 <div id="edit-news" style="display:none;">
18 <div id="edit-news" style="display:none;">
18 <% labelled_tabular_form_for :news, @news, :url => news_path(@news),
19 <% labelled_tabular_form_for :news, @news, :url => news_path(@news),
19 :html => { :id => 'news-form', :method => :put } do |f| %>
20 :html => { :id => 'news-form', :method => :put } do |f| %>
20 <%= render :partial => 'form', :locals => { :f => f } %>
21 <%= render :partial => 'form', :locals => { :f => f } %>
21 <%= submit_tag l(:button_save) %>
22 <%= submit_tag l(:button_save) %>
22 <%= link_to_remote l(:label_preview),
23 <%= link_to_remote l(:label_preview),
23 { :url => preview_news_path(:project_id => @project),
24 { :url => preview_news_path(:project_id => @project),
24 :method => 'get',
25 :method => 'get',
25 :update => 'preview',
26 :update => 'preview',
26 :with => "Form.serialize('news-form')"
27 :with => "Form.serialize('news-form')"
27 }, :accesskey => accesskey(:preview) %> |
28 }, :accesskey => accesskey(:preview) %> |
28 <%= link_to l(:button_cancel), "#", :onclick => 'Element.hide("edit-news"); return false;' %>
29 <%= link_to l(:button_cancel), "#", :onclick => 'Element.hide("edit-news"); return false;' %>
29 <% end %>
30 <% end %>
30 <div id="preview" class="wiki"></div>
31 <div id="preview" class="wiki"></div>
31 </div>
32 </div>
32 <% end %>
33 <% end %>
33
34
34 <p><% unless @news.summary.blank? %><em><%=h @news.summary %></em><br /><% end %>
35 <p><% unless @news.summary.blank? %><em><%=h @news.summary %></em><br /><% end %>
35 <span class="author"><%= authoring @news.created_on, @news.author %></span></p>
36 <span class="author"><%= authoring @news.created_on, @news.author %></span></p>
36 <div class="wiki">
37 <div class="wiki">
37 <%= textilizable(@news.description) %>
38 <%= textilizable(@news.description) %>
38 </div>
39 </div>
39 <br />
40 <br />
40
41
41 <div id="comments" style="margin-bottom:16px;">
42 <div id="comments" style="margin-bottom:16px;">
42 <h3 class="comments"><%= l(:label_comment_plural) %></h3>
43 <h3 class="comments"><%= l(:label_comment_plural) %></h3>
43 <% @comments.each do |comment| %>
44 <% @comments.each do |comment| %>
44 <% next if comment.new_record? %>
45 <% next if comment.new_record? %>
45 <div class="contextual">
46 <div class="contextual">
46 <%= link_to_if_authorized image_tag('delete.png'), {:controller => 'comments', :action => 'destroy', :id => @news, :comment_id => comment},
47 <%= link_to_if_authorized image_tag('delete.png'), {:controller => 'comments', :action => 'destroy', :id => @news, :comment_id => comment},
47 :confirm => l(:text_are_you_sure), :method => :delete, :title => l(:button_delete) %>
48 :confirm => l(:text_are_you_sure), :method => :delete, :title => l(:button_delete) %>
48 </div>
49 </div>
49 <h4><%= avatar(comment.author, :size => "24") %><%= authoring comment.created_on, comment.author %></h4>
50 <h4><%= avatar(comment.author, :size => "24") %><%= authoring comment.created_on, comment.author %></h4>
50 <%= textilizable(comment.comments) %>
51 <%= textilizable(comment.comments) %>
51 <% end if @comments.any? %>
52 <% end if @comments.any? %>
52 </div>
53 </div>
53
54
54 <% if authorize_for 'comments', 'create' %>
55 <% if authorize_for 'comments', 'create' %>
55 <p><%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments" %></p>
56 <p><%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments" %></p>
56 <% form_tag({:controller => 'comments', :action => 'create', :id => @news}, :id => "add_comment_form", :style => "display:none;") do %>
57 <% form_tag({:controller => 'comments', :action => 'create', :id => @news}, :id => "add_comment_form", :style => "display:none;") do %>
57 <div class="box">
58 <div class="box">
58 <%= text_area 'comment', 'comments', :cols => 80, :rows => 15, :class => 'wiki-edit' %>
59 <%= text_area 'comment', 'comments', :cols => 80, :rows => 15, :class => 'wiki-edit' %>
59 <%= wikitoolbar_for 'comment_comments' %>
60 <%= wikitoolbar_for 'comment_comments' %>
60 </div>
61 </div>
61 <p><%= submit_tag l(:button_add) %></p>
62 <p><%= submit_tag l(:button_add) %></p>
62 <% end %>
63 <% end %>
63 <% end %>
64 <% end %>
64
65
65 <% html_title @news.title -%>
66 <% html_title @news.title -%>
66
67
67 <% content_for :header_tags do %>
68 <% content_for :header_tags do %>
68 <%= stylesheet_link_tag 'scm' %>
69 <%= stylesheet_link_tag 'scm' %>
69 <% end %>
70 <% end %>
@@ -1,61 +1,61
1 # Be sure to restart your web server when you modify this file.
1 # Be sure to restart your web server when you modify this file.
2
2
3 # Uncomment below to force Rails into production mode when
3 # Uncomment below to force Rails into production mode when
4 # you don't control web/app server and can't set it the proper way
4 # you don't control web/app server and can't set it the proper way
5 # ENV['RAILS_ENV'] ||= 'production'
5 # ENV['RAILS_ENV'] ||= 'production'
6
6
7 # Specifies gem version of Rails to use when vendor/rails is not present
7 # Specifies gem version of Rails to use when vendor/rails is not present
8 RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
8 RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
9
9
10 # Bootstrap the Rails environment, frameworks, and default configuration
10 # Bootstrap the Rails environment, frameworks, and default configuration
11 require File.join(File.dirname(__FILE__), 'boot')
11 require File.join(File.dirname(__FILE__), 'boot')
12
12
13 # Load Engine plugin if available
13 # Load Engine plugin if available
14 begin
14 begin
15 require File.join(File.dirname(__FILE__), '../vendor/plugins/engines/boot')
15 require File.join(File.dirname(__FILE__), '../vendor/plugins/engines/boot')
16 rescue LoadError
16 rescue LoadError
17 # Not available
17 # Not available
18 end
18 end
19
19
20 Rails::Initializer.run do |config|
20 Rails::Initializer.run do |config|
21 # Settings in config/environments/* take precedence those specified here
21 # Settings in config/environments/* take precedence those specified here
22
22
23 # Skip frameworks you're not going to use
23 # Skip frameworks you're not going to use
24 # config.frameworks -= [ :action_web_service, :action_mailer ]
24 # config.frameworks -= [ :action_web_service, :action_mailer ]
25
25
26 # Add additional load paths for sweepers
26 # Add additional load paths for sweepers
27 config.autoload_paths += %W( #{RAILS_ROOT}/app/sweepers )
27 config.autoload_paths += %W( #{RAILS_ROOT}/app/sweepers )
28
28
29 # Force all environments to use the same logger level
29 # Force all environments to use the same logger level
30 # (by default production uses :info, the others :debug)
30 # (by default production uses :info, the others :debug)
31 # config.log_level = :debug
31 # config.log_level = :debug
32
32
33 # Enable page/fragment caching by setting a file-based store
33 # Enable page/fragment caching by setting a file-based store
34 # (remember to create the caching directory and make it readable to the application)
34 # (remember to create the caching directory and make it readable to the application)
35 # config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
35 # config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
36
36
37 # Activate observers that should always be running
37 # Activate observers that should always be running
38 # config.active_record.observers = :cacher, :garbage_collector
38 # config.active_record.observers = :cacher, :garbage_collector
39 config.active_record.observers = :message_observer, :issue_observer, :journal_observer, :news_observer, :document_observer, :wiki_content_observer
39 config.active_record.observers = :message_observer, :issue_observer, :journal_observer, :news_observer, :document_observer, :wiki_content_observer, :comment_observer
40
40
41 # Make Active Record use UTC-base instead of local time
41 # Make Active Record use UTC-base instead of local time
42 # config.active_record.default_timezone = :utc
42 # config.active_record.default_timezone = :utc
43
43
44 # Use Active Record's schema dumper instead of SQL when creating the test database
44 # Use Active Record's schema dumper instead of SQL when creating the test database
45 # (enables use of different database adapters for development and test environments)
45 # (enables use of different database adapters for development and test environments)
46 # config.active_record.schema_format = :ruby
46 # config.active_record.schema_format = :ruby
47
47
48 # Deliveries are disabled by default. Do NOT modify this section.
48 # Deliveries are disabled by default. Do NOT modify this section.
49 # Define your email configuration in configuration.yml instead.
49 # Define your email configuration in configuration.yml instead.
50 # It will automatically turn deliveries on
50 # It will automatically turn deliveries on
51 config.action_mailer.perform_deliveries = false
51 config.action_mailer.perform_deliveries = false
52
52
53 config.gem 'rubytree', :lib => 'tree'
53 config.gem 'rubytree', :lib => 'tree'
54 config.gem 'coderay', :version => '~>0.9.7'
54 config.gem 'coderay', :version => '~>0.9.7'
55
55
56 # Load any local configuration that is kept out of source control
56 # Load any local configuration that is kept out of source control
57 # (e.g. gems, patches).
57 # (e.g. gems, patches).
58 if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb'))
58 if File.exists?(File.join(File.dirname(__FILE__), 'additional_environment.rb'))
59 instance_eval File.read(File.join(File.dirname(__FILE__), 'additional_environment.rb'))
59 instance_eval File.read(File.join(File.dirname(__FILE__), 'additional_environment.rb'))
60 end
60 end
61 end
61 end
@@ -1,942 +1,943
1 en:
1 en:
2 # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
2 # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
3 direction: ltr
3 direction: ltr
4 date:
4 date:
5 formats:
5 formats:
6 # Use the strftime parameters for formats.
6 # Use the strftime parameters for formats.
7 # When no format has been given, it uses default.
7 # When no format has been given, it uses default.
8 # You can provide other formats here if you like!
8 # You can provide other formats here if you like!
9 default: "%m/%d/%Y"
9 default: "%m/%d/%Y"
10 short: "%b %d"
10 short: "%b %d"
11 long: "%B %d, %Y"
11 long: "%B %d, %Y"
12
12
13 day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
13 day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
14 abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
14 abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
15
15
16 # Don't forget the nil at the beginning; there's no such thing as a 0th month
16 # Don't forget the nil at the beginning; there's no such thing as a 0th month
17 month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
17 month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
18 abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
18 abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
19 # Used in date_select and datime_select.
19 # Used in date_select and datime_select.
20 order: [ :year, :month, :day ]
20 order: [ :year, :month, :day ]
21
21
22 time:
22 time:
23 formats:
23 formats:
24 default: "%m/%d/%Y %I:%M %p"
24 default: "%m/%d/%Y %I:%M %p"
25 time: "%I:%M %p"
25 time: "%I:%M %p"
26 short: "%d %b %H:%M"
26 short: "%d %b %H:%M"
27 long: "%B %d, %Y %H:%M"
27 long: "%B %d, %Y %H:%M"
28 am: "am"
28 am: "am"
29 pm: "pm"
29 pm: "pm"
30
30
31 datetime:
31 datetime:
32 distance_in_words:
32 distance_in_words:
33 half_a_minute: "half a minute"
33 half_a_minute: "half a minute"
34 less_than_x_seconds:
34 less_than_x_seconds:
35 one: "less than 1 second"
35 one: "less than 1 second"
36 other: "less than %{count} seconds"
36 other: "less than %{count} seconds"
37 x_seconds:
37 x_seconds:
38 one: "1 second"
38 one: "1 second"
39 other: "%{count} seconds"
39 other: "%{count} seconds"
40 less_than_x_minutes:
40 less_than_x_minutes:
41 one: "less than a minute"
41 one: "less than a minute"
42 other: "less than %{count} minutes"
42 other: "less than %{count} minutes"
43 x_minutes:
43 x_minutes:
44 one: "1 minute"
44 one: "1 minute"
45 other: "%{count} minutes"
45 other: "%{count} minutes"
46 about_x_hours:
46 about_x_hours:
47 one: "about 1 hour"
47 one: "about 1 hour"
48 other: "about %{count} hours"
48 other: "about %{count} hours"
49 x_days:
49 x_days:
50 one: "1 day"
50 one: "1 day"
51 other: "%{count} days"
51 other: "%{count} days"
52 about_x_months:
52 about_x_months:
53 one: "about 1 month"
53 one: "about 1 month"
54 other: "about %{count} months"
54 other: "about %{count} months"
55 x_months:
55 x_months:
56 one: "1 month"
56 one: "1 month"
57 other: "%{count} months"
57 other: "%{count} months"
58 about_x_years:
58 about_x_years:
59 one: "about 1 year"
59 one: "about 1 year"
60 other: "about %{count} years"
60 other: "about %{count} years"
61 over_x_years:
61 over_x_years:
62 one: "over 1 year"
62 one: "over 1 year"
63 other: "over %{count} years"
63 other: "over %{count} years"
64 almost_x_years:
64 almost_x_years:
65 one: "almost 1 year"
65 one: "almost 1 year"
66 other: "almost %{count} years"
66 other: "almost %{count} years"
67
67
68 number:
68 number:
69 # Default format for numbers
69 # Default format for numbers
70 format:
70 format:
71 separator: "."
71 separator: "."
72 delimiter: ""
72 delimiter: ""
73 precision: 3
73 precision: 3
74 human:
74 human:
75 format:
75 format:
76 delimiter: ""
76 delimiter: ""
77 precision: 1
77 precision: 1
78 storage_units:
78 storage_units:
79 format: "%n %u"
79 format: "%n %u"
80 units:
80 units:
81 byte:
81 byte:
82 one: "Byte"
82 one: "Byte"
83 other: "Bytes"
83 other: "Bytes"
84 kb: "kB"
84 kb: "kB"
85 mb: "MB"
85 mb: "MB"
86 gb: "GB"
86 gb: "GB"
87 tb: "TB"
87 tb: "TB"
88
88
89
89
90 # Used in array.to_sentence.
90 # Used in array.to_sentence.
91 support:
91 support:
92 array:
92 array:
93 sentence_connector: "and"
93 sentence_connector: "and"
94 skip_last_comma: false
94 skip_last_comma: false
95
95
96 activerecord:
96 activerecord:
97 errors:
97 errors:
98 template:
98 template:
99 header:
99 header:
100 one: "1 error prohibited this %{model} from being saved"
100 one: "1 error prohibited this %{model} from being saved"
101 other: "%{count} errors prohibited this %{model} from being saved"
101 other: "%{count} errors prohibited this %{model} from being saved"
102 messages:
102 messages:
103 inclusion: "is not included in the list"
103 inclusion: "is not included in the list"
104 exclusion: "is reserved"
104 exclusion: "is reserved"
105 invalid: "is invalid"
105 invalid: "is invalid"
106 confirmation: "doesn't match confirmation"
106 confirmation: "doesn't match confirmation"
107 accepted: "must be accepted"
107 accepted: "must be accepted"
108 empty: "can't be empty"
108 empty: "can't be empty"
109 blank: "can't be blank"
109 blank: "can't be blank"
110 too_long: "is too long (maximum is %{count} characters)"
110 too_long: "is too long (maximum is %{count} characters)"
111 too_short: "is too short (minimum is %{count} characters)"
111 too_short: "is too short (minimum is %{count} characters)"
112 wrong_length: "is the wrong length (should be %{count} characters)"
112 wrong_length: "is the wrong length (should be %{count} characters)"
113 taken: "has already been taken"
113 taken: "has already been taken"
114 not_a_number: "is not a number"
114 not_a_number: "is not a number"
115 not_a_date: "is not a valid date"
115 not_a_date: "is not a valid date"
116 greater_than: "must be greater than %{count}"
116 greater_than: "must be greater than %{count}"
117 greater_than_or_equal_to: "must be greater than or equal to %{count}"
117 greater_than_or_equal_to: "must be greater than or equal to %{count}"
118 equal_to: "must be equal to %{count}"
118 equal_to: "must be equal to %{count}"
119 less_than: "must be less than %{count}"
119 less_than: "must be less than %{count}"
120 less_than_or_equal_to: "must be less than or equal to %{count}"
120 less_than_or_equal_to: "must be less than or equal to %{count}"
121 odd: "must be odd"
121 odd: "must be odd"
122 even: "must be even"
122 even: "must be even"
123 greater_than_start_date: "must be greater than start date"
123 greater_than_start_date: "must be greater than start date"
124 not_same_project: "doesn't belong to the same project"
124 not_same_project: "doesn't belong to the same project"
125 circular_dependency: "This relation would create a circular dependency"
125 circular_dependency: "This relation would create a circular dependency"
126 cant_link_an_issue_with_a_descendant: "An issue can not be linked to one of its subtasks"
126 cant_link_an_issue_with_a_descendant: "An issue can not be linked to one of its subtasks"
127
127
128 actionview_instancetag_blank_option: Please select
128 actionview_instancetag_blank_option: Please select
129
129
130 general_text_No: 'No'
130 general_text_No: 'No'
131 general_text_Yes: 'Yes'
131 general_text_Yes: 'Yes'
132 general_text_no: 'no'
132 general_text_no: 'no'
133 general_text_yes: 'yes'
133 general_text_yes: 'yes'
134 general_lang_name: 'English'
134 general_lang_name: 'English'
135 general_csv_separator: ','
135 general_csv_separator: ','
136 general_csv_decimal_separator: '.'
136 general_csv_decimal_separator: '.'
137 general_csv_encoding: ISO-8859-1
137 general_csv_encoding: ISO-8859-1
138 general_pdf_encoding: ISO-8859-1
138 general_pdf_encoding: ISO-8859-1
139 general_first_day_of_week: '7'
139 general_first_day_of_week: '7'
140
140
141 notice_account_updated: Account was successfully updated.
141 notice_account_updated: Account was successfully updated.
142 notice_account_invalid_creditentials: Invalid user or password
142 notice_account_invalid_creditentials: Invalid user or password
143 notice_account_password_updated: Password was successfully updated.
143 notice_account_password_updated: Password was successfully updated.
144 notice_account_wrong_password: Wrong password
144 notice_account_wrong_password: Wrong password
145 notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you.
145 notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you.
146 notice_account_unknown_email: Unknown user.
146 notice_account_unknown_email: Unknown user.
147 notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password.
147 notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password.
148 notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you.
148 notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you.
149 notice_account_activated: Your account has been activated. You can now log in.
149 notice_account_activated: Your account has been activated. You can now log in.
150 notice_successful_create: Successful creation.
150 notice_successful_create: Successful creation.
151 notice_successful_update: Successful update.
151 notice_successful_update: Successful update.
152 notice_successful_delete: Successful deletion.
152 notice_successful_delete: Successful deletion.
153 notice_successful_connection: Successful connection.
153 notice_successful_connection: Successful connection.
154 notice_file_not_found: The page you were trying to access doesn't exist or has been removed.
154 notice_file_not_found: The page you were trying to access doesn't exist or has been removed.
155 notice_locking_conflict: Data has been updated by another user.
155 notice_locking_conflict: Data has been updated by another user.
156 notice_not_authorized: You are not authorized to access this page.
156 notice_not_authorized: You are not authorized to access this page.
157 notice_not_authorized_archived_project: The project you're trying to access has been archived.
157 notice_not_authorized_archived_project: The project you're trying to access has been archived.
158 notice_email_sent: "An email was sent to %{value}"
158 notice_email_sent: "An email was sent to %{value}"
159 notice_email_error: "An error occurred while sending mail (%{value})"
159 notice_email_error: "An error occurred while sending mail (%{value})"
160 notice_feeds_access_key_reseted: Your RSS access key was reset.
160 notice_feeds_access_key_reseted: Your RSS access key was reset.
161 notice_api_access_key_reseted: Your API access key was reset.
161 notice_api_access_key_reseted: Your API access key was reset.
162 notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}."
162 notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}."
163 notice_failed_to_save_members: "Failed to save member(s): %{errors}."
163 notice_failed_to_save_members: "Failed to save member(s): %{errors}."
164 notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit."
164 notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit."
165 notice_account_pending: "Your account was created and is now pending administrator approval."
165 notice_account_pending: "Your account was created and is now pending administrator approval."
166 notice_default_data_loaded: Default configuration successfully loaded.
166 notice_default_data_loaded: Default configuration successfully loaded.
167 notice_unable_delete_version: Unable to delete version.
167 notice_unable_delete_version: Unable to delete version.
168 notice_unable_delete_time_entry: Unable to delete time log entry.
168 notice_unable_delete_time_entry: Unable to delete time log entry.
169 notice_issue_done_ratios_updated: Issue done ratios updated.
169 notice_issue_done_ratios_updated: Issue done ratios updated.
170 notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})"
170 notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})"
171
171
172 error_can_t_load_default_data: "Default configuration could not be loaded: %{value}"
172 error_can_t_load_default_data: "Default configuration could not be loaded: %{value}"
173 error_scm_not_found: "The entry or revision was not found in the repository."
173 error_scm_not_found: "The entry or revision was not found in the repository."
174 error_scm_command_failed: "An error occurred when trying to access the repository: %{value}"
174 error_scm_command_failed: "An error occurred when trying to access the repository: %{value}"
175 error_scm_annotate: "The entry does not exist or can not be annotated."
175 error_scm_annotate: "The entry does not exist or can not be annotated."
176 error_issue_not_found_in_project: 'The issue was not found or does not belong to this project'
176 error_issue_not_found_in_project: 'The issue was not found or does not belong to this project'
177 error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.'
177 error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.'
178 error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").'
178 error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").'
179 error_can_not_delete_custom_field: Unable to delete custom field
179 error_can_not_delete_custom_field: Unable to delete custom field
180 error_can_not_delete_tracker: "This tracker contains issues and can't be deleted."
180 error_can_not_delete_tracker: "This tracker contains issues and can't be deleted."
181 error_can_not_remove_role: "This role is in use and can not be deleted."
181 error_can_not_remove_role: "This role is in use and can not be deleted."
182 error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version can not be reopened'
182 error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version can not be reopened'
183 error_can_not_archive_project: This project can not be archived
183 error_can_not_archive_project: This project can not be archived
184 error_issue_done_ratios_not_updated: "Issue done ratios not updated."
184 error_issue_done_ratios_not_updated: "Issue done ratios not updated."
185 error_workflow_copy_source: 'Please select a source tracker or role'
185 error_workflow_copy_source: 'Please select a source tracker or role'
186 error_workflow_copy_target: 'Please select target tracker(s) and role(s)'
186 error_workflow_copy_target: 'Please select target tracker(s) and role(s)'
187 error_unable_delete_issue_status: 'Unable to delete issue status'
187 error_unable_delete_issue_status: 'Unable to delete issue status'
188 error_unable_to_connect: "Unable to connect (%{value})"
188 error_unable_to_connect: "Unable to connect (%{value})"
189 warning_attachments_not_saved: "%{count} file(s) could not be saved."
189 warning_attachments_not_saved: "%{count} file(s) could not be saved."
190
190
191 mail_subject_lost_password: "Your %{value} password"
191 mail_subject_lost_password: "Your %{value} password"
192 mail_body_lost_password: 'To change your password, click on the following link:'
192 mail_body_lost_password: 'To change your password, click on the following link:'
193 mail_subject_register: "Your %{value} account activation"
193 mail_subject_register: "Your %{value} account activation"
194 mail_body_register: 'To activate your account, click on the following link:'
194 mail_body_register: 'To activate your account, click on the following link:'
195 mail_body_account_information_external: "You can use your %{value} account to log in."
195 mail_body_account_information_external: "You can use your %{value} account to log in."
196 mail_body_account_information: Your account information
196 mail_body_account_information: Your account information
197 mail_subject_account_activation_request: "%{value} account activation request"
197 mail_subject_account_activation_request: "%{value} account activation request"
198 mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:"
198 mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:"
199 mail_subject_reminder: "%{count} issue(s) due in the next %{days} days"
199 mail_subject_reminder: "%{count} issue(s) due in the next %{days} days"
200 mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:"
200 mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:"
201 mail_subject_wiki_content_added: "'%{id}' wiki page has been added"
201 mail_subject_wiki_content_added: "'%{id}' wiki page has been added"
202 mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}."
202 mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}."
203 mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated"
203 mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated"
204 mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}."
204 mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}."
205
205
206 gui_validation_error: 1 error
206 gui_validation_error: 1 error
207 gui_validation_error_plural: "%{count} errors"
207 gui_validation_error_plural: "%{count} errors"
208
208
209 field_name: Name
209 field_name: Name
210 field_description: Description
210 field_description: Description
211 field_summary: Summary
211 field_summary: Summary
212 field_is_required: Required
212 field_is_required: Required
213 field_firstname: Firstname
213 field_firstname: Firstname
214 field_lastname: Lastname
214 field_lastname: Lastname
215 field_mail: Email
215 field_mail: Email
216 field_filename: File
216 field_filename: File
217 field_filesize: Size
217 field_filesize: Size
218 field_downloads: Downloads
218 field_downloads: Downloads
219 field_author: Author
219 field_author: Author
220 field_created_on: Created
220 field_created_on: Created
221 field_updated_on: Updated
221 field_updated_on: Updated
222 field_field_format: Format
222 field_field_format: Format
223 field_is_for_all: For all projects
223 field_is_for_all: For all projects
224 field_possible_values: Possible values
224 field_possible_values: Possible values
225 field_regexp: Regular expression
225 field_regexp: Regular expression
226 field_min_length: Minimum length
226 field_min_length: Minimum length
227 field_max_length: Maximum length
227 field_max_length: Maximum length
228 field_value: Value
228 field_value: Value
229 field_category: Category
229 field_category: Category
230 field_title: Title
230 field_title: Title
231 field_project: Project
231 field_project: Project
232 field_issue: Issue
232 field_issue: Issue
233 field_status: Status
233 field_status: Status
234 field_notes: Notes
234 field_notes: Notes
235 field_is_closed: Issue closed
235 field_is_closed: Issue closed
236 field_is_default: Default value
236 field_is_default: Default value
237 field_tracker: Tracker
237 field_tracker: Tracker
238 field_subject: Subject
238 field_subject: Subject
239 field_due_date: Due date
239 field_due_date: Due date
240 field_assigned_to: Assignee
240 field_assigned_to: Assignee
241 field_priority: Priority
241 field_priority: Priority
242 field_fixed_version: Target version
242 field_fixed_version: Target version
243 field_user: User
243 field_user: User
244 field_principal: Principal
244 field_principal: Principal
245 field_role: Role
245 field_role: Role
246 field_homepage: Homepage
246 field_homepage: Homepage
247 field_is_public: Public
247 field_is_public: Public
248 field_parent: Subproject of
248 field_parent: Subproject of
249 field_is_in_roadmap: Issues displayed in roadmap
249 field_is_in_roadmap: Issues displayed in roadmap
250 field_login: Login
250 field_login: Login
251 field_mail_notification: Email notifications
251 field_mail_notification: Email notifications
252 field_admin: Administrator
252 field_admin: Administrator
253 field_last_login_on: Last connection
253 field_last_login_on: Last connection
254 field_language: Language
254 field_language: Language
255 field_effective_date: Date
255 field_effective_date: Date
256 field_password: Password
256 field_password: Password
257 field_new_password: New password
257 field_new_password: New password
258 field_password_confirmation: Confirmation
258 field_password_confirmation: Confirmation
259 field_version: Version
259 field_version: Version
260 field_type: Type
260 field_type: Type
261 field_host: Host
261 field_host: Host
262 field_port: Port
262 field_port: Port
263 field_account: Account
263 field_account: Account
264 field_base_dn: Base DN
264 field_base_dn: Base DN
265 field_attr_login: Login attribute
265 field_attr_login: Login attribute
266 field_attr_firstname: Firstname attribute
266 field_attr_firstname: Firstname attribute
267 field_attr_lastname: Lastname attribute
267 field_attr_lastname: Lastname attribute
268 field_attr_mail: Email attribute
268 field_attr_mail: Email attribute
269 field_onthefly: On-the-fly user creation
269 field_onthefly: On-the-fly user creation
270 field_start_date: Start date
270 field_start_date: Start date
271 field_done_ratio: % Done
271 field_done_ratio: % Done
272 field_auth_source: Authentication mode
272 field_auth_source: Authentication mode
273 field_hide_mail: Hide my email address
273 field_hide_mail: Hide my email address
274 field_comments: Comment
274 field_comments: Comment
275 field_url: URL
275 field_url: URL
276 field_start_page: Start page
276 field_start_page: Start page
277 field_subproject: Subproject
277 field_subproject: Subproject
278 field_hours: Hours
278 field_hours: Hours
279 field_activity: Activity
279 field_activity: Activity
280 field_spent_on: Date
280 field_spent_on: Date
281 field_identifier: Identifier
281 field_identifier: Identifier
282 field_is_filter: Used as a filter
282 field_is_filter: Used as a filter
283 field_issue_to: Related issue
283 field_issue_to: Related issue
284 field_delay: Delay
284 field_delay: Delay
285 field_assignable: Issues can be assigned to this role
285 field_assignable: Issues can be assigned to this role
286 field_redirect_existing_links: Redirect existing links
286 field_redirect_existing_links: Redirect existing links
287 field_estimated_hours: Estimated time
287 field_estimated_hours: Estimated time
288 field_column_names: Columns
288 field_column_names: Columns
289 field_time_entries: Log time
289 field_time_entries: Log time
290 field_time_zone: Time zone
290 field_time_zone: Time zone
291 field_searchable: Searchable
291 field_searchable: Searchable
292 field_default_value: Default value
292 field_default_value: Default value
293 field_comments_sorting: Display comments
293 field_comments_sorting: Display comments
294 field_parent_title: Parent page
294 field_parent_title: Parent page
295 field_editable: Editable
295 field_editable: Editable
296 field_watcher: Watcher
296 field_watcher: Watcher
297 field_identity_url: OpenID URL
297 field_identity_url: OpenID URL
298 field_content: Content
298 field_content: Content
299 field_group_by: Group results by
299 field_group_by: Group results by
300 field_sharing: Sharing
300 field_sharing: Sharing
301 field_parent_issue: Parent task
301 field_parent_issue: Parent task
302 field_member_of_group: "Assignee's group"
302 field_member_of_group: "Assignee's group"
303 field_assigned_to_role: "Assignee's role"
303 field_assigned_to_role: "Assignee's role"
304 field_text: Text field
304 field_text: Text field
305 field_visible: Visible
305 field_visible: Visible
306 field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text"
306 field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text"
307
307
308 setting_app_title: Application title
308 setting_app_title: Application title
309 setting_app_subtitle: Application subtitle
309 setting_app_subtitle: Application subtitle
310 setting_welcome_text: Welcome text
310 setting_welcome_text: Welcome text
311 setting_default_language: Default language
311 setting_default_language: Default language
312 setting_login_required: Authentication required
312 setting_login_required: Authentication required
313 setting_self_registration: Self-registration
313 setting_self_registration: Self-registration
314 setting_attachment_max_size: Attachment max. size
314 setting_attachment_max_size: Attachment max. size
315 setting_issues_export_limit: Issues export limit
315 setting_issues_export_limit: Issues export limit
316 setting_mail_from: Emission email address
316 setting_mail_from: Emission email address
317 setting_bcc_recipients: Blind carbon copy recipients (bcc)
317 setting_bcc_recipients: Blind carbon copy recipients (bcc)
318 setting_plain_text_mail: Plain text mail (no HTML)
318 setting_plain_text_mail: Plain text mail (no HTML)
319 setting_host_name: Host name and path
319 setting_host_name: Host name and path
320 setting_text_formatting: Text formatting
320 setting_text_formatting: Text formatting
321 setting_wiki_compression: Wiki history compression
321 setting_wiki_compression: Wiki history compression
322 setting_feeds_limit: Feed content limit
322 setting_feeds_limit: Feed content limit
323 setting_default_projects_public: New projects are public by default
323 setting_default_projects_public: New projects are public by default
324 setting_autofetch_changesets: Autofetch commits
324 setting_autofetch_changesets: Autofetch commits
325 setting_sys_api_enabled: Enable WS for repository management
325 setting_sys_api_enabled: Enable WS for repository management
326 setting_commit_ref_keywords: Referencing keywords
326 setting_commit_ref_keywords: Referencing keywords
327 setting_commit_fix_keywords: Fixing keywords
327 setting_commit_fix_keywords: Fixing keywords
328 setting_autologin: Autologin
328 setting_autologin: Autologin
329 setting_date_format: Date format
329 setting_date_format: Date format
330 setting_time_format: Time format
330 setting_time_format: Time format
331 setting_cross_project_issue_relations: Allow cross-project issue relations
331 setting_cross_project_issue_relations: Allow cross-project issue relations
332 setting_issue_list_default_columns: Default columns displayed on the issue list
332 setting_issue_list_default_columns: Default columns displayed on the issue list
333 setting_repositories_encodings: Repositories encodings
333 setting_repositories_encodings: Repositories encodings
334 setting_commit_logs_encoding: Commit messages encoding
334 setting_commit_logs_encoding: Commit messages encoding
335 setting_emails_header: Emails header
335 setting_emails_header: Emails header
336 setting_emails_footer: Emails footer
336 setting_emails_footer: Emails footer
337 setting_protocol: Protocol
337 setting_protocol: Protocol
338 setting_per_page_options: Objects per page options
338 setting_per_page_options: Objects per page options
339 setting_user_format: Users display format
339 setting_user_format: Users display format
340 setting_activity_days_default: Days displayed on project activity
340 setting_activity_days_default: Days displayed on project activity
341 setting_display_subprojects_issues: Display subprojects issues on main projects by default
341 setting_display_subprojects_issues: Display subprojects issues on main projects by default
342 setting_enabled_scm: Enabled SCM
342 setting_enabled_scm: Enabled SCM
343 setting_mail_handler_body_delimiters: "Truncate emails after one of these lines"
343 setting_mail_handler_body_delimiters: "Truncate emails after one of these lines"
344 setting_mail_handler_api_enabled: Enable WS for incoming emails
344 setting_mail_handler_api_enabled: Enable WS for incoming emails
345 setting_mail_handler_api_key: API key
345 setting_mail_handler_api_key: API key
346 setting_sequential_project_identifiers: Generate sequential project identifiers
346 setting_sequential_project_identifiers: Generate sequential project identifiers
347 setting_gravatar_enabled: Use Gravatar user icons
347 setting_gravatar_enabled: Use Gravatar user icons
348 setting_gravatar_default: Default Gravatar image
348 setting_gravatar_default: Default Gravatar image
349 setting_diff_max_lines_displayed: Max number of diff lines displayed
349 setting_diff_max_lines_displayed: Max number of diff lines displayed
350 setting_file_max_size_displayed: Max size of text files displayed inline
350 setting_file_max_size_displayed: Max size of text files displayed inline
351 setting_repository_log_display_limit: Maximum number of revisions displayed on file log
351 setting_repository_log_display_limit: Maximum number of revisions displayed on file log
352 setting_openid: Allow OpenID login and registration
352 setting_openid: Allow OpenID login and registration
353 setting_password_min_length: Minimum password length
353 setting_password_min_length: Minimum password length
354 setting_new_project_user_role_id: Role given to a non-admin user who creates a project
354 setting_new_project_user_role_id: Role given to a non-admin user who creates a project
355 setting_default_projects_modules: Default enabled modules for new projects
355 setting_default_projects_modules: Default enabled modules for new projects
356 setting_issue_done_ratio: Calculate the issue done ratio with
356 setting_issue_done_ratio: Calculate the issue done ratio with
357 setting_issue_done_ratio_issue_field: Use the issue field
357 setting_issue_done_ratio_issue_field: Use the issue field
358 setting_issue_done_ratio_issue_status: Use the issue status
358 setting_issue_done_ratio_issue_status: Use the issue status
359 setting_start_of_week: Start calendars on
359 setting_start_of_week: Start calendars on
360 setting_rest_api_enabled: Enable REST web service
360 setting_rest_api_enabled: Enable REST web service
361 setting_cache_formatted_text: Cache formatted text
361 setting_cache_formatted_text: Cache formatted text
362 setting_default_notification_option: Default notification option
362 setting_default_notification_option: Default notification option
363 setting_commit_logtime_enabled: Enable time logging
363 setting_commit_logtime_enabled: Enable time logging
364 setting_commit_logtime_activity_id: Activity for logged time
364 setting_commit_logtime_activity_id: Activity for logged time
365 setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
365 setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
366
366
367 permission_add_project: Create project
367 permission_add_project: Create project
368 permission_add_subprojects: Create subprojects
368 permission_add_subprojects: Create subprojects
369 permission_edit_project: Edit project
369 permission_edit_project: Edit project
370 permission_select_project_modules: Select project modules
370 permission_select_project_modules: Select project modules
371 permission_manage_members: Manage members
371 permission_manage_members: Manage members
372 permission_manage_project_activities: Manage project activities
372 permission_manage_project_activities: Manage project activities
373 permission_manage_versions: Manage versions
373 permission_manage_versions: Manage versions
374 permission_manage_categories: Manage issue categories
374 permission_manage_categories: Manage issue categories
375 permission_view_issues: View Issues
375 permission_view_issues: View Issues
376 permission_add_issues: Add issues
376 permission_add_issues: Add issues
377 permission_edit_issues: Edit issues
377 permission_edit_issues: Edit issues
378 permission_manage_issue_relations: Manage issue relations
378 permission_manage_issue_relations: Manage issue relations
379 permission_add_issue_notes: Add notes
379 permission_add_issue_notes: Add notes
380 permission_edit_issue_notes: Edit notes
380 permission_edit_issue_notes: Edit notes
381 permission_edit_own_issue_notes: Edit own notes
381 permission_edit_own_issue_notes: Edit own notes
382 permission_move_issues: Move issues
382 permission_move_issues: Move issues
383 permission_delete_issues: Delete issues
383 permission_delete_issues: Delete issues
384 permission_manage_public_queries: Manage public queries
384 permission_manage_public_queries: Manage public queries
385 permission_save_queries: Save queries
385 permission_save_queries: Save queries
386 permission_view_gantt: View gantt chart
386 permission_view_gantt: View gantt chart
387 permission_view_calendar: View calendar
387 permission_view_calendar: View calendar
388 permission_view_issue_watchers: View watchers list
388 permission_view_issue_watchers: View watchers list
389 permission_add_issue_watchers: Add watchers
389 permission_add_issue_watchers: Add watchers
390 permission_delete_issue_watchers: Delete watchers
390 permission_delete_issue_watchers: Delete watchers
391 permission_log_time: Log spent time
391 permission_log_time: Log spent time
392 permission_view_time_entries: View spent time
392 permission_view_time_entries: View spent time
393 permission_edit_time_entries: Edit time logs
393 permission_edit_time_entries: Edit time logs
394 permission_edit_own_time_entries: Edit own time logs
394 permission_edit_own_time_entries: Edit own time logs
395 permission_manage_news: Manage news
395 permission_manage_news: Manage news
396 permission_comment_news: Comment news
396 permission_comment_news: Comment news
397 permission_manage_documents: Manage documents
397 permission_manage_documents: Manage documents
398 permission_view_documents: View documents
398 permission_view_documents: View documents
399 permission_manage_files: Manage files
399 permission_manage_files: Manage files
400 permission_view_files: View files
400 permission_view_files: View files
401 permission_manage_wiki: Manage wiki
401 permission_manage_wiki: Manage wiki
402 permission_rename_wiki_pages: Rename wiki pages
402 permission_rename_wiki_pages: Rename wiki pages
403 permission_delete_wiki_pages: Delete wiki pages
403 permission_delete_wiki_pages: Delete wiki pages
404 permission_view_wiki_pages: View wiki
404 permission_view_wiki_pages: View wiki
405 permission_view_wiki_edits: View wiki history
405 permission_view_wiki_edits: View wiki history
406 permission_edit_wiki_pages: Edit wiki pages
406 permission_edit_wiki_pages: Edit wiki pages
407 permission_delete_wiki_pages_attachments: Delete attachments
407 permission_delete_wiki_pages_attachments: Delete attachments
408 permission_protect_wiki_pages: Protect wiki pages
408 permission_protect_wiki_pages: Protect wiki pages
409 permission_manage_repository: Manage repository
409 permission_manage_repository: Manage repository
410 permission_browse_repository: Browse repository
410 permission_browse_repository: Browse repository
411 permission_view_changesets: View changesets
411 permission_view_changesets: View changesets
412 permission_commit_access: Commit access
412 permission_commit_access: Commit access
413 permission_manage_boards: Manage boards
413 permission_manage_boards: Manage boards
414 permission_view_messages: View messages
414 permission_view_messages: View messages
415 permission_add_messages: Post messages
415 permission_add_messages: Post messages
416 permission_edit_messages: Edit messages
416 permission_edit_messages: Edit messages
417 permission_edit_own_messages: Edit own messages
417 permission_edit_own_messages: Edit own messages
418 permission_delete_messages: Delete messages
418 permission_delete_messages: Delete messages
419 permission_delete_own_messages: Delete own messages
419 permission_delete_own_messages: Delete own messages
420 permission_export_wiki_pages: Export wiki pages
420 permission_export_wiki_pages: Export wiki pages
421 permission_manage_subtasks: Manage subtasks
421 permission_manage_subtasks: Manage subtasks
422
422
423 project_module_issue_tracking: Issue tracking
423 project_module_issue_tracking: Issue tracking
424 project_module_time_tracking: Time tracking
424 project_module_time_tracking: Time tracking
425 project_module_news: News
425 project_module_news: News
426 project_module_documents: Documents
426 project_module_documents: Documents
427 project_module_files: Files
427 project_module_files: Files
428 project_module_wiki: Wiki
428 project_module_wiki: Wiki
429 project_module_repository: Repository
429 project_module_repository: Repository
430 project_module_boards: Boards
430 project_module_boards: Boards
431 project_module_calendar: Calendar
431 project_module_calendar: Calendar
432 project_module_gantt: Gantt
432 project_module_gantt: Gantt
433
433
434 label_user: User
434 label_user: User
435 label_user_plural: Users
435 label_user_plural: Users
436 label_user_new: New user
436 label_user_new: New user
437 label_user_anonymous: Anonymous
437 label_user_anonymous: Anonymous
438 label_project: Project
438 label_project: Project
439 label_project_new: New project
439 label_project_new: New project
440 label_project_plural: Projects
440 label_project_plural: Projects
441 label_x_projects:
441 label_x_projects:
442 zero: no projects
442 zero: no projects
443 one: 1 project
443 one: 1 project
444 other: "%{count} projects"
444 other: "%{count} projects"
445 label_project_all: All Projects
445 label_project_all: All Projects
446 label_project_latest: Latest projects
446 label_project_latest: Latest projects
447 label_issue: Issue
447 label_issue: Issue
448 label_issue_new: New issue
448 label_issue_new: New issue
449 label_issue_plural: Issues
449 label_issue_plural: Issues
450 label_issue_view_all: View all issues
450 label_issue_view_all: View all issues
451 label_issues_by: "Issues by %{value}"
451 label_issues_by: "Issues by %{value}"
452 label_issue_added: Issue added
452 label_issue_added: Issue added
453 label_issue_updated: Issue updated
453 label_issue_updated: Issue updated
454 label_document: Document
454 label_document: Document
455 label_document_new: New document
455 label_document_new: New document
456 label_document_plural: Documents
456 label_document_plural: Documents
457 label_document_added: Document added
457 label_document_added: Document added
458 label_role: Role
458 label_role: Role
459 label_role_plural: Roles
459 label_role_plural: Roles
460 label_role_new: New role
460 label_role_new: New role
461 label_role_and_permissions: Roles and permissions
461 label_role_and_permissions: Roles and permissions
462 label_member: Member
462 label_member: Member
463 label_member_new: New member
463 label_member_new: New member
464 label_member_plural: Members
464 label_member_plural: Members
465 label_tracker: Tracker
465 label_tracker: Tracker
466 label_tracker_plural: Trackers
466 label_tracker_plural: Trackers
467 label_tracker_new: New tracker
467 label_tracker_new: New tracker
468 label_workflow: Workflow
468 label_workflow: Workflow
469 label_issue_status: Issue status
469 label_issue_status: Issue status
470 label_issue_status_plural: Issue statuses
470 label_issue_status_plural: Issue statuses
471 label_issue_status_new: New status
471 label_issue_status_new: New status
472 label_issue_category: Issue category
472 label_issue_category: Issue category
473 label_issue_category_plural: Issue categories
473 label_issue_category_plural: Issue categories
474 label_issue_category_new: New category
474 label_issue_category_new: New category
475 label_custom_field: Custom field
475 label_custom_field: Custom field
476 label_custom_field_plural: Custom fields
476 label_custom_field_plural: Custom fields
477 label_custom_field_new: New custom field
477 label_custom_field_new: New custom field
478 label_enumerations: Enumerations
478 label_enumerations: Enumerations
479 label_enumeration_new: New value
479 label_enumeration_new: New value
480 label_information: Information
480 label_information: Information
481 label_information_plural: Information
481 label_information_plural: Information
482 label_please_login: Please log in
482 label_please_login: Please log in
483 label_register: Register
483 label_register: Register
484 label_login_with_open_id_option: or login with OpenID
484 label_login_with_open_id_option: or login with OpenID
485 label_password_lost: Lost password
485 label_password_lost: Lost password
486 label_home: Home
486 label_home: Home
487 label_my_page: My page
487 label_my_page: My page
488 label_my_account: My account
488 label_my_account: My account
489 label_my_projects: My projects
489 label_my_projects: My projects
490 label_my_page_block: My page block
490 label_my_page_block: My page block
491 label_administration: Administration
491 label_administration: Administration
492 label_login: Sign in
492 label_login: Sign in
493 label_logout: Sign out
493 label_logout: Sign out
494 label_help: Help
494 label_help: Help
495 label_reported_issues: Reported issues
495 label_reported_issues: Reported issues
496 label_assigned_to_me_issues: Issues assigned to me
496 label_assigned_to_me_issues: Issues assigned to me
497 label_last_login: Last connection
497 label_last_login: Last connection
498 label_registered_on: Registered on
498 label_registered_on: Registered on
499 label_activity: Activity
499 label_activity: Activity
500 label_overall_activity: Overall activity
500 label_overall_activity: Overall activity
501 label_user_activity: "%{value}'s activity"
501 label_user_activity: "%{value}'s activity"
502 label_new: New
502 label_new: New
503 label_logged_as: Logged in as
503 label_logged_as: Logged in as
504 label_environment: Environment
504 label_environment: Environment
505 label_authentication: Authentication
505 label_authentication: Authentication
506 label_auth_source: Authentication mode
506 label_auth_source: Authentication mode
507 label_auth_source_new: New authentication mode
507 label_auth_source_new: New authentication mode
508 label_auth_source_plural: Authentication modes
508 label_auth_source_plural: Authentication modes
509 label_subproject_plural: Subprojects
509 label_subproject_plural: Subprojects
510 label_subproject_new: New subproject
510 label_subproject_new: New subproject
511 label_and_its_subprojects: "%{value} and its subprojects"
511 label_and_its_subprojects: "%{value} and its subprojects"
512 label_min_max_length: Min - Max length
512 label_min_max_length: Min - Max length
513 label_list: List
513 label_list: List
514 label_date: Date
514 label_date: Date
515 label_integer: Integer
515 label_integer: Integer
516 label_float: Float
516 label_float: Float
517 label_boolean: Boolean
517 label_boolean: Boolean
518 label_string: Text
518 label_string: Text
519 label_text: Long text
519 label_text: Long text
520 label_attribute: Attribute
520 label_attribute: Attribute
521 label_attribute_plural: Attributes
521 label_attribute_plural: Attributes
522 label_download: "%{count} Download"
522 label_download: "%{count} Download"
523 label_download_plural: "%{count} Downloads"
523 label_download_plural: "%{count} Downloads"
524 label_no_data: No data to display
524 label_no_data: No data to display
525 label_change_status: Change status
525 label_change_status: Change status
526 label_history: History
526 label_history: History
527 label_attachment: File
527 label_attachment: File
528 label_attachment_new: New file
528 label_attachment_new: New file
529 label_attachment_delete: Delete file
529 label_attachment_delete: Delete file
530 label_attachment_plural: Files
530 label_attachment_plural: Files
531 label_file_added: File added
531 label_file_added: File added
532 label_report: Report
532 label_report: Report
533 label_report_plural: Reports
533 label_report_plural: Reports
534 label_news: News
534 label_news: News
535 label_news_new: Add news
535 label_news_new: Add news
536 label_news_plural: News
536 label_news_plural: News
537 label_news_latest: Latest news
537 label_news_latest: Latest news
538 label_news_view_all: View all news
538 label_news_view_all: View all news
539 label_news_added: News added
539 label_news_added: News added
540 label_news_comment_added: Comment added to a news
540 label_settings: Settings
541 label_settings: Settings
541 label_overview: Overview
542 label_overview: Overview
542 label_version: Version
543 label_version: Version
543 label_version_new: New version
544 label_version_new: New version
544 label_version_plural: Versions
545 label_version_plural: Versions
545 label_close_versions: Close completed versions
546 label_close_versions: Close completed versions
546 label_confirmation: Confirmation
547 label_confirmation: Confirmation
547 label_export_to: 'Also available in:'
548 label_export_to: 'Also available in:'
548 label_read: Read...
549 label_read: Read...
549 label_public_projects: Public projects
550 label_public_projects: Public projects
550 label_open_issues: open
551 label_open_issues: open
551 label_open_issues_plural: open
552 label_open_issues_plural: open
552 label_closed_issues: closed
553 label_closed_issues: closed
553 label_closed_issues_plural: closed
554 label_closed_issues_plural: closed
554 label_x_open_issues_abbr_on_total:
555 label_x_open_issues_abbr_on_total:
555 zero: 0 open / %{total}
556 zero: 0 open / %{total}
556 one: 1 open / %{total}
557 one: 1 open / %{total}
557 other: "%{count} open / %{total}"
558 other: "%{count} open / %{total}"
558 label_x_open_issues_abbr:
559 label_x_open_issues_abbr:
559 zero: 0 open
560 zero: 0 open
560 one: 1 open
561 one: 1 open
561 other: "%{count} open"
562 other: "%{count} open"
562 label_x_closed_issues_abbr:
563 label_x_closed_issues_abbr:
563 zero: 0 closed
564 zero: 0 closed
564 one: 1 closed
565 one: 1 closed
565 other: "%{count} closed"
566 other: "%{count} closed"
566 label_total: Total
567 label_total: Total
567 label_permissions: Permissions
568 label_permissions: Permissions
568 label_current_status: Current status
569 label_current_status: Current status
569 label_new_statuses_allowed: New statuses allowed
570 label_new_statuses_allowed: New statuses allowed
570 label_all: all
571 label_all: all
571 label_none: none
572 label_none: none
572 label_nobody: nobody
573 label_nobody: nobody
573 label_next: Next
574 label_next: Next
574 label_previous: Previous
575 label_previous: Previous
575 label_used_by: Used by
576 label_used_by: Used by
576 label_details: Details
577 label_details: Details
577 label_add_note: Add a note
578 label_add_note: Add a note
578 label_per_page: Per page
579 label_per_page: Per page
579 label_calendar: Calendar
580 label_calendar: Calendar
580 label_months_from: months from
581 label_months_from: months from
581 label_gantt: Gantt
582 label_gantt: Gantt
582 label_internal: Internal
583 label_internal: Internal
583 label_last_changes: "last %{count} changes"
584 label_last_changes: "last %{count} changes"
584 label_change_view_all: View all changes
585 label_change_view_all: View all changes
585 label_personalize_page: Personalize this page
586 label_personalize_page: Personalize this page
586 label_comment: Comment
587 label_comment: Comment
587 label_comment_plural: Comments
588 label_comment_plural: Comments
588 label_x_comments:
589 label_x_comments:
589 zero: no comments
590 zero: no comments
590 one: 1 comment
591 one: 1 comment
591 other: "%{count} comments"
592 other: "%{count} comments"
592 label_comment_add: Add a comment
593 label_comment_add: Add a comment
593 label_comment_added: Comment added
594 label_comment_added: Comment added
594 label_comment_delete: Delete comments
595 label_comment_delete: Delete comments
595 label_query: Custom query
596 label_query: Custom query
596 label_query_plural: Custom queries
597 label_query_plural: Custom queries
597 label_query_new: New query
598 label_query_new: New query
598 label_my_queries: My custom queries
599 label_my_queries: My custom queries
599 label_filter_add: Add filter
600 label_filter_add: Add filter
600 label_filter_plural: Filters
601 label_filter_plural: Filters
601 label_equals: is
602 label_equals: is
602 label_not_equals: is not
603 label_not_equals: is not
603 label_in_less_than: in less than
604 label_in_less_than: in less than
604 label_in_more_than: in more than
605 label_in_more_than: in more than
605 label_greater_or_equal: '>='
606 label_greater_or_equal: '>='
606 label_less_or_equal: '<='
607 label_less_or_equal: '<='
607 label_in: in
608 label_in: in
608 label_today: today
609 label_today: today
609 label_all_time: all time
610 label_all_time: all time
610 label_yesterday: yesterday
611 label_yesterday: yesterday
611 label_this_week: this week
612 label_this_week: this week
612 label_last_week: last week
613 label_last_week: last week
613 label_last_n_days: "last %{count} days"
614 label_last_n_days: "last %{count} days"
614 label_this_month: this month
615 label_this_month: this month
615 label_last_month: last month
616 label_last_month: last month
616 label_this_year: this year
617 label_this_year: this year
617 label_date_range: Date range
618 label_date_range: Date range
618 label_less_than_ago: less than days ago
619 label_less_than_ago: less than days ago
619 label_more_than_ago: more than days ago
620 label_more_than_ago: more than days ago
620 label_ago: days ago
621 label_ago: days ago
621 label_contains: contains
622 label_contains: contains
622 label_not_contains: doesn't contain
623 label_not_contains: doesn't contain
623 label_day_plural: days
624 label_day_plural: days
624 label_repository: Repository
625 label_repository: Repository
625 label_repository_plural: Repositories
626 label_repository_plural: Repositories
626 label_browse: Browse
627 label_browse: Browse
627 label_modification: "%{count} change"
628 label_modification: "%{count} change"
628 label_modification_plural: "%{count} changes"
629 label_modification_plural: "%{count} changes"
629 label_branch: Branch
630 label_branch: Branch
630 label_tag: Tag
631 label_tag: Tag
631 label_revision: Revision
632 label_revision: Revision
632 label_revision_plural: Revisions
633 label_revision_plural: Revisions
633 label_revision_id: "Revision %{value}"
634 label_revision_id: "Revision %{value}"
634 label_associated_revisions: Associated revisions
635 label_associated_revisions: Associated revisions
635 label_added: added
636 label_added: added
636 label_modified: modified
637 label_modified: modified
637 label_copied: copied
638 label_copied: copied
638 label_renamed: renamed
639 label_renamed: renamed
639 label_deleted: deleted
640 label_deleted: deleted
640 label_latest_revision: Latest revision
641 label_latest_revision: Latest revision
641 label_latest_revision_plural: Latest revisions
642 label_latest_revision_plural: Latest revisions
642 label_view_revisions: View revisions
643 label_view_revisions: View revisions
643 label_view_all_revisions: View all revisions
644 label_view_all_revisions: View all revisions
644 label_max_size: Maximum size
645 label_max_size: Maximum size
645 label_sort_highest: Move to top
646 label_sort_highest: Move to top
646 label_sort_higher: Move up
647 label_sort_higher: Move up
647 label_sort_lower: Move down
648 label_sort_lower: Move down
648 label_sort_lowest: Move to bottom
649 label_sort_lowest: Move to bottom
649 label_roadmap: Roadmap
650 label_roadmap: Roadmap
650 label_roadmap_due_in: "Due in %{value}"
651 label_roadmap_due_in: "Due in %{value}"
651 label_roadmap_overdue: "%{value} late"
652 label_roadmap_overdue: "%{value} late"
652 label_roadmap_no_issues: No issues for this version
653 label_roadmap_no_issues: No issues for this version
653 label_search: Search
654 label_search: Search
654 label_result_plural: Results
655 label_result_plural: Results
655 label_all_words: All words
656 label_all_words: All words
656 label_wiki: Wiki
657 label_wiki: Wiki
657 label_wiki_edit: Wiki edit
658 label_wiki_edit: Wiki edit
658 label_wiki_edit_plural: Wiki edits
659 label_wiki_edit_plural: Wiki edits
659 label_wiki_page: Wiki page
660 label_wiki_page: Wiki page
660 label_wiki_page_plural: Wiki pages
661 label_wiki_page_plural: Wiki pages
661 label_index_by_title: Index by title
662 label_index_by_title: Index by title
662 label_index_by_date: Index by date
663 label_index_by_date: Index by date
663 label_current_version: Current version
664 label_current_version: Current version
664 label_preview: Preview
665 label_preview: Preview
665 label_feed_plural: Feeds
666 label_feed_plural: Feeds
666 label_changes_details: Details of all changes
667 label_changes_details: Details of all changes
667 label_issue_tracking: Issue tracking
668 label_issue_tracking: Issue tracking
668 label_spent_time: Spent time
669 label_spent_time: Spent time
669 label_overall_spent_time: Overall spent time
670 label_overall_spent_time: Overall spent time
670 label_f_hour: "%{value} hour"
671 label_f_hour: "%{value} hour"
671 label_f_hour_plural: "%{value} hours"
672 label_f_hour_plural: "%{value} hours"
672 label_time_tracking: Time tracking
673 label_time_tracking: Time tracking
673 label_change_plural: Changes
674 label_change_plural: Changes
674 label_statistics: Statistics
675 label_statistics: Statistics
675 label_commits_per_month: Commits per month
676 label_commits_per_month: Commits per month
676 label_commits_per_author: Commits per author
677 label_commits_per_author: Commits per author
677 label_view_diff: View differences
678 label_view_diff: View differences
678 label_diff_inline: inline
679 label_diff_inline: inline
679 label_diff_side_by_side: side by side
680 label_diff_side_by_side: side by side
680 label_options: Options
681 label_options: Options
681 label_copy_workflow_from: Copy workflow from
682 label_copy_workflow_from: Copy workflow from
682 label_permissions_report: Permissions report
683 label_permissions_report: Permissions report
683 label_watched_issues: Watched issues
684 label_watched_issues: Watched issues
684 label_related_issues: Related issues
685 label_related_issues: Related issues
685 label_applied_status: Applied status
686 label_applied_status: Applied status
686 label_loading: Loading...
687 label_loading: Loading...
687 label_relation_new: New relation
688 label_relation_new: New relation
688 label_relation_delete: Delete relation
689 label_relation_delete: Delete relation
689 label_relates_to: related to
690 label_relates_to: related to
690 label_duplicates: duplicates
691 label_duplicates: duplicates
691 label_duplicated_by: duplicated by
692 label_duplicated_by: duplicated by
692 label_blocks: blocks
693 label_blocks: blocks
693 label_blocked_by: blocked by
694 label_blocked_by: blocked by
694 label_precedes: precedes
695 label_precedes: precedes
695 label_follows: follows
696 label_follows: follows
696 label_end_to_start: end to start
697 label_end_to_start: end to start
697 label_end_to_end: end to end
698 label_end_to_end: end to end
698 label_start_to_start: start to start
699 label_start_to_start: start to start
699 label_start_to_end: start to end
700 label_start_to_end: start to end
700 label_stay_logged_in: Stay logged in
701 label_stay_logged_in: Stay logged in
701 label_disabled: disabled
702 label_disabled: disabled
702 label_show_completed_versions: Show completed versions
703 label_show_completed_versions: Show completed versions
703 label_me: me
704 label_me: me
704 label_board: Forum
705 label_board: Forum
705 label_board_new: New forum
706 label_board_new: New forum
706 label_board_plural: Forums
707 label_board_plural: Forums
707 label_board_locked: Locked
708 label_board_locked: Locked
708 label_board_sticky: Sticky
709 label_board_sticky: Sticky
709 label_topic_plural: Topics
710 label_topic_plural: Topics
710 label_message_plural: Messages
711 label_message_plural: Messages
711 label_message_last: Last message
712 label_message_last: Last message
712 label_message_new: New message
713 label_message_new: New message
713 label_message_posted: Message added
714 label_message_posted: Message added
714 label_reply_plural: Replies
715 label_reply_plural: Replies
715 label_send_information: Send account information to the user
716 label_send_information: Send account information to the user
716 label_year: Year
717 label_year: Year
717 label_month: Month
718 label_month: Month
718 label_week: Week
719 label_week: Week
719 label_date_from: From
720 label_date_from: From
720 label_date_to: To
721 label_date_to: To
721 label_language_based: Based on user's language
722 label_language_based: Based on user's language
722 label_sort_by: "Sort by %{value}"
723 label_sort_by: "Sort by %{value}"
723 label_send_test_email: Send a test email
724 label_send_test_email: Send a test email
724 label_feeds_access_key: RSS access key
725 label_feeds_access_key: RSS access key
725 label_missing_feeds_access_key: Missing a RSS access key
726 label_missing_feeds_access_key: Missing a RSS access key
726 label_feeds_access_key_created_on: "RSS access key created %{value} ago"
727 label_feeds_access_key_created_on: "RSS access key created %{value} ago"
727 label_module_plural: Modules
728 label_module_plural: Modules
728 label_added_time_by: "Added by %{author} %{age} ago"
729 label_added_time_by: "Added by %{author} %{age} ago"
729 label_updated_time_by: "Updated by %{author} %{age} ago"
730 label_updated_time_by: "Updated by %{author} %{age} ago"
730 label_updated_time: "Updated %{value} ago"
731 label_updated_time: "Updated %{value} ago"
731 label_jump_to_a_project: Jump to a project...
732 label_jump_to_a_project: Jump to a project...
732 label_file_plural: Files
733 label_file_plural: Files
733 label_changeset_plural: Changesets
734 label_changeset_plural: Changesets
734 label_default_columns: Default columns
735 label_default_columns: Default columns
735 label_no_change_option: (No change)
736 label_no_change_option: (No change)
736 label_bulk_edit_selected_issues: Bulk edit selected issues
737 label_bulk_edit_selected_issues: Bulk edit selected issues
737 label_theme: Theme
738 label_theme: Theme
738 label_default: Default
739 label_default: Default
739 label_search_titles_only: Search titles only
740 label_search_titles_only: Search titles only
740 label_user_mail_option_all: "For any event on all my projects"
741 label_user_mail_option_all: "For any event on all my projects"
741 label_user_mail_option_selected: "For any event on the selected projects only..."
742 label_user_mail_option_selected: "For any event on the selected projects only..."
742 label_user_mail_option_none: "No events"
743 label_user_mail_option_none: "No events"
743 label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in"
744 label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in"
744 label_user_mail_option_only_assigned: "Only for things I am assigned to"
745 label_user_mail_option_only_assigned: "Only for things I am assigned to"
745 label_user_mail_option_only_owner: "Only for things I am the owner of"
746 label_user_mail_option_only_owner: "Only for things I am the owner of"
746 label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself"
747 label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself"
747 label_registration_activation_by_email: account activation by email
748 label_registration_activation_by_email: account activation by email
748 label_registration_manual_activation: manual account activation
749 label_registration_manual_activation: manual account activation
749 label_registration_automatic_activation: automatic account activation
750 label_registration_automatic_activation: automatic account activation
750 label_display_per_page: "Per page: %{value}"
751 label_display_per_page: "Per page: %{value}"
751 label_age: Age
752 label_age: Age
752 label_change_properties: Change properties
753 label_change_properties: Change properties
753 label_general: General
754 label_general: General
754 label_more: More
755 label_more: More
755 label_scm: SCM
756 label_scm: SCM
756 label_plugins: Plugins
757 label_plugins: Plugins
757 label_ldap_authentication: LDAP authentication
758 label_ldap_authentication: LDAP authentication
758 label_downloads_abbr: D/L
759 label_downloads_abbr: D/L
759 label_optional_description: Optional description
760 label_optional_description: Optional description
760 label_add_another_file: Add another file
761 label_add_another_file: Add another file
761 label_preferences: Preferences
762 label_preferences: Preferences
762 label_chronological_order: In chronological order
763 label_chronological_order: In chronological order
763 label_reverse_chronological_order: In reverse chronological order
764 label_reverse_chronological_order: In reverse chronological order
764 label_planning: Planning
765 label_planning: Planning
765 label_incoming_emails: Incoming emails
766 label_incoming_emails: Incoming emails
766 label_generate_key: Generate a key
767 label_generate_key: Generate a key
767 label_issue_watchers: Watchers
768 label_issue_watchers: Watchers
768 label_example: Example
769 label_example: Example
769 label_display: Display
770 label_display: Display
770 label_sort: Sort
771 label_sort: Sort
771 label_ascending: Ascending
772 label_ascending: Ascending
772 label_descending: Descending
773 label_descending: Descending
773 label_date_from_to: From %{start} to %{end}
774 label_date_from_to: From %{start} to %{end}
774 label_wiki_content_added: Wiki page added
775 label_wiki_content_added: Wiki page added
775 label_wiki_content_updated: Wiki page updated
776 label_wiki_content_updated: Wiki page updated
776 label_group: Group
777 label_group: Group
777 label_group_plural: Groups
778 label_group_plural: Groups
778 label_group_new: New group
779 label_group_new: New group
779 label_time_entry_plural: Spent time
780 label_time_entry_plural: Spent time
780 label_version_sharing_none: Not shared
781 label_version_sharing_none: Not shared
781 label_version_sharing_descendants: With subprojects
782 label_version_sharing_descendants: With subprojects
782 label_version_sharing_hierarchy: With project hierarchy
783 label_version_sharing_hierarchy: With project hierarchy
783 label_version_sharing_tree: With project tree
784 label_version_sharing_tree: With project tree
784 label_version_sharing_system: With all projects
785 label_version_sharing_system: With all projects
785 label_update_issue_done_ratios: Update issue done ratios
786 label_update_issue_done_ratios: Update issue done ratios
786 label_copy_source: Source
787 label_copy_source: Source
787 label_copy_target: Target
788 label_copy_target: Target
788 label_copy_same_as_target: Same as target
789 label_copy_same_as_target: Same as target
789 label_display_used_statuses_only: Only display statuses that are used by this tracker
790 label_display_used_statuses_only: Only display statuses that are used by this tracker
790 label_api_access_key: API access key
791 label_api_access_key: API access key
791 label_missing_api_access_key: Missing an API access key
792 label_missing_api_access_key: Missing an API access key
792 label_api_access_key_created_on: "API access key created %{value} ago"
793 label_api_access_key_created_on: "API access key created %{value} ago"
793 label_profile: Profile
794 label_profile: Profile
794 label_subtask_plural: Subtasks
795 label_subtask_plural: Subtasks
795 label_project_copy_notifications: Send email notifications during the project copy
796 label_project_copy_notifications: Send email notifications during the project copy
796 label_principal_search: "Search for user or group:"
797 label_principal_search: "Search for user or group:"
797 label_user_search: "Search for user:"
798 label_user_search: "Search for user:"
798
799
799 button_login: Login
800 button_login: Login
800 button_submit: Submit
801 button_submit: Submit
801 button_save: Save
802 button_save: Save
802 button_check_all: Check all
803 button_check_all: Check all
803 button_uncheck_all: Uncheck all
804 button_uncheck_all: Uncheck all
804 button_delete: Delete
805 button_delete: Delete
805 button_create: Create
806 button_create: Create
806 button_create_and_continue: Create and continue
807 button_create_and_continue: Create and continue
807 button_test: Test
808 button_test: Test
808 button_edit: Edit
809 button_edit: Edit
809 button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}"
810 button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}"
810 button_add: Add
811 button_add: Add
811 button_change: Change
812 button_change: Change
812 button_apply: Apply
813 button_apply: Apply
813 button_clear: Clear
814 button_clear: Clear
814 button_lock: Lock
815 button_lock: Lock
815 button_unlock: Unlock
816 button_unlock: Unlock
816 button_download: Download
817 button_download: Download
817 button_list: List
818 button_list: List
818 button_view: View
819 button_view: View
819 button_move: Move
820 button_move: Move
820 button_move_and_follow: Move and follow
821 button_move_and_follow: Move and follow
821 button_back: Back
822 button_back: Back
822 button_cancel: Cancel
823 button_cancel: Cancel
823 button_activate: Activate
824 button_activate: Activate
824 button_sort: Sort
825 button_sort: Sort
825 button_log_time: Log time
826 button_log_time: Log time
826 button_rollback: Rollback to this version
827 button_rollback: Rollback to this version
827 button_watch: Watch
828 button_watch: Watch
828 button_unwatch: Unwatch
829 button_unwatch: Unwatch
829 button_reply: Reply
830 button_reply: Reply
830 button_archive: Archive
831 button_archive: Archive
831 button_unarchive: Unarchive
832 button_unarchive: Unarchive
832 button_reset: Reset
833 button_reset: Reset
833 button_rename: Rename
834 button_rename: Rename
834 button_change_password: Change password
835 button_change_password: Change password
835 button_copy: Copy
836 button_copy: Copy
836 button_copy_and_follow: Copy and follow
837 button_copy_and_follow: Copy and follow
837 button_annotate: Annotate
838 button_annotate: Annotate
838 button_update: Update
839 button_update: Update
839 button_configure: Configure
840 button_configure: Configure
840 button_quote: Quote
841 button_quote: Quote
841 button_duplicate: Duplicate
842 button_duplicate: Duplicate
842 button_show: Show
843 button_show: Show
843
844
844 status_active: active
845 status_active: active
845 status_registered: registered
846 status_registered: registered
846 status_locked: locked
847 status_locked: locked
847
848
848 version_status_open: open
849 version_status_open: open
849 version_status_locked: locked
850 version_status_locked: locked
850 version_status_closed: closed
851 version_status_closed: closed
851
852
852 field_active: Active
853 field_active: Active
853
854
854 text_select_mail_notifications: Select actions for which email notifications should be sent.
855 text_select_mail_notifications: Select actions for which email notifications should be sent.
855 text_regexp_info: eg. ^[A-Z0-9]+$
856 text_regexp_info: eg. ^[A-Z0-9]+$
856 text_min_max_length_info: 0 means no restriction
857 text_min_max_length_info: 0 means no restriction
857 text_project_destroy_confirmation: Are you sure you want to delete this project and related data ?
858 text_project_destroy_confirmation: Are you sure you want to delete this project and related data ?
858 text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted."
859 text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted."
859 text_workflow_edit: Select a role and a tracker to edit the workflow
860 text_workflow_edit: Select a role and a tracker to edit the workflow
860 text_are_you_sure: Are you sure ?
861 text_are_you_sure: Are you sure ?
861 text_are_you_sure_with_children: "Delete issue and all child issues?"
862 text_are_you_sure_with_children: "Delete issue and all child issues?"
862 text_journal_changed: "%{label} changed from %{old} to %{new}"
863 text_journal_changed: "%{label} changed from %{old} to %{new}"
863 text_journal_changed_no_detail: "%{label} updated"
864 text_journal_changed_no_detail: "%{label} updated"
864 text_journal_set_to: "%{label} set to %{value}"
865 text_journal_set_to: "%{label} set to %{value}"
865 text_journal_deleted: "%{label} deleted (%{old})"
866 text_journal_deleted: "%{label} deleted (%{old})"
866 text_journal_added: "%{label} %{value} added"
867 text_journal_added: "%{label} %{value} added"
867 text_tip_issue_begin_day: issue beginning this day
868 text_tip_issue_begin_day: issue beginning this day
868 text_tip_issue_end_day: issue ending this day
869 text_tip_issue_end_day: issue ending this day
869 text_tip_issue_begin_end_day: issue beginning and ending this day
870 text_tip_issue_begin_end_day: issue beginning and ending this day
870 text_project_identifier_info: 'Only lower case letters (a-z), numbers and dashes are allowed.<br />Once saved, the identifier can not be changed.'
871 text_project_identifier_info: 'Only lower case letters (a-z), numbers and dashes are allowed.<br />Once saved, the identifier can not be changed.'
871 text_caracters_maximum: "%{count} characters maximum."
872 text_caracters_maximum: "%{count} characters maximum."
872 text_caracters_minimum: "Must be at least %{count} characters long."
873 text_caracters_minimum: "Must be at least %{count} characters long."
873 text_length_between: "Length between %{min} and %{max} characters."
874 text_length_between: "Length between %{min} and %{max} characters."
874 text_tracker_no_workflow: No workflow defined for this tracker
875 text_tracker_no_workflow: No workflow defined for this tracker
875 text_unallowed_characters: Unallowed characters
876 text_unallowed_characters: Unallowed characters
876 text_comma_separated: Multiple values allowed (comma separated).
877 text_comma_separated: Multiple values allowed (comma separated).
877 text_line_separated: Multiple values allowed (one line for each value).
878 text_line_separated: Multiple values allowed (one line for each value).
878 text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
879 text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
879 text_issue_added: "Issue %{id} has been reported by %{author}."
880 text_issue_added: "Issue %{id} has been reported by %{author}."
880 text_issue_updated: "Issue %{id} has been updated by %{author}."
881 text_issue_updated: "Issue %{id} has been updated by %{author}."
881 text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content ?
882 text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content ?
882 text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do ?"
883 text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do ?"
883 text_issue_category_destroy_assignments: Remove category assignments
884 text_issue_category_destroy_assignments: Remove category assignments
884 text_issue_category_reassign_to: Reassign issues to this category
885 text_issue_category_reassign_to: Reassign issues to this category
885 text_user_mail_option: "For unselected projects, you will only receive notifications about things you watch or you're involved in (eg. issues you're the author or assignee)."
886 text_user_mail_option: "For unselected projects, you will only receive notifications about things you watch or you're involved in (eg. issues you're the author or assignee)."
886 text_no_configuration_data: "Roles, trackers, issue statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded."
887 text_no_configuration_data: "Roles, trackers, issue statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded."
887 text_load_default_configuration: Load the default configuration
888 text_load_default_configuration: Load the default configuration
888 text_status_changed_by_changeset: "Applied in changeset %{value}."
889 text_status_changed_by_changeset: "Applied in changeset %{value}."
889 text_time_logged_by_changeset: "Applied in changeset %{value}."
890 text_time_logged_by_changeset: "Applied in changeset %{value}."
890 text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s) ?'
891 text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s) ?'
891 text_select_project_modules: 'Select modules to enable for this project:'
892 text_select_project_modules: 'Select modules to enable for this project:'
892 text_default_administrator_account_changed: Default administrator account changed
893 text_default_administrator_account_changed: Default administrator account changed
893 text_file_repository_writable: Attachments directory writable
894 text_file_repository_writable: Attachments directory writable
894 text_plugin_assets_writable: Plugin assets directory writable
895 text_plugin_assets_writable: Plugin assets directory writable
895 text_rmagick_available: RMagick available (optional)
896 text_rmagick_available: RMagick available (optional)
896 text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do ?"
897 text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do ?"
897 text_destroy_time_entries: Delete reported hours
898 text_destroy_time_entries: Delete reported hours
898 text_assign_time_entries_to_project: Assign reported hours to the project
899 text_assign_time_entries_to_project: Assign reported hours to the project
899 text_reassign_time_entries: 'Reassign reported hours to this issue:'
900 text_reassign_time_entries: 'Reassign reported hours to this issue:'
900 text_user_wrote: "%{value} wrote:"
901 text_user_wrote: "%{value} wrote:"
901 text_enumeration_destroy_question: "%{count} objects are assigned to this value."
902 text_enumeration_destroy_question: "%{count} objects are assigned to this value."
902 text_enumeration_category_reassign_to: 'Reassign them to this value:'
903 text_enumeration_category_reassign_to: 'Reassign them to this value:'
903 text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/configuration.yml and restart the application to enable them."
904 text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/configuration.yml and restart the application to enable them."
904 text_repository_usernames_mapping: "Select or update the Redmine user mapped to each username found in the repository log.\nUsers with the same Redmine and repository username or email are automatically mapped."
905 text_repository_usernames_mapping: "Select or update the Redmine user mapped to each username found in the repository log.\nUsers with the same Redmine and repository username or email are automatically mapped."
905 text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.'
906 text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.'
906 text_custom_field_possible_values_info: 'One line for each value'
907 text_custom_field_possible_values_info: 'One line for each value'
907 text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?"
908 text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?"
908 text_wiki_page_nullify_children: "Keep child pages as root pages"
909 text_wiki_page_nullify_children: "Keep child pages as root pages"
909 text_wiki_page_destroy_children: "Delete child pages and all their descendants"
910 text_wiki_page_destroy_children: "Delete child pages and all their descendants"
910 text_wiki_page_reassign_children: "Reassign child pages to this parent page"
911 text_wiki_page_reassign_children: "Reassign child pages to this parent page"
911 text_own_membership_delete_confirmation: "You are about to remove some or all of your permissions and may no longer be able to edit this project after that.\nAre you sure you want to continue?"
912 text_own_membership_delete_confirmation: "You are about to remove some or all of your permissions and may no longer be able to edit this project after that.\nAre you sure you want to continue?"
912 text_zoom_in: Zoom in
913 text_zoom_in: Zoom in
913 text_zoom_out: Zoom out
914 text_zoom_out: Zoom out
914 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
915 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
915
916
916 default_role_manager: Manager
917 default_role_manager: Manager
917 default_role_developer: Developer
918 default_role_developer: Developer
918 default_role_reporter: Reporter
919 default_role_reporter: Reporter
919 default_tracker_bug: Bug
920 default_tracker_bug: Bug
920 default_tracker_feature: Feature
921 default_tracker_feature: Feature
921 default_tracker_support: Support
922 default_tracker_support: Support
922 default_issue_status_new: New
923 default_issue_status_new: New
923 default_issue_status_in_progress: In Progress
924 default_issue_status_in_progress: In Progress
924 default_issue_status_resolved: Resolved
925 default_issue_status_resolved: Resolved
925 default_issue_status_feedback: Feedback
926 default_issue_status_feedback: Feedback
926 default_issue_status_closed: Closed
927 default_issue_status_closed: Closed
927 default_issue_status_rejected: Rejected
928 default_issue_status_rejected: Rejected
928 default_doc_category_user: User documentation
929 default_doc_category_user: User documentation
929 default_doc_category_tech: Technical documentation
930 default_doc_category_tech: Technical documentation
930 default_priority_low: Low
931 default_priority_low: Low
931 default_priority_normal: Normal
932 default_priority_normal: Normal
932 default_priority_high: High
933 default_priority_high: High
933 default_priority_urgent: Urgent
934 default_priority_urgent: Urgent
934 default_priority_immediate: Immediate
935 default_priority_immediate: Immediate
935 default_activity_design: Design
936 default_activity_design: Design
936 default_activity_development: Development
937 default_activity_development: Development
937
938
938 enumeration_issue_priorities: Issue priorities
939 enumeration_issue_priorities: Issue priorities
939 enumeration_doc_categories: Document categories
940 enumeration_doc_categories: Document categories
940 enumeration_activities: Activities (time tracking)
941 enumeration_activities: Activities (time tracking)
941 enumeration_system_activity: System Activity
942 enumeration_system_activity: System Activity
942
943
@@ -1,960 +1,961
1 # French translations for Ruby on Rails
1 # French translations for Ruby on Rails
2 # by Christian Lescuyer (christian@flyingcoders.com)
2 # by Christian Lescuyer (christian@flyingcoders.com)
3 # contributor: Sebastien Grosjean - ZenCocoon.com
3 # contributor: Sebastien Grosjean - ZenCocoon.com
4 # contributor: Thibaut Cuvelier - Developpez.com
4 # contributor: Thibaut Cuvelier - Developpez.com
5
5
6 fr:
6 fr:
7 direction: ltr
7 direction: ltr
8 date:
8 date:
9 formats:
9 formats:
10 default: "%d/%m/%Y"
10 default: "%d/%m/%Y"
11 short: "%e %b"
11 short: "%e %b"
12 long: "%e %B %Y"
12 long: "%e %B %Y"
13 long_ordinal: "%e %B %Y"
13 long_ordinal: "%e %B %Y"
14 only_day: "%e"
14 only_day: "%e"
15
15
16 day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
16 day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
17 abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
17 abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
18 month_names: [~, janvier, fΓ©vrier, mars, avril, mai, juin, juillet, aoΓ»t, septembre, octobre, novembre, dΓ©cembre]
18 month_names: [~, janvier, fΓ©vrier, mars, avril, mai, juin, juillet, aoΓ»t, septembre, octobre, novembre, dΓ©cembre]
19 abbr_month_names: [~, jan., fΓ©v., mar., avr., mai, juin, juil., aoΓ»t, sept., oct., nov., dΓ©c.]
19 abbr_month_names: [~, jan., fΓ©v., mar., avr., mai, juin, juil., aoΓ»t, sept., oct., nov., dΓ©c.]
20 order: [ :day, :month, :year ]
20 order: [ :day, :month, :year ]
21
21
22 time:
22 time:
23 formats:
23 formats:
24 default: "%d/%m/%Y %H:%M"
24 default: "%d/%m/%Y %H:%M"
25 time: "%H:%M"
25 time: "%H:%M"
26 short: "%d %b %H:%M"
26 short: "%d %b %H:%M"
27 long: "%A %d %B %Y %H:%M:%S %Z"
27 long: "%A %d %B %Y %H:%M:%S %Z"
28 long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
28 long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
29 only_second: "%S"
29 only_second: "%S"
30 am: 'am'
30 am: 'am'
31 pm: 'pm'
31 pm: 'pm'
32
32
33 datetime:
33 datetime:
34 distance_in_words:
34 distance_in_words:
35 half_a_minute: "30 secondes"
35 half_a_minute: "30 secondes"
36 less_than_x_seconds:
36 less_than_x_seconds:
37 zero: "moins d'une seconde"
37 zero: "moins d'une seconde"
38 one: "moins d'uneΒ seconde"
38 one: "moins d'uneΒ seconde"
39 other: "moins de %{count}Β secondes"
39 other: "moins de %{count}Β secondes"
40 x_seconds:
40 x_seconds:
41 one: "1Β seconde"
41 one: "1Β seconde"
42 other: "%{count}Β secondes"
42 other: "%{count}Β secondes"
43 less_than_x_minutes:
43 less_than_x_minutes:
44 zero: "moins d'une minute"
44 zero: "moins d'une minute"
45 one: "moins d'uneΒ minute"
45 one: "moins d'uneΒ minute"
46 other: "moins de %{count}Β minutes"
46 other: "moins de %{count}Β minutes"
47 x_minutes:
47 x_minutes:
48 one: "1Β minute"
48 one: "1Β minute"
49 other: "%{count}Β minutes"
49 other: "%{count}Β minutes"
50 about_x_hours:
50 about_x_hours:
51 one: "environ une heure"
51 one: "environ une heure"
52 other: "environ %{count}Β heures"
52 other: "environ %{count}Β heures"
53 x_days:
53 x_days:
54 one: "unΒ jour"
54 one: "unΒ jour"
55 other: "%{count}Β jours"
55 other: "%{count}Β jours"
56 about_x_months:
56 about_x_months:
57 one: "environ un mois"
57 one: "environ un mois"
58 other: "environ %{count}Β mois"
58 other: "environ %{count}Β mois"
59 x_months:
59 x_months:
60 one: "unΒ mois"
60 one: "unΒ mois"
61 other: "%{count}Β mois"
61 other: "%{count}Β mois"
62 about_x_years:
62 about_x_years:
63 one: "environ un an"
63 one: "environ un an"
64 other: "environ %{count}Β ans"
64 other: "environ %{count}Β ans"
65 over_x_years:
65 over_x_years:
66 one: "plus d'un an"
66 one: "plus d'un an"
67 other: "plus de %{count}Β ans"
67 other: "plus de %{count}Β ans"
68 almost_x_years:
68 almost_x_years:
69 one: "presqu'un an"
69 one: "presqu'un an"
70 other: "presque %{count} ans"
70 other: "presque %{count} ans"
71 prompts:
71 prompts:
72 year: "AnnΓ©e"
72 year: "AnnΓ©e"
73 month: "Mois"
73 month: "Mois"
74 day: "Jour"
74 day: "Jour"
75 hour: "Heure"
75 hour: "Heure"
76 minute: "Minute"
76 minute: "Minute"
77 second: "Seconde"
77 second: "Seconde"
78
78
79 number:
79 number:
80 format:
80 format:
81 precision: 3
81 precision: 3
82 separator: ','
82 separator: ','
83 delimiter: 'Β '
83 delimiter: 'Β '
84 currency:
84 currency:
85 format:
85 format:
86 unit: '€'
86 unit: '€'
87 precision: 2
87 precision: 2
88 format: '%nΒ %u'
88 format: '%nΒ %u'
89 human:
89 human:
90 format:
90 format:
91 precision: 2
91 precision: 2
92 storage_units:
92 storage_units:
93 format: "%n %u"
93 format: "%n %u"
94 units:
94 units:
95 byte:
95 byte:
96 one: "octet"
96 one: "octet"
97 other: "octet"
97 other: "octet"
98 kb: "ko"
98 kb: "ko"
99 mb: "Mo"
99 mb: "Mo"
100 gb: "Go"
100 gb: "Go"
101 tb: "To"
101 tb: "To"
102
102
103 support:
103 support:
104 array:
104 array:
105 sentence_connector: 'et'
105 sentence_connector: 'et'
106 skip_last_comma: true
106 skip_last_comma: true
107 word_connector: ", "
107 word_connector: ", "
108 two_words_connector: " et "
108 two_words_connector: " et "
109 last_word_connector: " et "
109 last_word_connector: " et "
110
110
111 activerecord:
111 activerecord:
112 errors:
112 errors:
113 template:
113 template:
114 header:
114 header:
115 one: "Impossible d'enregistrer %{model} : une erreur"
115 one: "Impossible d'enregistrer %{model} : une erreur"
116 other: "Impossible d'enregistrer %{model} : %{count} erreurs."
116 other: "Impossible d'enregistrer %{model} : %{count} erreurs."
117 body: "Veuillez vΓ©rifier les champs suivantsΒ :"
117 body: "Veuillez vΓ©rifier les champs suivantsΒ :"
118 messages:
118 messages:
119 inclusion: "n'est pas inclus(e) dans la liste"
119 inclusion: "n'est pas inclus(e) dans la liste"
120 exclusion: "n'est pas disponible"
120 exclusion: "n'est pas disponible"
121 invalid: "n'est pas valide"
121 invalid: "n'est pas valide"
122 confirmation: "ne concorde pas avec la confirmation"
122 confirmation: "ne concorde pas avec la confirmation"
123 accepted: "doit Γͺtre acceptΓ©(e)"
123 accepted: "doit Γͺtre acceptΓ©(e)"
124 empty: "doit Γͺtre renseignΓ©(e)"
124 empty: "doit Γͺtre renseignΓ©(e)"
125 blank: "doit Γͺtre renseignΓ©(e)"
125 blank: "doit Γͺtre renseignΓ©(e)"
126 too_long: "est trop long (pas plus de %{count} caractères)"
126 too_long: "est trop long (pas plus de %{count} caractères)"
127 too_short: "est trop court (au moins %{count} caractères)"
127 too_short: "est trop court (au moins %{count} caractères)"
128 wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
128 wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
129 taken: "est dΓ©jΓ  utilisΓ©"
129 taken: "est dΓ©jΓ  utilisΓ©"
130 not_a_number: "n'est pas un nombre"
130 not_a_number: "n'est pas un nombre"
131 not_a_date: "n'est pas une date valide"
131 not_a_date: "n'est pas une date valide"
132 greater_than: "doit Γͺtre supΓ©rieur Γ  %{count}"
132 greater_than: "doit Γͺtre supΓ©rieur Γ  %{count}"
133 greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ  %{count}"
133 greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ  %{count}"
134 equal_to: "doit Γͺtre Γ©gal Γ  %{count}"
134 equal_to: "doit Γͺtre Γ©gal Γ  %{count}"
135 less_than: "doit Γͺtre infΓ©rieur Γ  %{count}"
135 less_than: "doit Γͺtre infΓ©rieur Γ  %{count}"
136 less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ  %{count}"
136 less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ  %{count}"
137 odd: "doit Γͺtre impair"
137 odd: "doit Γͺtre impair"
138 even: "doit Γͺtre pair"
138 even: "doit Γͺtre pair"
139 greater_than_start_date: "doit Γͺtre postΓ©rieure Γ  la date de dΓ©but"
139 greater_than_start_date: "doit Γͺtre postΓ©rieure Γ  la date de dΓ©but"
140 not_same_project: "n'appartient pas au mΓͺme projet"
140 not_same_project: "n'appartient pas au mΓͺme projet"
141 circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire"
141 circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire"
142 cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ  l'une de ses sous-tΓ’ches"
142 cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ  l'une de ses sous-tΓ’ches"
143
143
144 actionview_instancetag_blank_option: Choisir
144 actionview_instancetag_blank_option: Choisir
145
145
146 general_text_No: 'Non'
146 general_text_No: 'Non'
147 general_text_Yes: 'Oui'
147 general_text_Yes: 'Oui'
148 general_text_no: 'non'
148 general_text_no: 'non'
149 general_text_yes: 'oui'
149 general_text_yes: 'oui'
150 general_lang_name: 'FranΓ§ais'
150 general_lang_name: 'FranΓ§ais'
151 general_csv_separator: ';'
151 general_csv_separator: ';'
152 general_csv_decimal_separator: ','
152 general_csv_decimal_separator: ','
153 general_csv_encoding: ISO-8859-1
153 general_csv_encoding: ISO-8859-1
154 general_pdf_encoding: ISO-8859-1
154 general_pdf_encoding: ISO-8859-1
155 general_first_day_of_week: '1'
155 general_first_day_of_week: '1'
156
156
157 notice_account_updated: Le compte a été mis à jour avec succès.
157 notice_account_updated: Le compte a été mis à jour avec succès.
158 notice_account_invalid_creditentials: Identifiant ou mot de passe invalide.
158 notice_account_invalid_creditentials: Identifiant ou mot de passe invalide.
159 notice_account_password_updated: Mot de passe mis à jour avec succès.
159 notice_account_password_updated: Mot de passe mis à jour avec succès.
160 notice_account_wrong_password: Mot de passe incorrect
160 notice_account_wrong_password: Mot de passe incorrect
161 notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©.
161 notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©.
162 notice_account_unknown_email: Aucun compte ne correspond Γ  cette adresse.
162 notice_account_unknown_email: Aucun compte ne correspond Γ  cette adresse.
163 notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe.
163 notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe.
164 notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©.
164 notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©.
165 notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ  prΓ©sent vous connecter.
165 notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ  prΓ©sent vous connecter.
166 notice_successful_create: Création effectuée avec succès.
166 notice_successful_create: Création effectuée avec succès.
167 notice_successful_update: Mise à jour effectuée avec succès.
167 notice_successful_update: Mise à jour effectuée avec succès.
168 notice_successful_delete: Suppression effectuée avec succès.
168 notice_successful_delete: Suppression effectuée avec succès.
169 notice_successful_connection: Connexion rΓ©ussie.
169 notice_successful_connection: Connexion rΓ©ussie.
170 notice_file_not_found: "La page Γ  laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e."
170 notice_file_not_found: "La page Γ  laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e."
171 notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ  jour par un autre utilisateur. Mise Γ  jour impossible.
171 notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ  jour par un autre utilisateur. Mise Γ  jour impossible.
172 notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ  accΓ©der Γ  cette page."
172 notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ  accΓ©der Γ  cette page."
173 notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©.
173 notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©.
174 notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ  %{value}"
174 notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ  %{value}"
175 notice_email_error: "Erreur lors de l'envoi de l'email (%{value})"
175 notice_email_error: "Erreur lors de l'envoi de l'email (%{value})"
176 notice_feeds_access_key_reseted: "Votre clé d'accès aux flux RSS a été réinitialisée."
176 notice_feeds_access_key_reseted: "Votre clé d'accès aux flux RSS a été réinitialisée."
177 notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ  jour : %{ids}."
177 notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ  jour : %{ids}."
178 notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ  jour."
178 notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ  jour."
179 notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur."
179 notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur."
180 notice_default_data_loaded: Paramétrage par défaut chargé avec succès.
180 notice_default_data_loaded: Paramétrage par défaut chargé avec succès.
181 notice_unable_delete_version: Impossible de supprimer cette version.
181 notice_unable_delete_version: Impossible de supprimer cette version.
182 notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ  jour.
182 notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ  jour.
183 notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée.
183 notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée.
184 notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})"
184 notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})"
185
185
186 error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}"
186 error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}"
187 error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t."
187 error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t."
188 error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}"
188 error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}"
189 error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e."
189 error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e."
190 error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ  ce projet"
190 error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ  ce projet"
191 error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ  une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte'
191 error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ  une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte'
192 error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©"
192 error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©"
193 error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source'
193 error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source'
194 error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles'
194 error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles'
195 error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ  jour.
195 error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ  jour.
196
196
197 warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s."
197 warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s."
198
198
199 mail_subject_lost_password: "Votre mot de passe %{value}"
199 mail_subject_lost_password: "Votre mot de passe %{value}"
200 mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :'
200 mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :'
201 mail_subject_register: "Activation de votre compte %{value}"
201 mail_subject_register: "Activation de votre compte %{value}"
202 mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :'
202 mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :'
203 mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter."
203 mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter."
204 mail_body_account_information: Paramètres de connexion de votre compte
204 mail_body_account_information: Paramètres de connexion de votre compte
205 mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}"
205 mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}"
206 mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :"
206 mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :"
207 mail_subject_reminder: "%{count} demande(s) arrivent Γ  Γ©chΓ©ance (%{days})"
207 mail_subject_reminder: "%{count} demande(s) arrivent Γ  Γ©chΓ©ance (%{days})"
208 mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ  Γ©chΓ©ance dans les %{days} prochains jours :"
208 mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ  Γ©chΓ©ance dans les %{days} prochains jours :"
209 mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e"
209 mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e"
210 mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}."
210 mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}."
211 mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ  jour"
211 mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ  jour"
212 mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ  jour par %{author}."
212 mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ  jour par %{author}."
213
213
214 gui_validation_error: 1 erreur
214 gui_validation_error: 1 erreur
215 gui_validation_error_plural: "%{count} erreurs"
215 gui_validation_error_plural: "%{count} erreurs"
216
216
217 field_name: Nom
217 field_name: Nom
218 field_description: Description
218 field_description: Description
219 field_summary: RΓ©sumΓ©
219 field_summary: RΓ©sumΓ©
220 field_is_required: Obligatoire
220 field_is_required: Obligatoire
221 field_firstname: PrΓ©nom
221 field_firstname: PrΓ©nom
222 field_lastname: Nom
222 field_lastname: Nom
223 field_mail: "Email "
223 field_mail: "Email "
224 field_filename: Fichier
224 field_filename: Fichier
225 field_filesize: Taille
225 field_filesize: Taille
226 field_downloads: TΓ©lΓ©chargements
226 field_downloads: TΓ©lΓ©chargements
227 field_author: Auteur
227 field_author: Auteur
228 field_created_on: "Créé "
228 field_created_on: "Créé "
229 field_updated_on: "Mis-Γ -jour "
229 field_updated_on: "Mis-Γ -jour "
230 field_field_format: Format
230 field_field_format: Format
231 field_is_for_all: Pour tous les projets
231 field_is_for_all: Pour tous les projets
232 field_possible_values: Valeurs possibles
232 field_possible_values: Valeurs possibles
233 field_regexp: Expression régulière
233 field_regexp: Expression régulière
234 field_min_length: Longueur minimum
234 field_min_length: Longueur minimum
235 field_max_length: Longueur maximum
235 field_max_length: Longueur maximum
236 field_value: Valeur
236 field_value: Valeur
237 field_category: CatΓ©gorie
237 field_category: CatΓ©gorie
238 field_title: Titre
238 field_title: Titre
239 field_project: Projet
239 field_project: Projet
240 field_issue: Demande
240 field_issue: Demande
241 field_status: Statut
241 field_status: Statut
242 field_notes: Notes
242 field_notes: Notes
243 field_is_closed: Demande fermΓ©e
243 field_is_closed: Demande fermΓ©e
244 field_is_default: Valeur par dΓ©faut
244 field_is_default: Valeur par dΓ©faut
245 field_tracker: Tracker
245 field_tracker: Tracker
246 field_subject: Sujet
246 field_subject: Sujet
247 field_due_date: EchΓ©ance
247 field_due_date: EchΓ©ance
248 field_assigned_to: AssignΓ© Γ 
248 field_assigned_to: AssignΓ© Γ 
249 field_priority: PrioritΓ©
249 field_priority: PrioritΓ©
250 field_fixed_version: Version cible
250 field_fixed_version: Version cible
251 field_user: Utilisateur
251 field_user: Utilisateur
252 field_role: RΓ΄le
252 field_role: RΓ΄le
253 field_homepage: "Site web "
253 field_homepage: "Site web "
254 field_is_public: Public
254 field_is_public: Public
255 field_parent: Sous-projet de
255 field_parent: Sous-projet de
256 field_is_in_roadmap: Demandes affichΓ©es dans la roadmap
256 field_is_in_roadmap: Demandes affichΓ©es dans la roadmap
257 field_login: "Identifiant "
257 field_login: "Identifiant "
258 field_mail_notification: Notifications par mail
258 field_mail_notification: Notifications par mail
259 field_admin: Administrateur
259 field_admin: Administrateur
260 field_last_login_on: "Dernière connexion "
260 field_last_login_on: "Dernière connexion "
261 field_language: Langue
261 field_language: Langue
262 field_effective_date: Date
262 field_effective_date: Date
263 field_password: Mot de passe
263 field_password: Mot de passe
264 field_new_password: Nouveau mot de passe
264 field_new_password: Nouveau mot de passe
265 field_password_confirmation: Confirmation
265 field_password_confirmation: Confirmation
266 field_version: Version
266 field_version: Version
267 field_type: Type
267 field_type: Type
268 field_host: HΓ΄te
268 field_host: HΓ΄te
269 field_port: Port
269 field_port: Port
270 field_account: Compte
270 field_account: Compte
271 field_base_dn: Base DN
271 field_base_dn: Base DN
272 field_attr_login: Attribut Identifiant
272 field_attr_login: Attribut Identifiant
273 field_attr_firstname: Attribut PrΓ©nom
273 field_attr_firstname: Attribut PrΓ©nom
274 field_attr_lastname: Attribut Nom
274 field_attr_lastname: Attribut Nom
275 field_attr_mail: Attribut Email
275 field_attr_mail: Attribut Email
276 field_onthefly: CrΓ©ation des utilisateurs Γ  la volΓ©e
276 field_onthefly: CrΓ©ation des utilisateurs Γ  la volΓ©e
277 field_start_date: DΓ©but
277 field_start_date: DΓ©but
278 field_done_ratio: % rΓ©alisΓ©
278 field_done_ratio: % rΓ©alisΓ©
279 field_auth_source: Mode d'authentification
279 field_auth_source: Mode d'authentification
280 field_hide_mail: Cacher mon adresse mail
280 field_hide_mail: Cacher mon adresse mail
281 field_comments: Commentaire
281 field_comments: Commentaire
282 field_url: URL
282 field_url: URL
283 field_start_page: Page de dΓ©marrage
283 field_start_page: Page de dΓ©marrage
284 field_subproject: Sous-projet
284 field_subproject: Sous-projet
285 field_hours: Heures
285 field_hours: Heures
286 field_activity: ActivitΓ©
286 field_activity: ActivitΓ©
287 field_spent_on: Date
287 field_spent_on: Date
288 field_identifier: Identifiant
288 field_identifier: Identifiant
289 field_is_filter: UtilisΓ© comme filtre
289 field_is_filter: UtilisΓ© comme filtre
290 field_issue_to: Demande liΓ©e
290 field_issue_to: Demande liΓ©e
291 field_delay: Retard
291 field_delay: Retard
292 field_assignable: Demandes assignables Γ  ce rΓ΄le
292 field_assignable: Demandes assignables Γ  ce rΓ΄le
293 field_redirect_existing_links: Rediriger les liens existants
293 field_redirect_existing_links: Rediriger les liens existants
294 field_estimated_hours: Temps estimΓ©
294 field_estimated_hours: Temps estimΓ©
295 field_column_names: Colonnes
295 field_column_names: Colonnes
296 field_time_zone: Fuseau horaire
296 field_time_zone: Fuseau horaire
297 field_searchable: UtilisΓ© pour les recherches
297 field_searchable: UtilisΓ© pour les recherches
298 field_default_value: Valeur par dΓ©faut
298 field_default_value: Valeur par dΓ©faut
299 field_comments_sorting: Afficher les commentaires
299 field_comments_sorting: Afficher les commentaires
300 field_parent_title: Page parent
300 field_parent_title: Page parent
301 field_editable: Modifiable
301 field_editable: Modifiable
302 field_watcher: Observateur
302 field_watcher: Observateur
303 field_identity_url: URL OpenID
303 field_identity_url: URL OpenID
304 field_content: Contenu
304 field_content: Contenu
305 field_group_by: Grouper par
305 field_group_by: Grouper par
306 field_sharing: Partage
306 field_sharing: Partage
307 field_active: Actif
307 field_active: Actif
308 field_parent_issue: TΓ’che parente
308 field_parent_issue: TΓ’che parente
309 field_visible: Visible
309 field_visible: Visible
310 field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©"
310 field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©"
311
311
312 setting_app_title: Titre de l'application
312 setting_app_title: Titre de l'application
313 setting_app_subtitle: Sous-titre de l'application
313 setting_app_subtitle: Sous-titre de l'application
314 setting_welcome_text: Texte d'accueil
314 setting_welcome_text: Texte d'accueil
315 setting_default_language: Langue par dΓ©faut
315 setting_default_language: Langue par dΓ©faut
316 setting_login_required: Authentification obligatoire
316 setting_login_required: Authentification obligatoire
317 setting_self_registration: Inscription des nouveaux utilisateurs
317 setting_self_registration: Inscription des nouveaux utilisateurs
318 setting_attachment_max_size: Taille max des fichiers
318 setting_attachment_max_size: Taille max des fichiers
319 setting_issues_export_limit: Limite export demandes
319 setting_issues_export_limit: Limite export demandes
320 setting_mail_from: Adresse d'Γ©mission
320 setting_mail_from: Adresse d'Γ©mission
321 setting_bcc_recipients: Destinataires en copie cachΓ©e (cci)
321 setting_bcc_recipients: Destinataires en copie cachΓ©e (cci)
322 setting_plain_text_mail: Mail texte brut (non HTML)
322 setting_plain_text_mail: Mail texte brut (non HTML)
323 setting_host_name: Nom d'hΓ΄te et chemin
323 setting_host_name: Nom d'hΓ΄te et chemin
324 setting_text_formatting: Formatage du texte
324 setting_text_formatting: Formatage du texte
325 setting_wiki_compression: Compression historique wiki
325 setting_wiki_compression: Compression historique wiki
326 setting_feeds_limit: Limite du contenu des flux RSS
326 setting_feeds_limit: Limite du contenu des flux RSS
327 setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut
327 setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut
328 setting_autofetch_changesets: RΓ©cupΓ©ration auto. des commits
328 setting_autofetch_changesets: RΓ©cupΓ©ration auto. des commits
329 setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts
329 setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts
330 setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement
330 setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement
331 setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution
331 setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution
332 setting_autologin: Autologin
332 setting_autologin: Autologin
333 setting_date_format: Format de date
333 setting_date_format: Format de date
334 setting_time_format: Format d'heure
334 setting_time_format: Format d'heure
335 setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets
335 setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets
336 setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes
336 setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes
337 setting_repositories_encodings: Encodages des dΓ©pΓ΄ts
337 setting_repositories_encodings: Encodages des dΓ©pΓ΄ts
338 setting_commit_logs_encoding: Encodage des messages de commit
338 setting_commit_logs_encoding: Encodage des messages de commit
339 setting_emails_footer: Pied-de-page des emails
339 setting_emails_footer: Pied-de-page des emails
340 setting_protocol: Protocole
340 setting_protocol: Protocole
341 setting_per_page_options: Options d'objets affichΓ©s par page
341 setting_per_page_options: Options d'objets affichΓ©s par page
342 setting_user_format: Format d'affichage des utilisateurs
342 setting_user_format: Format d'affichage des utilisateurs
343 setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets
343 setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets
344 setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux
344 setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux
345 setting_enabled_scm: SCM activΓ©s
345 setting_enabled_scm: SCM activΓ©s
346 setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes"
346 setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes"
347 setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails"
347 setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails"
348 setting_mail_handler_api_key: ClΓ© de protection de l'API
348 setting_mail_handler_api_key: ClΓ© de protection de l'API
349 setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels
349 setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels
350 setting_gravatar_enabled: Afficher les Gravatar des utilisateurs
350 setting_gravatar_enabled: Afficher les Gravatar des utilisateurs
351 setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es
351 setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es
352 setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne
352 setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne
353 setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier"
353 setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier"
354 setting_openid: "Autoriser l'authentification et l'enregistrement OpenID"
354 setting_openid: "Autoriser l'authentification et l'enregistrement OpenID"
355 setting_password_min_length: Longueur minimum des mots de passe
355 setting_password_min_length: Longueur minimum des mots de passe
356 setting_new_project_user_role_id: RΓ΄le donnΓ© Γ  un utilisateur non-administrateur qui crΓ©e un projet
356 setting_new_project_user_role_id: RΓ΄le donnΓ© Γ  un utilisateur non-administrateur qui crΓ©e un projet
357 setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets
357 setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets
358 setting_issue_done_ratio: Calcul de l'avancement des demandes
358 setting_issue_done_ratio: Calcul de l'avancement des demandes
359 setting_issue_done_ratio_issue_status: Utiliser le statut
359 setting_issue_done_ratio_issue_status: Utiliser le statut
360 setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©'
360 setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©'
361 setting_rest_api_enabled: Activer l'API REST
361 setting_rest_api_enabled: Activer l'API REST
362 setting_gravatar_default: Image Gravatar par dΓ©faut
362 setting_gravatar_default: Image Gravatar par dΓ©faut
363 setting_start_of_week: Jour de dΓ©but des calendriers
363 setting_start_of_week: Jour de dΓ©but des calendriers
364 setting_cache_formatted_text: Mettre en cache le texte formatΓ©
364 setting_cache_formatted_text: Mettre en cache le texte formatΓ©
365 setting_commit_logtime_enabled: Permettre la saisie de temps
365 setting_commit_logtime_enabled: Permettre la saisie de temps
366 setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi
366 setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi
367 setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt
367 setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt
368
368
369 permission_add_project: CrΓ©er un projet
369 permission_add_project: CrΓ©er un projet
370 permission_add_subprojects: CrΓ©er des sous-projets
370 permission_add_subprojects: CrΓ©er des sous-projets
371 permission_edit_project: Modifier le projet
371 permission_edit_project: Modifier le projet
372 permission_select_project_modules: Choisir les modules
372 permission_select_project_modules: Choisir les modules
373 permission_manage_members: GΓ©rer les membres
373 permission_manage_members: GΓ©rer les membres
374 permission_manage_versions: GΓ©rer les versions
374 permission_manage_versions: GΓ©rer les versions
375 permission_manage_categories: GΓ©rer les catΓ©gories de demandes
375 permission_manage_categories: GΓ©rer les catΓ©gories de demandes
376 permission_view_issues: Voir les demandes
376 permission_view_issues: Voir les demandes
377 permission_add_issues: CrΓ©er des demandes
377 permission_add_issues: CrΓ©er des demandes
378 permission_edit_issues: Modifier les demandes
378 permission_edit_issues: Modifier les demandes
379 permission_manage_issue_relations: GΓ©rer les relations
379 permission_manage_issue_relations: GΓ©rer les relations
380 permission_add_issue_notes: Ajouter des notes
380 permission_add_issue_notes: Ajouter des notes
381 permission_edit_issue_notes: Modifier les notes
381 permission_edit_issue_notes: Modifier les notes
382 permission_edit_own_issue_notes: Modifier ses propres notes
382 permission_edit_own_issue_notes: Modifier ses propres notes
383 permission_move_issues: DΓ©placer les demandes
383 permission_move_issues: DΓ©placer les demandes
384 permission_delete_issues: Supprimer les demandes
384 permission_delete_issues: Supprimer les demandes
385 permission_manage_public_queries: GΓ©rer les requΓͺtes publiques
385 permission_manage_public_queries: GΓ©rer les requΓͺtes publiques
386 permission_save_queries: Sauvegarder les requΓͺtes
386 permission_save_queries: Sauvegarder les requΓͺtes
387 permission_view_gantt: Voir le gantt
387 permission_view_gantt: Voir le gantt
388 permission_view_calendar: Voir le calendrier
388 permission_view_calendar: Voir le calendrier
389 permission_view_issue_watchers: Voir la liste des observateurs
389 permission_view_issue_watchers: Voir la liste des observateurs
390 permission_add_issue_watchers: Ajouter des observateurs
390 permission_add_issue_watchers: Ajouter des observateurs
391 permission_delete_issue_watchers: Supprimer des observateurs
391 permission_delete_issue_watchers: Supprimer des observateurs
392 permission_log_time: Saisir le temps passΓ©
392 permission_log_time: Saisir le temps passΓ©
393 permission_view_time_entries: Voir le temps passΓ©
393 permission_view_time_entries: Voir le temps passΓ©
394 permission_edit_time_entries: Modifier les temps passΓ©s
394 permission_edit_time_entries: Modifier les temps passΓ©s
395 permission_edit_own_time_entries: Modifier son propre temps passΓ©
395 permission_edit_own_time_entries: Modifier son propre temps passΓ©
396 permission_manage_news: GΓ©rer les annonces
396 permission_manage_news: GΓ©rer les annonces
397 permission_comment_news: Commenter les annonces
397 permission_comment_news: Commenter les annonces
398 permission_manage_documents: GΓ©rer les documents
398 permission_manage_documents: GΓ©rer les documents
399 permission_view_documents: Voir les documents
399 permission_view_documents: Voir les documents
400 permission_manage_files: GΓ©rer les fichiers
400 permission_manage_files: GΓ©rer les fichiers
401 permission_view_files: Voir les fichiers
401 permission_view_files: Voir les fichiers
402 permission_manage_wiki: GΓ©rer le wiki
402 permission_manage_wiki: GΓ©rer le wiki
403 permission_rename_wiki_pages: Renommer les pages
403 permission_rename_wiki_pages: Renommer les pages
404 permission_delete_wiki_pages: Supprimer les pages
404 permission_delete_wiki_pages: Supprimer les pages
405 permission_view_wiki_pages: Voir le wiki
405 permission_view_wiki_pages: Voir le wiki
406 permission_view_wiki_edits: "Voir l'historique des modifications"
406 permission_view_wiki_edits: "Voir l'historique des modifications"
407 permission_edit_wiki_pages: Modifier les pages
407 permission_edit_wiki_pages: Modifier les pages
408 permission_delete_wiki_pages_attachments: Supprimer les fichiers joints
408 permission_delete_wiki_pages_attachments: Supprimer les fichiers joints
409 permission_protect_wiki_pages: ProtΓ©ger les pages
409 permission_protect_wiki_pages: ProtΓ©ger les pages
410 permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources
410 permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources
411 permission_browse_repository: Parcourir les sources
411 permission_browse_repository: Parcourir les sources
412 permission_view_changesets: Voir les rΓ©visions
412 permission_view_changesets: Voir les rΓ©visions
413 permission_commit_access: Droit de commit
413 permission_commit_access: Droit de commit
414 permission_manage_boards: GΓ©rer les forums
414 permission_manage_boards: GΓ©rer les forums
415 permission_view_messages: Voir les messages
415 permission_view_messages: Voir les messages
416 permission_add_messages: Poster un message
416 permission_add_messages: Poster un message
417 permission_edit_messages: Modifier les messages
417 permission_edit_messages: Modifier les messages
418 permission_edit_own_messages: Modifier ses propres messages
418 permission_edit_own_messages: Modifier ses propres messages
419 permission_delete_messages: Supprimer les messages
419 permission_delete_messages: Supprimer les messages
420 permission_delete_own_messages: Supprimer ses propres messages
420 permission_delete_own_messages: Supprimer ses propres messages
421 permission_export_wiki_pages: Exporter les pages
421 permission_export_wiki_pages: Exporter les pages
422 permission_manage_project_activities: GΓ©rer les activitΓ©s
422 permission_manage_project_activities: GΓ©rer les activitΓ©s
423 permission_manage_subtasks: GΓ©rer les sous-tΓ’ches
423 permission_manage_subtasks: GΓ©rer les sous-tΓ’ches
424
424
425 project_module_issue_tracking: Suivi des demandes
425 project_module_issue_tracking: Suivi des demandes
426 project_module_time_tracking: Suivi du temps passΓ©
426 project_module_time_tracking: Suivi du temps passΓ©
427 project_module_news: Publication d'annonces
427 project_module_news: Publication d'annonces
428 project_module_documents: Publication de documents
428 project_module_documents: Publication de documents
429 project_module_files: Publication de fichiers
429 project_module_files: Publication de fichiers
430 project_module_wiki: Wiki
430 project_module_wiki: Wiki
431 project_module_repository: DΓ©pΓ΄t de sources
431 project_module_repository: DΓ©pΓ΄t de sources
432 project_module_boards: Forums de discussion
432 project_module_boards: Forums de discussion
433
433
434 label_user: Utilisateur
434 label_user: Utilisateur
435 label_user_plural: Utilisateurs
435 label_user_plural: Utilisateurs
436 label_user_new: Nouvel utilisateur
436 label_user_new: Nouvel utilisateur
437 label_user_anonymous: Anonyme
437 label_user_anonymous: Anonyme
438 label_project: Projet
438 label_project: Projet
439 label_project_new: Nouveau projet
439 label_project_new: Nouveau projet
440 label_project_plural: Projets
440 label_project_plural: Projets
441 label_x_projects:
441 label_x_projects:
442 zero: aucun projet
442 zero: aucun projet
443 one: un projet
443 one: un projet
444 other: "%{count} projets"
444 other: "%{count} projets"
445 label_project_all: Tous les projets
445 label_project_all: Tous les projets
446 label_project_latest: Derniers projets
446 label_project_latest: Derniers projets
447 label_issue: Demande
447 label_issue: Demande
448 label_issue_new: Nouvelle demande
448 label_issue_new: Nouvelle demande
449 label_issue_plural: Demandes
449 label_issue_plural: Demandes
450 label_issue_view_all: Voir toutes les demandes
450 label_issue_view_all: Voir toutes les demandes
451 label_issue_added: Demande ajoutΓ©e
451 label_issue_added: Demande ajoutΓ©e
452 label_issue_updated: Demande mise Γ  jour
452 label_issue_updated: Demande mise Γ  jour
453 label_issue_note_added: Note ajoutΓ©e
453 label_issue_note_added: Note ajoutΓ©e
454 label_issue_status_updated: Statut changΓ©
454 label_issue_status_updated: Statut changΓ©
455 label_issue_priority_updated: PrioritΓ© changΓ©e
455 label_issue_priority_updated: PrioritΓ© changΓ©e
456 label_issues_by: "Demandes par %{value}"
456 label_issues_by: "Demandes par %{value}"
457 label_document: Document
457 label_document: Document
458 label_document_new: Nouveau document
458 label_document_new: Nouveau document
459 label_document_plural: Documents
459 label_document_plural: Documents
460 label_document_added: Document ajoutΓ©
460 label_document_added: Document ajoutΓ©
461 label_role: RΓ΄le
461 label_role: RΓ΄le
462 label_role_plural: RΓ΄les
462 label_role_plural: RΓ΄les
463 label_role_new: Nouveau rΓ΄le
463 label_role_new: Nouveau rΓ΄le
464 label_role_and_permissions: RΓ΄les et permissions
464 label_role_and_permissions: RΓ΄les et permissions
465 label_member: Membre
465 label_member: Membre
466 label_member_new: Nouveau membre
466 label_member_new: Nouveau membre
467 label_member_plural: Membres
467 label_member_plural: Membres
468 label_tracker: Tracker
468 label_tracker: Tracker
469 label_tracker_plural: Trackers
469 label_tracker_plural: Trackers
470 label_tracker_new: Nouveau tracker
470 label_tracker_new: Nouveau tracker
471 label_workflow: Workflow
471 label_workflow: Workflow
472 label_issue_status: Statut de demandes
472 label_issue_status: Statut de demandes
473 label_issue_status_plural: Statuts de demandes
473 label_issue_status_plural: Statuts de demandes
474 label_issue_status_new: Nouveau statut
474 label_issue_status_new: Nouveau statut
475 label_issue_category: CatΓ©gorie de demandes
475 label_issue_category: CatΓ©gorie de demandes
476 label_issue_category_plural: CatΓ©gories de demandes
476 label_issue_category_plural: CatΓ©gories de demandes
477 label_issue_category_new: Nouvelle catΓ©gorie
477 label_issue_category_new: Nouvelle catΓ©gorie
478 label_custom_field: Champ personnalisΓ©
478 label_custom_field: Champ personnalisΓ©
479 label_custom_field_plural: Champs personnalisΓ©s
479 label_custom_field_plural: Champs personnalisΓ©s
480 label_custom_field_new: Nouveau champ personnalisΓ©
480 label_custom_field_new: Nouveau champ personnalisΓ©
481 label_enumerations: Listes de valeurs
481 label_enumerations: Listes de valeurs
482 label_enumeration_new: Nouvelle valeur
482 label_enumeration_new: Nouvelle valeur
483 label_information: Information
483 label_information: Information
484 label_information_plural: Informations
484 label_information_plural: Informations
485 label_please_login: Identification
485 label_please_login: Identification
486 label_register: S'enregistrer
486 label_register: S'enregistrer
487 label_login_with_open_id_option: S'authentifier avec OpenID
487 label_login_with_open_id_option: S'authentifier avec OpenID
488 label_password_lost: Mot de passe perdu
488 label_password_lost: Mot de passe perdu
489 label_home: Accueil
489 label_home: Accueil
490 label_my_page: Ma page
490 label_my_page: Ma page
491 label_my_account: Mon compte
491 label_my_account: Mon compte
492 label_my_projects: Mes projets
492 label_my_projects: Mes projets
493 label_my_page_block: Blocs disponibles
493 label_my_page_block: Blocs disponibles
494 label_administration: Administration
494 label_administration: Administration
495 label_login: Connexion
495 label_login: Connexion
496 label_logout: DΓ©connexion
496 label_logout: DΓ©connexion
497 label_help: Aide
497 label_help: Aide
498 label_reported_issues: "Demandes soumises "
498 label_reported_issues: "Demandes soumises "
499 label_assigned_to_me_issues: Demandes qui me sont assignΓ©es
499 label_assigned_to_me_issues: Demandes qui me sont assignΓ©es
500 label_last_login: "Dernière connexion "
500 label_last_login: "Dernière connexion "
501 label_registered_on: "Inscrit le "
501 label_registered_on: "Inscrit le "
502 label_activity: ActivitΓ©
502 label_activity: ActivitΓ©
503 label_overall_activity: ActivitΓ© globale
503 label_overall_activity: ActivitΓ© globale
504 label_user_activity: "ActivitΓ© de %{value}"
504 label_user_activity: "ActivitΓ© de %{value}"
505 label_new: Nouveau
505 label_new: Nouveau
506 label_logged_as: ConnectΓ© en tant que
506 label_logged_as: ConnectΓ© en tant que
507 label_environment: Environnement
507 label_environment: Environnement
508 label_authentication: Authentification
508 label_authentication: Authentification
509 label_auth_source: Mode d'authentification
509 label_auth_source: Mode d'authentification
510 label_auth_source_new: Nouveau mode d'authentification
510 label_auth_source_new: Nouveau mode d'authentification
511 label_auth_source_plural: Modes d'authentification
511 label_auth_source_plural: Modes d'authentification
512 label_subproject_plural: Sous-projets
512 label_subproject_plural: Sous-projets
513 label_subproject_new: Nouveau sous-projet
513 label_subproject_new: Nouveau sous-projet
514 label_and_its_subprojects: "%{value} et ses sous-projets"
514 label_and_its_subprojects: "%{value} et ses sous-projets"
515 label_min_max_length: Longueurs mini - maxi
515 label_min_max_length: Longueurs mini - maxi
516 label_list: Liste
516 label_list: Liste
517 label_date: Date
517 label_date: Date
518 label_integer: Entier
518 label_integer: Entier
519 label_float: Nombre dΓ©cimal
519 label_float: Nombre dΓ©cimal
520 label_boolean: BoolΓ©en
520 label_boolean: BoolΓ©en
521 label_string: Texte
521 label_string: Texte
522 label_text: Texte long
522 label_text: Texte long
523 label_attribute: Attribut
523 label_attribute: Attribut
524 label_attribute_plural: Attributs
524 label_attribute_plural: Attributs
525 label_download: "%{count} tΓ©lΓ©chargement"
525 label_download: "%{count} tΓ©lΓ©chargement"
526 label_download_plural: "%{count} tΓ©lΓ©chargements"
526 label_download_plural: "%{count} tΓ©lΓ©chargements"
527 label_no_data: Aucune donnΓ©e Γ  afficher
527 label_no_data: Aucune donnΓ©e Γ  afficher
528 label_change_status: Changer le statut
528 label_change_status: Changer le statut
529 label_history: Historique
529 label_history: Historique
530 label_attachment: Fichier
530 label_attachment: Fichier
531 label_attachment_new: Nouveau fichier
531 label_attachment_new: Nouveau fichier
532 label_attachment_delete: Supprimer le fichier
532 label_attachment_delete: Supprimer le fichier
533 label_attachment_plural: Fichiers
533 label_attachment_plural: Fichiers
534 label_file_added: Fichier ajoutΓ©
534 label_file_added: Fichier ajoutΓ©
535 label_report: Rapport
535 label_report: Rapport
536 label_report_plural: Rapports
536 label_report_plural: Rapports
537 label_news: Annonce
537 label_news: Annonce
538 label_news_new: Nouvelle annonce
538 label_news_new: Nouvelle annonce
539 label_news_plural: Annonces
539 label_news_plural: Annonces
540 label_news_latest: Dernières annonces
540 label_news_latest: Dernières annonces
541 label_news_view_all: Voir toutes les annonces
541 label_news_view_all: Voir toutes les annonces
542 label_news_added: Annonce ajoutΓ©e
542 label_news_added: Annonce ajoutΓ©e
543 label_news_comment_added: Commentaire ajoutΓ© Γ  une annonce
543 label_settings: Configuration
544 label_settings: Configuration
544 label_overview: AperΓ§u
545 label_overview: AperΓ§u
545 label_version: Version
546 label_version: Version
546 label_version_new: Nouvelle version
547 label_version_new: Nouvelle version
547 label_version_plural: Versions
548 label_version_plural: Versions
548 label_confirmation: Confirmation
549 label_confirmation: Confirmation
549 label_export_to: 'Formats disponibles :'
550 label_export_to: 'Formats disponibles :'
550 label_read: Lire...
551 label_read: Lire...
551 label_public_projects: Projets publics
552 label_public_projects: Projets publics
552 label_open_issues: ouvert
553 label_open_issues: ouvert
553 label_open_issues_plural: ouverts
554 label_open_issues_plural: ouverts
554 label_closed_issues: fermΓ©
555 label_closed_issues: fermΓ©
555 label_closed_issues_plural: fermΓ©s
556 label_closed_issues_plural: fermΓ©s
556 label_x_open_issues_abbr_on_total:
557 label_x_open_issues_abbr_on_total:
557 zero: 0 ouvert sur %{total}
558 zero: 0 ouvert sur %{total}
558 one: 1 ouvert sur %{total}
559 one: 1 ouvert sur %{total}
559 other: "%{count} ouverts sur %{total}"
560 other: "%{count} ouverts sur %{total}"
560 label_x_open_issues_abbr:
561 label_x_open_issues_abbr:
561 zero: 0 ouvert
562 zero: 0 ouvert
562 one: 1 ouvert
563 one: 1 ouvert
563 other: "%{count} ouverts"
564 other: "%{count} ouverts"
564 label_x_closed_issues_abbr:
565 label_x_closed_issues_abbr:
565 zero: 0 fermΓ©
566 zero: 0 fermΓ©
566 one: 1 fermΓ©
567 one: 1 fermΓ©
567 other: "%{count} fermΓ©s"
568 other: "%{count} fermΓ©s"
568 label_total: Total
569 label_total: Total
569 label_permissions: Permissions
570 label_permissions: Permissions
570 label_current_status: Statut actuel
571 label_current_status: Statut actuel
571 label_new_statuses_allowed: Nouveaux statuts autorisΓ©s
572 label_new_statuses_allowed: Nouveaux statuts autorisΓ©s
572 label_all: tous
573 label_all: tous
573 label_none: aucun
574 label_none: aucun
574 label_nobody: personne
575 label_nobody: personne
575 label_next: Suivant
576 label_next: Suivant
576 label_previous: PrΓ©cΓ©dent
577 label_previous: PrΓ©cΓ©dent
577 label_used_by: UtilisΓ© par
578 label_used_by: UtilisΓ© par
578 label_details: DΓ©tails
579 label_details: DΓ©tails
579 label_add_note: Ajouter une note
580 label_add_note: Ajouter une note
580 label_per_page: Par page
581 label_per_page: Par page
581 label_calendar: Calendrier
582 label_calendar: Calendrier
582 label_months_from: mois depuis
583 label_months_from: mois depuis
583 label_gantt: Gantt
584 label_gantt: Gantt
584 label_internal: Interne
585 label_internal: Interne
585 label_last_changes: "%{count} derniers changements"
586 label_last_changes: "%{count} derniers changements"
586 label_change_view_all: Voir tous les changements
587 label_change_view_all: Voir tous les changements
587 label_personalize_page: Personnaliser cette page
588 label_personalize_page: Personnaliser cette page
588 label_comment: Commentaire
589 label_comment: Commentaire
589 label_comment_plural: Commentaires
590 label_comment_plural: Commentaires
590 label_x_comments:
591 label_x_comments:
591 zero: aucun commentaire
592 zero: aucun commentaire
592 one: un commentaire
593 one: un commentaire
593 other: "%{count} commentaires"
594 other: "%{count} commentaires"
594 label_comment_add: Ajouter un commentaire
595 label_comment_add: Ajouter un commentaire
595 label_comment_added: Commentaire ajoutΓ©
596 label_comment_added: Commentaire ajoutΓ©
596 label_comment_delete: Supprimer les commentaires
597 label_comment_delete: Supprimer les commentaires
597 label_query: Rapport personnalisΓ©
598 label_query: Rapport personnalisΓ©
598 label_query_plural: Rapports personnalisΓ©s
599 label_query_plural: Rapports personnalisΓ©s
599 label_query_new: Nouveau rapport
600 label_query_new: Nouveau rapport
600 label_my_queries: Mes rapports personnalisΓ©s
601 label_my_queries: Mes rapports personnalisΓ©s
601 label_filter_add: "Ajouter le filtre "
602 label_filter_add: "Ajouter le filtre "
602 label_filter_plural: Filtres
603 label_filter_plural: Filtres
603 label_equals: Γ©gal
604 label_equals: Γ©gal
604 label_not_equals: diffΓ©rent
605 label_not_equals: diffΓ©rent
605 label_in_less_than: dans moins de
606 label_in_less_than: dans moins de
606 label_in_more_than: dans plus de
607 label_in_more_than: dans plus de
607 label_in: dans
608 label_in: dans
608 label_today: aujourd'hui
609 label_today: aujourd'hui
609 label_all_time: toute la pΓ©riode
610 label_all_time: toute la pΓ©riode
610 label_yesterday: hier
611 label_yesterday: hier
611 label_this_week: cette semaine
612 label_this_week: cette semaine
612 label_last_week: la semaine dernière
613 label_last_week: la semaine dernière
613 label_last_n_days: "les %{count} derniers jours"
614 label_last_n_days: "les %{count} derniers jours"
614 label_this_month: ce mois-ci
615 label_this_month: ce mois-ci
615 label_last_month: le mois dernier
616 label_last_month: le mois dernier
616 label_this_year: cette annΓ©e
617 label_this_year: cette annΓ©e
617 label_date_range: PΓ©riode
618 label_date_range: PΓ©riode
618 label_less_than_ago: il y a moins de
619 label_less_than_ago: il y a moins de
619 label_more_than_ago: il y a plus de
620 label_more_than_ago: il y a plus de
620 label_ago: il y a
621 label_ago: il y a
621 label_contains: contient
622 label_contains: contient
622 label_not_contains: ne contient pas
623 label_not_contains: ne contient pas
623 label_day_plural: jours
624 label_day_plural: jours
624 label_repository: DΓ©pΓ΄t
625 label_repository: DΓ©pΓ΄t
625 label_repository_plural: DΓ©pΓ΄ts
626 label_repository_plural: DΓ©pΓ΄ts
626 label_browse: Parcourir
627 label_browse: Parcourir
627 label_modification: "%{count} modification"
628 label_modification: "%{count} modification"
628 label_modification_plural: "%{count} modifications"
629 label_modification_plural: "%{count} modifications"
629 label_revision: "RΓ©vision "
630 label_revision: "RΓ©vision "
630 label_revision_plural: RΓ©visions
631 label_revision_plural: RΓ©visions
631 label_associated_revisions: RΓ©visions associΓ©es
632 label_associated_revisions: RΓ©visions associΓ©es
632 label_added: ajoutΓ©
633 label_added: ajoutΓ©
633 label_modified: modifiΓ©
634 label_modified: modifiΓ©
634 label_copied: copiΓ©
635 label_copied: copiΓ©
635 label_renamed: renommΓ©
636 label_renamed: renommΓ©
636 label_deleted: supprimΓ©
637 label_deleted: supprimΓ©
637 label_latest_revision: Dernière révision
638 label_latest_revision: Dernière révision
638 label_latest_revision_plural: Dernières révisions
639 label_latest_revision_plural: Dernières révisions
639 label_view_revisions: Voir les rΓ©visions
640 label_view_revisions: Voir les rΓ©visions
640 label_max_size: Taille maximale
641 label_max_size: Taille maximale
641 label_sort_highest: Remonter en premier
642 label_sort_highest: Remonter en premier
642 label_sort_higher: Remonter
643 label_sort_higher: Remonter
643 label_sort_lower: Descendre
644 label_sort_lower: Descendre
644 label_sort_lowest: Descendre en dernier
645 label_sort_lowest: Descendre en dernier
645 label_roadmap: Roadmap
646 label_roadmap: Roadmap
646 label_roadmap_due_in: "Γ‰chΓ©ance dans %{value}"
647 label_roadmap_due_in: "Γ‰chΓ©ance dans %{value}"
647 label_roadmap_overdue: "En retard de %{value}"
648 label_roadmap_overdue: "En retard de %{value}"
648 label_roadmap_no_issues: Aucune demande pour cette version
649 label_roadmap_no_issues: Aucune demande pour cette version
649 label_search: "Recherche "
650 label_search: "Recherche "
650 label_result_plural: RΓ©sultats
651 label_result_plural: RΓ©sultats
651 label_all_words: Tous les mots
652 label_all_words: Tous les mots
652 label_wiki: Wiki
653 label_wiki: Wiki
653 label_wiki_edit: RΓ©vision wiki
654 label_wiki_edit: RΓ©vision wiki
654 label_wiki_edit_plural: RΓ©visions wiki
655 label_wiki_edit_plural: RΓ©visions wiki
655 label_wiki_page: Page wiki
656 label_wiki_page: Page wiki
656 label_wiki_page_plural: Pages wiki
657 label_wiki_page_plural: Pages wiki
657 label_index_by_title: Index par titre
658 label_index_by_title: Index par titre
658 label_index_by_date: Index par date
659 label_index_by_date: Index par date
659 label_current_version: Version actuelle
660 label_current_version: Version actuelle
660 label_preview: PrΓ©visualisation
661 label_preview: PrΓ©visualisation
661 label_feed_plural: Flux RSS
662 label_feed_plural: Flux RSS
662 label_changes_details: DΓ©tails de tous les changements
663 label_changes_details: DΓ©tails de tous les changements
663 label_issue_tracking: Suivi des demandes
664 label_issue_tracking: Suivi des demandes
664 label_spent_time: Temps passΓ©
665 label_spent_time: Temps passΓ©
665 label_f_hour: "%{value} heure"
666 label_f_hour: "%{value} heure"
666 label_f_hour_plural: "%{value} heures"
667 label_f_hour_plural: "%{value} heures"
667 label_time_tracking: Suivi du temps
668 label_time_tracking: Suivi du temps
668 label_change_plural: Changements
669 label_change_plural: Changements
669 label_statistics: Statistiques
670 label_statistics: Statistiques
670 label_commits_per_month: Commits par mois
671 label_commits_per_month: Commits par mois
671 label_commits_per_author: Commits par auteur
672 label_commits_per_author: Commits par auteur
672 label_view_diff: Voir les diffΓ©rences
673 label_view_diff: Voir les diffΓ©rences
673 label_diff_inline: en ligne
674 label_diff_inline: en ligne
674 label_diff_side_by_side: cΓ΄te Γ  cΓ΄te
675 label_diff_side_by_side: cΓ΄te Γ  cΓ΄te
675 label_options: Options
676 label_options: Options
676 label_copy_workflow_from: Copier le workflow de
677 label_copy_workflow_from: Copier le workflow de
677 label_permissions_report: Synthèse des permissions
678 label_permissions_report: Synthèse des permissions
678 label_watched_issues: Demandes surveillΓ©es
679 label_watched_issues: Demandes surveillΓ©es
679 label_related_issues: Demandes liΓ©es
680 label_related_issues: Demandes liΓ©es
680 label_applied_status: Statut appliquΓ©
681 label_applied_status: Statut appliquΓ©
681 label_loading: Chargement...
682 label_loading: Chargement...
682 label_relation_new: Nouvelle relation
683 label_relation_new: Nouvelle relation
683 label_relation_delete: Supprimer la relation
684 label_relation_delete: Supprimer la relation
684 label_relates_to: liΓ© Γ 
685 label_relates_to: liΓ© Γ 
685 label_duplicates: duplique
686 label_duplicates: duplique
686 label_duplicated_by: dupliquΓ© par
687 label_duplicated_by: dupliquΓ© par
687 label_blocks: bloque
688 label_blocks: bloque
688 label_blocked_by: bloquΓ© par
689 label_blocked_by: bloquΓ© par
689 label_precedes: précède
690 label_precedes: précède
690 label_follows: suit
691 label_follows: suit
691 label_end_to_start: fin Γ  dΓ©but
692 label_end_to_start: fin Γ  dΓ©but
692 label_end_to_end: fin Γ  fin
693 label_end_to_end: fin Γ  fin
693 label_start_to_start: dΓ©but Γ  dΓ©but
694 label_start_to_start: dΓ©but Γ  dΓ©but
694 label_start_to_end: dΓ©but Γ  fin
695 label_start_to_end: dΓ©but Γ  fin
695 label_stay_logged_in: Rester connectΓ©
696 label_stay_logged_in: Rester connectΓ©
696 label_disabled: dΓ©sactivΓ©
697 label_disabled: dΓ©sactivΓ©
697 label_show_completed_versions: Voir les versions passΓ©es
698 label_show_completed_versions: Voir les versions passΓ©es
698 label_me: moi
699 label_me: moi
699 label_board: Forum
700 label_board: Forum
700 label_board_new: Nouveau forum
701 label_board_new: Nouveau forum
701 label_board_plural: Forums
702 label_board_plural: Forums
702 label_topic_plural: Discussions
703 label_topic_plural: Discussions
703 label_message_plural: Messages
704 label_message_plural: Messages
704 label_message_last: Dernier message
705 label_message_last: Dernier message
705 label_message_new: Nouveau message
706 label_message_new: Nouveau message
706 label_message_posted: Message ajoutΓ©
707 label_message_posted: Message ajoutΓ©
707 label_reply_plural: RΓ©ponses
708 label_reply_plural: RΓ©ponses
708 label_send_information: Envoyer les informations Γ  l'utilisateur
709 label_send_information: Envoyer les informations Γ  l'utilisateur
709 label_year: AnnΓ©e
710 label_year: AnnΓ©e
710 label_month: Mois
711 label_month: Mois
711 label_week: Semaine
712 label_week: Semaine
712 label_date_from: Du
713 label_date_from: Du
713 label_date_to: Au
714 label_date_to: Au
714 label_language_based: BasΓ© sur la langue de l'utilisateur
715 label_language_based: BasΓ© sur la langue de l'utilisateur
715 label_sort_by: "Trier par %{value}"
716 label_sort_by: "Trier par %{value}"
716 label_send_test_email: Envoyer un email de test
717 label_send_test_email: Envoyer un email de test
717 label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a %{value}"
718 label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a %{value}"
718 label_module_plural: Modules
719 label_module_plural: Modules
719 label_added_time_by: "AjoutΓ© par %{author} il y a %{age}"
720 label_added_time_by: "AjoutΓ© par %{author} il y a %{age}"
720 label_updated_time_by: "Mis Γ  jour par %{author} il y a %{age}"
721 label_updated_time_by: "Mis Γ  jour par %{author} il y a %{age}"
721 label_updated_time: "Mis Γ  jour il y a %{value}"
722 label_updated_time: "Mis Γ  jour il y a %{value}"
722 label_jump_to_a_project: Aller Γ  un projet...
723 label_jump_to_a_project: Aller Γ  un projet...
723 label_file_plural: Fichiers
724 label_file_plural: Fichiers
724 label_changeset_plural: RΓ©visions
725 label_changeset_plural: RΓ©visions
725 label_default_columns: Colonnes par dΓ©faut
726 label_default_columns: Colonnes par dΓ©faut
726 label_no_change_option: (Pas de changement)
727 label_no_change_option: (Pas de changement)
727 label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es
728 label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es
728 label_theme: Thème
729 label_theme: Thème
729 label_default: DΓ©faut
730 label_default: DΓ©faut
730 label_search_titles_only: Uniquement dans les titres
731 label_search_titles_only: Uniquement dans les titres
731 label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets"
732 label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets"
732 label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..."
733 label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..."
733 label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue"
734 label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue"
734 label_registration_activation_by_email: activation du compte par email
735 label_registration_activation_by_email: activation du compte par email
735 label_registration_manual_activation: activation manuelle du compte
736 label_registration_manual_activation: activation manuelle du compte
736 label_registration_automatic_activation: activation automatique du compte
737 label_registration_automatic_activation: activation automatique du compte
737 label_display_per_page: "Par page : %{value}"
738 label_display_per_page: "Par page : %{value}"
738 label_age: Γ‚ge
739 label_age: Γ‚ge
739 label_change_properties: Changer les propriΓ©tΓ©s
740 label_change_properties: Changer les propriΓ©tΓ©s
740 label_general: GΓ©nΓ©ral
741 label_general: GΓ©nΓ©ral
741 label_more: Plus
742 label_more: Plus
742 label_scm: SCM
743 label_scm: SCM
743 label_plugins: Plugins
744 label_plugins: Plugins
744 label_ldap_authentication: Authentification LDAP
745 label_ldap_authentication: Authentification LDAP
745 label_downloads_abbr: D/L
746 label_downloads_abbr: D/L
746 label_optional_description: Description facultative
747 label_optional_description: Description facultative
747 label_add_another_file: Ajouter un autre fichier
748 label_add_another_file: Ajouter un autre fichier
748 label_preferences: PrΓ©fΓ©rences
749 label_preferences: PrΓ©fΓ©rences
749 label_chronological_order: Dans l'ordre chronologique
750 label_chronological_order: Dans l'ordre chronologique
750 label_reverse_chronological_order: Dans l'ordre chronologique inverse
751 label_reverse_chronological_order: Dans l'ordre chronologique inverse
751 label_planning: Planning
752 label_planning: Planning
752 label_incoming_emails: Emails entrants
753 label_incoming_emails: Emails entrants
753 label_generate_key: GΓ©nΓ©rer une clΓ©
754 label_generate_key: GΓ©nΓ©rer une clΓ©
754 label_issue_watchers: Observateurs
755 label_issue_watchers: Observateurs
755 label_example: Exemple
756 label_example: Exemple
756 label_display: Affichage
757 label_display: Affichage
757 label_sort: Tri
758 label_sort: Tri
758 label_ascending: Croissant
759 label_ascending: Croissant
759 label_descending: DΓ©croissant
760 label_descending: DΓ©croissant
760 label_date_from_to: Du %{start} au %{end}
761 label_date_from_to: Du %{start} au %{end}
761 label_wiki_content_added: Page wiki ajoutΓ©e
762 label_wiki_content_added: Page wiki ajoutΓ©e
762 label_wiki_content_updated: Page wiki mise Γ  jour
763 label_wiki_content_updated: Page wiki mise Γ  jour
763 label_group_plural: Groupes
764 label_group_plural: Groupes
764 label_group: Groupe
765 label_group: Groupe
765 label_group_new: Nouveau groupe
766 label_group_new: Nouveau groupe
766 label_time_entry_plural: Temps passΓ©
767 label_time_entry_plural: Temps passΓ©
767 label_version_sharing_none: Non partagΓ©
768 label_version_sharing_none: Non partagΓ©
768 label_version_sharing_descendants: Avec les sous-projets
769 label_version_sharing_descendants: Avec les sous-projets
769 label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie
770 label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie
770 label_version_sharing_tree: Avec tout l'arbre
771 label_version_sharing_tree: Avec tout l'arbre
771 label_version_sharing_system: Avec tous les projets
772 label_version_sharing_system: Avec tous les projets
772 label_copy_source: Source
773 label_copy_source: Source
773 label_copy_target: Cible
774 label_copy_target: Cible
774 label_copy_same_as_target: Comme la cible
775 label_copy_same_as_target: Comme la cible
775 label_update_issue_done_ratios: Mettre Γ  jour l'avancement des demandes
776 label_update_issue_done_ratios: Mettre Γ  jour l'avancement des demandes
776 label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker
777 label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker
777 label_api_access_key: Clé d'accès API
778 label_api_access_key: Clé d'accès API
778 label_api_access_key_created_on: Clé d'accès API créée il y a %{value}
779 label_api_access_key_created_on: Clé d'accès API créée il y a %{value}
779 label_feeds_access_key: Clé d'accès RSS
780 label_feeds_access_key: Clé d'accès RSS
780 label_missing_api_access_key: Clé d'accès API manquante
781 label_missing_api_access_key: Clé d'accès API manquante
781 label_missing_feeds_access_key: Clé d'accès RSS manquante
782 label_missing_feeds_access_key: Clé d'accès RSS manquante
782 label_close_versions: Fermer les versions terminΓ©es
783 label_close_versions: Fermer les versions terminΓ©es
783 label_revision_id: Revision %{value}
784 label_revision_id: Revision %{value}
784 label_profile: Profil
785 label_profile: Profil
785 label_subtask_plural: Sous-tΓ’ches
786 label_subtask_plural: Sous-tΓ’ches
786 label_project_copy_notifications: Envoyer les notifications durant la copie du projet
787 label_project_copy_notifications: Envoyer les notifications durant la copie du projet
787 label_principal_search: "Rechercher un utilisateur ou un groupe :"
788 label_principal_search: "Rechercher un utilisateur ou un groupe :"
788 label_user_search: "Rechercher un utilisateur :"
789 label_user_search: "Rechercher un utilisateur :"
789
790
790 button_login: Connexion
791 button_login: Connexion
791 button_submit: Soumettre
792 button_submit: Soumettre
792 button_save: Sauvegarder
793 button_save: Sauvegarder
793 button_check_all: Tout cocher
794 button_check_all: Tout cocher
794 button_uncheck_all: Tout dΓ©cocher
795 button_uncheck_all: Tout dΓ©cocher
795 button_delete: Supprimer
796 button_delete: Supprimer
796 button_create: CrΓ©er
797 button_create: CrΓ©er
797 button_create_and_continue: CrΓ©er et continuer
798 button_create_and_continue: CrΓ©er et continuer
798 button_test: Tester
799 button_test: Tester
799 button_edit: Modifier
800 button_edit: Modifier
800 button_add: Ajouter
801 button_add: Ajouter
801 button_change: Changer
802 button_change: Changer
802 button_apply: Appliquer
803 button_apply: Appliquer
803 button_clear: Effacer
804 button_clear: Effacer
804 button_lock: Verrouiller
805 button_lock: Verrouiller
805 button_unlock: DΓ©verrouiller
806 button_unlock: DΓ©verrouiller
806 button_download: TΓ©lΓ©charger
807 button_download: TΓ©lΓ©charger
807 button_list: Lister
808 button_list: Lister
808 button_view: Voir
809 button_view: Voir
809 button_move: DΓ©placer
810 button_move: DΓ©placer
810 button_move_and_follow: DΓ©placer et suivre
811 button_move_and_follow: DΓ©placer et suivre
811 button_back: Retour
812 button_back: Retour
812 button_cancel: Annuler
813 button_cancel: Annuler
813 button_activate: Activer
814 button_activate: Activer
814 button_sort: Trier
815 button_sort: Trier
815 button_log_time: Saisir temps
816 button_log_time: Saisir temps
816 button_rollback: Revenir Γ  cette version
817 button_rollback: Revenir Γ  cette version
817 button_watch: Surveiller
818 button_watch: Surveiller
818 button_unwatch: Ne plus surveiller
819 button_unwatch: Ne plus surveiller
819 button_reply: RΓ©pondre
820 button_reply: RΓ©pondre
820 button_archive: Archiver
821 button_archive: Archiver
821 button_unarchive: DΓ©sarchiver
822 button_unarchive: DΓ©sarchiver
822 button_reset: RΓ©initialiser
823 button_reset: RΓ©initialiser
823 button_rename: Renommer
824 button_rename: Renommer
824 button_change_password: Changer de mot de passe
825 button_change_password: Changer de mot de passe
825 button_copy: Copier
826 button_copy: Copier
826 button_copy_and_follow: Copier et suivre
827 button_copy_and_follow: Copier et suivre
827 button_annotate: Annoter
828 button_annotate: Annoter
828 button_update: Mettre Γ  jour
829 button_update: Mettre Γ  jour
829 button_configure: Configurer
830 button_configure: Configurer
830 button_quote: Citer
831 button_quote: Citer
831 button_duplicate: Dupliquer
832 button_duplicate: Dupliquer
832 button_show: Afficher
833 button_show: Afficher
833
834
834 status_active: actif
835 status_active: actif
835 status_registered: enregistrΓ©
836 status_registered: enregistrΓ©
836 status_locked: verrouillΓ©
837 status_locked: verrouillΓ©
837
838
838 version_status_open: ouvert
839 version_status_open: ouvert
839 version_status_locked: verrouillΓ©
840 version_status_locked: verrouillΓ©
840 version_status_closed: fermΓ©
841 version_status_closed: fermΓ©
841
842
842 text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e
843 text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e
843 text_regexp_info: ex. ^[A-Z0-9]+$
844 text_regexp_info: ex. ^[A-Z0-9]+$
844 text_min_max_length_info: 0 pour aucune restriction
845 text_min_max_length_info: 0 pour aucune restriction
845 text_project_destroy_confirmation: Êtes-vous sûr de vouloir supprimer ce projet et toutes ses données ?
846 text_project_destroy_confirmation: Êtes-vous sûr de vouloir supprimer ce projet et toutes ses données ?
846 text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s."
847 text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s."
847 text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow
848 text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow
848 text_are_you_sure: Êtes-vous sûr ?
849 text_are_you_sure: Êtes-vous sûr ?
849 text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour
850 text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour
850 text_tip_issue_end_day: tΓ’che finissant ce jour
851 text_tip_issue_end_day: tΓ’che finissant ce jour
851 text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour
852 text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour
852 text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres et tirets sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.'
853 text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres et tirets sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.'
853 text_caracters_maximum: "%{count} caractères maximum."
854 text_caracters_maximum: "%{count} caractères maximum."
854 text_caracters_minimum: "%{count} caractères minimum."
855 text_caracters_minimum: "%{count} caractères minimum."
855 text_length_between: "Longueur comprise entre %{min} et %{max} caractères."
856 text_length_between: "Longueur comprise entre %{min} et %{max} caractères."
856 text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker
857 text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker
857 text_unallowed_characters: Caractères non autorisés
858 text_unallowed_characters: Caractères non autorisés
858 text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules).
859 text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules).
859 text_line_separated: Plusieurs valeurs possibles (une valeur par ligne).
860 text_line_separated: Plusieurs valeurs possibles (une valeur par ligne).
860 text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits
861 text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits
861 text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}."
862 text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}."
862 text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ  jour par %{author}."
863 text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ  jour par %{author}."
863 text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ?
864 text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ?
864 text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ  cette catΓ©gorie. Que voulez-vous faire ?"
865 text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ  cette catΓ©gorie. Que voulez-vous faire ?"
865 text_issue_category_destroy_assignments: N'affecter les demandes Γ  aucune autre catΓ©gorie
866 text_issue_category_destroy_assignments: N'affecter les demandes Γ  aucune autre catΓ©gorie
866 text_issue_category_reassign_to: RΓ©affecter les demandes Γ  cette catΓ©gorie
867 text_issue_category_reassign_to: RΓ©affecter les demandes Γ  cette catΓ©gorie
867 text_user_mail_option: "Pour les projets non sΓ©lectionnΓ©s, vous recevrez seulement des notifications pour ce que vous surveillez ou Γ  quoi vous participez (exemple: demandes dont vous Γͺtes l'auteur ou la personne assignΓ©e)."
868 text_user_mail_option: "Pour les projets non sΓ©lectionnΓ©s, vous recevrez seulement des notifications pour ce que vous surveillez ou Γ  quoi vous participez (exemple: demandes dont vous Γͺtes l'auteur ou la personne assignΓ©e)."
868 text_no_configuration_data: "Les rΓ΄les, trackers, statuts et le workflow ne sont pas encore paramΓ©trΓ©s.\nIl est vivement recommandΓ© de charger le paramΓ©trage par defaut. Vous pourrez le modifier une fois chargΓ©."
869 text_no_configuration_data: "Les rΓ΄les, trackers, statuts et le workflow ne sont pas encore paramΓ©trΓ©s.\nIl est vivement recommandΓ© de charger le paramΓ©trage par defaut. Vous pourrez le modifier une fois chargΓ©."
869 text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut
870 text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut
870 text_status_changed_by_changeset: "AppliquΓ© par commit %{value}."
871 text_status_changed_by_changeset: "AppliquΓ© par commit %{value}."
871 text_time_logged_by_changeset: "AppliquΓ© par commit %{value}"
872 text_time_logged_by_changeset: "AppliquΓ© par commit %{value}"
872 text_issues_destroy_confirmation: 'Êtes-vous sûr de vouloir supprimer le(s) demandes(s) selectionnée(s) ?'
873 text_issues_destroy_confirmation: 'Êtes-vous sûr de vouloir supprimer le(s) demandes(s) selectionnée(s) ?'
873 text_select_project_modules: 'SΓ©lectionner les modules Γ  activer pour ce projet :'
874 text_select_project_modules: 'SΓ©lectionner les modules Γ  activer pour ce projet :'
874 text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ©
875 text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ©
875 text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture
876 text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture
876 text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture
877 text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture
877 text_rmagick_available: Bibliothèque RMagick présente (optionnelle)
878 text_rmagick_available: Bibliothèque RMagick présente (optionnelle)
878 text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ  supprimer. Que voulez-vous faire ?"
879 text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ  supprimer. Que voulez-vous faire ?"
879 text_destroy_time_entries: Supprimer les heures
880 text_destroy_time_entries: Supprimer les heures
880 text_assign_time_entries_to_project: Reporter les heures sur le projet
881 text_assign_time_entries_to_project: Reporter les heures sur le projet
881 text_reassign_time_entries: 'Reporter les heures sur cette demande:'
882 text_reassign_time_entries: 'Reporter les heures sur cette demande:'
882 text_user_wrote: "%{value} a Γ©crit :"
883 text_user_wrote: "%{value} a Γ©crit :"
883 text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ  %{count} objets."
884 text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ  %{count} objets."
884 text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ  cette valeur:'
885 text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ  cette valeur:'
885 text_email_delivery_not_configured: "L'envoi de mail n'est pas configurΓ©, les notifications sont dΓ©sactivΓ©es.\nConfigurez votre serveur SMTP dans config/configuration.yml et redΓ©marrez l'application pour les activer."
886 text_email_delivery_not_configured: "L'envoi de mail n'est pas configurΓ©, les notifications sont dΓ©sactivΓ©es.\nConfigurez votre serveur SMTP dans config/configuration.yml et redΓ©marrez l'application pour les activer."
886 text_repository_usernames_mapping: "Vous pouvez sΓ©lectionner ou modifier l'utilisateur Redmine associΓ© Γ  chaque nom d'utilisateur figurant dans l'historique du dΓ©pΓ΄t.\nLes utilisateurs avec le mΓͺme identifiant ou la mΓͺme adresse mail seront automatiquement associΓ©s."
887 text_repository_usernames_mapping: "Vous pouvez sΓ©lectionner ou modifier l'utilisateur Redmine associΓ© Γ  chaque nom d'utilisateur figurant dans l'historique du dΓ©pΓ΄t.\nLes utilisateurs avec le mΓͺme identifiant ou la mΓͺme adresse mail seront automatiquement associΓ©s."
887 text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.'
888 text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.'
888 text_custom_field_possible_values_info: 'Une ligne par valeur'
889 text_custom_field_possible_values_info: 'Une ligne par valeur'
889 text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?"
890 text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?"
890 text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines"
891 text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines"
891 text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes"
892 text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes"
892 text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ  cette page"
893 text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ  cette page"
893 text_own_membership_delete_confirmation: "Vous allez supprimer tout ou partie de vos permissions sur ce projet et ne serez peut-Γͺtre plus autorisΓ© Γ  modifier ce projet.\nEtes-vous sΓ»r de vouloir continuer ?"
894 text_own_membership_delete_confirmation: "Vous allez supprimer tout ou partie de vos permissions sur ce projet et ne serez peut-Γͺtre plus autorisΓ© Γ  modifier ce projet.\nEtes-vous sΓ»r de vouloir continuer ?"
894 text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page."
895 text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page."
895
896
896 default_role_manager: "Manager "
897 default_role_manager: "Manager "
897 default_role_developer: "DΓ©veloppeur "
898 default_role_developer: "DΓ©veloppeur "
898 default_role_reporter: "Rapporteur "
899 default_role_reporter: "Rapporteur "
899 default_tracker_bug: Anomalie
900 default_tracker_bug: Anomalie
900 default_tracker_feature: Evolution
901 default_tracker_feature: Evolution
901 default_tracker_support: Assistance
902 default_tracker_support: Assistance
902 default_issue_status_new: Nouveau
903 default_issue_status_new: Nouveau
903 default_issue_status_in_progress: En cours
904 default_issue_status_in_progress: En cours
904 default_issue_status_resolved: RΓ©solu
905 default_issue_status_resolved: RΓ©solu
905 default_issue_status_feedback: Commentaire
906 default_issue_status_feedback: Commentaire
906 default_issue_status_closed: FermΓ©
907 default_issue_status_closed: FermΓ©
907 default_issue_status_rejected: RejetΓ©
908 default_issue_status_rejected: RejetΓ©
908 default_doc_category_user: Documentation utilisateur
909 default_doc_category_user: Documentation utilisateur
909 default_doc_category_tech: Documentation technique
910 default_doc_category_tech: Documentation technique
910 default_priority_low: Bas
911 default_priority_low: Bas
911 default_priority_normal: Normal
912 default_priority_normal: Normal
912 default_priority_high: Haut
913 default_priority_high: Haut
913 default_priority_urgent: Urgent
914 default_priority_urgent: Urgent
914 default_priority_immediate: ImmΓ©diat
915 default_priority_immediate: ImmΓ©diat
915 default_activity_design: Conception
916 default_activity_design: Conception
916 default_activity_development: DΓ©veloppement
917 default_activity_development: DΓ©veloppement
917
918
918 enumeration_issue_priorities: PrioritΓ©s des demandes
919 enumeration_issue_priorities: PrioritΓ©s des demandes
919 enumeration_doc_categories: CatΓ©gories des documents
920 enumeration_doc_categories: CatΓ©gories des documents
920 enumeration_activities: ActivitΓ©s (suivi du temps)
921 enumeration_activities: ActivitΓ©s (suivi du temps)
921 label_greater_or_equal: ">="
922 label_greater_or_equal: ">="
922 label_less_or_equal: "<="
923 label_less_or_equal: "<="
923 label_view_all_revisions: Voir toutes les rΓ©visions
924 label_view_all_revisions: Voir toutes les rΓ©visions
924 label_tag: Tag
925 label_tag: Tag
925 label_branch: Branche
926 label_branch: Branche
926 error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ  ce projet. VΓ©rifier la configuration du projet."
927 error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ  ce projet. VΓ©rifier la configuration du projet."
927 error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)."
928 error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)."
928 text_journal_changed: "%{label} changΓ© de %{old} Γ  %{new}"
929 text_journal_changed: "%{label} changΓ© de %{old} Γ  %{new}"
929 text_journal_changed_no_detail: "%{label} mis Γ  jour"
930 text_journal_changed_no_detail: "%{label} mis Γ  jour"
930 text_journal_set_to: "%{label} mis Γ  %{value}"
931 text_journal_set_to: "%{label} mis Γ  %{value}"
931 text_journal_deleted: "%{label} %{old} supprimΓ©"
932 text_journal_deleted: "%{label} %{old} supprimΓ©"
932 text_journal_added: "%{label} %{value} ajoutΓ©"
933 text_journal_added: "%{label} %{value} ajoutΓ©"
933 enumeration_system_activity: Activité système
934 enumeration_system_activity: Activité système
934 label_board_sticky: Sticky
935 label_board_sticky: Sticky
935 label_board_locked: VerrouillΓ©
936 label_board_locked: VerrouillΓ©
936 error_unable_delete_issue_status: Impossible de supprimer le statut de demande
937 error_unable_delete_issue_status: Impossible de supprimer le statut de demande
937 error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ©
938 error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ©
938 error_unable_to_connect: Connexion impossible (%{value})
939 error_unable_to_connect: Connexion impossible (%{value})
939 error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©.
940 error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©.
940 error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©.
941 error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©.
941 field_principal: Principal
942 field_principal: Principal
942 notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}."
943 notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}."
943 text_zoom_out: Zoom arrière
944 text_zoom_out: Zoom arrière
944 text_zoom_in: Zoom avant
945 text_zoom_in: Zoom avant
945 notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©.
946 notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©.
946 label_overall_spent_time: Temps passΓ© global
947 label_overall_spent_time: Temps passΓ© global
947 field_time_entries: Log time
948 field_time_entries: Log time
948 project_module_gantt: Gantt
949 project_module_gantt: Gantt
949 project_module_calendar: Calendrier
950 project_module_calendar: Calendrier
950 button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}"
951 button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}"
951 text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ?
952 text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ?
952 field_text: Champ texte
953 field_text: Champ texte
953 label_user_mail_option_only_owner: Seulement pour ce que j'ai créé
954 label_user_mail_option_only_owner: Seulement pour ce que j'ai créé
954 setting_default_notification_option: Option de notification par dΓ©faut
955 setting_default_notification_option: Option de notification par dΓ©faut
955 label_user_mail_option_only_my_events: Seulement pour ce que je surveille
956 label_user_mail_option_only_my_events: Seulement pour ce que je surveille
956 label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ©
957 label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ©
957 label_user_mail_option_none: Aucune notification
958 label_user_mail_option_none: Aucune notification
958 field_member_of_group: Groupe de l'assignΓ©
959 field_member_of_group: Groupe de l'assignΓ©
959 field_assigned_to_role: RΓ΄le de l'assignΓ©
960 field_assigned_to_role: RΓ΄le de l'assignΓ©
960 setting_emails_header: Emails header
961 setting_emails_header: Emails header
@@ -1,25 +1,26
1 module Redmine
1 module Redmine
2 class Notifiable < Struct.new(:name, :parent)
2 class Notifiable < Struct.new(:name, :parent)
3
3
4 def to_s
4 def to_s
5 name
5 name
6 end
6 end
7
7
8 # TODO: Plugin API for adding a new notification?
8 # TODO: Plugin API for adding a new notification?
9 def self.all
9 def self.all
10 notifications = []
10 notifications = []
11 notifications << Notifiable.new('issue_added')
11 notifications << Notifiable.new('issue_added')
12 notifications << Notifiable.new('issue_updated')
12 notifications << Notifiable.new('issue_updated')
13 notifications << Notifiable.new('issue_note_added', 'issue_updated')
13 notifications << Notifiable.new('issue_note_added', 'issue_updated')
14 notifications << Notifiable.new('issue_status_updated', 'issue_updated')
14 notifications << Notifiable.new('issue_status_updated', 'issue_updated')
15 notifications << Notifiable.new('issue_priority_updated', 'issue_updated')
15 notifications << Notifiable.new('issue_priority_updated', 'issue_updated')
16 notifications << Notifiable.new('news_added')
16 notifications << Notifiable.new('news_added')
17 notifications << Notifiable.new('news_comment_added')
17 notifications << Notifiable.new('document_added')
18 notifications << Notifiable.new('document_added')
18 notifications << Notifiable.new('file_added')
19 notifications << Notifiable.new('file_added')
19 notifications << Notifiable.new('message_posted')
20 notifications << Notifiable.new('message_posted')
20 notifications << Notifiable.new('wiki_content_added')
21 notifications << Notifiable.new('wiki_content_added')
21 notifications << Notifiable.new('wiki_content_updated')
22 notifications << Notifiable.new('wiki_content_updated')
22 notifications
23 notifications
23 end
24 end
24 end
25 end
25 end
26 end
@@ -1,47 +1,56
1 # redMine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2007 Jean-Philippe Lang
2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 require File.expand_path('../../test_helper', __FILE__)
18 require File.expand_path('../../test_helper', __FILE__)
19
19
20 class CommentTest < ActiveSupport::TestCase
20 class CommentTest < ActiveSupport::TestCase
21 fixtures :users, :news, :comments
21 fixtures :users, :news, :comments
22
22
23 def setup
23 def setup
24 @jsmith = User.find(2)
24 @jsmith = User.find(2)
25 @news = News.find(1)
25 @news = News.find(1)
26 end
26 end
27
27
28 def test_create
28 def test_create
29 comment = Comment.new(:commented => @news, :author => @jsmith, :comments => "my comment")
29 comment = Comment.new(:commented => @news, :author => @jsmith, :comments => "my comment")
30 assert comment.save
30 assert comment.save
31 @news.reload
31 @news.reload
32 assert_equal 2, @news.comments_count
32 assert_equal 2, @news.comments_count
33 end
33 end
34
35 def test_create_should_send_notification
36 Setting.notified_events << 'news_comment_added'
37 Watcher.create!(:watchable => @news, :user => @jsmith)
38
39 assert_difference 'ActionMailer::Base.deliveries.size' do
40 Comment.create!(:commented => @news, :author => @jsmith, :comments => "my comment")
41 end
42 end
34
43
35 def test_validate
44 def test_validate
36 comment = Comment.new(:commented => @news)
45 comment = Comment.new(:commented => @news)
37 assert !comment.save
46 assert !comment.save
38 assert_equal 2, comment.errors.length
47 assert_equal 2, comment.errors.length
39 end
48 end
40
49
41 def test_destroy
50 def test_destroy
42 comment = Comment.find(1)
51 comment = Comment.find(1)
43 assert comment.destroy
52 assert comment.destroy
44 @news.reload
53 @news.reload
45 assert_equal 0, @news.comments_count
54 assert_equal 0, @news.comments_count
46 end
55 end
47 end
56 end
@@ -1,31 +1,31
1 # redMine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2008 Jean-Philippe Lang
2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 require File.expand_path('../../../../test_helper', __FILE__)
18 require File.expand_path('../../../../test_helper', __FILE__)
19
19
20 class Redmine::NotifiableTest < ActiveSupport::TestCase
20 class Redmine::NotifiableTest < ActiveSupport::TestCase
21 def setup
21 def setup
22 end
22 end
23
23
24 def test_all
24 def test_all
25 assert_equal 11, Redmine::Notifiable.all.length
25 assert_equal 12, Redmine::Notifiable.all.length
26
26
27 %w(issue_added issue_updated issue_note_added issue_status_updated issue_priority_updated news_added document_added file_added message_posted wiki_content_added wiki_content_updated).each do |notifiable|
27 %w(issue_added issue_updated issue_note_added issue_status_updated issue_priority_updated news_added news_comment_added document_added file_added message_posted wiki_content_added wiki_content_updated).each do |notifiable|
28 assert Redmine::Notifiable.all.collect(&:name).include?(notifiable), "missing #{notifiable}"
28 assert Redmine::Notifiable.all.collect(&:name).include?(notifiable), "missing #{notifiable}"
29 end
29 end
30 end
30 end
31 end
31 end
@@ -1,433 +1,441
1 # redMine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2007 Jean-Philippe Lang
2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
7 # of the License, or (at your option) any later version.
8 #
8 #
9 # This program is distributed in the hope that it will be useful,
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
12 # GNU General Public License for more details.
13 #
13 #
14 # You should have received a copy of the GNU General Public License
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
17
18 require File.expand_path('../../test_helper', __FILE__)
18 require File.expand_path('../../test_helper', __FILE__)
19
19
20 class MailerTest < ActiveSupport::TestCase
20 class MailerTest < ActiveSupport::TestCase
21 include Redmine::I18n
21 include Redmine::I18n
22 include ActionController::Assertions::SelectorAssertions
22 include ActionController::Assertions::SelectorAssertions
23 fixtures :projects, :enabled_modules, :issues, :users, :members, :member_roles, :roles, :documents, :attachments, :news, :tokens, :journals, :journal_details, :changesets, :trackers, :issue_statuses, :enumerations, :messages, :boards, :repositories
23 fixtures :all
24
24
25 def setup
25 def setup
26 ActionMailer::Base.deliveries.clear
26 ActionMailer::Base.deliveries.clear
27 Setting.host_name = 'mydomain.foo'
27 Setting.host_name = 'mydomain.foo'
28 Setting.protocol = 'http'
28 Setting.protocol = 'http'
29 end
29 end
30
30
31 def test_generated_links_in_emails
31 def test_generated_links_in_emails
32 Setting.host_name = 'mydomain.foo'
32 Setting.host_name = 'mydomain.foo'
33 Setting.protocol = 'https'
33 Setting.protocol = 'https'
34
34
35 journal = Journal.find(2)
35 journal = Journal.find(2)
36 assert Mailer.deliver_issue_edit(journal)
36 assert Mailer.deliver_issue_edit(journal)
37
37
38 mail = ActionMailer::Base.deliveries.last
38 mail = ActionMailer::Base.deliveries.last
39 assert_kind_of TMail::Mail, mail
39 assert_kind_of TMail::Mail, mail
40
40
41 assert_select_email do
41 assert_select_email do
42 # link to the main ticket
42 # link to the main ticket
43 assert_select "a[href=?]", "https://mydomain.foo/issues/1", :text => "Bug #1: Can't print recipes"
43 assert_select "a[href=?]", "https://mydomain.foo/issues/1", :text => "Bug #1: Can't print recipes"
44 # link to a referenced ticket
44 # link to a referenced ticket
45 assert_select "a[href=?][title=?]", "https://mydomain.foo/issues/2", "Add ingredients categories (Assigned)", :text => "#2"
45 assert_select "a[href=?][title=?]", "https://mydomain.foo/issues/2", "Add ingredients categories (Assigned)", :text => "#2"
46 # link to a changeset
46 # link to a changeset
47 assert_select "a[href=?][title=?]", "https://mydomain.foo/projects/ecookbook/repository/revisions/2", "This commit fixes #1, #2 and references #1 &amp; #3", :text => "r2"
47 assert_select "a[href=?][title=?]", "https://mydomain.foo/projects/ecookbook/repository/revisions/2", "This commit fixes #1, #2 and references #1 &amp; #3", :text => "r2"
48 end
48 end
49 end
49 end
50
50
51 def test_generated_links_with_prefix
51 def test_generated_links_with_prefix
52 relative_url_root = Redmine::Utils.relative_url_root
52 relative_url_root = Redmine::Utils.relative_url_root
53 Setting.host_name = 'mydomain.foo/rdm'
53 Setting.host_name = 'mydomain.foo/rdm'
54 Setting.protocol = 'http'
54 Setting.protocol = 'http'
55 Redmine::Utils.relative_url_root = '/rdm'
55 Redmine::Utils.relative_url_root = '/rdm'
56
56
57 journal = Journal.find(2)
57 journal = Journal.find(2)
58 assert Mailer.deliver_issue_edit(journal)
58 assert Mailer.deliver_issue_edit(journal)
59
59
60 mail = ActionMailer::Base.deliveries.last
60 mail = ActionMailer::Base.deliveries.last
61 assert_kind_of TMail::Mail, mail
61 assert_kind_of TMail::Mail, mail
62
62
63 assert_select_email do
63 assert_select_email do
64 # link to the main ticket
64 # link to the main ticket
65 assert_select "a[href=?]", "http://mydomain.foo/rdm/issues/1", :text => "Bug #1: Can't print recipes"
65 assert_select "a[href=?]", "http://mydomain.foo/rdm/issues/1", :text => "Bug #1: Can't print recipes"
66 # link to a referenced ticket
66 # link to a referenced ticket
67 assert_select "a[href=?][title=?]", "http://mydomain.foo/rdm/issues/2", "Add ingredients categories (Assigned)", :text => "#2"
67 assert_select "a[href=?][title=?]", "http://mydomain.foo/rdm/issues/2", "Add ingredients categories (Assigned)", :text => "#2"
68 # link to a changeset
68 # link to a changeset
69 assert_select "a[href=?][title=?]", "http://mydomain.foo/rdm/projects/ecookbook/repository/revisions/2", "This commit fixes #1, #2 and references #1 &amp; #3", :text => "r2"
69 assert_select "a[href=?][title=?]", "http://mydomain.foo/rdm/projects/ecookbook/repository/revisions/2", "This commit fixes #1, #2 and references #1 &amp; #3", :text => "r2"
70 end
70 end
71 ensure
71 ensure
72 # restore it
72 # restore it
73 Redmine::Utils.relative_url_root = relative_url_root
73 Redmine::Utils.relative_url_root = relative_url_root
74 end
74 end
75
75
76 def test_generated_links_with_prefix_and_no_relative_url_root
76 def test_generated_links_with_prefix_and_no_relative_url_root
77 relative_url_root = Redmine::Utils.relative_url_root
77 relative_url_root = Redmine::Utils.relative_url_root
78 Setting.host_name = 'mydomain.foo/rdm'
78 Setting.host_name = 'mydomain.foo/rdm'
79 Setting.protocol = 'http'
79 Setting.protocol = 'http'
80 Redmine::Utils.relative_url_root = nil
80 Redmine::Utils.relative_url_root = nil
81
81
82 journal = Journal.find(2)
82 journal = Journal.find(2)
83 assert Mailer.deliver_issue_edit(journal)
83 assert Mailer.deliver_issue_edit(journal)
84
84
85 mail = ActionMailer::Base.deliveries.last
85 mail = ActionMailer::Base.deliveries.last
86 assert_kind_of TMail::Mail, mail
86 assert_kind_of TMail::Mail, mail
87
87
88 assert_select_email do
88 assert_select_email do
89 # link to the main ticket
89 # link to the main ticket
90 assert_select "a[href=?]", "http://mydomain.foo/rdm/issues/1", :text => "Bug #1: Can't print recipes"
90 assert_select "a[href=?]", "http://mydomain.foo/rdm/issues/1", :text => "Bug #1: Can't print recipes"
91 # link to a referenced ticket
91 # link to a referenced ticket
92 assert_select "a[href=?][title=?]", "http://mydomain.foo/rdm/issues/2", "Add ingredients categories (Assigned)", :text => "#2"
92 assert_select "a[href=?][title=?]", "http://mydomain.foo/rdm/issues/2", "Add ingredients categories (Assigned)", :text => "#2"
93 # link to a changeset
93 # link to a changeset
94 assert_select "a[href=?][title=?]", "http://mydomain.foo/rdm/projects/ecookbook/repository/revisions/2", "This commit fixes #1, #2 and references #1 &amp; #3", :text => "r2"
94 assert_select "a[href=?][title=?]", "http://mydomain.foo/rdm/projects/ecookbook/repository/revisions/2", "This commit fixes #1, #2 and references #1 &amp; #3", :text => "r2"
95 end
95 end
96 ensure
96 ensure
97 # restore it
97 # restore it
98 Redmine::Utils.relative_url_root = relative_url_root
98 Redmine::Utils.relative_url_root = relative_url_root
99 end
99 end
100
100
101 def test_email_headers
101 def test_email_headers
102 issue = Issue.find(1)
102 issue = Issue.find(1)
103 Mailer.deliver_issue_add(issue)
103 Mailer.deliver_issue_add(issue)
104 mail = ActionMailer::Base.deliveries.last
104 mail = ActionMailer::Base.deliveries.last
105 assert_not_nil mail
105 assert_not_nil mail
106 assert_equal 'bulk', mail.header_string('Precedence')
106 assert_equal 'bulk', mail.header_string('Precedence')
107 assert_equal 'auto-generated', mail.header_string('Auto-Submitted')
107 assert_equal 'auto-generated', mail.header_string('Auto-Submitted')
108 end
108 end
109
109
110 def test_plain_text_mail
110 def test_plain_text_mail
111 Setting.plain_text_mail = 1
111 Setting.plain_text_mail = 1
112 journal = Journal.find(2)
112 journal = Journal.find(2)
113 Mailer.deliver_issue_edit(journal)
113 Mailer.deliver_issue_edit(journal)
114 mail = ActionMailer::Base.deliveries.last
114 mail = ActionMailer::Base.deliveries.last
115 assert_equal "text/plain", mail.content_type
115 assert_equal "text/plain", mail.content_type
116 assert_equal 0, mail.parts.size
116 assert_equal 0, mail.parts.size
117 assert !mail.encoded.include?('href')
117 assert !mail.encoded.include?('href')
118 end
118 end
119
119
120 def test_html_mail
120 def test_html_mail
121 Setting.plain_text_mail = 0
121 Setting.plain_text_mail = 0
122 journal = Journal.find(2)
122 journal = Journal.find(2)
123 Mailer.deliver_issue_edit(journal)
123 Mailer.deliver_issue_edit(journal)
124 mail = ActionMailer::Base.deliveries.last
124 mail = ActionMailer::Base.deliveries.last
125 assert_equal 2, mail.parts.size
125 assert_equal 2, mail.parts.size
126 assert mail.encoded.include?('href')
126 assert mail.encoded.include?('href')
127 end
127 end
128
128
129 def test_mail_from_with_phrase
129 def test_mail_from_with_phrase
130 with_settings :mail_from => 'Redmine app <redmine@example.net>' do
130 with_settings :mail_from => 'Redmine app <redmine@example.net>' do
131 Mailer.deliver_test(User.find(1))
131 Mailer.deliver_test(User.find(1))
132 end
132 end
133 mail = ActionMailer::Base.deliveries.last
133 mail = ActionMailer::Base.deliveries.last
134 assert_not_nil mail
134 assert_not_nil mail
135 assert_equal 'Redmine app', mail.from_addrs.first.name
135 assert_equal 'Redmine app', mail.from_addrs.first.name
136 end
136 end
137
137
138 def test_should_not_send_email_without_recipient
138 def test_should_not_send_email_without_recipient
139 news = News.find(:first)
139 news = News.find(:first)
140 user = news.author
140 user = news.author
141 # Remove members except news author
141 # Remove members except news author
142 news.project.memberships.each {|m| m.destroy unless m.user == user}
142 news.project.memberships.each {|m| m.destroy unless m.user == user}
143
143
144 user.pref[:no_self_notified] = false
144 user.pref[:no_self_notified] = false
145 user.pref.save
145 user.pref.save
146 User.current = user
146 User.current = user
147 Mailer.deliver_news_added(news.reload)
147 Mailer.deliver_news_added(news.reload)
148 assert_equal 1, last_email.bcc.size
148 assert_equal 1, last_email.bcc.size
149
149
150 # nobody to notify
150 # nobody to notify
151 user.pref[:no_self_notified] = true
151 user.pref[:no_self_notified] = true
152 user.pref.save
152 user.pref.save
153 User.current = user
153 User.current = user
154 ActionMailer::Base.deliveries.clear
154 ActionMailer::Base.deliveries.clear
155 Mailer.deliver_news_added(news.reload)
155 Mailer.deliver_news_added(news.reload)
156 assert ActionMailer::Base.deliveries.empty?
156 assert ActionMailer::Base.deliveries.empty?
157 end
157 end
158
158
159 def test_issue_add_message_id
159 def test_issue_add_message_id
160 issue = Issue.find(1)
160 issue = Issue.find(1)
161 Mailer.deliver_issue_add(issue)
161 Mailer.deliver_issue_add(issue)
162 mail = ActionMailer::Base.deliveries.last
162 mail = ActionMailer::Base.deliveries.last
163 assert_not_nil mail
163 assert_not_nil mail
164 assert_equal Mailer.message_id_for(issue), mail.message_id
164 assert_equal Mailer.message_id_for(issue), mail.message_id
165 assert_nil mail.references
165 assert_nil mail.references
166 end
166 end
167
167
168 def test_issue_edit_message_id
168 def test_issue_edit_message_id
169 journal = Journal.find(1)
169 journal = Journal.find(1)
170 Mailer.deliver_issue_edit(journal)
170 Mailer.deliver_issue_edit(journal)
171 mail = ActionMailer::Base.deliveries.last
171 mail = ActionMailer::Base.deliveries.last
172 assert_not_nil mail
172 assert_not_nil mail
173 assert_equal Mailer.message_id_for(journal), mail.message_id
173 assert_equal Mailer.message_id_for(journal), mail.message_id
174 assert_equal Mailer.message_id_for(journal.issue), mail.references.first.to_s
174 assert_equal Mailer.message_id_for(journal.issue), mail.references.first.to_s
175 end
175 end
176
176
177 def test_message_posted_message_id
177 def test_message_posted_message_id
178 message = Message.find(1)
178 message = Message.find(1)
179 Mailer.deliver_message_posted(message)
179 Mailer.deliver_message_posted(message)
180 mail = ActionMailer::Base.deliveries.last
180 mail = ActionMailer::Base.deliveries.last
181 assert_not_nil mail
181 assert_not_nil mail
182 assert_equal Mailer.message_id_for(message), mail.message_id
182 assert_equal Mailer.message_id_for(message), mail.message_id
183 assert_nil mail.references
183 assert_nil mail.references
184 assert_select_email do
184 assert_select_email do
185 # link to the message
185 # link to the message
186 assert_select "a[href=?]", "http://mydomain.foo/boards/#{message.board.id}/topics/#{message.id}", :text => message.subject
186 assert_select "a[href=?]", "http://mydomain.foo/boards/#{message.board.id}/topics/#{message.id}", :text => message.subject
187 end
187 end
188 end
188 end
189
189
190 def test_reply_posted_message_id
190 def test_reply_posted_message_id
191 message = Message.find(3)
191 message = Message.find(3)
192 Mailer.deliver_message_posted(message)
192 Mailer.deliver_message_posted(message)
193 mail = ActionMailer::Base.deliveries.last
193 mail = ActionMailer::Base.deliveries.last
194 assert_not_nil mail
194 assert_not_nil mail
195 assert_equal Mailer.message_id_for(message), mail.message_id
195 assert_equal Mailer.message_id_for(message), mail.message_id
196 assert_equal Mailer.message_id_for(message.parent), mail.references.first.to_s
196 assert_equal Mailer.message_id_for(message.parent), mail.references.first.to_s
197 assert_select_email do
197 assert_select_email do
198 # link to the reply
198 # link to the reply
199 assert_select "a[href=?]", "http://mydomain.foo/boards/#{message.board.id}/topics/#{message.root.id}?r=#{message.id}#message-#{message.id}", :text => message.subject
199 assert_select "a[href=?]", "http://mydomain.foo/boards/#{message.board.id}/topics/#{message.root.id}?r=#{message.id}#message-#{message.id}", :text => message.subject
200 end
200 end
201 end
201 end
202
202
203 context("#issue_add") do
203 context("#issue_add") do
204 setup do
204 setup do
205 ActionMailer::Base.deliveries.clear
205 ActionMailer::Base.deliveries.clear
206 Setting.bcc_recipients = '1'
206 Setting.bcc_recipients = '1'
207 @issue = Issue.find(1)
207 @issue = Issue.find(1)
208 end
208 end
209
209
210 should "notify project members" do
210 should "notify project members" do
211 assert Mailer.deliver_issue_add(@issue)
211 assert Mailer.deliver_issue_add(@issue)
212 assert last_email.bcc.include?('dlopper@somenet.foo')
212 assert last_email.bcc.include?('dlopper@somenet.foo')
213 end
213 end
214
214
215 should "not notify project members that are not allow to view the issue" do
215 should "not notify project members that are not allow to view the issue" do
216 Role.find(2).remove_permission!(:view_issues)
216 Role.find(2).remove_permission!(:view_issues)
217 assert Mailer.deliver_issue_add(@issue)
217 assert Mailer.deliver_issue_add(@issue)
218 assert !last_email.bcc.include?('dlopper@somenet.foo')
218 assert !last_email.bcc.include?('dlopper@somenet.foo')
219 end
219 end
220
220
221 should "notify issue watchers" do
221 should "notify issue watchers" do
222 user = User.find(9)
222 user = User.find(9)
223 # minimal email notification options
223 # minimal email notification options
224 user.pref[:no_self_notified] = '1'
224 user.pref[:no_self_notified] = '1'
225 user.pref.save
225 user.pref.save
226 user.mail_notification = false
226 user.mail_notification = false
227 user.save
227 user.save
228
228
229 Watcher.create!(:watchable => @issue, :user => user)
229 Watcher.create!(:watchable => @issue, :user => user)
230 assert Mailer.deliver_issue_add(@issue)
230 assert Mailer.deliver_issue_add(@issue)
231 assert last_email.bcc.include?(user.mail)
231 assert last_email.bcc.include?(user.mail)
232 end
232 end
233
233
234 should "not notify watchers not allowed to view the issue" do
234 should "not notify watchers not allowed to view the issue" do
235 user = User.find(9)
235 user = User.find(9)
236 Watcher.create!(:watchable => @issue, :user => user)
236 Watcher.create!(:watchable => @issue, :user => user)
237 Role.non_member.remove_permission!(:view_issues)
237 Role.non_member.remove_permission!(:view_issues)
238 assert Mailer.deliver_issue_add(@issue)
238 assert Mailer.deliver_issue_add(@issue)
239 assert !last_email.bcc.include?(user.mail)
239 assert !last_email.bcc.include?(user.mail)
240 end
240 end
241 end
241 end
242
242
243 # test mailer methods for each language
243 # test mailer methods for each language
244 def test_issue_add
244 def test_issue_add
245 issue = Issue.find(1)
245 issue = Issue.find(1)
246 valid_languages.each do |lang|
246 valid_languages.each do |lang|
247 Setting.default_language = lang.to_s
247 Setting.default_language = lang.to_s
248 assert Mailer.deliver_issue_add(issue)
248 assert Mailer.deliver_issue_add(issue)
249 end
249 end
250 end
250 end
251
251
252 def test_issue_edit
252 def test_issue_edit
253 journal = Journal.find(1)
253 journal = Journal.find(1)
254 valid_languages.each do |lang|
254 valid_languages.each do |lang|
255 Setting.default_language = lang.to_s
255 Setting.default_language = lang.to_s
256 assert Mailer.deliver_issue_edit(journal)
256 assert Mailer.deliver_issue_edit(journal)
257 end
257 end
258 end
258 end
259
259
260 def test_document_added
260 def test_document_added
261 document = Document.find(1)
261 document = Document.find(1)
262 valid_languages.each do |lang|
262 valid_languages.each do |lang|
263 Setting.default_language = lang.to_s
263 Setting.default_language = lang.to_s
264 assert Mailer.deliver_document_added(document)
264 assert Mailer.deliver_document_added(document)
265 end
265 end
266 end
266 end
267
267
268 def test_attachments_added
268 def test_attachments_added
269 attachements = [ Attachment.find_by_container_type('Document') ]
269 attachements = [ Attachment.find_by_container_type('Document') ]
270 valid_languages.each do |lang|
270 valid_languages.each do |lang|
271 Setting.default_language = lang.to_s
271 Setting.default_language = lang.to_s
272 assert Mailer.deliver_attachments_added(attachements)
272 assert Mailer.deliver_attachments_added(attachements)
273 end
273 end
274 end
274 end
275
275
276 def test_version_file_added
276 def test_version_file_added
277 attachements = [ Attachment.find_by_container_type('Version') ]
277 attachements = [ Attachment.find_by_container_type('Version') ]
278 assert Mailer.deliver_attachments_added(attachements)
278 assert Mailer.deliver_attachments_added(attachements)
279 assert_not_nil last_email.bcc
279 assert_not_nil last_email.bcc
280 assert last_email.bcc.any?
280 assert last_email.bcc.any?
281 end
281 end
282
282
283 def test_project_file_added
283 def test_project_file_added
284 attachements = [ Attachment.find_by_container_type('Project') ]
284 attachements = [ Attachment.find_by_container_type('Project') ]
285 assert Mailer.deliver_attachments_added(attachements)
285 assert Mailer.deliver_attachments_added(attachements)
286 assert_not_nil last_email.bcc
286 assert_not_nil last_email.bcc
287 assert last_email.bcc.any?
287 assert last_email.bcc.any?
288 end
288 end
289
289
290 def test_news_added
290 def test_news_added
291 news = News.find(:first)
291 news = News.find(:first)
292 valid_languages.each do |lang|
292 valid_languages.each do |lang|
293 Setting.default_language = lang.to_s
293 Setting.default_language = lang.to_s
294 assert Mailer.deliver_news_added(news)
294 assert Mailer.deliver_news_added(news)
295 end
295 end
296 end
296 end
297
297
298 def test_news_comment_added
299 comment = Comment.find(2)
300 valid_languages.each do |lang|
301 Setting.default_language = lang.to_s
302 assert Mailer.deliver_news_comment_added(comment)
303 end
304 end
305
298 def test_message_posted
306 def test_message_posted
299 message = Message.find(:first)
307 message = Message.find(:first)
300 recipients = ([message.root] + message.root.children).collect {|m| m.author.mail if m.author}
308 recipients = ([message.root] + message.root.children).collect {|m| m.author.mail if m.author}
301 recipients = recipients.compact.uniq
309 recipients = recipients.compact.uniq
302 valid_languages.each do |lang|
310 valid_languages.each do |lang|
303 Setting.default_language = lang.to_s
311 Setting.default_language = lang.to_s
304 assert Mailer.deliver_message_posted(message)
312 assert Mailer.deliver_message_posted(message)
305 end
313 end
306 end
314 end
307
315
308 def test_wiki_content_added
316 def test_wiki_content_added
309 content = WikiContent.find(:first)
317 content = WikiContent.find(:first)
310 valid_languages.each do |lang|
318 valid_languages.each do |lang|
311 Setting.default_language = lang.to_s
319 Setting.default_language = lang.to_s
312 assert_difference 'ActionMailer::Base.deliveries.size' do
320 assert_difference 'ActionMailer::Base.deliveries.size' do
313 assert Mailer.deliver_wiki_content_added(content)
321 assert Mailer.deliver_wiki_content_added(content)
314 end
322 end
315 end
323 end
316 end
324 end
317
325
318 def test_wiki_content_updated
326 def test_wiki_content_updated
319 content = WikiContent.find(:first)
327 content = WikiContent.find(:first)
320 valid_languages.each do |lang|
328 valid_languages.each do |lang|
321 Setting.default_language = lang.to_s
329 Setting.default_language = lang.to_s
322 assert_difference 'ActionMailer::Base.deliveries.size' do
330 assert_difference 'ActionMailer::Base.deliveries.size' do
323 assert Mailer.deliver_wiki_content_updated(content)
331 assert Mailer.deliver_wiki_content_updated(content)
324 end
332 end
325 end
333 end
326 end
334 end
327
335
328 def test_account_information
336 def test_account_information
329 user = User.find(2)
337 user = User.find(2)
330 valid_languages.each do |lang|
338 valid_languages.each do |lang|
331 user.update_attribute :language, lang.to_s
339 user.update_attribute :language, lang.to_s
332 user.reload
340 user.reload
333 assert Mailer.deliver_account_information(user, 'pAsswORd')
341 assert Mailer.deliver_account_information(user, 'pAsswORd')
334 end
342 end
335 end
343 end
336
344
337 def test_lost_password
345 def test_lost_password
338 token = Token.find(2)
346 token = Token.find(2)
339 valid_languages.each do |lang|
347 valid_languages.each do |lang|
340 token.user.update_attribute :language, lang.to_s
348 token.user.update_attribute :language, lang.to_s
341 token.reload
349 token.reload
342 assert Mailer.deliver_lost_password(token)
350 assert Mailer.deliver_lost_password(token)
343 end
351 end
344 end
352 end
345
353
346 def test_register
354 def test_register
347 token = Token.find(1)
355 token = Token.find(1)
348 Setting.host_name = 'redmine.foo'
356 Setting.host_name = 'redmine.foo'
349 Setting.protocol = 'https'
357 Setting.protocol = 'https'
350
358
351 valid_languages.each do |lang|
359 valid_languages.each do |lang|
352 token.user.update_attribute :language, lang.to_s
360 token.user.update_attribute :language, lang.to_s
353 token.reload
361 token.reload
354 ActionMailer::Base.deliveries.clear
362 ActionMailer::Base.deliveries.clear
355 assert Mailer.deliver_register(token)
363 assert Mailer.deliver_register(token)
356 mail = ActionMailer::Base.deliveries.last
364 mail = ActionMailer::Base.deliveries.last
357 assert mail.body.include?("https://redmine.foo/account/activate?token=#{token.value}")
365 assert mail.body.include?("https://redmine.foo/account/activate?token=#{token.value}")
358 end
366 end
359 end
367 end
360
368
361 def test_test
369 def test_test
362 user = User.find(1)
370 user = User.find(1)
363 valid_languages.each do |lang|
371 valid_languages.each do |lang|
364 user.update_attribute :language, lang.to_s
372 user.update_attribute :language, lang.to_s
365 assert Mailer.deliver_test(user)
373 assert Mailer.deliver_test(user)
366 end
374 end
367 end
375 end
368
376
369 def test_reminders
377 def test_reminders
370 Mailer.reminders(:days => 42)
378 Mailer.reminders(:days => 42)
371 assert_equal 1, ActionMailer::Base.deliveries.size
379 assert_equal 1, ActionMailer::Base.deliveries.size
372 mail = ActionMailer::Base.deliveries.last
380 mail = ActionMailer::Base.deliveries.last
373 assert mail.bcc.include?('dlopper@somenet.foo')
381 assert mail.bcc.include?('dlopper@somenet.foo')
374 assert mail.body.include?('Bug #3: Error 281 when updating a recipe')
382 assert mail.body.include?('Bug #3: Error 281 when updating a recipe')
375 assert_equal '1 issue(s) due in the next 42 days', mail.subject
383 assert_equal '1 issue(s) due in the next 42 days', mail.subject
376 end
384 end
377
385
378 def test_reminders_for_users
386 def test_reminders_for_users
379 Mailer.reminders(:days => 42, :users => ['5'])
387 Mailer.reminders(:days => 42, :users => ['5'])
380 assert_equal 0, ActionMailer::Base.deliveries.size # No mail for dlopper
388 assert_equal 0, ActionMailer::Base.deliveries.size # No mail for dlopper
381 Mailer.reminders(:days => 42, :users => ['3'])
389 Mailer.reminders(:days => 42, :users => ['3'])
382 assert_equal 1, ActionMailer::Base.deliveries.size # No mail for dlopper
390 assert_equal 1, ActionMailer::Base.deliveries.size # No mail for dlopper
383 mail = ActionMailer::Base.deliveries.last
391 mail = ActionMailer::Base.deliveries.last
384 assert mail.bcc.include?('dlopper@somenet.foo')
392 assert mail.bcc.include?('dlopper@somenet.foo')
385 assert mail.body.include?('Bug #3: Error 281 when updating a recipe')
393 assert mail.body.include?('Bug #3: Error 281 when updating a recipe')
386 end
394 end
387
395
388 def last_email
396 def last_email
389 mail = ActionMailer::Base.deliveries.last
397 mail = ActionMailer::Base.deliveries.last
390 assert_not_nil mail
398 assert_not_nil mail
391 mail
399 mail
392 end
400 end
393
401
394 def test_mailer_should_not_change_locale
402 def test_mailer_should_not_change_locale
395 Setting.default_language = 'en'
403 Setting.default_language = 'en'
396 # Set current language to italian
404 # Set current language to italian
397 set_language_if_valid 'it'
405 set_language_if_valid 'it'
398 # Send an email to a french user
406 # Send an email to a french user
399 user = User.find(1)
407 user = User.find(1)
400 user.language = 'fr'
408 user.language = 'fr'
401 Mailer.deliver_account_activated(user)
409 Mailer.deliver_account_activated(user)
402 mail = ActionMailer::Base.deliveries.last
410 mail = ActionMailer::Base.deliveries.last
403 assert mail.body.include?('Votre compte')
411 assert mail.body.include?('Votre compte')
404
412
405 assert_equal :it, current_language
413 assert_equal :it, current_language
406 end
414 end
407
415
408 def test_with_deliveries_off
416 def test_with_deliveries_off
409 Mailer.with_deliveries false do
417 Mailer.with_deliveries false do
410 Mailer.deliver_test(User.find(1))
418 Mailer.deliver_test(User.find(1))
411 end
419 end
412 assert ActionMailer::Base.deliveries.empty?
420 assert ActionMailer::Base.deliveries.empty?
413 # should restore perform_deliveries
421 # should restore perform_deliveries
414 assert ActionMailer::Base.perform_deliveries
422 assert ActionMailer::Base.perform_deliveries
415 end
423 end
416
424
417 context "layout" do
425 context "layout" do
418 should "include the emails_header" do
426 should "include the emails_header" do
419 with_settings(:emails_header => "*Header content*") do
427 with_settings(:emails_header => "*Header content*") do
420 assert Mailer.deliver_test(User.find(1))
428 assert Mailer.deliver_test(User.find(1))
421
429
422 assert_select_email do
430 assert_select_email do
423 assert_select ".header" do
431 assert_select ".header" do
424 assert_select "strong", :text => "Header content"
432 assert_select "strong", :text => "Header content"
425 end
433 end
426 end
434 end
427 end
435 end
428
436
429 end
437 end
430
438
431 end
439 end
432
440
433 end
441 end
General Comments 0
You need to be logged in to leave comments. Login now