The requested changes are too big and content was truncated. Show full diff
@@ -1,568 +1,575 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2016 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2016 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 IssuesController < ApplicationController |
|
18 | class IssuesController < ApplicationController | |
19 | default_search_scope :issues |
|
19 | default_search_scope :issues | |
20 |
|
20 | |||
21 | before_action :find_issue, :only => [:show, :edit, :update] |
|
21 | before_action :find_issue, :only => [:show, :edit, :update] | |
22 | before_action :find_issues, :only => [:bulk_edit, :bulk_update, :destroy] |
|
22 | before_action :find_issues, :only => [:bulk_edit, :bulk_update, :destroy] | |
23 | before_action :authorize, :except => [:index, :new, :create] |
|
23 | before_action :authorize, :except => [:index, :new, :create] | |
24 | before_action :find_optional_project, :only => [:index, :new, :create] |
|
24 | before_action :find_optional_project, :only => [:index, :new, :create] | |
25 | before_action :build_new_issue_from_params, :only => [:new, :create] |
|
25 | before_action :build_new_issue_from_params, :only => [:new, :create] | |
26 | accept_rss_auth :index, :show |
|
26 | accept_rss_auth :index, :show | |
27 | accept_api_auth :index, :show, :create, :update, :destroy |
|
27 | accept_api_auth :index, :show, :create, :update, :destroy | |
28 |
|
28 | |||
29 | rescue_from Query::StatementInvalid, :with => :query_statement_invalid |
|
29 | rescue_from Query::StatementInvalid, :with => :query_statement_invalid | |
30 |
|
30 | |||
31 | helper :journals |
|
31 | helper :journals | |
32 | helper :projects |
|
32 | helper :projects | |
33 | helper :custom_fields |
|
33 | helper :custom_fields | |
34 | helper :issue_relations |
|
34 | helper :issue_relations | |
35 | helper :watchers |
|
35 | helper :watchers | |
36 | helper :attachments |
|
36 | helper :attachments | |
37 | helper :queries |
|
37 | helper :queries | |
38 | include QueriesHelper |
|
38 | include QueriesHelper | |
39 | helper :repositories |
|
39 | helper :repositories | |
40 | helper :sort |
|
40 | helper :sort | |
41 | include SortHelper |
|
41 | include SortHelper | |
42 | helper :timelog |
|
42 | helper :timelog | |
43 |
|
43 | |||
44 | def index |
|
44 | def index | |
45 | retrieve_query |
|
45 | retrieve_query | |
46 | sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria) |
|
46 | sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria) | |
47 | sort_update(@query.sortable_columns) |
|
47 | sort_update(@query.sortable_columns) | |
48 | @query.sort_criteria = sort_criteria.to_a |
|
48 | @query.sort_criteria = sort_criteria.to_a | |
49 |
|
49 | |||
50 | if @query.valid? |
|
50 | if @query.valid? | |
51 | case params[:format] |
|
51 | case params[:format] | |
52 | when 'csv', 'pdf' |
|
52 | when 'csv', 'pdf' | |
53 | @limit = Setting.issues_export_limit.to_i |
|
53 | @limit = Setting.issues_export_limit.to_i | |
54 | if params[:columns] == 'all' |
|
54 | if params[:columns] == 'all' | |
55 | @query.column_names = @query.available_inline_columns.map(&:name) |
|
55 | @query.column_names = @query.available_inline_columns.map(&:name) | |
56 | end |
|
56 | end | |
57 | when 'atom' |
|
57 | when 'atom' | |
58 | @limit = Setting.feeds_limit.to_i |
|
58 | @limit = Setting.feeds_limit.to_i | |
59 | when 'xml', 'json' |
|
59 | when 'xml', 'json' | |
60 | @offset, @limit = api_offset_and_limit |
|
60 | @offset, @limit = api_offset_and_limit | |
61 | @query.column_names = %w(author) |
|
61 | @query.column_names = %w(author) | |
62 | else |
|
62 | else | |
63 | @limit = per_page_option |
|
63 | @limit = per_page_option | |
64 | end |
|
64 | end | |
65 |
|
65 | |||
66 | @issue_count = @query.issue_count |
|
66 | @issue_count = @query.issue_count | |
67 | @issue_pages = Paginator.new @issue_count, @limit, params['page'] |
|
67 | @issue_pages = Paginator.new @issue_count, @limit, params['page'] | |
68 | @offset ||= @issue_pages.offset |
|
68 | @offset ||= @issue_pages.offset | |
69 | @issues = @query.issues(:include => [:assigned_to, :tracker, :priority, :category, :fixed_version], |
|
69 | @issues = @query.issues(:include => [:assigned_to, :tracker, :priority, :category, :fixed_version], | |
70 | :order => sort_clause, |
|
70 | :order => sort_clause, | |
71 | :offset => @offset, |
|
71 | :offset => @offset, | |
72 | :limit => @limit) |
|
72 | :limit => @limit) | |
73 | @issue_count_by_group = @query.issue_count_by_group |
|
73 | @issue_count_by_group = @query.issue_count_by_group | |
74 |
|
74 | |||
75 | respond_to do |format| |
|
75 | respond_to do |format| | |
76 | format.html { render :template => 'issues/index', :layout => !request.xhr? } |
|
76 | format.html { render :template => 'issues/index', :layout => !request.xhr? } | |
77 | format.api { |
|
77 | format.api { | |
78 | Issue.load_visible_relations(@issues) if include_in_api_response?('relations') |
|
78 | Issue.load_visible_relations(@issues) if include_in_api_response?('relations') | |
79 | } |
|
79 | } | |
80 | format.atom { render_feed(@issues, :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") } |
|
80 | format.atom { render_feed(@issues, :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") } | |
81 | format.csv { send_data(query_to_csv(@issues, @query, params[:csv]), :type => 'text/csv; header=present', :filename => 'issues.csv') } |
|
81 | format.csv { send_data(query_to_csv(@issues, @query, params[:csv]), :type => 'text/csv; header=present', :filename => 'issues.csv') } | |
82 | format.pdf { send_file_headers! :type => 'application/pdf', :filename => 'issues.pdf' } |
|
82 | format.pdf { send_file_headers! :type => 'application/pdf', :filename => 'issues.pdf' } | |
83 | end |
|
83 | end | |
84 | else |
|
84 | else | |
85 | respond_to do |format| |
|
85 | respond_to do |format| | |
86 | format.html { render(:template => 'issues/index', :layout => !request.xhr?) } |
|
86 | format.html { render(:template => 'issues/index', :layout => !request.xhr?) } | |
87 | format.any(:atom, :csv, :pdf) { head 422 } |
|
87 | format.any(:atom, :csv, :pdf) { head 422 } | |
88 | format.api { render_validation_errors(@query) } |
|
88 | format.api { render_validation_errors(@query) } | |
89 | end |
|
89 | end | |
90 | end |
|
90 | end | |
91 | rescue ActiveRecord::RecordNotFound |
|
91 | rescue ActiveRecord::RecordNotFound | |
92 | render_404 |
|
92 | render_404 | |
93 | end |
|
93 | end | |
94 |
|
94 | |||
95 | def show |
|
95 | def show | |
96 | @journals = @issue.journals. |
|
96 | @journals = @issue.journals. | |
97 | preload(:details). |
|
97 | preload(:details). | |
98 | preload(:user => :email_address). |
|
98 | preload(:user => :email_address). | |
99 | reorder(:created_on, :id).to_a |
|
99 | reorder(:created_on, :id).to_a | |
100 | @journals.each_with_index {|j,i| j.indice = i+1} |
|
100 | @journals.each_with_index {|j,i| j.indice = i+1} | |
101 | @journals.reject!(&:private_notes?) unless User.current.allowed_to?(:view_private_notes, @issue.project) |
|
101 | @journals.reject!(&:private_notes?) unless User.current.allowed_to?(:view_private_notes, @issue.project) | |
102 | Journal.preload_journals_details_custom_fields(@journals) |
|
102 | Journal.preload_journals_details_custom_fields(@journals) | |
103 | @journals.select! {|journal| journal.notes? || journal.visible_details.any?} |
|
103 | @journals.select! {|journal| journal.notes? || journal.visible_details.any?} | |
104 | @journals.reverse! if User.current.wants_comments_in_reverse_order? |
|
104 | @journals.reverse! if User.current.wants_comments_in_reverse_order? | |
105 |
|
105 | |||
106 | @changesets = @issue.changesets.visible.preload(:repository, :user).to_a |
|
106 | @changesets = @issue.changesets.visible.preload(:repository, :user).to_a | |
107 | @changesets.reverse! if User.current.wants_comments_in_reverse_order? |
|
107 | @changesets.reverse! if User.current.wants_comments_in_reverse_order? | |
108 |
|
108 | |||
109 | @relations = @issue.relations.select {|r| r.other_issue(@issue) && r.other_issue(@issue).visible? } |
|
109 | @relations = @issue.relations.select {|r| r.other_issue(@issue) && r.other_issue(@issue).visible? } | |
110 | @allowed_statuses = @issue.new_statuses_allowed_to(User.current) |
|
110 | @allowed_statuses = @issue.new_statuses_allowed_to(User.current) | |
111 | @priorities = IssuePriority.active |
|
111 | @priorities = IssuePriority.active | |
112 | @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) |
|
112 | @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) | |
113 | @relation = IssueRelation.new |
|
113 | @relation = IssueRelation.new | |
114 |
|
114 | |||
115 | respond_to do |format| |
|
115 | respond_to do |format| | |
116 | format.html { |
|
116 | format.html { | |
117 | retrieve_previous_and_next_issue_ids |
|
117 | retrieve_previous_and_next_issue_ids | |
118 | render :template => 'issues/show' |
|
118 | render :template => 'issues/show' | |
119 | } |
|
119 | } | |
120 | format.api |
|
120 | format.api | |
121 | format.atom { render :template => 'journals/index', :layout => false, :content_type => 'application/atom+xml' } |
|
121 | format.atom { render :template => 'journals/index', :layout => false, :content_type => 'application/atom+xml' } | |
122 | format.pdf { |
|
122 | format.pdf { | |
123 | send_file_headers! :type => 'application/pdf', :filename => "#{@project.identifier}-#{@issue.id}.pdf" |
|
123 | send_file_headers! :type => 'application/pdf', :filename => "#{@project.identifier}-#{@issue.id}.pdf" | |
124 | } |
|
124 | } | |
125 | end |
|
125 | end | |
126 | end |
|
126 | end | |
127 |
|
127 | |||
128 | def new |
|
128 | def new | |
129 | respond_to do |format| |
|
129 | respond_to do |format| | |
130 | format.html { render :action => 'new', :layout => !request.xhr? } |
|
130 | format.html { render :action => 'new', :layout => !request.xhr? } | |
131 | format.js |
|
131 | format.js | |
132 | end |
|
132 | end | |
133 | end |
|
133 | end | |
134 |
|
134 | |||
135 | def create |
|
135 | def create | |
136 | unless User.current.allowed_to?(:add_issues, @issue.project, :global => true) |
|
136 | unless User.current.allowed_to?(:add_issues, @issue.project, :global => true) | |
137 | raise ::Unauthorized |
|
137 | raise ::Unauthorized | |
138 | end |
|
138 | end | |
139 | call_hook(:controller_issues_new_before_save, { :params => params, :issue => @issue }) |
|
139 | call_hook(:controller_issues_new_before_save, { :params => params, :issue => @issue }) | |
140 | @issue.save_attachments(params[:attachments] || (params[:issue] && params[:issue][:uploads])) |
|
140 | @issue.save_attachments(params[:attachments] || (params[:issue] && params[:issue][:uploads])) | |
141 | if @issue.save |
|
141 | if @issue.save | |
142 | call_hook(:controller_issues_new_after_save, { :params => params, :issue => @issue}) |
|
142 | call_hook(:controller_issues_new_after_save, { :params => params, :issue => @issue}) | |
143 | respond_to do |format| |
|
143 | respond_to do |format| | |
144 | format.html { |
|
144 | format.html { | |
145 | render_attachment_warning_if_needed(@issue) |
|
145 | render_attachment_warning_if_needed(@issue) | |
146 | flash[:notice] = l(:notice_issue_successful_create, :id => view_context.link_to("##{@issue.id}", issue_path(@issue), :title => @issue.subject)) |
|
146 | flash[:notice] = l(:notice_issue_successful_create, :id => view_context.link_to("##{@issue.id}", issue_path(@issue), :title => @issue.subject)) | |
147 | redirect_after_create |
|
147 | redirect_after_create | |
148 | } |
|
148 | } | |
149 | format.api { render :action => 'show', :status => :created, :location => issue_url(@issue) } |
|
149 | format.api { render :action => 'show', :status => :created, :location => issue_url(@issue) } | |
150 | end |
|
150 | end | |
151 | return |
|
151 | return | |
152 | else |
|
152 | else | |
153 | respond_to do |format| |
|
153 | respond_to do |format| | |
154 | format.html { |
|
154 | format.html { | |
155 | if @issue.project.nil? |
|
155 | if @issue.project.nil? | |
156 | render_error :status => 422 |
|
156 | render_error :status => 422 | |
157 | else |
|
157 | else | |
158 | render :action => 'new' |
|
158 | render :action => 'new' | |
159 | end |
|
159 | end | |
160 | } |
|
160 | } | |
161 | format.api { render_validation_errors(@issue) } |
|
161 | format.api { render_validation_errors(@issue) } | |
162 | end |
|
162 | end | |
163 | end |
|
163 | end | |
164 | end |
|
164 | end | |
165 |
|
165 | |||
166 | def edit |
|
166 | def edit | |
167 | return unless update_issue_from_params |
|
167 | return unless update_issue_from_params | |
168 |
|
168 | |||
169 | respond_to do |format| |
|
169 | respond_to do |format| | |
170 | format.html { } |
|
170 | format.html { } | |
171 | format.js |
|
171 | format.js | |
172 | end |
|
172 | end | |
173 | end |
|
173 | end | |
174 |
|
174 | |||
175 | def update |
|
175 | def update | |
176 | return unless update_issue_from_params |
|
176 | return unless update_issue_from_params | |
177 | @issue.save_attachments(params[:attachments] || (params[:issue] && params[:issue][:uploads])) |
|
177 | @issue.save_attachments(params[:attachments] || (params[:issue] && params[:issue][:uploads])) | |
178 | saved = false |
|
178 | saved = false | |
179 | begin |
|
179 | begin | |
180 | saved = save_issue_with_child_records |
|
180 | saved = save_issue_with_child_records | |
181 | rescue ActiveRecord::StaleObjectError |
|
181 | rescue ActiveRecord::StaleObjectError | |
182 | @conflict = true |
|
182 | @conflict = true | |
183 | if params[:last_journal_id] |
|
183 | if params[:last_journal_id] | |
184 | @conflict_journals = @issue.journals_after(params[:last_journal_id]).to_a |
|
184 | @conflict_journals = @issue.journals_after(params[:last_journal_id]).to_a | |
185 | @conflict_journals.reject!(&:private_notes?) unless User.current.allowed_to?(:view_private_notes, @issue.project) |
|
185 | @conflict_journals.reject!(&:private_notes?) unless User.current.allowed_to?(:view_private_notes, @issue.project) | |
186 | end |
|
186 | end | |
187 | end |
|
187 | end | |
188 |
|
188 | |||
189 | if saved |
|
189 | if saved | |
190 | render_attachment_warning_if_needed(@issue) |
|
190 | render_attachment_warning_if_needed(@issue) | |
191 | flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record? |
|
191 | flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record? | |
192 |
|
192 | |||
193 | respond_to do |format| |
|
193 | respond_to do |format| | |
194 | format.html { redirect_back_or_default issue_path(@issue, previous_and_next_issue_ids_params) } |
|
194 | format.html { redirect_back_or_default issue_path(@issue, previous_and_next_issue_ids_params) } | |
195 | format.api { render_api_ok } |
|
195 | format.api { render_api_ok } | |
196 | end |
|
196 | end | |
197 | else |
|
197 | else | |
198 | respond_to do |format| |
|
198 | respond_to do |format| | |
199 | format.html { render :action => 'edit' } |
|
199 | format.html { render :action => 'edit' } | |
200 | format.api { render_validation_errors(@issue) } |
|
200 | format.api { render_validation_errors(@issue) } | |
201 | end |
|
201 | end | |
202 | end |
|
202 | end | |
203 | end |
|
203 | end | |
204 |
|
204 | |||
205 | # Bulk edit/copy a set of issues |
|
205 | # Bulk edit/copy a set of issues | |
206 | def bulk_edit |
|
206 | def bulk_edit | |
207 | @issues.sort! |
|
207 | @issues.sort! | |
208 | @copy = params[:copy].present? |
|
208 | @copy = params[:copy].present? | |
209 | @notes = params[:notes] |
|
209 | @notes = params[:notes] | |
210 |
|
210 | |||
211 | if @copy |
|
211 | if @copy | |
212 | unless User.current.allowed_to?(:copy_issues, @projects) |
|
212 | unless User.current.allowed_to?(:copy_issues, @projects) | |
213 | raise ::Unauthorized |
|
213 | raise ::Unauthorized | |
214 | end |
|
214 | end | |
215 | else |
|
215 | else | |
216 | unless @issues.all?(&:attributes_editable?) |
|
216 | unless @issues.all?(&:attributes_editable?) | |
217 | raise ::Unauthorized |
|
217 | raise ::Unauthorized | |
218 | end |
|
218 | end | |
219 | end |
|
219 | end | |
220 |
|
220 | |||
221 | edited_issues = Issue.where(:id => @issues.map(&:id)).to_a |
|
221 | edited_issues = Issue.where(:id => @issues.map(&:id)).to_a | |
222 |
|
222 | |||
223 | @allowed_projects = Issue.allowed_target_projects |
|
223 | @allowed_projects = Issue.allowed_target_projects | |
224 | if params[:issue] |
|
224 | if params[:issue] | |
225 | @target_project = @allowed_projects.detect {|p| p.id.to_s == params[:issue][:project_id].to_s} |
|
225 | @target_project = @allowed_projects.detect {|p| p.id.to_s == params[:issue][:project_id].to_s} | |
226 | if @target_project |
|
226 | if @target_project | |
227 | target_projects = [@target_project] |
|
227 | target_projects = [@target_project] | |
228 | edited_issues.each {|issue| issue.project = @target_project} |
|
228 | edited_issues.each {|issue| issue.project = @target_project} | |
229 | end |
|
229 | end | |
230 | end |
|
230 | end | |
231 | target_projects ||= @projects |
|
231 | target_projects ||= @projects | |
232 |
|
232 | |||
233 | @trackers = target_projects.map {|p| Issue.allowed_target_trackers(p) }.reduce(:&) |
|
233 | @trackers = target_projects.map {|p| Issue.allowed_target_trackers(p) }.reduce(:&) | |
234 | if params[:issue] |
|
234 | if params[:issue] | |
235 | @target_tracker = @trackers.detect {|t| t.id.to_s == params[:issue][:tracker_id].to_s} |
|
235 | @target_tracker = @trackers.detect {|t| t.id.to_s == params[:issue][:tracker_id].to_s} | |
236 | if @target_tracker |
|
236 | if @target_tracker | |
237 | edited_issues.each {|issue| issue.tracker = @target_tracker} |
|
237 | edited_issues.each {|issue| issue.tracker = @target_tracker} | |
238 | end |
|
238 | end | |
239 | end |
|
239 | end | |
240 |
|
240 | |||
241 | if @copy |
|
241 | if @copy | |
242 | # Copied issues will get their default statuses |
|
242 | # Copied issues will get their default statuses | |
243 | @available_statuses = [] |
|
243 | @available_statuses = [] | |
244 | else |
|
244 | else | |
245 | @available_statuses = edited_issues.map(&:new_statuses_allowed_to).reduce(:&) |
|
245 | @available_statuses = edited_issues.map(&:new_statuses_allowed_to).reduce(:&) | |
246 | end |
|
246 | end | |
247 | if params[:issue] |
|
247 | if params[:issue] | |
248 | @target_status = @available_statuses.detect {|t| t.id.to_s == params[:issue][:status_id].to_s} |
|
248 | @target_status = @available_statuses.detect {|t| t.id.to_s == params[:issue][:status_id].to_s} | |
249 | if @target_status |
|
249 | if @target_status | |
250 | edited_issues.each {|issue| issue.status = @target_status} |
|
250 | edited_issues.each {|issue| issue.status = @target_status} | |
251 | end |
|
251 | end | |
252 | end |
|
252 | end | |
253 |
|
253 | |||
254 | @custom_fields = edited_issues.map{|i|i.editable_custom_fields}.reduce(:&).select {|field| field.format.bulk_edit_supported} |
|
254 | @custom_fields = edited_issues.map{|i|i.editable_custom_fields}.reduce(:&).select {|field| field.format.bulk_edit_supported} | |
255 | @assignables = target_projects.map(&:assignable_users).reduce(:&) |
|
255 | @assignables = target_projects.map(&:assignable_users).reduce(:&) | |
256 | @versions = target_projects.map {|p| p.shared_versions.open}.reduce(:&) |
|
256 | @versions = target_projects.map {|p| p.shared_versions.open}.reduce(:&) | |
257 | @categories = target_projects.map {|p| p.issue_categories}.reduce(:&) |
|
257 | @categories = target_projects.map {|p| p.issue_categories}.reduce(:&) | |
258 | if @copy |
|
258 | if @copy | |
259 | @attachments_present = @issues.detect {|i| i.attachments.any?}.present? |
|
259 | @attachments_present = @issues.detect {|i| i.attachments.any?}.present? | |
260 | @subtasks_present = @issues.detect {|i| !i.leaf?}.present? |
|
260 | @subtasks_present = @issues.detect {|i| !i.leaf?}.present? | |
261 | end |
|
261 | end | |
262 |
|
262 | |||
263 | @safe_attributes = edited_issues.map(&:safe_attribute_names).reduce(:&) |
|
263 | @safe_attributes = edited_issues.map(&:safe_attribute_names).reduce(:&) | |
264 |
|
264 | |||
265 | @issue_params = params[:issue] || {} |
|
265 | @issue_params = params[:issue] || {} | |
266 | @issue_params[:custom_field_values] ||= {} |
|
266 | @issue_params[:custom_field_values] ||= {} | |
267 | end |
|
267 | end | |
268 |
|
268 | |||
269 | def bulk_update |
|
269 | def bulk_update | |
270 | @issues.sort! |
|
270 | @issues.sort! | |
271 | @copy = params[:copy].present? |
|
271 | @copy = params[:copy].present? | |
272 |
|
272 | |||
273 | attributes = parse_params_for_bulk_update(params[:issue]) |
|
273 | attributes = parse_params_for_bulk_update(params[:issue]) | |
274 | copy_subtasks = (params[:copy_subtasks] == '1') |
|
274 | copy_subtasks = (params[:copy_subtasks] == '1') | |
275 | copy_attachments = (params[:copy_attachments] == '1') |
|
275 | copy_attachments = (params[:copy_attachments] == '1') | |
276 |
|
276 | |||
277 | if @copy |
|
277 | if @copy | |
278 | unless User.current.allowed_to?(:copy_issues, @projects) |
|
278 | unless User.current.allowed_to?(:copy_issues, @projects) | |
279 | raise ::Unauthorized |
|
279 | raise ::Unauthorized | |
280 | end |
|
280 | end | |
281 | target_projects = @projects |
|
281 | target_projects = @projects | |
282 | if attributes['project_id'].present? |
|
282 | if attributes['project_id'].present? | |
283 | target_projects = Project.where(:id => attributes['project_id']).to_a |
|
283 | target_projects = Project.where(:id => attributes['project_id']).to_a | |
284 | end |
|
284 | end | |
285 | unless User.current.allowed_to?(:add_issues, target_projects) |
|
285 | unless User.current.allowed_to?(:add_issues, target_projects) | |
286 | raise ::Unauthorized |
|
286 | raise ::Unauthorized | |
287 | end |
|
287 | end | |
288 | else |
|
288 | else | |
289 | unless @issues.all?(&:attributes_editable?) |
|
289 | unless @issues.all?(&:attributes_editable?) | |
290 | raise ::Unauthorized |
|
290 | raise ::Unauthorized | |
291 | end |
|
291 | end | |
292 | end |
|
292 | end | |
293 |
|
293 | |||
294 | unsaved_issues = [] |
|
294 | unsaved_issues = [] | |
295 | saved_issues = [] |
|
295 | saved_issues = [] | |
296 |
|
296 | |||
297 | if @copy && copy_subtasks |
|
297 | if @copy && copy_subtasks | |
298 | # Descendant issues will be copied with the parent task |
|
298 | # Descendant issues will be copied with the parent task | |
299 | # Don't copy them twice |
|
299 | # Don't copy them twice | |
300 | @issues.reject! {|issue| @issues.detect {|other| issue.is_descendant_of?(other)}} |
|
300 | @issues.reject! {|issue| @issues.detect {|other| issue.is_descendant_of?(other)}} | |
301 | end |
|
301 | end | |
302 |
|
302 | |||
303 | @issues.each do |orig_issue| |
|
303 | @issues.each do |orig_issue| | |
304 | orig_issue.reload |
|
304 | orig_issue.reload | |
305 | if @copy |
|
305 | if @copy | |
306 | issue = orig_issue.copy({}, |
|
306 | issue = orig_issue.copy({}, | |
307 | :attachments => copy_attachments, |
|
307 | :attachments => copy_attachments, | |
308 | :subtasks => copy_subtasks, |
|
308 | :subtasks => copy_subtasks, | |
309 | :link => link_copy?(params[:link_copy]) |
|
309 | :link => link_copy?(params[:link_copy]) | |
310 | ) |
|
310 | ) | |
311 | else |
|
311 | else | |
312 | issue = orig_issue |
|
312 | issue = orig_issue | |
313 | end |
|
313 | end | |
314 | journal = issue.init_journal(User.current, params[:notes]) |
|
314 | journal = issue.init_journal(User.current, params[:notes]) | |
315 | issue.safe_attributes = attributes |
|
315 | issue.safe_attributes = attributes | |
316 | call_hook(:controller_issues_bulk_edit_before_save, { :params => params, :issue => issue }) |
|
316 | call_hook(:controller_issues_bulk_edit_before_save, { :params => params, :issue => issue }) | |
317 | if issue.save |
|
317 | if issue.save | |
318 | saved_issues << issue |
|
318 | saved_issues << issue | |
319 | else |
|
319 | else | |
320 | unsaved_issues << orig_issue |
|
320 | unsaved_issues << orig_issue | |
321 | end |
|
321 | end | |
322 | end |
|
322 | end | |
323 |
|
323 | |||
324 | if unsaved_issues.empty? |
|
324 | if unsaved_issues.empty? | |
325 | flash[:notice] = l(:notice_successful_update) unless saved_issues.empty? |
|
325 | flash[:notice] = l(:notice_successful_update) unless saved_issues.empty? | |
326 | if params[:follow] |
|
326 | if params[:follow] | |
327 | if @issues.size == 1 && saved_issues.size == 1 |
|
327 | if @issues.size == 1 && saved_issues.size == 1 | |
328 | redirect_to issue_path(saved_issues.first) |
|
328 | redirect_to issue_path(saved_issues.first) | |
329 | elsif saved_issues.map(&:project).uniq.size == 1 |
|
329 | elsif saved_issues.map(&:project).uniq.size == 1 | |
330 | redirect_to project_issues_path(saved_issues.map(&:project).first) |
|
330 | redirect_to project_issues_path(saved_issues.map(&:project).first) | |
331 | end |
|
331 | end | |
332 | else |
|
332 | else | |
333 | redirect_back_or_default _project_issues_path(@project) |
|
333 | redirect_back_or_default _project_issues_path(@project) | |
334 | end |
|
334 | end | |
335 | else |
|
335 | else | |
336 | @saved_issues = @issues |
|
336 | @saved_issues = @issues | |
337 | @unsaved_issues = unsaved_issues |
|
337 | @unsaved_issues = unsaved_issues | |
338 | @issues = Issue.visible.where(:id => @unsaved_issues.map(&:id)).to_a |
|
338 | @issues = Issue.visible.where(:id => @unsaved_issues.map(&:id)).to_a | |
339 | bulk_edit |
|
339 | bulk_edit | |
340 | render :action => 'bulk_edit' |
|
340 | render :action => 'bulk_edit' | |
341 | end |
|
341 | end | |
342 | end |
|
342 | end | |
343 |
|
343 | |||
344 | def destroy |
|
344 | def destroy | |
345 | raise Unauthorized unless @issues.all?(&:deletable?) |
|
345 | raise Unauthorized unless @issues.all?(&:deletable?) | |
346 | @hours = TimeEntry.where(:issue_id => @issues.map(&:id)).sum(:hours).to_f |
|
346 | ||
|
347 | # all issues and their descendants are about to be deleted | |||
|
348 | issues_and_descendants_ids = Issue.self_and_descendants(@issues).pluck(:id) | |||
|
349 | time_entries = TimeEntry.where(:issue_id => issues_and_descendants_ids) | |||
|
350 | @hours = time_entries.sum(:hours).to_f | |||
|
351 | ||||
347 | if @hours > 0 |
|
352 | if @hours > 0 | |
348 | case params[:todo] |
|
353 | case params[:todo] | |
349 | when 'destroy' |
|
354 | when 'destroy' | |
350 | # nothing to do |
|
355 | # nothing to do | |
351 | when 'nullify' |
|
356 | when 'nullify' | |
352 |
|
|
357 | time_entries.update_all(:issue_id => nil) | |
353 | when 'reassign' |
|
358 | when 'reassign' | |
354 | reassign_to = @project.issues.find_by_id(params[:reassign_to_id]) |
|
359 | reassign_to = @project.issues.find_by_id(params[:reassign_to_id]) | |
355 | if reassign_to.nil? |
|
360 | if reassign_to.nil? | |
356 | flash.now[:error] = l(:error_issue_not_found_in_project) |
|
361 | flash.now[:error] = l(:error_issue_not_found_in_project) | |
357 | return |
|
362 | return | |
|
363 | elsif issues_and_descendants_ids.include?(reassign_to.id) | |||
|
364 | flash.now[:error] = l(:error_cannot_reassign_time_entries_to_an_issue_about_to_be_deleted) | |||
|
365 | return | |||
358 | else |
|
366 | else | |
359 | TimeEntry.where(['issue_id IN (?)', @issues]). |
|
367 | time_entries.update_all(:issue_id => reassign_to.id) | |
360 | update_all("issue_id = #{reassign_to.id}") |
|
|||
361 | end |
|
368 | end | |
362 | else |
|
369 | else | |
363 | # display the destroy form if it's a user request |
|
370 | # display the destroy form if it's a user request | |
364 | return unless api_request? |
|
371 | return unless api_request? | |
365 | end |
|
372 | end | |
366 | end |
|
373 | end | |
367 | @issues.each do |issue| |
|
374 | @issues.each do |issue| | |
368 | begin |
|
375 | begin | |
369 | issue.reload.destroy |
|
376 | issue.reload.destroy | |
370 | rescue ::ActiveRecord::RecordNotFound # raised by #reload if issue no longer exists |
|
377 | rescue ::ActiveRecord::RecordNotFound # raised by #reload if issue no longer exists | |
371 | # nothing to do, issue was already deleted (eg. by a parent) |
|
378 | # nothing to do, issue was already deleted (eg. by a parent) | |
372 | end |
|
379 | end | |
373 | end |
|
380 | end | |
374 | respond_to do |format| |
|
381 | respond_to do |format| | |
375 | format.html { redirect_back_or_default _project_issues_path(@project) } |
|
382 | format.html { redirect_back_or_default _project_issues_path(@project) } | |
376 | format.api { render_api_ok } |
|
383 | format.api { render_api_ok } | |
377 | end |
|
384 | end | |
378 | end |
|
385 | end | |
379 |
|
386 | |||
380 | # Overrides Redmine::MenuManager::MenuController::ClassMethods for |
|
387 | # Overrides Redmine::MenuManager::MenuController::ClassMethods for | |
381 | # when the "New issue" tab is enabled |
|
388 | # when the "New issue" tab is enabled | |
382 | def current_menu_item |
|
389 | def current_menu_item | |
383 | if Setting.new_item_menu_tab == '1' && [:new, :create].include?(action_name.to_sym) |
|
390 | if Setting.new_item_menu_tab == '1' && [:new, :create].include?(action_name.to_sym) | |
384 | :new_issue |
|
391 | :new_issue | |
385 | else |
|
392 | else | |
386 | super |
|
393 | super | |
387 | end |
|
394 | end | |
388 | end |
|
395 | end | |
389 |
|
396 | |||
390 | private |
|
397 | private | |
391 |
|
398 | |||
392 | def retrieve_previous_and_next_issue_ids |
|
399 | def retrieve_previous_and_next_issue_ids | |
393 | if params[:prev_issue_id].present? || params[:next_issue_id].present? |
|
400 | if params[:prev_issue_id].present? || params[:next_issue_id].present? | |
394 | @prev_issue_id = params[:prev_issue_id].presence.try(:to_i) |
|
401 | @prev_issue_id = params[:prev_issue_id].presence.try(:to_i) | |
395 | @next_issue_id = params[:next_issue_id].presence.try(:to_i) |
|
402 | @next_issue_id = params[:next_issue_id].presence.try(:to_i) | |
396 | @issue_position = params[:issue_position].presence.try(:to_i) |
|
403 | @issue_position = params[:issue_position].presence.try(:to_i) | |
397 | @issue_count = params[:issue_count].presence.try(:to_i) |
|
404 | @issue_count = params[:issue_count].presence.try(:to_i) | |
398 | else |
|
405 | else | |
399 | retrieve_query_from_session |
|
406 | retrieve_query_from_session | |
400 | if @query |
|
407 | if @query | |
401 | sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria) |
|
408 | sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria) | |
402 | sort_update(@query.sortable_columns, 'issues_index_sort') |
|
409 | sort_update(@query.sortable_columns, 'issues_index_sort') | |
403 | limit = 500 |
|
410 | limit = 500 | |
404 | issue_ids = @query.issue_ids(:order => sort_clause, :limit => (limit + 1), :include => [:assigned_to, :tracker, :priority, :category, :fixed_version]) |
|
411 | issue_ids = @query.issue_ids(:order => sort_clause, :limit => (limit + 1), :include => [:assigned_to, :tracker, :priority, :category, :fixed_version]) | |
405 | if (idx = issue_ids.index(@issue.id)) && idx < limit |
|
412 | if (idx = issue_ids.index(@issue.id)) && idx < limit | |
406 | if issue_ids.size < 500 |
|
413 | if issue_ids.size < 500 | |
407 | @issue_position = idx + 1 |
|
414 | @issue_position = idx + 1 | |
408 | @issue_count = issue_ids.size |
|
415 | @issue_count = issue_ids.size | |
409 | end |
|
416 | end | |
410 | @prev_issue_id = issue_ids[idx - 1] if idx > 0 |
|
417 | @prev_issue_id = issue_ids[idx - 1] if idx > 0 | |
411 | @next_issue_id = issue_ids[idx + 1] if idx < (issue_ids.size - 1) |
|
418 | @next_issue_id = issue_ids[idx + 1] if idx < (issue_ids.size - 1) | |
412 | end |
|
419 | end | |
413 | end |
|
420 | end | |
414 | end |
|
421 | end | |
415 | end |
|
422 | end | |
416 |
|
423 | |||
417 | def previous_and_next_issue_ids_params |
|
424 | def previous_and_next_issue_ids_params | |
418 | { |
|
425 | { | |
419 | :prev_issue_id => params[:prev_issue_id], |
|
426 | :prev_issue_id => params[:prev_issue_id], | |
420 | :next_issue_id => params[:next_issue_id], |
|
427 | :next_issue_id => params[:next_issue_id], | |
421 | :issue_position => params[:issue_position], |
|
428 | :issue_position => params[:issue_position], | |
422 | :issue_count => params[:issue_count] |
|
429 | :issue_count => params[:issue_count] | |
423 | }.reject {|k,v| k.blank?} |
|
430 | }.reject {|k,v| k.blank?} | |
424 | end |
|
431 | end | |
425 |
|
432 | |||
426 | # Used by #edit and #update to set some common instance variables |
|
433 | # Used by #edit and #update to set some common instance variables | |
427 | # from the params |
|
434 | # from the params | |
428 | def update_issue_from_params |
|
435 | def update_issue_from_params | |
429 | @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) |
|
436 | @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) | |
430 | if params[:time_entry] |
|
437 | if params[:time_entry] | |
431 | @time_entry.safe_attributes = params[:time_entry] |
|
438 | @time_entry.safe_attributes = params[:time_entry] | |
432 | end |
|
439 | end | |
433 |
|
440 | |||
434 | @issue.init_journal(User.current) |
|
441 | @issue.init_journal(User.current) | |
435 |
|
442 | |||
436 | issue_attributes = params[:issue] |
|
443 | issue_attributes = params[:issue] | |
437 | if issue_attributes && params[:conflict_resolution] |
|
444 | if issue_attributes && params[:conflict_resolution] | |
438 | case params[:conflict_resolution] |
|
445 | case params[:conflict_resolution] | |
439 | when 'overwrite' |
|
446 | when 'overwrite' | |
440 | issue_attributes = issue_attributes.dup |
|
447 | issue_attributes = issue_attributes.dup | |
441 | issue_attributes.delete(:lock_version) |
|
448 | issue_attributes.delete(:lock_version) | |
442 | when 'add_notes' |
|
449 | when 'add_notes' | |
443 | issue_attributes = issue_attributes.slice(:notes, :private_notes) |
|
450 | issue_attributes = issue_attributes.slice(:notes, :private_notes) | |
444 | when 'cancel' |
|
451 | when 'cancel' | |
445 | redirect_to issue_path(@issue) |
|
452 | redirect_to issue_path(@issue) | |
446 | return false |
|
453 | return false | |
447 | end |
|
454 | end | |
448 | end |
|
455 | end | |
449 | @issue.safe_attributes = issue_attributes |
|
456 | @issue.safe_attributes = issue_attributes | |
450 | @priorities = IssuePriority.active |
|
457 | @priorities = IssuePriority.active | |
451 | @allowed_statuses = @issue.new_statuses_allowed_to(User.current) |
|
458 | @allowed_statuses = @issue.new_statuses_allowed_to(User.current) | |
452 | true |
|
459 | true | |
453 | end |
|
460 | end | |
454 |
|
461 | |||
455 | # Used by #new and #create to build a new issue from the params |
|
462 | # Used by #new and #create to build a new issue from the params | |
456 | # The new issue will be copied from an existing one if copy_from parameter is given |
|
463 | # The new issue will be copied from an existing one if copy_from parameter is given | |
457 | def build_new_issue_from_params |
|
464 | def build_new_issue_from_params | |
458 | @issue = Issue.new |
|
465 | @issue = Issue.new | |
459 | if params[:copy_from] |
|
466 | if params[:copy_from] | |
460 | begin |
|
467 | begin | |
461 | @issue.init_journal(User.current) |
|
468 | @issue.init_journal(User.current) | |
462 | @copy_from = Issue.visible.find(params[:copy_from]) |
|
469 | @copy_from = Issue.visible.find(params[:copy_from]) | |
463 | unless User.current.allowed_to?(:copy_issues, @copy_from.project) |
|
470 | unless User.current.allowed_to?(:copy_issues, @copy_from.project) | |
464 | raise ::Unauthorized |
|
471 | raise ::Unauthorized | |
465 | end |
|
472 | end | |
466 | @link_copy = link_copy?(params[:link_copy]) || request.get? |
|
473 | @link_copy = link_copy?(params[:link_copy]) || request.get? | |
467 | @copy_attachments = params[:copy_attachments].present? || request.get? |
|
474 | @copy_attachments = params[:copy_attachments].present? || request.get? | |
468 | @copy_subtasks = params[:copy_subtasks].present? || request.get? |
|
475 | @copy_subtasks = params[:copy_subtasks].present? || request.get? | |
469 | @issue.copy_from(@copy_from, :attachments => @copy_attachments, :subtasks => @copy_subtasks, :link => @link_copy) |
|
476 | @issue.copy_from(@copy_from, :attachments => @copy_attachments, :subtasks => @copy_subtasks, :link => @link_copy) | |
470 | @issue.parent_issue_id = @copy_from.parent_id |
|
477 | @issue.parent_issue_id = @copy_from.parent_id | |
471 | rescue ActiveRecord::RecordNotFound |
|
478 | rescue ActiveRecord::RecordNotFound | |
472 | render_404 |
|
479 | render_404 | |
473 | return |
|
480 | return | |
474 | end |
|
481 | end | |
475 | end |
|
482 | end | |
476 | @issue.project = @project |
|
483 | @issue.project = @project | |
477 | if request.get? |
|
484 | if request.get? | |
478 | @issue.project ||= @issue.allowed_target_projects.first |
|
485 | @issue.project ||= @issue.allowed_target_projects.first | |
479 | end |
|
486 | end | |
480 | @issue.author ||= User.current |
|
487 | @issue.author ||= User.current | |
481 | @issue.start_date ||= User.current.today if Setting.default_issue_start_date_to_creation_date? |
|
488 | @issue.start_date ||= User.current.today if Setting.default_issue_start_date_to_creation_date? | |
482 |
|
489 | |||
483 | attrs = (params[:issue] || {}).deep_dup |
|
490 | attrs = (params[:issue] || {}).deep_dup | |
484 | if action_name == 'new' && params[:was_default_status] == attrs[:status_id] |
|
491 | if action_name == 'new' && params[:was_default_status] == attrs[:status_id] | |
485 | attrs.delete(:status_id) |
|
492 | attrs.delete(:status_id) | |
486 | end |
|
493 | end | |
487 | if action_name == 'new' && params[:form_update_triggered_by] == 'issue_project_id' |
|
494 | if action_name == 'new' && params[:form_update_triggered_by] == 'issue_project_id' | |
488 | # Discard submitted version when changing the project on the issue form |
|
495 | # Discard submitted version when changing the project on the issue form | |
489 | # so we can use the default version for the new project |
|
496 | # so we can use the default version for the new project | |
490 | attrs.delete(:fixed_version_id) |
|
497 | attrs.delete(:fixed_version_id) | |
491 | end |
|
498 | end | |
492 | @issue.safe_attributes = attrs |
|
499 | @issue.safe_attributes = attrs | |
493 |
|
500 | |||
494 | if @issue.project |
|
501 | if @issue.project | |
495 | @issue.tracker ||= @issue.allowed_target_trackers.first |
|
502 | @issue.tracker ||= @issue.allowed_target_trackers.first | |
496 | if @issue.tracker.nil? |
|
503 | if @issue.tracker.nil? | |
497 | if @issue.project.trackers.any? |
|
504 | if @issue.project.trackers.any? | |
498 | # None of the project trackers is allowed to the user |
|
505 | # None of the project trackers is allowed to the user | |
499 | render_error :message => l(:error_no_tracker_allowed_for_new_issue_in_project), :status => 403 |
|
506 | render_error :message => l(:error_no_tracker_allowed_for_new_issue_in_project), :status => 403 | |
500 | else |
|
507 | else | |
501 | # Project has no trackers |
|
508 | # Project has no trackers | |
502 | render_error l(:error_no_tracker_in_project) |
|
509 | render_error l(:error_no_tracker_in_project) | |
503 | end |
|
510 | end | |
504 | return false |
|
511 | return false | |
505 | end |
|
512 | end | |
506 | if @issue.status.nil? |
|
513 | if @issue.status.nil? | |
507 | render_error l(:error_no_default_issue_status) |
|
514 | render_error l(:error_no_default_issue_status) | |
508 | return false |
|
515 | return false | |
509 | end |
|
516 | end | |
510 | elsif request.get? |
|
517 | elsif request.get? | |
511 | render_error :message => l(:error_no_projects_with_tracker_allowed_for_new_issue), :status => 403 |
|
518 | render_error :message => l(:error_no_projects_with_tracker_allowed_for_new_issue), :status => 403 | |
512 | return false |
|
519 | return false | |
513 | end |
|
520 | end | |
514 |
|
521 | |||
515 | @priorities = IssuePriority.active |
|
522 | @priorities = IssuePriority.active | |
516 | @allowed_statuses = @issue.new_statuses_allowed_to(User.current) |
|
523 | @allowed_statuses = @issue.new_statuses_allowed_to(User.current) | |
517 | end |
|
524 | end | |
518 |
|
525 | |||
519 | # Saves @issue and a time_entry from the parameters |
|
526 | # Saves @issue and a time_entry from the parameters | |
520 | def save_issue_with_child_records |
|
527 | def save_issue_with_child_records | |
521 | Issue.transaction do |
|
528 | Issue.transaction do | |
522 | if params[:time_entry] && (params[:time_entry][:hours].present? || params[:time_entry][:comments].present?) && User.current.allowed_to?(:log_time, @issue.project) |
|
529 | if params[:time_entry] && (params[:time_entry][:hours].present? || params[:time_entry][:comments].present?) && User.current.allowed_to?(:log_time, @issue.project) | |
523 | time_entry = @time_entry || TimeEntry.new |
|
530 | time_entry = @time_entry || TimeEntry.new | |
524 | time_entry.project = @issue.project |
|
531 | time_entry.project = @issue.project | |
525 | time_entry.issue = @issue |
|
532 | time_entry.issue = @issue | |
526 | time_entry.user = User.current |
|
533 | time_entry.user = User.current | |
527 | time_entry.spent_on = User.current.today |
|
534 | time_entry.spent_on = User.current.today | |
528 | time_entry.attributes = params[:time_entry] |
|
535 | time_entry.attributes = params[:time_entry] | |
529 | @issue.time_entries << time_entry |
|
536 | @issue.time_entries << time_entry | |
530 | end |
|
537 | end | |
531 |
|
538 | |||
532 | call_hook(:controller_issues_edit_before_save, { :params => params, :issue => @issue, :time_entry => time_entry, :journal => @issue.current_journal}) |
|
539 | call_hook(:controller_issues_edit_before_save, { :params => params, :issue => @issue, :time_entry => time_entry, :journal => @issue.current_journal}) | |
533 | if @issue.save |
|
540 | if @issue.save | |
534 | call_hook(:controller_issues_edit_after_save, { :params => params, :issue => @issue, :time_entry => time_entry, :journal => @issue.current_journal}) |
|
541 | call_hook(:controller_issues_edit_after_save, { :params => params, :issue => @issue, :time_entry => time_entry, :journal => @issue.current_journal}) | |
535 | else |
|
542 | else | |
536 | raise ActiveRecord::Rollback |
|
543 | raise ActiveRecord::Rollback | |
537 | end |
|
544 | end | |
538 | end |
|
545 | end | |
539 | end |
|
546 | end | |
540 |
|
547 | |||
541 | # Returns true if the issue copy should be linked |
|
548 | # Returns true if the issue copy should be linked | |
542 | # to the original issue |
|
549 | # to the original issue | |
543 | def link_copy?(param) |
|
550 | def link_copy?(param) | |
544 | case Setting.link_copied_issue |
|
551 | case Setting.link_copied_issue | |
545 | when 'yes' |
|
552 | when 'yes' | |
546 | true |
|
553 | true | |
547 | when 'no' |
|
554 | when 'no' | |
548 | false |
|
555 | false | |
549 | when 'ask' |
|
556 | when 'ask' | |
550 | param == '1' |
|
557 | param == '1' | |
551 | end |
|
558 | end | |
552 | end |
|
559 | end | |
553 |
|
560 | |||
554 | # Redirects user after a successful issue creation |
|
561 | # Redirects user after a successful issue creation | |
555 | def redirect_after_create |
|
562 | def redirect_after_create | |
556 | if params[:continue] |
|
563 | if params[:continue] | |
557 | attrs = {:tracker_id => @issue.tracker, :parent_issue_id => @issue.parent_issue_id}.reject {|k,v| v.nil?} |
|
564 | attrs = {:tracker_id => @issue.tracker, :parent_issue_id => @issue.parent_issue_id}.reject {|k,v| v.nil?} | |
558 | if params[:project_id] |
|
565 | if params[:project_id] | |
559 | redirect_to new_project_issue_path(@issue.project, :issue => attrs) |
|
566 | redirect_to new_project_issue_path(@issue.project, :issue => attrs) | |
560 | else |
|
567 | else | |
561 | attrs.merge! :project_id => @issue.project_id |
|
568 | attrs.merge! :project_id => @issue.project_id | |
562 | redirect_to new_issue_path(:issue => attrs) |
|
569 | redirect_to new_issue_path(:issue => attrs) | |
563 | end |
|
570 | end | |
564 | else |
|
571 | else | |
565 | redirect_to issue_path(@issue) |
|
572 | redirect_to issue_path(@issue) | |
566 | end |
|
573 | end | |
567 | end |
|
574 | end | |
568 | end |
|
575 | end |
@@ -1,1755 +1,1764 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2016 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2016 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 Issue < ActiveRecord::Base |
|
18 | class Issue < ActiveRecord::Base | |
19 | include Redmine::SafeAttributes |
|
19 | include Redmine::SafeAttributes | |
20 | include Redmine::Utils::DateCalculation |
|
20 | include Redmine::Utils::DateCalculation | |
21 | include Redmine::I18n |
|
21 | include Redmine::I18n | |
22 | before_save :set_parent_id |
|
22 | before_save :set_parent_id | |
23 | include Redmine::NestedSet::IssueNestedSet |
|
23 | include Redmine::NestedSet::IssueNestedSet | |
24 |
|
24 | |||
25 | belongs_to :project |
|
25 | belongs_to :project | |
26 | belongs_to :tracker |
|
26 | belongs_to :tracker | |
27 | belongs_to :status, :class_name => 'IssueStatus' |
|
27 | belongs_to :status, :class_name => 'IssueStatus' | |
28 | belongs_to :author, :class_name => 'User' |
|
28 | belongs_to :author, :class_name => 'User' | |
29 | belongs_to :assigned_to, :class_name => 'Principal' |
|
29 | belongs_to :assigned_to, :class_name => 'Principal' | |
30 | belongs_to :fixed_version, :class_name => 'Version' |
|
30 | belongs_to :fixed_version, :class_name => 'Version' | |
31 | belongs_to :priority, :class_name => 'IssuePriority' |
|
31 | belongs_to :priority, :class_name => 'IssuePriority' | |
32 | belongs_to :category, :class_name => 'IssueCategory' |
|
32 | belongs_to :category, :class_name => 'IssueCategory' | |
33 |
|
33 | |||
34 | has_many :journals, :as => :journalized, :dependent => :destroy, :inverse_of => :journalized |
|
34 | has_many :journals, :as => :journalized, :dependent => :destroy, :inverse_of => :journalized | |
35 | has_many :visible_journals, |
|
35 | has_many :visible_journals, | |
36 | lambda {where(["(#{Journal.table_name}.private_notes = ? OR (#{Project.allowed_to_condition(User.current, :view_private_notes)}))", false])}, |
|
36 | lambda {where(["(#{Journal.table_name}.private_notes = ? OR (#{Project.allowed_to_condition(User.current, :view_private_notes)}))", false])}, | |
37 | :class_name => 'Journal', |
|
37 | :class_name => 'Journal', | |
38 | :as => :journalized |
|
38 | :as => :journalized | |
39 |
|
39 | |||
40 | has_many :time_entries, :dependent => :destroy |
|
40 | has_many :time_entries, :dependent => :destroy | |
41 | has_and_belongs_to_many :changesets, lambda {order("#{Changeset.table_name}.committed_on ASC, #{Changeset.table_name}.id ASC")} |
|
41 | has_and_belongs_to_many :changesets, lambda {order("#{Changeset.table_name}.committed_on ASC, #{Changeset.table_name}.id ASC")} | |
42 |
|
42 | |||
43 | has_many :relations_from, :class_name => 'IssueRelation', :foreign_key => 'issue_from_id', :dependent => :delete_all |
|
43 | has_many :relations_from, :class_name => 'IssueRelation', :foreign_key => 'issue_from_id', :dependent => :delete_all | |
44 | has_many :relations_to, :class_name => 'IssueRelation', :foreign_key => 'issue_to_id', :dependent => :delete_all |
|
44 | has_many :relations_to, :class_name => 'IssueRelation', :foreign_key => 'issue_to_id', :dependent => :delete_all | |
45 |
|
45 | |||
46 | acts_as_attachable :after_add => :attachment_added, :after_remove => :attachment_removed |
|
46 | acts_as_attachable :after_add => :attachment_added, :after_remove => :attachment_removed | |
47 | acts_as_customizable |
|
47 | acts_as_customizable | |
48 | acts_as_watchable |
|
48 | acts_as_watchable | |
49 | acts_as_searchable :columns => ['subject', "#{table_name}.description"], |
|
49 | acts_as_searchable :columns => ['subject', "#{table_name}.description"], | |
50 | :preload => [:project, :status, :tracker], |
|
50 | :preload => [:project, :status, :tracker], | |
51 | :scope => lambda {|options| options[:open_issues] ? self.open : self.all} |
|
51 | :scope => lambda {|options| options[:open_issues] ? self.open : self.all} | |
52 |
|
52 | |||
53 | acts_as_event :title => Proc.new {|o| "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"}, |
|
53 | acts_as_event :title => Proc.new {|o| "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"}, | |
54 | :url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.id}}, |
|
54 | :url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.id}}, | |
55 | :type => Proc.new {|o| 'issue' + (o.closed? ? '-closed' : '') } |
|
55 | :type => Proc.new {|o| 'issue' + (o.closed? ? '-closed' : '') } | |
56 |
|
56 | |||
57 | acts_as_activity_provider :scope => preload(:project, :author, :tracker, :status), |
|
57 | acts_as_activity_provider :scope => preload(:project, :author, :tracker, :status), | |
58 | :author_key => :author_id |
|
58 | :author_key => :author_id | |
59 |
|
59 | |||
60 | DONE_RATIO_OPTIONS = %w(issue_field issue_status) |
|
60 | DONE_RATIO_OPTIONS = %w(issue_field issue_status) | |
61 |
|
61 | |||
62 | attr_accessor :deleted_attachment_ids |
|
62 | attr_accessor :deleted_attachment_ids | |
63 | attr_reader :current_journal |
|
63 | attr_reader :current_journal | |
64 | delegate :notes, :notes=, :private_notes, :private_notes=, :to => :current_journal, :allow_nil => true |
|
64 | delegate :notes, :notes=, :private_notes, :private_notes=, :to => :current_journal, :allow_nil => true | |
65 |
|
65 | |||
66 | validates_presence_of :subject, :project, :tracker |
|
66 | validates_presence_of :subject, :project, :tracker | |
67 | validates_presence_of :priority, :if => Proc.new {|issue| issue.new_record? || issue.priority_id_changed?} |
|
67 | validates_presence_of :priority, :if => Proc.new {|issue| issue.new_record? || issue.priority_id_changed?} | |
68 | validates_presence_of :status, :if => Proc.new {|issue| issue.new_record? || issue.status_id_changed?} |
|
68 | validates_presence_of :status, :if => Proc.new {|issue| issue.new_record? || issue.status_id_changed?} | |
69 | validates_presence_of :author, :if => Proc.new {|issue| issue.new_record? || issue.author_id_changed?} |
|
69 | validates_presence_of :author, :if => Proc.new {|issue| issue.new_record? || issue.author_id_changed?} | |
70 |
|
70 | |||
71 | validates_length_of :subject, :maximum => 255 |
|
71 | validates_length_of :subject, :maximum => 255 | |
72 | validates_inclusion_of :done_ratio, :in => 0..100 |
|
72 | validates_inclusion_of :done_ratio, :in => 0..100 | |
73 | validates :estimated_hours, :numericality => {:greater_than_or_equal_to => 0, :allow_nil => true, :message => :invalid} |
|
73 | validates :estimated_hours, :numericality => {:greater_than_or_equal_to => 0, :allow_nil => true, :message => :invalid} | |
74 | validates :start_date, :date => true |
|
74 | validates :start_date, :date => true | |
75 | validates :due_date, :date => true |
|
75 | validates :due_date, :date => true | |
76 | validate :validate_issue, :validate_required_fields |
|
76 | validate :validate_issue, :validate_required_fields | |
77 | attr_protected :id |
|
77 | attr_protected :id | |
78 |
|
78 | |||
79 | scope :visible, lambda {|*args| |
|
79 | scope :visible, lambda {|*args| | |
80 | joins(:project). |
|
80 | joins(:project). | |
81 | where(Issue.visible_condition(args.shift || User.current, *args)) |
|
81 | where(Issue.visible_condition(args.shift || User.current, *args)) | |
82 | } |
|
82 | } | |
83 |
|
83 | |||
84 | scope :open, lambda {|*args| |
|
84 | scope :open, lambda {|*args| | |
85 | is_closed = args.size > 0 ? !args.first : false |
|
85 | is_closed = args.size > 0 ? !args.first : false | |
86 | joins(:status). |
|
86 | joins(:status). | |
87 | where("#{IssueStatus.table_name}.is_closed = ?", is_closed) |
|
87 | where("#{IssueStatus.table_name}.is_closed = ?", is_closed) | |
88 | } |
|
88 | } | |
89 |
|
89 | |||
90 | scope :recently_updated, lambda { order("#{Issue.table_name}.updated_on DESC") } |
|
90 | scope :recently_updated, lambda { order("#{Issue.table_name}.updated_on DESC") } | |
91 | scope :on_active_project, lambda { |
|
91 | scope :on_active_project, lambda { | |
92 | joins(:project). |
|
92 | joins(:project). | |
93 | where("#{Project.table_name}.status = ?", Project::STATUS_ACTIVE) |
|
93 | where("#{Project.table_name}.status = ?", Project::STATUS_ACTIVE) | |
94 | } |
|
94 | } | |
95 | scope :fixed_version, lambda {|versions| |
|
95 | scope :fixed_version, lambda {|versions| | |
96 | ids = [versions].flatten.compact.map {|v| v.is_a?(Version) ? v.id : v} |
|
96 | ids = [versions].flatten.compact.map {|v| v.is_a?(Version) ? v.id : v} | |
97 | ids.any? ? where(:fixed_version_id => ids) : where('1=0') |
|
97 | ids.any? ? where(:fixed_version_id => ids) : where('1=0') | |
98 | } |
|
98 | } | |
99 | scope :assigned_to, lambda {|arg| |
|
99 | scope :assigned_to, lambda {|arg| | |
100 | arg = Array(arg).uniq |
|
100 | arg = Array(arg).uniq | |
101 | ids = arg.map {|p| p.is_a?(Principal) ? p.id : p} |
|
101 | ids = arg.map {|p| p.is_a?(Principal) ? p.id : p} | |
102 | ids += arg.select {|p| p.is_a?(User)}.map(&:group_ids).flatten.uniq |
|
102 | ids += arg.select {|p| p.is_a?(User)}.map(&:group_ids).flatten.uniq | |
103 | ids.compact! |
|
103 | ids.compact! | |
104 | ids.any? ? where(:assigned_to_id => ids) : none |
|
104 | ids.any? ? where(:assigned_to_id => ids) : none | |
105 | } |
|
105 | } | |
106 |
|
106 | |||
107 | before_validation :clear_disabled_fields |
|
107 | before_validation :clear_disabled_fields | |
108 | before_create :default_assign |
|
108 | before_create :default_assign | |
109 | before_save :close_duplicates, :update_done_ratio_from_issue_status, |
|
109 | before_save :close_duplicates, :update_done_ratio_from_issue_status, | |
110 | :force_updated_on_change, :update_closed_on, :set_assigned_to_was |
|
110 | :force_updated_on_change, :update_closed_on, :set_assigned_to_was | |
111 | after_save {|issue| issue.send :after_project_change if !issue.id_changed? && issue.project_id_changed?} |
|
111 | after_save {|issue| issue.send :after_project_change if !issue.id_changed? && issue.project_id_changed?} | |
112 | after_save :reschedule_following_issues, :update_nested_set_attributes, |
|
112 | after_save :reschedule_following_issues, :update_nested_set_attributes, | |
113 | :update_parent_attributes, :delete_selected_attachments, :create_journal |
|
113 | :update_parent_attributes, :delete_selected_attachments, :create_journal | |
114 | # Should be after_create but would be called before previous after_save callbacks |
|
114 | # Should be after_create but would be called before previous after_save callbacks | |
115 | after_save :after_create_from_copy |
|
115 | after_save :after_create_from_copy | |
116 | after_destroy :update_parent_attributes |
|
116 | after_destroy :update_parent_attributes | |
117 | after_create :send_notification |
|
117 | after_create :send_notification | |
118 | # Keep it at the end of after_save callbacks |
|
118 | # Keep it at the end of after_save callbacks | |
119 | after_save :clear_assigned_to_was |
|
119 | after_save :clear_assigned_to_was | |
120 |
|
120 | |||
121 | # Returns a SQL conditions string used to find all issues visible by the specified user |
|
121 | # Returns a SQL conditions string used to find all issues visible by the specified user | |
122 | def self.visible_condition(user, options={}) |
|
122 | def self.visible_condition(user, options={}) | |
123 | Project.allowed_to_condition(user, :view_issues, options) do |role, user| |
|
123 | Project.allowed_to_condition(user, :view_issues, options) do |role, user| | |
124 | sql = if user.id && user.logged? |
|
124 | sql = if user.id && user.logged? | |
125 | case role.issues_visibility |
|
125 | case role.issues_visibility | |
126 | when 'all' |
|
126 | when 'all' | |
127 | '1=1' |
|
127 | '1=1' | |
128 | when 'default' |
|
128 | when 'default' | |
129 | user_ids = [user.id] + user.groups.map(&:id).compact |
|
129 | user_ids = [user.id] + user.groups.map(&:id).compact | |
130 | "(#{table_name}.is_private = #{connection.quoted_false} OR #{table_name}.author_id = #{user.id} OR #{table_name}.assigned_to_id IN (#{user_ids.join(',')}))" |
|
130 | "(#{table_name}.is_private = #{connection.quoted_false} OR #{table_name}.author_id = #{user.id} OR #{table_name}.assigned_to_id IN (#{user_ids.join(',')}))" | |
131 | when 'own' |
|
131 | when 'own' | |
132 | user_ids = [user.id] + user.groups.map(&:id).compact |
|
132 | user_ids = [user.id] + user.groups.map(&:id).compact | |
133 | "(#{table_name}.author_id = #{user.id} OR #{table_name}.assigned_to_id IN (#{user_ids.join(',')}))" |
|
133 | "(#{table_name}.author_id = #{user.id} OR #{table_name}.assigned_to_id IN (#{user_ids.join(',')}))" | |
134 | else |
|
134 | else | |
135 | '1=0' |
|
135 | '1=0' | |
136 | end |
|
136 | end | |
137 | else |
|
137 | else | |
138 | "(#{table_name}.is_private = #{connection.quoted_false})" |
|
138 | "(#{table_name}.is_private = #{connection.quoted_false})" | |
139 | end |
|
139 | end | |
140 | unless role.permissions_all_trackers?(:view_issues) |
|
140 | unless role.permissions_all_trackers?(:view_issues) | |
141 | tracker_ids = role.permissions_tracker_ids(:view_issues) |
|
141 | tracker_ids = role.permissions_tracker_ids(:view_issues) | |
142 | if tracker_ids.any? |
|
142 | if tracker_ids.any? | |
143 | sql = "(#{sql} AND #{table_name}.tracker_id IN (#{tracker_ids.join(',')}))" |
|
143 | sql = "(#{sql} AND #{table_name}.tracker_id IN (#{tracker_ids.join(',')}))" | |
144 | else |
|
144 | else | |
145 | sql = '1=0' |
|
145 | sql = '1=0' | |
146 | end |
|
146 | end | |
147 | end |
|
147 | end | |
148 | sql |
|
148 | sql | |
149 | end |
|
149 | end | |
150 | end |
|
150 | end | |
151 |
|
151 | |||
152 | # Returns true if usr or current user is allowed to view the issue |
|
152 | # Returns true if usr or current user is allowed to view the issue | |
153 | def visible?(usr=nil) |
|
153 | def visible?(usr=nil) | |
154 | (usr || User.current).allowed_to?(:view_issues, self.project) do |role, user| |
|
154 | (usr || User.current).allowed_to?(:view_issues, self.project) do |role, user| | |
155 | visible = if user.logged? |
|
155 | visible = if user.logged? | |
156 | case role.issues_visibility |
|
156 | case role.issues_visibility | |
157 | when 'all' |
|
157 | when 'all' | |
158 | true |
|
158 | true | |
159 | when 'default' |
|
159 | when 'default' | |
160 | !self.is_private? || (self.author == user || user.is_or_belongs_to?(assigned_to)) |
|
160 | !self.is_private? || (self.author == user || user.is_or_belongs_to?(assigned_to)) | |
161 | when 'own' |
|
161 | when 'own' | |
162 | self.author == user || user.is_or_belongs_to?(assigned_to) |
|
162 | self.author == user || user.is_or_belongs_to?(assigned_to) | |
163 | else |
|
163 | else | |
164 | false |
|
164 | false | |
165 | end |
|
165 | end | |
166 | else |
|
166 | else | |
167 | !self.is_private? |
|
167 | !self.is_private? | |
168 | end |
|
168 | end | |
169 | unless role.permissions_all_trackers?(:view_issues) |
|
169 | unless role.permissions_all_trackers?(:view_issues) | |
170 | visible &&= role.permissions_tracker_ids?(:view_issues, tracker_id) |
|
170 | visible &&= role.permissions_tracker_ids?(:view_issues, tracker_id) | |
171 | end |
|
171 | end | |
172 | visible |
|
172 | visible | |
173 | end |
|
173 | end | |
174 | end |
|
174 | end | |
175 |
|
175 | |||
176 | # Returns true if user or current user is allowed to edit or add notes to the issue |
|
176 | # Returns true if user or current user is allowed to edit or add notes to the issue | |
177 | def editable?(user=User.current) |
|
177 | def editable?(user=User.current) | |
178 | attributes_editable?(user) || notes_addable?(user) |
|
178 | attributes_editable?(user) || notes_addable?(user) | |
179 | end |
|
179 | end | |
180 |
|
180 | |||
181 | # Returns true if user or current user is allowed to edit the issue |
|
181 | # Returns true if user or current user is allowed to edit the issue | |
182 | def attributes_editable?(user=User.current) |
|
182 | def attributes_editable?(user=User.current) | |
183 | user_tracker_permission?(user, :edit_issues) |
|
183 | user_tracker_permission?(user, :edit_issues) | |
184 | end |
|
184 | end | |
185 |
|
185 | |||
186 | # Overrides Redmine::Acts::Attachable::InstanceMethods#attachments_editable? |
|
186 | # Overrides Redmine::Acts::Attachable::InstanceMethods#attachments_editable? | |
187 | def attachments_editable?(user=User.current) |
|
187 | def attachments_editable?(user=User.current) | |
188 | attributes_editable?(user) |
|
188 | attributes_editable?(user) | |
189 | end |
|
189 | end | |
190 |
|
190 | |||
191 | # Returns true if user or current user is allowed to add notes to the issue |
|
191 | # Returns true if user or current user is allowed to add notes to the issue | |
192 | def notes_addable?(user=User.current) |
|
192 | def notes_addable?(user=User.current) | |
193 | user_tracker_permission?(user, :add_issue_notes) |
|
193 | user_tracker_permission?(user, :add_issue_notes) | |
194 | end |
|
194 | end | |
195 |
|
195 | |||
196 | # Returns true if user or current user is allowed to delete the issue |
|
196 | # Returns true if user or current user is allowed to delete the issue | |
197 | def deletable?(user=User.current) |
|
197 | def deletable?(user=User.current) | |
198 | user_tracker_permission?(user, :delete_issues) |
|
198 | user_tracker_permission?(user, :delete_issues) | |
199 | end |
|
199 | end | |
200 |
|
200 | |||
201 | def initialize(attributes=nil, *args) |
|
201 | def initialize(attributes=nil, *args) | |
202 | super |
|
202 | super | |
203 | if new_record? |
|
203 | if new_record? | |
204 | # set default values for new records only |
|
204 | # set default values for new records only | |
205 | self.priority ||= IssuePriority.default |
|
205 | self.priority ||= IssuePriority.default | |
206 | self.watcher_user_ids = [] |
|
206 | self.watcher_user_ids = [] | |
207 | end |
|
207 | end | |
208 | end |
|
208 | end | |
209 |
|
209 | |||
210 | def create_or_update |
|
210 | def create_or_update | |
211 | super |
|
211 | super | |
212 | ensure |
|
212 | ensure | |
213 | @status_was = nil |
|
213 | @status_was = nil | |
214 | end |
|
214 | end | |
215 | private :create_or_update |
|
215 | private :create_or_update | |
216 |
|
216 | |||
217 | # AR#Persistence#destroy would raise and RecordNotFound exception |
|
217 | # AR#Persistence#destroy would raise and RecordNotFound exception | |
218 | # if the issue was already deleted or updated (non matching lock_version). |
|
218 | # if the issue was already deleted or updated (non matching lock_version). | |
219 | # This is a problem when bulk deleting issues or deleting a project |
|
219 | # This is a problem when bulk deleting issues or deleting a project | |
220 | # (because an issue may already be deleted if its parent was deleted |
|
220 | # (because an issue may already be deleted if its parent was deleted | |
221 | # first). |
|
221 | # first). | |
222 | # The issue is reloaded by the nested_set before being deleted so |
|
222 | # The issue is reloaded by the nested_set before being deleted so | |
223 | # the lock_version condition should not be an issue but we handle it. |
|
223 | # the lock_version condition should not be an issue but we handle it. | |
224 | def destroy |
|
224 | def destroy | |
225 | super |
|
225 | super | |
226 | rescue ActiveRecord::StaleObjectError, ActiveRecord::RecordNotFound |
|
226 | rescue ActiveRecord::StaleObjectError, ActiveRecord::RecordNotFound | |
227 | # Stale or already deleted |
|
227 | # Stale or already deleted | |
228 | begin |
|
228 | begin | |
229 | reload |
|
229 | reload | |
230 | rescue ActiveRecord::RecordNotFound |
|
230 | rescue ActiveRecord::RecordNotFound | |
231 | # The issue was actually already deleted |
|
231 | # The issue was actually already deleted | |
232 | @destroyed = true |
|
232 | @destroyed = true | |
233 | return freeze |
|
233 | return freeze | |
234 | end |
|
234 | end | |
235 | # The issue was stale, retry to destroy |
|
235 | # The issue was stale, retry to destroy | |
236 | super |
|
236 | super | |
237 | end |
|
237 | end | |
238 |
|
238 | |||
239 | alias :base_reload :reload |
|
239 | alias :base_reload :reload | |
240 | def reload(*args) |
|
240 | def reload(*args) | |
241 | @workflow_rule_by_attribute = nil |
|
241 | @workflow_rule_by_attribute = nil | |
242 | @assignable_versions = nil |
|
242 | @assignable_versions = nil | |
243 | @relations = nil |
|
243 | @relations = nil | |
244 | @spent_hours = nil |
|
244 | @spent_hours = nil | |
245 | @total_spent_hours = nil |
|
245 | @total_spent_hours = nil | |
246 | @total_estimated_hours = nil |
|
246 | @total_estimated_hours = nil | |
247 | base_reload(*args) |
|
247 | base_reload(*args) | |
248 | end |
|
248 | end | |
249 |
|
249 | |||
250 | # Overrides Redmine::Acts::Customizable::InstanceMethods#available_custom_fields |
|
250 | # Overrides Redmine::Acts::Customizable::InstanceMethods#available_custom_fields | |
251 | def available_custom_fields |
|
251 | def available_custom_fields | |
252 | (project && tracker) ? (project.all_issue_custom_fields & tracker.custom_fields) : [] |
|
252 | (project && tracker) ? (project.all_issue_custom_fields & tracker.custom_fields) : [] | |
253 | end |
|
253 | end | |
254 |
|
254 | |||
255 | def visible_custom_field_values(user=nil) |
|
255 | def visible_custom_field_values(user=nil) | |
256 | user_real = user || User.current |
|
256 | user_real = user || User.current | |
257 | custom_field_values.select do |value| |
|
257 | custom_field_values.select do |value| | |
258 | value.custom_field.visible_by?(project, user_real) |
|
258 | value.custom_field.visible_by?(project, user_real) | |
259 | end |
|
259 | end | |
260 | end |
|
260 | end | |
261 |
|
261 | |||
262 | # Copies attributes from another issue, arg can be an id or an Issue |
|
262 | # Copies attributes from another issue, arg can be an id or an Issue | |
263 | def copy_from(arg, options={}) |
|
263 | def copy_from(arg, options={}) | |
264 | issue = arg.is_a?(Issue) ? arg : Issue.visible.find(arg) |
|
264 | issue = arg.is_a?(Issue) ? arg : Issue.visible.find(arg) | |
265 | self.attributes = issue.attributes.dup.except("id", "root_id", "parent_id", "lft", "rgt", "created_on", "updated_on", "closed_on") |
|
265 | self.attributes = issue.attributes.dup.except("id", "root_id", "parent_id", "lft", "rgt", "created_on", "updated_on", "closed_on") | |
266 | self.custom_field_values = issue.custom_field_values.inject({}) {|h,v| h[v.custom_field_id] = v.value; h} |
|
266 | self.custom_field_values = issue.custom_field_values.inject({}) {|h,v| h[v.custom_field_id] = v.value; h} | |
267 | self.status = issue.status |
|
267 | self.status = issue.status | |
268 | self.author = User.current |
|
268 | self.author = User.current | |
269 | unless options[:attachments] == false |
|
269 | unless options[:attachments] == false | |
270 | self.attachments = issue.attachments.map do |attachement| |
|
270 | self.attachments = issue.attachments.map do |attachement| | |
271 | attachement.copy(:container => self) |
|
271 | attachement.copy(:container => self) | |
272 | end |
|
272 | end | |
273 | end |
|
273 | end | |
274 | @copied_from = issue |
|
274 | @copied_from = issue | |
275 | @copy_options = options |
|
275 | @copy_options = options | |
276 | self |
|
276 | self | |
277 | end |
|
277 | end | |
278 |
|
278 | |||
279 | # Returns an unsaved copy of the issue |
|
279 | # Returns an unsaved copy of the issue | |
280 | def copy(attributes=nil, copy_options={}) |
|
280 | def copy(attributes=nil, copy_options={}) | |
281 | copy = self.class.new.copy_from(self, copy_options) |
|
281 | copy = self.class.new.copy_from(self, copy_options) | |
282 | copy.attributes = attributes if attributes |
|
282 | copy.attributes = attributes if attributes | |
283 | copy |
|
283 | copy | |
284 | end |
|
284 | end | |
285 |
|
285 | |||
286 | # Returns true if the issue is a copy |
|
286 | # Returns true if the issue is a copy | |
287 | def copy? |
|
287 | def copy? | |
288 | @copied_from.present? |
|
288 | @copied_from.present? | |
289 | end |
|
289 | end | |
290 |
|
290 | |||
291 | def status_id=(status_id) |
|
291 | def status_id=(status_id) | |
292 | if status_id.to_s != self.status_id.to_s |
|
292 | if status_id.to_s != self.status_id.to_s | |
293 | self.status = (status_id.present? ? IssueStatus.find_by_id(status_id) : nil) |
|
293 | self.status = (status_id.present? ? IssueStatus.find_by_id(status_id) : nil) | |
294 | end |
|
294 | end | |
295 | self.status_id |
|
295 | self.status_id | |
296 | end |
|
296 | end | |
297 |
|
297 | |||
298 | # Sets the status. |
|
298 | # Sets the status. | |
299 | def status=(status) |
|
299 | def status=(status) | |
300 | if status != self.status |
|
300 | if status != self.status | |
301 | @workflow_rule_by_attribute = nil |
|
301 | @workflow_rule_by_attribute = nil | |
302 | end |
|
302 | end | |
303 | association(:status).writer(status) |
|
303 | association(:status).writer(status) | |
304 | end |
|
304 | end | |
305 |
|
305 | |||
306 | def priority_id=(pid) |
|
306 | def priority_id=(pid) | |
307 | self.priority = nil |
|
307 | self.priority = nil | |
308 | write_attribute(:priority_id, pid) |
|
308 | write_attribute(:priority_id, pid) | |
309 | end |
|
309 | end | |
310 |
|
310 | |||
311 | def category_id=(cid) |
|
311 | def category_id=(cid) | |
312 | self.category = nil |
|
312 | self.category = nil | |
313 | write_attribute(:category_id, cid) |
|
313 | write_attribute(:category_id, cid) | |
314 | end |
|
314 | end | |
315 |
|
315 | |||
316 | def fixed_version_id=(vid) |
|
316 | def fixed_version_id=(vid) | |
317 | self.fixed_version = nil |
|
317 | self.fixed_version = nil | |
318 | write_attribute(:fixed_version_id, vid) |
|
318 | write_attribute(:fixed_version_id, vid) | |
319 | end |
|
319 | end | |
320 |
|
320 | |||
321 | def tracker_id=(tracker_id) |
|
321 | def tracker_id=(tracker_id) | |
322 | if tracker_id.to_s != self.tracker_id.to_s |
|
322 | if tracker_id.to_s != self.tracker_id.to_s | |
323 | self.tracker = (tracker_id.present? ? Tracker.find_by_id(tracker_id) : nil) |
|
323 | self.tracker = (tracker_id.present? ? Tracker.find_by_id(tracker_id) : nil) | |
324 | end |
|
324 | end | |
325 | self.tracker_id |
|
325 | self.tracker_id | |
326 | end |
|
326 | end | |
327 |
|
327 | |||
328 | # Sets the tracker. |
|
328 | # Sets the tracker. | |
329 | # This will set the status to the default status of the new tracker if: |
|
329 | # This will set the status to the default status of the new tracker if: | |
330 | # * the status was the default for the previous tracker |
|
330 | # * the status was the default for the previous tracker | |
331 | # * or if the status was not part of the new tracker statuses |
|
331 | # * or if the status was not part of the new tracker statuses | |
332 | # * or the status was nil |
|
332 | # * or the status was nil | |
333 | def tracker=(tracker) |
|
333 | def tracker=(tracker) | |
334 | tracker_was = self.tracker |
|
334 | tracker_was = self.tracker | |
335 | association(:tracker).writer(tracker) |
|
335 | association(:tracker).writer(tracker) | |
336 | if tracker != tracker_was |
|
336 | if tracker != tracker_was | |
337 | if status == tracker_was.try(:default_status) |
|
337 | if status == tracker_was.try(:default_status) | |
338 | self.status = nil |
|
338 | self.status = nil | |
339 | elsif status && tracker && !tracker.issue_status_ids.include?(status.id) |
|
339 | elsif status && tracker && !tracker.issue_status_ids.include?(status.id) | |
340 | self.status = nil |
|
340 | self.status = nil | |
341 | end |
|
341 | end | |
342 | reassign_custom_field_values |
|
342 | reassign_custom_field_values | |
343 | @workflow_rule_by_attribute = nil |
|
343 | @workflow_rule_by_attribute = nil | |
344 | end |
|
344 | end | |
345 | self.status ||= default_status |
|
345 | self.status ||= default_status | |
346 | self.tracker |
|
346 | self.tracker | |
347 | end |
|
347 | end | |
348 |
|
348 | |||
349 | def project_id=(project_id) |
|
349 | def project_id=(project_id) | |
350 | if project_id.to_s != self.project_id.to_s |
|
350 | if project_id.to_s != self.project_id.to_s | |
351 | self.project = (project_id.present? ? Project.find_by_id(project_id) : nil) |
|
351 | self.project = (project_id.present? ? Project.find_by_id(project_id) : nil) | |
352 | end |
|
352 | end | |
353 | self.project_id |
|
353 | self.project_id | |
354 | end |
|
354 | end | |
355 |
|
355 | |||
356 | # Sets the project. |
|
356 | # Sets the project. | |
357 | # Unless keep_tracker argument is set to true, this will change the tracker |
|
357 | # Unless keep_tracker argument is set to true, this will change the tracker | |
358 | # to the first tracker of the new project if the previous tracker is not part |
|
358 | # to the first tracker of the new project if the previous tracker is not part | |
359 | # of the new project trackers. |
|
359 | # of the new project trackers. | |
360 | # This will: |
|
360 | # This will: | |
361 | # * clear the fixed_version is it's no longer valid for the new project. |
|
361 | # * clear the fixed_version is it's no longer valid for the new project. | |
362 | # * clear the parent issue if it's no longer valid for the new project. |
|
362 | # * clear the parent issue if it's no longer valid for the new project. | |
363 | # * set the category to the category with the same name in the new |
|
363 | # * set the category to the category with the same name in the new | |
364 | # project if it exists, or clear it if it doesn't. |
|
364 | # project if it exists, or clear it if it doesn't. | |
365 | # * for new issue, set the fixed_version to the project default version |
|
365 | # * for new issue, set the fixed_version to the project default version | |
366 | # if it's a valid fixed_version. |
|
366 | # if it's a valid fixed_version. | |
367 | def project=(project, keep_tracker=false) |
|
367 | def project=(project, keep_tracker=false) | |
368 | project_was = self.project |
|
368 | project_was = self.project | |
369 | association(:project).writer(project) |
|
369 | association(:project).writer(project) | |
370 | if project_was && project && project_was != project |
|
370 | if project_was && project && project_was != project | |
371 | @assignable_versions = nil |
|
371 | @assignable_versions = nil | |
372 |
|
372 | |||
373 | unless keep_tracker || project.trackers.include?(tracker) |
|
373 | unless keep_tracker || project.trackers.include?(tracker) | |
374 | self.tracker = project.trackers.first |
|
374 | self.tracker = project.trackers.first | |
375 | end |
|
375 | end | |
376 | # Reassign to the category with same name if any |
|
376 | # Reassign to the category with same name if any | |
377 | if category |
|
377 | if category | |
378 | self.category = project.issue_categories.find_by_name(category.name) |
|
378 | self.category = project.issue_categories.find_by_name(category.name) | |
379 | end |
|
379 | end | |
380 | # Clear the assignee if not available in the new project for new issues (eg. copy) |
|
380 | # Clear the assignee if not available in the new project for new issues (eg. copy) | |
381 | # For existing issue, the previous assignee is still valid, so we keep it |
|
381 | # For existing issue, the previous assignee is still valid, so we keep it | |
382 | if new_record? && assigned_to && !assignable_users.include?(assigned_to) |
|
382 | if new_record? && assigned_to && !assignable_users.include?(assigned_to) | |
383 | self.assigned_to_id = nil |
|
383 | self.assigned_to_id = nil | |
384 | end |
|
384 | end | |
385 | # Keep the fixed_version if it's still valid in the new_project |
|
385 | # Keep the fixed_version if it's still valid in the new_project | |
386 | if fixed_version && fixed_version.project != project && !project.shared_versions.include?(fixed_version) |
|
386 | if fixed_version && fixed_version.project != project && !project.shared_versions.include?(fixed_version) | |
387 | self.fixed_version = nil |
|
387 | self.fixed_version = nil | |
388 | end |
|
388 | end | |
389 | # Clear the parent task if it's no longer valid |
|
389 | # Clear the parent task if it's no longer valid | |
390 | unless valid_parent_project? |
|
390 | unless valid_parent_project? | |
391 | self.parent_issue_id = nil |
|
391 | self.parent_issue_id = nil | |
392 | end |
|
392 | end | |
393 | reassign_custom_field_values |
|
393 | reassign_custom_field_values | |
394 | @workflow_rule_by_attribute = nil |
|
394 | @workflow_rule_by_attribute = nil | |
395 | end |
|
395 | end | |
396 | # Set fixed_version to the project default version if it's valid |
|
396 | # Set fixed_version to the project default version if it's valid | |
397 | if new_record? && fixed_version.nil? && project && project.default_version_id? |
|
397 | if new_record? && fixed_version.nil? && project && project.default_version_id? | |
398 | if project.shared_versions.open.exists?(project.default_version_id) |
|
398 | if project.shared_versions.open.exists?(project.default_version_id) | |
399 | self.fixed_version_id = project.default_version_id |
|
399 | self.fixed_version_id = project.default_version_id | |
400 | end |
|
400 | end | |
401 | end |
|
401 | end | |
402 | self.project |
|
402 | self.project | |
403 | end |
|
403 | end | |
404 |
|
404 | |||
405 | def description=(arg) |
|
405 | def description=(arg) | |
406 | if arg.is_a?(String) |
|
406 | if arg.is_a?(String) | |
407 | arg = arg.gsub(/(\r\n|\n|\r)/, "\r\n") |
|
407 | arg = arg.gsub(/(\r\n|\n|\r)/, "\r\n") | |
408 | end |
|
408 | end | |
409 | write_attribute(:description, arg) |
|
409 | write_attribute(:description, arg) | |
410 | end |
|
410 | end | |
411 |
|
411 | |||
412 | def deleted_attachment_ids |
|
412 | def deleted_attachment_ids | |
413 | Array(@deleted_attachment_ids).map(&:to_i) |
|
413 | Array(@deleted_attachment_ids).map(&:to_i) | |
414 | end |
|
414 | end | |
415 |
|
415 | |||
416 | # Overrides assign_attributes so that project and tracker get assigned first |
|
416 | # Overrides assign_attributes so that project and tracker get assigned first | |
417 | def assign_attributes(new_attributes, *args) |
|
417 | def assign_attributes(new_attributes, *args) | |
418 | return if new_attributes.nil? |
|
418 | return if new_attributes.nil? | |
419 | attrs = new_attributes.dup |
|
419 | attrs = new_attributes.dup | |
420 | attrs.stringify_keys! |
|
420 | attrs.stringify_keys! | |
421 |
|
421 | |||
422 | %w(project project_id tracker tracker_id).each do |attr| |
|
422 | %w(project project_id tracker tracker_id).each do |attr| | |
423 | if attrs.has_key?(attr) |
|
423 | if attrs.has_key?(attr) | |
424 | send "#{attr}=", attrs.delete(attr) |
|
424 | send "#{attr}=", attrs.delete(attr) | |
425 | end |
|
425 | end | |
426 | end |
|
426 | end | |
427 | super attrs, *args |
|
427 | super attrs, *args | |
428 | end |
|
428 | end | |
429 |
|
429 | |||
430 | def attributes=(new_attributes) |
|
430 | def attributes=(new_attributes) | |
431 | assign_attributes new_attributes |
|
431 | assign_attributes new_attributes | |
432 | end |
|
432 | end | |
433 |
|
433 | |||
434 | def estimated_hours=(h) |
|
434 | def estimated_hours=(h) | |
435 | write_attribute :estimated_hours, (h.is_a?(String) ? h.to_hours : h) |
|
435 | write_attribute :estimated_hours, (h.is_a?(String) ? h.to_hours : h) | |
436 | end |
|
436 | end | |
437 |
|
437 | |||
438 | safe_attributes 'project_id', |
|
438 | safe_attributes 'project_id', | |
439 | 'tracker_id', |
|
439 | 'tracker_id', | |
440 | 'status_id', |
|
440 | 'status_id', | |
441 | 'category_id', |
|
441 | 'category_id', | |
442 | 'assigned_to_id', |
|
442 | 'assigned_to_id', | |
443 | 'priority_id', |
|
443 | 'priority_id', | |
444 | 'fixed_version_id', |
|
444 | 'fixed_version_id', | |
445 | 'subject', |
|
445 | 'subject', | |
446 | 'description', |
|
446 | 'description', | |
447 | 'start_date', |
|
447 | 'start_date', | |
448 | 'due_date', |
|
448 | 'due_date', | |
449 | 'done_ratio', |
|
449 | 'done_ratio', | |
450 | 'estimated_hours', |
|
450 | 'estimated_hours', | |
451 | 'custom_field_values', |
|
451 | 'custom_field_values', | |
452 | 'custom_fields', |
|
452 | 'custom_fields', | |
453 | 'lock_version', |
|
453 | 'lock_version', | |
454 | 'notes', |
|
454 | 'notes', | |
455 | :if => lambda {|issue, user| issue.new_record? || issue.attributes_editable?(user) } |
|
455 | :if => lambda {|issue, user| issue.new_record? || issue.attributes_editable?(user) } | |
456 |
|
456 | |||
457 | safe_attributes 'notes', |
|
457 | safe_attributes 'notes', | |
458 | :if => lambda {|issue, user| issue.notes_addable?(user)} |
|
458 | :if => lambda {|issue, user| issue.notes_addable?(user)} | |
459 |
|
459 | |||
460 | safe_attributes 'private_notes', |
|
460 | safe_attributes 'private_notes', | |
461 | :if => lambda {|issue, user| !issue.new_record? && user.allowed_to?(:set_notes_private, issue.project)} |
|
461 | :if => lambda {|issue, user| !issue.new_record? && user.allowed_to?(:set_notes_private, issue.project)} | |
462 |
|
462 | |||
463 | safe_attributes 'watcher_user_ids', |
|
463 | safe_attributes 'watcher_user_ids', | |
464 | :if => lambda {|issue, user| issue.new_record? && user.allowed_to?(:add_issue_watchers, issue.project)} |
|
464 | :if => lambda {|issue, user| issue.new_record? && user.allowed_to?(:add_issue_watchers, issue.project)} | |
465 |
|
465 | |||
466 | safe_attributes 'is_private', |
|
466 | safe_attributes 'is_private', | |
467 | :if => lambda {|issue, user| |
|
467 | :if => lambda {|issue, user| | |
468 | user.allowed_to?(:set_issues_private, issue.project) || |
|
468 | user.allowed_to?(:set_issues_private, issue.project) || | |
469 | (issue.author_id == user.id && user.allowed_to?(:set_own_issues_private, issue.project)) |
|
469 | (issue.author_id == user.id && user.allowed_to?(:set_own_issues_private, issue.project)) | |
470 | } |
|
470 | } | |
471 |
|
471 | |||
472 | safe_attributes 'parent_issue_id', |
|
472 | safe_attributes 'parent_issue_id', | |
473 | :if => lambda {|issue, user| (issue.new_record? || issue.attributes_editable?(user)) && |
|
473 | :if => lambda {|issue, user| (issue.new_record? || issue.attributes_editable?(user)) && | |
474 | user.allowed_to?(:manage_subtasks, issue.project)} |
|
474 | user.allowed_to?(:manage_subtasks, issue.project)} | |
475 |
|
475 | |||
476 | safe_attributes 'deleted_attachment_ids', |
|
476 | safe_attributes 'deleted_attachment_ids', | |
477 | :if => lambda {|issue, user| issue.attachments_deletable?(user)} |
|
477 | :if => lambda {|issue, user| issue.attachments_deletable?(user)} | |
478 |
|
478 | |||
479 | def safe_attribute_names(user=nil) |
|
479 | def safe_attribute_names(user=nil) | |
480 | names = super |
|
480 | names = super | |
481 | names -= disabled_core_fields |
|
481 | names -= disabled_core_fields | |
482 | names -= read_only_attribute_names(user) |
|
482 | names -= read_only_attribute_names(user) | |
483 | if new_record? |
|
483 | if new_record? | |
484 | # Make sure that project_id can always be set for new issues |
|
484 | # Make sure that project_id can always be set for new issues | |
485 | names |= %w(project_id) |
|
485 | names |= %w(project_id) | |
486 | end |
|
486 | end | |
487 | if dates_derived? |
|
487 | if dates_derived? | |
488 | names -= %w(start_date due_date) |
|
488 | names -= %w(start_date due_date) | |
489 | end |
|
489 | end | |
490 | if priority_derived? |
|
490 | if priority_derived? | |
491 | names -= %w(priority_id) |
|
491 | names -= %w(priority_id) | |
492 | end |
|
492 | end | |
493 | if done_ratio_derived? |
|
493 | if done_ratio_derived? | |
494 | names -= %w(done_ratio) |
|
494 | names -= %w(done_ratio) | |
495 | end |
|
495 | end | |
496 | names |
|
496 | names | |
497 | end |
|
497 | end | |
498 |
|
498 | |||
499 | # Safely sets attributes |
|
499 | # Safely sets attributes | |
500 | # Should be called from controllers instead of #attributes= |
|
500 | # Should be called from controllers instead of #attributes= | |
501 | # attr_accessible is too rough because we still want things like |
|
501 | # attr_accessible is too rough because we still want things like | |
502 | # Issue.new(:project => foo) to work |
|
502 | # Issue.new(:project => foo) to work | |
503 | def safe_attributes=(attrs, user=User.current) |
|
503 | def safe_attributes=(attrs, user=User.current) | |
504 | return unless attrs.is_a?(Hash) |
|
504 | return unless attrs.is_a?(Hash) | |
505 |
|
505 | |||
506 | attrs = attrs.deep_dup |
|
506 | attrs = attrs.deep_dup | |
507 |
|
507 | |||
508 | # Project and Tracker must be set before since new_statuses_allowed_to depends on it. |
|
508 | # Project and Tracker must be set before since new_statuses_allowed_to depends on it. | |
509 | if (p = attrs.delete('project_id')) && safe_attribute?('project_id') |
|
509 | if (p = attrs.delete('project_id')) && safe_attribute?('project_id') | |
510 | if p.is_a?(String) && !p.match(/^\d*$/) |
|
510 | if p.is_a?(String) && !p.match(/^\d*$/) | |
511 | p_id = Project.find_by_identifier(p).try(:id) |
|
511 | p_id = Project.find_by_identifier(p).try(:id) | |
512 | else |
|
512 | else | |
513 | p_id = p.to_i |
|
513 | p_id = p.to_i | |
514 | end |
|
514 | end | |
515 | if allowed_target_projects(user).where(:id => p_id).exists? |
|
515 | if allowed_target_projects(user).where(:id => p_id).exists? | |
516 | self.project_id = p_id |
|
516 | self.project_id = p_id | |
517 | end |
|
517 | end | |
518 |
|
518 | |||
519 | if project_id_changed? && attrs['category_id'].to_s == category_id_was.to_s |
|
519 | if project_id_changed? && attrs['category_id'].to_s == category_id_was.to_s | |
520 | # Discard submitted category on previous project |
|
520 | # Discard submitted category on previous project | |
521 | attrs.delete('category_id') |
|
521 | attrs.delete('category_id') | |
522 | end |
|
522 | end | |
523 | end |
|
523 | end | |
524 |
|
524 | |||
525 | if (t = attrs.delete('tracker_id')) && safe_attribute?('tracker_id') |
|
525 | if (t = attrs.delete('tracker_id')) && safe_attribute?('tracker_id') | |
526 | if allowed_target_trackers(user).where(:id => t.to_i).exists? |
|
526 | if allowed_target_trackers(user).where(:id => t.to_i).exists? | |
527 | self.tracker_id = t |
|
527 | self.tracker_id = t | |
528 | end |
|
528 | end | |
529 | end |
|
529 | end | |
530 | if project |
|
530 | if project | |
531 | # Set a default tracker to accept custom field values |
|
531 | # Set a default tracker to accept custom field values | |
532 | # even if tracker is not specified |
|
532 | # even if tracker is not specified | |
533 | self.tracker ||= allowed_target_trackers(user).first |
|
533 | self.tracker ||= allowed_target_trackers(user).first | |
534 | end |
|
534 | end | |
535 |
|
535 | |||
536 | statuses_allowed = new_statuses_allowed_to(user) |
|
536 | statuses_allowed = new_statuses_allowed_to(user) | |
537 | if (s = attrs.delete('status_id')) && safe_attribute?('status_id') |
|
537 | if (s = attrs.delete('status_id')) && safe_attribute?('status_id') | |
538 | if statuses_allowed.collect(&:id).include?(s.to_i) |
|
538 | if statuses_allowed.collect(&:id).include?(s.to_i) | |
539 | self.status_id = s |
|
539 | self.status_id = s | |
540 | end |
|
540 | end | |
541 | end |
|
541 | end | |
542 | if new_record? && !statuses_allowed.include?(status) |
|
542 | if new_record? && !statuses_allowed.include?(status) | |
543 | self.status = statuses_allowed.first || default_status |
|
543 | self.status = statuses_allowed.first || default_status | |
544 | end |
|
544 | end | |
545 | if (u = attrs.delete('assigned_to_id')) && safe_attribute?('assigned_to_id') |
|
545 | if (u = attrs.delete('assigned_to_id')) && safe_attribute?('assigned_to_id') | |
546 | self.assigned_to_id = u |
|
546 | self.assigned_to_id = u | |
547 | end |
|
547 | end | |
548 |
|
548 | |||
549 |
|
549 | |||
550 | attrs = delete_unsafe_attributes(attrs, user) |
|
550 | attrs = delete_unsafe_attributes(attrs, user) | |
551 | return if attrs.empty? |
|
551 | return if attrs.empty? | |
552 |
|
552 | |||
553 | if attrs['parent_issue_id'].present? |
|
553 | if attrs['parent_issue_id'].present? | |
554 | s = attrs['parent_issue_id'].to_s |
|
554 | s = attrs['parent_issue_id'].to_s | |
555 | unless (m = s.match(%r{\A#?(\d+)\z})) && (m[1] == parent_id.to_s || Issue.visible(user).exists?(m[1])) |
|
555 | unless (m = s.match(%r{\A#?(\d+)\z})) && (m[1] == parent_id.to_s || Issue.visible(user).exists?(m[1])) | |
556 | @invalid_parent_issue_id = attrs.delete('parent_issue_id') |
|
556 | @invalid_parent_issue_id = attrs.delete('parent_issue_id') | |
557 | end |
|
557 | end | |
558 | end |
|
558 | end | |
559 |
|
559 | |||
560 | if attrs['custom_field_values'].present? |
|
560 | if attrs['custom_field_values'].present? | |
561 | editable_custom_field_ids = editable_custom_field_values(user).map {|v| v.custom_field_id.to_s} |
|
561 | editable_custom_field_ids = editable_custom_field_values(user).map {|v| v.custom_field_id.to_s} | |
562 | attrs['custom_field_values'].select! {|k, v| editable_custom_field_ids.include?(k.to_s)} |
|
562 | attrs['custom_field_values'].select! {|k, v| editable_custom_field_ids.include?(k.to_s)} | |
563 | end |
|
563 | end | |
564 |
|
564 | |||
565 | if attrs['custom_fields'].present? |
|
565 | if attrs['custom_fields'].present? | |
566 | editable_custom_field_ids = editable_custom_field_values(user).map {|v| v.custom_field_id.to_s} |
|
566 | editable_custom_field_ids = editable_custom_field_values(user).map {|v| v.custom_field_id.to_s} | |
567 | attrs['custom_fields'].select! {|c| editable_custom_field_ids.include?(c['id'].to_s)} |
|
567 | attrs['custom_fields'].select! {|c| editable_custom_field_ids.include?(c['id'].to_s)} | |
568 | end |
|
568 | end | |
569 |
|
569 | |||
570 | # mass-assignment security bypass |
|
570 | # mass-assignment security bypass | |
571 | assign_attributes attrs, :without_protection => true |
|
571 | assign_attributes attrs, :without_protection => true | |
572 | end |
|
572 | end | |
573 |
|
573 | |||
574 | def disabled_core_fields |
|
574 | def disabled_core_fields | |
575 | tracker ? tracker.disabled_core_fields : [] |
|
575 | tracker ? tracker.disabled_core_fields : [] | |
576 | end |
|
576 | end | |
577 |
|
577 | |||
578 | # Returns the custom_field_values that can be edited by the given user |
|
578 | # Returns the custom_field_values that can be edited by the given user | |
579 | def editable_custom_field_values(user=nil) |
|
579 | def editable_custom_field_values(user=nil) | |
580 | read_only = read_only_attribute_names(user) |
|
580 | read_only = read_only_attribute_names(user) | |
581 | visible_custom_field_values(user).reject do |value| |
|
581 | visible_custom_field_values(user).reject do |value| | |
582 | read_only.include?(value.custom_field_id.to_s) |
|
582 | read_only.include?(value.custom_field_id.to_s) | |
583 | end |
|
583 | end | |
584 | end |
|
584 | end | |
585 |
|
585 | |||
586 | # Returns the custom fields that can be edited by the given user |
|
586 | # Returns the custom fields that can be edited by the given user | |
587 | def editable_custom_fields(user=nil) |
|
587 | def editable_custom_fields(user=nil) | |
588 | editable_custom_field_values(user).map(&:custom_field).uniq |
|
588 | editable_custom_field_values(user).map(&:custom_field).uniq | |
589 | end |
|
589 | end | |
590 |
|
590 | |||
591 | # Returns the names of attributes that are read-only for user or the current user |
|
591 | # Returns the names of attributes that are read-only for user or the current user | |
592 | # For users with multiple roles, the read-only fields are the intersection of |
|
592 | # For users with multiple roles, the read-only fields are the intersection of | |
593 | # read-only fields of each role |
|
593 | # read-only fields of each role | |
594 | # The result is an array of strings where sustom fields are represented with their ids |
|
594 | # The result is an array of strings where sustom fields are represented with their ids | |
595 | # |
|
595 | # | |
596 | # Examples: |
|
596 | # Examples: | |
597 | # issue.read_only_attribute_names # => ['due_date', '2'] |
|
597 | # issue.read_only_attribute_names # => ['due_date', '2'] | |
598 | # issue.read_only_attribute_names(user) # => [] |
|
598 | # issue.read_only_attribute_names(user) # => [] | |
599 | def read_only_attribute_names(user=nil) |
|
599 | def read_only_attribute_names(user=nil) | |
600 | workflow_rule_by_attribute(user).reject {|attr, rule| rule != 'readonly'}.keys |
|
600 | workflow_rule_by_attribute(user).reject {|attr, rule| rule != 'readonly'}.keys | |
601 | end |
|
601 | end | |
602 |
|
602 | |||
603 | # Returns the names of required attributes for user or the current user |
|
603 | # Returns the names of required attributes for user or the current user | |
604 | # For users with multiple roles, the required fields are the intersection of |
|
604 | # For users with multiple roles, the required fields are the intersection of | |
605 | # required fields of each role |
|
605 | # required fields of each role | |
606 | # The result is an array of strings where sustom fields are represented with their ids |
|
606 | # The result is an array of strings where sustom fields are represented with their ids | |
607 | # |
|
607 | # | |
608 | # Examples: |
|
608 | # Examples: | |
609 | # issue.required_attribute_names # => ['due_date', '2'] |
|
609 | # issue.required_attribute_names # => ['due_date', '2'] | |
610 | # issue.required_attribute_names(user) # => [] |
|
610 | # issue.required_attribute_names(user) # => [] | |
611 | def required_attribute_names(user=nil) |
|
611 | def required_attribute_names(user=nil) | |
612 | workflow_rule_by_attribute(user).reject {|attr, rule| rule != 'required'}.keys |
|
612 | workflow_rule_by_attribute(user).reject {|attr, rule| rule != 'required'}.keys | |
613 | end |
|
613 | end | |
614 |
|
614 | |||
615 | # Returns true if the attribute is required for user |
|
615 | # Returns true if the attribute is required for user | |
616 | def required_attribute?(name, user=nil) |
|
616 | def required_attribute?(name, user=nil) | |
617 | required_attribute_names(user).include?(name.to_s) |
|
617 | required_attribute_names(user).include?(name.to_s) | |
618 | end |
|
618 | end | |
619 |
|
619 | |||
620 | # Returns a hash of the workflow rule by attribute for the given user |
|
620 | # Returns a hash of the workflow rule by attribute for the given user | |
621 | # |
|
621 | # | |
622 | # Examples: |
|
622 | # Examples: | |
623 | # issue.workflow_rule_by_attribute # => {'due_date' => 'required', 'start_date' => 'readonly'} |
|
623 | # issue.workflow_rule_by_attribute # => {'due_date' => 'required', 'start_date' => 'readonly'} | |
624 | def workflow_rule_by_attribute(user=nil) |
|
624 | def workflow_rule_by_attribute(user=nil) | |
625 | return @workflow_rule_by_attribute if @workflow_rule_by_attribute && user.nil? |
|
625 | return @workflow_rule_by_attribute if @workflow_rule_by_attribute && user.nil? | |
626 |
|
626 | |||
627 | user_real = user || User.current |
|
627 | user_real = user || User.current | |
628 | roles = user_real.admin ? Role.all.to_a : user_real.roles_for_project(project) |
|
628 | roles = user_real.admin ? Role.all.to_a : user_real.roles_for_project(project) | |
629 | roles = roles.select(&:consider_workflow?) |
|
629 | roles = roles.select(&:consider_workflow?) | |
630 | return {} if roles.empty? |
|
630 | return {} if roles.empty? | |
631 |
|
631 | |||
632 | result = {} |
|
632 | result = {} | |
633 | workflow_permissions = WorkflowPermission.where(:tracker_id => tracker_id, :old_status_id => status_id, :role_id => roles.map(&:id)).to_a |
|
633 | workflow_permissions = WorkflowPermission.where(:tracker_id => tracker_id, :old_status_id => status_id, :role_id => roles.map(&:id)).to_a | |
634 | if workflow_permissions.any? |
|
634 | if workflow_permissions.any? | |
635 | workflow_rules = workflow_permissions.inject({}) do |h, wp| |
|
635 | workflow_rules = workflow_permissions.inject({}) do |h, wp| | |
636 | h[wp.field_name] ||= {} |
|
636 | h[wp.field_name] ||= {} | |
637 | h[wp.field_name][wp.role_id] = wp.rule |
|
637 | h[wp.field_name][wp.role_id] = wp.rule | |
638 | h |
|
638 | h | |
639 | end |
|
639 | end | |
640 | fields_with_roles = {} |
|
640 | fields_with_roles = {} | |
641 | IssueCustomField.where(:visible => false).joins(:roles).pluck(:id, "role_id").each do |field_id, role_id| |
|
641 | IssueCustomField.where(:visible => false).joins(:roles).pluck(:id, "role_id").each do |field_id, role_id| | |
642 | fields_with_roles[field_id] ||= [] |
|
642 | fields_with_roles[field_id] ||= [] | |
643 | fields_with_roles[field_id] << role_id |
|
643 | fields_with_roles[field_id] << role_id | |
644 | end |
|
644 | end | |
645 | roles.each do |role| |
|
645 | roles.each do |role| | |
646 | fields_with_roles.each do |field_id, role_ids| |
|
646 | fields_with_roles.each do |field_id, role_ids| | |
647 | unless role_ids.include?(role.id) |
|
647 | unless role_ids.include?(role.id) | |
648 | field_name = field_id.to_s |
|
648 | field_name = field_id.to_s | |
649 | workflow_rules[field_name] ||= {} |
|
649 | workflow_rules[field_name] ||= {} | |
650 | workflow_rules[field_name][role.id] = 'readonly' |
|
650 | workflow_rules[field_name][role.id] = 'readonly' | |
651 | end |
|
651 | end | |
652 | end |
|
652 | end | |
653 | end |
|
653 | end | |
654 | workflow_rules.each do |attr, rules| |
|
654 | workflow_rules.each do |attr, rules| | |
655 | next if rules.size < roles.size |
|
655 | next if rules.size < roles.size | |
656 | uniq_rules = rules.values.uniq |
|
656 | uniq_rules = rules.values.uniq | |
657 | if uniq_rules.size == 1 |
|
657 | if uniq_rules.size == 1 | |
658 | result[attr] = uniq_rules.first |
|
658 | result[attr] = uniq_rules.first | |
659 | else |
|
659 | else | |
660 | result[attr] = 'required' |
|
660 | result[attr] = 'required' | |
661 | end |
|
661 | end | |
662 | end |
|
662 | end | |
663 | end |
|
663 | end | |
664 | @workflow_rule_by_attribute = result if user.nil? |
|
664 | @workflow_rule_by_attribute = result if user.nil? | |
665 | result |
|
665 | result | |
666 | end |
|
666 | end | |
667 | private :workflow_rule_by_attribute |
|
667 | private :workflow_rule_by_attribute | |
668 |
|
668 | |||
669 | def done_ratio |
|
669 | def done_ratio | |
670 | if Issue.use_status_for_done_ratio? && status && status.default_done_ratio |
|
670 | if Issue.use_status_for_done_ratio? && status && status.default_done_ratio | |
671 | status.default_done_ratio |
|
671 | status.default_done_ratio | |
672 | else |
|
672 | else | |
673 | read_attribute(:done_ratio) |
|
673 | read_attribute(:done_ratio) | |
674 | end |
|
674 | end | |
675 | end |
|
675 | end | |
676 |
|
676 | |||
677 | def self.use_status_for_done_ratio? |
|
677 | def self.use_status_for_done_ratio? | |
678 | Setting.issue_done_ratio == 'issue_status' |
|
678 | Setting.issue_done_ratio == 'issue_status' | |
679 | end |
|
679 | end | |
680 |
|
680 | |||
681 | def self.use_field_for_done_ratio? |
|
681 | def self.use_field_for_done_ratio? | |
682 | Setting.issue_done_ratio == 'issue_field' |
|
682 | Setting.issue_done_ratio == 'issue_field' | |
683 | end |
|
683 | end | |
684 |
|
684 | |||
685 | def validate_issue |
|
685 | def validate_issue | |
686 | if due_date && start_date && (start_date_changed? || due_date_changed?) && due_date < start_date |
|
686 | if due_date && start_date && (start_date_changed? || due_date_changed?) && due_date < start_date | |
687 | errors.add :due_date, :greater_than_start_date |
|
687 | errors.add :due_date, :greater_than_start_date | |
688 | end |
|
688 | end | |
689 |
|
689 | |||
690 | if start_date && start_date_changed? && soonest_start && start_date < soonest_start |
|
690 | if start_date && start_date_changed? && soonest_start && start_date < soonest_start | |
691 | errors.add :start_date, :earlier_than_minimum_start_date, :date => format_date(soonest_start) |
|
691 | errors.add :start_date, :earlier_than_minimum_start_date, :date => format_date(soonest_start) | |
692 | end |
|
692 | end | |
693 |
|
693 | |||
694 | if fixed_version |
|
694 | if fixed_version | |
695 | if !assignable_versions.include?(fixed_version) |
|
695 | if !assignable_versions.include?(fixed_version) | |
696 | errors.add :fixed_version_id, :inclusion |
|
696 | errors.add :fixed_version_id, :inclusion | |
697 | elsif reopening? && fixed_version.closed? |
|
697 | elsif reopening? && fixed_version.closed? | |
698 | errors.add :base, I18n.t(:error_can_not_reopen_issue_on_closed_version) |
|
698 | errors.add :base, I18n.t(:error_can_not_reopen_issue_on_closed_version) | |
699 | end |
|
699 | end | |
700 | end |
|
700 | end | |
701 |
|
701 | |||
702 | # Checks that the issue can not be added/moved to a disabled tracker |
|
702 | # Checks that the issue can not be added/moved to a disabled tracker | |
703 | if project && (tracker_id_changed? || project_id_changed?) |
|
703 | if project && (tracker_id_changed? || project_id_changed?) | |
704 | if tracker && !project.trackers.include?(tracker) |
|
704 | if tracker && !project.trackers.include?(tracker) | |
705 | errors.add :tracker_id, :inclusion |
|
705 | errors.add :tracker_id, :inclusion | |
706 | end |
|
706 | end | |
707 | end |
|
707 | end | |
708 |
|
708 | |||
709 | if assigned_to_id_changed? && assigned_to_id.present? |
|
709 | if assigned_to_id_changed? && assigned_to_id.present? | |
710 | unless assignable_users.include?(assigned_to) |
|
710 | unless assignable_users.include?(assigned_to) | |
711 | errors.add :assigned_to_id, :invalid |
|
711 | errors.add :assigned_to_id, :invalid | |
712 | end |
|
712 | end | |
713 | end |
|
713 | end | |
714 |
|
714 | |||
715 | # Checks parent issue assignment |
|
715 | # Checks parent issue assignment | |
716 | if @invalid_parent_issue_id.present? |
|
716 | if @invalid_parent_issue_id.present? | |
717 | errors.add :parent_issue_id, :invalid |
|
717 | errors.add :parent_issue_id, :invalid | |
718 | elsif @parent_issue |
|
718 | elsif @parent_issue | |
719 | if !valid_parent_project?(@parent_issue) |
|
719 | if !valid_parent_project?(@parent_issue) | |
720 | errors.add :parent_issue_id, :invalid |
|
720 | errors.add :parent_issue_id, :invalid | |
721 | elsif (@parent_issue != parent) && ( |
|
721 | elsif (@parent_issue != parent) && ( | |
722 | self.would_reschedule?(@parent_issue) || |
|
722 | self.would_reschedule?(@parent_issue) || | |
723 | @parent_issue.self_and_ancestors.any? {|a| a.relations_from.any? {|r| r.relation_type == IssueRelation::TYPE_PRECEDES && r.issue_to.would_reschedule?(self)}} |
|
723 | @parent_issue.self_and_ancestors.any? {|a| a.relations_from.any? {|r| r.relation_type == IssueRelation::TYPE_PRECEDES && r.issue_to.would_reschedule?(self)}} | |
724 | ) |
|
724 | ) | |
725 | errors.add :parent_issue_id, :invalid |
|
725 | errors.add :parent_issue_id, :invalid | |
726 | elsif !closed? && @parent_issue.closed? |
|
726 | elsif !closed? && @parent_issue.closed? | |
727 | # cannot attach an open issue to a closed parent |
|
727 | # cannot attach an open issue to a closed parent | |
728 | errors.add :base, :open_issue_with_closed_parent |
|
728 | errors.add :base, :open_issue_with_closed_parent | |
729 | elsif !new_record? |
|
729 | elsif !new_record? | |
730 | # moving an existing issue |
|
730 | # moving an existing issue | |
731 | if move_possible?(@parent_issue) |
|
731 | if move_possible?(@parent_issue) | |
732 | # move accepted |
|
732 | # move accepted | |
733 | else |
|
733 | else | |
734 | errors.add :parent_issue_id, :invalid |
|
734 | errors.add :parent_issue_id, :invalid | |
735 | end |
|
735 | end | |
736 | end |
|
736 | end | |
737 | end |
|
737 | end | |
738 | end |
|
738 | end | |
739 |
|
739 | |||
740 | # Validates the issue against additional workflow requirements |
|
740 | # Validates the issue against additional workflow requirements | |
741 | def validate_required_fields |
|
741 | def validate_required_fields | |
742 | user = new_record? ? author : current_journal.try(:user) |
|
742 | user = new_record? ? author : current_journal.try(:user) | |
743 |
|
743 | |||
744 | required_attribute_names(user).each do |attribute| |
|
744 | required_attribute_names(user).each do |attribute| | |
745 | if attribute =~ /^\d+$/ |
|
745 | if attribute =~ /^\d+$/ | |
746 | attribute = attribute.to_i |
|
746 | attribute = attribute.to_i | |
747 | v = custom_field_values.detect {|v| v.custom_field_id == attribute } |
|
747 | v = custom_field_values.detect {|v| v.custom_field_id == attribute } | |
748 | if v && Array(v.value).detect(&:present?).nil? |
|
748 | if v && Array(v.value).detect(&:present?).nil? | |
749 | errors.add :base, v.custom_field.name + ' ' + l('activerecord.errors.messages.blank') |
|
749 | errors.add :base, v.custom_field.name + ' ' + l('activerecord.errors.messages.blank') | |
750 | end |
|
750 | end | |
751 | else |
|
751 | else | |
752 | if respond_to?(attribute) && send(attribute).blank? && !disabled_core_fields.include?(attribute) |
|
752 | if respond_to?(attribute) && send(attribute).blank? && !disabled_core_fields.include?(attribute) | |
753 | next if attribute == 'category_id' && project.try(:issue_categories).blank? |
|
753 | next if attribute == 'category_id' && project.try(:issue_categories).blank? | |
754 | next if attribute == 'fixed_version_id' && assignable_versions.blank? |
|
754 | next if attribute == 'fixed_version_id' && assignable_versions.blank? | |
755 | errors.add attribute, :blank |
|
755 | errors.add attribute, :blank | |
756 | end |
|
756 | end | |
757 | end |
|
757 | end | |
758 | end |
|
758 | end | |
759 | end |
|
759 | end | |
760 |
|
760 | |||
761 | # Overrides Redmine::Acts::Customizable::InstanceMethods#validate_custom_field_values |
|
761 | # Overrides Redmine::Acts::Customizable::InstanceMethods#validate_custom_field_values | |
762 | # so that custom values that are not editable are not validated (eg. a custom field that |
|
762 | # so that custom values that are not editable are not validated (eg. a custom field that | |
763 | # is marked as required should not trigger a validation error if the user is not allowed |
|
763 | # is marked as required should not trigger a validation error if the user is not allowed | |
764 | # to edit this field). |
|
764 | # to edit this field). | |
765 | def validate_custom_field_values |
|
765 | def validate_custom_field_values | |
766 | user = new_record? ? author : current_journal.try(:user) |
|
766 | user = new_record? ? author : current_journal.try(:user) | |
767 | if new_record? || custom_field_values_changed? |
|
767 | if new_record? || custom_field_values_changed? | |
768 | editable_custom_field_values(user).each(&:validate_value) |
|
768 | editable_custom_field_values(user).each(&:validate_value) | |
769 | end |
|
769 | end | |
770 | end |
|
770 | end | |
771 |
|
771 | |||
772 | # Set the done_ratio using the status if that setting is set. This will keep the done_ratios |
|
772 | # Set the done_ratio using the status if that setting is set. This will keep the done_ratios | |
773 | # even if the user turns off the setting later |
|
773 | # even if the user turns off the setting later | |
774 | def update_done_ratio_from_issue_status |
|
774 | def update_done_ratio_from_issue_status | |
775 | if Issue.use_status_for_done_ratio? && status && status.default_done_ratio |
|
775 | if Issue.use_status_for_done_ratio? && status && status.default_done_ratio | |
776 | self.done_ratio = status.default_done_ratio |
|
776 | self.done_ratio = status.default_done_ratio | |
777 | end |
|
777 | end | |
778 | end |
|
778 | end | |
779 |
|
779 | |||
780 | def init_journal(user, notes = "") |
|
780 | def init_journal(user, notes = "") | |
781 | @current_journal ||= Journal.new(:journalized => self, :user => user, :notes => notes) |
|
781 | @current_journal ||= Journal.new(:journalized => self, :user => user, :notes => notes) | |
782 | end |
|
782 | end | |
783 |
|
783 | |||
784 | # Returns the current journal or nil if it's not initialized |
|
784 | # Returns the current journal or nil if it's not initialized | |
785 | def current_journal |
|
785 | def current_journal | |
786 | @current_journal |
|
786 | @current_journal | |
787 | end |
|
787 | end | |
788 |
|
788 | |||
789 | # Returns the names of attributes that are journalized when updating the issue |
|
789 | # Returns the names of attributes that are journalized when updating the issue | |
790 | def journalized_attribute_names |
|
790 | def journalized_attribute_names | |
791 | names = Issue.column_names - %w(id root_id lft rgt lock_version created_on updated_on closed_on) |
|
791 | names = Issue.column_names - %w(id root_id lft rgt lock_version created_on updated_on closed_on) | |
792 | if tracker |
|
792 | if tracker | |
793 | names -= tracker.disabled_core_fields |
|
793 | names -= tracker.disabled_core_fields | |
794 | end |
|
794 | end | |
795 | names |
|
795 | names | |
796 | end |
|
796 | end | |
797 |
|
797 | |||
798 | # Returns the id of the last journal or nil |
|
798 | # Returns the id of the last journal or nil | |
799 | def last_journal_id |
|
799 | def last_journal_id | |
800 | if new_record? |
|
800 | if new_record? | |
801 | nil |
|
801 | nil | |
802 | else |
|
802 | else | |
803 | journals.maximum(:id) |
|
803 | journals.maximum(:id) | |
804 | end |
|
804 | end | |
805 | end |
|
805 | end | |
806 |
|
806 | |||
807 | # Returns a scope for journals that have an id greater than journal_id |
|
807 | # Returns a scope for journals that have an id greater than journal_id | |
808 | def journals_after(journal_id) |
|
808 | def journals_after(journal_id) | |
809 | scope = journals.reorder("#{Journal.table_name}.id ASC") |
|
809 | scope = journals.reorder("#{Journal.table_name}.id ASC") | |
810 | if journal_id.present? |
|
810 | if journal_id.present? | |
811 | scope = scope.where("#{Journal.table_name}.id > ?", journal_id.to_i) |
|
811 | scope = scope.where("#{Journal.table_name}.id > ?", journal_id.to_i) | |
812 | end |
|
812 | end | |
813 | scope |
|
813 | scope | |
814 | end |
|
814 | end | |
815 |
|
815 | |||
816 | # Returns the initial status of the issue |
|
816 | # Returns the initial status of the issue | |
817 | # Returns nil for a new issue |
|
817 | # Returns nil for a new issue | |
818 | def status_was |
|
818 | def status_was | |
819 | if status_id_changed? |
|
819 | if status_id_changed? | |
820 | if status_id_was.to_i > 0 |
|
820 | if status_id_was.to_i > 0 | |
821 | @status_was ||= IssueStatus.find_by_id(status_id_was) |
|
821 | @status_was ||= IssueStatus.find_by_id(status_id_was) | |
822 | end |
|
822 | end | |
823 | else |
|
823 | else | |
824 | @status_was ||= status |
|
824 | @status_was ||= status | |
825 | end |
|
825 | end | |
826 | end |
|
826 | end | |
827 |
|
827 | |||
828 | # Return true if the issue is closed, otherwise false |
|
828 | # Return true if the issue is closed, otherwise false | |
829 | def closed? |
|
829 | def closed? | |
830 | status.present? && status.is_closed? |
|
830 | status.present? && status.is_closed? | |
831 | end |
|
831 | end | |
832 |
|
832 | |||
833 | # Returns true if the issue was closed when loaded |
|
833 | # Returns true if the issue was closed when loaded | |
834 | def was_closed? |
|
834 | def was_closed? | |
835 | status_was.present? && status_was.is_closed? |
|
835 | status_was.present? && status_was.is_closed? | |
836 | end |
|
836 | end | |
837 |
|
837 | |||
838 | # Return true if the issue is being reopened |
|
838 | # Return true if the issue is being reopened | |
839 | def reopening? |
|
839 | def reopening? | |
840 | if new_record? |
|
840 | if new_record? | |
841 | false |
|
841 | false | |
842 | else |
|
842 | else | |
843 | status_id_changed? && !closed? && was_closed? |
|
843 | status_id_changed? && !closed? && was_closed? | |
844 | end |
|
844 | end | |
845 | end |
|
845 | end | |
846 | alias :reopened? :reopening? |
|
846 | alias :reopened? :reopening? | |
847 |
|
847 | |||
848 | # Return true if the issue is being closed |
|
848 | # Return true if the issue is being closed | |
849 | def closing? |
|
849 | def closing? | |
850 | if new_record? |
|
850 | if new_record? | |
851 | closed? |
|
851 | closed? | |
852 | else |
|
852 | else | |
853 | status_id_changed? && closed? && !was_closed? |
|
853 | status_id_changed? && closed? && !was_closed? | |
854 | end |
|
854 | end | |
855 | end |
|
855 | end | |
856 |
|
856 | |||
857 | # Returns true if the issue is overdue |
|
857 | # Returns true if the issue is overdue | |
858 | def overdue? |
|
858 | def overdue? | |
859 | due_date.present? && (due_date < User.current.today) && !closed? |
|
859 | due_date.present? && (due_date < User.current.today) && !closed? | |
860 | end |
|
860 | end | |
861 |
|
861 | |||
862 | # Is the amount of work done less than it should for the due date |
|
862 | # Is the amount of work done less than it should for the due date | |
863 | def behind_schedule? |
|
863 | def behind_schedule? | |
864 | return false if start_date.nil? || due_date.nil? |
|
864 | return false if start_date.nil? || due_date.nil? | |
865 | done_date = start_date + ((due_date - start_date + 1) * done_ratio / 100).floor |
|
865 | done_date = start_date + ((due_date - start_date + 1) * done_ratio / 100).floor | |
866 | return done_date <= User.current.today |
|
866 | return done_date <= User.current.today | |
867 | end |
|
867 | end | |
868 |
|
868 | |||
869 | # Does this issue have children? |
|
869 | # Does this issue have children? | |
870 | def children? |
|
870 | def children? | |
871 | !leaf? |
|
871 | !leaf? | |
872 | end |
|
872 | end | |
873 |
|
873 | |||
874 | # Users the issue can be assigned to |
|
874 | # Users the issue can be assigned to | |
875 | def assignable_users |
|
875 | def assignable_users | |
876 | users = project.assignable_users(tracker).to_a |
|
876 | users = project.assignable_users(tracker).to_a | |
877 | users << author if author && author.active? |
|
877 | users << author if author && author.active? | |
878 | if assigned_to_id_was.present? && assignee = Principal.find_by_id(assigned_to_id_was) |
|
878 | if assigned_to_id_was.present? && assignee = Principal.find_by_id(assigned_to_id_was) | |
879 | users << assignee |
|
879 | users << assignee | |
880 | end |
|
880 | end | |
881 | users.uniq.sort |
|
881 | users.uniq.sort | |
882 | end |
|
882 | end | |
883 |
|
883 | |||
884 | # Versions that the issue can be assigned to |
|
884 | # Versions that the issue can be assigned to | |
885 | def assignable_versions |
|
885 | def assignable_versions | |
886 | return @assignable_versions if @assignable_versions |
|
886 | return @assignable_versions if @assignable_versions | |
887 |
|
887 | |||
888 | versions = project.shared_versions.open.to_a |
|
888 | versions = project.shared_versions.open.to_a | |
889 | if fixed_version |
|
889 | if fixed_version | |
890 | if fixed_version_id_changed? |
|
890 | if fixed_version_id_changed? | |
891 | # nothing to do |
|
891 | # nothing to do | |
892 | elsif project_id_changed? |
|
892 | elsif project_id_changed? | |
893 | if project.shared_versions.include?(fixed_version) |
|
893 | if project.shared_versions.include?(fixed_version) | |
894 | versions << fixed_version |
|
894 | versions << fixed_version | |
895 | end |
|
895 | end | |
896 | else |
|
896 | else | |
897 | versions << fixed_version |
|
897 | versions << fixed_version | |
898 | end |
|
898 | end | |
899 | end |
|
899 | end | |
900 | @assignable_versions = versions.uniq.sort |
|
900 | @assignable_versions = versions.uniq.sort | |
901 | end |
|
901 | end | |
902 |
|
902 | |||
903 | # Returns true if this issue is blocked by another issue that is still open |
|
903 | # Returns true if this issue is blocked by another issue that is still open | |
904 | def blocked? |
|
904 | def blocked? | |
905 | !relations_to.detect {|ir| ir.relation_type == 'blocks' && !ir.issue_from.closed?}.nil? |
|
905 | !relations_to.detect {|ir| ir.relation_type == 'blocks' && !ir.issue_from.closed?}.nil? | |
906 | end |
|
906 | end | |
907 |
|
907 | |||
908 | # Returns the default status of the issue based on its tracker |
|
908 | # Returns the default status of the issue based on its tracker | |
909 | # Returns nil if tracker is nil |
|
909 | # Returns nil if tracker is nil | |
910 | def default_status |
|
910 | def default_status | |
911 | tracker.try(:default_status) |
|
911 | tracker.try(:default_status) | |
912 | end |
|
912 | end | |
913 |
|
913 | |||
914 | # Returns an array of statuses that user is able to apply |
|
914 | # Returns an array of statuses that user is able to apply | |
915 | def new_statuses_allowed_to(user=User.current, include_default=false) |
|
915 | def new_statuses_allowed_to(user=User.current, include_default=false) | |
916 | initial_status = nil |
|
916 | initial_status = nil | |
917 | if new_record? |
|
917 | if new_record? | |
918 | # nop |
|
918 | # nop | |
919 | elsif tracker_id_changed? |
|
919 | elsif tracker_id_changed? | |
920 | if Tracker.where(:id => tracker_id_was, :default_status_id => status_id_was).any? |
|
920 | if Tracker.where(:id => tracker_id_was, :default_status_id => status_id_was).any? | |
921 | initial_status = default_status |
|
921 | initial_status = default_status | |
922 | elsif tracker.issue_status_ids.include?(status_id_was) |
|
922 | elsif tracker.issue_status_ids.include?(status_id_was) | |
923 | initial_status = IssueStatus.find_by_id(status_id_was) |
|
923 | initial_status = IssueStatus.find_by_id(status_id_was) | |
924 | else |
|
924 | else | |
925 | initial_status = default_status |
|
925 | initial_status = default_status | |
926 | end |
|
926 | end | |
927 | else |
|
927 | else | |
928 | initial_status = status_was |
|
928 | initial_status = status_was | |
929 | end |
|
929 | end | |
930 |
|
930 | |||
931 | initial_assigned_to_id = assigned_to_id_changed? ? assigned_to_id_was : assigned_to_id |
|
931 | initial_assigned_to_id = assigned_to_id_changed? ? assigned_to_id_was : assigned_to_id | |
932 | assignee_transitions_allowed = initial_assigned_to_id.present? && |
|
932 | assignee_transitions_allowed = initial_assigned_to_id.present? && | |
933 | (user.id == initial_assigned_to_id || user.group_ids.include?(initial_assigned_to_id)) |
|
933 | (user.id == initial_assigned_to_id || user.group_ids.include?(initial_assigned_to_id)) | |
934 |
|
934 | |||
935 | statuses = [] |
|
935 | statuses = [] | |
936 | statuses += IssueStatus.new_statuses_allowed( |
|
936 | statuses += IssueStatus.new_statuses_allowed( | |
937 | initial_status, |
|
937 | initial_status, | |
938 | user.admin ? Role.all.to_a : user.roles_for_project(project), |
|
938 | user.admin ? Role.all.to_a : user.roles_for_project(project), | |
939 | tracker, |
|
939 | tracker, | |
940 | author == user, |
|
940 | author == user, | |
941 | assignee_transitions_allowed |
|
941 | assignee_transitions_allowed | |
942 | ) |
|
942 | ) | |
943 | statuses << initial_status unless statuses.empty? |
|
943 | statuses << initial_status unless statuses.empty? | |
944 | statuses << default_status if include_default || (new_record? && statuses.empty?) |
|
944 | statuses << default_status if include_default || (new_record? && statuses.empty?) | |
945 |
|
945 | |||
946 | if new_record? && @copied_from |
|
946 | if new_record? && @copied_from | |
947 | statuses << @copied_from.status |
|
947 | statuses << @copied_from.status | |
948 | end |
|
948 | end | |
949 |
|
949 | |||
950 | statuses = statuses.compact.uniq.sort |
|
950 | statuses = statuses.compact.uniq.sort | |
951 | if blocked? || descendants.open.any? |
|
951 | if blocked? || descendants.open.any? | |
952 | # cannot close a blocked issue or a parent with open subtasks |
|
952 | # cannot close a blocked issue or a parent with open subtasks | |
953 | statuses.reject!(&:is_closed?) |
|
953 | statuses.reject!(&:is_closed?) | |
954 | end |
|
954 | end | |
955 | if ancestors.open(false).any? |
|
955 | if ancestors.open(false).any? | |
956 | # cannot reopen a subtask of a closed parent |
|
956 | # cannot reopen a subtask of a closed parent | |
957 | statuses.select!(&:is_closed?) |
|
957 | statuses.select!(&:is_closed?) | |
958 | end |
|
958 | end | |
959 | statuses |
|
959 | statuses | |
960 | end |
|
960 | end | |
961 |
|
961 | |||
962 | # Returns the previous assignee (user or group) if changed |
|
962 | # Returns the previous assignee (user or group) if changed | |
963 | def assigned_to_was |
|
963 | def assigned_to_was | |
964 | # assigned_to_id_was is reset before after_save callbacks |
|
964 | # assigned_to_id_was is reset before after_save callbacks | |
965 | user_id = @previous_assigned_to_id || assigned_to_id_was |
|
965 | user_id = @previous_assigned_to_id || assigned_to_id_was | |
966 | if user_id && user_id != assigned_to_id |
|
966 | if user_id && user_id != assigned_to_id | |
967 | @assigned_to_was ||= Principal.find_by_id(user_id) |
|
967 | @assigned_to_was ||= Principal.find_by_id(user_id) | |
968 | end |
|
968 | end | |
969 | end |
|
969 | end | |
970 |
|
970 | |||
971 | # Returns the original tracker |
|
971 | # Returns the original tracker | |
972 | def tracker_was |
|
972 | def tracker_was | |
973 | Tracker.find_by_id(tracker_id_was) |
|
973 | Tracker.find_by_id(tracker_id_was) | |
974 | end |
|
974 | end | |
975 |
|
975 | |||
976 | # Returns the users that should be notified |
|
976 | # Returns the users that should be notified | |
977 | def notified_users |
|
977 | def notified_users | |
978 | notified = [] |
|
978 | notified = [] | |
979 | # Author and assignee are always notified unless they have been |
|
979 | # Author and assignee are always notified unless they have been | |
980 | # locked or don't want to be notified |
|
980 | # locked or don't want to be notified | |
981 | notified << author if author |
|
981 | notified << author if author | |
982 | if assigned_to |
|
982 | if assigned_to | |
983 | notified += (assigned_to.is_a?(Group) ? assigned_to.users : [assigned_to]) |
|
983 | notified += (assigned_to.is_a?(Group) ? assigned_to.users : [assigned_to]) | |
984 | end |
|
984 | end | |
985 | if assigned_to_was |
|
985 | if assigned_to_was | |
986 | notified += (assigned_to_was.is_a?(Group) ? assigned_to_was.users : [assigned_to_was]) |
|
986 | notified += (assigned_to_was.is_a?(Group) ? assigned_to_was.users : [assigned_to_was]) | |
987 | end |
|
987 | end | |
988 | notified = notified.select {|u| u.active? && u.notify_about?(self)} |
|
988 | notified = notified.select {|u| u.active? && u.notify_about?(self)} | |
989 |
|
989 | |||
990 | notified += project.notified_users |
|
990 | notified += project.notified_users | |
991 | notified.uniq! |
|
991 | notified.uniq! | |
992 | # Remove users that can not view the issue |
|
992 | # Remove users that can not view the issue | |
993 | notified.reject! {|user| !visible?(user)} |
|
993 | notified.reject! {|user| !visible?(user)} | |
994 | notified |
|
994 | notified | |
995 | end |
|
995 | end | |
996 |
|
996 | |||
997 | # Returns the email addresses that should be notified |
|
997 | # Returns the email addresses that should be notified | |
998 | def recipients |
|
998 | def recipients | |
999 | notified_users.collect(&:mail) |
|
999 | notified_users.collect(&:mail) | |
1000 | end |
|
1000 | end | |
1001 |
|
1001 | |||
1002 | def each_notification(users, &block) |
|
1002 | def each_notification(users, &block) | |
1003 | if users.any? |
|
1003 | if users.any? | |
1004 | if custom_field_values.detect {|value| !value.custom_field.visible?} |
|
1004 | if custom_field_values.detect {|value| !value.custom_field.visible?} | |
1005 | users_by_custom_field_visibility = users.group_by do |user| |
|
1005 | users_by_custom_field_visibility = users.group_by do |user| | |
1006 | visible_custom_field_values(user).map(&:custom_field_id).sort |
|
1006 | visible_custom_field_values(user).map(&:custom_field_id).sort | |
1007 | end |
|
1007 | end | |
1008 | users_by_custom_field_visibility.values.each do |users| |
|
1008 | users_by_custom_field_visibility.values.each do |users| | |
1009 | yield(users) |
|
1009 | yield(users) | |
1010 | end |
|
1010 | end | |
1011 | else |
|
1011 | else | |
1012 | yield(users) |
|
1012 | yield(users) | |
1013 | end |
|
1013 | end | |
1014 | end |
|
1014 | end | |
1015 | end |
|
1015 | end | |
1016 |
|
1016 | |||
1017 | def notify? |
|
1017 | def notify? | |
1018 | @notify != false |
|
1018 | @notify != false | |
1019 | end |
|
1019 | end | |
1020 |
|
1020 | |||
1021 | def notify=(arg) |
|
1021 | def notify=(arg) | |
1022 | @notify = arg |
|
1022 | @notify = arg | |
1023 | end |
|
1023 | end | |
1024 |
|
1024 | |||
1025 | # Returns the number of hours spent on this issue |
|
1025 | # Returns the number of hours spent on this issue | |
1026 | def spent_hours |
|
1026 | def spent_hours | |
1027 | @spent_hours ||= time_entries.sum(:hours) || 0 |
|
1027 | @spent_hours ||= time_entries.sum(:hours) || 0 | |
1028 | end |
|
1028 | end | |
1029 |
|
1029 | |||
1030 | # Returns the total number of hours spent on this issue and its descendants |
|
1030 | # Returns the total number of hours spent on this issue and its descendants | |
1031 | def total_spent_hours |
|
1031 | def total_spent_hours | |
1032 | @total_spent_hours ||= if leaf? |
|
1032 | @total_spent_hours ||= if leaf? | |
1033 | spent_hours |
|
1033 | spent_hours | |
1034 | else |
|
1034 | else | |
1035 | self_and_descendants.joins(:time_entries).sum("#{TimeEntry.table_name}.hours").to_f || 0.0 |
|
1035 | self_and_descendants.joins(:time_entries).sum("#{TimeEntry.table_name}.hours").to_f || 0.0 | |
1036 | end |
|
1036 | end | |
1037 | end |
|
1037 | end | |
1038 |
|
1038 | |||
1039 | def total_estimated_hours |
|
1039 | def total_estimated_hours | |
1040 | if leaf? |
|
1040 | if leaf? | |
1041 | estimated_hours |
|
1041 | estimated_hours | |
1042 | else |
|
1042 | else | |
1043 | @total_estimated_hours ||= self_and_descendants.sum(:estimated_hours) |
|
1043 | @total_estimated_hours ||= self_and_descendants.sum(:estimated_hours) | |
1044 | end |
|
1044 | end | |
1045 | end |
|
1045 | end | |
1046 |
|
1046 | |||
1047 | def relations |
|
1047 | def relations | |
1048 | @relations ||= IssueRelation::Relations.new(self, (relations_from + relations_to).sort) |
|
1048 | @relations ||= IssueRelation::Relations.new(self, (relations_from + relations_to).sort) | |
1049 | end |
|
1049 | end | |
1050 |
|
1050 | |||
1051 | # Preloads relations for a collection of issues |
|
1051 | # Preloads relations for a collection of issues | |
1052 | def self.load_relations(issues) |
|
1052 | def self.load_relations(issues) | |
1053 | if issues.any? |
|
1053 | if issues.any? | |
1054 | relations = IssueRelation.where("issue_from_id IN (:ids) OR issue_to_id IN (:ids)", :ids => issues.map(&:id)).all |
|
1054 | relations = IssueRelation.where("issue_from_id IN (:ids) OR issue_to_id IN (:ids)", :ids => issues.map(&:id)).all | |
1055 | issues.each do |issue| |
|
1055 | issues.each do |issue| | |
1056 | issue.instance_variable_set "@relations", relations.select {|r| r.issue_from_id == issue.id || r.issue_to_id == issue.id} |
|
1056 | issue.instance_variable_set "@relations", relations.select {|r| r.issue_from_id == issue.id || r.issue_to_id == issue.id} | |
1057 | end |
|
1057 | end | |
1058 | end |
|
1058 | end | |
1059 | end |
|
1059 | end | |
1060 |
|
1060 | |||
1061 | # Preloads visible spent time for a collection of issues |
|
1061 | # Preloads visible spent time for a collection of issues | |
1062 | def self.load_visible_spent_hours(issues, user=User.current) |
|
1062 | def self.load_visible_spent_hours(issues, user=User.current) | |
1063 | if issues.any? |
|
1063 | if issues.any? | |
1064 | hours_by_issue_id = TimeEntry.visible(user).where(:issue_id => issues.map(&:id)).group(:issue_id).sum(:hours) |
|
1064 | hours_by_issue_id = TimeEntry.visible(user).where(:issue_id => issues.map(&:id)).group(:issue_id).sum(:hours) | |
1065 | issues.each do |issue| |
|
1065 | issues.each do |issue| | |
1066 | issue.instance_variable_set "@spent_hours", (hours_by_issue_id[issue.id] || 0) |
|
1066 | issue.instance_variable_set "@spent_hours", (hours_by_issue_id[issue.id] || 0) | |
1067 | end |
|
1067 | end | |
1068 | end |
|
1068 | end | |
1069 | end |
|
1069 | end | |
1070 |
|
1070 | |||
1071 | # Preloads visible total spent time for a collection of issues |
|
1071 | # Preloads visible total spent time for a collection of issues | |
1072 | def self.load_visible_total_spent_hours(issues, user=User.current) |
|
1072 | def self.load_visible_total_spent_hours(issues, user=User.current) | |
1073 | if issues.any? |
|
1073 | if issues.any? | |
1074 | hours_by_issue_id = TimeEntry.visible(user).joins(:issue). |
|
1074 | hours_by_issue_id = TimeEntry.visible(user).joins(:issue). | |
1075 | joins("JOIN #{Issue.table_name} parent ON parent.root_id = #{Issue.table_name}.root_id" + |
|
1075 | joins("JOIN #{Issue.table_name} parent ON parent.root_id = #{Issue.table_name}.root_id" + | |
1076 | " AND parent.lft <= #{Issue.table_name}.lft AND parent.rgt >= #{Issue.table_name}.rgt"). |
|
1076 | " AND parent.lft <= #{Issue.table_name}.lft AND parent.rgt >= #{Issue.table_name}.rgt"). | |
1077 | where("parent.id IN (?)", issues.map(&:id)).group("parent.id").sum(:hours) |
|
1077 | where("parent.id IN (?)", issues.map(&:id)).group("parent.id").sum(:hours) | |
1078 | issues.each do |issue| |
|
1078 | issues.each do |issue| | |
1079 | issue.instance_variable_set "@total_spent_hours", (hours_by_issue_id[issue.id] || 0) |
|
1079 | issue.instance_variable_set "@total_spent_hours", (hours_by_issue_id[issue.id] || 0) | |
1080 | end |
|
1080 | end | |
1081 | end |
|
1081 | end | |
1082 | end |
|
1082 | end | |
1083 |
|
1083 | |||
1084 | # Preloads visible relations for a collection of issues |
|
1084 | # Preloads visible relations for a collection of issues | |
1085 | def self.load_visible_relations(issues, user=User.current) |
|
1085 | def self.load_visible_relations(issues, user=User.current) | |
1086 | if issues.any? |
|
1086 | if issues.any? | |
1087 | issue_ids = issues.map(&:id) |
|
1087 | issue_ids = issues.map(&:id) | |
1088 | # Relations with issue_from in given issues and visible issue_to |
|
1088 | # Relations with issue_from in given issues and visible issue_to | |
1089 | relations_from = IssueRelation.joins(:issue_to => :project). |
|
1089 | relations_from = IssueRelation.joins(:issue_to => :project). | |
1090 | where(visible_condition(user)).where(:issue_from_id => issue_ids).to_a |
|
1090 | where(visible_condition(user)).where(:issue_from_id => issue_ids).to_a | |
1091 | # Relations with issue_to in given issues and visible issue_from |
|
1091 | # Relations with issue_to in given issues and visible issue_from | |
1092 | relations_to = IssueRelation.joins(:issue_from => :project). |
|
1092 | relations_to = IssueRelation.joins(:issue_from => :project). | |
1093 | where(visible_condition(user)). |
|
1093 | where(visible_condition(user)). | |
1094 | where(:issue_to_id => issue_ids).to_a |
|
1094 | where(:issue_to_id => issue_ids).to_a | |
1095 | issues.each do |issue| |
|
1095 | issues.each do |issue| | |
1096 | relations = |
|
1096 | relations = | |
1097 | relations_from.select {|relation| relation.issue_from_id == issue.id} + |
|
1097 | relations_from.select {|relation| relation.issue_from_id == issue.id} + | |
1098 | relations_to.select {|relation| relation.issue_to_id == issue.id} |
|
1098 | relations_to.select {|relation| relation.issue_to_id == issue.id} | |
1099 |
|
1099 | |||
1100 | issue.instance_variable_set "@relations", IssueRelation::Relations.new(issue, relations.sort) |
|
1100 | issue.instance_variable_set "@relations", IssueRelation::Relations.new(issue, relations.sort) | |
1101 | end |
|
1101 | end | |
1102 | end |
|
1102 | end | |
1103 | end |
|
1103 | end | |
1104 |
|
1104 | |||
|
1105 | # Returns a scope of the given issues and their descendants | |||
|
1106 | def self.self_and_descendants(issues) | |||
|
1107 | issue_ids = Issue.joins("JOIN #{Issue.table_name} ancestors" + | |||
|
1108 | " ON ancestors.root_id = #{Issue.table_name}.root_id" + | |||
|
1109 | " AND ancestors.lft <= #{Issue.table_name}.lft AND ancestors.rgt >= #{Issue.table_name}.rgt" | |||
|
1110 | ). | |||
|
1111 | where(:ancestors => {:id => issues.map(&:id)}) | |||
|
1112 | end | |||
|
1113 | ||||
1105 | # Finds an issue relation given its id. |
|
1114 | # Finds an issue relation given its id. | |
1106 | def find_relation(relation_id) |
|
1115 | def find_relation(relation_id) | |
1107 | IssueRelation.where("issue_to_id = ? OR issue_from_id = ?", id, id).find(relation_id) |
|
1116 | IssueRelation.where("issue_to_id = ? OR issue_from_id = ?", id, id).find(relation_id) | |
1108 | end |
|
1117 | end | |
1109 |
|
1118 | |||
1110 | # Returns true if this issue blocks the other issue, otherwise returns false |
|
1119 | # Returns true if this issue blocks the other issue, otherwise returns false | |
1111 | def blocks?(other) |
|
1120 | def blocks?(other) | |
1112 | all = [self] |
|
1121 | all = [self] | |
1113 | last = [self] |
|
1122 | last = [self] | |
1114 | while last.any? |
|
1123 | while last.any? | |
1115 | current = last.map {|i| i.relations_from.where(:relation_type => IssueRelation::TYPE_BLOCKS).map(&:issue_to)}.flatten.uniq |
|
1124 | current = last.map {|i| i.relations_from.where(:relation_type => IssueRelation::TYPE_BLOCKS).map(&:issue_to)}.flatten.uniq | |
1116 | current -= last |
|
1125 | current -= last | |
1117 | current -= all |
|
1126 | current -= all | |
1118 | return true if current.include?(other) |
|
1127 | return true if current.include?(other) | |
1119 | last = current |
|
1128 | last = current | |
1120 | all += last |
|
1129 | all += last | |
1121 | end |
|
1130 | end | |
1122 | false |
|
1131 | false | |
1123 | end |
|
1132 | end | |
1124 |
|
1133 | |||
1125 | # Returns true if the other issue might be rescheduled if the start/due dates of this issue change |
|
1134 | # Returns true if the other issue might be rescheduled if the start/due dates of this issue change | |
1126 | def would_reschedule?(other) |
|
1135 | def would_reschedule?(other) | |
1127 | all = [self] |
|
1136 | all = [self] | |
1128 | last = [self] |
|
1137 | last = [self] | |
1129 | while last.any? |
|
1138 | while last.any? | |
1130 | current = last.map {|i| |
|
1139 | current = last.map {|i| | |
1131 | i.relations_from.where(:relation_type => IssueRelation::TYPE_PRECEDES).map(&:issue_to) + |
|
1140 | i.relations_from.where(:relation_type => IssueRelation::TYPE_PRECEDES).map(&:issue_to) + | |
1132 | i.leaves.to_a + |
|
1141 | i.leaves.to_a + | |
1133 | i.ancestors.map {|a| a.relations_from.where(:relation_type => IssueRelation::TYPE_PRECEDES).map(&:issue_to)} |
|
1142 | i.ancestors.map {|a| a.relations_from.where(:relation_type => IssueRelation::TYPE_PRECEDES).map(&:issue_to)} | |
1134 | }.flatten.uniq |
|
1143 | }.flatten.uniq | |
1135 | current -= last |
|
1144 | current -= last | |
1136 | current -= all |
|
1145 | current -= all | |
1137 | return true if current.include?(other) |
|
1146 | return true if current.include?(other) | |
1138 | last = current |
|
1147 | last = current | |
1139 | all += last |
|
1148 | all += last | |
1140 | end |
|
1149 | end | |
1141 | false |
|
1150 | false | |
1142 | end |
|
1151 | end | |
1143 |
|
1152 | |||
1144 | # Returns an array of issues that duplicate this one |
|
1153 | # Returns an array of issues that duplicate this one | |
1145 | def duplicates |
|
1154 | def duplicates | |
1146 | relations_to.select {|r| r.relation_type == IssueRelation::TYPE_DUPLICATES}.collect {|r| r.issue_from} |
|
1155 | relations_to.select {|r| r.relation_type == IssueRelation::TYPE_DUPLICATES}.collect {|r| r.issue_from} | |
1147 | end |
|
1156 | end | |
1148 |
|
1157 | |||
1149 | # Returns the due date or the target due date if any |
|
1158 | # Returns the due date or the target due date if any | |
1150 | # Used on gantt chart |
|
1159 | # Used on gantt chart | |
1151 | def due_before |
|
1160 | def due_before | |
1152 | due_date || (fixed_version ? fixed_version.effective_date : nil) |
|
1161 | due_date || (fixed_version ? fixed_version.effective_date : nil) | |
1153 | end |
|
1162 | end | |
1154 |
|
1163 | |||
1155 | # Returns the time scheduled for this issue. |
|
1164 | # Returns the time scheduled for this issue. | |
1156 | # |
|
1165 | # | |
1157 | # Example: |
|
1166 | # Example: | |
1158 | # Start Date: 2/26/09, End Date: 3/04/09 |
|
1167 | # Start Date: 2/26/09, End Date: 3/04/09 | |
1159 | # duration => 6 |
|
1168 | # duration => 6 | |
1160 | def duration |
|
1169 | def duration | |
1161 | (start_date && due_date) ? due_date - start_date : 0 |
|
1170 | (start_date && due_date) ? due_date - start_date : 0 | |
1162 | end |
|
1171 | end | |
1163 |
|
1172 | |||
1164 | # Returns the duration in working days |
|
1173 | # Returns the duration in working days | |
1165 | def working_duration |
|
1174 | def working_duration | |
1166 | (start_date && due_date) ? working_days(start_date, due_date) : 0 |
|
1175 | (start_date && due_date) ? working_days(start_date, due_date) : 0 | |
1167 | end |
|
1176 | end | |
1168 |
|
1177 | |||
1169 | def soonest_start(reload=false) |
|
1178 | def soonest_start(reload=false) | |
1170 | if @soonest_start.nil? || reload |
|
1179 | if @soonest_start.nil? || reload | |
1171 | relations_to.reload if reload |
|
1180 | relations_to.reload if reload | |
1172 | dates = relations_to.collect{|relation| relation.successor_soonest_start} |
|
1181 | dates = relations_to.collect{|relation| relation.successor_soonest_start} | |
1173 | p = @parent_issue || parent |
|
1182 | p = @parent_issue || parent | |
1174 | if p && Setting.parent_issue_dates == 'derived' |
|
1183 | if p && Setting.parent_issue_dates == 'derived' | |
1175 | dates << p.soonest_start |
|
1184 | dates << p.soonest_start | |
1176 | end |
|
1185 | end | |
1177 | @soonest_start = dates.compact.max |
|
1186 | @soonest_start = dates.compact.max | |
1178 | end |
|
1187 | end | |
1179 | @soonest_start |
|
1188 | @soonest_start | |
1180 | end |
|
1189 | end | |
1181 |
|
1190 | |||
1182 | # Sets start_date on the given date or the next working day |
|
1191 | # Sets start_date on the given date or the next working day | |
1183 | # and changes due_date to keep the same working duration. |
|
1192 | # and changes due_date to keep the same working duration. | |
1184 | def reschedule_on(date) |
|
1193 | def reschedule_on(date) | |
1185 | wd = working_duration |
|
1194 | wd = working_duration | |
1186 | date = next_working_date(date) |
|
1195 | date = next_working_date(date) | |
1187 | self.start_date = date |
|
1196 | self.start_date = date | |
1188 | self.due_date = add_working_days(date, wd) |
|
1197 | self.due_date = add_working_days(date, wd) | |
1189 | end |
|
1198 | end | |
1190 |
|
1199 | |||
1191 | # Reschedules the issue on the given date or the next working day and saves the record. |
|
1200 | # Reschedules the issue on the given date or the next working day and saves the record. | |
1192 | # If the issue is a parent task, this is done by rescheduling its subtasks. |
|
1201 | # If the issue is a parent task, this is done by rescheduling its subtasks. | |
1193 | def reschedule_on!(date) |
|
1202 | def reschedule_on!(date) | |
1194 | return if date.nil? |
|
1203 | return if date.nil? | |
1195 | if leaf? || !dates_derived? |
|
1204 | if leaf? || !dates_derived? | |
1196 | if start_date.nil? || start_date != date |
|
1205 | if start_date.nil? || start_date != date | |
1197 | if start_date && start_date > date |
|
1206 | if start_date && start_date > date | |
1198 | # Issue can not be moved earlier than its soonest start date |
|
1207 | # Issue can not be moved earlier than its soonest start date | |
1199 | date = [soonest_start(true), date].compact.max |
|
1208 | date = [soonest_start(true), date].compact.max | |
1200 | end |
|
1209 | end | |
1201 | reschedule_on(date) |
|
1210 | reschedule_on(date) | |
1202 | begin |
|
1211 | begin | |
1203 | save |
|
1212 | save | |
1204 | rescue ActiveRecord::StaleObjectError |
|
1213 | rescue ActiveRecord::StaleObjectError | |
1205 | reload |
|
1214 | reload | |
1206 | reschedule_on(date) |
|
1215 | reschedule_on(date) | |
1207 | save |
|
1216 | save | |
1208 | end |
|
1217 | end | |
1209 | end |
|
1218 | end | |
1210 | else |
|
1219 | else | |
1211 | leaves.each do |leaf| |
|
1220 | leaves.each do |leaf| | |
1212 | if leaf.start_date |
|
1221 | if leaf.start_date | |
1213 | # Only move subtask if it starts at the same date as the parent |
|
1222 | # Only move subtask if it starts at the same date as the parent | |
1214 | # or if it starts before the given date |
|
1223 | # or if it starts before the given date | |
1215 | if start_date == leaf.start_date || date > leaf.start_date |
|
1224 | if start_date == leaf.start_date || date > leaf.start_date | |
1216 | leaf.reschedule_on!(date) |
|
1225 | leaf.reschedule_on!(date) | |
1217 | end |
|
1226 | end | |
1218 | else |
|
1227 | else | |
1219 | leaf.reschedule_on!(date) |
|
1228 | leaf.reschedule_on!(date) | |
1220 | end |
|
1229 | end | |
1221 | end |
|
1230 | end | |
1222 | end |
|
1231 | end | |
1223 | end |
|
1232 | end | |
1224 |
|
1233 | |||
1225 | def dates_derived? |
|
1234 | def dates_derived? | |
1226 | !leaf? && Setting.parent_issue_dates == 'derived' |
|
1235 | !leaf? && Setting.parent_issue_dates == 'derived' | |
1227 | end |
|
1236 | end | |
1228 |
|
1237 | |||
1229 | def priority_derived? |
|
1238 | def priority_derived? | |
1230 | !leaf? && Setting.parent_issue_priority == 'derived' |
|
1239 | !leaf? && Setting.parent_issue_priority == 'derived' | |
1231 | end |
|
1240 | end | |
1232 |
|
1241 | |||
1233 | def done_ratio_derived? |
|
1242 | def done_ratio_derived? | |
1234 | !leaf? && Setting.parent_issue_done_ratio == 'derived' |
|
1243 | !leaf? && Setting.parent_issue_done_ratio == 'derived' | |
1235 | end |
|
1244 | end | |
1236 |
|
1245 | |||
1237 | def <=>(issue) |
|
1246 | def <=>(issue) | |
1238 | if issue.nil? |
|
1247 | if issue.nil? | |
1239 | -1 |
|
1248 | -1 | |
1240 | elsif root_id != issue.root_id |
|
1249 | elsif root_id != issue.root_id | |
1241 | (root_id || 0) <=> (issue.root_id || 0) |
|
1250 | (root_id || 0) <=> (issue.root_id || 0) | |
1242 | else |
|
1251 | else | |
1243 | (lft || 0) <=> (issue.lft || 0) |
|
1252 | (lft || 0) <=> (issue.lft || 0) | |
1244 | end |
|
1253 | end | |
1245 | end |
|
1254 | end | |
1246 |
|
1255 | |||
1247 | def to_s |
|
1256 | def to_s | |
1248 | "#{tracker} ##{id}: #{subject}" |
|
1257 | "#{tracker} ##{id}: #{subject}" | |
1249 | end |
|
1258 | end | |
1250 |
|
1259 | |||
1251 | # Returns a string of css classes that apply to the issue |
|
1260 | # Returns a string of css classes that apply to the issue | |
1252 | def css_classes(user=User.current) |
|
1261 | def css_classes(user=User.current) | |
1253 | s = "issue tracker-#{tracker_id} status-#{status_id} #{priority.try(:css_classes)}" |
|
1262 | s = "issue tracker-#{tracker_id} status-#{status_id} #{priority.try(:css_classes)}" | |
1254 | s << ' closed' if closed? |
|
1263 | s << ' closed' if closed? | |
1255 | s << ' overdue' if overdue? |
|
1264 | s << ' overdue' if overdue? | |
1256 | s << ' child' if child? |
|
1265 | s << ' child' if child? | |
1257 | s << ' parent' unless leaf? |
|
1266 | s << ' parent' unless leaf? | |
1258 | s << ' private' if is_private? |
|
1267 | s << ' private' if is_private? | |
1259 | if user.logged? |
|
1268 | if user.logged? | |
1260 | s << ' created-by-me' if author_id == user.id |
|
1269 | s << ' created-by-me' if author_id == user.id | |
1261 | s << ' assigned-to-me' if assigned_to_id == user.id |
|
1270 | s << ' assigned-to-me' if assigned_to_id == user.id | |
1262 | s << ' assigned-to-my-group' if user.groups.any? {|g| g.id == assigned_to_id} |
|
1271 | s << ' assigned-to-my-group' if user.groups.any? {|g| g.id == assigned_to_id} | |
1263 | end |
|
1272 | end | |
1264 | s |
|
1273 | s | |
1265 | end |
|
1274 | end | |
1266 |
|
1275 | |||
1267 | # Unassigns issues from +version+ if it's no longer shared with issue's project |
|
1276 | # Unassigns issues from +version+ if it's no longer shared with issue's project | |
1268 | def self.update_versions_from_sharing_change(version) |
|
1277 | def self.update_versions_from_sharing_change(version) | |
1269 | # Update issues assigned to the version |
|
1278 | # Update issues assigned to the version | |
1270 | update_versions(["#{Issue.table_name}.fixed_version_id = ?", version.id]) |
|
1279 | update_versions(["#{Issue.table_name}.fixed_version_id = ?", version.id]) | |
1271 | end |
|
1280 | end | |
1272 |
|
1281 | |||
1273 | # Unassigns issues from versions that are no longer shared |
|
1282 | # Unassigns issues from versions that are no longer shared | |
1274 | # after +project+ was moved |
|
1283 | # after +project+ was moved | |
1275 | def self.update_versions_from_hierarchy_change(project) |
|
1284 | def self.update_versions_from_hierarchy_change(project) | |
1276 | moved_project_ids = project.self_and_descendants.reload.collect(&:id) |
|
1285 | moved_project_ids = project.self_and_descendants.reload.collect(&:id) | |
1277 | # Update issues of the moved projects and issues assigned to a version of a moved project |
|
1286 | # Update issues of the moved projects and issues assigned to a version of a moved project | |
1278 | Issue.update_versions( |
|
1287 | Issue.update_versions( | |
1279 | ["#{Version.table_name}.project_id IN (?) OR #{Issue.table_name}.project_id IN (?)", |
|
1288 | ["#{Version.table_name}.project_id IN (?) OR #{Issue.table_name}.project_id IN (?)", | |
1280 | moved_project_ids, moved_project_ids] |
|
1289 | moved_project_ids, moved_project_ids] | |
1281 | ) |
|
1290 | ) | |
1282 | end |
|
1291 | end | |
1283 |
|
1292 | |||
1284 | def parent_issue_id=(arg) |
|
1293 | def parent_issue_id=(arg) | |
1285 | s = arg.to_s.strip.presence |
|
1294 | s = arg.to_s.strip.presence | |
1286 | if s && (m = s.match(%r{\A#?(\d+)\z})) && (@parent_issue = Issue.find_by_id(m[1])) |
|
1295 | if s && (m = s.match(%r{\A#?(\d+)\z})) && (@parent_issue = Issue.find_by_id(m[1])) | |
1287 | @invalid_parent_issue_id = nil |
|
1296 | @invalid_parent_issue_id = nil | |
1288 | elsif s.blank? |
|
1297 | elsif s.blank? | |
1289 | @parent_issue = nil |
|
1298 | @parent_issue = nil | |
1290 | @invalid_parent_issue_id = nil |
|
1299 | @invalid_parent_issue_id = nil | |
1291 | else |
|
1300 | else | |
1292 | @parent_issue = nil |
|
1301 | @parent_issue = nil | |
1293 | @invalid_parent_issue_id = arg |
|
1302 | @invalid_parent_issue_id = arg | |
1294 | end |
|
1303 | end | |
1295 | end |
|
1304 | end | |
1296 |
|
1305 | |||
1297 | def parent_issue_id |
|
1306 | def parent_issue_id | |
1298 | if @invalid_parent_issue_id |
|
1307 | if @invalid_parent_issue_id | |
1299 | @invalid_parent_issue_id |
|
1308 | @invalid_parent_issue_id | |
1300 | elsif instance_variable_defined? :@parent_issue |
|
1309 | elsif instance_variable_defined? :@parent_issue | |
1301 | @parent_issue.nil? ? nil : @parent_issue.id |
|
1310 | @parent_issue.nil? ? nil : @parent_issue.id | |
1302 | else |
|
1311 | else | |
1303 | parent_id |
|
1312 | parent_id | |
1304 | end |
|
1313 | end | |
1305 | end |
|
1314 | end | |
1306 |
|
1315 | |||
1307 | def set_parent_id |
|
1316 | def set_parent_id | |
1308 | self.parent_id = parent_issue_id |
|
1317 | self.parent_id = parent_issue_id | |
1309 | end |
|
1318 | end | |
1310 |
|
1319 | |||
1311 | # Returns true if issue's project is a valid |
|
1320 | # Returns true if issue's project is a valid | |
1312 | # parent issue project |
|
1321 | # parent issue project | |
1313 | def valid_parent_project?(issue=parent) |
|
1322 | def valid_parent_project?(issue=parent) | |
1314 | return true if issue.nil? || issue.project_id == project_id |
|
1323 | return true if issue.nil? || issue.project_id == project_id | |
1315 |
|
1324 | |||
1316 | case Setting.cross_project_subtasks |
|
1325 | case Setting.cross_project_subtasks | |
1317 | when 'system' |
|
1326 | when 'system' | |
1318 | true |
|
1327 | true | |
1319 | when 'tree' |
|
1328 | when 'tree' | |
1320 | issue.project.root == project.root |
|
1329 | issue.project.root == project.root | |
1321 | when 'hierarchy' |
|
1330 | when 'hierarchy' | |
1322 | issue.project.is_or_is_ancestor_of?(project) || issue.project.is_descendant_of?(project) |
|
1331 | issue.project.is_or_is_ancestor_of?(project) || issue.project.is_descendant_of?(project) | |
1323 | when 'descendants' |
|
1332 | when 'descendants' | |
1324 | issue.project.is_or_is_ancestor_of?(project) |
|
1333 | issue.project.is_or_is_ancestor_of?(project) | |
1325 | else |
|
1334 | else | |
1326 | false |
|
1335 | false | |
1327 | end |
|
1336 | end | |
1328 | end |
|
1337 | end | |
1329 |
|
1338 | |||
1330 | # Returns an issue scope based on project and scope |
|
1339 | # Returns an issue scope based on project and scope | |
1331 | def self.cross_project_scope(project, scope=nil) |
|
1340 | def self.cross_project_scope(project, scope=nil) | |
1332 | if project.nil? |
|
1341 | if project.nil? | |
1333 | return Issue |
|
1342 | return Issue | |
1334 | end |
|
1343 | end | |
1335 | case scope |
|
1344 | case scope | |
1336 | when 'all', 'system' |
|
1345 | when 'all', 'system' | |
1337 | Issue |
|
1346 | Issue | |
1338 | when 'tree' |
|
1347 | when 'tree' | |
1339 | Issue.joins(:project).where("(#{Project.table_name}.lft >= :lft AND #{Project.table_name}.rgt <= :rgt)", |
|
1348 | Issue.joins(:project).where("(#{Project.table_name}.lft >= :lft AND #{Project.table_name}.rgt <= :rgt)", | |
1340 | :lft => project.root.lft, :rgt => project.root.rgt) |
|
1349 | :lft => project.root.lft, :rgt => project.root.rgt) | |
1341 | when 'hierarchy' |
|
1350 | when 'hierarchy' | |
1342 | Issue.joins(:project).where("(#{Project.table_name}.lft >= :lft AND #{Project.table_name}.rgt <= :rgt) OR (#{Project.table_name}.lft < :lft AND #{Project.table_name}.rgt > :rgt)", |
|
1351 | Issue.joins(:project).where("(#{Project.table_name}.lft >= :lft AND #{Project.table_name}.rgt <= :rgt) OR (#{Project.table_name}.lft < :lft AND #{Project.table_name}.rgt > :rgt)", | |
1343 | :lft => project.lft, :rgt => project.rgt) |
|
1352 | :lft => project.lft, :rgt => project.rgt) | |
1344 | when 'descendants' |
|
1353 | when 'descendants' | |
1345 | Issue.joins(:project).where("(#{Project.table_name}.lft >= :lft AND #{Project.table_name}.rgt <= :rgt)", |
|
1354 | Issue.joins(:project).where("(#{Project.table_name}.lft >= :lft AND #{Project.table_name}.rgt <= :rgt)", | |
1346 | :lft => project.lft, :rgt => project.rgt) |
|
1355 | :lft => project.lft, :rgt => project.rgt) | |
1347 | else |
|
1356 | else | |
1348 | Issue.where(:project_id => project.id) |
|
1357 | Issue.where(:project_id => project.id) | |
1349 | end |
|
1358 | end | |
1350 | end |
|
1359 | end | |
1351 |
|
1360 | |||
1352 | def self.by_tracker(project) |
|
1361 | def self.by_tracker(project) | |
1353 | count_and_group_by(:project => project, :association => :tracker) |
|
1362 | count_and_group_by(:project => project, :association => :tracker) | |
1354 | end |
|
1363 | end | |
1355 |
|
1364 | |||
1356 | def self.by_version(project) |
|
1365 | def self.by_version(project) | |
1357 | count_and_group_by(:project => project, :association => :fixed_version) |
|
1366 | count_and_group_by(:project => project, :association => :fixed_version) | |
1358 | end |
|
1367 | end | |
1359 |
|
1368 | |||
1360 | def self.by_priority(project) |
|
1369 | def self.by_priority(project) | |
1361 | count_and_group_by(:project => project, :association => :priority) |
|
1370 | count_and_group_by(:project => project, :association => :priority) | |
1362 | end |
|
1371 | end | |
1363 |
|
1372 | |||
1364 | def self.by_category(project) |
|
1373 | def self.by_category(project) | |
1365 | count_and_group_by(:project => project, :association => :category) |
|
1374 | count_and_group_by(:project => project, :association => :category) | |
1366 | end |
|
1375 | end | |
1367 |
|
1376 | |||
1368 | def self.by_assigned_to(project) |
|
1377 | def self.by_assigned_to(project) | |
1369 | count_and_group_by(:project => project, :association => :assigned_to) |
|
1378 | count_and_group_by(:project => project, :association => :assigned_to) | |
1370 | end |
|
1379 | end | |
1371 |
|
1380 | |||
1372 | def self.by_author(project) |
|
1381 | def self.by_author(project) | |
1373 | count_and_group_by(:project => project, :association => :author) |
|
1382 | count_and_group_by(:project => project, :association => :author) | |
1374 | end |
|
1383 | end | |
1375 |
|
1384 | |||
1376 | def self.by_subproject(project) |
|
1385 | def self.by_subproject(project) | |
1377 | r = count_and_group_by(:project => project, :with_subprojects => true, :association => :project) |
|
1386 | r = count_and_group_by(:project => project, :with_subprojects => true, :association => :project) | |
1378 | r.reject {|r| r["project_id"] == project.id.to_s} |
|
1387 | r.reject {|r| r["project_id"] == project.id.to_s} | |
1379 | end |
|
1388 | end | |
1380 |
|
1389 | |||
1381 | # Query generator for selecting groups of issue counts for a project |
|
1390 | # Query generator for selecting groups of issue counts for a project | |
1382 | # based on specific criteria |
|
1391 | # based on specific criteria | |
1383 | # |
|
1392 | # | |
1384 | # Options |
|
1393 | # Options | |
1385 | # * project - Project to search in. |
|
1394 | # * project - Project to search in. | |
1386 | # * with_subprojects - Includes subprojects issues if set to true. |
|
1395 | # * with_subprojects - Includes subprojects issues if set to true. | |
1387 | # * association - Symbol. Association for grouping. |
|
1396 | # * association - Symbol. Association for grouping. | |
1388 | def self.count_and_group_by(options) |
|
1397 | def self.count_and_group_by(options) | |
1389 | assoc = reflect_on_association(options[:association]) |
|
1398 | assoc = reflect_on_association(options[:association]) | |
1390 | select_field = assoc.foreign_key |
|
1399 | select_field = assoc.foreign_key | |
1391 |
|
1400 | |||
1392 | Issue. |
|
1401 | Issue. | |
1393 | visible(User.current, :project => options[:project], :with_subprojects => options[:with_subprojects]). |
|
1402 | visible(User.current, :project => options[:project], :with_subprojects => options[:with_subprojects]). | |
1394 | joins(:status, assoc.name). |
|
1403 | joins(:status, assoc.name). | |
1395 | group(:status_id, :is_closed, select_field). |
|
1404 | group(:status_id, :is_closed, select_field). | |
1396 | count. |
|
1405 | count. | |
1397 | map do |columns, total| |
|
1406 | map do |columns, total| | |
1398 | status_id, is_closed, field_value = columns |
|
1407 | status_id, is_closed, field_value = columns | |
1399 | is_closed = ['t', 'true', '1'].include?(is_closed.to_s) |
|
1408 | is_closed = ['t', 'true', '1'].include?(is_closed.to_s) | |
1400 | { |
|
1409 | { | |
1401 | "status_id" => status_id.to_s, |
|
1410 | "status_id" => status_id.to_s, | |
1402 | "closed" => is_closed, |
|
1411 | "closed" => is_closed, | |
1403 | select_field => field_value.to_s, |
|
1412 | select_field => field_value.to_s, | |
1404 | "total" => total.to_s |
|
1413 | "total" => total.to_s | |
1405 | } |
|
1414 | } | |
1406 | end |
|
1415 | end | |
1407 | end |
|
1416 | end | |
1408 |
|
1417 | |||
1409 | # Returns a scope of projects that user can assign the issue to |
|
1418 | # Returns a scope of projects that user can assign the issue to | |
1410 | def allowed_target_projects(user=User.current) |
|
1419 | def allowed_target_projects(user=User.current) | |
1411 | current_project = new_record? ? nil : project |
|
1420 | current_project = new_record? ? nil : project | |
1412 | self.class.allowed_target_projects(user, current_project) |
|
1421 | self.class.allowed_target_projects(user, current_project) | |
1413 | end |
|
1422 | end | |
1414 |
|
1423 | |||
1415 | # Returns a scope of projects that user can assign issues to |
|
1424 | # Returns a scope of projects that user can assign issues to | |
1416 | # If current_project is given, it will be included in the scope |
|
1425 | # If current_project is given, it will be included in the scope | |
1417 | def self.allowed_target_projects(user=User.current, current_project=nil) |
|
1426 | def self.allowed_target_projects(user=User.current, current_project=nil) | |
1418 | condition = Project.allowed_to_condition(user, :add_issues) |
|
1427 | condition = Project.allowed_to_condition(user, :add_issues) | |
1419 | if current_project |
|
1428 | if current_project | |
1420 | condition = ["(#{condition}) OR #{Project.table_name}.id = ?", current_project.id] |
|
1429 | condition = ["(#{condition}) OR #{Project.table_name}.id = ?", current_project.id] | |
1421 | end |
|
1430 | end | |
1422 | Project.where(condition).having_trackers |
|
1431 | Project.where(condition).having_trackers | |
1423 | end |
|
1432 | end | |
1424 |
|
1433 | |||
1425 | # Returns a scope of trackers that user can assign the issue to |
|
1434 | # Returns a scope of trackers that user can assign the issue to | |
1426 | def allowed_target_trackers(user=User.current) |
|
1435 | def allowed_target_trackers(user=User.current) | |
1427 | self.class.allowed_target_trackers(project, user, tracker_id_was) |
|
1436 | self.class.allowed_target_trackers(project, user, tracker_id_was) | |
1428 | end |
|
1437 | end | |
1429 |
|
1438 | |||
1430 | # Returns a scope of trackers that user can assign project issues to |
|
1439 | # Returns a scope of trackers that user can assign project issues to | |
1431 | def self.allowed_target_trackers(project, user=User.current, current_tracker=nil) |
|
1440 | def self.allowed_target_trackers(project, user=User.current, current_tracker=nil) | |
1432 | if project |
|
1441 | if project | |
1433 | scope = project.trackers.sorted |
|
1442 | scope = project.trackers.sorted | |
1434 | unless user.admin? |
|
1443 | unless user.admin? | |
1435 | roles = user.roles_for_project(project).select {|r| r.has_permission?(:add_issues)} |
|
1444 | roles = user.roles_for_project(project).select {|r| r.has_permission?(:add_issues)} | |
1436 | unless roles.any? {|r| r.permissions_all_trackers?(:add_issues)} |
|
1445 | unless roles.any? {|r| r.permissions_all_trackers?(:add_issues)} | |
1437 | tracker_ids = roles.map {|r| r.permissions_tracker_ids(:add_issues)}.flatten.uniq |
|
1446 | tracker_ids = roles.map {|r| r.permissions_tracker_ids(:add_issues)}.flatten.uniq | |
1438 | if current_tracker |
|
1447 | if current_tracker | |
1439 | tracker_ids << current_tracker |
|
1448 | tracker_ids << current_tracker | |
1440 | end |
|
1449 | end | |
1441 | scope = scope.where(:id => tracker_ids) |
|
1450 | scope = scope.where(:id => tracker_ids) | |
1442 | end |
|
1451 | end | |
1443 | end |
|
1452 | end | |
1444 | scope |
|
1453 | scope | |
1445 | else |
|
1454 | else | |
1446 | Tracker.none |
|
1455 | Tracker.none | |
1447 | end |
|
1456 | end | |
1448 | end |
|
1457 | end | |
1449 |
|
1458 | |||
1450 | private |
|
1459 | private | |
1451 |
|
1460 | |||
1452 | def user_tracker_permission?(user, permission) |
|
1461 | def user_tracker_permission?(user, permission) | |
1453 | if project && !project.active? |
|
1462 | if project && !project.active? | |
1454 | perm = Redmine::AccessControl.permission(permission) |
|
1463 | perm = Redmine::AccessControl.permission(permission) | |
1455 | return false unless perm && perm.read? |
|
1464 | return false unless perm && perm.read? | |
1456 | end |
|
1465 | end | |
1457 |
|
1466 | |||
1458 | if user.admin? |
|
1467 | if user.admin? | |
1459 | true |
|
1468 | true | |
1460 | else |
|
1469 | else | |
1461 | roles = user.roles_for_project(project).select {|r| r.has_permission?(permission)} |
|
1470 | roles = user.roles_for_project(project).select {|r| r.has_permission?(permission)} | |
1462 | roles.any? {|r| r.permissions_all_trackers?(permission) || r.permissions_tracker_ids?(permission, tracker_id)} |
|
1471 | roles.any? {|r| r.permissions_all_trackers?(permission) || r.permissions_tracker_ids?(permission, tracker_id)} | |
1463 | end |
|
1472 | end | |
1464 | end |
|
1473 | end | |
1465 |
|
1474 | |||
1466 | def after_project_change |
|
1475 | def after_project_change | |
1467 | # Update project_id on related time entries |
|
1476 | # Update project_id on related time entries | |
1468 | TimeEntry.where({:issue_id => id}).update_all(["project_id = ?", project_id]) |
|
1477 | TimeEntry.where({:issue_id => id}).update_all(["project_id = ?", project_id]) | |
1469 |
|
1478 | |||
1470 | # Delete issue relations |
|
1479 | # Delete issue relations | |
1471 | unless Setting.cross_project_issue_relations? |
|
1480 | unless Setting.cross_project_issue_relations? | |
1472 | relations_from.clear |
|
1481 | relations_from.clear | |
1473 | relations_to.clear |
|
1482 | relations_to.clear | |
1474 | end |
|
1483 | end | |
1475 |
|
1484 | |||
1476 | # Move subtasks that were in the same project |
|
1485 | # Move subtasks that were in the same project | |
1477 | children.each do |child| |
|
1486 | children.each do |child| | |
1478 | next unless child.project_id == project_id_was |
|
1487 | next unless child.project_id == project_id_was | |
1479 | # Change project and keep project |
|
1488 | # Change project and keep project | |
1480 | child.send :project=, project, true |
|
1489 | child.send :project=, project, true | |
1481 | unless child.save |
|
1490 | unless child.save | |
1482 | errors.add :base, l(:error_move_of_child_not_possible, :child => "##{child.id}", :errors => child.errors.full_messages.join(", ")) |
|
1491 | errors.add :base, l(:error_move_of_child_not_possible, :child => "##{child.id}", :errors => child.errors.full_messages.join(", ")) | |
1483 | raise ActiveRecord::Rollback |
|
1492 | raise ActiveRecord::Rollback | |
1484 | end |
|
1493 | end | |
1485 | end |
|
1494 | end | |
1486 | end |
|
1495 | end | |
1487 |
|
1496 | |||
1488 | # Callback for after the creation of an issue by copy |
|
1497 | # Callback for after the creation of an issue by copy | |
1489 | # * adds a "copied to" relation with the copied issue |
|
1498 | # * adds a "copied to" relation with the copied issue | |
1490 | # * copies subtasks from the copied issue |
|
1499 | # * copies subtasks from the copied issue | |
1491 | def after_create_from_copy |
|
1500 | def after_create_from_copy | |
1492 | return unless copy? && !@after_create_from_copy_handled |
|
1501 | return unless copy? && !@after_create_from_copy_handled | |
1493 |
|
1502 | |||
1494 | if (@copied_from.project_id == project_id || Setting.cross_project_issue_relations?) && @copy_options[:link] != false |
|
1503 | if (@copied_from.project_id == project_id || Setting.cross_project_issue_relations?) && @copy_options[:link] != false | |
1495 | if @current_journal |
|
1504 | if @current_journal | |
1496 | @copied_from.init_journal(@current_journal.user) |
|
1505 | @copied_from.init_journal(@current_journal.user) | |
1497 | end |
|
1506 | end | |
1498 | relation = IssueRelation.new(:issue_from => @copied_from, :issue_to => self, :relation_type => IssueRelation::TYPE_COPIED_TO) |
|
1507 | relation = IssueRelation.new(:issue_from => @copied_from, :issue_to => self, :relation_type => IssueRelation::TYPE_COPIED_TO) | |
1499 | unless relation.save |
|
1508 | unless relation.save | |
1500 | logger.error "Could not create relation while copying ##{@copied_from.id} to ##{id} due to validation errors: #{relation.errors.full_messages.join(', ')}" if logger |
|
1509 | logger.error "Could not create relation while copying ##{@copied_from.id} to ##{id} due to validation errors: #{relation.errors.full_messages.join(', ')}" if logger | |
1501 | end |
|
1510 | end | |
1502 | end |
|
1511 | end | |
1503 |
|
1512 | |||
1504 | unless @copied_from.leaf? || @copy_options[:subtasks] == false |
|
1513 | unless @copied_from.leaf? || @copy_options[:subtasks] == false | |
1505 | copy_options = (@copy_options || {}).merge(:subtasks => false) |
|
1514 | copy_options = (@copy_options || {}).merge(:subtasks => false) | |
1506 | copied_issue_ids = {@copied_from.id => self.id} |
|
1515 | copied_issue_ids = {@copied_from.id => self.id} | |
1507 | @copied_from.reload.descendants.reorder("#{Issue.table_name}.lft").each do |child| |
|
1516 | @copied_from.reload.descendants.reorder("#{Issue.table_name}.lft").each do |child| | |
1508 | # Do not copy self when copying an issue as a descendant of the copied issue |
|
1517 | # Do not copy self when copying an issue as a descendant of the copied issue | |
1509 | next if child == self |
|
1518 | next if child == self | |
1510 | # Do not copy subtasks of issues that were not copied |
|
1519 | # Do not copy subtasks of issues that were not copied | |
1511 | next unless copied_issue_ids[child.parent_id] |
|
1520 | next unless copied_issue_ids[child.parent_id] | |
1512 | # Do not copy subtasks that are not visible to avoid potential disclosure of private data |
|
1521 | # Do not copy subtasks that are not visible to avoid potential disclosure of private data | |
1513 | unless child.visible? |
|
1522 | unless child.visible? | |
1514 | logger.error "Subtask ##{child.id} was not copied during ##{@copied_from.id} copy because it is not visible to the current user" if logger |
|
1523 | logger.error "Subtask ##{child.id} was not copied during ##{@copied_from.id} copy because it is not visible to the current user" if logger | |
1515 | next |
|
1524 | next | |
1516 | end |
|
1525 | end | |
1517 | copy = Issue.new.copy_from(child, copy_options) |
|
1526 | copy = Issue.new.copy_from(child, copy_options) | |
1518 | if @current_journal |
|
1527 | if @current_journal | |
1519 | copy.init_journal(@current_journal.user) |
|
1528 | copy.init_journal(@current_journal.user) | |
1520 | end |
|
1529 | end | |
1521 | copy.author = author |
|
1530 | copy.author = author | |
1522 | copy.project = project |
|
1531 | copy.project = project | |
1523 | copy.parent_issue_id = copied_issue_ids[child.parent_id] |
|
1532 | copy.parent_issue_id = copied_issue_ids[child.parent_id] | |
1524 | unless copy.save |
|
1533 | unless copy.save | |
1525 | logger.error "Could not copy subtask ##{child.id} while copying ##{@copied_from.id} to ##{id} due to validation errors: #{copy.errors.full_messages.join(', ')}" if logger |
|
1534 | logger.error "Could not copy subtask ##{child.id} while copying ##{@copied_from.id} to ##{id} due to validation errors: #{copy.errors.full_messages.join(', ')}" if logger | |
1526 | next |
|
1535 | next | |
1527 | end |
|
1536 | end | |
1528 | copied_issue_ids[child.id] = copy.id |
|
1537 | copied_issue_ids[child.id] = copy.id | |
1529 | end |
|
1538 | end | |
1530 | end |
|
1539 | end | |
1531 | @after_create_from_copy_handled = true |
|
1540 | @after_create_from_copy_handled = true | |
1532 | end |
|
1541 | end | |
1533 |
|
1542 | |||
1534 | def update_nested_set_attributes |
|
1543 | def update_nested_set_attributes | |
1535 | if parent_id_changed? |
|
1544 | if parent_id_changed? | |
1536 | update_nested_set_attributes_on_parent_change |
|
1545 | update_nested_set_attributes_on_parent_change | |
1537 | end |
|
1546 | end | |
1538 | remove_instance_variable(:@parent_issue) if instance_variable_defined?(:@parent_issue) |
|
1547 | remove_instance_variable(:@parent_issue) if instance_variable_defined?(:@parent_issue) | |
1539 | end |
|
1548 | end | |
1540 |
|
1549 | |||
1541 | # Updates the nested set for when an existing issue is moved |
|
1550 | # Updates the nested set for when an existing issue is moved | |
1542 | def update_nested_set_attributes_on_parent_change |
|
1551 | def update_nested_set_attributes_on_parent_change | |
1543 | former_parent_id = parent_id_was |
|
1552 | former_parent_id = parent_id_was | |
1544 | # delete invalid relations of all descendants |
|
1553 | # delete invalid relations of all descendants | |
1545 | self_and_descendants.each do |issue| |
|
1554 | self_and_descendants.each do |issue| | |
1546 | issue.relations.each do |relation| |
|
1555 | issue.relations.each do |relation| | |
1547 | relation.destroy unless relation.valid? |
|
1556 | relation.destroy unless relation.valid? | |
1548 | end |
|
1557 | end | |
1549 | end |
|
1558 | end | |
1550 | # update former parent |
|
1559 | # update former parent | |
1551 | recalculate_attributes_for(former_parent_id) if former_parent_id |
|
1560 | recalculate_attributes_for(former_parent_id) if former_parent_id | |
1552 | end |
|
1561 | end | |
1553 |
|
1562 | |||
1554 | def update_parent_attributes |
|
1563 | def update_parent_attributes | |
1555 | if parent_id |
|
1564 | if parent_id | |
1556 | recalculate_attributes_for(parent_id) |
|
1565 | recalculate_attributes_for(parent_id) | |
1557 | association(:parent).reset |
|
1566 | association(:parent).reset | |
1558 | end |
|
1567 | end | |
1559 | end |
|
1568 | end | |
1560 |
|
1569 | |||
1561 | def recalculate_attributes_for(issue_id) |
|
1570 | def recalculate_attributes_for(issue_id) | |
1562 | if issue_id && p = Issue.find_by_id(issue_id) |
|
1571 | if issue_id && p = Issue.find_by_id(issue_id) | |
1563 | if p.priority_derived? |
|
1572 | if p.priority_derived? | |
1564 | # priority = highest priority of open children |
|
1573 | # priority = highest priority of open children | |
1565 | # priority is left unchanged if all children are closed and there's no default priority defined |
|
1574 | # priority is left unchanged if all children are closed and there's no default priority defined | |
1566 | if priority_position = p.children.open.joins(:priority).maximum("#{IssuePriority.table_name}.position") |
|
1575 | if priority_position = p.children.open.joins(:priority).maximum("#{IssuePriority.table_name}.position") | |
1567 | p.priority = IssuePriority.find_by_position(priority_position) |
|
1576 | p.priority = IssuePriority.find_by_position(priority_position) | |
1568 | elsif default_priority = IssuePriority.default |
|
1577 | elsif default_priority = IssuePriority.default | |
1569 | p.priority = default_priority |
|
1578 | p.priority = default_priority | |
1570 | end |
|
1579 | end | |
1571 | end |
|
1580 | end | |
1572 |
|
1581 | |||
1573 | if p.dates_derived? |
|
1582 | if p.dates_derived? | |
1574 | # start/due dates = lowest/highest dates of children |
|
1583 | # start/due dates = lowest/highest dates of children | |
1575 | p.start_date = p.children.minimum(:start_date) |
|
1584 | p.start_date = p.children.minimum(:start_date) | |
1576 | p.due_date = p.children.maximum(:due_date) |
|
1585 | p.due_date = p.children.maximum(:due_date) | |
1577 | if p.start_date && p.due_date && p.due_date < p.start_date |
|
1586 | if p.start_date && p.due_date && p.due_date < p.start_date | |
1578 | p.start_date, p.due_date = p.due_date, p.start_date |
|
1587 | p.start_date, p.due_date = p.due_date, p.start_date | |
1579 | end |
|
1588 | end | |
1580 | end |
|
1589 | end | |
1581 |
|
1590 | |||
1582 | if p.done_ratio_derived? |
|
1591 | if p.done_ratio_derived? | |
1583 | # done ratio = average ratio of children weighted with their total estimated hours |
|
1592 | # done ratio = average ratio of children weighted with their total estimated hours | |
1584 | unless Issue.use_status_for_done_ratio? && p.status && p.status.default_done_ratio |
|
1593 | unless Issue.use_status_for_done_ratio? && p.status && p.status.default_done_ratio | |
1585 | children = p.children.to_a |
|
1594 | children = p.children.to_a | |
1586 | if children.any? |
|
1595 | if children.any? | |
1587 | child_with_total_estimated_hours = children.select {|c| c.total_estimated_hours.to_f > 0.0} |
|
1596 | child_with_total_estimated_hours = children.select {|c| c.total_estimated_hours.to_f > 0.0} | |
1588 | if child_with_total_estimated_hours.any? |
|
1597 | if child_with_total_estimated_hours.any? | |
1589 | average = child_with_total_estimated_hours.map(&:total_estimated_hours).sum.to_f / child_with_total_estimated_hours.count |
|
1598 | average = child_with_total_estimated_hours.map(&:total_estimated_hours).sum.to_f / child_with_total_estimated_hours.count | |
1590 | else |
|
1599 | else | |
1591 | average = 1.0 |
|
1600 | average = 1.0 | |
1592 | end |
|
1601 | end | |
1593 | done = children.map {|c| |
|
1602 | done = children.map {|c| | |
1594 | estimated = c.total_estimated_hours.to_f |
|
1603 | estimated = c.total_estimated_hours.to_f | |
1595 | estimated = average unless estimated > 0.0 |
|
1604 | estimated = average unless estimated > 0.0 | |
1596 | ratio = c.closed? ? 100 : (c.done_ratio || 0) |
|
1605 | ratio = c.closed? ? 100 : (c.done_ratio || 0) | |
1597 | estimated * ratio |
|
1606 | estimated * ratio | |
1598 | }.sum |
|
1607 | }.sum | |
1599 | progress = done / (average * children.count) |
|
1608 | progress = done / (average * children.count) | |
1600 | p.done_ratio = progress.round |
|
1609 | p.done_ratio = progress.round | |
1601 | end |
|
1610 | end | |
1602 | end |
|
1611 | end | |
1603 | end |
|
1612 | end | |
1604 |
|
1613 | |||
1605 | # ancestors will be recursively updated |
|
1614 | # ancestors will be recursively updated | |
1606 | p.save(:validate => false) |
|
1615 | p.save(:validate => false) | |
1607 | end |
|
1616 | end | |
1608 | end |
|
1617 | end | |
1609 |
|
1618 | |||
1610 | # Update issues so their versions are not pointing to a |
|
1619 | # Update issues so their versions are not pointing to a | |
1611 | # fixed_version that is not shared with the issue's project |
|
1620 | # fixed_version that is not shared with the issue's project | |
1612 | def self.update_versions(conditions=nil) |
|
1621 | def self.update_versions(conditions=nil) | |
1613 | # Only need to update issues with a fixed_version from |
|
1622 | # Only need to update issues with a fixed_version from | |
1614 | # a different project and that is not systemwide shared |
|
1623 | # a different project and that is not systemwide shared | |
1615 | Issue.joins(:project, :fixed_version). |
|
1624 | Issue.joins(:project, :fixed_version). | |
1616 | where("#{Issue.table_name}.fixed_version_id IS NOT NULL" + |
|
1625 | where("#{Issue.table_name}.fixed_version_id IS NOT NULL" + | |
1617 | " AND #{Issue.table_name}.project_id <> #{Version.table_name}.project_id" + |
|
1626 | " AND #{Issue.table_name}.project_id <> #{Version.table_name}.project_id" + | |
1618 | " AND #{Version.table_name}.sharing <> 'system'"). |
|
1627 | " AND #{Version.table_name}.sharing <> 'system'"). | |
1619 | where(conditions).each do |issue| |
|
1628 | where(conditions).each do |issue| | |
1620 | next if issue.project.nil? || issue.fixed_version.nil? |
|
1629 | next if issue.project.nil? || issue.fixed_version.nil? | |
1621 | unless issue.project.shared_versions.include?(issue.fixed_version) |
|
1630 | unless issue.project.shared_versions.include?(issue.fixed_version) | |
1622 | issue.init_journal(User.current) |
|
1631 | issue.init_journal(User.current) | |
1623 | issue.fixed_version = nil |
|
1632 | issue.fixed_version = nil | |
1624 | issue.save |
|
1633 | issue.save | |
1625 | end |
|
1634 | end | |
1626 | end |
|
1635 | end | |
1627 | end |
|
1636 | end | |
1628 |
|
1637 | |||
1629 | def delete_selected_attachments |
|
1638 | def delete_selected_attachments | |
1630 | if deleted_attachment_ids.present? |
|
1639 | if deleted_attachment_ids.present? | |
1631 | objects = attachments.where(:id => deleted_attachment_ids.map(&:to_i)) |
|
1640 | objects = attachments.where(:id => deleted_attachment_ids.map(&:to_i)) | |
1632 | attachments.delete(objects) |
|
1641 | attachments.delete(objects) | |
1633 | end |
|
1642 | end | |
1634 | end |
|
1643 | end | |
1635 |
|
1644 | |||
1636 | # Callback on file attachment |
|
1645 | # Callback on file attachment | |
1637 | def attachment_added(attachment) |
|
1646 | def attachment_added(attachment) | |
1638 | if current_journal && !attachment.new_record? |
|
1647 | if current_journal && !attachment.new_record? | |
1639 | current_journal.journalize_attachment(attachment, :added) |
|
1648 | current_journal.journalize_attachment(attachment, :added) | |
1640 | end |
|
1649 | end | |
1641 | end |
|
1650 | end | |
1642 |
|
1651 | |||
1643 | # Callback on attachment deletion |
|
1652 | # Callback on attachment deletion | |
1644 | def attachment_removed(attachment) |
|
1653 | def attachment_removed(attachment) | |
1645 | if current_journal && !attachment.new_record? |
|
1654 | if current_journal && !attachment.new_record? | |
1646 | current_journal.journalize_attachment(attachment, :removed) |
|
1655 | current_journal.journalize_attachment(attachment, :removed) | |
1647 | current_journal.save |
|
1656 | current_journal.save | |
1648 | end |
|
1657 | end | |
1649 | end |
|
1658 | end | |
1650 |
|
1659 | |||
1651 | # Called after a relation is added |
|
1660 | # Called after a relation is added | |
1652 | def relation_added(relation) |
|
1661 | def relation_added(relation) | |
1653 | if current_journal |
|
1662 | if current_journal | |
1654 | current_journal.journalize_relation(relation, :added) |
|
1663 | current_journal.journalize_relation(relation, :added) | |
1655 | current_journal.save |
|
1664 | current_journal.save | |
1656 | end |
|
1665 | end | |
1657 | end |
|
1666 | end | |
1658 |
|
1667 | |||
1659 | # Called after a relation is removed |
|
1668 | # Called after a relation is removed | |
1660 | def relation_removed(relation) |
|
1669 | def relation_removed(relation) | |
1661 | if current_journal |
|
1670 | if current_journal | |
1662 | current_journal.journalize_relation(relation, :removed) |
|
1671 | current_journal.journalize_relation(relation, :removed) | |
1663 | current_journal.save |
|
1672 | current_journal.save | |
1664 | end |
|
1673 | end | |
1665 | end |
|
1674 | end | |
1666 |
|
1675 | |||
1667 | # Default assignment based on category |
|
1676 | # Default assignment based on category | |
1668 | def default_assign |
|
1677 | def default_assign | |
1669 | if assigned_to.nil? && category && category.assigned_to |
|
1678 | if assigned_to.nil? && category && category.assigned_to | |
1670 | self.assigned_to = category.assigned_to |
|
1679 | self.assigned_to = category.assigned_to | |
1671 | end |
|
1680 | end | |
1672 | end |
|
1681 | end | |
1673 |
|
1682 | |||
1674 | # Updates start/due dates of following issues |
|
1683 | # Updates start/due dates of following issues | |
1675 | def reschedule_following_issues |
|
1684 | def reschedule_following_issues | |
1676 | if start_date_changed? || due_date_changed? |
|
1685 | if start_date_changed? || due_date_changed? | |
1677 | relations_from.each do |relation| |
|
1686 | relations_from.each do |relation| | |
1678 | relation.set_issue_to_dates |
|
1687 | relation.set_issue_to_dates | |
1679 | end |
|
1688 | end | |
1680 | end |
|
1689 | end | |
1681 | end |
|
1690 | end | |
1682 |
|
1691 | |||
1683 | # Closes duplicates if the issue is being closed |
|
1692 | # Closes duplicates if the issue is being closed | |
1684 | def close_duplicates |
|
1693 | def close_duplicates | |
1685 | if closing? |
|
1694 | if closing? | |
1686 | duplicates.each do |duplicate| |
|
1695 | duplicates.each do |duplicate| | |
1687 | # Reload is needed in case the duplicate was updated by a previous duplicate |
|
1696 | # Reload is needed in case the duplicate was updated by a previous duplicate | |
1688 | duplicate.reload |
|
1697 | duplicate.reload | |
1689 | # Don't re-close it if it's already closed |
|
1698 | # Don't re-close it if it's already closed | |
1690 | next if duplicate.closed? |
|
1699 | next if duplicate.closed? | |
1691 | # Same user and notes |
|
1700 | # Same user and notes | |
1692 | if @current_journal |
|
1701 | if @current_journal | |
1693 | duplicate.init_journal(@current_journal.user, @current_journal.notes) |
|
1702 | duplicate.init_journal(@current_journal.user, @current_journal.notes) | |
1694 | duplicate.private_notes = @current_journal.private_notes |
|
1703 | duplicate.private_notes = @current_journal.private_notes | |
1695 | end |
|
1704 | end | |
1696 | duplicate.update_attribute :status, self.status |
|
1705 | duplicate.update_attribute :status, self.status | |
1697 | end |
|
1706 | end | |
1698 | end |
|
1707 | end | |
1699 | end |
|
1708 | end | |
1700 |
|
1709 | |||
1701 | # Make sure updated_on is updated when adding a note and set updated_on now |
|
1710 | # Make sure updated_on is updated when adding a note and set updated_on now | |
1702 | # so we can set closed_on with the same value on closing |
|
1711 | # so we can set closed_on with the same value on closing | |
1703 | def force_updated_on_change |
|
1712 | def force_updated_on_change | |
1704 | if @current_journal || changed? |
|
1713 | if @current_journal || changed? | |
1705 | self.updated_on = current_time_from_proper_timezone |
|
1714 | self.updated_on = current_time_from_proper_timezone | |
1706 | if new_record? |
|
1715 | if new_record? | |
1707 | self.created_on = updated_on |
|
1716 | self.created_on = updated_on | |
1708 | end |
|
1717 | end | |
1709 | end |
|
1718 | end | |
1710 | end |
|
1719 | end | |
1711 |
|
1720 | |||
1712 | # Callback for setting closed_on when the issue is closed. |
|
1721 | # Callback for setting closed_on when the issue is closed. | |
1713 | # The closed_on attribute stores the time of the last closing |
|
1722 | # The closed_on attribute stores the time of the last closing | |
1714 | # and is preserved when the issue is reopened. |
|
1723 | # and is preserved when the issue is reopened. | |
1715 | def update_closed_on |
|
1724 | def update_closed_on | |
1716 | if closing? |
|
1725 | if closing? | |
1717 | self.closed_on = updated_on |
|
1726 | self.closed_on = updated_on | |
1718 | end |
|
1727 | end | |
1719 | end |
|
1728 | end | |
1720 |
|
1729 | |||
1721 | # Saves the changes in a Journal |
|
1730 | # Saves the changes in a Journal | |
1722 | # Called after_save |
|
1731 | # Called after_save | |
1723 | def create_journal |
|
1732 | def create_journal | |
1724 | if current_journal |
|
1733 | if current_journal | |
1725 | current_journal.save |
|
1734 | current_journal.save | |
1726 | end |
|
1735 | end | |
1727 | end |
|
1736 | end | |
1728 |
|
1737 | |||
1729 | def send_notification |
|
1738 | def send_notification | |
1730 | if notify? && Setting.notified_events.include?('issue_added') |
|
1739 | if notify? && Setting.notified_events.include?('issue_added') | |
1731 | Mailer.deliver_issue_add(self) |
|
1740 | Mailer.deliver_issue_add(self) | |
1732 | end |
|
1741 | end | |
1733 | end |
|
1742 | end | |
1734 |
|
1743 | |||
1735 | # Stores the previous assignee so we can still have access |
|
1744 | # Stores the previous assignee so we can still have access | |
1736 | # to it during after_save callbacks (assigned_to_id_was is reset) |
|
1745 | # to it during after_save callbacks (assigned_to_id_was is reset) | |
1737 | def set_assigned_to_was |
|
1746 | def set_assigned_to_was | |
1738 | @previous_assigned_to_id = assigned_to_id_was |
|
1747 | @previous_assigned_to_id = assigned_to_id_was | |
1739 | end |
|
1748 | end | |
1740 |
|
1749 | |||
1741 | # Clears the previous assignee at the end of after_save callbacks |
|
1750 | # Clears the previous assignee at the end of after_save callbacks | |
1742 | def clear_assigned_to_was |
|
1751 | def clear_assigned_to_was | |
1743 | @assigned_to_was = nil |
|
1752 | @assigned_to_was = nil | |
1744 | @previous_assigned_to_id = nil |
|
1753 | @previous_assigned_to_id = nil | |
1745 | end |
|
1754 | end | |
1746 |
|
1755 | |||
1747 | def clear_disabled_fields |
|
1756 | def clear_disabled_fields | |
1748 | if tracker |
|
1757 | if tracker | |
1749 | tracker.disabled_core_fields.each do |attribute| |
|
1758 | tracker.disabled_core_fields.each do |attribute| | |
1750 | send "#{attribute}=", nil |
|
1759 | send "#{attribute}=", nil | |
1751 | end |
|
1760 | end | |
1752 | self.done_ratio ||= 0 |
|
1761 | self.done_ratio ||= 0 | |
1753 | end |
|
1762 | end | |
1754 | end |
|
1763 | end | |
1755 | end |
|
1764 | end |
@@ -1,1205 +1,1206 | |||||
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: |
|
20 | order: | |
21 | - :year |
|
21 | - :year | |
22 | - :month |
|
22 | - :month | |
23 | - :day |
|
23 | - :day | |
24 |
|
24 | |||
25 | time: |
|
25 | time: | |
26 | formats: |
|
26 | formats: | |
27 | default: "%m/%d/%Y %I:%M %p" |
|
27 | default: "%m/%d/%Y %I:%M %p" | |
28 | time: "%I:%M %p" |
|
28 | time: "%I:%M %p" | |
29 | short: "%d %b %H:%M" |
|
29 | short: "%d %b %H:%M" | |
30 | long: "%B %d, %Y %H:%M" |
|
30 | long: "%B %d, %Y %H:%M" | |
31 | am: "am" |
|
31 | am: "am" | |
32 | pm: "pm" |
|
32 | pm: "pm" | |
33 |
|
33 | |||
34 | datetime: |
|
34 | datetime: | |
35 | distance_in_words: |
|
35 | distance_in_words: | |
36 | half_a_minute: "half a minute" |
|
36 | half_a_minute: "half a minute" | |
37 | less_than_x_seconds: |
|
37 | less_than_x_seconds: | |
38 | one: "less than 1 second" |
|
38 | one: "less than 1 second" | |
39 | other: "less than %{count} seconds" |
|
39 | other: "less than %{count} seconds" | |
40 | x_seconds: |
|
40 | x_seconds: | |
41 | one: "1 second" |
|
41 | one: "1 second" | |
42 | other: "%{count} seconds" |
|
42 | other: "%{count} seconds" | |
43 | less_than_x_minutes: |
|
43 | less_than_x_minutes: | |
44 | one: "less than a minute" |
|
44 | one: "less than a minute" | |
45 | other: "less than %{count} minutes" |
|
45 | other: "less than %{count} minutes" | |
46 | x_minutes: |
|
46 | x_minutes: | |
47 | one: "1 minute" |
|
47 | one: "1 minute" | |
48 | other: "%{count} minutes" |
|
48 | other: "%{count} minutes" | |
49 | about_x_hours: |
|
49 | about_x_hours: | |
50 | one: "about 1 hour" |
|
50 | one: "about 1 hour" | |
51 | other: "about %{count} hours" |
|
51 | other: "about %{count} hours" | |
52 | x_hours: |
|
52 | x_hours: | |
53 | one: "1 hour" |
|
53 | one: "1 hour" | |
54 | other: "%{count} hours" |
|
54 | other: "%{count} hours" | |
55 | x_days: |
|
55 | x_days: | |
56 | one: "1 day" |
|
56 | one: "1 day" | |
57 | other: "%{count} days" |
|
57 | other: "%{count} days" | |
58 | about_x_months: |
|
58 | about_x_months: | |
59 | one: "about 1 month" |
|
59 | one: "about 1 month" | |
60 | other: "about %{count} months" |
|
60 | other: "about %{count} months" | |
61 | x_months: |
|
61 | x_months: | |
62 | one: "1 month" |
|
62 | one: "1 month" | |
63 | other: "%{count} months" |
|
63 | other: "%{count} months" | |
64 | about_x_years: |
|
64 | about_x_years: | |
65 | one: "about 1 year" |
|
65 | one: "about 1 year" | |
66 | other: "about %{count} years" |
|
66 | other: "about %{count} years" | |
67 | over_x_years: |
|
67 | over_x_years: | |
68 | one: "over 1 year" |
|
68 | one: "over 1 year" | |
69 | other: "over %{count} years" |
|
69 | other: "over %{count} years" | |
70 | almost_x_years: |
|
70 | almost_x_years: | |
71 | one: "almost 1 year" |
|
71 | one: "almost 1 year" | |
72 | other: "almost %{count} years" |
|
72 | other: "almost %{count} years" | |
73 |
|
73 | |||
74 | number: |
|
74 | number: | |
75 | format: |
|
75 | format: | |
76 | separator: "." |
|
76 | separator: "." | |
77 | delimiter: "" |
|
77 | delimiter: "" | |
78 | precision: 3 |
|
78 | precision: 3 | |
79 |
|
79 | |||
80 | human: |
|
80 | human: | |
81 | format: |
|
81 | format: | |
82 | delimiter: "" |
|
82 | delimiter: "" | |
83 | precision: 3 |
|
83 | precision: 3 | |
84 | storage_units: |
|
84 | storage_units: | |
85 | format: "%n %u" |
|
85 | format: "%n %u" | |
86 | units: |
|
86 | units: | |
87 | byte: |
|
87 | byte: | |
88 | one: "Byte" |
|
88 | one: "Byte" | |
89 | other: "Bytes" |
|
89 | other: "Bytes" | |
90 | kb: "KB" |
|
90 | kb: "KB" | |
91 | mb: "MB" |
|
91 | mb: "MB" | |
92 | gb: "GB" |
|
92 | gb: "GB" | |
93 | tb: "TB" |
|
93 | tb: "TB" | |
94 |
|
94 | |||
95 | # Used in array.to_sentence. |
|
95 | # Used in array.to_sentence. | |
96 | support: |
|
96 | support: | |
97 | array: |
|
97 | array: | |
98 | sentence_connector: "and" |
|
98 | sentence_connector: "and" | |
99 | skip_last_comma: false |
|
99 | skip_last_comma: false | |
100 |
|
100 | |||
101 | activerecord: |
|
101 | activerecord: | |
102 | errors: |
|
102 | errors: | |
103 | template: |
|
103 | template: | |
104 | header: |
|
104 | header: | |
105 | one: "1 error prohibited this %{model} from being saved" |
|
105 | one: "1 error prohibited this %{model} from being saved" | |
106 | other: "%{count} errors prohibited this %{model} from being saved" |
|
106 | other: "%{count} errors prohibited this %{model} from being saved" | |
107 | messages: |
|
107 | messages: | |
108 | inclusion: "is not included in the list" |
|
108 | inclusion: "is not included in the list" | |
109 | exclusion: "is reserved" |
|
109 | exclusion: "is reserved" | |
110 | invalid: "is invalid" |
|
110 | invalid: "is invalid" | |
111 | confirmation: "doesn't match confirmation" |
|
111 | confirmation: "doesn't match confirmation" | |
112 | accepted: "must be accepted" |
|
112 | accepted: "must be accepted" | |
113 | empty: "cannot be empty" |
|
113 | empty: "cannot be empty" | |
114 | blank: "cannot be blank" |
|
114 | blank: "cannot be blank" | |
115 | too_long: "is too long (maximum is %{count} characters)" |
|
115 | too_long: "is too long (maximum is %{count} characters)" | |
116 | too_short: "is too short (minimum is %{count} characters)" |
|
116 | too_short: "is too short (minimum is %{count} characters)" | |
117 | wrong_length: "is the wrong length (should be %{count} characters)" |
|
117 | wrong_length: "is the wrong length (should be %{count} characters)" | |
118 | taken: "has already been taken" |
|
118 | taken: "has already been taken" | |
119 | not_a_number: "is not a number" |
|
119 | not_a_number: "is not a number" | |
120 | not_a_date: "is not a valid date" |
|
120 | not_a_date: "is not a valid date" | |
121 | greater_than: "must be greater than %{count}" |
|
121 | greater_than: "must be greater than %{count}" | |
122 | greater_than_or_equal_to: "must be greater than or equal to %{count}" |
|
122 | greater_than_or_equal_to: "must be greater than or equal to %{count}" | |
123 | equal_to: "must be equal to %{count}" |
|
123 | equal_to: "must be equal to %{count}" | |
124 | less_than: "must be less than %{count}" |
|
124 | less_than: "must be less than %{count}" | |
125 | less_than_or_equal_to: "must be less than or equal to %{count}" |
|
125 | less_than_or_equal_to: "must be less than or equal to %{count}" | |
126 | odd: "must be odd" |
|
126 | odd: "must be odd" | |
127 | even: "must be even" |
|
127 | even: "must be even" | |
128 | greater_than_start_date: "must be greater than start date" |
|
128 | greater_than_start_date: "must be greater than start date" | |
129 | not_same_project: "doesn't belong to the same project" |
|
129 | not_same_project: "doesn't belong to the same project" | |
130 | circular_dependency: "This relation would create a circular dependency" |
|
130 | circular_dependency: "This relation would create a circular dependency" | |
131 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" |
|
131 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" | |
132 | earlier_than_minimum_start_date: "cannot be earlier than %{date} because of preceding issues" |
|
132 | earlier_than_minimum_start_date: "cannot be earlier than %{date} because of preceding issues" | |
133 | not_a_regexp: "is not a valid regular expression" |
|
133 | not_a_regexp: "is not a valid regular expression" | |
134 | open_issue_with_closed_parent: "An open issue cannot be attached to a closed parent task" |
|
134 | open_issue_with_closed_parent: "An open issue cannot be attached to a closed parent task" | |
135 |
|
135 | |||
136 | actionview_instancetag_blank_option: Please select |
|
136 | actionview_instancetag_blank_option: Please select | |
137 |
|
137 | |||
138 | general_text_No: 'No' |
|
138 | general_text_No: 'No' | |
139 | general_text_Yes: 'Yes' |
|
139 | general_text_Yes: 'Yes' | |
140 | general_text_no: 'no' |
|
140 | general_text_no: 'no' | |
141 | general_text_yes: 'yes' |
|
141 | general_text_yes: 'yes' | |
142 | general_lang_name: 'English' |
|
142 | general_lang_name: 'English' | |
143 | general_csv_separator: ',' |
|
143 | general_csv_separator: ',' | |
144 | general_csv_decimal_separator: '.' |
|
144 | general_csv_decimal_separator: '.' | |
145 | general_csv_encoding: ISO-8859-1 |
|
145 | general_csv_encoding: ISO-8859-1 | |
146 | general_pdf_fontname: freesans |
|
146 | general_pdf_fontname: freesans | |
147 | general_pdf_monospaced_fontname: freemono |
|
147 | general_pdf_monospaced_fontname: freemono | |
148 | general_first_day_of_week: '7' |
|
148 | general_first_day_of_week: '7' | |
149 |
|
149 | |||
150 | notice_account_updated: Account was successfully updated. |
|
150 | notice_account_updated: Account was successfully updated. | |
151 | notice_account_invalid_credentials: Invalid user or password |
|
151 | notice_account_invalid_credentials: Invalid user or password | |
152 | notice_account_password_updated: Password was successfully updated. |
|
152 | notice_account_password_updated: Password was successfully updated. | |
153 | notice_account_wrong_password: Wrong password |
|
153 | notice_account_wrong_password: Wrong password | |
154 | notice_account_register_done: Account was successfully created. An email containing the instructions to activate your account was sent to %{email}. |
|
154 | notice_account_register_done: Account was successfully created. An email containing the instructions to activate your account was sent to %{email}. | |
155 | notice_account_unknown_email: Unknown user. |
|
155 | notice_account_unknown_email: Unknown user. | |
156 | notice_account_not_activated_yet: You haven't activated your account yet. If you want to receive a new activation email, please <a href="%{url}">click this link</a>. |
|
156 | notice_account_not_activated_yet: You haven't activated your account yet. If you want to receive a new activation email, please <a href="%{url}">click this link</a>. | |
157 | notice_account_locked: Your account is locked. |
|
157 | notice_account_locked: Your account is locked. | |
158 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. |
|
158 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. | |
159 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. |
|
159 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. | |
160 | notice_account_activated: Your account has been activated. You can now log in. |
|
160 | notice_account_activated: Your account has been activated. You can now log in. | |
161 | notice_successful_create: Successful creation. |
|
161 | notice_successful_create: Successful creation. | |
162 | notice_successful_update: Successful update. |
|
162 | notice_successful_update: Successful update. | |
163 | notice_successful_delete: Successful deletion. |
|
163 | notice_successful_delete: Successful deletion. | |
164 | notice_successful_connection: Successful connection. |
|
164 | notice_successful_connection: Successful connection. | |
165 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. |
|
165 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. | |
166 | notice_locking_conflict: Data has been updated by another user. |
|
166 | notice_locking_conflict: Data has been updated by another user. | |
167 | notice_not_authorized: You are not authorized to access this page. |
|
167 | notice_not_authorized: You are not authorized to access this page. | |
168 | notice_not_authorized_archived_project: The project you're trying to access has been archived. |
|
168 | notice_not_authorized_archived_project: The project you're trying to access has been archived. | |
169 | notice_email_sent: "An email was sent to %{value}" |
|
169 | notice_email_sent: "An email was sent to %{value}" | |
170 | notice_email_error: "An error occurred while sending mail (%{value})" |
|
170 | notice_email_error: "An error occurred while sending mail (%{value})" | |
171 | notice_feeds_access_key_reseted: Your Atom access key was reset. |
|
171 | notice_feeds_access_key_reseted: Your Atom access key was reset. | |
172 | notice_api_access_key_reseted: Your API access key was reset. |
|
172 | notice_api_access_key_reseted: Your API access key was reset. | |
173 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." |
|
173 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." | |
174 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." |
|
174 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." | |
175 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." |
|
175 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." | |
176 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." |
|
176 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." | |
177 | notice_account_pending: "Your account was created and is now pending administrator approval." |
|
177 | notice_account_pending: "Your account was created and is now pending administrator approval." | |
178 | notice_default_data_loaded: Default configuration successfully loaded. |
|
178 | notice_default_data_loaded: Default configuration successfully loaded. | |
179 | notice_unable_delete_version: Unable to delete version. |
|
179 | notice_unable_delete_version: Unable to delete version. | |
180 | notice_unable_delete_time_entry: Unable to delete time log entry. |
|
180 | notice_unable_delete_time_entry: Unable to delete time log entry. | |
181 | notice_issue_done_ratios_updated: Issue done ratios updated. |
|
181 | notice_issue_done_ratios_updated: Issue done ratios updated. | |
182 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" |
|
182 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" | |
183 | notice_issue_successful_create: "Issue %{id} created." |
|
183 | notice_issue_successful_create: "Issue %{id} created." | |
184 | notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it." |
|
184 | notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it." | |
185 | notice_account_deleted: "Your account has been permanently deleted." |
|
185 | notice_account_deleted: "Your account has been permanently deleted." | |
186 | notice_user_successful_create: "User %{id} created." |
|
186 | notice_user_successful_create: "User %{id} created." | |
187 | notice_new_password_must_be_different: The new password must be different from the current password |
|
187 | notice_new_password_must_be_different: The new password must be different from the current password | |
188 | notice_import_finished: "%{count} items have been imported" |
|
188 | notice_import_finished: "%{count} items have been imported" | |
189 | notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" |
|
189 | notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported" | |
190 |
|
190 | |||
191 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" |
|
191 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" | |
192 | error_scm_not_found: "The entry or revision was not found in the repository." |
|
192 | error_scm_not_found: "The entry or revision was not found in the repository." | |
193 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" |
|
193 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" | |
194 | error_scm_annotate: "The entry does not exist or cannot be annotated." |
|
194 | error_scm_annotate: "The entry does not exist or cannot be annotated." | |
195 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." |
|
195 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." | |
196 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' |
|
196 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' | |
197 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' |
|
197 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' | |
198 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' |
|
198 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' | |
199 | error_can_not_delete_custom_field: Unable to delete custom field |
|
199 | error_can_not_delete_custom_field: Unable to delete custom field | |
200 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." |
|
200 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." | |
201 | error_can_not_remove_role: "This role is in use and cannot be deleted." |
|
201 | error_can_not_remove_role: "This role is in use and cannot be deleted." | |
202 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' |
|
202 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' | |
203 | error_can_not_archive_project: This project cannot be archived |
|
203 | error_can_not_archive_project: This project cannot be archived | |
204 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." |
|
204 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." | |
205 | error_workflow_copy_source: 'Please select a source tracker or role' |
|
205 | error_workflow_copy_source: 'Please select a source tracker or role' | |
206 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' |
|
206 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' | |
207 | error_unable_delete_issue_status: 'Unable to delete issue status' |
|
207 | error_unable_delete_issue_status: 'Unable to delete issue status' | |
208 | error_unable_to_connect: "Unable to connect (%{value})" |
|
208 | error_unable_to_connect: "Unable to connect (%{value})" | |
209 | error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})" |
|
209 | error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})" | |
210 | error_session_expired: "Your session has expired. Please login again." |
|
210 | error_session_expired: "Your session has expired. Please login again." | |
211 | warning_attachments_not_saved: "%{count} file(s) could not be saved." |
|
211 | warning_attachments_not_saved: "%{count} file(s) could not be saved." | |
212 | error_password_expired: "Your password has expired or the administrator requires you to change it." |
|
212 | error_password_expired: "Your password has expired or the administrator requires you to change it." | |
213 | error_invalid_file_encoding: "The file is not a valid %{encoding} encoded file" |
|
213 | error_invalid_file_encoding: "The file is not a valid %{encoding} encoded file" | |
214 | error_invalid_csv_file_or_settings: "The file is not a CSV file or does not match the settings below" |
|
214 | error_invalid_csv_file_or_settings: "The file is not a CSV file or does not match the settings below" | |
215 | error_can_not_read_import_file: "An error occurred while reading the file to import" |
|
215 | error_can_not_read_import_file: "An error occurred while reading the file to import" | |
216 | error_attachment_extension_not_allowed: "Attachment extension %{extension} is not allowed" |
|
216 | error_attachment_extension_not_allowed: "Attachment extension %{extension} is not allowed" | |
217 | error_ldap_bind_credentials: "Invalid LDAP Account/Password" |
|
217 | error_ldap_bind_credentials: "Invalid LDAP Account/Password" | |
218 | error_no_tracker_allowed_for_new_issue_in_project: "The project doesn't have any trackers for which you can create an issue" |
|
218 | error_no_tracker_allowed_for_new_issue_in_project: "The project doesn't have any trackers for which you can create an issue" | |
219 | error_no_projects_with_tracker_allowed_for_new_issue: "There are no projects with trackers for which you can create an issue" |
|
219 | error_no_projects_with_tracker_allowed_for_new_issue: "There are no projects with trackers for which you can create an issue" | |
220 | error_move_of_child_not_possible: "Subtask %{child} could not be moved to the new project: %{errors}" |
|
220 | error_move_of_child_not_possible: "Subtask %{child} could not be moved to the new project: %{errors}" | |
|
221 | error_cannot_reassign_time_entries_to_an_issue_about_to_be_deleted: "Spent time cannot be reassigned to an issue that is about to be deleted" | |||
221 |
|
222 | |||
222 | mail_subject_lost_password: "Your %{value} password" |
|
223 | mail_subject_lost_password: "Your %{value} password" | |
223 | mail_body_lost_password: 'To change your password, click on the following link:' |
|
224 | mail_body_lost_password: 'To change your password, click on the following link:' | |
224 | mail_subject_register: "Your %{value} account activation" |
|
225 | mail_subject_register: "Your %{value} account activation" | |
225 | mail_body_register: 'To activate your account, click on the following link:' |
|
226 | mail_body_register: 'To activate your account, click on the following link:' | |
226 | mail_body_account_information_external: "You can use your %{value} account to log in." |
|
227 | mail_body_account_information_external: "You can use your %{value} account to log in." | |
227 | mail_body_account_information: Your account information |
|
228 | mail_body_account_information: Your account information | |
228 | mail_subject_account_activation_request: "%{value} account activation request" |
|
229 | mail_subject_account_activation_request: "%{value} account activation request" | |
229 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" |
|
230 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" | |
230 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" |
|
231 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" | |
231 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" |
|
232 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" | |
232 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" |
|
233 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" | |
233 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." |
|
234 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." | |
234 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" |
|
235 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" | |
235 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." |
|
236 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." | |
236 | mail_subject_security_notification: "Security notification" |
|
237 | mail_subject_security_notification: "Security notification" | |
237 | mail_body_security_notification_change: "%{field} was changed." |
|
238 | mail_body_security_notification_change: "%{field} was changed." | |
238 | mail_body_security_notification_change_to: "%{field} was changed to %{value}." |
|
239 | mail_body_security_notification_change_to: "%{field} was changed to %{value}." | |
239 | mail_body_security_notification_add: "%{field} %{value} was added." |
|
240 | mail_body_security_notification_add: "%{field} %{value} was added." | |
240 | mail_body_security_notification_remove: "%{field} %{value} was removed." |
|
241 | mail_body_security_notification_remove: "%{field} %{value} was removed." | |
241 | mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications." |
|
242 | mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications." | |
242 | mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications." |
|
243 | mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications." | |
243 | mail_body_settings_updated: "The following settings were changed:" |
|
244 | mail_body_settings_updated: "The following settings were changed:" | |
244 | mail_body_password_updated: "Your password has been changed." |
|
245 | mail_body_password_updated: "Your password has been changed." | |
245 |
|
246 | |||
246 | field_name: Name |
|
247 | field_name: Name | |
247 | field_description: Description |
|
248 | field_description: Description | |
248 | field_summary: Summary |
|
249 | field_summary: Summary | |
249 | field_is_required: Required |
|
250 | field_is_required: Required | |
250 | field_firstname: First name |
|
251 | field_firstname: First name | |
251 | field_lastname: Last name |
|
252 | field_lastname: Last name | |
252 | field_mail: Email |
|
253 | field_mail: Email | |
253 | field_address: Email |
|
254 | field_address: Email | |
254 | field_filename: File |
|
255 | field_filename: File | |
255 | field_filesize: Size |
|
256 | field_filesize: Size | |
256 | field_downloads: Downloads |
|
257 | field_downloads: Downloads | |
257 | field_author: Author |
|
258 | field_author: Author | |
258 | field_created_on: Created |
|
259 | field_created_on: Created | |
259 | field_updated_on: Updated |
|
260 | field_updated_on: Updated | |
260 | field_closed_on: Closed |
|
261 | field_closed_on: Closed | |
261 | field_field_format: Format |
|
262 | field_field_format: Format | |
262 | field_is_for_all: For all projects |
|
263 | field_is_for_all: For all projects | |
263 | field_possible_values: Possible values |
|
264 | field_possible_values: Possible values | |
264 | field_regexp: Regular expression |
|
265 | field_regexp: Regular expression | |
265 | field_min_length: Minimum length |
|
266 | field_min_length: Minimum length | |
266 | field_max_length: Maximum length |
|
267 | field_max_length: Maximum length | |
267 | field_value: Value |
|
268 | field_value: Value | |
268 | field_category: Category |
|
269 | field_category: Category | |
269 | field_title: Title |
|
270 | field_title: Title | |
270 | field_project: Project |
|
271 | field_project: Project | |
271 | field_issue: Issue |
|
272 | field_issue: Issue | |
272 | field_status: Status |
|
273 | field_status: Status | |
273 | field_notes: Notes |
|
274 | field_notes: Notes | |
274 | field_is_closed: Issue closed |
|
275 | field_is_closed: Issue closed | |
275 | field_is_default: Default value |
|
276 | field_is_default: Default value | |
276 | field_tracker: Tracker |
|
277 | field_tracker: Tracker | |
277 | field_subject: Subject |
|
278 | field_subject: Subject | |
278 | field_due_date: Due date |
|
279 | field_due_date: Due date | |
279 | field_assigned_to: Assignee |
|
280 | field_assigned_to: Assignee | |
280 | field_priority: Priority |
|
281 | field_priority: Priority | |
281 | field_fixed_version: Target version |
|
282 | field_fixed_version: Target version | |
282 | field_user: User |
|
283 | field_user: User | |
283 | field_principal: Principal |
|
284 | field_principal: Principal | |
284 | field_role: Role |
|
285 | field_role: Role | |
285 | field_homepage: Homepage |
|
286 | field_homepage: Homepage | |
286 | field_is_public: Public |
|
287 | field_is_public: Public | |
287 | field_parent: Subproject of |
|
288 | field_parent: Subproject of | |
288 | field_is_in_roadmap: Issues displayed in roadmap |
|
289 | field_is_in_roadmap: Issues displayed in roadmap | |
289 | field_login: Login |
|
290 | field_login: Login | |
290 | field_mail_notification: Email notifications |
|
291 | field_mail_notification: Email notifications | |
291 | field_admin: Administrator |
|
292 | field_admin: Administrator | |
292 | field_last_login_on: Last connection |
|
293 | field_last_login_on: Last connection | |
293 | field_language: Language |
|
294 | field_language: Language | |
294 | field_effective_date: Due date |
|
295 | field_effective_date: Due date | |
295 | field_password: Password |
|
296 | field_password: Password | |
296 | field_new_password: New password |
|
297 | field_new_password: New password | |
297 | field_password_confirmation: Confirmation |
|
298 | field_password_confirmation: Confirmation | |
298 | field_version: Version |
|
299 | field_version: Version | |
299 | field_type: Type |
|
300 | field_type: Type | |
300 | field_host: Host |
|
301 | field_host: Host | |
301 | field_port: Port |
|
302 | field_port: Port | |
302 | field_account: Account |
|
303 | field_account: Account | |
303 | field_base_dn: Base DN |
|
304 | field_base_dn: Base DN | |
304 | field_attr_login: Login attribute |
|
305 | field_attr_login: Login attribute | |
305 | field_attr_firstname: Firstname attribute |
|
306 | field_attr_firstname: Firstname attribute | |
306 | field_attr_lastname: Lastname attribute |
|
307 | field_attr_lastname: Lastname attribute | |
307 | field_attr_mail: Email attribute |
|
308 | field_attr_mail: Email attribute | |
308 | field_onthefly: On-the-fly user creation |
|
309 | field_onthefly: On-the-fly user creation | |
309 | field_start_date: Start date |
|
310 | field_start_date: Start date | |
310 | field_done_ratio: "% Done" |
|
311 | field_done_ratio: "% Done" | |
311 | field_auth_source: Authentication mode |
|
312 | field_auth_source: Authentication mode | |
312 | field_hide_mail: Hide my email address |
|
313 | field_hide_mail: Hide my email address | |
313 | field_comments: Comment |
|
314 | field_comments: Comment | |
314 | field_url: URL |
|
315 | field_url: URL | |
315 | field_start_page: Start page |
|
316 | field_start_page: Start page | |
316 | field_subproject: Subproject |
|
317 | field_subproject: Subproject | |
317 | field_hours: Hours |
|
318 | field_hours: Hours | |
318 | field_activity: Activity |
|
319 | field_activity: Activity | |
319 | field_spent_on: Date |
|
320 | field_spent_on: Date | |
320 | field_identifier: Identifier |
|
321 | field_identifier: Identifier | |
321 | field_is_filter: Used as a filter |
|
322 | field_is_filter: Used as a filter | |
322 | field_issue_to: Related issue |
|
323 | field_issue_to: Related issue | |
323 | field_delay: Delay |
|
324 | field_delay: Delay | |
324 | field_assignable: Issues can be assigned to this role |
|
325 | field_assignable: Issues can be assigned to this role | |
325 | field_redirect_existing_links: Redirect existing links |
|
326 | field_redirect_existing_links: Redirect existing links | |
326 | field_estimated_hours: Estimated time |
|
327 | field_estimated_hours: Estimated time | |
327 | field_column_names: Columns |
|
328 | field_column_names: Columns | |
328 | field_time_entries: Log time |
|
329 | field_time_entries: Log time | |
329 | field_time_zone: Time zone |
|
330 | field_time_zone: Time zone | |
330 | field_searchable: Searchable |
|
331 | field_searchable: Searchable | |
331 | field_default_value: Default value |
|
332 | field_default_value: Default value | |
332 | field_comments_sorting: Display comments |
|
333 | field_comments_sorting: Display comments | |
333 | field_parent_title: Parent page |
|
334 | field_parent_title: Parent page | |
334 | field_editable: Editable |
|
335 | field_editable: Editable | |
335 | field_watcher: Watcher |
|
336 | field_watcher: Watcher | |
336 | field_identity_url: OpenID URL |
|
337 | field_identity_url: OpenID URL | |
337 | field_content: Content |
|
338 | field_content: Content | |
338 | field_group_by: Group results by |
|
339 | field_group_by: Group results by | |
339 | field_sharing: Sharing |
|
340 | field_sharing: Sharing | |
340 | field_parent_issue: Parent task |
|
341 | field_parent_issue: Parent task | |
341 | field_member_of_group: "Assignee's group" |
|
342 | field_member_of_group: "Assignee's group" | |
342 | field_assigned_to_role: "Assignee's role" |
|
343 | field_assigned_to_role: "Assignee's role" | |
343 | field_text: Text field |
|
344 | field_text: Text field | |
344 | field_visible: Visible |
|
345 | field_visible: Visible | |
345 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" |
|
346 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" | |
346 | field_issues_visibility: Issues visibility |
|
347 | field_issues_visibility: Issues visibility | |
347 | field_is_private: Private |
|
348 | field_is_private: Private | |
348 | field_commit_logs_encoding: Commit messages encoding |
|
349 | field_commit_logs_encoding: Commit messages encoding | |
349 | field_scm_path_encoding: Path encoding |
|
350 | field_scm_path_encoding: Path encoding | |
350 | field_path_to_repository: Path to repository |
|
351 | field_path_to_repository: Path to repository | |
351 | field_root_directory: Root directory |
|
352 | field_root_directory: Root directory | |
352 | field_cvsroot: CVSROOT |
|
353 | field_cvsroot: CVSROOT | |
353 | field_cvs_module: Module |
|
354 | field_cvs_module: Module | |
354 | field_repository_is_default: Main repository |
|
355 | field_repository_is_default: Main repository | |
355 | field_multiple: Multiple values |
|
356 | field_multiple: Multiple values | |
356 | field_auth_source_ldap_filter: LDAP filter |
|
357 | field_auth_source_ldap_filter: LDAP filter | |
357 | field_core_fields: Standard fields |
|
358 | field_core_fields: Standard fields | |
358 | field_timeout: "Timeout (in seconds)" |
|
359 | field_timeout: "Timeout (in seconds)" | |
359 | field_board_parent: Parent forum |
|
360 | field_board_parent: Parent forum | |
360 | field_private_notes: Private notes |
|
361 | field_private_notes: Private notes | |
361 | field_inherit_members: Inherit members |
|
362 | field_inherit_members: Inherit members | |
362 | field_generate_password: Generate password |
|
363 | field_generate_password: Generate password | |
363 | field_must_change_passwd: Must change password at next logon |
|
364 | field_must_change_passwd: Must change password at next logon | |
364 | field_default_status: Default status |
|
365 | field_default_status: Default status | |
365 | field_users_visibility: Users visibility |
|
366 | field_users_visibility: Users visibility | |
366 | field_time_entries_visibility: Time logs visibility |
|
367 | field_time_entries_visibility: Time logs visibility | |
367 | field_total_estimated_hours: Total estimated time |
|
368 | field_total_estimated_hours: Total estimated time | |
368 | field_default_version: Default version |
|
369 | field_default_version: Default version | |
369 | field_remote_ip: IP address |
|
370 | field_remote_ip: IP address | |
370 | field_textarea_font: Font used for text areas |
|
371 | field_textarea_font: Font used for text areas | |
371 |
|
372 | |||
372 | setting_app_title: Application title |
|
373 | setting_app_title: Application title | |
373 | setting_app_subtitle: Application subtitle |
|
374 | setting_app_subtitle: Application subtitle | |
374 | setting_welcome_text: Welcome text |
|
375 | setting_welcome_text: Welcome text | |
375 | setting_default_language: Default language |
|
376 | setting_default_language: Default language | |
376 | setting_login_required: Authentication required |
|
377 | setting_login_required: Authentication required | |
377 | setting_self_registration: Self-registration |
|
378 | setting_self_registration: Self-registration | |
378 | setting_attachment_max_size: Maximum attachment size |
|
379 | setting_attachment_max_size: Maximum attachment size | |
379 | setting_issues_export_limit: Issues export limit |
|
380 | setting_issues_export_limit: Issues export limit | |
380 | setting_mail_from: Emission email address |
|
381 | setting_mail_from: Emission email address | |
381 | setting_bcc_recipients: Blind carbon copy recipients (bcc) |
|
382 | setting_bcc_recipients: Blind carbon copy recipients (bcc) | |
382 | setting_plain_text_mail: Plain text mail (no HTML) |
|
383 | setting_plain_text_mail: Plain text mail (no HTML) | |
383 | setting_host_name: Host name and path |
|
384 | setting_host_name: Host name and path | |
384 | setting_text_formatting: Text formatting |
|
385 | setting_text_formatting: Text formatting | |
385 | setting_wiki_compression: Wiki history compression |
|
386 | setting_wiki_compression: Wiki history compression | |
386 | setting_feeds_limit: Maximum number of items in Atom feeds |
|
387 | setting_feeds_limit: Maximum number of items in Atom feeds | |
387 | setting_default_projects_public: New projects are public by default |
|
388 | setting_default_projects_public: New projects are public by default | |
388 | setting_autofetch_changesets: Fetch commits automatically |
|
389 | setting_autofetch_changesets: Fetch commits automatically | |
389 | setting_sys_api_enabled: Enable WS for repository management |
|
390 | setting_sys_api_enabled: Enable WS for repository management | |
390 | setting_commit_ref_keywords: Referencing keywords |
|
391 | setting_commit_ref_keywords: Referencing keywords | |
391 | setting_commit_fix_keywords: Fixing keywords |
|
392 | setting_commit_fix_keywords: Fixing keywords | |
392 | setting_autologin: Autologin |
|
393 | setting_autologin: Autologin | |
393 | setting_date_format: Date format |
|
394 | setting_date_format: Date format | |
394 | setting_time_format: Time format |
|
395 | setting_time_format: Time format | |
395 | setting_timespan_format: Time span format |
|
396 | setting_timespan_format: Time span format | |
396 | setting_cross_project_issue_relations: Allow cross-project issue relations |
|
397 | setting_cross_project_issue_relations: Allow cross-project issue relations | |
397 | setting_cross_project_subtasks: Allow cross-project subtasks |
|
398 | setting_cross_project_subtasks: Allow cross-project subtasks | |
398 | setting_issue_list_default_columns: Default columns displayed on the issue list |
|
399 | setting_issue_list_default_columns: Default columns displayed on the issue list | |
399 | setting_repositories_encodings: Attachments and repositories encodings |
|
400 | setting_repositories_encodings: Attachments and repositories encodings | |
400 | setting_emails_header: Email header |
|
401 | setting_emails_header: Email header | |
401 | setting_emails_footer: Email footer |
|
402 | setting_emails_footer: Email footer | |
402 | setting_protocol: Protocol |
|
403 | setting_protocol: Protocol | |
403 | setting_per_page_options: Objects per page options |
|
404 | setting_per_page_options: Objects per page options | |
404 | setting_user_format: Users display format |
|
405 | setting_user_format: Users display format | |
405 | setting_activity_days_default: Days displayed on project activity |
|
406 | setting_activity_days_default: Days displayed on project activity | |
406 | setting_display_subprojects_issues: Display subprojects issues on main projects by default |
|
407 | setting_display_subprojects_issues: Display subprojects issues on main projects by default | |
407 | setting_enabled_scm: Enabled SCM |
|
408 | setting_enabled_scm: Enabled SCM | |
408 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" |
|
409 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" | |
409 | setting_mail_handler_enable_regex_delimiters: "Enable regular expressions" |
|
410 | setting_mail_handler_enable_regex_delimiters: "Enable regular expressions" | |
410 | setting_mail_handler_api_enabled: Enable WS for incoming emails |
|
411 | setting_mail_handler_api_enabled: Enable WS for incoming emails | |
411 | setting_mail_handler_api_key: Incoming email WS API key |
|
412 | setting_mail_handler_api_key: Incoming email WS API key | |
412 | setting_sys_api_key: Repository management WS API key |
|
413 | setting_sys_api_key: Repository management WS API key | |
413 | setting_sequential_project_identifiers: Generate sequential project identifiers |
|
414 | setting_sequential_project_identifiers: Generate sequential project identifiers | |
414 | setting_gravatar_enabled: Use Gravatar user icons |
|
415 | setting_gravatar_enabled: Use Gravatar user icons | |
415 | setting_gravatar_default: Default Gravatar image |
|
416 | setting_gravatar_default: Default Gravatar image | |
416 | setting_diff_max_lines_displayed: Maximum number of diff lines displayed |
|
417 | setting_diff_max_lines_displayed: Maximum number of diff lines displayed | |
417 | setting_file_max_size_displayed: Maximum size of text files displayed inline |
|
418 | setting_file_max_size_displayed: Maximum size of text files displayed inline | |
418 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log |
|
419 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log | |
419 | setting_openid: Allow OpenID login and registration |
|
420 | setting_openid: Allow OpenID login and registration | |
420 | setting_password_max_age: Require password change after |
|
421 | setting_password_max_age: Require password change after | |
421 | setting_password_min_length: Minimum password length |
|
422 | setting_password_min_length: Minimum password length | |
422 | setting_lost_password: Allow password reset via email |
|
423 | setting_lost_password: Allow password reset via email | |
423 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project |
|
424 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project | |
424 | setting_default_projects_modules: Default enabled modules for new projects |
|
425 | setting_default_projects_modules: Default enabled modules for new projects | |
425 | setting_issue_done_ratio: Calculate the issue done ratio with |
|
426 | setting_issue_done_ratio: Calculate the issue done ratio with | |
426 | setting_issue_done_ratio_issue_field: Use the issue field |
|
427 | setting_issue_done_ratio_issue_field: Use the issue field | |
427 | setting_issue_done_ratio_issue_status: Use the issue status |
|
428 | setting_issue_done_ratio_issue_status: Use the issue status | |
428 | setting_start_of_week: Start calendars on |
|
429 | setting_start_of_week: Start calendars on | |
429 | setting_rest_api_enabled: Enable REST web service |
|
430 | setting_rest_api_enabled: Enable REST web service | |
430 | setting_cache_formatted_text: Cache formatted text |
|
431 | setting_cache_formatted_text: Cache formatted text | |
431 | setting_default_notification_option: Default notification option |
|
432 | setting_default_notification_option: Default notification option | |
432 | setting_commit_logtime_enabled: Enable time logging |
|
433 | setting_commit_logtime_enabled: Enable time logging | |
433 | setting_commit_logtime_activity_id: Activity for logged time |
|
434 | setting_commit_logtime_activity_id: Activity for logged time | |
434 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart |
|
435 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart | |
435 | setting_issue_group_assignment: Allow issue assignment to groups |
|
436 | setting_issue_group_assignment: Allow issue assignment to groups | |
436 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues |
|
437 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues | |
437 | setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed |
|
438 | setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed | |
438 | setting_unsubscribe: Allow users to delete their own account |
|
439 | setting_unsubscribe: Allow users to delete their own account | |
439 | setting_session_lifetime: Session maximum lifetime |
|
440 | setting_session_lifetime: Session maximum lifetime | |
440 | setting_session_timeout: Session inactivity timeout |
|
441 | setting_session_timeout: Session inactivity timeout | |
441 | setting_thumbnails_enabled: Display attachment thumbnails |
|
442 | setting_thumbnails_enabled: Display attachment thumbnails | |
442 | setting_thumbnails_size: Thumbnails size (in pixels) |
|
443 | setting_thumbnails_size: Thumbnails size (in pixels) | |
443 | setting_non_working_week_days: Non-working days |
|
444 | setting_non_working_week_days: Non-working days | |
444 | setting_jsonp_enabled: Enable JSONP support |
|
445 | setting_jsonp_enabled: Enable JSONP support | |
445 | setting_default_projects_tracker_ids: Default trackers for new projects |
|
446 | setting_default_projects_tracker_ids: Default trackers for new projects | |
446 | setting_mail_handler_excluded_filenames: Exclude attachments by name |
|
447 | setting_mail_handler_excluded_filenames: Exclude attachments by name | |
447 | setting_force_default_language_for_anonymous: Force default language for anonymous users |
|
448 | setting_force_default_language_for_anonymous: Force default language for anonymous users | |
448 | setting_force_default_language_for_loggedin: Force default language for logged-in users |
|
449 | setting_force_default_language_for_loggedin: Force default language for logged-in users | |
449 | setting_link_copied_issue: Link issues on copy |
|
450 | setting_link_copied_issue: Link issues on copy | |
450 | setting_max_additional_emails: Maximum number of additional email addresses |
|
451 | setting_max_additional_emails: Maximum number of additional email addresses | |
451 | setting_search_results_per_page: Search results per page |
|
452 | setting_search_results_per_page: Search results per page | |
452 | setting_attachment_extensions_allowed: Allowed extensions |
|
453 | setting_attachment_extensions_allowed: Allowed extensions | |
453 | setting_attachment_extensions_denied: Disallowed extensions |
|
454 | setting_attachment_extensions_denied: Disallowed extensions | |
454 | setting_new_item_menu_tab: Project menu tab for creating new objects |
|
455 | setting_new_item_menu_tab: Project menu tab for creating new objects | |
455 | setting_commit_logs_formatting: Apply text formatting to commit messages |
|
456 | setting_commit_logs_formatting: Apply text formatting to commit messages | |
456 |
|
457 | |||
457 | permission_add_project: Create project |
|
458 | permission_add_project: Create project | |
458 | permission_add_subprojects: Create subprojects |
|
459 | permission_add_subprojects: Create subprojects | |
459 | permission_edit_project: Edit project |
|
460 | permission_edit_project: Edit project | |
460 | permission_close_project: Close / reopen the project |
|
461 | permission_close_project: Close / reopen the project | |
461 | permission_select_project_modules: Select project modules |
|
462 | permission_select_project_modules: Select project modules | |
462 | permission_manage_members: Manage members |
|
463 | permission_manage_members: Manage members | |
463 | permission_manage_project_activities: Manage project activities |
|
464 | permission_manage_project_activities: Manage project activities | |
464 | permission_manage_versions: Manage versions |
|
465 | permission_manage_versions: Manage versions | |
465 | permission_manage_categories: Manage issue categories |
|
466 | permission_manage_categories: Manage issue categories | |
466 | permission_view_issues: View Issues |
|
467 | permission_view_issues: View Issues | |
467 | permission_add_issues: Add issues |
|
468 | permission_add_issues: Add issues | |
468 | permission_edit_issues: Edit issues |
|
469 | permission_edit_issues: Edit issues | |
469 | permission_copy_issues: Copy issues |
|
470 | permission_copy_issues: Copy issues | |
470 | permission_manage_issue_relations: Manage issue relations |
|
471 | permission_manage_issue_relations: Manage issue relations | |
471 | permission_set_issues_private: Set issues public or private |
|
472 | permission_set_issues_private: Set issues public or private | |
472 | permission_set_own_issues_private: Set own issues public or private |
|
473 | permission_set_own_issues_private: Set own issues public or private | |
473 | permission_add_issue_notes: Add notes |
|
474 | permission_add_issue_notes: Add notes | |
474 | permission_edit_issue_notes: Edit notes |
|
475 | permission_edit_issue_notes: Edit notes | |
475 | permission_edit_own_issue_notes: Edit own notes |
|
476 | permission_edit_own_issue_notes: Edit own notes | |
476 | permission_view_private_notes: View private notes |
|
477 | permission_view_private_notes: View private notes | |
477 | permission_set_notes_private: Set notes as private |
|
478 | permission_set_notes_private: Set notes as private | |
478 | permission_move_issues: Move issues |
|
479 | permission_move_issues: Move issues | |
479 | permission_delete_issues: Delete issues |
|
480 | permission_delete_issues: Delete issues | |
480 | permission_manage_public_queries: Manage public queries |
|
481 | permission_manage_public_queries: Manage public queries | |
481 | permission_save_queries: Save queries |
|
482 | permission_save_queries: Save queries | |
482 | permission_view_gantt: View gantt chart |
|
483 | permission_view_gantt: View gantt chart | |
483 | permission_view_calendar: View calendar |
|
484 | permission_view_calendar: View calendar | |
484 | permission_view_issue_watchers: View watchers list |
|
485 | permission_view_issue_watchers: View watchers list | |
485 | permission_add_issue_watchers: Add watchers |
|
486 | permission_add_issue_watchers: Add watchers | |
486 | permission_delete_issue_watchers: Delete watchers |
|
487 | permission_delete_issue_watchers: Delete watchers | |
487 | permission_log_time: Log spent time |
|
488 | permission_log_time: Log spent time | |
488 | permission_view_time_entries: View spent time |
|
489 | permission_view_time_entries: View spent time | |
489 | permission_edit_time_entries: Edit time logs |
|
490 | permission_edit_time_entries: Edit time logs | |
490 | permission_edit_own_time_entries: Edit own time logs |
|
491 | permission_edit_own_time_entries: Edit own time logs | |
491 | permission_manage_news: Manage news |
|
492 | permission_manage_news: Manage news | |
492 | permission_comment_news: Comment news |
|
493 | permission_comment_news: Comment news | |
493 | permission_view_documents: View documents |
|
494 | permission_view_documents: View documents | |
494 | permission_add_documents: Add documents |
|
495 | permission_add_documents: Add documents | |
495 | permission_edit_documents: Edit documents |
|
496 | permission_edit_documents: Edit documents | |
496 | permission_delete_documents: Delete documents |
|
497 | permission_delete_documents: Delete documents | |
497 | permission_manage_files: Manage files |
|
498 | permission_manage_files: Manage files | |
498 | permission_view_files: View files |
|
499 | permission_view_files: View files | |
499 | permission_manage_wiki: Manage wiki |
|
500 | permission_manage_wiki: Manage wiki | |
500 | permission_rename_wiki_pages: Rename wiki pages |
|
501 | permission_rename_wiki_pages: Rename wiki pages | |
501 | permission_delete_wiki_pages: Delete wiki pages |
|
502 | permission_delete_wiki_pages: Delete wiki pages | |
502 | permission_view_wiki_pages: View wiki |
|
503 | permission_view_wiki_pages: View wiki | |
503 | permission_view_wiki_edits: View wiki history |
|
504 | permission_view_wiki_edits: View wiki history | |
504 | permission_edit_wiki_pages: Edit wiki pages |
|
505 | permission_edit_wiki_pages: Edit wiki pages | |
505 | permission_delete_wiki_pages_attachments: Delete attachments |
|
506 | permission_delete_wiki_pages_attachments: Delete attachments | |
506 | permission_protect_wiki_pages: Protect wiki pages |
|
507 | permission_protect_wiki_pages: Protect wiki pages | |
507 | permission_manage_repository: Manage repository |
|
508 | permission_manage_repository: Manage repository | |
508 | permission_browse_repository: Browse repository |
|
509 | permission_browse_repository: Browse repository | |
509 | permission_view_changesets: View changesets |
|
510 | permission_view_changesets: View changesets | |
510 | permission_commit_access: Commit access |
|
511 | permission_commit_access: Commit access | |
511 | permission_manage_boards: Manage forums |
|
512 | permission_manage_boards: Manage forums | |
512 | permission_view_messages: View messages |
|
513 | permission_view_messages: View messages | |
513 | permission_add_messages: Post messages |
|
514 | permission_add_messages: Post messages | |
514 | permission_edit_messages: Edit messages |
|
515 | permission_edit_messages: Edit messages | |
515 | permission_edit_own_messages: Edit own messages |
|
516 | permission_edit_own_messages: Edit own messages | |
516 | permission_delete_messages: Delete messages |
|
517 | permission_delete_messages: Delete messages | |
517 | permission_delete_own_messages: Delete own messages |
|
518 | permission_delete_own_messages: Delete own messages | |
518 | permission_export_wiki_pages: Export wiki pages |
|
519 | permission_export_wiki_pages: Export wiki pages | |
519 | permission_manage_subtasks: Manage subtasks |
|
520 | permission_manage_subtasks: Manage subtasks | |
520 | permission_manage_related_issues: Manage related issues |
|
521 | permission_manage_related_issues: Manage related issues | |
521 | permission_import_issues: Import issues |
|
522 | permission_import_issues: Import issues | |
522 |
|
523 | |||
523 | project_module_issue_tracking: Issue tracking |
|
524 | project_module_issue_tracking: Issue tracking | |
524 | project_module_time_tracking: Time tracking |
|
525 | project_module_time_tracking: Time tracking | |
525 | project_module_news: News |
|
526 | project_module_news: News | |
526 | project_module_documents: Documents |
|
527 | project_module_documents: Documents | |
527 | project_module_files: Files |
|
528 | project_module_files: Files | |
528 | project_module_wiki: Wiki |
|
529 | project_module_wiki: Wiki | |
529 | project_module_repository: Repository |
|
530 | project_module_repository: Repository | |
530 | project_module_boards: Forums |
|
531 | project_module_boards: Forums | |
531 | project_module_calendar: Calendar |
|
532 | project_module_calendar: Calendar | |
532 | project_module_gantt: Gantt |
|
533 | project_module_gantt: Gantt | |
533 |
|
534 | |||
534 | label_user: User |
|
535 | label_user: User | |
535 | label_user_plural: Users |
|
536 | label_user_plural: Users | |
536 | label_user_new: New user |
|
537 | label_user_new: New user | |
537 | label_user_anonymous: Anonymous |
|
538 | label_user_anonymous: Anonymous | |
538 | label_project: Project |
|
539 | label_project: Project | |
539 | label_project_new: New project |
|
540 | label_project_new: New project | |
540 | label_project_plural: Projects |
|
541 | label_project_plural: Projects | |
541 | label_x_projects: |
|
542 | label_x_projects: | |
542 | zero: no projects |
|
543 | zero: no projects | |
543 | one: 1 project |
|
544 | one: 1 project | |
544 | other: "%{count} projects" |
|
545 | other: "%{count} projects" | |
545 | label_project_all: All Projects |
|
546 | label_project_all: All Projects | |
546 | label_project_latest: Latest projects |
|
547 | label_project_latest: Latest projects | |
547 | label_issue: Issue |
|
548 | label_issue: Issue | |
548 | label_issue_new: New issue |
|
549 | label_issue_new: New issue | |
549 | label_issue_plural: Issues |
|
550 | label_issue_plural: Issues | |
550 | label_issue_view_all: View all issues |
|
551 | label_issue_view_all: View all issues | |
551 | label_issues_by: "Issues by %{value}" |
|
552 | label_issues_by: "Issues by %{value}" | |
552 | label_issue_added: Issue added |
|
553 | label_issue_added: Issue added | |
553 | label_issue_updated: Issue updated |
|
554 | label_issue_updated: Issue updated | |
554 | label_issue_note_added: Note added |
|
555 | label_issue_note_added: Note added | |
555 | label_issue_status_updated: Status updated |
|
556 | label_issue_status_updated: Status updated | |
556 | label_issue_assigned_to_updated: Assignee updated |
|
557 | label_issue_assigned_to_updated: Assignee updated | |
557 | label_issue_priority_updated: Priority updated |
|
558 | label_issue_priority_updated: Priority updated | |
558 | label_document: Document |
|
559 | label_document: Document | |
559 | label_document_new: New document |
|
560 | label_document_new: New document | |
560 | label_document_plural: Documents |
|
561 | label_document_plural: Documents | |
561 | label_document_added: Document added |
|
562 | label_document_added: Document added | |
562 | label_role: Role |
|
563 | label_role: Role | |
563 | label_role_plural: Roles |
|
564 | label_role_plural: Roles | |
564 | label_role_new: New role |
|
565 | label_role_new: New role | |
565 | label_role_and_permissions: Roles and permissions |
|
566 | label_role_and_permissions: Roles and permissions | |
566 | label_role_anonymous: Anonymous |
|
567 | label_role_anonymous: Anonymous | |
567 | label_role_non_member: Non member |
|
568 | label_role_non_member: Non member | |
568 | label_member: Member |
|
569 | label_member: Member | |
569 | label_member_new: New member |
|
570 | label_member_new: New member | |
570 | label_member_plural: Members |
|
571 | label_member_plural: Members | |
571 | label_tracker: Tracker |
|
572 | label_tracker: Tracker | |
572 | label_tracker_plural: Trackers |
|
573 | label_tracker_plural: Trackers | |
573 | label_tracker_all: All trackers |
|
574 | label_tracker_all: All trackers | |
574 | label_tracker_new: New tracker |
|
575 | label_tracker_new: New tracker | |
575 | label_workflow: Workflow |
|
576 | label_workflow: Workflow | |
576 | label_issue_status: Issue status |
|
577 | label_issue_status: Issue status | |
577 | label_issue_status_plural: Issue statuses |
|
578 | label_issue_status_plural: Issue statuses | |
578 | label_issue_status_new: New status |
|
579 | label_issue_status_new: New status | |
579 | label_issue_category: Issue category |
|
580 | label_issue_category: Issue category | |
580 | label_issue_category_plural: Issue categories |
|
581 | label_issue_category_plural: Issue categories | |
581 | label_issue_category_new: New category |
|
582 | label_issue_category_new: New category | |
582 | label_custom_field: Custom field |
|
583 | label_custom_field: Custom field | |
583 | label_custom_field_plural: Custom fields |
|
584 | label_custom_field_plural: Custom fields | |
584 | label_custom_field_new: New custom field |
|
585 | label_custom_field_new: New custom field | |
585 | label_enumerations: Enumerations |
|
586 | label_enumerations: Enumerations | |
586 | label_enumeration_new: New value |
|
587 | label_enumeration_new: New value | |
587 | label_information: Information |
|
588 | label_information: Information | |
588 | label_information_plural: Information |
|
589 | label_information_plural: Information | |
589 | label_please_login: Please log in |
|
590 | label_please_login: Please log in | |
590 | label_register: Register |
|
591 | label_register: Register | |
591 | label_login_with_open_id_option: or login with OpenID |
|
592 | label_login_with_open_id_option: or login with OpenID | |
592 | label_password_lost: Lost password |
|
593 | label_password_lost: Lost password | |
593 | label_password_required: Confirm your password to continue |
|
594 | label_password_required: Confirm your password to continue | |
594 | label_home: Home |
|
595 | label_home: Home | |
595 | label_my_page: My page |
|
596 | label_my_page: My page | |
596 | label_my_account: My account |
|
597 | label_my_account: My account | |
597 | label_my_projects: My projects |
|
598 | label_my_projects: My projects | |
598 | label_my_page_block: My page block |
|
599 | label_my_page_block: My page block | |
599 | label_administration: Administration |
|
600 | label_administration: Administration | |
600 | label_login: Sign in |
|
601 | label_login: Sign in | |
601 | label_logout: Sign out |
|
602 | label_logout: Sign out | |
602 | label_help: Help |
|
603 | label_help: Help | |
603 | label_reported_issues: Reported issues |
|
604 | label_reported_issues: Reported issues | |
604 | label_assigned_issues: Assigned issues |
|
605 | label_assigned_issues: Assigned issues | |
605 | label_assigned_to_me_issues: Issues assigned to me |
|
606 | label_assigned_to_me_issues: Issues assigned to me | |
606 | label_last_login: Last connection |
|
607 | label_last_login: Last connection | |
607 | label_registered_on: Registered on |
|
608 | label_registered_on: Registered on | |
608 | label_activity: Activity |
|
609 | label_activity: Activity | |
609 | label_overall_activity: Overall activity |
|
610 | label_overall_activity: Overall activity | |
610 | label_user_activity: "%{value}'s activity" |
|
611 | label_user_activity: "%{value}'s activity" | |
611 | label_new: New |
|
612 | label_new: New | |
612 | label_logged_as: Logged in as |
|
613 | label_logged_as: Logged in as | |
613 | label_environment: Environment |
|
614 | label_environment: Environment | |
614 | label_authentication: Authentication |
|
615 | label_authentication: Authentication | |
615 | label_auth_source: Authentication mode |
|
616 | label_auth_source: Authentication mode | |
616 | label_auth_source_new: New authentication mode |
|
617 | label_auth_source_new: New authentication mode | |
617 | label_auth_source_plural: Authentication modes |
|
618 | label_auth_source_plural: Authentication modes | |
618 | label_subproject_plural: Subprojects |
|
619 | label_subproject_plural: Subprojects | |
619 | label_subproject_new: New subproject |
|
620 | label_subproject_new: New subproject | |
620 | label_and_its_subprojects: "%{value} and its subprojects" |
|
621 | label_and_its_subprojects: "%{value} and its subprojects" | |
621 | label_min_max_length: Min - Max length |
|
622 | label_min_max_length: Min - Max length | |
622 | label_list: List |
|
623 | label_list: List | |
623 | label_date: Date |
|
624 | label_date: Date | |
624 | label_integer: Integer |
|
625 | label_integer: Integer | |
625 | label_float: Float |
|
626 | label_float: Float | |
626 | label_boolean: Boolean |
|
627 | label_boolean: Boolean | |
627 | label_string: Text |
|
628 | label_string: Text | |
628 | label_text: Long text |
|
629 | label_text: Long text | |
629 | label_attribute: Attribute |
|
630 | label_attribute: Attribute | |
630 | label_attribute_plural: Attributes |
|
631 | label_attribute_plural: Attributes | |
631 | label_no_data: No data to display |
|
632 | label_no_data: No data to display | |
632 | label_no_preview: No preview available |
|
633 | label_no_preview: No preview available | |
633 | label_change_status: Change status |
|
634 | label_change_status: Change status | |
634 | label_history: History |
|
635 | label_history: History | |
635 | label_attachment: File |
|
636 | label_attachment: File | |
636 | label_attachment_new: New file |
|
637 | label_attachment_new: New file | |
637 | label_attachment_delete: Delete file |
|
638 | label_attachment_delete: Delete file | |
638 | label_attachment_plural: Files |
|
639 | label_attachment_plural: Files | |
639 | label_file_added: File added |
|
640 | label_file_added: File added | |
640 | label_report: Report |
|
641 | label_report: Report | |
641 | label_report_plural: Reports |
|
642 | label_report_plural: Reports | |
642 | label_news: News |
|
643 | label_news: News | |
643 | label_news_new: Add news |
|
644 | label_news_new: Add news | |
644 | label_news_plural: News |
|
645 | label_news_plural: News | |
645 | label_news_latest: Latest news |
|
646 | label_news_latest: Latest news | |
646 | label_news_view_all: View all news |
|
647 | label_news_view_all: View all news | |
647 | label_news_added: News added |
|
648 | label_news_added: News added | |
648 | label_news_comment_added: Comment added to a news |
|
649 | label_news_comment_added: Comment added to a news | |
649 | label_settings: Settings |
|
650 | label_settings: Settings | |
650 | label_overview: Overview |
|
651 | label_overview: Overview | |
651 | label_version: Version |
|
652 | label_version: Version | |
652 | label_version_new: New version |
|
653 | label_version_new: New version | |
653 | label_version_plural: Versions |
|
654 | label_version_plural: Versions | |
654 | label_close_versions: Close completed versions |
|
655 | label_close_versions: Close completed versions | |
655 | label_confirmation: Confirmation |
|
656 | label_confirmation: Confirmation | |
656 | label_export_to: 'Also available in:' |
|
657 | label_export_to: 'Also available in:' | |
657 | label_read: Read... |
|
658 | label_read: Read... | |
658 | label_public_projects: Public projects |
|
659 | label_public_projects: Public projects | |
659 | label_open_issues: open |
|
660 | label_open_issues: open | |
660 | label_open_issues_plural: open |
|
661 | label_open_issues_plural: open | |
661 | label_closed_issues: closed |
|
662 | label_closed_issues: closed | |
662 | label_closed_issues_plural: closed |
|
663 | label_closed_issues_plural: closed | |
663 | label_x_open_issues_abbr: |
|
664 | label_x_open_issues_abbr: | |
664 | zero: 0 open |
|
665 | zero: 0 open | |
665 | one: 1 open |
|
666 | one: 1 open | |
666 | other: "%{count} open" |
|
667 | other: "%{count} open" | |
667 | label_x_closed_issues_abbr: |
|
668 | label_x_closed_issues_abbr: | |
668 | zero: 0 closed |
|
669 | zero: 0 closed | |
669 | one: 1 closed |
|
670 | one: 1 closed | |
670 | other: "%{count} closed" |
|
671 | other: "%{count} closed" | |
671 | label_x_issues: |
|
672 | label_x_issues: | |
672 | zero: 0 issues |
|
673 | zero: 0 issues | |
673 | one: 1 issue |
|
674 | one: 1 issue | |
674 | other: "%{count} issues" |
|
675 | other: "%{count} issues" | |
675 | label_total: Total |
|
676 | label_total: Total | |
676 | label_total_plural: Totals |
|
677 | label_total_plural: Totals | |
677 | label_total_time: Total time |
|
678 | label_total_time: Total time | |
678 | label_permissions: Permissions |
|
679 | label_permissions: Permissions | |
679 | label_current_status: Current status |
|
680 | label_current_status: Current status | |
680 | label_new_statuses_allowed: New statuses allowed |
|
681 | label_new_statuses_allowed: New statuses allowed | |
681 | label_all: all |
|
682 | label_all: all | |
682 | label_any: any |
|
683 | label_any: any | |
683 | label_none: none |
|
684 | label_none: none | |
684 | label_nobody: nobody |
|
685 | label_nobody: nobody | |
685 | label_next: Next |
|
686 | label_next: Next | |
686 | label_previous: Previous |
|
687 | label_previous: Previous | |
687 | label_used_by: Used by |
|
688 | label_used_by: Used by | |
688 | label_details: Details |
|
689 | label_details: Details | |
689 | label_add_note: Add a note |
|
690 | label_add_note: Add a note | |
690 | label_calendar: Calendar |
|
691 | label_calendar: Calendar | |
691 | label_months_from: months from |
|
692 | label_months_from: months from | |
692 | label_gantt: Gantt |
|
693 | label_gantt: Gantt | |
693 | label_internal: Internal |
|
694 | label_internal: Internal | |
694 | label_last_changes: "last %{count} changes" |
|
695 | label_last_changes: "last %{count} changes" | |
695 | label_change_view_all: View all changes |
|
696 | label_change_view_all: View all changes | |
696 | label_personalize_page: Personalize this page |
|
697 | label_personalize_page: Personalize this page | |
697 | label_comment: Comment |
|
698 | label_comment: Comment | |
698 | label_comment_plural: Comments |
|
699 | label_comment_plural: Comments | |
699 | label_x_comments: |
|
700 | label_x_comments: | |
700 | zero: no comments |
|
701 | zero: no comments | |
701 | one: 1 comment |
|
702 | one: 1 comment | |
702 | other: "%{count} comments" |
|
703 | other: "%{count} comments" | |
703 | label_comment_add: Add a comment |
|
704 | label_comment_add: Add a comment | |
704 | label_comment_added: Comment added |
|
705 | label_comment_added: Comment added | |
705 | label_comment_delete: Delete comments |
|
706 | label_comment_delete: Delete comments | |
706 | label_query: Custom query |
|
707 | label_query: Custom query | |
707 | label_query_plural: Custom queries |
|
708 | label_query_plural: Custom queries | |
708 | label_query_new: New query |
|
709 | label_query_new: New query | |
709 | label_my_queries: My custom queries |
|
710 | label_my_queries: My custom queries | |
710 | label_filter_add: Add filter |
|
711 | label_filter_add: Add filter | |
711 | label_filter_plural: Filters |
|
712 | label_filter_plural: Filters | |
712 | label_equals: is |
|
713 | label_equals: is | |
713 | label_not_equals: is not |
|
714 | label_not_equals: is not | |
714 | label_in_less_than: in less than |
|
715 | label_in_less_than: in less than | |
715 | label_in_more_than: in more than |
|
716 | label_in_more_than: in more than | |
716 | label_in_the_next_days: in the next |
|
717 | label_in_the_next_days: in the next | |
717 | label_in_the_past_days: in the past |
|
718 | label_in_the_past_days: in the past | |
718 | label_greater_or_equal: '>=' |
|
719 | label_greater_or_equal: '>=' | |
719 | label_less_or_equal: '<=' |
|
720 | label_less_or_equal: '<=' | |
720 | label_between: between |
|
721 | label_between: between | |
721 | label_in: in |
|
722 | label_in: in | |
722 | label_today: today |
|
723 | label_today: today | |
723 | label_all_time: all time |
|
724 | label_all_time: all time | |
724 | label_yesterday: yesterday |
|
725 | label_yesterday: yesterday | |
725 | label_this_week: this week |
|
726 | label_this_week: this week | |
726 | label_last_week: last week |
|
727 | label_last_week: last week | |
727 | label_last_n_weeks: "last %{count} weeks" |
|
728 | label_last_n_weeks: "last %{count} weeks" | |
728 | label_last_n_days: "last %{count} days" |
|
729 | label_last_n_days: "last %{count} days" | |
729 | label_this_month: this month |
|
730 | label_this_month: this month | |
730 | label_last_month: last month |
|
731 | label_last_month: last month | |
731 | label_this_year: this year |
|
732 | label_this_year: this year | |
732 | label_date_range: Date range |
|
733 | label_date_range: Date range | |
733 | label_less_than_ago: less than days ago |
|
734 | label_less_than_ago: less than days ago | |
734 | label_more_than_ago: more than days ago |
|
735 | label_more_than_ago: more than days ago | |
735 | label_ago: days ago |
|
736 | label_ago: days ago | |
736 | label_contains: contains |
|
737 | label_contains: contains | |
737 | label_not_contains: doesn't contain |
|
738 | label_not_contains: doesn't contain | |
738 | label_any_issues_in_project: any issues in project |
|
739 | label_any_issues_in_project: any issues in project | |
739 | label_any_issues_not_in_project: any issues not in project |
|
740 | label_any_issues_not_in_project: any issues not in project | |
740 | label_no_issues_in_project: no issues in project |
|
741 | label_no_issues_in_project: no issues in project | |
741 | label_any_open_issues: any open issues |
|
742 | label_any_open_issues: any open issues | |
742 | label_no_open_issues: no open issues |
|
743 | label_no_open_issues: no open issues | |
743 | label_day_plural: days |
|
744 | label_day_plural: days | |
744 | label_repository: Repository |
|
745 | label_repository: Repository | |
745 | label_repository_new: New repository |
|
746 | label_repository_new: New repository | |
746 | label_repository_plural: Repositories |
|
747 | label_repository_plural: Repositories | |
747 | label_browse: Browse |
|
748 | label_browse: Browse | |
748 | label_branch: Branch |
|
749 | label_branch: Branch | |
749 | label_tag: Tag |
|
750 | label_tag: Tag | |
750 | label_revision: Revision |
|
751 | label_revision: Revision | |
751 | label_revision_plural: Revisions |
|
752 | label_revision_plural: Revisions | |
752 | label_revision_id: "Revision %{value}" |
|
753 | label_revision_id: "Revision %{value}" | |
753 | label_associated_revisions: Associated revisions |
|
754 | label_associated_revisions: Associated revisions | |
754 | label_added: added |
|
755 | label_added: added | |
755 | label_modified: modified |
|
756 | label_modified: modified | |
756 | label_copied: copied |
|
757 | label_copied: copied | |
757 | label_renamed: renamed |
|
758 | label_renamed: renamed | |
758 | label_deleted: deleted |
|
759 | label_deleted: deleted | |
759 | label_latest_revision: Latest revision |
|
760 | label_latest_revision: Latest revision | |
760 | label_latest_revision_plural: Latest revisions |
|
761 | label_latest_revision_plural: Latest revisions | |
761 | label_view_revisions: View revisions |
|
762 | label_view_revisions: View revisions | |
762 | label_view_all_revisions: View all revisions |
|
763 | label_view_all_revisions: View all revisions | |
763 | label_max_size: Maximum size |
|
764 | label_max_size: Maximum size | |
764 | label_sort_highest: Move to top |
|
765 | label_sort_highest: Move to top | |
765 | label_sort_higher: Move up |
|
766 | label_sort_higher: Move up | |
766 | label_sort_lower: Move down |
|
767 | label_sort_lower: Move down | |
767 | label_sort_lowest: Move to bottom |
|
768 | label_sort_lowest: Move to bottom | |
768 | label_roadmap: Roadmap |
|
769 | label_roadmap: Roadmap | |
769 | label_roadmap_due_in: "Due in %{value}" |
|
770 | label_roadmap_due_in: "Due in %{value}" | |
770 | label_roadmap_overdue: "%{value} late" |
|
771 | label_roadmap_overdue: "%{value} late" | |
771 | label_roadmap_no_issues: No issues for this version |
|
772 | label_roadmap_no_issues: No issues for this version | |
772 | label_search: Search |
|
773 | label_search: Search | |
773 | label_result_plural: Results |
|
774 | label_result_plural: Results | |
774 | label_all_words: All words |
|
775 | label_all_words: All words | |
775 | label_wiki: Wiki |
|
776 | label_wiki: Wiki | |
776 | label_wiki_edit: Wiki edit |
|
777 | label_wiki_edit: Wiki edit | |
777 | label_wiki_edit_plural: Wiki edits |
|
778 | label_wiki_edit_plural: Wiki edits | |
778 | label_wiki_page: Wiki page |
|
779 | label_wiki_page: Wiki page | |
779 | label_wiki_page_plural: Wiki pages |
|
780 | label_wiki_page_plural: Wiki pages | |
780 | label_wiki_page_new: New wiki page |
|
781 | label_wiki_page_new: New wiki page | |
781 | label_index_by_title: Index by title |
|
782 | label_index_by_title: Index by title | |
782 | label_index_by_date: Index by date |
|
783 | label_index_by_date: Index by date | |
783 | label_current_version: Current version |
|
784 | label_current_version: Current version | |
784 | label_preview: Preview |
|
785 | label_preview: Preview | |
785 | label_feed_plural: Feeds |
|
786 | label_feed_plural: Feeds | |
786 | label_changes_details: Details of all changes |
|
787 | label_changes_details: Details of all changes | |
787 | label_issue_tracking: Issue tracking |
|
788 | label_issue_tracking: Issue tracking | |
788 | label_spent_time: Spent time |
|
789 | label_spent_time: Spent time | |
789 | label_total_spent_time: Total spent time |
|
790 | label_total_spent_time: Total spent time | |
790 | label_overall_spent_time: Overall spent time |
|
791 | label_overall_spent_time: Overall spent time | |
791 | label_f_hour: "%{value} hour" |
|
792 | label_f_hour: "%{value} hour" | |
792 | label_f_hour_plural: "%{value} hours" |
|
793 | label_f_hour_plural: "%{value} hours" | |
793 | label_f_hour_short: "%{value} h" |
|
794 | label_f_hour_short: "%{value} h" | |
794 | label_time_tracking: Time tracking |
|
795 | label_time_tracking: Time tracking | |
795 | label_change_plural: Changes |
|
796 | label_change_plural: Changes | |
796 | label_statistics: Statistics |
|
797 | label_statistics: Statistics | |
797 | label_commits_per_month: Commits per month |
|
798 | label_commits_per_month: Commits per month | |
798 | label_commits_per_author: Commits per author |
|
799 | label_commits_per_author: Commits per author | |
799 | label_diff: diff |
|
800 | label_diff: diff | |
800 | label_view_diff: View differences |
|
801 | label_view_diff: View differences | |
801 | label_diff_inline: inline |
|
802 | label_diff_inline: inline | |
802 | label_diff_side_by_side: side by side |
|
803 | label_diff_side_by_side: side by side | |
803 | label_options: Options |
|
804 | label_options: Options | |
804 | label_copy_workflow_from: Copy workflow from |
|
805 | label_copy_workflow_from: Copy workflow from | |
805 | label_permissions_report: Permissions report |
|
806 | label_permissions_report: Permissions report | |
806 | label_watched_issues: Watched issues |
|
807 | label_watched_issues: Watched issues | |
807 | label_related_issues: Related issues |
|
808 | label_related_issues: Related issues | |
808 | label_applied_status: Applied status |
|
809 | label_applied_status: Applied status | |
809 | label_loading: Loading... |
|
810 | label_loading: Loading... | |
810 | label_relation_new: New relation |
|
811 | label_relation_new: New relation | |
811 | label_relation_delete: Delete relation |
|
812 | label_relation_delete: Delete relation | |
812 | label_relates_to: Related to |
|
813 | label_relates_to: Related to | |
813 | label_duplicates: Duplicates |
|
814 | label_duplicates: Duplicates | |
814 | label_duplicated_by: Duplicated by |
|
815 | label_duplicated_by: Duplicated by | |
815 | label_blocks: Blocks |
|
816 | label_blocks: Blocks | |
816 | label_blocked_by: Blocked by |
|
817 | label_blocked_by: Blocked by | |
817 | label_precedes: Precedes |
|
818 | label_precedes: Precedes | |
818 | label_follows: Follows |
|
819 | label_follows: Follows | |
819 | label_copied_to: Copied to |
|
820 | label_copied_to: Copied to | |
820 | label_copied_from: Copied from |
|
821 | label_copied_from: Copied from | |
821 | label_stay_logged_in: Stay logged in |
|
822 | label_stay_logged_in: Stay logged in | |
822 | label_disabled: disabled |
|
823 | label_disabled: disabled | |
823 | label_show_completed_versions: Show completed versions |
|
824 | label_show_completed_versions: Show completed versions | |
824 | label_me: me |
|
825 | label_me: me | |
825 | label_board: Forum |
|
826 | label_board: Forum | |
826 | label_board_new: New forum |
|
827 | label_board_new: New forum | |
827 | label_board_plural: Forums |
|
828 | label_board_plural: Forums | |
828 | label_board_locked: Locked |
|
829 | label_board_locked: Locked | |
829 | label_board_sticky: Sticky |
|
830 | label_board_sticky: Sticky | |
830 | label_topic_plural: Topics |
|
831 | label_topic_plural: Topics | |
831 | label_message_plural: Messages |
|
832 | label_message_plural: Messages | |
832 | label_message_last: Last message |
|
833 | label_message_last: Last message | |
833 | label_message_new: New message |
|
834 | label_message_new: New message | |
834 | label_message_posted: Message added |
|
835 | label_message_posted: Message added | |
835 | label_reply_plural: Replies |
|
836 | label_reply_plural: Replies | |
836 | label_send_information: Send account information to the user |
|
837 | label_send_information: Send account information to the user | |
837 | label_year: Year |
|
838 | label_year: Year | |
838 | label_month: Month |
|
839 | label_month: Month | |
839 | label_week: Week |
|
840 | label_week: Week | |
840 | label_date_from: From |
|
841 | label_date_from: From | |
841 | label_date_to: To |
|
842 | label_date_to: To | |
842 | label_language_based: Based on user's language |
|
843 | label_language_based: Based on user's language | |
843 | label_sort_by: "Sort by %{value}" |
|
844 | label_sort_by: "Sort by %{value}" | |
844 | label_send_test_email: Send a test email |
|
845 | label_send_test_email: Send a test email | |
845 | label_feeds_access_key: Atom access key |
|
846 | label_feeds_access_key: Atom access key | |
846 | label_missing_feeds_access_key: Missing a Atom access key |
|
847 | label_missing_feeds_access_key: Missing a Atom access key | |
847 | label_feeds_access_key_created_on: "Atom access key created %{value} ago" |
|
848 | label_feeds_access_key_created_on: "Atom access key created %{value} ago" | |
848 | label_module_plural: Modules |
|
849 | label_module_plural: Modules | |
849 | label_added_time_by: "Added by %{author} %{age} ago" |
|
850 | label_added_time_by: "Added by %{author} %{age} ago" | |
850 | label_updated_time_by: "Updated by %{author} %{age} ago" |
|
851 | label_updated_time_by: "Updated by %{author} %{age} ago" | |
851 | label_updated_time: "Updated %{value} ago" |
|
852 | label_updated_time: "Updated %{value} ago" | |
852 | label_jump_to_a_project: Jump to a project... |
|
853 | label_jump_to_a_project: Jump to a project... | |
853 | label_file_plural: Files |
|
854 | label_file_plural: Files | |
854 | label_changeset_plural: Changesets |
|
855 | label_changeset_plural: Changesets | |
855 | label_default_columns: Default columns |
|
856 | label_default_columns: Default columns | |
856 | label_no_change_option: (No change) |
|
857 | label_no_change_option: (No change) | |
857 | label_bulk_edit_selected_issues: Bulk edit selected issues |
|
858 | label_bulk_edit_selected_issues: Bulk edit selected issues | |
858 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries |
|
859 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries | |
859 | label_theme: Theme |
|
860 | label_theme: Theme | |
860 | label_default: Default |
|
861 | label_default: Default | |
861 | label_search_titles_only: Search titles only |
|
862 | label_search_titles_only: Search titles only | |
862 | label_user_mail_option_all: "For any event on all my projects" |
|
863 | label_user_mail_option_all: "For any event on all my projects" | |
863 | label_user_mail_option_selected: "For any event on the selected projects only..." |
|
864 | label_user_mail_option_selected: "For any event on the selected projects only..." | |
864 | label_user_mail_option_none: "No events" |
|
865 | label_user_mail_option_none: "No events" | |
865 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" |
|
866 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" | |
866 | label_user_mail_option_only_assigned: "Only for things I watch or I am assigned to" |
|
867 | label_user_mail_option_only_assigned: "Only for things I watch or I am assigned to" | |
867 | label_user_mail_option_only_owner: "Only for things I watch or I am the owner of" |
|
868 | label_user_mail_option_only_owner: "Only for things I watch or I am the owner of" | |
868 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" |
|
869 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" | |
869 | label_registration_activation_by_email: account activation by email |
|
870 | label_registration_activation_by_email: account activation by email | |
870 | label_registration_manual_activation: manual account activation |
|
871 | label_registration_manual_activation: manual account activation | |
871 | label_registration_automatic_activation: automatic account activation |
|
872 | label_registration_automatic_activation: automatic account activation | |
872 | label_display_per_page: "Per page: %{value}" |
|
873 | label_display_per_page: "Per page: %{value}" | |
873 | label_age: Age |
|
874 | label_age: Age | |
874 | label_change_properties: Change properties |
|
875 | label_change_properties: Change properties | |
875 | label_general: General |
|
876 | label_general: General | |
876 | label_more: More |
|
877 | label_more: More | |
877 | label_scm: SCM |
|
878 | label_scm: SCM | |
878 | label_plugins: Plugins |
|
879 | label_plugins: Plugins | |
879 | label_ldap_authentication: LDAP authentication |
|
880 | label_ldap_authentication: LDAP authentication | |
880 | label_downloads_abbr: D/L |
|
881 | label_downloads_abbr: D/L | |
881 | label_optional_description: Optional description |
|
882 | label_optional_description: Optional description | |
882 | label_add_another_file: Add another file |
|
883 | label_add_another_file: Add another file | |
883 | label_preferences: Preferences |
|
884 | label_preferences: Preferences | |
884 | label_chronological_order: In chronological order |
|
885 | label_chronological_order: In chronological order | |
885 | label_reverse_chronological_order: In reverse chronological order |
|
886 | label_reverse_chronological_order: In reverse chronological order | |
886 | label_planning: Planning |
|
887 | label_planning: Planning | |
887 | label_incoming_emails: Incoming emails |
|
888 | label_incoming_emails: Incoming emails | |
888 | label_generate_key: Generate a key |
|
889 | label_generate_key: Generate a key | |
889 | label_issue_watchers: Watchers |
|
890 | label_issue_watchers: Watchers | |
890 | label_example: Example |
|
891 | label_example: Example | |
891 | label_display: Display |
|
892 | label_display: Display | |
892 | label_sort: Sort |
|
893 | label_sort: Sort | |
893 | label_ascending: Ascending |
|
894 | label_ascending: Ascending | |
894 | label_descending: Descending |
|
895 | label_descending: Descending | |
895 | label_date_from_to: From %{start} to %{end} |
|
896 | label_date_from_to: From %{start} to %{end} | |
896 | label_wiki_content_added: Wiki page added |
|
897 | label_wiki_content_added: Wiki page added | |
897 | label_wiki_content_updated: Wiki page updated |
|
898 | label_wiki_content_updated: Wiki page updated | |
898 | label_group: Group |
|
899 | label_group: Group | |
899 | label_group_plural: Groups |
|
900 | label_group_plural: Groups | |
900 | label_group_new: New group |
|
901 | label_group_new: New group | |
901 | label_group_anonymous: Anonymous users |
|
902 | label_group_anonymous: Anonymous users | |
902 | label_group_non_member: Non member users |
|
903 | label_group_non_member: Non member users | |
903 | label_time_entry_plural: Spent time |
|
904 | label_time_entry_plural: Spent time | |
904 | label_version_sharing_none: Not shared |
|
905 | label_version_sharing_none: Not shared | |
905 | label_version_sharing_descendants: With subprojects |
|
906 | label_version_sharing_descendants: With subprojects | |
906 | label_version_sharing_hierarchy: With project hierarchy |
|
907 | label_version_sharing_hierarchy: With project hierarchy | |
907 | label_version_sharing_tree: With project tree |
|
908 | label_version_sharing_tree: With project tree | |
908 | label_version_sharing_system: With all projects |
|
909 | label_version_sharing_system: With all projects | |
909 | label_update_issue_done_ratios: Update issue done ratios |
|
910 | label_update_issue_done_ratios: Update issue done ratios | |
910 | label_copy_source: Source |
|
911 | label_copy_source: Source | |
911 | label_copy_target: Target |
|
912 | label_copy_target: Target | |
912 | label_copy_same_as_target: Same as target |
|
913 | label_copy_same_as_target: Same as target | |
913 | label_display_used_statuses_only: Only display statuses that are used by this tracker |
|
914 | label_display_used_statuses_only: Only display statuses that are used by this tracker | |
914 | label_api_access_key: API access key |
|
915 | label_api_access_key: API access key | |
915 | label_missing_api_access_key: Missing an API access key |
|
916 | label_missing_api_access_key: Missing an API access key | |
916 | label_api_access_key_created_on: "API access key created %{value} ago" |
|
917 | label_api_access_key_created_on: "API access key created %{value} ago" | |
917 | label_profile: Profile |
|
918 | label_profile: Profile | |
918 | label_subtask_plural: Subtasks |
|
919 | label_subtask_plural: Subtasks | |
919 | label_project_copy_notifications: Send email notifications during the project copy |
|
920 | label_project_copy_notifications: Send email notifications during the project copy | |
920 | label_principal_search: "Search for user or group:" |
|
921 | label_principal_search: "Search for user or group:" | |
921 | label_user_search: "Search for user:" |
|
922 | label_user_search: "Search for user:" | |
922 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author |
|
923 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author | |
923 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee |
|
924 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee | |
924 | label_issues_visibility_all: All issues |
|
925 | label_issues_visibility_all: All issues | |
925 | label_issues_visibility_public: All non private issues |
|
926 | label_issues_visibility_public: All non private issues | |
926 | label_issues_visibility_own: Issues created by or assigned to the user |
|
927 | label_issues_visibility_own: Issues created by or assigned to the user | |
927 | label_git_report_last_commit: Report last commit for files and directories |
|
928 | label_git_report_last_commit: Report last commit for files and directories | |
928 | label_parent_revision: Parent |
|
929 | label_parent_revision: Parent | |
929 | label_child_revision: Child |
|
930 | label_child_revision: Child | |
930 | label_export_options: "%{export_format} export options" |
|
931 | label_export_options: "%{export_format} export options" | |
931 | label_copy_attachments: Copy attachments |
|
932 | label_copy_attachments: Copy attachments | |
932 | label_copy_subtasks: Copy subtasks |
|
933 | label_copy_subtasks: Copy subtasks | |
933 | label_item_position: "%{position} of %{count}" |
|
934 | label_item_position: "%{position} of %{count}" | |
934 | label_completed_versions: Completed versions |
|
935 | label_completed_versions: Completed versions | |
935 | label_search_for_watchers: Search for watchers to add |
|
936 | label_search_for_watchers: Search for watchers to add | |
936 | label_session_expiration: Session expiration |
|
937 | label_session_expiration: Session expiration | |
937 | label_show_closed_projects: View closed projects |
|
938 | label_show_closed_projects: View closed projects | |
938 | label_status_transitions: Status transitions |
|
939 | label_status_transitions: Status transitions | |
939 | label_fields_permissions: Fields permissions |
|
940 | label_fields_permissions: Fields permissions | |
940 | label_readonly: Read-only |
|
941 | label_readonly: Read-only | |
941 | label_required: Required |
|
942 | label_required: Required | |
942 | label_hidden: Hidden |
|
943 | label_hidden: Hidden | |
943 | label_attribute_of_project: "Project's %{name}" |
|
944 | label_attribute_of_project: "Project's %{name}" | |
944 | label_attribute_of_issue: "Issue's %{name}" |
|
945 | label_attribute_of_issue: "Issue's %{name}" | |
945 | label_attribute_of_author: "Author's %{name}" |
|
946 | label_attribute_of_author: "Author's %{name}" | |
946 | label_attribute_of_assigned_to: "Assignee's %{name}" |
|
947 | label_attribute_of_assigned_to: "Assignee's %{name}" | |
947 | label_attribute_of_user: "User's %{name}" |
|
948 | label_attribute_of_user: "User's %{name}" | |
948 | label_attribute_of_fixed_version: "Target version's %{name}" |
|
949 | label_attribute_of_fixed_version: "Target version's %{name}" | |
949 | label_cross_project_descendants: With subprojects |
|
950 | label_cross_project_descendants: With subprojects | |
950 | label_cross_project_tree: With project tree |
|
951 | label_cross_project_tree: With project tree | |
951 | label_cross_project_hierarchy: With project hierarchy |
|
952 | label_cross_project_hierarchy: With project hierarchy | |
952 | label_cross_project_system: With all projects |
|
953 | label_cross_project_system: With all projects | |
953 | label_gantt_progress_line: Progress line |
|
954 | label_gantt_progress_line: Progress line | |
954 | label_visibility_private: to me only |
|
955 | label_visibility_private: to me only | |
955 | label_visibility_roles: to these roles only |
|
956 | label_visibility_roles: to these roles only | |
956 | label_visibility_public: to any users |
|
957 | label_visibility_public: to any users | |
957 | label_link: Link |
|
958 | label_link: Link | |
958 | label_only: only |
|
959 | label_only: only | |
959 | label_drop_down_list: drop-down list |
|
960 | label_drop_down_list: drop-down list | |
960 | label_checkboxes: checkboxes |
|
961 | label_checkboxes: checkboxes | |
961 | label_radio_buttons: radio buttons |
|
962 | label_radio_buttons: radio buttons | |
962 | label_link_values_to: Link values to URL |
|
963 | label_link_values_to: Link values to URL | |
963 | label_custom_field_select_type: Select the type of object to which the custom field is to be attached |
|
964 | label_custom_field_select_type: Select the type of object to which the custom field is to be attached | |
964 | label_check_for_updates: Check for updates |
|
965 | label_check_for_updates: Check for updates | |
965 | label_latest_compatible_version: Latest compatible version |
|
966 | label_latest_compatible_version: Latest compatible version | |
966 | label_unknown_plugin: Unknown plugin |
|
967 | label_unknown_plugin: Unknown plugin | |
967 | label_add_projects: Add projects |
|
968 | label_add_projects: Add projects | |
968 | label_users_visibility_all: All active users |
|
969 | label_users_visibility_all: All active users | |
969 | label_users_visibility_members_of_visible_projects: Members of visible projects |
|
970 | label_users_visibility_members_of_visible_projects: Members of visible projects | |
970 | label_edit_attachments: Edit attached files |
|
971 | label_edit_attachments: Edit attached files | |
971 | label_link_copied_issue: Link copied issue |
|
972 | label_link_copied_issue: Link copied issue | |
972 | label_ask: Ask |
|
973 | label_ask: Ask | |
973 | label_search_attachments_yes: Search attachment filenames and descriptions |
|
974 | label_search_attachments_yes: Search attachment filenames and descriptions | |
974 | label_search_attachments_no: Do not search attachments |
|
975 | label_search_attachments_no: Do not search attachments | |
975 | label_search_attachments_only: Search attachments only |
|
976 | label_search_attachments_only: Search attachments only | |
976 | label_search_open_issues_only: Open issues only |
|
977 | label_search_open_issues_only: Open issues only | |
977 | label_email_address_plural: Emails |
|
978 | label_email_address_plural: Emails | |
978 | label_email_address_add: Add email address |
|
979 | label_email_address_add: Add email address | |
979 | label_enable_notifications: Enable notifications |
|
980 | label_enable_notifications: Enable notifications | |
980 | label_disable_notifications: Disable notifications |
|
981 | label_disable_notifications: Disable notifications | |
981 | label_blank_value: blank |
|
982 | label_blank_value: blank | |
982 | label_parent_task_attributes: Parent tasks attributes |
|
983 | label_parent_task_attributes: Parent tasks attributes | |
983 | label_parent_task_attributes_derived: Calculated from subtasks |
|
984 | label_parent_task_attributes_derived: Calculated from subtasks | |
984 | label_parent_task_attributes_independent: Independent of subtasks |
|
985 | label_parent_task_attributes_independent: Independent of subtasks | |
985 | label_time_entries_visibility_all: All time entries |
|
986 | label_time_entries_visibility_all: All time entries | |
986 | label_time_entries_visibility_own: Time entries created by the user |
|
987 | label_time_entries_visibility_own: Time entries created by the user | |
987 | label_member_management: Member management |
|
988 | label_member_management: Member management | |
988 | label_member_management_all_roles: All roles |
|
989 | label_member_management_all_roles: All roles | |
989 | label_member_management_selected_roles_only: Only these roles |
|
990 | label_member_management_selected_roles_only: Only these roles | |
990 | label_import_issues: Import issues |
|
991 | label_import_issues: Import issues | |
991 | label_select_file_to_import: Select the file to import |
|
992 | label_select_file_to_import: Select the file to import | |
992 | label_fields_separator: Field separator |
|
993 | label_fields_separator: Field separator | |
993 | label_fields_wrapper: Field wrapper |
|
994 | label_fields_wrapper: Field wrapper | |
994 | label_encoding: Encoding |
|
995 | label_encoding: Encoding | |
995 | label_comma_char: Comma |
|
996 | label_comma_char: Comma | |
996 | label_semi_colon_char: Semicolon |
|
997 | label_semi_colon_char: Semicolon | |
997 | label_quote_char: Quote |
|
998 | label_quote_char: Quote | |
998 | label_double_quote_char: Double quote |
|
999 | label_double_quote_char: Double quote | |
999 | label_fields_mapping: Fields mapping |
|
1000 | label_fields_mapping: Fields mapping | |
1000 | label_file_content_preview: File content preview |
|
1001 | label_file_content_preview: File content preview | |
1001 | label_create_missing_values: Create missing values |
|
1002 | label_create_missing_values: Create missing values | |
1002 | label_api: API |
|
1003 | label_api: API | |
1003 | label_field_format_enumeration: Key/value list |
|
1004 | label_field_format_enumeration: Key/value list | |
1004 | label_default_values_for_new_users: Default values for new users |
|
1005 | label_default_values_for_new_users: Default values for new users | |
1005 | label_relations: Relations |
|
1006 | label_relations: Relations | |
1006 | label_new_project_issue_tab_enabled: Display the "New issue" tab |
|
1007 | label_new_project_issue_tab_enabled: Display the "New issue" tab | |
1007 | label_new_object_tab_enabled: Display the "+" drop-down |
|
1008 | label_new_object_tab_enabled: Display the "+" drop-down | |
1008 | label_table_of_contents: Table of contents |
|
1009 | label_table_of_contents: Table of contents | |
1009 | label_font_default: Default font |
|
1010 | label_font_default: Default font | |
1010 | label_font_monospace: Monospaced font |
|
1011 | label_font_monospace: Monospaced font | |
1011 | label_font_proportional: Proportional font |
|
1012 | label_font_proportional: Proportional font | |
1012 |
|
1013 | |||
1013 | button_login: Login |
|
1014 | button_login: Login | |
1014 | button_submit: Submit |
|
1015 | button_submit: Submit | |
1015 | button_save: Save |
|
1016 | button_save: Save | |
1016 | button_check_all: Check all |
|
1017 | button_check_all: Check all | |
1017 | button_uncheck_all: Uncheck all |
|
1018 | button_uncheck_all: Uncheck all | |
1018 | button_collapse_all: Collapse all |
|
1019 | button_collapse_all: Collapse all | |
1019 | button_expand_all: Expand all |
|
1020 | button_expand_all: Expand all | |
1020 | button_delete: Delete |
|
1021 | button_delete: Delete | |
1021 | button_create: Create |
|
1022 | button_create: Create | |
1022 | button_create_and_continue: Create and continue |
|
1023 | button_create_and_continue: Create and continue | |
1023 | button_test: Test |
|
1024 | button_test: Test | |
1024 | button_edit: Edit |
|
1025 | button_edit: Edit | |
1025 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" |
|
1026 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" | |
1026 | button_add: Add |
|
1027 | button_add: Add | |
1027 | button_change: Change |
|
1028 | button_change: Change | |
1028 | button_apply: Apply |
|
1029 | button_apply: Apply | |
1029 | button_clear: Clear |
|
1030 | button_clear: Clear | |
1030 | button_lock: Lock |
|
1031 | button_lock: Lock | |
1031 | button_unlock: Unlock |
|
1032 | button_unlock: Unlock | |
1032 | button_download: Download |
|
1033 | button_download: Download | |
1033 | button_list: List |
|
1034 | button_list: List | |
1034 | button_view: View |
|
1035 | button_view: View | |
1035 | button_move: Move |
|
1036 | button_move: Move | |
1036 | button_move_and_follow: Move and follow |
|
1037 | button_move_and_follow: Move and follow | |
1037 | button_back: Back |
|
1038 | button_back: Back | |
1038 | button_cancel: Cancel |
|
1039 | button_cancel: Cancel | |
1039 | button_activate: Activate |
|
1040 | button_activate: Activate | |
1040 | button_sort: Sort |
|
1041 | button_sort: Sort | |
1041 | button_log_time: Log time |
|
1042 | button_log_time: Log time | |
1042 | button_rollback: Rollback to this version |
|
1043 | button_rollback: Rollback to this version | |
1043 | button_watch: Watch |
|
1044 | button_watch: Watch | |
1044 | button_unwatch: Unwatch |
|
1045 | button_unwatch: Unwatch | |
1045 | button_reply: Reply |
|
1046 | button_reply: Reply | |
1046 | button_archive: Archive |
|
1047 | button_archive: Archive | |
1047 | button_unarchive: Unarchive |
|
1048 | button_unarchive: Unarchive | |
1048 | button_reset: Reset |
|
1049 | button_reset: Reset | |
1049 | button_rename: Rename |
|
1050 | button_rename: Rename | |
1050 | button_change_password: Change password |
|
1051 | button_change_password: Change password | |
1051 | button_copy: Copy |
|
1052 | button_copy: Copy | |
1052 | button_copy_and_follow: Copy and follow |
|
1053 | button_copy_and_follow: Copy and follow | |
1053 | button_annotate: Annotate |
|
1054 | button_annotate: Annotate | |
1054 | button_update: Update |
|
1055 | button_update: Update | |
1055 | button_configure: Configure |
|
1056 | button_configure: Configure | |
1056 | button_quote: Quote |
|
1057 | button_quote: Quote | |
1057 | button_duplicate: Duplicate |
|
1058 | button_duplicate: Duplicate | |
1058 | button_show: Show |
|
1059 | button_show: Show | |
1059 | button_hide: Hide |
|
1060 | button_hide: Hide | |
1060 | button_edit_section: Edit this section |
|
1061 | button_edit_section: Edit this section | |
1061 | button_export: Export |
|
1062 | button_export: Export | |
1062 | button_delete_my_account: Delete my account |
|
1063 | button_delete_my_account: Delete my account | |
1063 | button_close: Close |
|
1064 | button_close: Close | |
1064 | button_reopen: Reopen |
|
1065 | button_reopen: Reopen | |
1065 | button_import: Import |
|
1066 | button_import: Import | |
1066 | button_filter: Filter |
|
1067 | button_filter: Filter | |
1067 |
|
1068 | |||
1068 | status_active: active |
|
1069 | status_active: active | |
1069 | status_registered: registered |
|
1070 | status_registered: registered | |
1070 | status_locked: locked |
|
1071 | status_locked: locked | |
1071 |
|
1072 | |||
1072 | project_status_active: active |
|
1073 | project_status_active: active | |
1073 | project_status_closed: closed |
|
1074 | project_status_closed: closed | |
1074 | project_status_archived: archived |
|
1075 | project_status_archived: archived | |
1075 |
|
1076 | |||
1076 | version_status_open: open |
|
1077 | version_status_open: open | |
1077 | version_status_locked: locked |
|
1078 | version_status_locked: locked | |
1078 | version_status_closed: closed |
|
1079 | version_status_closed: closed | |
1079 |
|
1080 | |||
1080 | field_active: Active |
|
1081 | field_active: Active | |
1081 |
|
1082 | |||
1082 | text_select_mail_notifications: Select actions for which email notifications should be sent. |
|
1083 | text_select_mail_notifications: Select actions for which email notifications should be sent. | |
1083 | text_regexp_info: eg. ^[A-Z0-9]+$ |
|
1084 | text_regexp_info: eg. ^[A-Z0-9]+$ | |
1084 | text_min_max_length_info: 0 means no restriction |
|
1085 | text_min_max_length_info: 0 means no restriction | |
1085 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? |
|
1086 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? | |
1086 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." |
|
1087 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." | |
1087 | text_workflow_edit: Select a role and a tracker to edit the workflow |
|
1088 | text_workflow_edit: Select a role and a tracker to edit the workflow | |
1088 | text_are_you_sure: Are you sure? |
|
1089 | text_are_you_sure: Are you sure? | |
1089 | text_journal_changed: "%{label} changed from %{old} to %{new}" |
|
1090 | text_journal_changed: "%{label} changed from %{old} to %{new}" | |
1090 | text_journal_changed_no_detail: "%{label} updated" |
|
1091 | text_journal_changed_no_detail: "%{label} updated" | |
1091 | text_journal_set_to: "%{label} set to %{value}" |
|
1092 | text_journal_set_to: "%{label} set to %{value}" | |
1092 | text_journal_deleted: "%{label} deleted (%{old})" |
|
1093 | text_journal_deleted: "%{label} deleted (%{old})" | |
1093 | text_journal_added: "%{label} %{value} added" |
|
1094 | text_journal_added: "%{label} %{value} added" | |
1094 | text_tip_issue_begin_day: issue beginning this day |
|
1095 | text_tip_issue_begin_day: issue beginning this day | |
1095 | text_tip_issue_end_day: issue ending this day |
|
1096 | text_tip_issue_end_day: issue ending this day | |
1096 | text_tip_issue_begin_end_day: issue beginning and ending this day |
|
1097 | text_tip_issue_begin_end_day: issue beginning and ending this day | |
1097 | text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter.<br />Once saved, the identifier cannot be changed.' |
|
1098 | text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter.<br />Once saved, the identifier cannot be changed.' | |
1098 | text_caracters_maximum: "%{count} characters maximum." |
|
1099 | text_caracters_maximum: "%{count} characters maximum." | |
1099 | text_caracters_minimum: "Must be at least %{count} characters long." |
|
1100 | text_caracters_minimum: "Must be at least %{count} characters long." | |
1100 | text_length_between: "Length between %{min} and %{max} characters." |
|
1101 | text_length_between: "Length between %{min} and %{max} characters." | |
1101 | text_tracker_no_workflow: No workflow defined for this tracker |
|
1102 | text_tracker_no_workflow: No workflow defined for this tracker | |
1102 | text_unallowed_characters: Unallowed characters |
|
1103 | text_unallowed_characters: Unallowed characters | |
1103 | text_comma_separated: Multiple values allowed (comma separated). |
|
1104 | text_comma_separated: Multiple values allowed (comma separated). | |
1104 | text_line_separated: Multiple values allowed (one line for each value). |
|
1105 | text_line_separated: Multiple values allowed (one line for each value). | |
1105 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages |
|
1106 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages | |
1106 | text_issue_added: "Issue %{id} has been reported by %{author}." |
|
1107 | text_issue_added: "Issue %{id} has been reported by %{author}." | |
1107 | text_issue_updated: "Issue %{id} has been updated by %{author}." |
|
1108 | text_issue_updated: "Issue %{id} has been updated by %{author}." | |
1108 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? |
|
1109 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? | |
1109 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" |
|
1110 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" | |
1110 | text_issue_category_destroy_assignments: Remove category assignments |
|
1111 | text_issue_category_destroy_assignments: Remove category assignments | |
1111 | text_issue_category_reassign_to: Reassign issues to this category |
|
1112 | text_issue_category_reassign_to: Reassign issues to this category | |
1112 | 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)." |
|
1113 | 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)." | |
1113 | 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." |
|
1114 | 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." | |
1114 | text_load_default_configuration: Load the default configuration |
|
1115 | text_load_default_configuration: Load the default configuration | |
1115 | text_status_changed_by_changeset: "Applied in changeset %{value}." |
|
1116 | text_status_changed_by_changeset: "Applied in changeset %{value}." | |
1116 | text_time_logged_by_changeset: "Applied in changeset %{value}." |
|
1117 | text_time_logged_by_changeset: "Applied in changeset %{value}." | |
1117 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' |
|
1118 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' | |
1118 | text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)." |
|
1119 | text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)." | |
1119 | text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?' |
|
1120 | text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?' | |
1120 | text_select_project_modules: 'Select modules to enable for this project:' |
|
1121 | text_select_project_modules: 'Select modules to enable for this project:' | |
1121 | text_default_administrator_account_changed: Default administrator account changed |
|
1122 | text_default_administrator_account_changed: Default administrator account changed | |
1122 | text_file_repository_writable: Attachments directory writable |
|
1123 | text_file_repository_writable: Attachments directory writable | |
1123 | text_plugin_assets_writable: Plugin assets directory writable |
|
1124 | text_plugin_assets_writable: Plugin assets directory writable | |
1124 | text_rmagick_available: RMagick available (optional) |
|
1125 | text_rmagick_available: RMagick available (optional) | |
1125 | text_convert_available: ImageMagick convert available (optional) |
|
1126 | text_convert_available: ImageMagick convert available (optional) | |
1126 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" |
|
1127 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" | |
1127 | text_destroy_time_entries: Delete reported hours |
|
1128 | text_destroy_time_entries: Delete reported hours | |
1128 | text_assign_time_entries_to_project: Assign reported hours to the project |
|
1129 | text_assign_time_entries_to_project: Assign reported hours to the project | |
1129 | text_reassign_time_entries: 'Reassign reported hours to this issue:' |
|
1130 | text_reassign_time_entries: 'Reassign reported hours to this issue:' | |
1130 | text_user_wrote: "%{value} wrote:" |
|
1131 | text_user_wrote: "%{value} wrote:" | |
1131 | text_enumeration_destroy_question: "%{count} objects are assigned to the value “%{name}”." |
|
1132 | text_enumeration_destroy_question: "%{count} objects are assigned to the value “%{name}”." | |
1132 | text_enumeration_category_reassign_to: 'Reassign them to this value:' |
|
1133 | text_enumeration_category_reassign_to: 'Reassign them to this value:' | |
1133 | 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." |
|
1134 | 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." | |
1134 | 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." |
|
1135 | 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." | |
1135 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' |
|
1136 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' | |
1136 | text_custom_field_possible_values_info: 'One line for each value' |
|
1137 | text_custom_field_possible_values_info: 'One line for each value' | |
1137 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" |
|
1138 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" | |
1138 | text_wiki_page_nullify_children: "Keep child pages as root pages" |
|
1139 | text_wiki_page_nullify_children: "Keep child pages as root pages" | |
1139 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" |
|
1140 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" | |
1140 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" |
|
1141 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" | |
1141 | 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?" |
|
1142 | 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?" | |
1142 | text_zoom_in: Zoom in |
|
1143 | text_zoom_in: Zoom in | |
1143 | text_zoom_out: Zoom out |
|
1144 | text_zoom_out: Zoom out | |
1144 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." |
|
1145 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." | |
1145 | text_scm_path_encoding_note: "Default: UTF-8" |
|
1146 | text_scm_path_encoding_note: "Default: UTF-8" | |
1146 | text_subversion_repository_note: "Examples: file:///, http://, https://, svn://, svn+[tunnelscheme]://" |
|
1147 | text_subversion_repository_note: "Examples: file:///, http://, https://, svn://, svn+[tunnelscheme]://" | |
1147 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
1148 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) | |
1148 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) |
|
1149 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) | |
1149 | text_scm_command: Command |
|
1150 | text_scm_command: Command | |
1150 | text_scm_command_version: Version |
|
1151 | text_scm_command_version: Version | |
1151 | text_scm_config: You can configure your SCM commands in config/configuration.yml. Please restart the application after editing it. |
|
1152 | text_scm_config: You can configure your SCM commands in config/configuration.yml. Please restart the application after editing it. | |
1152 | text_scm_command_not_available: SCM command is not available. Please check settings on the administration panel. |
|
1153 | text_scm_command_not_available: SCM command is not available. Please check settings on the administration panel. | |
1153 | text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)" |
|
1154 | text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)" | |
1154 | text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes" |
|
1155 | text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes" | |
1155 | text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}" |
|
1156 | text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}" | |
1156 | text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it." |
|
1157 | text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it." | |
1157 | text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours." |
|
1158 | text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours." | |
1158 | text_project_closed: This project is closed and read-only. |
|
1159 | text_project_closed: This project is closed and read-only. | |
1159 | text_turning_multiple_off: "If you disable multiple values, multiple values will be removed in order to preserve only one value per item." |
|
1160 | text_turning_multiple_off: "If you disable multiple values, multiple values will be removed in order to preserve only one value per item." | |
1160 |
|
1161 | |||
1161 | default_role_manager: Manager |
|
1162 | default_role_manager: Manager | |
1162 | default_role_developer: Developer |
|
1163 | default_role_developer: Developer | |
1163 | default_role_reporter: Reporter |
|
1164 | default_role_reporter: Reporter | |
1164 | default_tracker_bug: Bug |
|
1165 | default_tracker_bug: Bug | |
1165 | default_tracker_feature: Feature |
|
1166 | default_tracker_feature: Feature | |
1166 | default_tracker_support: Support |
|
1167 | default_tracker_support: Support | |
1167 | default_issue_status_new: New |
|
1168 | default_issue_status_new: New | |
1168 | default_issue_status_in_progress: In Progress |
|
1169 | default_issue_status_in_progress: In Progress | |
1169 | default_issue_status_resolved: Resolved |
|
1170 | default_issue_status_resolved: Resolved | |
1170 | default_issue_status_feedback: Feedback |
|
1171 | default_issue_status_feedback: Feedback | |
1171 | default_issue_status_closed: Closed |
|
1172 | default_issue_status_closed: Closed | |
1172 | default_issue_status_rejected: Rejected |
|
1173 | default_issue_status_rejected: Rejected | |
1173 | default_doc_category_user: User documentation |
|
1174 | default_doc_category_user: User documentation | |
1174 | default_doc_category_tech: Technical documentation |
|
1175 | default_doc_category_tech: Technical documentation | |
1175 | default_priority_low: Low |
|
1176 | default_priority_low: Low | |
1176 | default_priority_normal: Normal |
|
1177 | default_priority_normal: Normal | |
1177 | default_priority_high: High |
|
1178 | default_priority_high: High | |
1178 | default_priority_urgent: Urgent |
|
1179 | default_priority_urgent: Urgent | |
1179 | default_priority_immediate: Immediate |
|
1180 | default_priority_immediate: Immediate | |
1180 | default_activity_design: Design |
|
1181 | default_activity_design: Design | |
1181 | default_activity_development: Development |
|
1182 | default_activity_development: Development | |
1182 |
|
1183 | |||
1183 | enumeration_issue_priorities: Issue priorities |
|
1184 | enumeration_issue_priorities: Issue priorities | |
1184 | enumeration_doc_categories: Document categories |
|
1185 | enumeration_doc_categories: Document categories | |
1185 | enumeration_activities: Activities (time tracking) |
|
1186 | enumeration_activities: Activities (time tracking) | |
1186 | enumeration_system_activity: System Activity |
|
1187 | enumeration_system_activity: System Activity | |
1187 | description_filter: Filter |
|
1188 | description_filter: Filter | |
1188 | description_search: Searchfield |
|
1189 | description_search: Searchfield | |
1189 | description_choose_project: Projects |
|
1190 | description_choose_project: Projects | |
1190 | description_project_scope: Search scope |
|
1191 | description_project_scope: Search scope | |
1191 | description_notes: Notes |
|
1192 | description_notes: Notes | |
1192 | description_message_content: Message content |
|
1193 | description_message_content: Message content | |
1193 | description_query_sort_criteria_attribute: Sort attribute |
|
1194 | description_query_sort_criteria_attribute: Sort attribute | |
1194 | description_query_sort_criteria_direction: Sort direction |
|
1195 | description_query_sort_criteria_direction: Sort direction | |
1195 | description_user_mail_notification: Mail notification settings |
|
1196 | description_user_mail_notification: Mail notification settings | |
1196 | description_available_columns: Available Columns |
|
1197 | description_available_columns: Available Columns | |
1197 | description_selected_columns: Selected Columns |
|
1198 | description_selected_columns: Selected Columns | |
1198 | description_all_columns: All Columns |
|
1199 | description_all_columns: All Columns | |
1199 | description_issue_category_reassign: Choose issue category |
|
1200 | description_issue_category_reassign: Choose issue category | |
1200 | description_wiki_subpages_reassign: Choose new parent page |
|
1201 | description_wiki_subpages_reassign: Choose new parent page | |
1201 | description_date_range_list: Choose range from list |
|
1202 | description_date_range_list: Choose range from list | |
1202 | description_date_range_interval: Choose range by selecting start and end date |
|
1203 | description_date_range_interval: Choose range by selecting start and end date | |
1203 | description_date_from: Enter start date |
|
1204 | description_date_from: Enter start date | |
1204 | description_date_to: Enter end date |
|
1205 | description_date_to: Enter end date | |
1205 | text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.' |
|
1206 | text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.' |
@@ -1,1225 +1,1226 | |||||
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 |
|
18 | |||
19 | # Don't forget the nil at the beginning; there's no such thing as a 0th month |
|
19 | # Don't forget the nil at the beginning; there's no such thing as a 0th month | |
20 | month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre] |
|
20 | month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre] | |
21 | abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.] |
|
21 | abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.] | |
22 | # Used in date_select and datime_select. |
|
22 | # Used in date_select and datime_select. | |
23 | order: |
|
23 | order: | |
24 | - :day |
|
24 | - :day | |
25 | - :month |
|
25 | - :month | |
26 | - :year |
|
26 | - :year | |
27 |
|
27 | |||
28 | time: |
|
28 | time: | |
29 | formats: |
|
29 | formats: | |
30 | default: "%d/%m/%Y %H:%M" |
|
30 | default: "%d/%m/%Y %H:%M" | |
31 | time: "%H:%M" |
|
31 | time: "%H:%M" | |
32 | short: "%d %b %H:%M" |
|
32 | short: "%d %b %H:%M" | |
33 | long: "%A %d %B %Y %H:%M:%S %Z" |
|
33 | long: "%A %d %B %Y %H:%M:%S %Z" | |
34 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" |
|
34 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" | |
35 | only_second: "%S" |
|
35 | only_second: "%S" | |
36 | am: 'am' |
|
36 | am: 'am' | |
37 | pm: 'pm' |
|
37 | pm: 'pm' | |
38 |
|
38 | |||
39 | datetime: |
|
39 | datetime: | |
40 | distance_in_words: |
|
40 | distance_in_words: | |
41 | half_a_minute: "30 secondes" |
|
41 | half_a_minute: "30 secondes" | |
42 | less_than_x_seconds: |
|
42 | less_than_x_seconds: | |
43 | zero: "moins d'une seconde" |
|
43 | zero: "moins d'une seconde" | |
44 | one: "moins d'une seconde" |
|
44 | one: "moins d'une seconde" | |
45 | other: "moins de %{count} secondes" |
|
45 | other: "moins de %{count} secondes" | |
46 | x_seconds: |
|
46 | x_seconds: | |
47 | one: "1 seconde" |
|
47 | one: "1 seconde" | |
48 | other: "%{count} secondes" |
|
48 | other: "%{count} secondes" | |
49 | less_than_x_minutes: |
|
49 | less_than_x_minutes: | |
50 | zero: "moins d'une minute" |
|
50 | zero: "moins d'une minute" | |
51 | one: "moins d'une minute" |
|
51 | one: "moins d'une minute" | |
52 | other: "moins de %{count} minutes" |
|
52 | other: "moins de %{count} minutes" | |
53 | x_minutes: |
|
53 | x_minutes: | |
54 | one: "1 minute" |
|
54 | one: "1 minute" | |
55 | other: "%{count} minutes" |
|
55 | other: "%{count} minutes" | |
56 | about_x_hours: |
|
56 | about_x_hours: | |
57 | one: "environ une heure" |
|
57 | one: "environ une heure" | |
58 | other: "environ %{count} heures" |
|
58 | other: "environ %{count} heures" | |
59 | x_hours: |
|
59 | x_hours: | |
60 | one: "une heure" |
|
60 | one: "une heure" | |
61 | other: "%{count} heures" |
|
61 | other: "%{count} heures" | |
62 | x_days: |
|
62 | x_days: | |
63 | one: "un jour" |
|
63 | one: "un jour" | |
64 | other: "%{count} jours" |
|
64 | other: "%{count} jours" | |
65 | about_x_months: |
|
65 | about_x_months: | |
66 | one: "environ un mois" |
|
66 | one: "environ un mois" | |
67 | other: "environ %{count} mois" |
|
67 | other: "environ %{count} mois" | |
68 | x_months: |
|
68 | x_months: | |
69 | one: "un mois" |
|
69 | one: "un mois" | |
70 | other: "%{count} mois" |
|
70 | other: "%{count} mois" | |
71 | about_x_years: |
|
71 | about_x_years: | |
72 | one: "environ un an" |
|
72 | one: "environ un an" | |
73 | other: "environ %{count} ans" |
|
73 | other: "environ %{count} ans" | |
74 | over_x_years: |
|
74 | over_x_years: | |
75 | one: "plus d'un an" |
|
75 | one: "plus d'un an" | |
76 | other: "plus de %{count} ans" |
|
76 | other: "plus de %{count} ans" | |
77 | almost_x_years: |
|
77 | almost_x_years: | |
78 | one: "presqu'un an" |
|
78 | one: "presqu'un an" | |
79 | other: "presque %{count} ans" |
|
79 | other: "presque %{count} ans" | |
80 | prompts: |
|
80 | prompts: | |
81 | year: "Année" |
|
81 | year: "Année" | |
82 | month: "Mois" |
|
82 | month: "Mois" | |
83 | day: "Jour" |
|
83 | day: "Jour" | |
84 | hour: "Heure" |
|
84 | hour: "Heure" | |
85 | minute: "Minute" |
|
85 | minute: "Minute" | |
86 | second: "Seconde" |
|
86 | second: "Seconde" | |
87 |
|
87 | |||
88 | number: |
|
88 | number: | |
89 | format: |
|
89 | format: | |
90 | precision: 3 |
|
90 | precision: 3 | |
91 | separator: ',' |
|
91 | separator: ',' | |
92 | delimiter: ' ' |
|
92 | delimiter: ' ' | |
93 | currency: |
|
93 | currency: | |
94 | format: |
|
94 | format: | |
95 | unit: '€' |
|
95 | unit: '€' | |
96 | precision: 2 |
|
96 | precision: 2 | |
97 | format: '%n %u' |
|
97 | format: '%n %u' | |
98 | human: |
|
98 | human: | |
99 | format: |
|
99 | format: | |
100 | precision: 3 |
|
100 | precision: 3 | |
101 | storage_units: |
|
101 | storage_units: | |
102 | format: "%n %u" |
|
102 | format: "%n %u" | |
103 | units: |
|
103 | units: | |
104 | byte: |
|
104 | byte: | |
105 | one: "octet" |
|
105 | one: "octet" | |
106 | other: "octets" |
|
106 | other: "octets" | |
107 | kb: "ko" |
|
107 | kb: "ko" | |
108 | mb: "Mo" |
|
108 | mb: "Mo" | |
109 | gb: "Go" |
|
109 | gb: "Go" | |
110 | tb: "To" |
|
110 | tb: "To" | |
111 |
|
111 | |||
112 | support: |
|
112 | support: | |
113 | array: |
|
113 | array: | |
114 | sentence_connector: 'et' |
|
114 | sentence_connector: 'et' | |
115 | skip_last_comma: true |
|
115 | skip_last_comma: true | |
116 | word_connector: ", " |
|
116 | word_connector: ", " | |
117 | two_words_connector: " et " |
|
117 | two_words_connector: " et " | |
118 | last_word_connector: " et " |
|
118 | last_word_connector: " et " | |
119 |
|
119 | |||
120 | activerecord: |
|
120 | activerecord: | |
121 | errors: |
|
121 | errors: | |
122 | template: |
|
122 | template: | |
123 | header: |
|
123 | header: | |
124 | one: "Impossible d'enregistrer %{model} : une erreur" |
|
124 | one: "Impossible d'enregistrer %{model} : une erreur" | |
125 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." |
|
125 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." | |
126 | body: "Veuillez vérifier les champs suivants :" |
|
126 | body: "Veuillez vérifier les champs suivants :" | |
127 | messages: |
|
127 | messages: | |
128 | inclusion: "n'est pas inclus(e) dans la liste" |
|
128 | inclusion: "n'est pas inclus(e) dans la liste" | |
129 | exclusion: "n'est pas disponible" |
|
129 | exclusion: "n'est pas disponible" | |
130 | invalid: "n'est pas valide" |
|
130 | invalid: "n'est pas valide" | |
131 | confirmation: "ne concorde pas avec la confirmation" |
|
131 | confirmation: "ne concorde pas avec la confirmation" | |
132 | accepted: "doit être accepté(e)" |
|
132 | accepted: "doit être accepté(e)" | |
133 | empty: "doit être renseigné(e)" |
|
133 | empty: "doit être renseigné(e)" | |
134 | blank: "doit être renseigné(e)" |
|
134 | blank: "doit être renseigné(e)" | |
135 | too_long: "est trop long (pas plus de %{count} caractères)" |
|
135 | too_long: "est trop long (pas plus de %{count} caractères)" | |
136 | too_short: "est trop court (au moins %{count} caractères)" |
|
136 | too_short: "est trop court (au moins %{count} caractères)" | |
137 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" |
|
137 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" | |
138 | taken: "est déjà utilisé" |
|
138 | taken: "est déjà utilisé" | |
139 | not_a_number: "n'est pas un nombre" |
|
139 | not_a_number: "n'est pas un nombre" | |
140 | not_a_date: "n'est pas une date valide" |
|
140 | not_a_date: "n'est pas une date valide" | |
141 | greater_than: "doit être supérieur à %{count}" |
|
141 | greater_than: "doit être supérieur à %{count}" | |
142 | greater_than_or_equal_to: "doit être supérieur ou égal à %{count}" |
|
142 | greater_than_or_equal_to: "doit être supérieur ou égal à %{count}" | |
143 | equal_to: "doit être égal à %{count}" |
|
143 | equal_to: "doit être égal à %{count}" | |
144 | less_than: "doit être inférieur à %{count}" |
|
144 | less_than: "doit être inférieur à %{count}" | |
145 | less_than_or_equal_to: "doit être inférieur ou égal à %{count}" |
|
145 | less_than_or_equal_to: "doit être inférieur ou égal à %{count}" | |
146 | odd: "doit être impair" |
|
146 | odd: "doit être impair" | |
147 | even: "doit être pair" |
|
147 | even: "doit être pair" | |
148 | greater_than_start_date: "doit être postérieure à la date de début" |
|
148 | greater_than_start_date: "doit être postérieure à la date de début" | |
149 | not_same_project: "n'appartient pas au même projet" |
|
149 | not_same_project: "n'appartient pas au même projet" | |
150 | circular_dependency: "Cette relation créerait une dépendance circulaire" |
|
150 | circular_dependency: "Cette relation créerait une dépendance circulaire" | |
151 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas être liée à l'une de ses sous-tâches" |
|
151 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas être liée à l'une de ses sous-tâches" | |
152 | earlier_than_minimum_start_date: "ne peut pas être antérieure au %{date} à cause des demandes qui précèdent" |
|
152 | earlier_than_minimum_start_date: "ne peut pas être antérieure au %{date} à cause des demandes qui précèdent" | |
153 | not_a_regexp: "n'est pas une expression regulière valide" |
|
153 | not_a_regexp: "n'est pas une expression regulière valide" | |
154 | open_issue_with_closed_parent: "Une demande ouverte ne peut pas être rattachée à une demande fermée" |
|
154 | open_issue_with_closed_parent: "Une demande ouverte ne peut pas être rattachée à une demande fermée" | |
155 |
|
155 | |||
156 | actionview_instancetag_blank_option: Choisir |
|
156 | actionview_instancetag_blank_option: Choisir | |
157 |
|
157 | |||
158 | general_text_No: 'Non' |
|
158 | general_text_No: 'Non' | |
159 | general_text_Yes: 'Oui' |
|
159 | general_text_Yes: 'Oui' | |
160 | general_text_no: 'non' |
|
160 | general_text_no: 'non' | |
161 | general_text_yes: 'oui' |
|
161 | general_text_yes: 'oui' | |
162 | general_lang_name: 'French (Français)' |
|
162 | general_lang_name: 'French (Français)' | |
163 | general_csv_separator: ';' |
|
163 | general_csv_separator: ';' | |
164 | general_csv_decimal_separator: ',' |
|
164 | general_csv_decimal_separator: ',' | |
165 | general_csv_encoding: ISO-8859-1 |
|
165 | general_csv_encoding: ISO-8859-1 | |
166 | general_pdf_fontname: freesans |
|
166 | general_pdf_fontname: freesans | |
167 | general_pdf_monospaced_fontname: freemono |
|
167 | general_pdf_monospaced_fontname: freemono | |
168 | general_first_day_of_week: '1' |
|
168 | general_first_day_of_week: '1' | |
169 |
|
169 | |||
170 | notice_account_updated: Le compte a été mis à jour avec succès. |
|
170 | notice_account_updated: Le compte a été mis à jour avec succès. | |
171 | notice_account_invalid_credentials: Identifiant ou mot de passe invalide. |
|
171 | notice_account_invalid_credentials: Identifiant ou mot de passe invalide. | |
172 | notice_account_password_updated: Mot de passe mis à jour avec succès. |
|
172 | notice_account_password_updated: Mot de passe mis à jour avec succès. | |
173 | notice_account_wrong_password: Mot de passe incorrect |
|
173 | notice_account_wrong_password: Mot de passe incorrect | |
174 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a été envoyé à l'adresse %{email}. |
|
174 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a été envoyé à l'adresse %{email}. | |
175 | notice_account_unknown_email: Aucun compte ne correspond à cette adresse. |
|
175 | notice_account_unknown_email: Aucun compte ne correspond à cette adresse. | |
176 | notice_account_not_activated_yet: Vous n'avez pas encore activé votre compte. Si vous voulez recevoir un nouveau message d'activation, veuillez <a href="%{url}">cliquer sur ce lien</a>. |
|
176 | notice_account_not_activated_yet: Vous n'avez pas encore activé votre compte. Si vous voulez recevoir un nouveau message d'activation, veuillez <a href="%{url}">cliquer sur ce lien</a>. | |
177 | notice_account_locked: Votre compte est verrouillé. |
|
177 | notice_account_locked: Votre compte est verrouillé. | |
178 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. |
|
178 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. | |
179 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a été envoyé. |
|
179 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a été envoyé. | |
180 | notice_account_activated: Votre compte a été activé. Vous pouvez à présent vous connecter. |
|
180 | notice_account_activated: Votre compte a été activé. Vous pouvez à présent vous connecter. | |
181 | notice_successful_create: Création effectuée avec succès. |
|
181 | notice_successful_create: Création effectuée avec succès. | |
182 | notice_successful_update: Mise à jour effectuée avec succès. |
|
182 | notice_successful_update: Mise à jour effectuée avec succès. | |
183 | notice_successful_delete: Suppression effectuée avec succès. |
|
183 | notice_successful_delete: Suppression effectuée avec succès. | |
184 | notice_successful_connection: Connexion réussie. |
|
184 | notice_successful_connection: Connexion réussie. | |
185 | notice_file_not_found: "La page à laquelle vous souhaitez accéder n'existe pas ou a été supprimée." |
|
185 | notice_file_not_found: "La page à laquelle vous souhaitez accéder n'existe pas ou a été supprimée." | |
186 | notice_locking_conflict: Les données ont été mises à jour par un autre utilisateur. Mise à jour impossible. |
|
186 | notice_locking_conflict: Les données ont été mises à jour par un autre utilisateur. Mise à jour impossible. | |
187 | notice_not_authorized: "Vous n'êtes pas autorisé à accéder à cette page." |
|
187 | notice_not_authorized: "Vous n'êtes pas autorisé à accéder à cette page." | |
188 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accéder a été archivé. |
|
188 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accéder a été archivé. | |
189 | notice_email_sent: "Un email a été envoyé à %{value}" |
|
189 | notice_email_sent: "Un email a été envoyé à %{value}" | |
190 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" |
|
190 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" | |
191 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux Atom a été réinitialisée." |
|
191 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux Atom a été réinitialisée." | |
192 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. |
|
192 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. | |
193 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sélectionnées n'ont pas pu être mise(s) à jour : %{ids}." |
|
193 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sélectionnées n'ont pas pu être mise(s) à jour : %{ids}." | |
194 | notice_failed_to_save_time_entries: "%{count} temps passé(s) sur les %{total} sélectionnés n'ont pas pu être mis à jour: %{ids}." |
|
194 | notice_failed_to_save_time_entries: "%{count} temps passé(s) sur les %{total} sélectionnés n'ont pas pu être mis à jour: %{ids}." | |
195 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." |
|
195 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." | |
196 | notice_no_issue_selected: "Aucune demande sélectionnée ! Cochez les demandes que vous voulez mettre à jour." |
|
196 | notice_no_issue_selected: "Aucune demande sélectionnée ! Cochez les demandes que vous voulez mettre à jour." | |
197 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." |
|
197 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." | |
198 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. |
|
198 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. | |
199 | notice_unable_delete_version: Impossible de supprimer cette version. |
|
199 | notice_unable_delete_version: Impossible de supprimer cette version. | |
200 | notice_unable_delete_time_entry: Impossible de supprimer le temps passé. |
|
200 | notice_unable_delete_time_entry: Impossible de supprimer le temps passé. | |
201 | notice_issue_done_ratios_updated: L'avancement des demandes a été mis à jour. |
|
201 | notice_issue_done_ratios_updated: L'avancement des demandes a été mis à jour. | |
202 | notice_gantt_chart_truncated: "Le diagramme a été tronqué car il excède le nombre maximal d'éléments pouvant être affichés (%{max})" |
|
202 | notice_gantt_chart_truncated: "Le diagramme a été tronqué car il excède le nombre maximal d'éléments pouvant être affichés (%{max})" | |
203 | notice_issue_successful_create: "Demande %{id} créée." |
|
203 | notice_issue_successful_create: "Demande %{id} créée." | |
204 | notice_issue_update_conflict: "La demande a été mise à jour par un autre utilisateur pendant que vous la modifiez." |
|
204 | notice_issue_update_conflict: "La demande a été mise à jour par un autre utilisateur pendant que vous la modifiez." | |
205 | notice_account_deleted: "Votre compte a été définitivement supprimé." |
|
205 | notice_account_deleted: "Votre compte a été définitivement supprimé." | |
206 | notice_user_successful_create: "Utilisateur %{id} créé." |
|
206 | notice_user_successful_create: "Utilisateur %{id} créé." | |
207 | notice_new_password_must_be_different: Votre nouveau mot de passe doit être différent de votre mot de passe actuel |
|
207 | notice_new_password_must_be_different: Votre nouveau mot de passe doit être différent de votre mot de passe actuel | |
208 | notice_import_finished: "%{count} éléments ont été importé(s)" |
|
208 | notice_import_finished: "%{count} éléments ont été importé(s)" | |
209 | notice_import_finished_with_errors: "%{count} élément(s) sur %{total} n'ont pas pu être importé(s)" |
|
209 | notice_import_finished_with_errors: "%{count} élément(s) sur %{total} n'ont pas pu être importé(s)" | |
210 |
|
210 | |||
211 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramétrage : %{value}" |
|
211 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramétrage : %{value}" | |
212 | error_scm_not_found: "L'entrée et/ou la révision demandée n'existe pas dans le dépôt." |
|
212 | error_scm_not_found: "L'entrée et/ou la révision demandée n'existe pas dans le dépôt." | |
213 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" |
|
213 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" | |
214 | error_scm_annotate: "L'entrée n'existe pas ou ne peut pas être annotée." |
|
214 | error_scm_annotate: "L'entrée n'existe pas ou ne peut pas être annotée." | |
215 | error_scm_annotate_big_text_file: Cette entrée ne peut pas être annotée car elle excède la taille maximale. |
|
215 | error_scm_annotate_big_text_file: Cette entrée ne peut pas être annotée car elle excède la taille maximale. | |
216 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas à ce projet" |
|
216 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas à ce projet" | |
217 | error_no_tracker_in_project: "Aucun tracker n'est associé à ce projet. Vérifier la configuration du projet." |
|
217 | error_no_tracker_in_project: "Aucun tracker n'est associé à ce projet. Vérifier la configuration du projet." | |
218 | error_no_default_issue_status: "Aucun statut de demande n'est défini par défaut. Vérifier votre configuration (Administration -> Statuts de demandes)." |
|
218 | error_no_default_issue_status: "Aucun statut de demande n'est défini par défaut. Vérifier votre configuration (Administration -> Statuts de demandes)." | |
219 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisé |
|
219 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisé | |
220 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas être supprimé. |
|
220 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas être supprimé. | |
221 | error_can_not_remove_role: Ce rôle est utilisé et ne peut pas être supprimé. |
|
221 | error_can_not_remove_role: Ce rôle est utilisé et ne peut pas être supprimé. | |
222 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignée à une version fermée ne peut pas être réouverte' |
|
222 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignée à une version fermée ne peut pas être réouverte' | |
223 | error_can_not_archive_project: "Ce projet ne peut pas être archivé" |
|
223 | error_can_not_archive_project: "Ce projet ne peut pas être archivé" | |
224 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu être mis à jour. |
|
224 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu être mis à jour. | |
225 | error_workflow_copy_source: 'Veuillez sélectionner un tracker et/ou un rôle source' |
|
225 | error_workflow_copy_source: 'Veuillez sélectionner un tracker et/ou un rôle source' | |
226 | error_workflow_copy_target: 'Veuillez sélectionner les trackers et rôles cibles' |
|
226 | error_workflow_copy_target: 'Veuillez sélectionner les trackers et rôles cibles' | |
227 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande |
|
227 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande | |
228 | error_unable_to_connect: Connexion impossible (%{value}) |
|
228 | error_unable_to_connect: Connexion impossible (%{value}) | |
229 | error_attachment_too_big: Ce fichier ne peut pas être attaché car il excède la taille maximale autorisée (%{max_size}) |
|
229 | error_attachment_too_big: Ce fichier ne peut pas être attaché car il excède la taille maximale autorisée (%{max_size}) | |
230 | error_session_expired: "Votre session a expiré. Veuillez vous reconnecter." |
|
230 | error_session_expired: "Votre session a expiré. Veuillez vous reconnecter." | |
231 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu être sauvegardés." |
|
231 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu être sauvegardés." | |
232 | error_password_expired: "Votre mot de passe a expiré ou nécessite d'être changé." |
|
232 | error_password_expired: "Votre mot de passe a expiré ou nécessite d'être changé." | |
233 | error_invalid_file_encoding: "Le fichier n'est pas un fichier %{encoding} valide" |
|
233 | error_invalid_file_encoding: "Le fichier n'est pas un fichier %{encoding} valide" | |
234 | error_invalid_csv_file_or_settings: "Le fichier n'est pas un fichier CSV ou n'est pas conforme aux paramètres sélectionnés" |
|
234 | error_invalid_csv_file_or_settings: "Le fichier n'est pas un fichier CSV ou n'est pas conforme aux paramètres sélectionnés" | |
235 | error_can_not_read_import_file: "Une erreur est survenue lors de la lecture du fichier à importer" |
|
235 | error_can_not_read_import_file: "Une erreur est survenue lors de la lecture du fichier à importer" | |
236 | error_attachment_extension_not_allowed: "L'extension %{extension} n'est pas autorisée" |
|
236 | error_attachment_extension_not_allowed: "L'extension %{extension} n'est pas autorisée" | |
237 | error_ldap_bind_credentials: "Identifiant ou mot de passe LDAP incorrect" |
|
237 | error_ldap_bind_credentials: "Identifiant ou mot de passe LDAP incorrect" | |
238 | error_no_tracker_allowed_for_new_issue_in_project: "Le projet ne dispose d'aucun tracker sur lequel vous pouvez créer une demande" |
|
238 | error_no_tracker_allowed_for_new_issue_in_project: "Le projet ne dispose d'aucun tracker sur lequel vous pouvez créer une demande" | |
239 | error_no_projects_with_tracker_allowed_for_new_issue: "Aucun projet ne dispose d'un tracker sur lequel vous pouvez créer une demande" |
|
239 | error_no_projects_with_tracker_allowed_for_new_issue: "Aucun projet ne dispose d'un tracker sur lequel vous pouvez créer une demande" | |
240 | error_move_of_child_not_possible: "La sous-tâche %{child} n'a pas pu être déplacée dans le nouveau projet : %{errors}" |
|
240 | error_move_of_child_not_possible: "La sous-tâche %{child} n'a pas pu être déplacée dans le nouveau projet : %{errors}" | |
|
241 | error_cannot_reassign_time_entries_to_an_issue_about_to_be_deleted: "Le temps passé ne peut pas être réaffecté à une demande qui va être supprimée" | |||
241 |
|
242 | |||
242 | mail_subject_lost_password: "Votre mot de passe %{value}" |
|
243 | mail_subject_lost_password: "Votre mot de passe %{value}" | |
243 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' |
|
244 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' | |
244 | mail_subject_register: "Activation de votre compte %{value}" |
|
245 | mail_subject_register: "Activation de votre compte %{value}" | |
245 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' |
|
246 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' | |
246 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." |
|
247 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." | |
247 | mail_body_account_information: Paramètres de connexion de votre compte |
|
248 | mail_body_account_information: Paramètres de connexion de votre compte | |
248 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" |
|
249 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" | |
249 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nécessite votre approbation :" |
|
250 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nécessite votre approbation :" | |
250 | mail_subject_reminder: "%{count} demande(s) arrivent à échéance (%{days})" |
|
251 | mail_subject_reminder: "%{count} demande(s) arrivent à échéance (%{days})" | |
251 | mail_body_reminder: "%{count} demande(s) qui vous sont assignées arrivent à échéance dans les %{days} prochains jours :" |
|
252 | mail_body_reminder: "%{count} demande(s) qui vous sont assignées arrivent à échéance dans les %{days} prochains jours :" | |
252 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutée" |
|
253 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutée" | |
253 | mail_body_wiki_content_added: "La page wiki '%{id}' a été ajoutée par %{author}." |
|
254 | mail_body_wiki_content_added: "La page wiki '%{id}' a été ajoutée par %{author}." | |
254 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise à jour" |
|
255 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise à jour" | |
255 | mail_body_wiki_content_updated: "La page wiki '%{id}' a été mise à jour par %{author}." |
|
256 | mail_body_wiki_content_updated: "La page wiki '%{id}' a été mise à jour par %{author}." | |
256 | mail_body_settings_updated: "Les paramètres suivants ont été modifiés :" |
|
257 | mail_body_settings_updated: "Les paramètres suivants ont été modifiés :" | |
257 | mail_body_password_updated: "Votre mot de passe a été changé." |
|
258 | mail_body_password_updated: "Votre mot de passe a été changé." | |
258 |
|
259 | |||
259 | field_name: Nom |
|
260 | field_name: Nom | |
260 | field_description: Description |
|
261 | field_description: Description | |
261 | field_summary: Résumé |
|
262 | field_summary: Résumé | |
262 | field_is_required: Obligatoire |
|
263 | field_is_required: Obligatoire | |
263 | field_firstname: Prénom |
|
264 | field_firstname: Prénom | |
264 | field_lastname: Nom |
|
265 | field_lastname: Nom | |
265 | field_mail: Email |
|
266 | field_mail: Email | |
266 | field_address: Email |
|
267 | field_address: Email | |
267 | field_filename: Fichier |
|
268 | field_filename: Fichier | |
268 | field_filesize: Taille |
|
269 | field_filesize: Taille | |
269 | field_downloads: Téléchargements |
|
270 | field_downloads: Téléchargements | |
270 | field_author: Auteur |
|
271 | field_author: Auteur | |
271 | field_created_on: Créé |
|
272 | field_created_on: Créé | |
272 | field_updated_on: Mis-à-jour |
|
273 | field_updated_on: Mis-à-jour | |
273 | field_closed_on: Fermé |
|
274 | field_closed_on: Fermé | |
274 | field_field_format: Format |
|
275 | field_field_format: Format | |
275 | field_is_for_all: Pour tous les projets |
|
276 | field_is_for_all: Pour tous les projets | |
276 | field_possible_values: Valeurs possibles |
|
277 | field_possible_values: Valeurs possibles | |
277 | field_regexp: Expression régulière |
|
278 | field_regexp: Expression régulière | |
278 | field_min_length: Longueur minimum |
|
279 | field_min_length: Longueur minimum | |
279 | field_max_length: Longueur maximum |
|
280 | field_max_length: Longueur maximum | |
280 | field_value: Valeur |
|
281 | field_value: Valeur | |
281 | field_category: Catégorie |
|
282 | field_category: Catégorie | |
282 | field_title: Titre |
|
283 | field_title: Titre | |
283 | field_project: Projet |
|
284 | field_project: Projet | |
284 | field_issue: Demande |
|
285 | field_issue: Demande | |
285 | field_status: Statut |
|
286 | field_status: Statut | |
286 | field_notes: Notes |
|
287 | field_notes: Notes | |
287 | field_is_closed: Demande fermée |
|
288 | field_is_closed: Demande fermée | |
288 | field_is_default: Valeur par défaut |
|
289 | field_is_default: Valeur par défaut | |
289 | field_tracker: Tracker |
|
290 | field_tracker: Tracker | |
290 | field_subject: Sujet |
|
291 | field_subject: Sujet | |
291 | field_due_date: Echéance |
|
292 | field_due_date: Echéance | |
292 | field_assigned_to: Assigné à |
|
293 | field_assigned_to: Assigné à | |
293 | field_priority: Priorité |
|
294 | field_priority: Priorité | |
294 | field_fixed_version: Version cible |
|
295 | field_fixed_version: Version cible | |
295 | field_user: Utilisateur |
|
296 | field_user: Utilisateur | |
296 | field_principal: Principal |
|
297 | field_principal: Principal | |
297 | field_role: Rôle |
|
298 | field_role: Rôle | |
298 | field_homepage: Site web |
|
299 | field_homepage: Site web | |
299 | field_is_public: Public |
|
300 | field_is_public: Public | |
300 | field_parent: Sous-projet de |
|
301 | field_parent: Sous-projet de | |
301 | field_is_in_roadmap: Demandes affichées dans la roadmap |
|
302 | field_is_in_roadmap: Demandes affichées dans la roadmap | |
302 | field_login: Identifiant |
|
303 | field_login: Identifiant | |
303 | field_mail_notification: Notifications par mail |
|
304 | field_mail_notification: Notifications par mail | |
304 | field_admin: Administrateur |
|
305 | field_admin: Administrateur | |
305 | field_last_login_on: Dernière connexion |
|
306 | field_last_login_on: Dernière connexion | |
306 | field_language: Langue |
|
307 | field_language: Langue | |
307 | field_effective_date: Date |
|
308 | field_effective_date: Date | |
308 | field_password: Mot de passe |
|
309 | field_password: Mot de passe | |
309 | field_new_password: Nouveau mot de passe |
|
310 | field_new_password: Nouveau mot de passe | |
310 | field_password_confirmation: Confirmation |
|
311 | field_password_confirmation: Confirmation | |
311 | field_version: Version |
|
312 | field_version: Version | |
312 | field_type: Type |
|
313 | field_type: Type | |
313 | field_host: Hôte |
|
314 | field_host: Hôte | |
314 | field_port: Port |
|
315 | field_port: Port | |
315 | field_account: Compte |
|
316 | field_account: Compte | |
316 | field_base_dn: Base DN |
|
317 | field_base_dn: Base DN | |
317 | field_attr_login: Attribut Identifiant |
|
318 | field_attr_login: Attribut Identifiant | |
318 | field_attr_firstname: Attribut Prénom |
|
319 | field_attr_firstname: Attribut Prénom | |
319 | field_attr_lastname: Attribut Nom |
|
320 | field_attr_lastname: Attribut Nom | |
320 | field_attr_mail: Attribut Email |
|
321 | field_attr_mail: Attribut Email | |
321 | field_onthefly: Création des utilisateurs à la volée |
|
322 | field_onthefly: Création des utilisateurs à la volée | |
322 | field_start_date: Début |
|
323 | field_start_date: Début | |
323 | field_done_ratio: "% réalisé" |
|
324 | field_done_ratio: "% réalisé" | |
324 | field_auth_source: Mode d'authentification |
|
325 | field_auth_source: Mode d'authentification | |
325 | field_hide_mail: Cacher mon adresse mail |
|
326 | field_hide_mail: Cacher mon adresse mail | |
326 | field_comments: Commentaire |
|
327 | field_comments: Commentaire | |
327 | field_url: URL |
|
328 | field_url: URL | |
328 | field_start_page: Page de démarrage |
|
329 | field_start_page: Page de démarrage | |
329 | field_subproject: Sous-projet |
|
330 | field_subproject: Sous-projet | |
330 | field_hours: Heures |
|
331 | field_hours: Heures | |
331 | field_activity: Activité |
|
332 | field_activity: Activité | |
332 | field_spent_on: Date |
|
333 | field_spent_on: Date | |
333 | field_identifier: Identifiant |
|
334 | field_identifier: Identifiant | |
334 | field_is_filter: Utilisé comme filtre |
|
335 | field_is_filter: Utilisé comme filtre | |
335 | field_issue_to: Demande liée |
|
336 | field_issue_to: Demande liée | |
336 | field_delay: Retard |
|
337 | field_delay: Retard | |
337 | field_assignable: Demandes assignables à ce rôle |
|
338 | field_assignable: Demandes assignables à ce rôle | |
338 | field_redirect_existing_links: Rediriger les liens existants |
|
339 | field_redirect_existing_links: Rediriger les liens existants | |
339 | field_estimated_hours: Temps estimé |
|
340 | field_estimated_hours: Temps estimé | |
340 | field_column_names: Colonnes |
|
341 | field_column_names: Colonnes | |
341 | field_time_entries: Temps passé |
|
342 | field_time_entries: Temps passé | |
342 | field_time_zone: Fuseau horaire |
|
343 | field_time_zone: Fuseau horaire | |
343 | field_searchable: Utilisé pour les recherches |
|
344 | field_searchable: Utilisé pour les recherches | |
344 | field_default_value: Valeur par défaut |
|
345 | field_default_value: Valeur par défaut | |
345 | field_comments_sorting: Afficher les commentaires |
|
346 | field_comments_sorting: Afficher les commentaires | |
346 | field_parent_title: Page parent |
|
347 | field_parent_title: Page parent | |
347 | field_editable: Modifiable |
|
348 | field_editable: Modifiable | |
348 | field_watcher: Observateur |
|
349 | field_watcher: Observateur | |
349 | field_identity_url: URL OpenID |
|
350 | field_identity_url: URL OpenID | |
350 | field_content: Contenu |
|
351 | field_content: Contenu | |
351 | field_group_by: Grouper par |
|
352 | field_group_by: Grouper par | |
352 | field_sharing: Partage |
|
353 | field_sharing: Partage | |
353 | field_parent_issue: Tâche parente |
|
354 | field_parent_issue: Tâche parente | |
354 | field_member_of_group: Groupe de l'assigné |
|
355 | field_member_of_group: Groupe de l'assigné | |
355 | field_assigned_to_role: Rôle de l'assigné |
|
356 | field_assigned_to_role: Rôle de l'assigné | |
356 | field_text: Champ texte |
|
357 | field_text: Champ texte | |
357 | field_visible: Visible |
|
358 | field_visible: Visible | |
358 | field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardé" |
|
359 | field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardé" | |
359 | field_issues_visibility: Visibilité des demandes |
|
360 | field_issues_visibility: Visibilité des demandes | |
360 | field_is_private: Privée |
|
361 | field_is_private: Privée | |
361 | field_commit_logs_encoding: Encodage des messages de commit |
|
362 | field_commit_logs_encoding: Encodage des messages de commit | |
362 | field_scm_path_encoding: Encodage des chemins |
|
363 | field_scm_path_encoding: Encodage des chemins | |
363 | field_path_to_repository: Chemin du dépôt |
|
364 | field_path_to_repository: Chemin du dépôt | |
364 | field_root_directory: Répertoire racine |
|
365 | field_root_directory: Répertoire racine | |
365 | field_cvsroot: CVSROOT |
|
366 | field_cvsroot: CVSROOT | |
366 | field_cvs_module: Module |
|
367 | field_cvs_module: Module | |
367 | field_repository_is_default: Dépôt principal |
|
368 | field_repository_is_default: Dépôt principal | |
368 | field_multiple: Valeurs multiples |
|
369 | field_multiple: Valeurs multiples | |
369 | field_auth_source_ldap_filter: Filtre LDAP |
|
370 | field_auth_source_ldap_filter: Filtre LDAP | |
370 | field_core_fields: Champs standards |
|
371 | field_core_fields: Champs standards | |
371 | field_timeout: "Timeout (en secondes)" |
|
372 | field_timeout: "Timeout (en secondes)" | |
372 | field_board_parent: Forum parent |
|
373 | field_board_parent: Forum parent | |
373 | field_private_notes: Notes privées |
|
374 | field_private_notes: Notes privées | |
374 | field_inherit_members: Hériter les membres |
|
375 | field_inherit_members: Hériter les membres | |
375 | field_generate_password: Générer un mot de passe |
|
376 | field_generate_password: Générer un mot de passe | |
376 | field_must_change_passwd: Doit changer de mot de passe à la prochaine connexion |
|
377 | field_must_change_passwd: Doit changer de mot de passe à la prochaine connexion | |
377 | field_default_status: Statut par défaut |
|
378 | field_default_status: Statut par défaut | |
378 | field_users_visibility: Visibilité des utilisateurs |
|
379 | field_users_visibility: Visibilité des utilisateurs | |
379 | field_time_entries_visibility: Visibilité du temps passé |
|
380 | field_time_entries_visibility: Visibilité du temps passé | |
380 | field_total_estimated_hours: Temps estimé total |
|
381 | field_total_estimated_hours: Temps estimé total | |
381 | field_default_version: Version par défaut |
|
382 | field_default_version: Version par défaut | |
382 | field_textarea_font: Police utilisée pour les champs texte |
|
383 | field_textarea_font: Police utilisée pour les champs texte | |
383 |
|
384 | |||
384 | setting_app_title: Titre de l'application |
|
385 | setting_app_title: Titre de l'application | |
385 | setting_app_subtitle: Sous-titre de l'application |
|
386 | setting_app_subtitle: Sous-titre de l'application | |
386 | setting_welcome_text: Texte d'accueil |
|
387 | setting_welcome_text: Texte d'accueil | |
387 | setting_default_language: Langue par défaut |
|
388 | setting_default_language: Langue par défaut | |
388 | setting_login_required: Authentification obligatoire |
|
389 | setting_login_required: Authentification obligatoire | |
389 | setting_self_registration: Inscription des nouveaux utilisateurs |
|
390 | setting_self_registration: Inscription des nouveaux utilisateurs | |
390 | setting_attachment_max_size: Taille maximale des fichiers |
|
391 | setting_attachment_max_size: Taille maximale des fichiers | |
391 | setting_issues_export_limit: Limite d'exportation des demandes |
|
392 | setting_issues_export_limit: Limite d'exportation des demandes | |
392 | setting_mail_from: Adresse d'émission |
|
393 | setting_mail_from: Adresse d'émission | |
393 | setting_bcc_recipients: Destinataires en copie cachée (cci) |
|
394 | setting_bcc_recipients: Destinataires en copie cachée (cci) | |
394 | setting_plain_text_mail: Mail en texte brut (non HTML) |
|
395 | setting_plain_text_mail: Mail en texte brut (non HTML) | |
395 | setting_host_name: Nom d'hôte et chemin |
|
396 | setting_host_name: Nom d'hôte et chemin | |
396 | setting_text_formatting: Formatage du texte |
|
397 | setting_text_formatting: Formatage du texte | |
397 | setting_wiki_compression: Compression de l'historique des pages wiki |
|
398 | setting_wiki_compression: Compression de l'historique des pages wiki | |
398 | setting_feeds_limit: Nombre maximal d'éléments dans les flux Atom |
|
399 | setting_feeds_limit: Nombre maximal d'éléments dans les flux Atom | |
399 | setting_default_projects_public: Définir les nouveaux projets comme publics par défaut |
|
400 | setting_default_projects_public: Définir les nouveaux projets comme publics par défaut | |
400 | setting_autofetch_changesets: Récupération automatique des commits |
|
401 | setting_autofetch_changesets: Récupération automatique des commits | |
401 | setting_sys_api_enabled: Activer les WS pour la gestion des dépôts |
|
402 | setting_sys_api_enabled: Activer les WS pour la gestion des dépôts | |
402 | setting_commit_ref_keywords: Mots-clés de référencement |
|
403 | setting_commit_ref_keywords: Mots-clés de référencement | |
403 | setting_commit_fix_keywords: Mots-clés de résolution |
|
404 | setting_commit_fix_keywords: Mots-clés de résolution | |
404 | setting_autologin: Durée maximale de connexion automatique |
|
405 | setting_autologin: Durée maximale de connexion automatique | |
405 | setting_date_format: Format de date |
|
406 | setting_date_format: Format de date | |
406 | setting_time_format: Format d'heure |
|
407 | setting_time_format: Format d'heure | |
407 | setting_timespan_format: Format des temps en heures |
|
408 | setting_timespan_format: Format des temps en heures | |
408 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de différents projets |
|
409 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de différents projets | |
409 | setting_cross_project_subtasks: Autoriser les sous-tâches dans des projets différents |
|
410 | setting_cross_project_subtasks: Autoriser les sous-tâches dans des projets différents | |
410 | setting_issue_list_default_columns: Colonnes affichées par défaut sur la liste des demandes |
|
411 | setting_issue_list_default_columns: Colonnes affichées par défaut sur la liste des demandes | |
411 | setting_repositories_encodings: Encodages des fichiers et des dépôts |
|
412 | setting_repositories_encodings: Encodages des fichiers et des dépôts | |
412 | setting_emails_header: En-tête des emails |
|
413 | setting_emails_header: En-tête des emails | |
413 | setting_emails_footer: Pied-de-page des emails |
|
414 | setting_emails_footer: Pied-de-page des emails | |
414 | setting_protocol: Protocole |
|
415 | setting_protocol: Protocole | |
415 | setting_per_page_options: Options d'objets affichés par page |
|
416 | setting_per_page_options: Options d'objets affichés par page | |
416 | setting_user_format: Format d'affichage des utilisateurs |
|
417 | setting_user_format: Format d'affichage des utilisateurs | |
417 | setting_activity_days_default: Nombre de jours affichés sur l'activité des projets |
|
418 | setting_activity_days_default: Nombre de jours affichés sur l'activité des projets | |
418 | setting_display_subprojects_issues: Afficher par défaut les demandes des sous-projets sur les projets principaux |
|
419 | setting_display_subprojects_issues: Afficher par défaut les demandes des sous-projets sur les projets principaux | |
419 | setting_enabled_scm: SCM activés |
|
420 | setting_enabled_scm: SCM activés | |
420 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" |
|
421 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" | |
421 | setting_mail_handler_enable_regex_delimiters: "Utiliser les expressions regulières" |
|
422 | setting_mail_handler_enable_regex_delimiters: "Utiliser les expressions regulières" | |
422 | setting_mail_handler_api_enabled: "Activer le WS pour la réception d'emails" |
|
423 | setting_mail_handler_api_enabled: "Activer le WS pour la réception d'emails" | |
423 | setting_mail_handler_api_key: Clé de protection de l'API |
|
424 | setting_mail_handler_api_key: Clé de protection de l'API | |
424 | setting_sequential_project_identifiers: Générer des identifiants de projet séquentiels |
|
425 | setting_sequential_project_identifiers: Générer des identifiants de projet séquentiels | |
425 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs |
|
426 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs | |
426 | setting_gravatar_default: Image Gravatar par défaut |
|
427 | setting_gravatar_default: Image Gravatar par défaut | |
427 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichées |
|
428 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichées | |
428 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichés en ligne |
|
429 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichés en ligne | |
429 | setting_repository_log_display_limit: "Nombre maximum de révisions affichées sur l'historique d'un fichier" |
|
430 | setting_repository_log_display_limit: "Nombre maximum de révisions affichées sur l'historique d'un fichier" | |
430 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" |
|
431 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" | |
431 | setting_password_max_age: Expiration des mots de passe après |
|
432 | setting_password_max_age: Expiration des mots de passe après | |
432 | setting_password_min_length: Longueur minimum des mots de passe |
|
433 | setting_password_min_length: Longueur minimum des mots de passe | |
433 | setting_new_project_user_role_id: Rôle donné à un utilisateur non-administrateur qui crée un projet |
|
434 | setting_new_project_user_role_id: Rôle donné à un utilisateur non-administrateur qui crée un projet | |
434 | setting_default_projects_modules: Modules activés par défaut pour les nouveaux projets |
|
435 | setting_default_projects_modules: Modules activés par défaut pour les nouveaux projets | |
435 | setting_issue_done_ratio: Calcul de l'avancement des demandes |
|
436 | setting_issue_done_ratio: Calcul de l'avancement des demandes | |
436 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectué' |
|
437 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectué' | |
437 | setting_issue_done_ratio_issue_status: Utiliser le statut |
|
438 | setting_issue_done_ratio_issue_status: Utiliser le statut | |
438 | setting_start_of_week: Jour de début des calendriers |
|
439 | setting_start_of_week: Jour de début des calendriers | |
439 | setting_rest_api_enabled: Activer l'API REST |
|
440 | setting_rest_api_enabled: Activer l'API REST | |
440 | setting_cache_formatted_text: Mettre en cache le texte formaté |
|
441 | setting_cache_formatted_text: Mettre en cache le texte formaté | |
441 | setting_default_notification_option: Option de notification par défaut |
|
442 | setting_default_notification_option: Option de notification par défaut | |
442 | setting_commit_logtime_enabled: Permettre la saisie de temps |
|
443 | setting_commit_logtime_enabled: Permettre la saisie de temps | |
443 | setting_commit_logtime_activity_id: Activité pour le temps saisi |
|
444 | setting_commit_logtime_activity_id: Activité pour le temps saisi | |
444 | setting_gantt_items_limit: Nombre maximum d'éléments affichés sur le gantt |
|
445 | setting_gantt_items_limit: Nombre maximum d'éléments affichés sur le gantt | |
445 | setting_issue_group_assignment: Permettre l'assignation des demandes aux groupes |
|
446 | setting_issue_group_assignment: Permettre l'assignation des demandes aux groupes | |
446 | setting_default_issue_start_date_to_creation_date: Donner à la date de début d'une nouvelle demande la valeur de la date du jour |
|
447 | setting_default_issue_start_date_to_creation_date: Donner à la date de début d'une nouvelle demande la valeur de la date du jour | |
447 | setting_commit_cross_project_ref: Permettre le référencement et la résolution des demandes de tous les autres projets |
|
448 | setting_commit_cross_project_ref: Permettre le référencement et la résolution des demandes de tous les autres projets | |
448 | setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte |
|
449 | setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte | |
449 | setting_session_lifetime: Durée de vie maximale des sessions |
|
450 | setting_session_lifetime: Durée de vie maximale des sessions | |
450 | setting_session_timeout: Durée maximale d'inactivité |
|
451 | setting_session_timeout: Durée maximale d'inactivité | |
451 | setting_thumbnails_enabled: Afficher les vignettes des images |
|
452 | setting_thumbnails_enabled: Afficher les vignettes des images | |
452 | setting_thumbnails_size: Taille des vignettes (en pixels) |
|
453 | setting_thumbnails_size: Taille des vignettes (en pixels) | |
453 | setting_non_working_week_days: Jours non travaillés |
|
454 | setting_non_working_week_days: Jours non travaillés | |
454 | setting_jsonp_enabled: Activer le support JSONP |
|
455 | setting_jsonp_enabled: Activer le support JSONP | |
455 | setting_default_projects_tracker_ids: Trackers par défaut pour les nouveaux projets |
|
456 | setting_default_projects_tracker_ids: Trackers par défaut pour les nouveaux projets | |
456 | setting_mail_handler_excluded_filenames: Exclure les fichiers attachés par leur nom |
|
457 | setting_mail_handler_excluded_filenames: Exclure les fichiers attachés par leur nom | |
457 | setting_force_default_language_for_anonymous: Forcer la langue par défault pour les utilisateurs anonymes |
|
458 | setting_force_default_language_for_anonymous: Forcer la langue par défault pour les utilisateurs anonymes | |
458 | setting_force_default_language_for_loggedin: Forcer la langue par défault pour les utilisateurs identifiés |
|
459 | setting_force_default_language_for_loggedin: Forcer la langue par défault pour les utilisateurs identifiés | |
459 | setting_link_copied_issue: Lier les demandes lors de la copie |
|
460 | setting_link_copied_issue: Lier les demandes lors de la copie | |
460 | setting_max_additional_emails: Nombre maximal d'adresses email additionnelles |
|
461 | setting_max_additional_emails: Nombre maximal d'adresses email additionnelles | |
461 | setting_search_results_per_page: Résultats de recherche affichés par page |
|
462 | setting_search_results_per_page: Résultats de recherche affichés par page | |
462 | setting_attachment_extensions_allowed: Extensions autorisées |
|
463 | setting_attachment_extensions_allowed: Extensions autorisées | |
463 | setting_attachment_extensions_denied: Extensions non autorisées |
|
464 | setting_attachment_extensions_denied: Extensions non autorisées | |
464 | setting_sys_api_key: Clé de protection de l'API |
|
465 | setting_sys_api_key: Clé de protection de l'API | |
465 | setting_lost_password: Autoriser la réinitialisation par email de mot de passe perdu |
|
466 | setting_lost_password: Autoriser la réinitialisation par email de mot de passe perdu | |
466 | setting_new_item_menu_tab: Onglet de création d'objets dans le menu du project |
|
467 | setting_new_item_menu_tab: Onglet de création d'objets dans le menu du project | |
467 | setting_commit_logs_formatting: Appliquer le formattage de texte aux messages de commit |
|
468 | setting_commit_logs_formatting: Appliquer le formattage de texte aux messages de commit | |
468 |
|
469 | |||
469 | permission_add_project: Créer un projet |
|
470 | permission_add_project: Créer un projet | |
470 | permission_add_subprojects: Créer des sous-projets |
|
471 | permission_add_subprojects: Créer des sous-projets | |
471 | permission_edit_project: Modifier le projet |
|
472 | permission_edit_project: Modifier le projet | |
472 | permission_close_project: Fermer / réouvrir le projet |
|
473 | permission_close_project: Fermer / réouvrir le projet | |
473 | permission_select_project_modules: Choisir les modules |
|
474 | permission_select_project_modules: Choisir les modules | |
474 | permission_manage_members: Gérer les membres |
|
475 | permission_manage_members: Gérer les membres | |
475 | permission_manage_project_activities: Gérer les activités |
|
476 | permission_manage_project_activities: Gérer les activités | |
476 | permission_manage_versions: Gérer les versions |
|
477 | permission_manage_versions: Gérer les versions | |
477 | permission_manage_categories: Gérer les catégories de demandes |
|
478 | permission_manage_categories: Gérer les catégories de demandes | |
478 | permission_view_issues: Voir les demandes |
|
479 | permission_view_issues: Voir les demandes | |
479 | permission_add_issues: Créer des demandes |
|
480 | permission_add_issues: Créer des demandes | |
480 | permission_edit_issues: Modifier les demandes |
|
481 | permission_edit_issues: Modifier les demandes | |
481 | permission_copy_issues: Copier les demandes |
|
482 | permission_copy_issues: Copier les demandes | |
482 | permission_manage_issue_relations: Gérer les relations |
|
483 | permission_manage_issue_relations: Gérer les relations | |
483 | permission_set_issues_private: Rendre les demandes publiques ou privées |
|
484 | permission_set_issues_private: Rendre les demandes publiques ou privées | |
484 | permission_set_own_issues_private: Rendre ses propres demandes publiques ou privées |
|
485 | permission_set_own_issues_private: Rendre ses propres demandes publiques ou privées | |
485 | permission_add_issue_notes: Ajouter des notes |
|
486 | permission_add_issue_notes: Ajouter des notes | |
486 | permission_edit_issue_notes: Modifier les notes |
|
487 | permission_edit_issue_notes: Modifier les notes | |
487 | permission_edit_own_issue_notes: Modifier ses propres notes |
|
488 | permission_edit_own_issue_notes: Modifier ses propres notes | |
488 | permission_view_private_notes: Voir les notes privées |
|
489 | permission_view_private_notes: Voir les notes privées | |
489 | permission_set_notes_private: Rendre les notes privées |
|
490 | permission_set_notes_private: Rendre les notes privées | |
490 | permission_move_issues: Déplacer les demandes |
|
491 | permission_move_issues: Déplacer les demandes | |
491 | permission_delete_issues: Supprimer les demandes |
|
492 | permission_delete_issues: Supprimer les demandes | |
492 | permission_manage_public_queries: Gérer les requêtes publiques |
|
493 | permission_manage_public_queries: Gérer les requêtes publiques | |
493 | permission_save_queries: Sauvegarder les requêtes |
|
494 | permission_save_queries: Sauvegarder les requêtes | |
494 | permission_view_gantt: Voir le gantt |
|
495 | permission_view_gantt: Voir le gantt | |
495 | permission_view_calendar: Voir le calendrier |
|
496 | permission_view_calendar: Voir le calendrier | |
496 | permission_view_issue_watchers: Voir la liste des observateurs |
|
497 | permission_view_issue_watchers: Voir la liste des observateurs | |
497 | permission_add_issue_watchers: Ajouter des observateurs |
|
498 | permission_add_issue_watchers: Ajouter des observateurs | |
498 | permission_delete_issue_watchers: Supprimer des observateurs |
|
499 | permission_delete_issue_watchers: Supprimer des observateurs | |
499 | permission_log_time: Saisir le temps passé |
|
500 | permission_log_time: Saisir le temps passé | |
500 | permission_view_time_entries: Voir le temps passé |
|
501 | permission_view_time_entries: Voir le temps passé | |
501 | permission_edit_time_entries: Modifier les temps passés |
|
502 | permission_edit_time_entries: Modifier les temps passés | |
502 | permission_edit_own_time_entries: Modifier son propre temps passé |
|
503 | permission_edit_own_time_entries: Modifier son propre temps passé | |
503 | permission_manage_news: Gérer les annonces |
|
504 | permission_manage_news: Gérer les annonces | |
504 | permission_comment_news: Commenter les annonces |
|
505 | permission_comment_news: Commenter les annonces | |
505 | permission_view_documents: Voir les documents |
|
506 | permission_view_documents: Voir les documents | |
506 | permission_add_documents: Ajouter des documents |
|
507 | permission_add_documents: Ajouter des documents | |
507 | permission_edit_documents: Modifier les documents |
|
508 | permission_edit_documents: Modifier les documents | |
508 | permission_delete_documents: Supprimer les documents |
|
509 | permission_delete_documents: Supprimer les documents | |
509 | permission_manage_files: Gérer les fichiers |
|
510 | permission_manage_files: Gérer les fichiers | |
510 | permission_view_files: Voir les fichiers |
|
511 | permission_view_files: Voir les fichiers | |
511 | permission_manage_wiki: Gérer le wiki |
|
512 | permission_manage_wiki: Gérer le wiki | |
512 | permission_rename_wiki_pages: Renommer les pages |
|
513 | permission_rename_wiki_pages: Renommer les pages | |
513 | permission_delete_wiki_pages: Supprimer les pages |
|
514 | permission_delete_wiki_pages: Supprimer les pages | |
514 | permission_view_wiki_pages: Voir le wiki |
|
515 | permission_view_wiki_pages: Voir le wiki | |
515 | permission_view_wiki_edits: "Voir l'historique des modifications" |
|
516 | permission_view_wiki_edits: "Voir l'historique des modifications" | |
516 | permission_edit_wiki_pages: Modifier les pages |
|
517 | permission_edit_wiki_pages: Modifier les pages | |
517 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints |
|
518 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints | |
518 | permission_protect_wiki_pages: Protéger les pages |
|
519 | permission_protect_wiki_pages: Protéger les pages | |
519 | permission_manage_repository: Gérer le dépôt de sources |
|
520 | permission_manage_repository: Gérer le dépôt de sources | |
520 | permission_browse_repository: Parcourir les sources |
|
521 | permission_browse_repository: Parcourir les sources | |
521 | permission_view_changesets: Voir les révisions |
|
522 | permission_view_changesets: Voir les révisions | |
522 | permission_commit_access: Droit de commit |
|
523 | permission_commit_access: Droit de commit | |
523 | permission_manage_boards: Gérer les forums |
|
524 | permission_manage_boards: Gérer les forums | |
524 | permission_view_messages: Voir les messages |
|
525 | permission_view_messages: Voir les messages | |
525 | permission_add_messages: Poster un message |
|
526 | permission_add_messages: Poster un message | |
526 | permission_edit_messages: Modifier les messages |
|
527 | permission_edit_messages: Modifier les messages | |
527 | permission_edit_own_messages: Modifier ses propres messages |
|
528 | permission_edit_own_messages: Modifier ses propres messages | |
528 | permission_delete_messages: Supprimer les messages |
|
529 | permission_delete_messages: Supprimer les messages | |
529 | permission_delete_own_messages: Supprimer ses propres messages |
|
530 | permission_delete_own_messages: Supprimer ses propres messages | |
530 | permission_export_wiki_pages: Exporter les pages |
|
531 | permission_export_wiki_pages: Exporter les pages | |
531 | permission_manage_subtasks: Gérer les sous-tâches |
|
532 | permission_manage_subtasks: Gérer les sous-tâches | |
532 | permission_manage_related_issues: Gérer les demandes associées |
|
533 | permission_manage_related_issues: Gérer les demandes associées | |
533 | permission_import_issues: Importer des demandes |
|
534 | permission_import_issues: Importer des demandes | |
534 |
|
535 | |||
535 | project_module_issue_tracking: Suivi des demandes |
|
536 | project_module_issue_tracking: Suivi des demandes | |
536 | project_module_time_tracking: Suivi du temps passé |
|
537 | project_module_time_tracking: Suivi du temps passé | |
537 | project_module_news: Publication d'annonces |
|
538 | project_module_news: Publication d'annonces | |
538 | project_module_documents: Publication de documents |
|
539 | project_module_documents: Publication de documents | |
539 | project_module_files: Publication de fichiers |
|
540 | project_module_files: Publication de fichiers | |
540 | project_module_wiki: Wiki |
|
541 | project_module_wiki: Wiki | |
541 | project_module_repository: Dépôt de sources |
|
542 | project_module_repository: Dépôt de sources | |
542 | project_module_boards: Forums de discussion |
|
543 | project_module_boards: Forums de discussion | |
543 | project_module_calendar: Calendrier |
|
544 | project_module_calendar: Calendrier | |
544 | project_module_gantt: Gantt |
|
545 | project_module_gantt: Gantt | |
545 |
|
546 | |||
546 | label_user: Utilisateur |
|
547 | label_user: Utilisateur | |
547 | label_user_plural: Utilisateurs |
|
548 | label_user_plural: Utilisateurs | |
548 | label_user_new: Nouvel utilisateur |
|
549 | label_user_new: Nouvel utilisateur | |
549 | label_user_anonymous: Anonyme |
|
550 | label_user_anonymous: Anonyme | |
550 | label_project: Projet |
|
551 | label_project: Projet | |
551 | label_project_new: Nouveau projet |
|
552 | label_project_new: Nouveau projet | |
552 | label_project_plural: Projets |
|
553 | label_project_plural: Projets | |
553 | label_x_projects: |
|
554 | label_x_projects: | |
554 | zero: aucun projet |
|
555 | zero: aucun projet | |
555 | one: un projet |
|
556 | one: un projet | |
556 | other: "%{count} projets" |
|
557 | other: "%{count} projets" | |
557 | label_project_all: Tous les projets |
|
558 | label_project_all: Tous les projets | |
558 | label_project_latest: Derniers projets |
|
559 | label_project_latest: Derniers projets | |
559 | label_issue: Demande |
|
560 | label_issue: Demande | |
560 | label_issue_new: Nouvelle demande |
|
561 | label_issue_new: Nouvelle demande | |
561 | label_issue_plural: Demandes |
|
562 | label_issue_plural: Demandes | |
562 | label_issue_view_all: Voir toutes les demandes |
|
563 | label_issue_view_all: Voir toutes les demandes | |
563 | label_issues_by: "Demandes par %{value}" |
|
564 | label_issues_by: "Demandes par %{value}" | |
564 | label_issue_added: Demande ajoutée |
|
565 | label_issue_added: Demande ajoutée | |
565 | label_issue_updated: Demande mise à jour |
|
566 | label_issue_updated: Demande mise à jour | |
566 | label_issue_note_added: Note ajoutée |
|
567 | label_issue_note_added: Note ajoutée | |
567 | label_issue_status_updated: Statut changé |
|
568 | label_issue_status_updated: Statut changé | |
568 | label_issue_assigned_to_updated: Assigné changé |
|
569 | label_issue_assigned_to_updated: Assigné changé | |
569 | label_issue_priority_updated: Priorité changée |
|
570 | label_issue_priority_updated: Priorité changée | |
570 | label_document: Document |
|
571 | label_document: Document | |
571 | label_document_new: Nouveau document |
|
572 | label_document_new: Nouveau document | |
572 | label_document_plural: Documents |
|
573 | label_document_plural: Documents | |
573 | label_document_added: Document ajouté |
|
574 | label_document_added: Document ajouté | |
574 | label_role: Rôle |
|
575 | label_role: Rôle | |
575 | label_role_plural: Rôles |
|
576 | label_role_plural: Rôles | |
576 | label_role_new: Nouveau rôle |
|
577 | label_role_new: Nouveau rôle | |
577 | label_role_and_permissions: Rôles et permissions |
|
578 | label_role_and_permissions: Rôles et permissions | |
578 | label_role_anonymous: Anonyme |
|
579 | label_role_anonymous: Anonyme | |
579 | label_role_non_member: Non membre |
|
580 | label_role_non_member: Non membre | |
580 | label_member: Membre |
|
581 | label_member: Membre | |
581 | label_member_new: Nouveau membre |
|
582 | label_member_new: Nouveau membre | |
582 | label_member_plural: Membres |
|
583 | label_member_plural: Membres | |
583 | label_tracker: Tracker |
|
584 | label_tracker: Tracker | |
584 | label_tracker_plural: Trackers |
|
585 | label_tracker_plural: Trackers | |
585 | label_tracker_all: Tous les trackers |
|
586 | label_tracker_all: Tous les trackers | |
586 | label_tracker_new: Nouveau tracker |
|
587 | label_tracker_new: Nouveau tracker | |
587 | label_workflow: Workflow |
|
588 | label_workflow: Workflow | |
588 | label_issue_status: Statut de demandes |
|
589 | label_issue_status: Statut de demandes | |
589 | label_issue_status_plural: Statuts de demandes |
|
590 | label_issue_status_plural: Statuts de demandes | |
590 | label_issue_status_new: Nouveau statut |
|
591 | label_issue_status_new: Nouveau statut | |
591 | label_issue_category: Catégorie de demandes |
|
592 | label_issue_category: Catégorie de demandes | |
592 | label_issue_category_plural: Catégories de demandes |
|
593 | label_issue_category_plural: Catégories de demandes | |
593 | label_issue_category_new: Nouvelle catégorie |
|
594 | label_issue_category_new: Nouvelle catégorie | |
594 | label_custom_field: Champ personnalisé |
|
595 | label_custom_field: Champ personnalisé | |
595 | label_custom_field_plural: Champs personnalisés |
|
596 | label_custom_field_plural: Champs personnalisés | |
596 | label_custom_field_new: Nouveau champ personnalisé |
|
597 | label_custom_field_new: Nouveau champ personnalisé | |
597 | label_enumerations: Listes de valeurs |
|
598 | label_enumerations: Listes de valeurs | |
598 | label_enumeration_new: Nouvelle valeur |
|
599 | label_enumeration_new: Nouvelle valeur | |
599 | label_information: Information |
|
600 | label_information: Information | |
600 | label_information_plural: Informations |
|
601 | label_information_plural: Informations | |
601 | label_please_login: Identification |
|
602 | label_please_login: Identification | |
602 | label_register: S'enregistrer |
|
603 | label_register: S'enregistrer | |
603 | label_login_with_open_id_option: S'authentifier avec OpenID |
|
604 | label_login_with_open_id_option: S'authentifier avec OpenID | |
604 | label_password_lost: Mot de passe perdu |
|
605 | label_password_lost: Mot de passe perdu | |
605 | label_password_required: Confirmez votre mot de passe pour continuer |
|
606 | label_password_required: Confirmez votre mot de passe pour continuer | |
606 | label_home: Accueil |
|
607 | label_home: Accueil | |
607 | label_my_page: Ma page |
|
608 | label_my_page: Ma page | |
608 | label_my_account: Mon compte |
|
609 | label_my_account: Mon compte | |
609 | label_my_projects: Mes projets |
|
610 | label_my_projects: Mes projets | |
610 | label_my_page_block: Blocs disponibles |
|
611 | label_my_page_block: Blocs disponibles | |
611 | label_administration: Administration |
|
612 | label_administration: Administration | |
612 | label_login: Connexion |
|
613 | label_login: Connexion | |
613 | label_logout: Déconnexion |
|
614 | label_logout: Déconnexion | |
614 | label_help: Aide |
|
615 | label_help: Aide | |
615 | label_reported_issues: Demandes soumises |
|
616 | label_reported_issues: Demandes soumises | |
616 | label_assigned_issues: Demandes assignées |
|
617 | label_assigned_issues: Demandes assignées | |
617 | label_assigned_to_me_issues: Demandes qui me sont assignées |
|
618 | label_assigned_to_me_issues: Demandes qui me sont assignées | |
618 | label_last_login: Dernière connexion |
|
619 | label_last_login: Dernière connexion | |
619 | label_registered_on: Inscrit le |
|
620 | label_registered_on: Inscrit le | |
620 | label_activity: Activité |
|
621 | label_activity: Activité | |
621 | label_overall_activity: Activité globale |
|
622 | label_overall_activity: Activité globale | |
622 | label_user_activity: "Activité de %{value}" |
|
623 | label_user_activity: "Activité de %{value}" | |
623 | label_new: Nouveau |
|
624 | label_new: Nouveau | |
624 | label_logged_as: Connecté en tant que |
|
625 | label_logged_as: Connecté en tant que | |
625 | label_environment: Environnement |
|
626 | label_environment: Environnement | |
626 | label_authentication: Authentification |
|
627 | label_authentication: Authentification | |
627 | label_auth_source: Mode d'authentification |
|
628 | label_auth_source: Mode d'authentification | |
628 | label_auth_source_new: Nouveau mode d'authentification |
|
629 | label_auth_source_new: Nouveau mode d'authentification | |
629 | label_auth_source_plural: Modes d'authentification |
|
630 | label_auth_source_plural: Modes d'authentification | |
630 | label_subproject_plural: Sous-projets |
|
631 | label_subproject_plural: Sous-projets | |
631 | label_subproject_new: Nouveau sous-projet |
|
632 | label_subproject_new: Nouveau sous-projet | |
632 | label_and_its_subprojects: "%{value} et ses sous-projets" |
|
633 | label_and_its_subprojects: "%{value} et ses sous-projets" | |
633 | label_min_max_length: Longueurs mini - maxi |
|
634 | label_min_max_length: Longueurs mini - maxi | |
634 | label_list: Liste |
|
635 | label_list: Liste | |
635 | label_date: Date |
|
636 | label_date: Date | |
636 | label_integer: Entier |
|
637 | label_integer: Entier | |
637 | label_float: Nombre décimal |
|
638 | label_float: Nombre décimal | |
638 | label_boolean: Booléen |
|
639 | label_boolean: Booléen | |
639 | label_string: Texte |
|
640 | label_string: Texte | |
640 | label_text: Texte long |
|
641 | label_text: Texte long | |
641 | label_attribute: Attribut |
|
642 | label_attribute: Attribut | |
642 | label_attribute_plural: Attributs |
|
643 | label_attribute_plural: Attributs | |
643 | label_no_data: Aucune donnée à afficher |
|
644 | label_no_data: Aucune donnée à afficher | |
644 | label_change_status: Changer le statut |
|
645 | label_change_status: Changer le statut | |
645 | label_history: Historique |
|
646 | label_history: Historique | |
646 | label_attachment: Fichier |
|
647 | label_attachment: Fichier | |
647 | label_attachment_new: Nouveau fichier |
|
648 | label_attachment_new: Nouveau fichier | |
648 | label_attachment_delete: Supprimer le fichier |
|
649 | label_attachment_delete: Supprimer le fichier | |
649 | label_attachment_plural: Fichiers |
|
650 | label_attachment_plural: Fichiers | |
650 | label_file_added: Fichier ajouté |
|
651 | label_file_added: Fichier ajouté | |
651 | label_report: Rapport |
|
652 | label_report: Rapport | |
652 | label_report_plural: Rapports |
|
653 | label_report_plural: Rapports | |
653 | label_news: Annonce |
|
654 | label_news: Annonce | |
654 | label_news_new: Nouvelle annonce |
|
655 | label_news_new: Nouvelle annonce | |
655 | label_news_plural: Annonces |
|
656 | label_news_plural: Annonces | |
656 | label_news_latest: Dernières annonces |
|
657 | label_news_latest: Dernières annonces | |
657 | label_news_view_all: Voir toutes les annonces |
|
658 | label_news_view_all: Voir toutes les annonces | |
658 | label_news_added: Annonce ajoutée |
|
659 | label_news_added: Annonce ajoutée | |
659 | label_news_comment_added: Commentaire ajouté à une annonce |
|
660 | label_news_comment_added: Commentaire ajouté à une annonce | |
660 | label_settings: Configuration |
|
661 | label_settings: Configuration | |
661 | label_overview: Aperçu |
|
662 | label_overview: Aperçu | |
662 | label_version: Version |
|
663 | label_version: Version | |
663 | label_version_new: Nouvelle version |
|
664 | label_version_new: Nouvelle version | |
664 | label_version_plural: Versions |
|
665 | label_version_plural: Versions | |
665 | label_close_versions: Fermer les versions terminées |
|
666 | label_close_versions: Fermer les versions terminées | |
666 | label_confirmation: Confirmation |
|
667 | label_confirmation: Confirmation | |
667 | label_export_to: 'Formats disponibles :' |
|
668 | label_export_to: 'Formats disponibles :' | |
668 | label_read: Lire... |
|
669 | label_read: Lire... | |
669 | label_public_projects: Projets publics |
|
670 | label_public_projects: Projets publics | |
670 | label_open_issues: ouvert |
|
671 | label_open_issues: ouvert | |
671 | label_open_issues_plural: ouverts |
|
672 | label_open_issues_plural: ouverts | |
672 | label_closed_issues: fermé |
|
673 | label_closed_issues: fermé | |
673 | label_closed_issues_plural: fermés |
|
674 | label_closed_issues_plural: fermés | |
674 | label_x_open_issues_abbr: |
|
675 | label_x_open_issues_abbr: | |
675 | zero: 0 ouverte |
|
676 | zero: 0 ouverte | |
676 | one: 1 ouverte |
|
677 | one: 1 ouverte | |
677 | other: "%{count} ouvertes" |
|
678 | other: "%{count} ouvertes" | |
678 | label_x_closed_issues_abbr: |
|
679 | label_x_closed_issues_abbr: | |
679 | zero: 0 fermée |
|
680 | zero: 0 fermée | |
680 | one: 1 fermée |
|
681 | one: 1 fermée | |
681 | other: "%{count} fermées" |
|
682 | other: "%{count} fermées" | |
682 | label_x_issues: |
|
683 | label_x_issues: | |
683 | zero: 0 demande |
|
684 | zero: 0 demande | |
684 | one: 1 demande |
|
685 | one: 1 demande | |
685 | other: "%{count} demandes" |
|
686 | other: "%{count} demandes" | |
686 | label_total: Total |
|
687 | label_total: Total | |
687 | label_total_plural: Totaux |
|
688 | label_total_plural: Totaux | |
688 | label_total_time: Temps total |
|
689 | label_total_time: Temps total | |
689 | label_permissions: Permissions |
|
690 | label_permissions: Permissions | |
690 | label_current_status: Statut actuel |
|
691 | label_current_status: Statut actuel | |
691 | label_new_statuses_allowed: Nouveaux statuts autorisés |
|
692 | label_new_statuses_allowed: Nouveaux statuts autorisés | |
692 | label_all: tous |
|
693 | label_all: tous | |
693 | label_any: tous |
|
694 | label_any: tous | |
694 | label_none: aucun |
|
695 | label_none: aucun | |
695 | label_nobody: personne |
|
696 | label_nobody: personne | |
696 | label_next: Suivant |
|
697 | label_next: Suivant | |
697 | label_previous: Précédent |
|
698 | label_previous: Précédent | |
698 | label_used_by: Utilisé par |
|
699 | label_used_by: Utilisé par | |
699 | label_details: Détails |
|
700 | label_details: Détails | |
700 | label_add_note: Ajouter une note |
|
701 | label_add_note: Ajouter une note | |
701 | label_calendar: Calendrier |
|
702 | label_calendar: Calendrier | |
702 | label_months_from: mois depuis |
|
703 | label_months_from: mois depuis | |
703 | label_gantt: Gantt |
|
704 | label_gantt: Gantt | |
704 | label_internal: Interne |
|
705 | label_internal: Interne | |
705 | label_last_changes: "%{count} derniers changements" |
|
706 | label_last_changes: "%{count} derniers changements" | |
706 | label_change_view_all: Voir tous les changements |
|
707 | label_change_view_all: Voir tous les changements | |
707 | label_personalize_page: Personnaliser cette page |
|
708 | label_personalize_page: Personnaliser cette page | |
708 | label_comment: Commentaire |
|
709 | label_comment: Commentaire | |
709 | label_comment_plural: Commentaires |
|
710 | label_comment_plural: Commentaires | |
710 | label_x_comments: |
|
711 | label_x_comments: | |
711 | zero: aucun commentaire |
|
712 | zero: aucun commentaire | |
712 | one: un commentaire |
|
713 | one: un commentaire | |
713 | other: "%{count} commentaires" |
|
714 | other: "%{count} commentaires" | |
714 | label_comment_add: Ajouter un commentaire |
|
715 | label_comment_add: Ajouter un commentaire | |
715 | label_comment_added: Commentaire ajouté |
|
716 | label_comment_added: Commentaire ajouté | |
716 | label_comment_delete: Supprimer les commentaires |
|
717 | label_comment_delete: Supprimer les commentaires | |
717 | label_query: Rapport personnalisé |
|
718 | label_query: Rapport personnalisé | |
718 | label_query_plural: Rapports personnalisés |
|
719 | label_query_plural: Rapports personnalisés | |
719 | label_query_new: Nouveau rapport |
|
720 | label_query_new: Nouveau rapport | |
720 | label_my_queries: Mes rapports personnalisés |
|
721 | label_my_queries: Mes rapports personnalisés | |
721 | label_filter_add: Ajouter le filtre |
|
722 | label_filter_add: Ajouter le filtre | |
722 | label_filter_plural: Filtres |
|
723 | label_filter_plural: Filtres | |
723 | label_equals: égal |
|
724 | label_equals: égal | |
724 | label_not_equals: différent |
|
725 | label_not_equals: différent | |
725 | label_in_less_than: dans moins de |
|
726 | label_in_less_than: dans moins de | |
726 | label_in_more_than: dans plus de |
|
727 | label_in_more_than: dans plus de | |
727 | label_in_the_next_days: dans les prochains jours |
|
728 | label_in_the_next_days: dans les prochains jours | |
728 | label_in_the_past_days: dans les derniers jours |
|
729 | label_in_the_past_days: dans les derniers jours | |
729 | label_greater_or_equal: '>=' |
|
730 | label_greater_or_equal: '>=' | |
730 | label_less_or_equal: '<=' |
|
731 | label_less_or_equal: '<=' | |
731 | label_between: entre |
|
732 | label_between: entre | |
732 | label_in: dans |
|
733 | label_in: dans | |
733 | label_today: aujourd'hui |
|
734 | label_today: aujourd'hui | |
734 | label_all_time: toute la période |
|
735 | label_all_time: toute la période | |
735 | label_yesterday: hier |
|
736 | label_yesterday: hier | |
736 | label_this_week: cette semaine |
|
737 | label_this_week: cette semaine | |
737 | label_last_week: la semaine dernière |
|
738 | label_last_week: la semaine dernière | |
738 | label_last_n_weeks: "les %{count} dernières semaines" |
|
739 | label_last_n_weeks: "les %{count} dernières semaines" | |
739 | label_last_n_days: "les %{count} derniers jours" |
|
740 | label_last_n_days: "les %{count} derniers jours" | |
740 | label_this_month: ce mois-ci |
|
741 | label_this_month: ce mois-ci | |
741 | label_last_month: le mois dernier |
|
742 | label_last_month: le mois dernier | |
742 | label_this_year: cette année |
|
743 | label_this_year: cette année | |
743 | label_date_range: Période |
|
744 | label_date_range: Période | |
744 | label_less_than_ago: il y a moins de |
|
745 | label_less_than_ago: il y a moins de | |
745 | label_more_than_ago: il y a plus de |
|
746 | label_more_than_ago: il y a plus de | |
746 | label_ago: il y a |
|
747 | label_ago: il y a | |
747 | label_contains: contient |
|
748 | label_contains: contient | |
748 | label_not_contains: ne contient pas |
|
749 | label_not_contains: ne contient pas | |
749 | label_any_issues_in_project: une demande du projet |
|
750 | label_any_issues_in_project: une demande du projet | |
750 | label_any_issues_not_in_project: une demande hors du projet |
|
751 | label_any_issues_not_in_project: une demande hors du projet | |
751 | label_no_issues_in_project: aucune demande du projet |
|
752 | label_no_issues_in_project: aucune demande du projet | |
752 | label_any_open_issues: une demande ouverte |
|
753 | label_any_open_issues: une demande ouverte | |
753 | label_no_open_issues: aucune demande ouverte |
|
754 | label_no_open_issues: aucune demande ouverte | |
754 | label_day_plural: jours |
|
755 | label_day_plural: jours | |
755 | label_repository: Dépôt |
|
756 | label_repository: Dépôt | |
756 | label_repository_new: Nouveau dépôt |
|
757 | label_repository_new: Nouveau dépôt | |
757 | label_repository_plural: Dépôts |
|
758 | label_repository_plural: Dépôts | |
758 | label_browse: Parcourir |
|
759 | label_browse: Parcourir | |
759 | label_branch: Branche |
|
760 | label_branch: Branche | |
760 | label_tag: Tag |
|
761 | label_tag: Tag | |
761 | label_revision: Révision |
|
762 | label_revision: Révision | |
762 | label_revision_plural: Révisions |
|
763 | label_revision_plural: Révisions | |
763 | label_revision_id: "Révision %{value}" |
|
764 | label_revision_id: "Révision %{value}" | |
764 | label_associated_revisions: Révisions associées |
|
765 | label_associated_revisions: Révisions associées | |
765 | label_added: ajouté |
|
766 | label_added: ajouté | |
766 | label_modified: modifié |
|
767 | label_modified: modifié | |
767 | label_copied: copié |
|
768 | label_copied: copié | |
768 | label_renamed: renommé |
|
769 | label_renamed: renommé | |
769 | label_deleted: supprimé |
|
770 | label_deleted: supprimé | |
770 | label_latest_revision: Dernière révision |
|
771 | label_latest_revision: Dernière révision | |
771 | label_latest_revision_plural: Dernières révisions |
|
772 | label_latest_revision_plural: Dernières révisions | |
772 | label_view_revisions: Voir les révisions |
|
773 | label_view_revisions: Voir les révisions | |
773 | label_view_all_revisions: Voir toutes les révisions |
|
774 | label_view_all_revisions: Voir toutes les révisions | |
774 | label_max_size: Taille maximale |
|
775 | label_max_size: Taille maximale | |
775 | label_sort_highest: Remonter en premier |
|
776 | label_sort_highest: Remonter en premier | |
776 | label_sort_higher: Remonter |
|
777 | label_sort_higher: Remonter | |
777 | label_sort_lower: Descendre |
|
778 | label_sort_lower: Descendre | |
778 | label_sort_lowest: Descendre en dernier |
|
779 | label_sort_lowest: Descendre en dernier | |
779 | label_roadmap: Roadmap |
|
780 | label_roadmap: Roadmap | |
780 | label_roadmap_due_in: "Échéance dans %{value}" |
|
781 | label_roadmap_due_in: "Échéance dans %{value}" | |
781 | label_roadmap_overdue: "En retard de %{value}" |
|
782 | label_roadmap_overdue: "En retard de %{value}" | |
782 | label_roadmap_no_issues: Aucune demande pour cette version |
|
783 | label_roadmap_no_issues: Aucune demande pour cette version | |
783 | label_search: Recherche |
|
784 | label_search: Recherche | |
784 | label_result_plural: Résultats |
|
785 | label_result_plural: Résultats | |
785 | label_all_words: Tous les mots |
|
786 | label_all_words: Tous les mots | |
786 | label_wiki: Wiki |
|
787 | label_wiki: Wiki | |
787 | label_wiki_edit: Révision wiki |
|
788 | label_wiki_edit: Révision wiki | |
788 | label_wiki_edit_plural: Révisions wiki |
|
789 | label_wiki_edit_plural: Révisions wiki | |
789 | label_wiki_page: Page wiki |
|
790 | label_wiki_page: Page wiki | |
790 | label_wiki_page_plural: Pages wiki |
|
791 | label_wiki_page_plural: Pages wiki | |
791 | label_wiki_page_new: Nouvelle page wiki |
|
792 | label_wiki_page_new: Nouvelle page wiki | |
792 | label_index_by_title: Index par titre |
|
793 | label_index_by_title: Index par titre | |
793 | label_index_by_date: Index par date |
|
794 | label_index_by_date: Index par date | |
794 | label_current_version: Version actuelle |
|
795 | label_current_version: Version actuelle | |
795 | label_preview: Prévisualisation |
|
796 | label_preview: Prévisualisation | |
796 | label_feed_plural: Flux Atom |
|
797 | label_feed_plural: Flux Atom | |
797 | label_changes_details: Détails de tous les changements |
|
798 | label_changes_details: Détails de tous les changements | |
798 | label_issue_tracking: Suivi des demandes |
|
799 | label_issue_tracking: Suivi des demandes | |
799 | label_spent_time: Temps passé |
|
800 | label_spent_time: Temps passé | |
800 | label_total_spent_time: Temps passé total |
|
801 | label_total_spent_time: Temps passé total | |
801 | label_overall_spent_time: Temps passé global |
|
802 | label_overall_spent_time: Temps passé global | |
802 | label_f_hour: "%{value} heure" |
|
803 | label_f_hour: "%{value} heure" | |
803 | label_f_hour_plural: "%{value} heures" |
|
804 | label_f_hour_plural: "%{value} heures" | |
804 | label_f_hour_short: "%{value} h" |
|
805 | label_f_hour_short: "%{value} h" | |
805 | label_time_tracking: Suivi du temps |
|
806 | label_time_tracking: Suivi du temps | |
806 | label_change_plural: Changements |
|
807 | label_change_plural: Changements | |
807 | label_statistics: Statistiques |
|
808 | label_statistics: Statistiques | |
808 | label_commits_per_month: Commits par mois |
|
809 | label_commits_per_month: Commits par mois | |
809 | label_commits_per_author: Commits par auteur |
|
810 | label_commits_per_author: Commits par auteur | |
810 | label_diff: diff |
|
811 | label_diff: diff | |
811 | label_view_diff: Voir les différences |
|
812 | label_view_diff: Voir les différences | |
812 | label_diff_inline: en ligne |
|
813 | label_diff_inline: en ligne | |
813 | label_diff_side_by_side: côte à côte |
|
814 | label_diff_side_by_side: côte à côte | |
814 | label_options: Options |
|
815 | label_options: Options | |
815 | label_copy_workflow_from: Copier le workflow de |
|
816 | label_copy_workflow_from: Copier le workflow de | |
816 | label_permissions_report: Synthèse des permissions |
|
817 | label_permissions_report: Synthèse des permissions | |
817 | label_watched_issues: Demandes surveillées |
|
818 | label_watched_issues: Demandes surveillées | |
818 | label_related_issues: Demandes liées |
|
819 | label_related_issues: Demandes liées | |
819 | label_applied_status: Statut appliqué |
|
820 | label_applied_status: Statut appliqué | |
820 | label_loading: Chargement... |
|
821 | label_loading: Chargement... | |
821 | label_relation_new: Nouvelle relation |
|
822 | label_relation_new: Nouvelle relation | |
822 | label_relation_delete: Supprimer la relation |
|
823 | label_relation_delete: Supprimer la relation | |
823 | label_relates_to: Lié à |
|
824 | label_relates_to: Lié à | |
824 | label_duplicates: Duplique |
|
825 | label_duplicates: Duplique | |
825 | label_duplicated_by: Dupliqué par |
|
826 | label_duplicated_by: Dupliqué par | |
826 | label_blocks: Bloque |
|
827 | label_blocks: Bloque | |
827 | label_blocked_by: Bloqué par |
|
828 | label_blocked_by: Bloqué par | |
828 | label_precedes: Précède |
|
829 | label_precedes: Précède | |
829 | label_follows: Suit |
|
830 | label_follows: Suit | |
830 | label_copied_to: Copié vers |
|
831 | label_copied_to: Copié vers | |
831 | label_copied_from: Copié depuis |
|
832 | label_copied_from: Copié depuis | |
832 | label_stay_logged_in: Rester connecté |
|
833 | label_stay_logged_in: Rester connecté | |
833 | label_disabled: désactivé |
|
834 | label_disabled: désactivé | |
834 | label_show_completed_versions: Voir les versions passées |
|
835 | label_show_completed_versions: Voir les versions passées | |
835 | label_me: moi |
|
836 | label_me: moi | |
836 | label_board: Forum |
|
837 | label_board: Forum | |
837 | label_board_new: Nouveau forum |
|
838 | label_board_new: Nouveau forum | |
838 | label_board_plural: Forums |
|
839 | label_board_plural: Forums | |
839 | label_board_locked: Verrouillé |
|
840 | label_board_locked: Verrouillé | |
840 | label_board_sticky: Sticky |
|
841 | label_board_sticky: Sticky | |
841 | label_topic_plural: Discussions |
|
842 | label_topic_plural: Discussions | |
842 | label_message_plural: Messages |
|
843 | label_message_plural: Messages | |
843 | label_message_last: Dernier message |
|
844 | label_message_last: Dernier message | |
844 | label_message_new: Nouveau message |
|
845 | label_message_new: Nouveau message | |
845 | label_message_posted: Message ajouté |
|
846 | label_message_posted: Message ajouté | |
846 | label_reply_plural: Réponses |
|
847 | label_reply_plural: Réponses | |
847 | label_send_information: Envoyer les informations à l'utilisateur |
|
848 | label_send_information: Envoyer les informations à l'utilisateur | |
848 | label_year: Année |
|
849 | label_year: Année | |
849 | label_month: Mois |
|
850 | label_month: Mois | |
850 | label_week: Semaine |
|
851 | label_week: Semaine | |
851 | label_date_from: Du |
|
852 | label_date_from: Du | |
852 | label_date_to: Au |
|
853 | label_date_to: Au | |
853 | label_language_based: Basé sur la langue de l'utilisateur |
|
854 | label_language_based: Basé sur la langue de l'utilisateur | |
854 | label_sort_by: "Trier par %{value}" |
|
855 | label_sort_by: "Trier par %{value}" | |
855 | label_send_test_email: Envoyer un email de test |
|
856 | label_send_test_email: Envoyer un email de test | |
856 | label_feeds_access_key: Clé d'accès Atom |
|
857 | label_feeds_access_key: Clé d'accès Atom | |
857 | label_missing_feeds_access_key: Clé d'accès Atom manquante |
|
858 | label_missing_feeds_access_key: Clé d'accès Atom manquante | |
858 | label_feeds_access_key_created_on: "Clé d'accès Atom créée il y a %{value}" |
|
859 | label_feeds_access_key_created_on: "Clé d'accès Atom créée il y a %{value}" | |
859 | label_module_plural: Modules |
|
860 | label_module_plural: Modules | |
860 | label_added_time_by: "Ajouté par %{author} il y a %{age}" |
|
861 | label_added_time_by: "Ajouté par %{author} il y a %{age}" | |
861 | label_updated_time_by: "Mis à jour par %{author} il y a %{age}" |
|
862 | label_updated_time_by: "Mis à jour par %{author} il y a %{age}" | |
862 | label_updated_time: "Mis à jour il y a %{value}" |
|
863 | label_updated_time: "Mis à jour il y a %{value}" | |
863 | label_jump_to_a_project: Aller à un projet... |
|
864 | label_jump_to_a_project: Aller à un projet... | |
864 | label_file_plural: Fichiers |
|
865 | label_file_plural: Fichiers | |
865 | label_changeset_plural: Révisions |
|
866 | label_changeset_plural: Révisions | |
866 | label_default_columns: Colonnes par défaut |
|
867 | label_default_columns: Colonnes par défaut | |
867 | label_no_change_option: (Pas de changement) |
|
868 | label_no_change_option: (Pas de changement) | |
868 | label_bulk_edit_selected_issues: Modifier les demandes sélectionnées |
|
869 | label_bulk_edit_selected_issues: Modifier les demandes sélectionnées | |
869 | label_bulk_edit_selected_time_entries: Modifier les temps passés sélectionnés |
|
870 | label_bulk_edit_selected_time_entries: Modifier les temps passés sélectionnés | |
870 | label_theme: Thème |
|
871 | label_theme: Thème | |
871 | label_default: Défaut |
|
872 | label_default: Défaut | |
872 | label_search_titles_only: Uniquement dans les titres |
|
873 | label_search_titles_only: Uniquement dans les titres | |
873 | label_user_mail_option_all: "Pour tous les événements de tous mes projets" |
|
874 | label_user_mail_option_all: "Pour tous les événements de tous mes projets" | |
874 | label_user_mail_option_selected: "Pour tous les événements des projets sélectionnés..." |
|
875 | label_user_mail_option_selected: "Pour tous les événements des projets sélectionnés..." | |
875 | label_user_mail_option_none: Aucune notification |
|
876 | label_user_mail_option_none: Aucune notification | |
876 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille |
|
877 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille | |
877 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assigné |
|
878 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assigné | |
878 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé |
|
879 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé | |
879 | label_user_mail_no_self_notified: "Je ne veux pas être notifié des changements que j'effectue" |
|
880 | label_user_mail_no_self_notified: "Je ne veux pas être notifié des changements que j'effectue" | |
880 | label_registration_activation_by_email: activation du compte par email |
|
881 | label_registration_activation_by_email: activation du compte par email | |
881 | label_registration_manual_activation: activation manuelle du compte |
|
882 | label_registration_manual_activation: activation manuelle du compte | |
882 | label_registration_automatic_activation: activation automatique du compte |
|
883 | label_registration_automatic_activation: activation automatique du compte | |
883 | label_display_per_page: "Par page : %{value}" |
|
884 | label_display_per_page: "Par page : %{value}" | |
884 | label_age: Âge |
|
885 | label_age: Âge | |
885 | label_change_properties: Changer les propriétés |
|
886 | label_change_properties: Changer les propriétés | |
886 | label_general: Général |
|
887 | label_general: Général | |
887 | label_more: Plus |
|
888 | label_more: Plus | |
888 | label_scm: SCM |
|
889 | label_scm: SCM | |
889 | label_plugins: Plugins |
|
890 | label_plugins: Plugins | |
890 | label_ldap_authentication: Authentification LDAP |
|
891 | label_ldap_authentication: Authentification LDAP | |
891 | label_downloads_abbr: D/L |
|
892 | label_downloads_abbr: D/L | |
892 | label_optional_description: Description facultative |
|
893 | label_optional_description: Description facultative | |
893 | label_add_another_file: Ajouter un autre fichier |
|
894 | label_add_another_file: Ajouter un autre fichier | |
894 | label_preferences: Préférences |
|
895 | label_preferences: Préférences | |
895 | label_chronological_order: Dans l'ordre chronologique |
|
896 | label_chronological_order: Dans l'ordre chronologique | |
896 | label_reverse_chronological_order: Dans l'ordre chronologique inverse |
|
897 | label_reverse_chronological_order: Dans l'ordre chronologique inverse | |
897 | label_planning: Planning |
|
898 | label_planning: Planning | |
898 | label_incoming_emails: Emails entrants |
|
899 | label_incoming_emails: Emails entrants | |
899 | label_generate_key: Générer une clé |
|
900 | label_generate_key: Générer une clé | |
900 | label_issue_watchers: Observateurs |
|
901 | label_issue_watchers: Observateurs | |
901 | label_example: Exemple |
|
902 | label_example: Exemple | |
902 | label_display: Affichage |
|
903 | label_display: Affichage | |
903 | label_sort: Tri |
|
904 | label_sort: Tri | |
904 | label_ascending: Croissant |
|
905 | label_ascending: Croissant | |
905 | label_descending: Décroissant |
|
906 | label_descending: Décroissant | |
906 | label_date_from_to: Du %{start} au %{end} |
|
907 | label_date_from_to: Du %{start} au %{end} | |
907 | label_wiki_content_added: Page wiki ajoutée |
|
908 | label_wiki_content_added: Page wiki ajoutée | |
908 | label_wiki_content_updated: Page wiki mise à jour |
|
909 | label_wiki_content_updated: Page wiki mise à jour | |
909 | label_group: Groupe |
|
910 | label_group: Groupe | |
910 | label_group_plural: Groupes |
|
911 | label_group_plural: Groupes | |
911 | label_group_new: Nouveau groupe |
|
912 | label_group_new: Nouveau groupe | |
912 | label_group_anonymous: Utilisateurs anonymes |
|
913 | label_group_anonymous: Utilisateurs anonymes | |
913 | label_group_non_member: Utilisateurs non membres |
|
914 | label_group_non_member: Utilisateurs non membres | |
914 | label_time_entry_plural: Temps passé |
|
915 | label_time_entry_plural: Temps passé | |
915 | label_version_sharing_none: Non partagé |
|
916 | label_version_sharing_none: Non partagé | |
916 | label_version_sharing_descendants: Avec les sous-projets |
|
917 | label_version_sharing_descendants: Avec les sous-projets | |
917 | label_version_sharing_hierarchy: Avec toute la hiérarchie |
|
918 | label_version_sharing_hierarchy: Avec toute la hiérarchie | |
918 | label_version_sharing_tree: Avec tout l'arbre |
|
919 | label_version_sharing_tree: Avec tout l'arbre | |
919 | label_version_sharing_system: Avec tous les projets |
|
920 | label_version_sharing_system: Avec tous les projets | |
920 | label_update_issue_done_ratios: Mettre à jour l'avancement des demandes |
|
921 | label_update_issue_done_ratios: Mettre à jour l'avancement des demandes | |
921 | label_copy_source: Source |
|
922 | label_copy_source: Source | |
922 | label_copy_target: Cible |
|
923 | label_copy_target: Cible | |
923 | label_copy_same_as_target: Comme la cible |
|
924 | label_copy_same_as_target: Comme la cible | |
924 | label_display_used_statuses_only: N'afficher que les statuts utilisés dans ce tracker |
|
925 | label_display_used_statuses_only: N'afficher que les statuts utilisés dans ce tracker | |
925 | label_api_access_key: Clé d'accès API |
|
926 | label_api_access_key: Clé d'accès API | |
926 | label_missing_api_access_key: Clé d'accès API manquante |
|
927 | label_missing_api_access_key: Clé d'accès API manquante | |
927 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} |
|
928 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} | |
928 | label_profile: Profil |
|
929 | label_profile: Profil | |
929 | label_subtask_plural: Sous-tâches |
|
930 | label_subtask_plural: Sous-tâches | |
930 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet |
|
931 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet | |
931 | label_principal_search: "Rechercher un utilisateur ou un groupe :" |
|
932 | label_principal_search: "Rechercher un utilisateur ou un groupe :" | |
932 | label_user_search: "Rechercher un utilisateur :" |
|
933 | label_user_search: "Rechercher un utilisateur :" | |
933 | label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande |
|
934 | label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande | |
934 | label_additional_workflow_transitions_for_assignee: Autorisations supplémentaires lorsque la demande est assignée à l'utilisateur |
|
935 | label_additional_workflow_transitions_for_assignee: Autorisations supplémentaires lorsque la demande est assignée à l'utilisateur | |
935 | label_issues_visibility_all: Toutes les demandes |
|
936 | label_issues_visibility_all: Toutes les demandes | |
936 | label_issues_visibility_public: Toutes les demandes non privées |
|
937 | label_issues_visibility_public: Toutes les demandes non privées | |
937 | label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur |
|
938 | label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur | |
938 | label_git_report_last_commit: Afficher le dernier commit des fichiers et répertoires |
|
939 | label_git_report_last_commit: Afficher le dernier commit des fichiers et répertoires | |
939 | label_parent_revision: Parent |
|
940 | label_parent_revision: Parent | |
940 | label_child_revision: Enfant |
|
941 | label_child_revision: Enfant | |
941 | label_export_options: Options d'exportation %{export_format} |
|
942 | label_export_options: Options d'exportation %{export_format} | |
942 | label_copy_attachments: Copier les fichiers |
|
943 | label_copy_attachments: Copier les fichiers | |
943 | label_copy_subtasks: Copier les sous-tâches |
|
944 | label_copy_subtasks: Copier les sous-tâches | |
944 | label_item_position: "%{position} sur %{count}" |
|
945 | label_item_position: "%{position} sur %{count}" | |
945 | label_completed_versions: Versions passées |
|
946 | label_completed_versions: Versions passées | |
946 | label_search_for_watchers: Rechercher des observateurs |
|
947 | label_search_for_watchers: Rechercher des observateurs | |
947 | label_session_expiration: Expiration des sessions |
|
948 | label_session_expiration: Expiration des sessions | |
948 | label_show_closed_projects: Voir les projets fermés |
|
949 | label_show_closed_projects: Voir les projets fermés | |
949 | label_status_transitions: Changements de statut |
|
950 | label_status_transitions: Changements de statut | |
950 | label_fields_permissions: Permissions sur les champs |
|
951 | label_fields_permissions: Permissions sur les champs | |
951 | label_readonly: Lecture |
|
952 | label_readonly: Lecture | |
952 | label_required: Obligatoire |
|
953 | label_required: Obligatoire | |
953 | label_hidden: Caché |
|
954 | label_hidden: Caché | |
954 | label_attribute_of_project: "%{name} du projet" |
|
955 | label_attribute_of_project: "%{name} du projet" | |
955 | label_attribute_of_issue: "%{name} de la demande" |
|
956 | label_attribute_of_issue: "%{name} de la demande" | |
956 | label_attribute_of_author: "%{name} de l'auteur" |
|
957 | label_attribute_of_author: "%{name} de l'auteur" | |
957 | label_attribute_of_assigned_to: "%{name} de l'assigné" |
|
958 | label_attribute_of_assigned_to: "%{name} de l'assigné" | |
958 | label_attribute_of_user: "%{name} de l'utilisateur" |
|
959 | label_attribute_of_user: "%{name} de l'utilisateur" | |
959 | label_attribute_of_fixed_version: "%{name} de la version cible" |
|
960 | label_attribute_of_fixed_version: "%{name} de la version cible" | |
960 | label_cross_project_descendants: Avec les sous-projets |
|
961 | label_cross_project_descendants: Avec les sous-projets | |
961 | label_cross_project_tree: Avec tout l'arbre |
|
962 | label_cross_project_tree: Avec tout l'arbre | |
962 | label_cross_project_hierarchy: Avec toute la hiérarchie |
|
963 | label_cross_project_hierarchy: Avec toute la hiérarchie | |
963 | label_cross_project_system: Avec tous les projets |
|
964 | label_cross_project_system: Avec tous les projets | |
964 | label_gantt_progress_line: Ligne de progression |
|
965 | label_gantt_progress_line: Ligne de progression | |
965 | label_visibility_private: par moi uniquement |
|
966 | label_visibility_private: par moi uniquement | |
966 | label_visibility_roles: par ces rôles uniquement |
|
967 | label_visibility_roles: par ces rôles uniquement | |
967 | label_visibility_public: par tout le monde |
|
968 | label_visibility_public: par tout le monde | |
968 | label_link: Lien |
|
969 | label_link: Lien | |
969 | label_only: seulement |
|
970 | label_only: seulement | |
970 | label_drop_down_list: liste déroulante |
|
971 | label_drop_down_list: liste déroulante | |
971 | label_checkboxes: cases à cocher |
|
972 | label_checkboxes: cases à cocher | |
972 | label_radio_buttons: boutons radio |
|
973 | label_radio_buttons: boutons radio | |
973 | label_link_values_to: Lier les valeurs vers l'URL |
|
974 | label_link_values_to: Lier les valeurs vers l'URL | |
974 | label_custom_field_select_type: Selectionner le type d'objet auquel attacher le champ personnalisé |
|
975 | label_custom_field_select_type: Selectionner le type d'objet auquel attacher le champ personnalisé | |
975 | label_check_for_updates: Vérifier les mises à jour |
|
976 | label_check_for_updates: Vérifier les mises à jour | |
976 | label_latest_compatible_version: Dernière version compatible |
|
977 | label_latest_compatible_version: Dernière version compatible | |
977 | label_unknown_plugin: Plugin inconnu |
|
978 | label_unknown_plugin: Plugin inconnu | |
978 | label_add_projects: Ajouter des projets |
|
979 | label_add_projects: Ajouter des projets | |
979 | label_users_visibility_all: Tous les utilisateurs actifs |
|
980 | label_users_visibility_all: Tous les utilisateurs actifs | |
980 | label_users_visibility_members_of_visible_projects: Membres des projets visibles |
|
981 | label_users_visibility_members_of_visible_projects: Membres des projets visibles | |
981 | label_edit_attachments: Modifier les fichiers attachés |
|
982 | label_edit_attachments: Modifier les fichiers attachés | |
982 | label_link_copied_issue: Lier la demande copiée |
|
983 | label_link_copied_issue: Lier la demande copiée | |
983 | label_ask: Demander |
|
984 | label_ask: Demander | |
984 | label_search_attachments_yes: Rechercher les noms et descriptions de fichiers |
|
985 | label_search_attachments_yes: Rechercher les noms et descriptions de fichiers | |
985 | label_search_attachments_no: Ne pas rechercher les fichiers |
|
986 | label_search_attachments_no: Ne pas rechercher les fichiers | |
986 | label_search_attachments_only: Rechercher les fichiers uniquement |
|
987 | label_search_attachments_only: Rechercher les fichiers uniquement | |
987 | label_search_open_issues_only: Demandes ouvertes uniquement |
|
988 | label_search_open_issues_only: Demandes ouvertes uniquement | |
988 | label_email_address_plural: Emails |
|
989 | label_email_address_plural: Emails | |
989 | label_email_address_add: Ajouter une adresse email |
|
990 | label_email_address_add: Ajouter une adresse email | |
990 | label_enable_notifications: Activer les notifications |
|
991 | label_enable_notifications: Activer les notifications | |
991 | label_disable_notifications: Désactiver les notifications |
|
992 | label_disable_notifications: Désactiver les notifications | |
992 | label_blank_value: non renseigné |
|
993 | label_blank_value: non renseigné | |
993 | label_parent_task_attributes: Attributs des tâches parentes |
|
994 | label_parent_task_attributes: Attributs des tâches parentes | |
994 | label_time_entries_visibility_all: Tous les temps passés |
|
995 | label_time_entries_visibility_all: Tous les temps passés | |
995 | label_time_entries_visibility_own: Ses propres temps passés |
|
996 | label_time_entries_visibility_own: Ses propres temps passés | |
996 | label_member_management: Gestion des membres |
|
997 | label_member_management: Gestion des membres | |
997 | label_member_management_all_roles: Tous les rôles |
|
998 | label_member_management_all_roles: Tous les rôles | |
998 | label_member_management_selected_roles_only: Ces rôles uniquement |
|
999 | label_member_management_selected_roles_only: Ces rôles uniquement | |
999 | label_import_issues: Importer des demandes |
|
1000 | label_import_issues: Importer des demandes | |
1000 | label_select_file_to_import: Sélectionner le fichier à importer |
|
1001 | label_select_file_to_import: Sélectionner le fichier à importer | |
1001 | label_fields_separator: Séparateur de champs |
|
1002 | label_fields_separator: Séparateur de champs | |
1002 | label_fields_wrapper: Délimiteur de texte |
|
1003 | label_fields_wrapper: Délimiteur de texte | |
1003 | label_encoding: Encodage |
|
1004 | label_encoding: Encodage | |
1004 | label_comma_char: Virgule |
|
1005 | label_comma_char: Virgule | |
1005 | label_semi_colon_char: Point virgule |
|
1006 | label_semi_colon_char: Point virgule | |
1006 | label_quote_char: Apostrophe |
|
1007 | label_quote_char: Apostrophe | |
1007 | label_double_quote_char: Double apostrophe |
|
1008 | label_double_quote_char: Double apostrophe | |
1008 | label_fields_mapping: Correspondance des champs |
|
1009 | label_fields_mapping: Correspondance des champs | |
1009 | label_file_content_preview: Aperçu du contenu du fichier |
|
1010 | label_file_content_preview: Aperçu du contenu du fichier | |
1010 | label_create_missing_values: Créer les valeurs manquantes |
|
1011 | label_create_missing_values: Créer les valeurs manquantes | |
1011 | label_api: API |
|
1012 | label_api: API | |
1012 | label_field_format_enumeration: Liste clé/valeur |
|
1013 | label_field_format_enumeration: Liste clé/valeur | |
1013 | label_default_values_for_new_users: Valeurs par défaut pour les nouveaux utilisateurs |
|
1014 | label_default_values_for_new_users: Valeurs par défaut pour les nouveaux utilisateurs | |
1014 | label_relations: Relations |
|
1015 | label_relations: Relations | |
1015 | label_new_project_issue_tab_enabled: Afficher l'onglet "Nouvelle demande" |
|
1016 | label_new_project_issue_tab_enabled: Afficher l'onglet "Nouvelle demande" | |
1016 | label_new_object_tab_enabled: Afficher le menu déroulant "+" |
|
1017 | label_new_object_tab_enabled: Afficher le menu déroulant "+" | |
1017 | label_table_of_contents: Contenu |
|
1018 | label_table_of_contents: Contenu | |
1018 | label_font_default: Police par défaut |
|
1019 | label_font_default: Police par défaut | |
1019 | label_font_monospace: Police non proportionnelle |
|
1020 | label_font_monospace: Police non proportionnelle | |
1020 | label_font_proportional: Police proportionnelle |
|
1021 | label_font_proportional: Police proportionnelle | |
1021 |
|
1022 | |||
1022 | button_login: Connexion |
|
1023 | button_login: Connexion | |
1023 | button_submit: Soumettre |
|
1024 | button_submit: Soumettre | |
1024 | button_save: Sauvegarder |
|
1025 | button_save: Sauvegarder | |
1025 | button_check_all: Tout cocher |
|
1026 | button_check_all: Tout cocher | |
1026 | button_uncheck_all: Tout décocher |
|
1027 | button_uncheck_all: Tout décocher | |
1027 | button_collapse_all: Plier tout |
|
1028 | button_collapse_all: Plier tout | |
1028 | button_expand_all: Déplier tout |
|
1029 | button_expand_all: Déplier tout | |
1029 | button_delete: Supprimer |
|
1030 | button_delete: Supprimer | |
1030 | button_create: Créer |
|
1031 | button_create: Créer | |
1031 | button_create_and_continue: Créer et continuer |
|
1032 | button_create_and_continue: Créer et continuer | |
1032 | button_test: Tester |
|
1033 | button_test: Tester | |
1033 | button_edit: Modifier |
|
1034 | button_edit: Modifier | |
1034 | button_edit_associated_wikipage: "Modifier la page wiki associée: %{page_title}" |
|
1035 | button_edit_associated_wikipage: "Modifier la page wiki associée: %{page_title}" | |
1035 | button_add: Ajouter |
|
1036 | button_add: Ajouter | |
1036 | button_change: Changer |
|
1037 | button_change: Changer | |
1037 | button_apply: Appliquer |
|
1038 | button_apply: Appliquer | |
1038 | button_clear: Effacer |
|
1039 | button_clear: Effacer | |
1039 | button_lock: Verrouiller |
|
1040 | button_lock: Verrouiller | |
1040 | button_unlock: Déverrouiller |
|
1041 | button_unlock: Déverrouiller | |
1041 | button_download: Télécharger |
|
1042 | button_download: Télécharger | |
1042 | button_list: Lister |
|
1043 | button_list: Lister | |
1043 | button_view: Voir |
|
1044 | button_view: Voir | |
1044 | button_move: Déplacer |
|
1045 | button_move: Déplacer | |
1045 | button_move_and_follow: Déplacer et suivre |
|
1046 | button_move_and_follow: Déplacer et suivre | |
1046 | button_back: Retour |
|
1047 | button_back: Retour | |
1047 | button_cancel: Annuler |
|
1048 | button_cancel: Annuler | |
1048 | button_activate: Activer |
|
1049 | button_activate: Activer | |
1049 | button_sort: Trier |
|
1050 | button_sort: Trier | |
1050 | button_log_time: Saisir temps |
|
1051 | button_log_time: Saisir temps | |
1051 | button_rollback: Revenir à cette version |
|
1052 | button_rollback: Revenir à cette version | |
1052 | button_watch: Surveiller |
|
1053 | button_watch: Surveiller | |
1053 | button_unwatch: Ne plus surveiller |
|
1054 | button_unwatch: Ne plus surveiller | |
1054 | button_reply: Répondre |
|
1055 | button_reply: Répondre | |
1055 | button_archive: Archiver |
|
1056 | button_archive: Archiver | |
1056 | button_unarchive: Désarchiver |
|
1057 | button_unarchive: Désarchiver | |
1057 | button_reset: Réinitialiser |
|
1058 | button_reset: Réinitialiser | |
1058 | button_rename: Renommer |
|
1059 | button_rename: Renommer | |
1059 | button_change_password: Changer de mot de passe |
|
1060 | button_change_password: Changer de mot de passe | |
1060 | button_copy: Copier |
|
1061 | button_copy: Copier | |
1061 | button_copy_and_follow: Copier et suivre |
|
1062 | button_copy_and_follow: Copier et suivre | |
1062 | button_annotate: Annoter |
|
1063 | button_annotate: Annoter | |
1063 | button_update: Mettre à jour |
|
1064 | button_update: Mettre à jour | |
1064 | button_configure: Configurer |
|
1065 | button_configure: Configurer | |
1065 | button_quote: Citer |
|
1066 | button_quote: Citer | |
1066 | button_duplicate: Dupliquer |
|
1067 | button_duplicate: Dupliquer | |
1067 | button_show: Afficher |
|
1068 | button_show: Afficher | |
1068 | button_hide: Cacher |
|
1069 | button_hide: Cacher | |
1069 | button_edit_section: Modifier cette section |
|
1070 | button_edit_section: Modifier cette section | |
1070 | button_export: Exporter |
|
1071 | button_export: Exporter | |
1071 | button_delete_my_account: Supprimer mon compte |
|
1072 | button_delete_my_account: Supprimer mon compte | |
1072 | button_close: Fermer |
|
1073 | button_close: Fermer | |
1073 | button_reopen: Réouvrir |
|
1074 | button_reopen: Réouvrir | |
1074 | button_import: Importer |
|
1075 | button_import: Importer | |
1075 | button_filter: Filtrer |
|
1076 | button_filter: Filtrer | |
1076 |
|
1077 | |||
1077 | status_active: actif |
|
1078 | status_active: actif | |
1078 | status_registered: enregistré |
|
1079 | status_registered: enregistré | |
1079 | status_locked: verrouillé |
|
1080 | status_locked: verrouillé | |
1080 |
|
1081 | |||
1081 | project_status_active: actif |
|
1082 | project_status_active: actif | |
1082 | project_status_closed: fermé |
|
1083 | project_status_closed: fermé | |
1083 | project_status_archived: archivé |
|
1084 | project_status_archived: archivé | |
1084 |
|
1085 | |||
1085 | version_status_open: ouvert |
|
1086 | version_status_open: ouvert | |
1086 | version_status_locked: verrouillé |
|
1087 | version_status_locked: verrouillé | |
1087 | version_status_closed: fermé |
|
1088 | version_status_closed: fermé | |
1088 |
|
1089 | |||
1089 | field_active: Actif |
|
1090 | field_active: Actif | |
1090 |
|
1091 | |||
1091 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyée |
|
1092 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyée | |
1092 | text_regexp_info: ex. ^[A-Z0-9]+$ |
|
1093 | text_regexp_info: ex. ^[A-Z0-9]+$ | |
1093 | text_min_max_length_info: 0 pour aucune restriction |
|
1094 | text_min_max_length_info: 0 pour aucune restriction | |
1094 | text_project_destroy_confirmation: Êtes-vous sûr de vouloir supprimer ce projet et toutes ses données ? |
|
1095 | text_project_destroy_confirmation: Êtes-vous sûr de vouloir supprimer ce projet et toutes ses données ? | |
1095 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront également supprimés." |
|
1096 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront également supprimés." | |
1096 | text_workflow_edit: Sélectionner un tracker et un rôle pour éditer le workflow |
|
1097 | text_workflow_edit: Sélectionner un tracker et un rôle pour éditer le workflow | |
1097 | text_are_you_sure: Êtes-vous sûr ? |
|
1098 | text_are_you_sure: Êtes-vous sûr ? | |
1098 | text_journal_changed: "%{label} changé de %{old} à %{new}" |
|
1099 | text_journal_changed: "%{label} changé de %{old} à %{new}" | |
1099 | text_journal_changed_no_detail: "%{label} mis à jour" |
|
1100 | text_journal_changed_no_detail: "%{label} mis à jour" | |
1100 | text_journal_set_to: "%{label} mis à %{value}" |
|
1101 | text_journal_set_to: "%{label} mis à %{value}" | |
1101 | text_journal_deleted: "%{label} %{old} supprimé" |
|
1102 | text_journal_deleted: "%{label} %{old} supprimé" | |
1102 | text_journal_added: "%{label} %{value} ajouté" |
|
1103 | text_journal_added: "%{label} %{value} ajouté" | |
1103 | text_tip_issue_begin_day: tâche commençant ce jour |
|
1104 | text_tip_issue_begin_day: tâche commençant ce jour | |
1104 | text_tip_issue_end_day: tâche finissant ce jour |
|
1105 | text_tip_issue_end_day: tâche finissant ce jour | |
1105 | text_tip_issue_begin_end_day: tâche commençant et finissant ce jour |
|
1106 | text_tip_issue_begin_end_day: tâche commençant et finissant ce jour | |
1106 | text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisés, doit commencer par une minuscule.<br />Un fois sauvegardé, l''identifiant ne pourra plus être modifié.' |
|
1107 | text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisés, doit commencer par une minuscule.<br />Un fois sauvegardé, l''identifiant ne pourra plus être modifié.' | |
1107 | text_caracters_maximum: "%{count} caractères maximum." |
|
1108 | text_caracters_maximum: "%{count} caractères maximum." | |
1108 | text_caracters_minimum: "%{count} caractères minimum." |
|
1109 | text_caracters_minimum: "%{count} caractères minimum." | |
1109 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." |
|
1110 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." | |
1110 | text_tracker_no_workflow: Aucun worflow n'est défini pour ce tracker |
|
1111 | text_tracker_no_workflow: Aucun worflow n'est défini pour ce tracker | |
1111 | text_unallowed_characters: Caractères non autorisés |
|
1112 | text_unallowed_characters: Caractères non autorisés | |
1112 | text_comma_separated: Plusieurs valeurs possibles (séparées par des virgules). |
|
1113 | text_comma_separated: Plusieurs valeurs possibles (séparées par des virgules). | |
1113 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). |
|
1114 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). | |
1114 | text_issues_ref_in_commit_messages: Référencement et résolution des demandes dans les commentaires de commits |
|
1115 | text_issues_ref_in_commit_messages: Référencement et résolution des demandes dans les commentaires de commits | |
1115 | text_issue_added: "La demande %{id} a été soumise par %{author}." |
|
1116 | text_issue_added: "La demande %{id} a été soumise par %{author}." | |
1116 | text_issue_updated: "La demande %{id} a été mise à jour par %{author}." |
|
1117 | text_issue_updated: "La demande %{id} a été mise à jour par %{author}." | |
1117 | text_wiki_destroy_confirmation: Etes-vous sûr de vouloir supprimer ce wiki et tout son contenu ? |
|
1118 | text_wiki_destroy_confirmation: Etes-vous sûr de vouloir supprimer ce wiki et tout son contenu ? | |
1118 | text_issue_category_destroy_question: "%{count} demandes sont affectées à cette catégorie. Que voulez-vous faire ?" |
|
1119 | text_issue_category_destroy_question: "%{count} demandes sont affectées à cette catégorie. Que voulez-vous faire ?" | |
1119 | text_issue_category_destroy_assignments: N'affecter les demandes à aucune autre catégorie |
|
1120 | text_issue_category_destroy_assignments: N'affecter les demandes à aucune autre catégorie | |
1120 | text_issue_category_reassign_to: Réaffecter les demandes à cette catégorie |
|
1121 | text_issue_category_reassign_to: Réaffecter les demandes à cette catégorie | |
1121 | 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)." |
|
1122 | 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)." | |
1122 | 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é." |
|
1123 | 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é." | |
1123 | text_load_default_configuration: Charger le paramétrage par défaut |
|
1124 | text_load_default_configuration: Charger le paramétrage par défaut | |
1124 | text_status_changed_by_changeset: "Appliqué par commit %{value}." |
|
1125 | text_status_changed_by_changeset: "Appliqué par commit %{value}." | |
1125 | text_time_logged_by_changeset: "Appliqué par commit %{value}" |
|
1126 | text_time_logged_by_changeset: "Appliqué par commit %{value}" | |
1126 | text_issues_destroy_confirmation: 'Êtes-vous sûr de vouloir supprimer la ou les demandes(s) selectionnée(s) ?' |
|
1127 | text_issues_destroy_confirmation: 'Êtes-vous sûr de vouloir supprimer la ou les demandes(s) selectionnée(s) ?' | |
1127 | text_issues_destroy_descendants_confirmation: "Cela entrainera également la suppression de %{count} sous-tâche(s)." |
|
1128 | text_issues_destroy_descendants_confirmation: "Cela entrainera également la suppression de %{count} sous-tâche(s)." | |
1128 | text_time_entries_destroy_confirmation: "Etes-vous sûr de vouloir supprimer les temps passés sélectionnés ?" |
|
1129 | text_time_entries_destroy_confirmation: "Etes-vous sûr de vouloir supprimer les temps passés sélectionnés ?" | |
1129 | text_select_project_modules: 'Sélectionner les modules à activer pour ce projet :' |
|
1130 | text_select_project_modules: 'Sélectionner les modules à activer pour ce projet :' | |
1130 | text_default_administrator_account_changed: Compte administrateur par défaut changé |
|
1131 | text_default_administrator_account_changed: Compte administrateur par défaut changé | |
1131 | text_file_repository_writable: Répertoire de stockage des fichiers accessible en écriture |
|
1132 | text_file_repository_writable: Répertoire de stockage des fichiers accessible en écriture | |
1132 | text_plugin_assets_writable: Répertoire public des plugins accessible en écriture |
|
1133 | text_plugin_assets_writable: Répertoire public des plugins accessible en écriture | |
1133 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) |
|
1134 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) | |
1134 | text_convert_available: Binaire convert de ImageMagick présent (optionel) |
|
1135 | text_convert_available: Binaire convert de ImageMagick présent (optionel) | |
1135 | text_destroy_time_entries_question: "%{hours} heures ont été enregistrées sur les demandes à supprimer. Que voulez-vous faire ?" |
|
1136 | text_destroy_time_entries_question: "%{hours} heures ont été enregistrées sur les demandes à supprimer. Que voulez-vous faire ?" | |
1136 | text_destroy_time_entries: Supprimer les heures |
|
1137 | text_destroy_time_entries: Supprimer les heures | |
1137 | text_assign_time_entries_to_project: Reporter les heures sur le projet |
|
1138 | text_assign_time_entries_to_project: Reporter les heures sur le projet | |
1138 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' |
|
1139 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' | |
1139 | text_user_wrote: "%{value} a écrit :" |
|
1140 | text_user_wrote: "%{value} a écrit :" | |
1140 | text_enumeration_destroy_question: "La valeur « %{name} » est affectée à %{count} objet(s)." |
|
1141 | text_enumeration_destroy_question: "La valeur « %{name} » est affectée à %{count} objet(s)." | |
1141 | text_enumeration_category_reassign_to: 'Réaffecter les objets à cette valeur:' |
|
1142 | text_enumeration_category_reassign_to: 'Réaffecter les objets à cette valeur:' | |
1142 | 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." |
|
1143 | 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." | |
1143 | 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." |
|
1144 | 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." | |
1144 | text_diff_truncated: '... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.' |
|
1145 | text_diff_truncated: '... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.' | |
1145 | text_custom_field_possible_values_info: 'Une ligne par valeur' |
|
1146 | text_custom_field_possible_values_info: 'Une ligne par valeur' | |
1146 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" |
|
1147 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" | |
1147 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" |
|
1148 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" | |
1148 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" |
|
1149 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" | |
1149 | text_wiki_page_reassign_children: "Réaffecter les sous-pages à cette page" |
|
1150 | text_wiki_page_reassign_children: "Réaffecter les sous-pages à cette page" | |
1150 | 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 ?" |
|
1151 | 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 ?" | |
1151 | text_zoom_in: Zoom avant |
|
1152 | text_zoom_in: Zoom avant | |
1152 | text_zoom_out: Zoom arrière |
|
1153 | text_zoom_out: Zoom arrière | |
1153 | text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardé qui sera perdu si vous quittez la page." |
|
1154 | text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardé qui sera perdu si vous quittez la page." | |
1154 | text_scm_path_encoding_note: "Défaut : UTF-8" |
|
1155 | text_scm_path_encoding_note: "Défaut : UTF-8" | |
1155 | text_subversion_repository_note: "Exemples (en fonction des protocoles supportés) : file:///, http://, https://, svn://, svn+[tunnelscheme]://" |
|
1156 | text_subversion_repository_note: "Exemples (en fonction des protocoles supportés) : file:///, http://, https://, svn://, svn+[tunnelscheme]://" | |
1156 | text_git_repository_note: "Chemin vers un dépôt vide et local (exemples : /gitrepo, c:\\gitrepo)" |
|
1157 | text_git_repository_note: "Chemin vers un dépôt vide et local (exemples : /gitrepo, c:\\gitrepo)" | |
1157 | text_mercurial_repository_note: "Chemin vers un dépôt local (exemples : /hgrepo, c:\\hgrepo)" |
|
1158 | text_mercurial_repository_note: "Chemin vers un dépôt local (exemples : /hgrepo, c:\\hgrepo)" | |
1158 | text_scm_command: Commande |
|
1159 | text_scm_command: Commande | |
1159 | text_scm_command_version: Version |
|
1160 | text_scm_command_version: Version | |
1160 | text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification. |
|
1161 | text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification. | |
1161 | text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration. |
|
1162 | text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration. | |
1162 | text_issue_conflict_resolution_overwrite: "Appliquer quand même ma mise à jour (les notes précédentes seront conservées mais des changements pourront être écrasés)" |
|
1163 | text_issue_conflict_resolution_overwrite: "Appliquer quand même ma mise à jour (les notes précédentes seront conservées mais des changements pourront être écrasés)" | |
1163 | text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements" |
|
1164 | text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements" | |
1164 | text_issue_conflict_resolution_cancel: "Annuler ma mise à jour et réafficher %{link}" |
|
1165 | text_issue_conflict_resolution_cancel: "Annuler ma mise à jour et réafficher %{link}" | |
1165 | text_account_destroy_confirmation: "Êtes-vous sûr de vouloir continuer ?\nVotre compte sera définitivement supprimé, sans aucune possibilité de le réactiver." |
|
1166 | text_account_destroy_confirmation: "Êtes-vous sûr de vouloir continuer ?\nVotre compte sera définitivement supprimé, sans aucune possibilité de le réactiver." | |
1166 | text_session_expiration_settings: "Attention : le changement de ces paramètres peut entrainer l'expiration des sessions utilisateurs en cours, y compris la vôtre." |
|
1167 | text_session_expiration_settings: "Attention : le changement de ces paramètres peut entrainer l'expiration des sessions utilisateurs en cours, y compris la vôtre." | |
1167 | text_project_closed: Ce projet est fermé et accessible en lecture seule. |
|
1168 | text_project_closed: Ce projet est fermé et accessible en lecture seule. | |
1168 | text_turning_multiple_off: "Si vous désactivez les valeurs multiples, les valeurs multiples seront supprimées pour n'en conserver qu'une par objet." |
|
1169 | text_turning_multiple_off: "Si vous désactivez les valeurs multiples, les valeurs multiples seront supprimées pour n'en conserver qu'une par objet." | |
1169 |
|
1170 | |||
1170 | default_role_manager: Manager |
|
1171 | default_role_manager: Manager | |
1171 | default_role_developer: Développeur |
|
1172 | default_role_developer: Développeur | |
1172 | default_role_reporter: Rapporteur |
|
1173 | default_role_reporter: Rapporteur | |
1173 | default_tracker_bug: Anomalie |
|
1174 | default_tracker_bug: Anomalie | |
1174 | default_tracker_feature: Evolution |
|
1175 | default_tracker_feature: Evolution | |
1175 | default_tracker_support: Assistance |
|
1176 | default_tracker_support: Assistance | |
1176 | default_issue_status_new: Nouveau |
|
1177 | default_issue_status_new: Nouveau | |
1177 | default_issue_status_in_progress: En cours |
|
1178 | default_issue_status_in_progress: En cours | |
1178 | default_issue_status_resolved: Résolu |
|
1179 | default_issue_status_resolved: Résolu | |
1179 | default_issue_status_feedback: Commentaire |
|
1180 | default_issue_status_feedback: Commentaire | |
1180 | default_issue_status_closed: Fermé |
|
1181 | default_issue_status_closed: Fermé | |
1181 | default_issue_status_rejected: Rejeté |
|
1182 | default_issue_status_rejected: Rejeté | |
1182 | default_doc_category_user: Documentation utilisateur |
|
1183 | default_doc_category_user: Documentation utilisateur | |
1183 | default_doc_category_tech: Documentation technique |
|
1184 | default_doc_category_tech: Documentation technique | |
1184 | default_priority_low: Bas |
|
1185 | default_priority_low: Bas | |
1185 | default_priority_normal: Normal |
|
1186 | default_priority_normal: Normal | |
1186 | default_priority_high: Haut |
|
1187 | default_priority_high: Haut | |
1187 | default_priority_urgent: Urgent |
|
1188 | default_priority_urgent: Urgent | |
1188 | default_priority_immediate: Immédiat |
|
1189 | default_priority_immediate: Immédiat | |
1189 | default_activity_design: Conception |
|
1190 | default_activity_design: Conception | |
1190 | default_activity_development: Développement |
|
1191 | default_activity_development: Développement | |
1191 |
|
1192 | |||
1192 | enumeration_issue_priorities: Priorités des demandes |
|
1193 | enumeration_issue_priorities: Priorités des demandes | |
1193 | enumeration_doc_categories: Catégories des documents |
|
1194 | enumeration_doc_categories: Catégories des documents | |
1194 | enumeration_activities: Activités (suivi du temps) |
|
1195 | enumeration_activities: Activités (suivi du temps) | |
1195 | enumeration_system_activity: Activité système |
|
1196 | enumeration_system_activity: Activité système | |
1196 | description_filter: Filtre |
|
1197 | description_filter: Filtre | |
1197 | description_search: Champ de recherche |
|
1198 | description_search: Champ de recherche | |
1198 | description_choose_project: Projets |
|
1199 | description_choose_project: Projets | |
1199 | description_project_scope: Périmètre de recherche |
|
1200 | description_project_scope: Périmètre de recherche | |
1200 | description_notes: Notes |
|
1201 | description_notes: Notes | |
1201 | description_message_content: Contenu du message |
|
1202 | description_message_content: Contenu du message | |
1202 | description_query_sort_criteria_attribute: Critère de tri |
|
1203 | description_query_sort_criteria_attribute: Critère de tri | |
1203 | description_query_sort_criteria_direction: Ordre de tri |
|
1204 | description_query_sort_criteria_direction: Ordre de tri | |
1204 | description_user_mail_notification: Option de notification |
|
1205 | description_user_mail_notification: Option de notification | |
1205 | description_available_columns: Colonnes disponibles |
|
1206 | description_available_columns: Colonnes disponibles | |
1206 | description_selected_columns: Colonnes sélectionnées |
|
1207 | description_selected_columns: Colonnes sélectionnées | |
1207 | description_all_columns: Toutes les colonnes |
|
1208 | description_all_columns: Toutes les colonnes | |
1208 | description_issue_category_reassign: Choisir une catégorie |
|
1209 | description_issue_category_reassign: Choisir une catégorie | |
1209 | description_wiki_subpages_reassign: Choisir une nouvelle page parent |
|
1210 | description_wiki_subpages_reassign: Choisir une nouvelle page parent | |
1210 | description_date_range_list: Choisir une période prédéfinie |
|
1211 | description_date_range_list: Choisir une période prédéfinie | |
1211 | description_date_range_interval: Choisir une période |
|
1212 | description_date_range_interval: Choisir une période | |
1212 | description_date_from: Date de début |
|
1213 | description_date_from: Date de début | |
1213 | description_date_to: Date de fin |
|
1214 | description_date_to: Date de fin | |
1214 | text_repository_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisés.<br />Un fois sauvegardé, l''identifiant ne pourra plus être modifié.' |
|
1215 | text_repository_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et tirets bas sont autorisés.<br />Un fois sauvegardé, l''identifiant ne pourra plus être modifié.' | |
1215 | label_parent_task_attributes_derived: Calculé à partir des sous-tâches |
|
1216 | label_parent_task_attributes_derived: Calculé à partir des sous-tâches | |
1216 | label_parent_task_attributes_independent: Indépendent des sous-tâches |
|
1217 | label_parent_task_attributes_independent: Indépendent des sous-tâches | |
1217 | mail_subject_security_notification: Notification de sécurité |
|
1218 | mail_subject_security_notification: Notification de sécurité | |
1218 | mail_body_security_notification_change: ! '%{field} modifié(e).' |
|
1219 | mail_body_security_notification_change: ! '%{field} modifié(e).' | |
1219 | mail_body_security_notification_change_to: ! '%{field} changé(e) en %{value}.' |
|
1220 | mail_body_security_notification_change_to: ! '%{field} changé(e) en %{value}.' | |
1220 | mail_body_security_notification_add: ! '%{field} %{value} ajouté(e).' |
|
1221 | mail_body_security_notification_add: ! '%{field} %{value} ajouté(e).' | |
1221 | mail_body_security_notification_remove: ! '%{field} %{value} supprimé(e).' |
|
1222 | mail_body_security_notification_remove: ! '%{field} %{value} supprimé(e).' | |
1222 | mail_body_security_notification_notify_enabled: Les notifications ont été activées pour l'adresse %{value} |
|
1223 | mail_body_security_notification_notify_enabled: Les notifications ont été activées pour l'adresse %{value} | |
1223 | mail_body_security_notification_notify_disabled: Les notifications ont été désactivées pour l'adresse %{value} |
|
1224 | mail_body_security_notification_notify_disabled: Les notifications ont été désactivées pour l'adresse %{value} | |
1224 | field_remote_ip: Adresse IP |
|
1225 | field_remote_ip: Adresse IP | |
1225 | label_no_preview: No preview available |
|
1226 | label_no_preview: No preview available |
1 | NO CONTENT: modified file |
|
NO CONTENT: modified file | ||
The requested commit or file is too big and content was truncated. Show full diff |
General Comments 0
You need to be logged in to leave comments.
Login now