##// END OF EJS Templates
Handle time entries on subtasks and prevent from reassigning an issue that is going to be deleted (#24718, #24693)....
Jean-Philippe Lang -
r15736:987ca8cc2af0
parent child
Show More

The requested changes are too big and content was truncated. Show full diff

@@ -1,568 +1,575
1 1 # Redmine - project management software
2 2 # Copyright (C) 2006-2016 Jean-Philippe Lang
3 3 #
4 4 # This program is free software; you can redistribute it and/or
5 5 # modify it under the terms of the GNU General Public License
6 6 # as published by the Free Software Foundation; either version 2
7 7 # of the License, or (at your option) any later version.
8 8 #
9 9 # This program is distributed in the hope that it will be useful,
10 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 # GNU General Public License for more details.
13 13 #
14 14 # You should have received a copy of the GNU General Public License
15 15 # along with this program; if not, write to the Free Software
16 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 17
18 18 class IssuesController < ApplicationController
19 19 default_search_scope :issues
20 20
21 21 before_action :find_issue, :only => [:show, :edit, :update]
22 22 before_action :find_issues, :only => [:bulk_edit, :bulk_update, :destroy]
23 23 before_action :authorize, :except => [:index, :new, :create]
24 24 before_action :find_optional_project, :only => [:index, :new, :create]
25 25 before_action :build_new_issue_from_params, :only => [:new, :create]
26 26 accept_rss_auth :index, :show
27 27 accept_api_auth :index, :show, :create, :update, :destroy
28 28
29 29 rescue_from Query::StatementInvalid, :with => :query_statement_invalid
30 30
31 31 helper :journals
32 32 helper :projects
33 33 helper :custom_fields
34 34 helper :issue_relations
35 35 helper :watchers
36 36 helper :attachments
37 37 helper :queries
38 38 include QueriesHelper
39 39 helper :repositories
40 40 helper :sort
41 41 include SortHelper
42 42 helper :timelog
43 43
44 44 def index
45 45 retrieve_query
46 46 sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria)
47 47 sort_update(@query.sortable_columns)
48 48 @query.sort_criteria = sort_criteria.to_a
49 49
50 50 if @query.valid?
51 51 case params[:format]
52 52 when 'csv', 'pdf'
53 53 @limit = Setting.issues_export_limit.to_i
54 54 if params[:columns] == 'all'
55 55 @query.column_names = @query.available_inline_columns.map(&:name)
56 56 end
57 57 when 'atom'
58 58 @limit = Setting.feeds_limit.to_i
59 59 when 'xml', 'json'
60 60 @offset, @limit = api_offset_and_limit
61 61 @query.column_names = %w(author)
62 62 else
63 63 @limit = per_page_option
64 64 end
65 65
66 66 @issue_count = @query.issue_count
67 67 @issue_pages = Paginator.new @issue_count, @limit, params['page']
68 68 @offset ||= @issue_pages.offset
69 69 @issues = @query.issues(:include => [:assigned_to, :tracker, :priority, :category, :fixed_version],
70 70 :order => sort_clause,
71 71 :offset => @offset,
72 72 :limit => @limit)
73 73 @issue_count_by_group = @query.issue_count_by_group
74 74
75 75 respond_to do |format|
76 76 format.html { render :template => 'issues/index', :layout => !request.xhr? }
77 77 format.api {
78 78 Issue.load_visible_relations(@issues) if include_in_api_response?('relations')
79 79 }
80 80 format.atom { render_feed(@issues, :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") }
81 81 format.csv { send_data(query_to_csv(@issues, @query, params[:csv]), :type => 'text/csv; header=present', :filename => 'issues.csv') }
82 82 format.pdf { send_file_headers! :type => 'application/pdf', :filename => 'issues.pdf' }
83 83 end
84 84 else
85 85 respond_to do |format|
86 86 format.html { render(:template => 'issues/index', :layout => !request.xhr?) }
87 87 format.any(:atom, :csv, :pdf) { head 422 }
88 88 format.api { render_validation_errors(@query) }
89 89 end
90 90 end
91 91 rescue ActiveRecord::RecordNotFound
92 92 render_404
93 93 end
94 94
95 95 def show
96 96 @journals = @issue.journals.
97 97 preload(:details).
98 98 preload(:user => :email_address).
99 99 reorder(:created_on, :id).to_a
100 100 @journals.each_with_index {|j,i| j.indice = i+1}
101 101 @journals.reject!(&:private_notes?) unless User.current.allowed_to?(:view_private_notes, @issue.project)
102 102 Journal.preload_journals_details_custom_fields(@journals)
103 103 @journals.select! {|journal| journal.notes? || journal.visible_details.any?}
104 104 @journals.reverse! if User.current.wants_comments_in_reverse_order?
105 105
106 106 @changesets = @issue.changesets.visible.preload(:repository, :user).to_a
107 107 @changesets.reverse! if User.current.wants_comments_in_reverse_order?
108 108
109 109 @relations = @issue.relations.select {|r| r.other_issue(@issue) && r.other_issue(@issue).visible? }
110 110 @allowed_statuses = @issue.new_statuses_allowed_to(User.current)
111 111 @priorities = IssuePriority.active
112 112 @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project)
113 113 @relation = IssueRelation.new
114 114
115 115 respond_to do |format|
116 116 format.html {
117 117 retrieve_previous_and_next_issue_ids
118 118 render :template => 'issues/show'
119 119 }
120 120 format.api
121 121 format.atom { render :template => 'journals/index', :layout => false, :content_type => 'application/atom+xml' }
122 122 format.pdf {
123 123 send_file_headers! :type => 'application/pdf', :filename => "#{@project.identifier}-#{@issue.id}.pdf"
124 124 }
125 125 end
126 126 end
127 127
128 128 def new
129 129 respond_to do |format|
130 130 format.html { render :action => 'new', :layout => !request.xhr? }
131 131 format.js
132 132 end
133 133 end
134 134
135 135 def create
136 136 unless User.current.allowed_to?(:add_issues, @issue.project, :global => true)
137 137 raise ::Unauthorized
138 138 end
139 139 call_hook(:controller_issues_new_before_save, { :params => params, :issue => @issue })
140 140 @issue.save_attachments(params[:attachments] || (params[:issue] && params[:issue][:uploads]))
141 141 if @issue.save
142 142 call_hook(:controller_issues_new_after_save, { :params => params, :issue => @issue})
143 143 respond_to do |format|
144 144 format.html {
145 145 render_attachment_warning_if_needed(@issue)
146 146 flash[:notice] = l(:notice_issue_successful_create, :id => view_context.link_to("##{@issue.id}", issue_path(@issue), :title => @issue.subject))
147 147 redirect_after_create
148 148 }
149 149 format.api { render :action => 'show', :status => :created, :location => issue_url(@issue) }
150 150 end
151 151 return
152 152 else
153 153 respond_to do |format|
154 154 format.html {
155 155 if @issue.project.nil?
156 156 render_error :status => 422
157 157 else
158 158 render :action => 'new'
159 159 end
160 160 }
161 161 format.api { render_validation_errors(@issue) }
162 162 end
163 163 end
164 164 end
165 165
166 166 def edit
167 167 return unless update_issue_from_params
168 168
169 169 respond_to do |format|
170 170 format.html { }
171 171 format.js
172 172 end
173 173 end
174 174
175 175 def update
176 176 return unless update_issue_from_params
177 177 @issue.save_attachments(params[:attachments] || (params[:issue] && params[:issue][:uploads]))
178 178 saved = false
179 179 begin
180 180 saved = save_issue_with_child_records
181 181 rescue ActiveRecord::StaleObjectError
182 182 @conflict = true
183 183 if params[:last_journal_id]
184 184 @conflict_journals = @issue.journals_after(params[:last_journal_id]).to_a
185 185 @conflict_journals.reject!(&:private_notes?) unless User.current.allowed_to?(:view_private_notes, @issue.project)
186 186 end
187 187 end
188 188
189 189 if saved
190 190 render_attachment_warning_if_needed(@issue)
191 191 flash[:notice] = l(:notice_successful_update) unless @issue.current_journal.new_record?
192 192
193 193 respond_to do |format|
194 194 format.html { redirect_back_or_default issue_path(@issue, previous_and_next_issue_ids_params) }
195 195 format.api { render_api_ok }
196 196 end
197 197 else
198 198 respond_to do |format|
199 199 format.html { render :action => 'edit' }
200 200 format.api { render_validation_errors(@issue) }
201 201 end
202 202 end
203 203 end
204 204
205 205 # Bulk edit/copy a set of issues
206 206 def bulk_edit
207 207 @issues.sort!
208 208 @copy = params[:copy].present?
209 209 @notes = params[:notes]
210 210
211 211 if @copy
212 212 unless User.current.allowed_to?(:copy_issues, @projects)
213 213 raise ::Unauthorized
214 214 end
215 215 else
216 216 unless @issues.all?(&:attributes_editable?)
217 217 raise ::Unauthorized
218 218 end
219 219 end
220 220
221 221 edited_issues = Issue.where(:id => @issues.map(&:id)).to_a
222 222
223 223 @allowed_projects = Issue.allowed_target_projects
224 224 if params[:issue]
225 225 @target_project = @allowed_projects.detect {|p| p.id.to_s == params[:issue][:project_id].to_s}
226 226 if @target_project
227 227 target_projects = [@target_project]
228 228 edited_issues.each {|issue| issue.project = @target_project}
229 229 end
230 230 end
231 231 target_projects ||= @projects
232 232
233 233 @trackers = target_projects.map {|p| Issue.allowed_target_trackers(p) }.reduce(:&)
234 234 if params[:issue]
235 235 @target_tracker = @trackers.detect {|t| t.id.to_s == params[:issue][:tracker_id].to_s}
236 236 if @target_tracker
237 237 edited_issues.each {|issue| issue.tracker = @target_tracker}
238 238 end
239 239 end
240 240
241 241 if @copy
242 242 # Copied issues will get their default statuses
243 243 @available_statuses = []
244 244 else
245 245 @available_statuses = edited_issues.map(&:new_statuses_allowed_to).reduce(:&)
246 246 end
247 247 if params[:issue]
248 248 @target_status = @available_statuses.detect {|t| t.id.to_s == params[:issue][:status_id].to_s}
249 249 if @target_status
250 250 edited_issues.each {|issue| issue.status = @target_status}
251 251 end
252 252 end
253 253
254 254 @custom_fields = edited_issues.map{|i|i.editable_custom_fields}.reduce(:&).select {|field| field.format.bulk_edit_supported}
255 255 @assignables = target_projects.map(&:assignable_users).reduce(:&)
256 256 @versions = target_projects.map {|p| p.shared_versions.open}.reduce(:&)
257 257 @categories = target_projects.map {|p| p.issue_categories}.reduce(:&)
258 258 if @copy
259 259 @attachments_present = @issues.detect {|i| i.attachments.any?}.present?
260 260 @subtasks_present = @issues.detect {|i| !i.leaf?}.present?
261 261 end
262 262
263 263 @safe_attributes = edited_issues.map(&:safe_attribute_names).reduce(:&)
264 264
265 265 @issue_params = params[:issue] || {}
266 266 @issue_params[:custom_field_values] ||= {}
267 267 end
268 268
269 269 def bulk_update
270 270 @issues.sort!
271 271 @copy = params[:copy].present?
272 272
273 273 attributes = parse_params_for_bulk_update(params[:issue])
274 274 copy_subtasks = (params[:copy_subtasks] == '1')
275 275 copy_attachments = (params[:copy_attachments] == '1')
276 276
277 277 if @copy
278 278 unless User.current.allowed_to?(:copy_issues, @projects)
279 279 raise ::Unauthorized
280 280 end
281 281 target_projects = @projects
282 282 if attributes['project_id'].present?
283 283 target_projects = Project.where(:id => attributes['project_id']).to_a
284 284 end
285 285 unless User.current.allowed_to?(:add_issues, target_projects)
286 286 raise ::Unauthorized
287 287 end
288 288 else
289 289 unless @issues.all?(&:attributes_editable?)
290 290 raise ::Unauthorized
291 291 end
292 292 end
293 293
294 294 unsaved_issues = []
295 295 saved_issues = []
296 296
297 297 if @copy && copy_subtasks
298 298 # Descendant issues will be copied with the parent task
299 299 # Don't copy them twice
300 300 @issues.reject! {|issue| @issues.detect {|other| issue.is_descendant_of?(other)}}
301 301 end
302 302
303 303 @issues.each do |orig_issue|
304 304 orig_issue.reload
305 305 if @copy
306 306 issue = orig_issue.copy({},
307 307 :attachments => copy_attachments,
308 308 :subtasks => copy_subtasks,
309 309 :link => link_copy?(params[:link_copy])
310 310 )
311 311 else
312 312 issue = orig_issue
313 313 end
314 314 journal = issue.init_journal(User.current, params[:notes])
315 315 issue.safe_attributes = attributes
316 316 call_hook(:controller_issues_bulk_edit_before_save, { :params => params, :issue => issue })
317 317 if issue.save
318 318 saved_issues << issue
319 319 else
320 320 unsaved_issues << orig_issue
321 321 end
322 322 end
323 323
324 324 if unsaved_issues.empty?
325 325 flash[:notice] = l(:notice_successful_update) unless saved_issues.empty?
326 326 if params[:follow]
327 327 if @issues.size == 1 && saved_issues.size == 1
328 328 redirect_to issue_path(saved_issues.first)
329 329 elsif saved_issues.map(&:project).uniq.size == 1
330 330 redirect_to project_issues_path(saved_issues.map(&:project).first)
331 331 end
332 332 else
333 333 redirect_back_or_default _project_issues_path(@project)
334 334 end
335 335 else
336 336 @saved_issues = @issues
337 337 @unsaved_issues = unsaved_issues
338 338 @issues = Issue.visible.where(:id => @unsaved_issues.map(&:id)).to_a
339 339 bulk_edit
340 340 render :action => 'bulk_edit'
341 341 end
342 342 end
343 343
344 344 def destroy
345 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 352 if @hours > 0
348 353 case params[:todo]
349 354 when 'destroy'
350 355 # nothing to do
351 356 when 'nullify'
352 TimeEntry.where(['issue_id IN (?)', @issues]).update_all('issue_id = NULL')
357 time_entries.update_all(:issue_id => nil)
353 358 when 'reassign'
354 359 reassign_to = @project.issues.find_by_id(params[:reassign_to_id])
355 360 if reassign_to.nil?
356 361 flash.now[:error] = l(:error_issue_not_found_in_project)
357 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 366 else
359 TimeEntry.where(['issue_id IN (?)', @issues]).
360 update_all("issue_id = #{reassign_to.id}")
367 time_entries.update_all(:issue_id => reassign_to.id)
361 368 end
362 369 else
363 370 # display the destroy form if it's a user request
364 371 return unless api_request?
365 372 end
366 373 end
367 374 @issues.each do |issue|
368 375 begin
369 376 issue.reload.destroy
370 377 rescue ::ActiveRecord::RecordNotFound # raised by #reload if issue no longer exists
371 378 # nothing to do, issue was already deleted (eg. by a parent)
372 379 end
373 380 end
374 381 respond_to do |format|
375 382 format.html { redirect_back_or_default _project_issues_path(@project) }
376 383 format.api { render_api_ok }
377 384 end
378 385 end
379 386
380 387 # Overrides Redmine::MenuManager::MenuController::ClassMethods for
381 388 # when the "New issue" tab is enabled
382 389 def current_menu_item
383 390 if Setting.new_item_menu_tab == '1' && [:new, :create].include?(action_name.to_sym)
384 391 :new_issue
385 392 else
386 393 super
387 394 end
388 395 end
389 396
390 397 private
391 398
392 399 def retrieve_previous_and_next_issue_ids
393 400 if params[:prev_issue_id].present? || params[:next_issue_id].present?
394 401 @prev_issue_id = params[:prev_issue_id].presence.try(:to_i)
395 402 @next_issue_id = params[:next_issue_id].presence.try(:to_i)
396 403 @issue_position = params[:issue_position].presence.try(:to_i)
397 404 @issue_count = params[:issue_count].presence.try(:to_i)
398 405 else
399 406 retrieve_query_from_session
400 407 if @query
401 408 sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria)
402 409 sort_update(@query.sortable_columns, 'issues_index_sort')
403 410 limit = 500
404 411 issue_ids = @query.issue_ids(:order => sort_clause, :limit => (limit + 1), :include => [:assigned_to, :tracker, :priority, :category, :fixed_version])
405 412 if (idx = issue_ids.index(@issue.id)) && idx < limit
406 413 if issue_ids.size < 500
407 414 @issue_position = idx + 1
408 415 @issue_count = issue_ids.size
409 416 end
410 417 @prev_issue_id = issue_ids[idx - 1] if idx > 0
411 418 @next_issue_id = issue_ids[idx + 1] if idx < (issue_ids.size - 1)
412 419 end
413 420 end
414 421 end
415 422 end
416 423
417 424 def previous_and_next_issue_ids_params
418 425 {
419 426 :prev_issue_id => params[:prev_issue_id],
420 427 :next_issue_id => params[:next_issue_id],
421 428 :issue_position => params[:issue_position],
422 429 :issue_count => params[:issue_count]
423 430 }.reject {|k,v| k.blank?}
424 431 end
425 432
426 433 # Used by #edit and #update to set some common instance variables
427 434 # from the params
428 435 def update_issue_from_params
429 436 @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project)
430 437 if params[:time_entry]
431 438 @time_entry.safe_attributes = params[:time_entry]
432 439 end
433 440
434 441 @issue.init_journal(User.current)
435 442
436 443 issue_attributes = params[:issue]
437 444 if issue_attributes && params[:conflict_resolution]
438 445 case params[:conflict_resolution]
439 446 when 'overwrite'
440 447 issue_attributes = issue_attributes.dup
441 448 issue_attributes.delete(:lock_version)
442 449 when 'add_notes'
443 450 issue_attributes = issue_attributes.slice(:notes, :private_notes)
444 451 when 'cancel'
445 452 redirect_to issue_path(@issue)
446 453 return false
447 454 end
448 455 end
449 456 @issue.safe_attributes = issue_attributes
450 457 @priorities = IssuePriority.active
451 458 @allowed_statuses = @issue.new_statuses_allowed_to(User.current)
452 459 true
453 460 end
454 461
455 462 # Used by #new and #create to build a new issue from the params
456 463 # The new issue will be copied from an existing one if copy_from parameter is given
457 464 def build_new_issue_from_params
458 465 @issue = Issue.new
459 466 if params[:copy_from]
460 467 begin
461 468 @issue.init_journal(User.current)
462 469 @copy_from = Issue.visible.find(params[:copy_from])
463 470 unless User.current.allowed_to?(:copy_issues, @copy_from.project)
464 471 raise ::Unauthorized
465 472 end
466 473 @link_copy = link_copy?(params[:link_copy]) || request.get?
467 474 @copy_attachments = params[:copy_attachments].present? || request.get?
468 475 @copy_subtasks = params[:copy_subtasks].present? || request.get?
469 476 @issue.copy_from(@copy_from, :attachments => @copy_attachments, :subtasks => @copy_subtasks, :link => @link_copy)
470 477 @issue.parent_issue_id = @copy_from.parent_id
471 478 rescue ActiveRecord::RecordNotFound
472 479 render_404
473 480 return
474 481 end
475 482 end
476 483 @issue.project = @project
477 484 if request.get?
478 485 @issue.project ||= @issue.allowed_target_projects.first
479 486 end
480 487 @issue.author ||= User.current
481 488 @issue.start_date ||= User.current.today if Setting.default_issue_start_date_to_creation_date?
482 489
483 490 attrs = (params[:issue] || {}).deep_dup
484 491 if action_name == 'new' && params[:was_default_status] == attrs[:status_id]
485 492 attrs.delete(:status_id)
486 493 end
487 494 if action_name == 'new' && params[:form_update_triggered_by] == 'issue_project_id'
488 495 # Discard submitted version when changing the project on the issue form
489 496 # so we can use the default version for the new project
490 497 attrs.delete(:fixed_version_id)
491 498 end
492 499 @issue.safe_attributes = attrs
493 500
494 501 if @issue.project
495 502 @issue.tracker ||= @issue.allowed_target_trackers.first
496 503 if @issue.tracker.nil?
497 504 if @issue.project.trackers.any?
498 505 # None of the project trackers is allowed to the user
499 506 render_error :message => l(:error_no_tracker_allowed_for_new_issue_in_project), :status => 403
500 507 else
501 508 # Project has no trackers
502 509 render_error l(:error_no_tracker_in_project)
503 510 end
504 511 return false
505 512 end
506 513 if @issue.status.nil?
507 514 render_error l(:error_no_default_issue_status)
508 515 return false
509 516 end
510 517 elsif request.get?
511 518 render_error :message => l(:error_no_projects_with_tracker_allowed_for_new_issue), :status => 403
512 519 return false
513 520 end
514 521
515 522 @priorities = IssuePriority.active
516 523 @allowed_statuses = @issue.new_statuses_allowed_to(User.current)
517 524 end
518 525
519 526 # Saves @issue and a time_entry from the parameters
520 527 def save_issue_with_child_records
521 528 Issue.transaction do
522 529 if params[:time_entry] && (params[:time_entry][:hours].present? || params[:time_entry][:comments].present?) && User.current.allowed_to?(:log_time, @issue.project)
523 530 time_entry = @time_entry || TimeEntry.new
524 531 time_entry.project = @issue.project
525 532 time_entry.issue = @issue
526 533 time_entry.user = User.current
527 534 time_entry.spent_on = User.current.today
528 535 time_entry.attributes = params[:time_entry]
529 536 @issue.time_entries << time_entry
530 537 end
531 538
532 539 call_hook(:controller_issues_edit_before_save, { :params => params, :issue => @issue, :time_entry => time_entry, :journal => @issue.current_journal})
533 540 if @issue.save
534 541 call_hook(:controller_issues_edit_after_save, { :params => params, :issue => @issue, :time_entry => time_entry, :journal => @issue.current_journal})
535 542 else
536 543 raise ActiveRecord::Rollback
537 544 end
538 545 end
539 546 end
540 547
541 548 # Returns true if the issue copy should be linked
542 549 # to the original issue
543 550 def link_copy?(param)
544 551 case Setting.link_copied_issue
545 552 when 'yes'
546 553 true
547 554 when 'no'
548 555 false
549 556 when 'ask'
550 557 param == '1'
551 558 end
552 559 end
553 560
554 561 # Redirects user after a successful issue creation
555 562 def redirect_after_create
556 563 if params[:continue]
557 564 attrs = {:tracker_id => @issue.tracker, :parent_issue_id => @issue.parent_issue_id}.reject {|k,v| v.nil?}
558 565 if params[:project_id]
559 566 redirect_to new_project_issue_path(@issue.project, :issue => attrs)
560 567 else
561 568 attrs.merge! :project_id => @issue.project_id
562 569 redirect_to new_issue_path(:issue => attrs)
563 570 end
564 571 else
565 572 redirect_to issue_path(@issue)
566 573 end
567 574 end
568 575 end
@@ -1,1755 +1,1764
1 1 # Redmine - project management software
2 2 # Copyright (C) 2006-2016 Jean-Philippe Lang
3 3 #
4 4 # This program is free software; you can redistribute it and/or
5 5 # modify it under the terms of the GNU General Public License
6 6 # as published by the Free Software Foundation; either version 2
7 7 # of the License, or (at your option) any later version.
8 8 #
9 9 # This program is distributed in the hope that it will be useful,
10 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 # GNU General Public License for more details.
13 13 #
14 14 # You should have received a copy of the GNU General Public License
15 15 # along with this program; if not, write to the Free Software
16 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 17
18 18 class Issue < ActiveRecord::Base
19 19 include Redmine::SafeAttributes
20 20 include Redmine::Utils::DateCalculation
21 21 include Redmine::I18n
22 22 before_save :set_parent_id
23 23 include Redmine::NestedSet::IssueNestedSet
24 24
25 25 belongs_to :project
26 26 belongs_to :tracker
27 27 belongs_to :status, :class_name => 'IssueStatus'
28 28 belongs_to :author, :class_name => 'User'
29 29 belongs_to :assigned_to, :class_name => 'Principal'
30 30 belongs_to :fixed_version, :class_name => 'Version'
31 31 belongs_to :priority, :class_name => 'IssuePriority'
32 32 belongs_to :category, :class_name => 'IssueCategory'
33 33
34 34 has_many :journals, :as => :journalized, :dependent => :destroy, :inverse_of => :journalized
35 35 has_many :visible_journals,
36 36 lambda {where(["(#{Journal.table_name}.private_notes = ? OR (#{Project.allowed_to_condition(User.current, :view_private_notes)}))", false])},
37 37 :class_name => 'Journal',
38 38 :as => :journalized
39 39
40 40 has_many :time_entries, :dependent => :destroy
41 41 has_and_belongs_to_many :changesets, lambda {order("#{Changeset.table_name}.committed_on ASC, #{Changeset.table_name}.id ASC")}
42 42
43 43 has_many :relations_from, :class_name => 'IssueRelation', :foreign_key => 'issue_from_id', :dependent => :delete_all
44 44 has_many :relations_to, :class_name => 'IssueRelation', :foreign_key => 'issue_to_id', :dependent => :delete_all
45 45
46 46 acts_as_attachable :after_add => :attachment_added, :after_remove => :attachment_removed
47 47 acts_as_customizable
48 48 acts_as_watchable
49 49 acts_as_searchable :columns => ['subject', "#{table_name}.description"],
50 50 :preload => [:project, :status, :tracker],
51 51 :scope => lambda {|options| options[:open_issues] ? self.open : self.all}
52 52
53 53 acts_as_event :title => Proc.new {|o| "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"},
54 54 :url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.id}},
55 55 :type => Proc.new {|o| 'issue' + (o.closed? ? '-closed' : '') }
56 56
57 57 acts_as_activity_provider :scope => preload(:project, :author, :tracker, :status),
58 58 :author_key => :author_id
59 59
60 60 DONE_RATIO_OPTIONS = %w(issue_field issue_status)
61 61
62 62 attr_accessor :deleted_attachment_ids
63 63 attr_reader :current_journal
64 64 delegate :notes, :notes=, :private_notes, :private_notes=, :to => :current_journal, :allow_nil => true
65 65
66 66 validates_presence_of :subject, :project, :tracker
67 67 validates_presence_of :priority, :if => Proc.new {|issue| issue.new_record? || issue.priority_id_changed?}
68 68 validates_presence_of :status, :if => Proc.new {|issue| issue.new_record? || issue.status_id_changed?}
69 69 validates_presence_of :author, :if => Proc.new {|issue| issue.new_record? || issue.author_id_changed?}
70 70
71 71 validates_length_of :subject, :maximum => 255
72 72 validates_inclusion_of :done_ratio, :in => 0..100
73 73 validates :estimated_hours, :numericality => {:greater_than_or_equal_to => 0, :allow_nil => true, :message => :invalid}
74 74 validates :start_date, :date => true
75 75 validates :due_date, :date => true
76 76 validate :validate_issue, :validate_required_fields
77 77 attr_protected :id
78 78
79 79 scope :visible, lambda {|*args|
80 80 joins(:project).
81 81 where(Issue.visible_condition(args.shift || User.current, *args))
82 82 }
83 83
84 84 scope :open, lambda {|*args|
85 85 is_closed = args.size > 0 ? !args.first : false
86 86 joins(:status).
87 87 where("#{IssueStatus.table_name}.is_closed = ?", is_closed)
88 88 }
89 89
90 90 scope :recently_updated, lambda { order("#{Issue.table_name}.updated_on DESC") }
91 91 scope :on_active_project, lambda {
92 92 joins(:project).
93 93 where("#{Project.table_name}.status = ?", Project::STATUS_ACTIVE)
94 94 }
95 95 scope :fixed_version, lambda {|versions|
96 96 ids = [versions].flatten.compact.map {|v| v.is_a?(Version) ? v.id : v}
97 97 ids.any? ? where(:fixed_version_id => ids) : where('1=0')
98 98 }
99 99 scope :assigned_to, lambda {|arg|
100 100 arg = Array(arg).uniq
101 101 ids = arg.map {|p| p.is_a?(Principal) ? p.id : p}
102 102 ids += arg.select {|p| p.is_a?(User)}.map(&:group_ids).flatten.uniq
103 103 ids.compact!
104 104 ids.any? ? where(:assigned_to_id => ids) : none
105 105 }
106 106
107 107 before_validation :clear_disabled_fields
108 108 before_create :default_assign
109 109 before_save :close_duplicates, :update_done_ratio_from_issue_status,
110 110 :force_updated_on_change, :update_closed_on, :set_assigned_to_was
111 111 after_save {|issue| issue.send :after_project_change if !issue.id_changed? && issue.project_id_changed?}
112 112 after_save :reschedule_following_issues, :update_nested_set_attributes,
113 113 :update_parent_attributes, :delete_selected_attachments, :create_journal
114 114 # Should be after_create but would be called before previous after_save callbacks
115 115 after_save :after_create_from_copy
116 116 after_destroy :update_parent_attributes
117 117 after_create :send_notification
118 118 # Keep it at the end of after_save callbacks
119 119 after_save :clear_assigned_to_was
120 120
121 121 # Returns a SQL conditions string used to find all issues visible by the specified user
122 122 def self.visible_condition(user, options={})
123 123 Project.allowed_to_condition(user, :view_issues, options) do |role, user|
124 124 sql = if user.id && user.logged?
125 125 case role.issues_visibility
126 126 when 'all'
127 127 '1=1'
128 128 when 'default'
129 129 user_ids = [user.id] + user.groups.map(&:id).compact
130 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 131 when 'own'
132 132 user_ids = [user.id] + user.groups.map(&:id).compact
133 133 "(#{table_name}.author_id = #{user.id} OR #{table_name}.assigned_to_id IN (#{user_ids.join(',')}))"
134 134 else
135 135 '1=0'
136 136 end
137 137 else
138 138 "(#{table_name}.is_private = #{connection.quoted_false})"
139 139 end
140 140 unless role.permissions_all_trackers?(:view_issues)
141 141 tracker_ids = role.permissions_tracker_ids(:view_issues)
142 142 if tracker_ids.any?
143 143 sql = "(#{sql} AND #{table_name}.tracker_id IN (#{tracker_ids.join(',')}))"
144 144 else
145 145 sql = '1=0'
146 146 end
147 147 end
148 148 sql
149 149 end
150 150 end
151 151
152 152 # Returns true if usr or current user is allowed to view the issue
153 153 def visible?(usr=nil)
154 154 (usr || User.current).allowed_to?(:view_issues, self.project) do |role, user|
155 155 visible = if user.logged?
156 156 case role.issues_visibility
157 157 when 'all'
158 158 true
159 159 when 'default'
160 160 !self.is_private? || (self.author == user || user.is_or_belongs_to?(assigned_to))
161 161 when 'own'
162 162 self.author == user || user.is_or_belongs_to?(assigned_to)
163 163 else
164 164 false
165 165 end
166 166 else
167 167 !self.is_private?
168 168 end
169 169 unless role.permissions_all_trackers?(:view_issues)
170 170 visible &&= role.permissions_tracker_ids?(:view_issues, tracker_id)
171 171 end
172 172 visible
173 173 end
174 174 end
175 175
176 176 # Returns true if user or current user is allowed to edit or add notes to the issue
177 177 def editable?(user=User.current)
178 178 attributes_editable?(user) || notes_addable?(user)
179 179 end
180 180
181 181 # Returns true if user or current user is allowed to edit the issue
182 182 def attributes_editable?(user=User.current)
183 183 user_tracker_permission?(user, :edit_issues)
184 184 end
185 185
186 186 # Overrides Redmine::Acts::Attachable::InstanceMethods#attachments_editable?
187 187 def attachments_editable?(user=User.current)
188 188 attributes_editable?(user)
189 189 end
190 190
191 191 # Returns true if user or current user is allowed to add notes to the issue
192 192 def notes_addable?(user=User.current)
193 193 user_tracker_permission?(user, :add_issue_notes)
194 194 end
195 195
196 196 # Returns true if user or current user is allowed to delete the issue
197 197 def deletable?(user=User.current)
198 198 user_tracker_permission?(user, :delete_issues)
199 199 end
200 200
201 201 def initialize(attributes=nil, *args)
202 202 super
203 203 if new_record?
204 204 # set default values for new records only
205 205 self.priority ||= IssuePriority.default
206 206 self.watcher_user_ids = []
207 207 end
208 208 end
209 209
210 210 def create_or_update
211 211 super
212 212 ensure
213 213 @status_was = nil
214 214 end
215 215 private :create_or_update
216 216
217 217 # AR#Persistence#destroy would raise and RecordNotFound exception
218 218 # if the issue was already deleted or updated (non matching lock_version).
219 219 # This is a problem when bulk deleting issues or deleting a project
220 220 # (because an issue may already be deleted if its parent was deleted
221 221 # first).
222 222 # The issue is reloaded by the nested_set before being deleted so
223 223 # the lock_version condition should not be an issue but we handle it.
224 224 def destroy
225 225 super
226 226 rescue ActiveRecord::StaleObjectError, ActiveRecord::RecordNotFound
227 227 # Stale or already deleted
228 228 begin
229 229 reload
230 230 rescue ActiveRecord::RecordNotFound
231 231 # The issue was actually already deleted
232 232 @destroyed = true
233 233 return freeze
234 234 end
235 235 # The issue was stale, retry to destroy
236 236 super
237 237 end
238 238
239 239 alias :base_reload :reload
240 240 def reload(*args)
241 241 @workflow_rule_by_attribute = nil
242 242 @assignable_versions = nil
243 243 @relations = nil
244 244 @spent_hours = nil
245 245 @total_spent_hours = nil
246 246 @total_estimated_hours = nil
247 247 base_reload(*args)
248 248 end
249 249
250 250 # Overrides Redmine::Acts::Customizable::InstanceMethods#available_custom_fields
251 251 def available_custom_fields
252 252 (project && tracker) ? (project.all_issue_custom_fields & tracker.custom_fields) : []
253 253 end
254 254
255 255 def visible_custom_field_values(user=nil)
256 256 user_real = user || User.current
257 257 custom_field_values.select do |value|
258 258 value.custom_field.visible_by?(project, user_real)
259 259 end
260 260 end
261 261
262 262 # Copies attributes from another issue, arg can be an id or an Issue
263 263 def copy_from(arg, options={})
264 264 issue = arg.is_a?(Issue) ? arg : Issue.visible.find(arg)
265 265 self.attributes = issue.attributes.dup.except("id", "root_id", "parent_id", "lft", "rgt", "created_on", "updated_on", "closed_on")
266 266 self.custom_field_values = issue.custom_field_values.inject({}) {|h,v| h[v.custom_field_id] = v.value; h}
267 267 self.status = issue.status
268 268 self.author = User.current
269 269 unless options[:attachments] == false
270 270 self.attachments = issue.attachments.map do |attachement|
271 271 attachement.copy(:container => self)
272 272 end
273 273 end
274 274 @copied_from = issue
275 275 @copy_options = options
276 276 self
277 277 end
278 278
279 279 # Returns an unsaved copy of the issue
280 280 def copy(attributes=nil, copy_options={})
281 281 copy = self.class.new.copy_from(self, copy_options)
282 282 copy.attributes = attributes if attributes
283 283 copy
284 284 end
285 285
286 286 # Returns true if the issue is a copy
287 287 def copy?
288 288 @copied_from.present?
289 289 end
290 290
291 291 def status_id=(status_id)
292 292 if status_id.to_s != self.status_id.to_s
293 293 self.status = (status_id.present? ? IssueStatus.find_by_id(status_id) : nil)
294 294 end
295 295 self.status_id
296 296 end
297 297
298 298 # Sets the status.
299 299 def status=(status)
300 300 if status != self.status
301 301 @workflow_rule_by_attribute = nil
302 302 end
303 303 association(:status).writer(status)
304 304 end
305 305
306 306 def priority_id=(pid)
307 307 self.priority = nil
308 308 write_attribute(:priority_id, pid)
309 309 end
310 310
311 311 def category_id=(cid)
312 312 self.category = nil
313 313 write_attribute(:category_id, cid)
314 314 end
315 315
316 316 def fixed_version_id=(vid)
317 317 self.fixed_version = nil
318 318 write_attribute(:fixed_version_id, vid)
319 319 end
320 320
321 321 def tracker_id=(tracker_id)
322 322 if tracker_id.to_s != self.tracker_id.to_s
323 323 self.tracker = (tracker_id.present? ? Tracker.find_by_id(tracker_id) : nil)
324 324 end
325 325 self.tracker_id
326 326 end
327 327
328 328 # Sets the tracker.
329 329 # This will set the status to the default status of the new tracker if:
330 330 # * the status was the default for the previous tracker
331 331 # * or if the status was not part of the new tracker statuses
332 332 # * or the status was nil
333 333 def tracker=(tracker)
334 334 tracker_was = self.tracker
335 335 association(:tracker).writer(tracker)
336 336 if tracker != tracker_was
337 337 if status == tracker_was.try(:default_status)
338 338 self.status = nil
339 339 elsif status && tracker && !tracker.issue_status_ids.include?(status.id)
340 340 self.status = nil
341 341 end
342 342 reassign_custom_field_values
343 343 @workflow_rule_by_attribute = nil
344 344 end
345 345 self.status ||= default_status
346 346 self.tracker
347 347 end
348 348
349 349 def project_id=(project_id)
350 350 if project_id.to_s != self.project_id.to_s
351 351 self.project = (project_id.present? ? Project.find_by_id(project_id) : nil)
352 352 end
353 353 self.project_id
354 354 end
355 355
356 356 # Sets the project.
357 357 # Unless keep_tracker argument is set to true, this will change the tracker
358 358 # to the first tracker of the new project if the previous tracker is not part
359 359 # of the new project trackers.
360 360 # This will:
361 361 # * clear the fixed_version is it's no longer valid for the new project.
362 362 # * clear the parent issue if it's no longer valid for the new project.
363 363 # * set the category to the category with the same name in the new
364 364 # project if it exists, or clear it if it doesn't.
365 365 # * for new issue, set the fixed_version to the project default version
366 366 # if it's a valid fixed_version.
367 367 def project=(project, keep_tracker=false)
368 368 project_was = self.project
369 369 association(:project).writer(project)
370 370 if project_was && project && project_was != project
371 371 @assignable_versions = nil
372 372
373 373 unless keep_tracker || project.trackers.include?(tracker)
374 374 self.tracker = project.trackers.first
375 375 end
376 376 # Reassign to the category with same name if any
377 377 if category
378 378 self.category = project.issue_categories.find_by_name(category.name)
379 379 end
380 380 # Clear the assignee if not available in the new project for new issues (eg. copy)
381 381 # For existing issue, the previous assignee is still valid, so we keep it
382 382 if new_record? && assigned_to && !assignable_users.include?(assigned_to)
383 383 self.assigned_to_id = nil
384 384 end
385 385 # Keep the fixed_version if it's still valid in the new_project
386 386 if fixed_version && fixed_version.project != project && !project.shared_versions.include?(fixed_version)
387 387 self.fixed_version = nil
388 388 end
389 389 # Clear the parent task if it's no longer valid
390 390 unless valid_parent_project?
391 391 self.parent_issue_id = nil
392 392 end
393 393 reassign_custom_field_values
394 394 @workflow_rule_by_attribute = nil
395 395 end
396 396 # Set fixed_version to the project default version if it's valid
397 397 if new_record? && fixed_version.nil? && project && project.default_version_id?
398 398 if project.shared_versions.open.exists?(project.default_version_id)
399 399 self.fixed_version_id = project.default_version_id
400 400 end
401 401 end
402 402 self.project
403 403 end
404 404
405 405 def description=(arg)
406 406 if arg.is_a?(String)
407 407 arg = arg.gsub(/(\r\n|\n|\r)/, "\r\n")
408 408 end
409 409 write_attribute(:description, arg)
410 410 end
411 411
412 412 def deleted_attachment_ids
413 413 Array(@deleted_attachment_ids).map(&:to_i)
414 414 end
415 415
416 416 # Overrides assign_attributes so that project and tracker get assigned first
417 417 def assign_attributes(new_attributes, *args)
418 418 return if new_attributes.nil?
419 419 attrs = new_attributes.dup
420 420 attrs.stringify_keys!
421 421
422 422 %w(project project_id tracker tracker_id).each do |attr|
423 423 if attrs.has_key?(attr)
424 424 send "#{attr}=", attrs.delete(attr)
425 425 end
426 426 end
427 427 super attrs, *args
428 428 end
429 429
430 430 def attributes=(new_attributes)
431 431 assign_attributes new_attributes
432 432 end
433 433
434 434 def estimated_hours=(h)
435 435 write_attribute :estimated_hours, (h.is_a?(String) ? h.to_hours : h)
436 436 end
437 437
438 438 safe_attributes 'project_id',
439 439 'tracker_id',
440 440 'status_id',
441 441 'category_id',
442 442 'assigned_to_id',
443 443 'priority_id',
444 444 'fixed_version_id',
445 445 'subject',
446 446 'description',
447 447 'start_date',
448 448 'due_date',
449 449 'done_ratio',
450 450 'estimated_hours',
451 451 'custom_field_values',
452 452 'custom_fields',
453 453 'lock_version',
454 454 'notes',
455 455 :if => lambda {|issue, user| issue.new_record? || issue.attributes_editable?(user) }
456 456
457 457 safe_attributes 'notes',
458 458 :if => lambda {|issue, user| issue.notes_addable?(user)}
459 459
460 460 safe_attributes 'private_notes',
461 461 :if => lambda {|issue, user| !issue.new_record? && user.allowed_to?(:set_notes_private, issue.project)}
462 462
463 463 safe_attributes 'watcher_user_ids',
464 464 :if => lambda {|issue, user| issue.new_record? && user.allowed_to?(:add_issue_watchers, issue.project)}
465 465
466 466 safe_attributes 'is_private',
467 467 :if => lambda {|issue, user|
468 468 user.allowed_to?(:set_issues_private, issue.project) ||
469 469 (issue.author_id == user.id && user.allowed_to?(:set_own_issues_private, issue.project))
470 470 }
471 471
472 472 safe_attributes 'parent_issue_id',
473 473 :if => lambda {|issue, user| (issue.new_record? || issue.attributes_editable?(user)) &&
474 474 user.allowed_to?(:manage_subtasks, issue.project)}
475 475
476 476 safe_attributes 'deleted_attachment_ids',
477 477 :if => lambda {|issue, user| issue.attachments_deletable?(user)}
478 478
479 479 def safe_attribute_names(user=nil)
480 480 names = super
481 481 names -= disabled_core_fields
482 482 names -= read_only_attribute_names(user)
483 483 if new_record?
484 484 # Make sure that project_id can always be set for new issues
485 485 names |= %w(project_id)
486 486 end
487 487 if dates_derived?
488 488 names -= %w(start_date due_date)
489 489 end
490 490 if priority_derived?
491 491 names -= %w(priority_id)
492 492 end
493 493 if done_ratio_derived?
494 494 names -= %w(done_ratio)
495 495 end
496 496 names
497 497 end
498 498
499 499 # Safely sets attributes
500 500 # Should be called from controllers instead of #attributes=
501 501 # attr_accessible is too rough because we still want things like
502 502 # Issue.new(:project => foo) to work
503 503 def safe_attributes=(attrs, user=User.current)
504 504 return unless attrs.is_a?(Hash)
505 505
506 506 attrs = attrs.deep_dup
507 507
508 508 # Project and Tracker must be set before since new_statuses_allowed_to depends on it.
509 509 if (p = attrs.delete('project_id')) && safe_attribute?('project_id')
510 510 if p.is_a?(String) && !p.match(/^\d*$/)
511 511 p_id = Project.find_by_identifier(p).try(:id)
512 512 else
513 513 p_id = p.to_i
514 514 end
515 515 if allowed_target_projects(user).where(:id => p_id).exists?
516 516 self.project_id = p_id
517 517 end
518 518
519 519 if project_id_changed? && attrs['category_id'].to_s == category_id_was.to_s
520 520 # Discard submitted category on previous project
521 521 attrs.delete('category_id')
522 522 end
523 523 end
524 524
525 525 if (t = attrs.delete('tracker_id')) && safe_attribute?('tracker_id')
526 526 if allowed_target_trackers(user).where(:id => t.to_i).exists?
527 527 self.tracker_id = t
528 528 end
529 529 end
530 530 if project
531 531 # Set a default tracker to accept custom field values
532 532 # even if tracker is not specified
533 533 self.tracker ||= allowed_target_trackers(user).first
534 534 end
535 535
536 536 statuses_allowed = new_statuses_allowed_to(user)
537 537 if (s = attrs.delete('status_id')) && safe_attribute?('status_id')
538 538 if statuses_allowed.collect(&:id).include?(s.to_i)
539 539 self.status_id = s
540 540 end
541 541 end
542 542 if new_record? && !statuses_allowed.include?(status)
543 543 self.status = statuses_allowed.first || default_status
544 544 end
545 545 if (u = attrs.delete('assigned_to_id')) && safe_attribute?('assigned_to_id')
546 546 self.assigned_to_id = u
547 547 end
548 548
549 549
550 550 attrs = delete_unsafe_attributes(attrs, user)
551 551 return if attrs.empty?
552 552
553 553 if attrs['parent_issue_id'].present?
554 554 s = attrs['parent_issue_id'].to_s
555 555 unless (m = s.match(%r{\A#?(\d+)\z})) && (m[1] == parent_id.to_s || Issue.visible(user).exists?(m[1]))
556 556 @invalid_parent_issue_id = attrs.delete('parent_issue_id')
557 557 end
558 558 end
559 559
560 560 if attrs['custom_field_values'].present?
561 561 editable_custom_field_ids = editable_custom_field_values(user).map {|v| v.custom_field_id.to_s}
562 562 attrs['custom_field_values'].select! {|k, v| editable_custom_field_ids.include?(k.to_s)}
563 563 end
564 564
565 565 if attrs['custom_fields'].present?
566 566 editable_custom_field_ids = editable_custom_field_values(user).map {|v| v.custom_field_id.to_s}
567 567 attrs['custom_fields'].select! {|c| editable_custom_field_ids.include?(c['id'].to_s)}
568 568 end
569 569
570 570 # mass-assignment security bypass
571 571 assign_attributes attrs, :without_protection => true
572 572 end
573 573
574 574 def disabled_core_fields
575 575 tracker ? tracker.disabled_core_fields : []
576 576 end
577 577
578 578 # Returns the custom_field_values that can be edited by the given user
579 579 def editable_custom_field_values(user=nil)
580 580 read_only = read_only_attribute_names(user)
581 581 visible_custom_field_values(user).reject do |value|
582 582 read_only.include?(value.custom_field_id.to_s)
583 583 end
584 584 end
585 585
586 586 # Returns the custom fields that can be edited by the given user
587 587 def editable_custom_fields(user=nil)
588 588 editable_custom_field_values(user).map(&:custom_field).uniq
589 589 end
590 590
591 591 # Returns the names of attributes that are read-only for user or the current user
592 592 # For users with multiple roles, the read-only fields are the intersection of
593 593 # read-only fields of each role
594 594 # The result is an array of strings where sustom fields are represented with their ids
595 595 #
596 596 # Examples:
597 597 # issue.read_only_attribute_names # => ['due_date', '2']
598 598 # issue.read_only_attribute_names(user) # => []
599 599 def read_only_attribute_names(user=nil)
600 600 workflow_rule_by_attribute(user).reject {|attr, rule| rule != 'readonly'}.keys
601 601 end
602 602
603 603 # Returns the names of required attributes for user or the current user
604 604 # For users with multiple roles, the required fields are the intersection of
605 605 # required fields of each role
606 606 # The result is an array of strings where sustom fields are represented with their ids
607 607 #
608 608 # Examples:
609 609 # issue.required_attribute_names # => ['due_date', '2']
610 610 # issue.required_attribute_names(user) # => []
611 611 def required_attribute_names(user=nil)
612 612 workflow_rule_by_attribute(user).reject {|attr, rule| rule != 'required'}.keys
613 613 end
614 614
615 615 # Returns true if the attribute is required for user
616 616 def required_attribute?(name, user=nil)
617 617 required_attribute_names(user).include?(name.to_s)
618 618 end
619 619
620 620 # Returns a hash of the workflow rule by attribute for the given user
621 621 #
622 622 # Examples:
623 623 # issue.workflow_rule_by_attribute # => {'due_date' => 'required', 'start_date' => 'readonly'}
624 624 def workflow_rule_by_attribute(user=nil)
625 625 return @workflow_rule_by_attribute if @workflow_rule_by_attribute && user.nil?
626 626
627 627 user_real = user || User.current
628 628 roles = user_real.admin ? Role.all.to_a : user_real.roles_for_project(project)
629 629 roles = roles.select(&:consider_workflow?)
630 630 return {} if roles.empty?
631 631
632 632 result = {}
633 633 workflow_permissions = WorkflowPermission.where(:tracker_id => tracker_id, :old_status_id => status_id, :role_id => roles.map(&:id)).to_a
634 634 if workflow_permissions.any?
635 635 workflow_rules = workflow_permissions.inject({}) do |h, wp|
636 636 h[wp.field_name] ||= {}
637 637 h[wp.field_name][wp.role_id] = wp.rule
638 638 h
639 639 end
640 640 fields_with_roles = {}
641 641 IssueCustomField.where(:visible => false).joins(:roles).pluck(:id, "role_id").each do |field_id, role_id|
642 642 fields_with_roles[field_id] ||= []
643 643 fields_with_roles[field_id] << role_id
644 644 end
645 645 roles.each do |role|
646 646 fields_with_roles.each do |field_id, role_ids|
647 647 unless role_ids.include?(role.id)
648 648 field_name = field_id.to_s
649 649 workflow_rules[field_name] ||= {}
650 650 workflow_rules[field_name][role.id] = 'readonly'
651 651 end
652 652 end
653 653 end
654 654 workflow_rules.each do |attr, rules|
655 655 next if rules.size < roles.size
656 656 uniq_rules = rules.values.uniq
657 657 if uniq_rules.size == 1
658 658 result[attr] = uniq_rules.first
659 659 else
660 660 result[attr] = 'required'
661 661 end
662 662 end
663 663 end
664 664 @workflow_rule_by_attribute = result if user.nil?
665 665 result
666 666 end
667 667 private :workflow_rule_by_attribute
668 668
669 669 def done_ratio
670 670 if Issue.use_status_for_done_ratio? && status && status.default_done_ratio
671 671 status.default_done_ratio
672 672 else
673 673 read_attribute(:done_ratio)
674 674 end
675 675 end
676 676
677 677 def self.use_status_for_done_ratio?
678 678 Setting.issue_done_ratio == 'issue_status'
679 679 end
680 680
681 681 def self.use_field_for_done_ratio?
682 682 Setting.issue_done_ratio == 'issue_field'
683 683 end
684 684
685 685 def validate_issue
686 686 if due_date && start_date && (start_date_changed? || due_date_changed?) && due_date < start_date
687 687 errors.add :due_date, :greater_than_start_date
688 688 end
689 689
690 690 if start_date && start_date_changed? && soonest_start && start_date < soonest_start
691 691 errors.add :start_date, :earlier_than_minimum_start_date, :date => format_date(soonest_start)
692 692 end
693 693
694 694 if fixed_version
695 695 if !assignable_versions.include?(fixed_version)
696 696 errors.add :fixed_version_id, :inclusion
697 697 elsif reopening? && fixed_version.closed?
698 698 errors.add :base, I18n.t(:error_can_not_reopen_issue_on_closed_version)
699 699 end
700 700 end
701 701
702 702 # Checks that the issue can not be added/moved to a disabled tracker
703 703 if project && (tracker_id_changed? || project_id_changed?)
704 704 if tracker && !project.trackers.include?(tracker)
705 705 errors.add :tracker_id, :inclusion
706 706 end
707 707 end
708 708
709 709 if assigned_to_id_changed? && assigned_to_id.present?
710 710 unless assignable_users.include?(assigned_to)
711 711 errors.add :assigned_to_id, :invalid
712 712 end
713 713 end
714 714
715 715 # Checks parent issue assignment
716 716 if @invalid_parent_issue_id.present?
717 717 errors.add :parent_issue_id, :invalid
718 718 elsif @parent_issue
719 719 if !valid_parent_project?(@parent_issue)
720 720 errors.add :parent_issue_id, :invalid
721 721 elsif (@parent_issue != parent) && (
722 722 self.would_reschedule?(@parent_issue) ||
723 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 725 errors.add :parent_issue_id, :invalid
726 726 elsif !closed? && @parent_issue.closed?
727 727 # cannot attach an open issue to a closed parent
728 728 errors.add :base, :open_issue_with_closed_parent
729 729 elsif !new_record?
730 730 # moving an existing issue
731 731 if move_possible?(@parent_issue)
732 732 # move accepted
733 733 else
734 734 errors.add :parent_issue_id, :invalid
735 735 end
736 736 end
737 737 end
738 738 end
739 739
740 740 # Validates the issue against additional workflow requirements
741 741 def validate_required_fields
742 742 user = new_record? ? author : current_journal.try(:user)
743 743
744 744 required_attribute_names(user).each do |attribute|
745 745 if attribute =~ /^\d+$/
746 746 attribute = attribute.to_i
747 747 v = custom_field_values.detect {|v| v.custom_field_id == attribute }
748 748 if v && Array(v.value).detect(&:present?).nil?
749 749 errors.add :base, v.custom_field.name + ' ' + l('activerecord.errors.messages.blank')
750 750 end
751 751 else
752 752 if respond_to?(attribute) && send(attribute).blank? && !disabled_core_fields.include?(attribute)
753 753 next if attribute == 'category_id' && project.try(:issue_categories).blank?
754 754 next if attribute == 'fixed_version_id' && assignable_versions.blank?
755 755 errors.add attribute, :blank
756 756 end
757 757 end
758 758 end
759 759 end
760 760
761 761 # Overrides Redmine::Acts::Customizable::InstanceMethods#validate_custom_field_values
762 762 # so that custom values that are not editable are not validated (eg. a custom field that
763 763 # is marked as required should not trigger a validation error if the user is not allowed
764 764 # to edit this field).
765 765 def validate_custom_field_values
766 766 user = new_record? ? author : current_journal.try(:user)
767 767 if new_record? || custom_field_values_changed?
768 768 editable_custom_field_values(user).each(&:validate_value)
769 769 end
770 770 end
771 771
772 772 # Set the done_ratio using the status if that setting is set. This will keep the done_ratios
773 773 # even if the user turns off the setting later
774 774 def update_done_ratio_from_issue_status
775 775 if Issue.use_status_for_done_ratio? && status && status.default_done_ratio
776 776 self.done_ratio = status.default_done_ratio
777 777 end
778 778 end
779 779
780 780 def init_journal(user, notes = "")
781 781 @current_journal ||= Journal.new(:journalized => self, :user => user, :notes => notes)
782 782 end
783 783
784 784 # Returns the current journal or nil if it's not initialized
785 785 def current_journal
786 786 @current_journal
787 787 end
788 788
789 789 # Returns the names of attributes that are journalized when updating the issue
790 790 def journalized_attribute_names
791 791 names = Issue.column_names - %w(id root_id lft rgt lock_version created_on updated_on closed_on)
792 792 if tracker
793 793 names -= tracker.disabled_core_fields
794 794 end
795 795 names
796 796 end
797 797
798 798 # Returns the id of the last journal or nil
799 799 def last_journal_id
800 800 if new_record?
801 801 nil
802 802 else
803 803 journals.maximum(:id)
804 804 end
805 805 end
806 806
807 807 # Returns a scope for journals that have an id greater than journal_id
808 808 def journals_after(journal_id)
809 809 scope = journals.reorder("#{Journal.table_name}.id ASC")
810 810 if journal_id.present?
811 811 scope = scope.where("#{Journal.table_name}.id > ?", journal_id.to_i)
812 812 end
813 813 scope
814 814 end
815 815
816 816 # Returns the initial status of the issue
817 817 # Returns nil for a new issue
818 818 def status_was
819 819 if status_id_changed?
820 820 if status_id_was.to_i > 0
821 821 @status_was ||= IssueStatus.find_by_id(status_id_was)
822 822 end
823 823 else
824 824 @status_was ||= status
825 825 end
826 826 end
827 827
828 828 # Return true if the issue is closed, otherwise false
829 829 def closed?
830 830 status.present? && status.is_closed?
831 831 end
832 832
833 833 # Returns true if the issue was closed when loaded
834 834 def was_closed?
835 835 status_was.present? && status_was.is_closed?
836 836 end
837 837
838 838 # Return true if the issue is being reopened
839 839 def reopening?
840 840 if new_record?
841 841 false
842 842 else
843 843 status_id_changed? && !closed? && was_closed?
844 844 end
845 845 end
846 846 alias :reopened? :reopening?
847 847
848 848 # Return true if the issue is being closed
849 849 def closing?
850 850 if new_record?
851 851 closed?
852 852 else
853 853 status_id_changed? && closed? && !was_closed?
854 854 end
855 855 end
856 856
857 857 # Returns true if the issue is overdue
858 858 def overdue?
859 859 due_date.present? && (due_date < User.current.today) && !closed?
860 860 end
861 861
862 862 # Is the amount of work done less than it should for the due date
863 863 def behind_schedule?
864 864 return false if start_date.nil? || due_date.nil?
865 865 done_date = start_date + ((due_date - start_date + 1) * done_ratio / 100).floor
866 866 return done_date <= User.current.today
867 867 end
868 868
869 869 # Does this issue have children?
870 870 def children?
871 871 !leaf?
872 872 end
873 873
874 874 # Users the issue can be assigned to
875 875 def assignable_users
876 876 users = project.assignable_users(tracker).to_a
877 877 users << author if author && author.active?
878 878 if assigned_to_id_was.present? && assignee = Principal.find_by_id(assigned_to_id_was)
879 879 users << assignee
880 880 end
881 881 users.uniq.sort
882 882 end
883 883
884 884 # Versions that the issue can be assigned to
885 885 def assignable_versions
886 886 return @assignable_versions if @assignable_versions
887 887
888 888 versions = project.shared_versions.open.to_a
889 889 if fixed_version
890 890 if fixed_version_id_changed?
891 891 # nothing to do
892 892 elsif project_id_changed?
893 893 if project.shared_versions.include?(fixed_version)
894 894 versions << fixed_version
895 895 end
896 896 else
897 897 versions << fixed_version
898 898 end
899 899 end
900 900 @assignable_versions = versions.uniq.sort
901 901 end
902 902
903 903 # Returns true if this issue is blocked by another issue that is still open
904 904 def blocked?
905 905 !relations_to.detect {|ir| ir.relation_type == 'blocks' && !ir.issue_from.closed?}.nil?
906 906 end
907 907
908 908 # Returns the default status of the issue based on its tracker
909 909 # Returns nil if tracker is nil
910 910 def default_status
911 911 tracker.try(:default_status)
912 912 end
913 913
914 914 # Returns an array of statuses that user is able to apply
915 915 def new_statuses_allowed_to(user=User.current, include_default=false)
916 916 initial_status = nil
917 917 if new_record?
918 918 # nop
919 919 elsif tracker_id_changed?
920 920 if Tracker.where(:id => tracker_id_was, :default_status_id => status_id_was).any?
921 921 initial_status = default_status
922 922 elsif tracker.issue_status_ids.include?(status_id_was)
923 923 initial_status = IssueStatus.find_by_id(status_id_was)
924 924 else
925 925 initial_status = default_status
926 926 end
927 927 else
928 928 initial_status = status_was
929 929 end
930 930
931 931 initial_assigned_to_id = assigned_to_id_changed? ? assigned_to_id_was : assigned_to_id
932 932 assignee_transitions_allowed = initial_assigned_to_id.present? &&
933 933 (user.id == initial_assigned_to_id || user.group_ids.include?(initial_assigned_to_id))
934 934
935 935 statuses = []
936 936 statuses += IssueStatus.new_statuses_allowed(
937 937 initial_status,
938 938 user.admin ? Role.all.to_a : user.roles_for_project(project),
939 939 tracker,
940 940 author == user,
941 941 assignee_transitions_allowed
942 942 )
943 943 statuses << initial_status unless statuses.empty?
944 944 statuses << default_status if include_default || (new_record? && statuses.empty?)
945 945
946 946 if new_record? && @copied_from
947 947 statuses << @copied_from.status
948 948 end
949 949
950 950 statuses = statuses.compact.uniq.sort
951 951 if blocked? || descendants.open.any?
952 952 # cannot close a blocked issue or a parent with open subtasks
953 953 statuses.reject!(&:is_closed?)
954 954 end
955 955 if ancestors.open(false).any?
956 956 # cannot reopen a subtask of a closed parent
957 957 statuses.select!(&:is_closed?)
958 958 end
959 959 statuses
960 960 end
961 961
962 962 # Returns the previous assignee (user or group) if changed
963 963 def assigned_to_was
964 964 # assigned_to_id_was is reset before after_save callbacks
965 965 user_id = @previous_assigned_to_id || assigned_to_id_was
966 966 if user_id && user_id != assigned_to_id
967 967 @assigned_to_was ||= Principal.find_by_id(user_id)
968 968 end
969 969 end
970 970
971 971 # Returns the original tracker
972 972 def tracker_was
973 973 Tracker.find_by_id(tracker_id_was)
974 974 end
975 975
976 976 # Returns the users that should be notified
977 977 def notified_users
978 978 notified = []
979 979 # Author and assignee are always notified unless they have been
980 980 # locked or don't want to be notified
981 981 notified << author if author
982 982 if assigned_to
983 983 notified += (assigned_to.is_a?(Group) ? assigned_to.users : [assigned_to])
984 984 end
985 985 if assigned_to_was
986 986 notified += (assigned_to_was.is_a?(Group) ? assigned_to_was.users : [assigned_to_was])
987 987 end
988 988 notified = notified.select {|u| u.active? && u.notify_about?(self)}
989 989
990 990 notified += project.notified_users
991 991 notified.uniq!
992 992 # Remove users that can not view the issue
993 993 notified.reject! {|user| !visible?(user)}
994 994 notified
995 995 end
996 996
997 997 # Returns the email addresses that should be notified
998 998 def recipients
999 999 notified_users.collect(&:mail)
1000 1000 end
1001 1001
1002 1002 def each_notification(users, &block)
1003 1003 if users.any?
1004 1004 if custom_field_values.detect {|value| !value.custom_field.visible?}
1005 1005 users_by_custom_field_visibility = users.group_by do |user|
1006 1006 visible_custom_field_values(user).map(&:custom_field_id).sort
1007 1007 end
1008 1008 users_by_custom_field_visibility.values.each do |users|
1009 1009 yield(users)
1010 1010 end
1011 1011 else
1012 1012 yield(users)
1013 1013 end
1014 1014 end
1015 1015 end
1016 1016
1017 1017 def notify?
1018 1018 @notify != false
1019 1019 end
1020 1020
1021 1021 def notify=(arg)
1022 1022 @notify = arg
1023 1023 end
1024 1024
1025 1025 # Returns the number of hours spent on this issue
1026 1026 def spent_hours
1027 1027 @spent_hours ||= time_entries.sum(:hours) || 0
1028 1028 end
1029 1029
1030 1030 # Returns the total number of hours spent on this issue and its descendants
1031 1031 def total_spent_hours
1032 1032 @total_spent_hours ||= if leaf?
1033 1033 spent_hours
1034 1034 else
1035 1035 self_and_descendants.joins(:time_entries).sum("#{TimeEntry.table_name}.hours").to_f || 0.0
1036 1036 end
1037 1037 end
1038 1038
1039 1039 def total_estimated_hours
1040 1040 if leaf?
1041 1041 estimated_hours
1042 1042 else
1043 1043 @total_estimated_hours ||= self_and_descendants.sum(:estimated_hours)
1044 1044 end
1045 1045 end
1046 1046
1047 1047 def relations
1048 1048 @relations ||= IssueRelation::Relations.new(self, (relations_from + relations_to).sort)
1049 1049 end
1050 1050
1051 1051 # Preloads relations for a collection of issues
1052 1052 def self.load_relations(issues)
1053 1053 if issues.any?
1054 1054 relations = IssueRelation.where("issue_from_id IN (:ids) OR issue_to_id IN (:ids)", :ids => issues.map(&:id)).all
1055 1055 issues.each do |issue|
1056 1056 issue.instance_variable_set "@relations", relations.select {|r| r.issue_from_id == issue.id || r.issue_to_id == issue.id}
1057 1057 end
1058 1058 end
1059 1059 end
1060 1060
1061 1061 # Preloads visible spent time for a collection of issues
1062 1062 def self.load_visible_spent_hours(issues, user=User.current)
1063 1063 if issues.any?
1064 1064 hours_by_issue_id = TimeEntry.visible(user).where(:issue_id => issues.map(&:id)).group(:issue_id).sum(:hours)
1065 1065 issues.each do |issue|
1066 1066 issue.instance_variable_set "@spent_hours", (hours_by_issue_id[issue.id] || 0)
1067 1067 end
1068 1068 end
1069 1069 end
1070 1070
1071 1071 # Preloads visible total spent time for a collection of issues
1072 1072 def self.load_visible_total_spent_hours(issues, user=User.current)
1073 1073 if issues.any?
1074 1074 hours_by_issue_id = TimeEntry.visible(user).joins(:issue).
1075 1075 joins("JOIN #{Issue.table_name} parent ON parent.root_id = #{Issue.table_name}.root_id" +
1076 1076 " AND parent.lft <= #{Issue.table_name}.lft AND parent.rgt >= #{Issue.table_name}.rgt").
1077 1077 where("parent.id IN (?)", issues.map(&:id)).group("parent.id").sum(:hours)
1078 1078 issues.each do |issue|
1079 1079 issue.instance_variable_set "@total_spent_hours", (hours_by_issue_id[issue.id] || 0)
1080 1080 end
1081 1081 end
1082 1082 end
1083 1083
1084 1084 # Preloads visible relations for a collection of issues
1085 1085 def self.load_visible_relations(issues, user=User.current)
1086 1086 if issues.any?
1087 1087 issue_ids = issues.map(&:id)
1088 1088 # Relations with issue_from in given issues and visible issue_to
1089 1089 relations_from = IssueRelation.joins(:issue_to => :project).
1090 1090 where(visible_condition(user)).where(:issue_from_id => issue_ids).to_a
1091 1091 # Relations with issue_to in given issues and visible issue_from
1092 1092 relations_to = IssueRelation.joins(:issue_from => :project).
1093 1093 where(visible_condition(user)).
1094 1094 where(:issue_to_id => issue_ids).to_a
1095 1095 issues.each do |issue|
1096 1096 relations =
1097 1097 relations_from.select {|relation| relation.issue_from_id == issue.id} +
1098 1098 relations_to.select {|relation| relation.issue_to_id == issue.id}
1099 1099
1100 1100 issue.instance_variable_set "@relations", IssueRelation::Relations.new(issue, relations.sort)
1101 1101 end
1102 1102 end
1103 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 1114 # Finds an issue relation given its id.
1106 1115 def find_relation(relation_id)
1107 1116 IssueRelation.where("issue_to_id = ? OR issue_from_id = ?", id, id).find(relation_id)
1108 1117 end
1109 1118
1110 1119 # Returns true if this issue blocks the other issue, otherwise returns false
1111 1120 def blocks?(other)
1112 1121 all = [self]
1113 1122 last = [self]
1114 1123 while last.any?
1115 1124 current = last.map {|i| i.relations_from.where(:relation_type => IssueRelation::TYPE_BLOCKS).map(&:issue_to)}.flatten.uniq
1116 1125 current -= last
1117 1126 current -= all
1118 1127 return true if current.include?(other)
1119 1128 last = current
1120 1129 all += last
1121 1130 end
1122 1131 false
1123 1132 end
1124 1133
1125 1134 # Returns true if the other issue might be rescheduled if the start/due dates of this issue change
1126 1135 def would_reschedule?(other)
1127 1136 all = [self]
1128 1137 last = [self]
1129 1138 while last.any?
1130 1139 current = last.map {|i|
1131 1140 i.relations_from.where(:relation_type => IssueRelation::TYPE_PRECEDES).map(&:issue_to) +
1132 1141 i.leaves.to_a +
1133 1142 i.ancestors.map {|a| a.relations_from.where(:relation_type => IssueRelation::TYPE_PRECEDES).map(&:issue_to)}
1134 1143 }.flatten.uniq
1135 1144 current -= last
1136 1145 current -= all
1137 1146 return true if current.include?(other)
1138 1147 last = current
1139 1148 all += last
1140 1149 end
1141 1150 false
1142 1151 end
1143 1152
1144 1153 # Returns an array of issues that duplicate this one
1145 1154 def duplicates
1146 1155 relations_to.select {|r| r.relation_type == IssueRelation::TYPE_DUPLICATES}.collect {|r| r.issue_from}
1147 1156 end
1148 1157
1149 1158 # Returns the due date or the target due date if any
1150 1159 # Used on gantt chart
1151 1160 def due_before
1152 1161 due_date || (fixed_version ? fixed_version.effective_date : nil)
1153 1162 end
1154 1163
1155 1164 # Returns the time scheduled for this issue.
1156 1165 #
1157 1166 # Example:
1158 1167 # Start Date: 2/26/09, End Date: 3/04/09
1159 1168 # duration => 6
1160 1169 def duration
1161 1170 (start_date && due_date) ? due_date - start_date : 0
1162 1171 end
1163 1172
1164 1173 # Returns the duration in working days
1165 1174 def working_duration
1166 1175 (start_date && due_date) ? working_days(start_date, due_date) : 0
1167 1176 end
1168 1177
1169 1178 def soonest_start(reload=false)
1170 1179 if @soonest_start.nil? || reload
1171 1180 relations_to.reload if reload
1172 1181 dates = relations_to.collect{|relation| relation.successor_soonest_start}
1173 1182 p = @parent_issue || parent
1174 1183 if p && Setting.parent_issue_dates == 'derived'
1175 1184 dates << p.soonest_start
1176 1185 end
1177 1186 @soonest_start = dates.compact.max
1178 1187 end
1179 1188 @soonest_start
1180 1189 end
1181 1190
1182 1191 # Sets start_date on the given date or the next working day
1183 1192 # and changes due_date to keep the same working duration.
1184 1193 def reschedule_on(date)
1185 1194 wd = working_duration
1186 1195 date = next_working_date(date)
1187 1196 self.start_date = date
1188 1197 self.due_date = add_working_days(date, wd)
1189 1198 end
1190 1199
1191 1200 # Reschedules the issue on the given date or the next working day and saves the record.
1192 1201 # If the issue is a parent task, this is done by rescheduling its subtasks.
1193 1202 def reschedule_on!(date)
1194 1203 return if date.nil?
1195 1204 if leaf? || !dates_derived?
1196 1205 if start_date.nil? || start_date != date
1197 1206 if start_date && start_date > date
1198 1207 # Issue can not be moved earlier than its soonest start date
1199 1208 date = [soonest_start(true), date].compact.max
1200 1209 end
1201 1210 reschedule_on(date)
1202 1211 begin
1203 1212 save
1204 1213 rescue ActiveRecord::StaleObjectError
1205 1214 reload
1206 1215 reschedule_on(date)
1207 1216 save
1208 1217 end
1209 1218 end
1210 1219 else
1211 1220 leaves.each do |leaf|
1212 1221 if leaf.start_date
1213 1222 # Only move subtask if it starts at the same date as the parent
1214 1223 # or if it starts before the given date
1215 1224 if start_date == leaf.start_date || date > leaf.start_date
1216 1225 leaf.reschedule_on!(date)
1217 1226 end
1218 1227 else
1219 1228 leaf.reschedule_on!(date)
1220 1229 end
1221 1230 end
1222 1231 end
1223 1232 end
1224 1233
1225 1234 def dates_derived?
1226 1235 !leaf? && Setting.parent_issue_dates == 'derived'
1227 1236 end
1228 1237
1229 1238 def priority_derived?
1230 1239 !leaf? && Setting.parent_issue_priority == 'derived'
1231 1240 end
1232 1241
1233 1242 def done_ratio_derived?
1234 1243 !leaf? && Setting.parent_issue_done_ratio == 'derived'
1235 1244 end
1236 1245
1237 1246 def <=>(issue)
1238 1247 if issue.nil?
1239 1248 -1
1240 1249 elsif root_id != issue.root_id
1241 1250 (root_id || 0) <=> (issue.root_id || 0)
1242 1251 else
1243 1252 (lft || 0) <=> (issue.lft || 0)
1244 1253 end
1245 1254 end
1246 1255
1247 1256 def to_s
1248 1257 "#{tracker} ##{id}: #{subject}"
1249 1258 end
1250 1259
1251 1260 # Returns a string of css classes that apply to the issue
1252 1261 def css_classes(user=User.current)
1253 1262 s = "issue tracker-#{tracker_id} status-#{status_id} #{priority.try(:css_classes)}"
1254 1263 s << ' closed' if closed?
1255 1264 s << ' overdue' if overdue?
1256 1265 s << ' child' if child?
1257 1266 s << ' parent' unless leaf?
1258 1267 s << ' private' if is_private?
1259 1268 if user.logged?
1260 1269 s << ' created-by-me' if author_id == user.id
1261 1270 s << ' assigned-to-me' if assigned_to_id == user.id
1262 1271 s << ' assigned-to-my-group' if user.groups.any? {|g| g.id == assigned_to_id}
1263 1272 end
1264 1273 s
1265 1274 end
1266 1275
1267 1276 # Unassigns issues from +version+ if it's no longer shared with issue's project
1268 1277 def self.update_versions_from_sharing_change(version)
1269 1278 # Update issues assigned to the version
1270 1279 update_versions(["#{Issue.table_name}.fixed_version_id = ?", version.id])
1271 1280 end
1272 1281
1273 1282 # Unassigns issues from versions that are no longer shared
1274 1283 # after +project+ was moved
1275 1284 def self.update_versions_from_hierarchy_change(project)
1276 1285 moved_project_ids = project.self_and_descendants.reload.collect(&:id)
1277 1286 # Update issues of the moved projects and issues assigned to a version of a moved project
1278 1287 Issue.update_versions(
1279 1288 ["#{Version.table_name}.project_id IN (?) OR #{Issue.table_name}.project_id IN (?)",
1280 1289 moved_project_ids, moved_project_ids]
1281 1290 )
1282 1291 end
1283 1292
1284 1293 def parent_issue_id=(arg)
1285 1294 s = arg.to_s.strip.presence
1286 1295 if s && (m = s.match(%r{\A#?(\d+)\z})) && (@parent_issue = Issue.find_by_id(m[1]))
1287 1296 @invalid_parent_issue_id = nil
1288 1297 elsif s.blank?
1289 1298 @parent_issue = nil
1290 1299 @invalid_parent_issue_id = nil
1291 1300 else
1292 1301 @parent_issue = nil
1293 1302 @invalid_parent_issue_id = arg
1294 1303 end
1295 1304 end
1296 1305
1297 1306 def parent_issue_id
1298 1307 if @invalid_parent_issue_id
1299 1308 @invalid_parent_issue_id
1300 1309 elsif instance_variable_defined? :@parent_issue
1301 1310 @parent_issue.nil? ? nil : @parent_issue.id
1302 1311 else
1303 1312 parent_id
1304 1313 end
1305 1314 end
1306 1315
1307 1316 def set_parent_id
1308 1317 self.parent_id = parent_issue_id
1309 1318 end
1310 1319
1311 1320 # Returns true if issue's project is a valid
1312 1321 # parent issue project
1313 1322 def valid_parent_project?(issue=parent)
1314 1323 return true if issue.nil? || issue.project_id == project_id
1315 1324
1316 1325 case Setting.cross_project_subtasks
1317 1326 when 'system'
1318 1327 true
1319 1328 when 'tree'
1320 1329 issue.project.root == project.root
1321 1330 when 'hierarchy'
1322 1331 issue.project.is_or_is_ancestor_of?(project) || issue.project.is_descendant_of?(project)
1323 1332 when 'descendants'
1324 1333 issue.project.is_or_is_ancestor_of?(project)
1325 1334 else
1326 1335 false
1327 1336 end
1328 1337 end
1329 1338
1330 1339 # Returns an issue scope based on project and scope
1331 1340 def self.cross_project_scope(project, scope=nil)
1332 1341 if project.nil?
1333 1342 return Issue
1334 1343 end
1335 1344 case scope
1336 1345 when 'all', 'system'
1337 1346 Issue
1338 1347 when 'tree'
1339 1348 Issue.joins(:project).where("(#{Project.table_name}.lft >= :lft AND #{Project.table_name}.rgt <= :rgt)",
1340 1349 :lft => project.root.lft, :rgt => project.root.rgt)
1341 1350 when 'hierarchy'
1342 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 1352 :lft => project.lft, :rgt => project.rgt)
1344 1353 when 'descendants'
1345 1354 Issue.joins(:project).where("(#{Project.table_name}.lft >= :lft AND #{Project.table_name}.rgt <= :rgt)",
1346 1355 :lft => project.lft, :rgt => project.rgt)
1347 1356 else
1348 1357 Issue.where(:project_id => project.id)
1349 1358 end
1350 1359 end
1351 1360
1352 1361 def self.by_tracker(project)
1353 1362 count_and_group_by(:project => project, :association => :tracker)
1354 1363 end
1355 1364
1356 1365 def self.by_version(project)
1357 1366 count_and_group_by(:project => project, :association => :fixed_version)
1358 1367 end
1359 1368
1360 1369 def self.by_priority(project)
1361 1370 count_and_group_by(:project => project, :association => :priority)
1362 1371 end
1363 1372
1364 1373 def self.by_category(project)
1365 1374 count_and_group_by(:project => project, :association => :category)
1366 1375 end
1367 1376
1368 1377 def self.by_assigned_to(project)
1369 1378 count_and_group_by(:project => project, :association => :assigned_to)
1370 1379 end
1371 1380
1372 1381 def self.by_author(project)
1373 1382 count_and_group_by(:project => project, :association => :author)
1374 1383 end
1375 1384
1376 1385 def self.by_subproject(project)
1377 1386 r = count_and_group_by(:project => project, :with_subprojects => true, :association => :project)
1378 1387 r.reject {|r| r["project_id"] == project.id.to_s}
1379 1388 end
1380 1389
1381 1390 # Query generator for selecting groups of issue counts for a project
1382 1391 # based on specific criteria
1383 1392 #
1384 1393 # Options
1385 1394 # * project - Project to search in.
1386 1395 # * with_subprojects - Includes subprojects issues if set to true.
1387 1396 # * association - Symbol. Association for grouping.
1388 1397 def self.count_and_group_by(options)
1389 1398 assoc = reflect_on_association(options[:association])
1390 1399 select_field = assoc.foreign_key
1391 1400
1392 1401 Issue.
1393 1402 visible(User.current, :project => options[:project], :with_subprojects => options[:with_subprojects]).
1394 1403 joins(:status, assoc.name).
1395 1404 group(:status_id, :is_closed, select_field).
1396 1405 count.
1397 1406 map do |columns, total|
1398 1407 status_id, is_closed, field_value = columns
1399 1408 is_closed = ['t', 'true', '1'].include?(is_closed.to_s)
1400 1409 {
1401 1410 "status_id" => status_id.to_s,
1402 1411 "closed" => is_closed,
1403 1412 select_field => field_value.to_s,
1404 1413 "total" => total.to_s
1405 1414 }
1406 1415 end
1407 1416 end
1408 1417
1409 1418 # Returns a scope of projects that user can assign the issue to
1410 1419 def allowed_target_projects(user=User.current)
1411 1420 current_project = new_record? ? nil : project
1412 1421 self.class.allowed_target_projects(user, current_project)
1413 1422 end
1414 1423
1415 1424 # Returns a scope of projects that user can assign issues to
1416 1425 # If current_project is given, it will be included in the scope
1417 1426 def self.allowed_target_projects(user=User.current, current_project=nil)
1418 1427 condition = Project.allowed_to_condition(user, :add_issues)
1419 1428 if current_project
1420 1429 condition = ["(#{condition}) OR #{Project.table_name}.id = ?", current_project.id]
1421 1430 end
1422 1431 Project.where(condition).having_trackers
1423 1432 end
1424 1433
1425 1434 # Returns a scope of trackers that user can assign the issue to
1426 1435 def allowed_target_trackers(user=User.current)
1427 1436 self.class.allowed_target_trackers(project, user, tracker_id_was)
1428 1437 end
1429 1438
1430 1439 # Returns a scope of trackers that user can assign project issues to
1431 1440 def self.allowed_target_trackers(project, user=User.current, current_tracker=nil)
1432 1441 if project
1433 1442 scope = project.trackers.sorted
1434 1443 unless user.admin?
1435 1444 roles = user.roles_for_project(project).select {|r| r.has_permission?(:add_issues)}
1436 1445 unless roles.any? {|r| r.permissions_all_trackers?(:add_issues)}
1437 1446 tracker_ids = roles.map {|r| r.permissions_tracker_ids(:add_issues)}.flatten.uniq
1438 1447 if current_tracker
1439 1448 tracker_ids << current_tracker
1440 1449 end
1441 1450 scope = scope.where(:id => tracker_ids)
1442 1451 end
1443 1452 end
1444 1453 scope
1445 1454 else
1446 1455 Tracker.none
1447 1456 end
1448 1457 end
1449 1458
1450 1459 private
1451 1460
1452 1461 def user_tracker_permission?(user, permission)
1453 1462 if project && !project.active?
1454 1463 perm = Redmine::AccessControl.permission(permission)
1455 1464 return false unless perm && perm.read?
1456 1465 end
1457 1466
1458 1467 if user.admin?
1459 1468 true
1460 1469 else
1461 1470 roles = user.roles_for_project(project).select {|r| r.has_permission?(permission)}
1462 1471 roles.any? {|r| r.permissions_all_trackers?(permission) || r.permissions_tracker_ids?(permission, tracker_id)}
1463 1472 end
1464 1473 end
1465 1474
1466 1475 def after_project_change
1467 1476 # Update project_id on related time entries
1468 1477 TimeEntry.where({:issue_id => id}).update_all(["project_id = ?", project_id])
1469 1478
1470 1479 # Delete issue relations
1471 1480 unless Setting.cross_project_issue_relations?
1472 1481 relations_from.clear
1473 1482 relations_to.clear
1474 1483 end
1475 1484
1476 1485 # Move subtasks that were in the same project
1477 1486 children.each do |child|
1478 1487 next unless child.project_id == project_id_was
1479 1488 # Change project and keep project
1480 1489 child.send :project=, project, true
1481 1490 unless child.save
1482 1491 errors.add :base, l(:error_move_of_child_not_possible, :child => "##{child.id}", :errors => child.errors.full_messages.join(", "))
1483 1492 raise ActiveRecord::Rollback
1484 1493 end
1485 1494 end
1486 1495 end
1487 1496
1488 1497 # Callback for after the creation of an issue by copy
1489 1498 # * adds a "copied to" relation with the copied issue
1490 1499 # * copies subtasks from the copied issue
1491 1500 def after_create_from_copy
1492 1501 return unless copy? && !@after_create_from_copy_handled
1493 1502
1494 1503 if (@copied_from.project_id == project_id || Setting.cross_project_issue_relations?) && @copy_options[:link] != false
1495 1504 if @current_journal
1496 1505 @copied_from.init_journal(@current_journal.user)
1497 1506 end
1498 1507 relation = IssueRelation.new(:issue_from => @copied_from, :issue_to => self, :relation_type => IssueRelation::TYPE_COPIED_TO)
1499 1508 unless relation.save
1500 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 1510 end
1502 1511 end
1503 1512
1504 1513 unless @copied_from.leaf? || @copy_options[:subtasks] == false
1505 1514 copy_options = (@copy_options || {}).merge(:subtasks => false)
1506 1515 copied_issue_ids = {@copied_from.id => self.id}
1507 1516 @copied_from.reload.descendants.reorder("#{Issue.table_name}.lft").each do |child|
1508 1517 # Do not copy self when copying an issue as a descendant of the copied issue
1509 1518 next if child == self
1510 1519 # Do not copy subtasks of issues that were not copied
1511 1520 next unless copied_issue_ids[child.parent_id]
1512 1521 # Do not copy subtasks that are not visible to avoid potential disclosure of private data
1513 1522 unless child.visible?
1514 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 1524 next
1516 1525 end
1517 1526 copy = Issue.new.copy_from(child, copy_options)
1518 1527 if @current_journal
1519 1528 copy.init_journal(@current_journal.user)
1520 1529 end
1521 1530 copy.author = author
1522 1531 copy.project = project
1523 1532 copy.parent_issue_id = copied_issue_ids[child.parent_id]
1524 1533 unless copy.save
1525 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 1535 next
1527 1536 end
1528 1537 copied_issue_ids[child.id] = copy.id
1529 1538 end
1530 1539 end
1531 1540 @after_create_from_copy_handled = true
1532 1541 end
1533 1542
1534 1543 def update_nested_set_attributes
1535 1544 if parent_id_changed?
1536 1545 update_nested_set_attributes_on_parent_change
1537 1546 end
1538 1547 remove_instance_variable(:@parent_issue) if instance_variable_defined?(:@parent_issue)
1539 1548 end
1540 1549
1541 1550 # Updates the nested set for when an existing issue is moved
1542 1551 def update_nested_set_attributes_on_parent_change
1543 1552 former_parent_id = parent_id_was
1544 1553 # delete invalid relations of all descendants
1545 1554 self_and_descendants.each do |issue|
1546 1555 issue.relations.each do |relation|
1547 1556 relation.destroy unless relation.valid?
1548 1557 end
1549 1558 end
1550 1559 # update former parent
1551 1560 recalculate_attributes_for(former_parent_id) if former_parent_id
1552 1561 end
1553 1562
1554 1563 def update_parent_attributes
1555 1564 if parent_id
1556 1565 recalculate_attributes_for(parent_id)
1557 1566 association(:parent).reset
1558 1567 end
1559 1568 end
1560 1569
1561 1570 def recalculate_attributes_for(issue_id)
1562 1571 if issue_id && p = Issue.find_by_id(issue_id)
1563 1572 if p.priority_derived?
1564 1573 # priority = highest priority of open children
1565 1574 # priority is left unchanged if all children are closed and there's no default priority defined
1566 1575 if priority_position = p.children.open.joins(:priority).maximum("#{IssuePriority.table_name}.position")
1567 1576 p.priority = IssuePriority.find_by_position(priority_position)
1568 1577 elsif default_priority = IssuePriority.default
1569 1578 p.priority = default_priority
1570 1579 end
1571 1580 end
1572 1581
1573 1582 if p.dates_derived?
1574 1583 # start/due dates = lowest/highest dates of children
1575 1584 p.start_date = p.children.minimum(:start_date)
1576 1585 p.due_date = p.children.maximum(:due_date)
1577 1586 if p.start_date && p.due_date && p.due_date < p.start_date
1578 1587 p.start_date, p.due_date = p.due_date, p.start_date
1579 1588 end
1580 1589 end
1581 1590
1582 1591 if p.done_ratio_derived?
1583 1592 # done ratio = average ratio of children weighted with their total estimated hours
1584 1593 unless Issue.use_status_for_done_ratio? && p.status && p.status.default_done_ratio
1585 1594 children = p.children.to_a
1586 1595 if children.any?
1587 1596 child_with_total_estimated_hours = children.select {|c| c.total_estimated_hours.to_f > 0.0}
1588 1597 if child_with_total_estimated_hours.any?
1589 1598 average = child_with_total_estimated_hours.map(&:total_estimated_hours).sum.to_f / child_with_total_estimated_hours.count
1590 1599 else
1591 1600 average = 1.0
1592 1601 end
1593 1602 done = children.map {|c|
1594 1603 estimated = c.total_estimated_hours.to_f
1595 1604 estimated = average unless estimated > 0.0
1596 1605 ratio = c.closed? ? 100 : (c.done_ratio || 0)
1597 1606 estimated * ratio
1598 1607 }.sum
1599 1608 progress = done / (average * children.count)
1600 1609 p.done_ratio = progress.round
1601 1610 end
1602 1611 end
1603 1612 end
1604 1613
1605 1614 # ancestors will be recursively updated
1606 1615 p.save(:validate => false)
1607 1616 end
1608 1617 end
1609 1618
1610 1619 # Update issues so their versions are not pointing to a
1611 1620 # fixed_version that is not shared with the issue's project
1612 1621 def self.update_versions(conditions=nil)
1613 1622 # Only need to update issues with a fixed_version from
1614 1623 # a different project and that is not systemwide shared
1615 1624 Issue.joins(:project, :fixed_version).
1616 1625 where("#{Issue.table_name}.fixed_version_id IS NOT NULL" +
1617 1626 " AND #{Issue.table_name}.project_id <> #{Version.table_name}.project_id" +
1618 1627 " AND #{Version.table_name}.sharing <> 'system'").
1619 1628 where(conditions).each do |issue|
1620 1629 next if issue.project.nil? || issue.fixed_version.nil?
1621 1630 unless issue.project.shared_versions.include?(issue.fixed_version)
1622 1631 issue.init_journal(User.current)
1623 1632 issue.fixed_version = nil
1624 1633 issue.save
1625 1634 end
1626 1635 end
1627 1636 end
1628 1637
1629 1638 def delete_selected_attachments
1630 1639 if deleted_attachment_ids.present?
1631 1640 objects = attachments.where(:id => deleted_attachment_ids.map(&:to_i))
1632 1641 attachments.delete(objects)
1633 1642 end
1634 1643 end
1635 1644
1636 1645 # Callback on file attachment
1637 1646 def attachment_added(attachment)
1638 1647 if current_journal && !attachment.new_record?
1639 1648 current_journal.journalize_attachment(attachment, :added)
1640 1649 end
1641 1650 end
1642 1651
1643 1652 # Callback on attachment deletion
1644 1653 def attachment_removed(attachment)
1645 1654 if current_journal && !attachment.new_record?
1646 1655 current_journal.journalize_attachment(attachment, :removed)
1647 1656 current_journal.save
1648 1657 end
1649 1658 end
1650 1659
1651 1660 # Called after a relation is added
1652 1661 def relation_added(relation)
1653 1662 if current_journal
1654 1663 current_journal.journalize_relation(relation, :added)
1655 1664 current_journal.save
1656 1665 end
1657 1666 end
1658 1667
1659 1668 # Called after a relation is removed
1660 1669 def relation_removed(relation)
1661 1670 if current_journal
1662 1671 current_journal.journalize_relation(relation, :removed)
1663 1672 current_journal.save
1664 1673 end
1665 1674 end
1666 1675
1667 1676 # Default assignment based on category
1668 1677 def default_assign
1669 1678 if assigned_to.nil? && category && category.assigned_to
1670 1679 self.assigned_to = category.assigned_to
1671 1680 end
1672 1681 end
1673 1682
1674 1683 # Updates start/due dates of following issues
1675 1684 def reschedule_following_issues
1676 1685 if start_date_changed? || due_date_changed?
1677 1686 relations_from.each do |relation|
1678 1687 relation.set_issue_to_dates
1679 1688 end
1680 1689 end
1681 1690 end
1682 1691
1683 1692 # Closes duplicates if the issue is being closed
1684 1693 def close_duplicates
1685 1694 if closing?
1686 1695 duplicates.each do |duplicate|
1687 1696 # Reload is needed in case the duplicate was updated by a previous duplicate
1688 1697 duplicate.reload
1689 1698 # Don't re-close it if it's already closed
1690 1699 next if duplicate.closed?
1691 1700 # Same user and notes
1692 1701 if @current_journal
1693 1702 duplicate.init_journal(@current_journal.user, @current_journal.notes)
1694 1703 duplicate.private_notes = @current_journal.private_notes
1695 1704 end
1696 1705 duplicate.update_attribute :status, self.status
1697 1706 end
1698 1707 end
1699 1708 end
1700 1709
1701 1710 # Make sure updated_on is updated when adding a note and set updated_on now
1702 1711 # so we can set closed_on with the same value on closing
1703 1712 def force_updated_on_change
1704 1713 if @current_journal || changed?
1705 1714 self.updated_on = current_time_from_proper_timezone
1706 1715 if new_record?
1707 1716 self.created_on = updated_on
1708 1717 end
1709 1718 end
1710 1719 end
1711 1720
1712 1721 # Callback for setting closed_on when the issue is closed.
1713 1722 # The closed_on attribute stores the time of the last closing
1714 1723 # and is preserved when the issue is reopened.
1715 1724 def update_closed_on
1716 1725 if closing?
1717 1726 self.closed_on = updated_on
1718 1727 end
1719 1728 end
1720 1729
1721 1730 # Saves the changes in a Journal
1722 1731 # Called after_save
1723 1732 def create_journal
1724 1733 if current_journal
1725 1734 current_journal.save
1726 1735 end
1727 1736 end
1728 1737
1729 1738 def send_notification
1730 1739 if notify? && Setting.notified_events.include?('issue_added')
1731 1740 Mailer.deliver_issue_add(self)
1732 1741 end
1733 1742 end
1734 1743
1735 1744 # Stores the previous assignee so we can still have access
1736 1745 # to it during after_save callbacks (assigned_to_id_was is reset)
1737 1746 def set_assigned_to_was
1738 1747 @previous_assigned_to_id = assigned_to_id_was
1739 1748 end
1740 1749
1741 1750 # Clears the previous assignee at the end of after_save callbacks
1742 1751 def clear_assigned_to_was
1743 1752 @assigned_to_was = nil
1744 1753 @previous_assigned_to_id = nil
1745 1754 end
1746 1755
1747 1756 def clear_disabled_fields
1748 1757 if tracker
1749 1758 tracker.disabled_core_fields.each do |attribute|
1750 1759 send "#{attribute}=", nil
1751 1760 end
1752 1761 self.done_ratio ||= 0
1753 1762 end
1754 1763 end
1755 1764 end
@@ -1,1205 +1,1206
1 1 en:
2 2 # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
3 3 direction: ltr
4 4 date:
5 5 formats:
6 6 # Use the strftime parameters for formats.
7 7 # When no format has been given, it uses default.
8 8 # You can provide other formats here if you like!
9 9 default: "%m/%d/%Y"
10 10 short: "%b %d"
11 11 long: "%B %d, %Y"
12 12
13 13 day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
14 14 abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
15 15
16 16 # Don't forget the nil at the beginning; there's no such thing as a 0th month
17 17 month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
18 18 abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
19 19 # Used in date_select and datime_select.
20 20 order:
21 21 - :year
22 22 - :month
23 23 - :day
24 24
25 25 time:
26 26 formats:
27 27 default: "%m/%d/%Y %I:%M %p"
28 28 time: "%I:%M %p"
29 29 short: "%d %b %H:%M"
30 30 long: "%B %d, %Y %H:%M"
31 31 am: "am"
32 32 pm: "pm"
33 33
34 34 datetime:
35 35 distance_in_words:
36 36 half_a_minute: "half a minute"
37 37 less_than_x_seconds:
38 38 one: "less than 1 second"
39 39 other: "less than %{count} seconds"
40 40 x_seconds:
41 41 one: "1 second"
42 42 other: "%{count} seconds"
43 43 less_than_x_minutes:
44 44 one: "less than a minute"
45 45 other: "less than %{count} minutes"
46 46 x_minutes:
47 47 one: "1 minute"
48 48 other: "%{count} minutes"
49 49 about_x_hours:
50 50 one: "about 1 hour"
51 51 other: "about %{count} hours"
52 52 x_hours:
53 53 one: "1 hour"
54 54 other: "%{count} hours"
55 55 x_days:
56 56 one: "1 day"
57 57 other: "%{count} days"
58 58 about_x_months:
59 59 one: "about 1 month"
60 60 other: "about %{count} months"
61 61 x_months:
62 62 one: "1 month"
63 63 other: "%{count} months"
64 64 about_x_years:
65 65 one: "about 1 year"
66 66 other: "about %{count} years"
67 67 over_x_years:
68 68 one: "over 1 year"
69 69 other: "over %{count} years"
70 70 almost_x_years:
71 71 one: "almost 1 year"
72 72 other: "almost %{count} years"
73 73
74 74 number:
75 75 format:
76 76 separator: "."
77 77 delimiter: ""
78 78 precision: 3
79 79
80 80 human:
81 81 format:
82 82 delimiter: ""
83 83 precision: 3
84 84 storage_units:
85 85 format: "%n %u"
86 86 units:
87 87 byte:
88 88 one: "Byte"
89 89 other: "Bytes"
90 90 kb: "KB"
91 91 mb: "MB"
92 92 gb: "GB"
93 93 tb: "TB"
94 94
95 95 # Used in array.to_sentence.
96 96 support:
97 97 array:
98 98 sentence_connector: "and"
99 99 skip_last_comma: false
100 100
101 101 activerecord:
102 102 errors:
103 103 template:
104 104 header:
105 105 one: "1 error prohibited this %{model} from being saved"
106 106 other: "%{count} errors prohibited this %{model} from being saved"
107 107 messages:
108 108 inclusion: "is not included in the list"
109 109 exclusion: "is reserved"
110 110 invalid: "is invalid"
111 111 confirmation: "doesn't match confirmation"
112 112 accepted: "must be accepted"
113 113 empty: "cannot be empty"
114 114 blank: "cannot be blank"
115 115 too_long: "is too long (maximum is %{count} characters)"
116 116 too_short: "is too short (minimum is %{count} characters)"
117 117 wrong_length: "is the wrong length (should be %{count} characters)"
118 118 taken: "has already been taken"
119 119 not_a_number: "is not a number"
120 120 not_a_date: "is not a valid date"
121 121 greater_than: "must be greater than %{count}"
122 122 greater_than_or_equal_to: "must be greater than or equal to %{count}"
123 123 equal_to: "must be equal to %{count}"
124 124 less_than: "must be less than %{count}"
125 125 less_than_or_equal_to: "must be less than or equal to %{count}"
126 126 odd: "must be odd"
127 127 even: "must be even"
128 128 greater_than_start_date: "must be greater than start date"
129 129 not_same_project: "doesn't belong to the same project"
130 130 circular_dependency: "This relation would create a circular dependency"
131 131 cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks"
132 132 earlier_than_minimum_start_date: "cannot be earlier than %{date} because of preceding issues"
133 133 not_a_regexp: "is not a valid regular expression"
134 134 open_issue_with_closed_parent: "An open issue cannot be attached to a closed parent task"
135 135
136 136 actionview_instancetag_blank_option: Please select
137 137
138 138 general_text_No: 'No'
139 139 general_text_Yes: 'Yes'
140 140 general_text_no: 'no'
141 141 general_text_yes: 'yes'
142 142 general_lang_name: 'English'
143 143 general_csv_separator: ','
144 144 general_csv_decimal_separator: '.'
145 145 general_csv_encoding: ISO-8859-1
146 146 general_pdf_fontname: freesans
147 147 general_pdf_monospaced_fontname: freemono
148 148 general_first_day_of_week: '7'
149 149
150 150 notice_account_updated: Account was successfully updated.
151 151 notice_account_invalid_credentials: Invalid user or password
152 152 notice_account_password_updated: Password was successfully updated.
153 153 notice_account_wrong_password: Wrong password
154 154 notice_account_register_done: Account was successfully created. An email containing the instructions to activate your account was sent to %{email}.
155 155 notice_account_unknown_email: Unknown user.
156 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 157 notice_account_locked: Your account is locked.
158 158 notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password.
159 159 notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you.
160 160 notice_account_activated: Your account has been activated. You can now log in.
161 161 notice_successful_create: Successful creation.
162 162 notice_successful_update: Successful update.
163 163 notice_successful_delete: Successful deletion.
164 164 notice_successful_connection: Successful connection.
165 165 notice_file_not_found: The page you were trying to access doesn't exist or has been removed.
166 166 notice_locking_conflict: Data has been updated by another user.
167 167 notice_not_authorized: You are not authorized to access this page.
168 168 notice_not_authorized_archived_project: The project you're trying to access has been archived.
169 169 notice_email_sent: "An email was sent to %{value}"
170 170 notice_email_error: "An error occurred while sending mail (%{value})"
171 171 notice_feeds_access_key_reseted: Your Atom access key was reset.
172 172 notice_api_access_key_reseted: Your API access key was reset.
173 173 notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}."
174 174 notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
175 175 notice_failed_to_save_members: "Failed to save member(s): %{errors}."
176 176 notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit."
177 177 notice_account_pending: "Your account was created and is now pending administrator approval."
178 178 notice_default_data_loaded: Default configuration successfully loaded.
179 179 notice_unable_delete_version: Unable to delete version.
180 180 notice_unable_delete_time_entry: Unable to delete time log entry.
181 181 notice_issue_done_ratios_updated: Issue done ratios updated.
182 182 notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})"
183 183 notice_issue_successful_create: "Issue %{id} created."
184 184 notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it."
185 185 notice_account_deleted: "Your account has been permanently deleted."
186 186 notice_user_successful_create: "User %{id} created."
187 187 notice_new_password_must_be_different: The new password must be different from the current password
188 188 notice_import_finished: "%{count} items have been imported"
189 189 notice_import_finished_with_errors: "%{count} out of %{total} items could not be imported"
190 190
191 191 error_can_t_load_default_data: "Default configuration could not be loaded: %{value}"
192 192 error_scm_not_found: "The entry or revision was not found in the repository."
193 193 error_scm_command_failed: "An error occurred when trying to access the repository: %{value}"
194 194 error_scm_annotate: "The entry does not exist or cannot be annotated."
195 195 error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size."
196 196 error_issue_not_found_in_project: 'The issue was not found or does not belong to this project'
197 197 error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.'
198 198 error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").'
199 199 error_can_not_delete_custom_field: Unable to delete custom field
200 200 error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted."
201 201 error_can_not_remove_role: "This role is in use and cannot be deleted."
202 202 error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened'
203 203 error_can_not_archive_project: This project cannot be archived
204 204 error_issue_done_ratios_not_updated: "Issue done ratios not updated."
205 205 error_workflow_copy_source: 'Please select a source tracker or role'
206 206 error_workflow_copy_target: 'Please select target tracker(s) and role(s)'
207 207 error_unable_delete_issue_status: 'Unable to delete issue status'
208 208 error_unable_to_connect: "Unable to connect (%{value})"
209 209 error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})"
210 210 error_session_expired: "Your session has expired. Please login again."
211 211 warning_attachments_not_saved: "%{count} file(s) could not be saved."
212 212 error_password_expired: "Your password has expired or the administrator requires you to change it."
213 213 error_invalid_file_encoding: "The file is not a valid %{encoding} encoded file"
214 214 error_invalid_csv_file_or_settings: "The file is not a CSV file or does not match the settings below"
215 215 error_can_not_read_import_file: "An error occurred while reading the file to import"
216 216 error_attachment_extension_not_allowed: "Attachment extension %{extension} is not allowed"
217 217 error_ldap_bind_credentials: "Invalid LDAP Account/Password"
218 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 219 error_no_projects_with_tracker_allowed_for_new_issue: "There are no projects with trackers for which you can create an issue"
220 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 223 mail_subject_lost_password: "Your %{value} password"
223 224 mail_body_lost_password: 'To change your password, click on the following link:'
224 225 mail_subject_register: "Your %{value} account activation"
225 226 mail_body_register: 'To activate your account, click on the following link:'
226 227 mail_body_account_information_external: "You can use your %{value} account to log in."
227 228 mail_body_account_information: Your account information
228 229 mail_subject_account_activation_request: "%{value} account activation request"
229 230 mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:"
230 231 mail_subject_reminder: "%{count} issue(s) due in the next %{days} days"
231 232 mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:"
232 233 mail_subject_wiki_content_added: "'%{id}' wiki page has been added"
233 234 mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}."
234 235 mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated"
235 236 mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}."
236 237 mail_subject_security_notification: "Security notification"
237 238 mail_body_security_notification_change: "%{field} was changed."
238 239 mail_body_security_notification_change_to: "%{field} was changed to %{value}."
239 240 mail_body_security_notification_add: "%{field} %{value} was added."
240 241 mail_body_security_notification_remove: "%{field} %{value} was removed."
241 242 mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications."
242 243 mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications."
243 244 mail_body_settings_updated: "The following settings were changed:"
244 245 mail_body_password_updated: "Your password has been changed."
245 246
246 247 field_name: Name
247 248 field_description: Description
248 249 field_summary: Summary
249 250 field_is_required: Required
250 251 field_firstname: First name
251 252 field_lastname: Last name
252 253 field_mail: Email
253 254 field_address: Email
254 255 field_filename: File
255 256 field_filesize: Size
256 257 field_downloads: Downloads
257 258 field_author: Author
258 259 field_created_on: Created
259 260 field_updated_on: Updated
260 261 field_closed_on: Closed
261 262 field_field_format: Format
262 263 field_is_for_all: For all projects
263 264 field_possible_values: Possible values
264 265 field_regexp: Regular expression
265 266 field_min_length: Minimum length
266 267 field_max_length: Maximum length
267 268 field_value: Value
268 269 field_category: Category
269 270 field_title: Title
270 271 field_project: Project
271 272 field_issue: Issue
272 273 field_status: Status
273 274 field_notes: Notes
274 275 field_is_closed: Issue closed
275 276 field_is_default: Default value
276 277 field_tracker: Tracker
277 278 field_subject: Subject
278 279 field_due_date: Due date
279 280 field_assigned_to: Assignee
280 281 field_priority: Priority
281 282 field_fixed_version: Target version
282 283 field_user: User
283 284 field_principal: Principal
284 285 field_role: Role
285 286 field_homepage: Homepage
286 287 field_is_public: Public
287 288 field_parent: Subproject of
288 289 field_is_in_roadmap: Issues displayed in roadmap
289 290 field_login: Login
290 291 field_mail_notification: Email notifications
291 292 field_admin: Administrator
292 293 field_last_login_on: Last connection
293 294 field_language: Language
294 295 field_effective_date: Due date
295 296 field_password: Password
296 297 field_new_password: New password
297 298 field_password_confirmation: Confirmation
298 299 field_version: Version
299 300 field_type: Type
300 301 field_host: Host
301 302 field_port: Port
302 303 field_account: Account
303 304 field_base_dn: Base DN
304 305 field_attr_login: Login attribute
305 306 field_attr_firstname: Firstname attribute
306 307 field_attr_lastname: Lastname attribute
307 308 field_attr_mail: Email attribute
308 309 field_onthefly: On-the-fly user creation
309 310 field_start_date: Start date
310 311 field_done_ratio: "% Done"
311 312 field_auth_source: Authentication mode
312 313 field_hide_mail: Hide my email address
313 314 field_comments: Comment
314 315 field_url: URL
315 316 field_start_page: Start page
316 317 field_subproject: Subproject
317 318 field_hours: Hours
318 319 field_activity: Activity
319 320 field_spent_on: Date
320 321 field_identifier: Identifier
321 322 field_is_filter: Used as a filter
322 323 field_issue_to: Related issue
323 324 field_delay: Delay
324 325 field_assignable: Issues can be assigned to this role
325 326 field_redirect_existing_links: Redirect existing links
326 327 field_estimated_hours: Estimated time
327 328 field_column_names: Columns
328 329 field_time_entries: Log time
329 330 field_time_zone: Time zone
330 331 field_searchable: Searchable
331 332 field_default_value: Default value
332 333 field_comments_sorting: Display comments
333 334 field_parent_title: Parent page
334 335 field_editable: Editable
335 336 field_watcher: Watcher
336 337 field_identity_url: OpenID URL
337 338 field_content: Content
338 339 field_group_by: Group results by
339 340 field_sharing: Sharing
340 341 field_parent_issue: Parent task
341 342 field_member_of_group: "Assignee's group"
342 343 field_assigned_to_role: "Assignee's role"
343 344 field_text: Text field
344 345 field_visible: Visible
345 346 field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text"
346 347 field_issues_visibility: Issues visibility
347 348 field_is_private: Private
348 349 field_commit_logs_encoding: Commit messages encoding
349 350 field_scm_path_encoding: Path encoding
350 351 field_path_to_repository: Path to repository
351 352 field_root_directory: Root directory
352 353 field_cvsroot: CVSROOT
353 354 field_cvs_module: Module
354 355 field_repository_is_default: Main repository
355 356 field_multiple: Multiple values
356 357 field_auth_source_ldap_filter: LDAP filter
357 358 field_core_fields: Standard fields
358 359 field_timeout: "Timeout (in seconds)"
359 360 field_board_parent: Parent forum
360 361 field_private_notes: Private notes
361 362 field_inherit_members: Inherit members
362 363 field_generate_password: Generate password
363 364 field_must_change_passwd: Must change password at next logon
364 365 field_default_status: Default status
365 366 field_users_visibility: Users visibility
366 367 field_time_entries_visibility: Time logs visibility
367 368 field_total_estimated_hours: Total estimated time
368 369 field_default_version: Default version
369 370 field_remote_ip: IP address
370 371 field_textarea_font: Font used for text areas
371 372
372 373 setting_app_title: Application title
373 374 setting_app_subtitle: Application subtitle
374 375 setting_welcome_text: Welcome text
375 376 setting_default_language: Default language
376 377 setting_login_required: Authentication required
377 378 setting_self_registration: Self-registration
378 379 setting_attachment_max_size: Maximum attachment size
379 380 setting_issues_export_limit: Issues export limit
380 381 setting_mail_from: Emission email address
381 382 setting_bcc_recipients: Blind carbon copy recipients (bcc)
382 383 setting_plain_text_mail: Plain text mail (no HTML)
383 384 setting_host_name: Host name and path
384 385 setting_text_formatting: Text formatting
385 386 setting_wiki_compression: Wiki history compression
386 387 setting_feeds_limit: Maximum number of items in Atom feeds
387 388 setting_default_projects_public: New projects are public by default
388 389 setting_autofetch_changesets: Fetch commits automatically
389 390 setting_sys_api_enabled: Enable WS for repository management
390 391 setting_commit_ref_keywords: Referencing keywords
391 392 setting_commit_fix_keywords: Fixing keywords
392 393 setting_autologin: Autologin
393 394 setting_date_format: Date format
394 395 setting_time_format: Time format
395 396 setting_timespan_format: Time span format
396 397 setting_cross_project_issue_relations: Allow cross-project issue relations
397 398 setting_cross_project_subtasks: Allow cross-project subtasks
398 399 setting_issue_list_default_columns: Default columns displayed on the issue list
399 400 setting_repositories_encodings: Attachments and repositories encodings
400 401 setting_emails_header: Email header
401 402 setting_emails_footer: Email footer
402 403 setting_protocol: Protocol
403 404 setting_per_page_options: Objects per page options
404 405 setting_user_format: Users display format
405 406 setting_activity_days_default: Days displayed on project activity
406 407 setting_display_subprojects_issues: Display subprojects issues on main projects by default
407 408 setting_enabled_scm: Enabled SCM
408 409 setting_mail_handler_body_delimiters: "Truncate emails after one of these lines"
409 410 setting_mail_handler_enable_regex_delimiters: "Enable regular expressions"
410 411 setting_mail_handler_api_enabled: Enable WS for incoming emails
411 412 setting_mail_handler_api_key: Incoming email WS API key
412 413 setting_sys_api_key: Repository management WS API key
413 414 setting_sequential_project_identifiers: Generate sequential project identifiers
414 415 setting_gravatar_enabled: Use Gravatar user icons
415 416 setting_gravatar_default: Default Gravatar image
416 417 setting_diff_max_lines_displayed: Maximum number of diff lines displayed
417 418 setting_file_max_size_displayed: Maximum size of text files displayed inline
418 419 setting_repository_log_display_limit: Maximum number of revisions displayed on file log
419 420 setting_openid: Allow OpenID login and registration
420 421 setting_password_max_age: Require password change after
421 422 setting_password_min_length: Minimum password length
422 423 setting_lost_password: Allow password reset via email
423 424 setting_new_project_user_role_id: Role given to a non-admin user who creates a project
424 425 setting_default_projects_modules: Default enabled modules for new projects
425 426 setting_issue_done_ratio: Calculate the issue done ratio with
426 427 setting_issue_done_ratio_issue_field: Use the issue field
427 428 setting_issue_done_ratio_issue_status: Use the issue status
428 429 setting_start_of_week: Start calendars on
429 430 setting_rest_api_enabled: Enable REST web service
430 431 setting_cache_formatted_text: Cache formatted text
431 432 setting_default_notification_option: Default notification option
432 433 setting_commit_logtime_enabled: Enable time logging
433 434 setting_commit_logtime_activity_id: Activity for logged time
434 435 setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
435 436 setting_issue_group_assignment: Allow issue assignment to groups
436 437 setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues
437 438 setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed
438 439 setting_unsubscribe: Allow users to delete their own account
439 440 setting_session_lifetime: Session maximum lifetime
440 441 setting_session_timeout: Session inactivity timeout
441 442 setting_thumbnails_enabled: Display attachment thumbnails
442 443 setting_thumbnails_size: Thumbnails size (in pixels)
443 444 setting_non_working_week_days: Non-working days
444 445 setting_jsonp_enabled: Enable JSONP support
445 446 setting_default_projects_tracker_ids: Default trackers for new projects
446 447 setting_mail_handler_excluded_filenames: Exclude attachments by name
447 448 setting_force_default_language_for_anonymous: Force default language for anonymous users
448 449 setting_force_default_language_for_loggedin: Force default language for logged-in users
449 450 setting_link_copied_issue: Link issues on copy
450 451 setting_max_additional_emails: Maximum number of additional email addresses
451 452 setting_search_results_per_page: Search results per page
452 453 setting_attachment_extensions_allowed: Allowed extensions
453 454 setting_attachment_extensions_denied: Disallowed extensions
454 455 setting_new_item_menu_tab: Project menu tab for creating new objects
455 456 setting_commit_logs_formatting: Apply text formatting to commit messages
456 457
457 458 permission_add_project: Create project
458 459 permission_add_subprojects: Create subprojects
459 460 permission_edit_project: Edit project
460 461 permission_close_project: Close / reopen the project
461 462 permission_select_project_modules: Select project modules
462 463 permission_manage_members: Manage members
463 464 permission_manage_project_activities: Manage project activities
464 465 permission_manage_versions: Manage versions
465 466 permission_manage_categories: Manage issue categories
466 467 permission_view_issues: View Issues
467 468 permission_add_issues: Add issues
468 469 permission_edit_issues: Edit issues
469 470 permission_copy_issues: Copy issues
470 471 permission_manage_issue_relations: Manage issue relations
471 472 permission_set_issues_private: Set issues public or private
472 473 permission_set_own_issues_private: Set own issues public or private
473 474 permission_add_issue_notes: Add notes
474 475 permission_edit_issue_notes: Edit notes
475 476 permission_edit_own_issue_notes: Edit own notes
476 477 permission_view_private_notes: View private notes
477 478 permission_set_notes_private: Set notes as private
478 479 permission_move_issues: Move issues
479 480 permission_delete_issues: Delete issues
480 481 permission_manage_public_queries: Manage public queries
481 482 permission_save_queries: Save queries
482 483 permission_view_gantt: View gantt chart
483 484 permission_view_calendar: View calendar
484 485 permission_view_issue_watchers: View watchers list
485 486 permission_add_issue_watchers: Add watchers
486 487 permission_delete_issue_watchers: Delete watchers
487 488 permission_log_time: Log spent time
488 489 permission_view_time_entries: View spent time
489 490 permission_edit_time_entries: Edit time logs
490 491 permission_edit_own_time_entries: Edit own time logs
491 492 permission_manage_news: Manage news
492 493 permission_comment_news: Comment news
493 494 permission_view_documents: View documents
494 495 permission_add_documents: Add documents
495 496 permission_edit_documents: Edit documents
496 497 permission_delete_documents: Delete documents
497 498 permission_manage_files: Manage files
498 499 permission_view_files: View files
499 500 permission_manage_wiki: Manage wiki
500 501 permission_rename_wiki_pages: Rename wiki pages
501 502 permission_delete_wiki_pages: Delete wiki pages
502 503 permission_view_wiki_pages: View wiki
503 504 permission_view_wiki_edits: View wiki history
504 505 permission_edit_wiki_pages: Edit wiki pages
505 506 permission_delete_wiki_pages_attachments: Delete attachments
506 507 permission_protect_wiki_pages: Protect wiki pages
507 508 permission_manage_repository: Manage repository
508 509 permission_browse_repository: Browse repository
509 510 permission_view_changesets: View changesets
510 511 permission_commit_access: Commit access
511 512 permission_manage_boards: Manage forums
512 513 permission_view_messages: View messages
513 514 permission_add_messages: Post messages
514 515 permission_edit_messages: Edit messages
515 516 permission_edit_own_messages: Edit own messages
516 517 permission_delete_messages: Delete messages
517 518 permission_delete_own_messages: Delete own messages
518 519 permission_export_wiki_pages: Export wiki pages
519 520 permission_manage_subtasks: Manage subtasks
520 521 permission_manage_related_issues: Manage related issues
521 522 permission_import_issues: Import issues
522 523
523 524 project_module_issue_tracking: Issue tracking
524 525 project_module_time_tracking: Time tracking
525 526 project_module_news: News
526 527 project_module_documents: Documents
527 528 project_module_files: Files
528 529 project_module_wiki: Wiki
529 530 project_module_repository: Repository
530 531 project_module_boards: Forums
531 532 project_module_calendar: Calendar
532 533 project_module_gantt: Gantt
533 534
534 535 label_user: User
535 536 label_user_plural: Users
536 537 label_user_new: New user
537 538 label_user_anonymous: Anonymous
538 539 label_project: Project
539 540 label_project_new: New project
540 541 label_project_plural: Projects
541 542 label_x_projects:
542 543 zero: no projects
543 544 one: 1 project
544 545 other: "%{count} projects"
545 546 label_project_all: All Projects
546 547 label_project_latest: Latest projects
547 548 label_issue: Issue
548 549 label_issue_new: New issue
549 550 label_issue_plural: Issues
550 551 label_issue_view_all: View all issues
551 552 label_issues_by: "Issues by %{value}"
552 553 label_issue_added: Issue added
553 554 label_issue_updated: Issue updated
554 555 label_issue_note_added: Note added
555 556 label_issue_status_updated: Status updated
556 557 label_issue_assigned_to_updated: Assignee updated
557 558 label_issue_priority_updated: Priority updated
558 559 label_document: Document
559 560 label_document_new: New document
560 561 label_document_plural: Documents
561 562 label_document_added: Document added
562 563 label_role: Role
563 564 label_role_plural: Roles
564 565 label_role_new: New role
565 566 label_role_and_permissions: Roles and permissions
566 567 label_role_anonymous: Anonymous
567 568 label_role_non_member: Non member
568 569 label_member: Member
569 570 label_member_new: New member
570 571 label_member_plural: Members
571 572 label_tracker: Tracker
572 573 label_tracker_plural: Trackers
573 574 label_tracker_all: All trackers
574 575 label_tracker_new: New tracker
575 576 label_workflow: Workflow
576 577 label_issue_status: Issue status
577 578 label_issue_status_plural: Issue statuses
578 579 label_issue_status_new: New status
579 580 label_issue_category: Issue category
580 581 label_issue_category_plural: Issue categories
581 582 label_issue_category_new: New category
582 583 label_custom_field: Custom field
583 584 label_custom_field_plural: Custom fields
584 585 label_custom_field_new: New custom field
585 586 label_enumerations: Enumerations
586 587 label_enumeration_new: New value
587 588 label_information: Information
588 589 label_information_plural: Information
589 590 label_please_login: Please log in
590 591 label_register: Register
591 592 label_login_with_open_id_option: or login with OpenID
592 593 label_password_lost: Lost password
593 594 label_password_required: Confirm your password to continue
594 595 label_home: Home
595 596 label_my_page: My page
596 597 label_my_account: My account
597 598 label_my_projects: My projects
598 599 label_my_page_block: My page block
599 600 label_administration: Administration
600 601 label_login: Sign in
601 602 label_logout: Sign out
602 603 label_help: Help
603 604 label_reported_issues: Reported issues
604 605 label_assigned_issues: Assigned issues
605 606 label_assigned_to_me_issues: Issues assigned to me
606 607 label_last_login: Last connection
607 608 label_registered_on: Registered on
608 609 label_activity: Activity
609 610 label_overall_activity: Overall activity
610 611 label_user_activity: "%{value}'s activity"
611 612 label_new: New
612 613 label_logged_as: Logged in as
613 614 label_environment: Environment
614 615 label_authentication: Authentication
615 616 label_auth_source: Authentication mode
616 617 label_auth_source_new: New authentication mode
617 618 label_auth_source_plural: Authentication modes
618 619 label_subproject_plural: Subprojects
619 620 label_subproject_new: New subproject
620 621 label_and_its_subprojects: "%{value} and its subprojects"
621 622 label_min_max_length: Min - Max length
622 623 label_list: List
623 624 label_date: Date
624 625 label_integer: Integer
625 626 label_float: Float
626 627 label_boolean: Boolean
627 628 label_string: Text
628 629 label_text: Long text
629 630 label_attribute: Attribute
630 631 label_attribute_plural: Attributes
631 632 label_no_data: No data to display
632 633 label_no_preview: No preview available
633 634 label_change_status: Change status
634 635 label_history: History
635 636 label_attachment: File
636 637 label_attachment_new: New file
637 638 label_attachment_delete: Delete file
638 639 label_attachment_plural: Files
639 640 label_file_added: File added
640 641 label_report: Report
641 642 label_report_plural: Reports
642 643 label_news: News
643 644 label_news_new: Add news
644 645 label_news_plural: News
645 646 label_news_latest: Latest news
646 647 label_news_view_all: View all news
647 648 label_news_added: News added
648 649 label_news_comment_added: Comment added to a news
649 650 label_settings: Settings
650 651 label_overview: Overview
651 652 label_version: Version
652 653 label_version_new: New version
653 654 label_version_plural: Versions
654 655 label_close_versions: Close completed versions
655 656 label_confirmation: Confirmation
656 657 label_export_to: 'Also available in:'
657 658 label_read: Read...
658 659 label_public_projects: Public projects
659 660 label_open_issues: open
660 661 label_open_issues_plural: open
661 662 label_closed_issues: closed
662 663 label_closed_issues_plural: closed
663 664 label_x_open_issues_abbr:
664 665 zero: 0 open
665 666 one: 1 open
666 667 other: "%{count} open"
667 668 label_x_closed_issues_abbr:
668 669 zero: 0 closed
669 670 one: 1 closed
670 671 other: "%{count} closed"
671 672 label_x_issues:
672 673 zero: 0 issues
673 674 one: 1 issue
674 675 other: "%{count} issues"
675 676 label_total: Total
676 677 label_total_plural: Totals
677 678 label_total_time: Total time
678 679 label_permissions: Permissions
679 680 label_current_status: Current status
680 681 label_new_statuses_allowed: New statuses allowed
681 682 label_all: all
682 683 label_any: any
683 684 label_none: none
684 685 label_nobody: nobody
685 686 label_next: Next
686 687 label_previous: Previous
687 688 label_used_by: Used by
688 689 label_details: Details
689 690 label_add_note: Add a note
690 691 label_calendar: Calendar
691 692 label_months_from: months from
692 693 label_gantt: Gantt
693 694 label_internal: Internal
694 695 label_last_changes: "last %{count} changes"
695 696 label_change_view_all: View all changes
696 697 label_personalize_page: Personalize this page
697 698 label_comment: Comment
698 699 label_comment_plural: Comments
699 700 label_x_comments:
700 701 zero: no comments
701 702 one: 1 comment
702 703 other: "%{count} comments"
703 704 label_comment_add: Add a comment
704 705 label_comment_added: Comment added
705 706 label_comment_delete: Delete comments
706 707 label_query: Custom query
707 708 label_query_plural: Custom queries
708 709 label_query_new: New query
709 710 label_my_queries: My custom queries
710 711 label_filter_add: Add filter
711 712 label_filter_plural: Filters
712 713 label_equals: is
713 714 label_not_equals: is not
714 715 label_in_less_than: in less than
715 716 label_in_more_than: in more than
716 717 label_in_the_next_days: in the next
717 718 label_in_the_past_days: in the past
718 719 label_greater_or_equal: '>='
719 720 label_less_or_equal: '<='
720 721 label_between: between
721 722 label_in: in
722 723 label_today: today
723 724 label_all_time: all time
724 725 label_yesterday: yesterday
725 726 label_this_week: this week
726 727 label_last_week: last week
727 728 label_last_n_weeks: "last %{count} weeks"
728 729 label_last_n_days: "last %{count} days"
729 730 label_this_month: this month
730 731 label_last_month: last month
731 732 label_this_year: this year
732 733 label_date_range: Date range
733 734 label_less_than_ago: less than days ago
734 735 label_more_than_ago: more than days ago
735 736 label_ago: days ago
736 737 label_contains: contains
737 738 label_not_contains: doesn't contain
738 739 label_any_issues_in_project: any issues in project
739 740 label_any_issues_not_in_project: any issues not in project
740 741 label_no_issues_in_project: no issues in project
741 742 label_any_open_issues: any open issues
742 743 label_no_open_issues: no open issues
743 744 label_day_plural: days
744 745 label_repository: Repository
745 746 label_repository_new: New repository
746 747 label_repository_plural: Repositories
747 748 label_browse: Browse
748 749 label_branch: Branch
749 750 label_tag: Tag
750 751 label_revision: Revision
751 752 label_revision_plural: Revisions
752 753 label_revision_id: "Revision %{value}"
753 754 label_associated_revisions: Associated revisions
754 755 label_added: added
755 756 label_modified: modified
756 757 label_copied: copied
757 758 label_renamed: renamed
758 759 label_deleted: deleted
759 760 label_latest_revision: Latest revision
760 761 label_latest_revision_plural: Latest revisions
761 762 label_view_revisions: View revisions
762 763 label_view_all_revisions: View all revisions
763 764 label_max_size: Maximum size
764 765 label_sort_highest: Move to top
765 766 label_sort_higher: Move up
766 767 label_sort_lower: Move down
767 768 label_sort_lowest: Move to bottom
768 769 label_roadmap: Roadmap
769 770 label_roadmap_due_in: "Due in %{value}"
770 771 label_roadmap_overdue: "%{value} late"
771 772 label_roadmap_no_issues: No issues for this version
772 773 label_search: Search
773 774 label_result_plural: Results
774 775 label_all_words: All words
775 776 label_wiki: Wiki
776 777 label_wiki_edit: Wiki edit
777 778 label_wiki_edit_plural: Wiki edits
778 779 label_wiki_page: Wiki page
779 780 label_wiki_page_plural: Wiki pages
780 781 label_wiki_page_new: New wiki page
781 782 label_index_by_title: Index by title
782 783 label_index_by_date: Index by date
783 784 label_current_version: Current version
784 785 label_preview: Preview
785 786 label_feed_plural: Feeds
786 787 label_changes_details: Details of all changes
787 788 label_issue_tracking: Issue tracking
788 789 label_spent_time: Spent time
789 790 label_total_spent_time: Total spent time
790 791 label_overall_spent_time: Overall spent time
791 792 label_f_hour: "%{value} hour"
792 793 label_f_hour_plural: "%{value} hours"
793 794 label_f_hour_short: "%{value} h"
794 795 label_time_tracking: Time tracking
795 796 label_change_plural: Changes
796 797 label_statistics: Statistics
797 798 label_commits_per_month: Commits per month
798 799 label_commits_per_author: Commits per author
799 800 label_diff: diff
800 801 label_view_diff: View differences
801 802 label_diff_inline: inline
802 803 label_diff_side_by_side: side by side
803 804 label_options: Options
804 805 label_copy_workflow_from: Copy workflow from
805 806 label_permissions_report: Permissions report
806 807 label_watched_issues: Watched issues
807 808 label_related_issues: Related issues
808 809 label_applied_status: Applied status
809 810 label_loading: Loading...
810 811 label_relation_new: New relation
811 812 label_relation_delete: Delete relation
812 813 label_relates_to: Related to
813 814 label_duplicates: Duplicates
814 815 label_duplicated_by: Duplicated by
815 816 label_blocks: Blocks
816 817 label_blocked_by: Blocked by
817 818 label_precedes: Precedes
818 819 label_follows: Follows
819 820 label_copied_to: Copied to
820 821 label_copied_from: Copied from
821 822 label_stay_logged_in: Stay logged in
822 823 label_disabled: disabled
823 824 label_show_completed_versions: Show completed versions
824 825 label_me: me
825 826 label_board: Forum
826 827 label_board_new: New forum
827 828 label_board_plural: Forums
828 829 label_board_locked: Locked
829 830 label_board_sticky: Sticky
830 831 label_topic_plural: Topics
831 832 label_message_plural: Messages
832 833 label_message_last: Last message
833 834 label_message_new: New message
834 835 label_message_posted: Message added
835 836 label_reply_plural: Replies
836 837 label_send_information: Send account information to the user
837 838 label_year: Year
838 839 label_month: Month
839 840 label_week: Week
840 841 label_date_from: From
841 842 label_date_to: To
842 843 label_language_based: Based on user's language
843 844 label_sort_by: "Sort by %{value}"
844 845 label_send_test_email: Send a test email
845 846 label_feeds_access_key: Atom access key
846 847 label_missing_feeds_access_key: Missing a Atom access key
847 848 label_feeds_access_key_created_on: "Atom access key created %{value} ago"
848 849 label_module_plural: Modules
849 850 label_added_time_by: "Added by %{author} %{age} ago"
850 851 label_updated_time_by: "Updated by %{author} %{age} ago"
851 852 label_updated_time: "Updated %{value} ago"
852 853 label_jump_to_a_project: Jump to a project...
853 854 label_file_plural: Files
854 855 label_changeset_plural: Changesets
855 856 label_default_columns: Default columns
856 857 label_no_change_option: (No change)
857 858 label_bulk_edit_selected_issues: Bulk edit selected issues
858 859 label_bulk_edit_selected_time_entries: Bulk edit selected time entries
859 860 label_theme: Theme
860 861 label_default: Default
861 862 label_search_titles_only: Search titles only
862 863 label_user_mail_option_all: "For any event on all my projects"
863 864 label_user_mail_option_selected: "For any event on the selected projects only..."
864 865 label_user_mail_option_none: "No events"
865 866 label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in"
866 867 label_user_mail_option_only_assigned: "Only for things I watch or I am assigned to"
867 868 label_user_mail_option_only_owner: "Only for things I watch or I am the owner of"
868 869 label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself"
869 870 label_registration_activation_by_email: account activation by email
870 871 label_registration_manual_activation: manual account activation
871 872 label_registration_automatic_activation: automatic account activation
872 873 label_display_per_page: "Per page: %{value}"
873 874 label_age: Age
874 875 label_change_properties: Change properties
875 876 label_general: General
876 877 label_more: More
877 878 label_scm: SCM
878 879 label_plugins: Plugins
879 880 label_ldap_authentication: LDAP authentication
880 881 label_downloads_abbr: D/L
881 882 label_optional_description: Optional description
882 883 label_add_another_file: Add another file
883 884 label_preferences: Preferences
884 885 label_chronological_order: In chronological order
885 886 label_reverse_chronological_order: In reverse chronological order
886 887 label_planning: Planning
887 888 label_incoming_emails: Incoming emails
888 889 label_generate_key: Generate a key
889 890 label_issue_watchers: Watchers
890 891 label_example: Example
891 892 label_display: Display
892 893 label_sort: Sort
893 894 label_ascending: Ascending
894 895 label_descending: Descending
895 896 label_date_from_to: From %{start} to %{end}
896 897 label_wiki_content_added: Wiki page added
897 898 label_wiki_content_updated: Wiki page updated
898 899 label_group: Group
899 900 label_group_plural: Groups
900 901 label_group_new: New group
901 902 label_group_anonymous: Anonymous users
902 903 label_group_non_member: Non member users
903 904 label_time_entry_plural: Spent time
904 905 label_version_sharing_none: Not shared
905 906 label_version_sharing_descendants: With subprojects
906 907 label_version_sharing_hierarchy: With project hierarchy
907 908 label_version_sharing_tree: With project tree
908 909 label_version_sharing_system: With all projects
909 910 label_update_issue_done_ratios: Update issue done ratios
910 911 label_copy_source: Source
911 912 label_copy_target: Target
912 913 label_copy_same_as_target: Same as target
913 914 label_display_used_statuses_only: Only display statuses that are used by this tracker
914 915 label_api_access_key: API access key
915 916 label_missing_api_access_key: Missing an API access key
916 917 label_api_access_key_created_on: "API access key created %{value} ago"
917 918 label_profile: Profile
918 919 label_subtask_plural: Subtasks
919 920 label_project_copy_notifications: Send email notifications during the project copy
920 921 label_principal_search: "Search for user or group:"
921 922 label_user_search: "Search for user:"
922 923 label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author
923 924 label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee
924 925 label_issues_visibility_all: All issues
925 926 label_issues_visibility_public: All non private issues
926 927 label_issues_visibility_own: Issues created by or assigned to the user
927 928 label_git_report_last_commit: Report last commit for files and directories
928 929 label_parent_revision: Parent
929 930 label_child_revision: Child
930 931 label_export_options: "%{export_format} export options"
931 932 label_copy_attachments: Copy attachments
932 933 label_copy_subtasks: Copy subtasks
933 934 label_item_position: "%{position} of %{count}"
934 935 label_completed_versions: Completed versions
935 936 label_search_for_watchers: Search for watchers to add
936 937 label_session_expiration: Session expiration
937 938 label_show_closed_projects: View closed projects
938 939 label_status_transitions: Status transitions
939 940 label_fields_permissions: Fields permissions
940 941 label_readonly: Read-only
941 942 label_required: Required
942 943 label_hidden: Hidden
943 944 label_attribute_of_project: "Project's %{name}"
944 945 label_attribute_of_issue: "Issue's %{name}"
945 946 label_attribute_of_author: "Author's %{name}"
946 947 label_attribute_of_assigned_to: "Assignee's %{name}"
947 948 label_attribute_of_user: "User's %{name}"
948 949 label_attribute_of_fixed_version: "Target version's %{name}"
949 950 label_cross_project_descendants: With subprojects
950 951 label_cross_project_tree: With project tree
951 952 label_cross_project_hierarchy: With project hierarchy
952 953 label_cross_project_system: With all projects
953 954 label_gantt_progress_line: Progress line
954 955 label_visibility_private: to me only
955 956 label_visibility_roles: to these roles only
956 957 label_visibility_public: to any users
957 958 label_link: Link
958 959 label_only: only
959 960 label_drop_down_list: drop-down list
960 961 label_checkboxes: checkboxes
961 962 label_radio_buttons: radio buttons
962 963 label_link_values_to: Link values to URL
963 964 label_custom_field_select_type: Select the type of object to which the custom field is to be attached
964 965 label_check_for_updates: Check for updates
965 966 label_latest_compatible_version: Latest compatible version
966 967 label_unknown_plugin: Unknown plugin
967 968 label_add_projects: Add projects
968 969 label_users_visibility_all: All active users
969 970 label_users_visibility_members_of_visible_projects: Members of visible projects
970 971 label_edit_attachments: Edit attached files
971 972 label_link_copied_issue: Link copied issue
972 973 label_ask: Ask
973 974 label_search_attachments_yes: Search attachment filenames and descriptions
974 975 label_search_attachments_no: Do not search attachments
975 976 label_search_attachments_only: Search attachments only
976 977 label_search_open_issues_only: Open issues only
977 978 label_email_address_plural: Emails
978 979 label_email_address_add: Add email address
979 980 label_enable_notifications: Enable notifications
980 981 label_disable_notifications: Disable notifications
981 982 label_blank_value: blank
982 983 label_parent_task_attributes: Parent tasks attributes
983 984 label_parent_task_attributes_derived: Calculated from subtasks
984 985 label_parent_task_attributes_independent: Independent of subtasks
985 986 label_time_entries_visibility_all: All time entries
986 987 label_time_entries_visibility_own: Time entries created by the user
987 988 label_member_management: Member management
988 989 label_member_management_all_roles: All roles
989 990 label_member_management_selected_roles_only: Only these roles
990 991 label_import_issues: Import issues
991 992 label_select_file_to_import: Select the file to import
992 993 label_fields_separator: Field separator
993 994 label_fields_wrapper: Field wrapper
994 995 label_encoding: Encoding
995 996 label_comma_char: Comma
996 997 label_semi_colon_char: Semicolon
997 998 label_quote_char: Quote
998 999 label_double_quote_char: Double quote
999 1000 label_fields_mapping: Fields mapping
1000 1001 label_file_content_preview: File content preview
1001 1002 label_create_missing_values: Create missing values
1002 1003 label_api: API
1003 1004 label_field_format_enumeration: Key/value list
1004 1005 label_default_values_for_new_users: Default values for new users
1005 1006 label_relations: Relations
1006 1007 label_new_project_issue_tab_enabled: Display the "New issue" tab
1007 1008 label_new_object_tab_enabled: Display the "+" drop-down
1008 1009 label_table_of_contents: Table of contents
1009 1010 label_font_default: Default font
1010 1011 label_font_monospace: Monospaced font
1011 1012 label_font_proportional: Proportional font
1012 1013
1013 1014 button_login: Login
1014 1015 button_submit: Submit
1015 1016 button_save: Save
1016 1017 button_check_all: Check all
1017 1018 button_uncheck_all: Uncheck all
1018 1019 button_collapse_all: Collapse all
1019 1020 button_expand_all: Expand all
1020 1021 button_delete: Delete
1021 1022 button_create: Create
1022 1023 button_create_and_continue: Create and continue
1023 1024 button_test: Test
1024 1025 button_edit: Edit
1025 1026 button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}"
1026 1027 button_add: Add
1027 1028 button_change: Change
1028 1029 button_apply: Apply
1029 1030 button_clear: Clear
1030 1031 button_lock: Lock
1031 1032 button_unlock: Unlock
1032 1033 button_download: Download
1033 1034 button_list: List
1034 1035 button_view: View
1035 1036 button_move: Move
1036 1037 button_move_and_follow: Move and follow
1037 1038 button_back: Back
1038 1039 button_cancel: Cancel
1039 1040 button_activate: Activate
1040 1041 button_sort: Sort
1041 1042 button_log_time: Log time
1042 1043 button_rollback: Rollback to this version
1043 1044 button_watch: Watch
1044 1045 button_unwatch: Unwatch
1045 1046 button_reply: Reply
1046 1047 button_archive: Archive
1047 1048 button_unarchive: Unarchive
1048 1049 button_reset: Reset
1049 1050 button_rename: Rename
1050 1051 button_change_password: Change password
1051 1052 button_copy: Copy
1052 1053 button_copy_and_follow: Copy and follow
1053 1054 button_annotate: Annotate
1054 1055 button_update: Update
1055 1056 button_configure: Configure
1056 1057 button_quote: Quote
1057 1058 button_duplicate: Duplicate
1058 1059 button_show: Show
1059 1060 button_hide: Hide
1060 1061 button_edit_section: Edit this section
1061 1062 button_export: Export
1062 1063 button_delete_my_account: Delete my account
1063 1064 button_close: Close
1064 1065 button_reopen: Reopen
1065 1066 button_import: Import
1066 1067 button_filter: Filter
1067 1068
1068 1069 status_active: active
1069 1070 status_registered: registered
1070 1071 status_locked: locked
1071 1072
1072 1073 project_status_active: active
1073 1074 project_status_closed: closed
1074 1075 project_status_archived: archived
1075 1076
1076 1077 version_status_open: open
1077 1078 version_status_locked: locked
1078 1079 version_status_closed: closed
1079 1080
1080 1081 field_active: Active
1081 1082
1082 1083 text_select_mail_notifications: Select actions for which email notifications should be sent.
1083 1084 text_regexp_info: eg. ^[A-Z0-9]+$
1084 1085 text_min_max_length_info: 0 means no restriction
1085 1086 text_project_destroy_confirmation: Are you sure you want to delete this project and related data?
1086 1087 text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted."
1087 1088 text_workflow_edit: Select a role and a tracker to edit the workflow
1088 1089 text_are_you_sure: Are you sure?
1089 1090 text_journal_changed: "%{label} changed from %{old} to %{new}"
1090 1091 text_journal_changed_no_detail: "%{label} updated"
1091 1092 text_journal_set_to: "%{label} set to %{value}"
1092 1093 text_journal_deleted: "%{label} deleted (%{old})"
1093 1094 text_journal_added: "%{label} %{value} added"
1094 1095 text_tip_issue_begin_day: issue beginning this day
1095 1096 text_tip_issue_end_day: issue ending this day
1096 1097 text_tip_issue_begin_end_day: issue beginning and ending this day
1097 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 1099 text_caracters_maximum: "%{count} characters maximum."
1099 1100 text_caracters_minimum: "Must be at least %{count} characters long."
1100 1101 text_length_between: "Length between %{min} and %{max} characters."
1101 1102 text_tracker_no_workflow: No workflow defined for this tracker
1102 1103 text_unallowed_characters: Unallowed characters
1103 1104 text_comma_separated: Multiple values allowed (comma separated).
1104 1105 text_line_separated: Multiple values allowed (one line for each value).
1105 1106 text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
1106 1107 text_issue_added: "Issue %{id} has been reported by %{author}."
1107 1108 text_issue_updated: "Issue %{id} has been updated by %{author}."
1108 1109 text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content?
1109 1110 text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?"
1110 1111 text_issue_category_destroy_assignments: Remove category assignments
1111 1112 text_issue_category_reassign_to: Reassign issues to this category
1112 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 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 1115 text_load_default_configuration: Load the default configuration
1115 1116 text_status_changed_by_changeset: "Applied in changeset %{value}."
1116 1117 text_time_logged_by_changeset: "Applied in changeset %{value}."
1117 1118 text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?'
1118 1119 text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)."
1119 1120 text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?'
1120 1121 text_select_project_modules: 'Select modules to enable for this project:'
1121 1122 text_default_administrator_account_changed: Default administrator account changed
1122 1123 text_file_repository_writable: Attachments directory writable
1123 1124 text_plugin_assets_writable: Plugin assets directory writable
1124 1125 text_rmagick_available: RMagick available (optional)
1125 1126 text_convert_available: ImageMagick convert available (optional)
1126 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 1128 text_destroy_time_entries: Delete reported hours
1128 1129 text_assign_time_entries_to_project: Assign reported hours to the project
1129 1130 text_reassign_time_entries: 'Reassign reported hours to this issue:'
1130 1131 text_user_wrote: "%{value} wrote:"
1131 1132 text_enumeration_destroy_question: "%{count} objects are assigned to the value “%{name}”."
1132 1133 text_enumeration_category_reassign_to: 'Reassign them to this value:'
1133 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 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 1136 text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.'
1136 1137 text_custom_field_possible_values_info: 'One line for each value'
1137 1138 text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?"
1138 1139 text_wiki_page_nullify_children: "Keep child pages as root pages"
1139 1140 text_wiki_page_destroy_children: "Delete child pages and all their descendants"
1140 1141 text_wiki_page_reassign_children: "Reassign child pages to this parent page"
1141 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 1143 text_zoom_in: Zoom in
1143 1144 text_zoom_out: Zoom out
1144 1145 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
1145 1146 text_scm_path_encoding_note: "Default: UTF-8"
1146 1147 text_subversion_repository_note: "Examples: file:///, http://, https://, svn://, svn+[tunnelscheme]://"
1147 1148 text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
1148 1149 text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo)
1149 1150 text_scm_command: Command
1150 1151 text_scm_command_version: Version
1151 1152 text_scm_config: You can configure your SCM commands in config/configuration.yml. Please restart the application after editing it.
1152 1153 text_scm_command_not_available: SCM command is not available. Please check settings on the administration panel.
1153 1154 text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)"
1154 1155 text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes"
1155 1156 text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}"
1156 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 1158 text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours."
1158 1159 text_project_closed: This project is closed and read-only.
1159 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 1162 default_role_manager: Manager
1162 1163 default_role_developer: Developer
1163 1164 default_role_reporter: Reporter
1164 1165 default_tracker_bug: Bug
1165 1166 default_tracker_feature: Feature
1166 1167 default_tracker_support: Support
1167 1168 default_issue_status_new: New
1168 1169 default_issue_status_in_progress: In Progress
1169 1170 default_issue_status_resolved: Resolved
1170 1171 default_issue_status_feedback: Feedback
1171 1172 default_issue_status_closed: Closed
1172 1173 default_issue_status_rejected: Rejected
1173 1174 default_doc_category_user: User documentation
1174 1175 default_doc_category_tech: Technical documentation
1175 1176 default_priority_low: Low
1176 1177 default_priority_normal: Normal
1177 1178 default_priority_high: High
1178 1179 default_priority_urgent: Urgent
1179 1180 default_priority_immediate: Immediate
1180 1181 default_activity_design: Design
1181 1182 default_activity_development: Development
1182 1183
1183 1184 enumeration_issue_priorities: Issue priorities
1184 1185 enumeration_doc_categories: Document categories
1185 1186 enumeration_activities: Activities (time tracking)
1186 1187 enumeration_system_activity: System Activity
1187 1188 description_filter: Filter
1188 1189 description_search: Searchfield
1189 1190 description_choose_project: Projects
1190 1191 description_project_scope: Search scope
1191 1192 description_notes: Notes
1192 1193 description_message_content: Message content
1193 1194 description_query_sort_criteria_attribute: Sort attribute
1194 1195 description_query_sort_criteria_direction: Sort direction
1195 1196 description_user_mail_notification: Mail notification settings
1196 1197 description_available_columns: Available Columns
1197 1198 description_selected_columns: Selected Columns
1198 1199 description_all_columns: All Columns
1199 1200 description_issue_category_reassign: Choose issue category
1200 1201 description_wiki_subpages_reassign: Choose new parent page
1201 1202 description_date_range_list: Choose range from list
1202 1203 description_date_range_interval: Choose range by selecting start and end date
1203 1204 description_date_from: Enter start date
1204 1205 description_date_to: Enter end date
1205 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 1 # French translations for Ruby on Rails
2 2 # by Christian Lescuyer (christian@flyingcoders.com)
3 3 # contributor: Sebastien Grosjean - ZenCocoon.com
4 4 # contributor: Thibaut Cuvelier - Developpez.com
5 5
6 6 fr:
7 7 direction: ltr
8 8 date:
9 9 formats:
10 10 default: "%d/%m/%Y"
11 11 short: "%e %b"
12 12 long: "%e %B %Y"
13 13 long_ordinal: "%e %B %Y"
14 14 only_day: "%e"
15 15
16 16 day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi]
17 17 abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam]
18 18
19 19 # Don't forget the nil at the beginning; there's no such thing as a 0th month
20 20 month_names: [~, janvier, février, mars, avril, mai, juin, juillet, août, septembre, octobre, novembre, décembre]
21 21 abbr_month_names: [~, jan., fév., mar., avr., mai, juin, juil., août, sept., oct., nov., déc.]
22 22 # Used in date_select and datime_select.
23 23 order:
24 24 - :day
25 25 - :month
26 26 - :year
27 27
28 28 time:
29 29 formats:
30 30 default: "%d/%m/%Y %H:%M"
31 31 time: "%H:%M"
32 32 short: "%d %b %H:%M"
33 33 long: "%A %d %B %Y %H:%M:%S %Z"
34 34 long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
35 35 only_second: "%S"
36 36 am: 'am'
37 37 pm: 'pm'
38 38
39 39 datetime:
40 40 distance_in_words:
41 41 half_a_minute: "30 secondes"
42 42 less_than_x_seconds:
43 43 zero: "moins d'une seconde"
44 44 one: "moins d'une seconde"
45 45 other: "moins de %{count} secondes"
46 46 x_seconds:
47 47 one: "1 seconde"
48 48 other: "%{count} secondes"
49 49 less_than_x_minutes:
50 50 zero: "moins d'une minute"
51 51 one: "moins d'une minute"
52 52 other: "moins de %{count} minutes"
53 53 x_minutes:
54 54 one: "1 minute"
55 55 other: "%{count} minutes"
56 56 about_x_hours:
57 57 one: "environ une heure"
58 58 other: "environ %{count} heures"
59 59 x_hours:
60 60 one: "une heure"
61 61 other: "%{count} heures"
62 62 x_days:
63 63 one: "un jour"
64 64 other: "%{count} jours"
65 65 about_x_months:
66 66 one: "environ un mois"
67 67 other: "environ %{count} mois"
68 68 x_months:
69 69 one: "un mois"
70 70 other: "%{count} mois"
71 71 about_x_years:
72 72 one: "environ un an"
73 73 other: "environ %{count} ans"
74 74 over_x_years:
75 75 one: "plus d'un an"
76 76 other: "plus de %{count} ans"
77 77 almost_x_years:
78 78 one: "presqu'un an"
79 79 other: "presque %{count} ans"
80 80 prompts:
81 81 year: "Année"
82 82 month: "Mois"
83 83 day: "Jour"
84 84 hour: "Heure"
85 85 minute: "Minute"
86 86 second: "Seconde"
87 87
88 88 number:
89 89 format:
90 90 precision: 3
91 91 separator: ','
92 92 delimiter: ' '
93 93 currency:
94 94 format:
95 95 unit: '€'
96 96 precision: 2
97 97 format: '%n %u'
98 98 human:
99 99 format:
100 100 precision: 3
101 101 storage_units:
102 102 format: "%n %u"
103 103 units:
104 104 byte:
105 105 one: "octet"
106 106 other: "octets"
107 107 kb: "ko"
108 108 mb: "Mo"
109 109 gb: "Go"
110 110 tb: "To"
111 111
112 112 support:
113 113 array:
114 114 sentence_connector: 'et'
115 115 skip_last_comma: true
116 116 word_connector: ", "
117 117 two_words_connector: " et "
118 118 last_word_connector: " et "
119 119
120 120 activerecord:
121 121 errors:
122 122 template:
123 123 header:
124 124 one: "Impossible d'enregistrer %{model} : une erreur"
125 125 other: "Impossible d'enregistrer %{model} : %{count} erreurs."
126 126 body: "Veuillez vérifier les champs suivants :"
127 127 messages:
128 128 inclusion: "n'est pas inclus(e) dans la liste"
129 129 exclusion: "n'est pas disponible"
130 130 invalid: "n'est pas valide"
131 131 confirmation: "ne concorde pas avec la confirmation"
132 132 accepted: "doit être accepté(e)"
133 133 empty: "doit être renseigné(e)"
134 134 blank: "doit être renseigné(e)"
135 135 too_long: "est trop long (pas plus de %{count} caractères)"
136 136 too_short: "est trop court (au moins %{count} caractères)"
137 137 wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
138 138 taken: "est déjà utilisé"
139 139 not_a_number: "n'est pas un nombre"
140 140 not_a_date: "n'est pas une date valide"
141 141 greater_than: "doit être supérieur à %{count}"
142 142 greater_than_or_equal_to: "doit être supérieur ou égal à %{count}"
143 143 equal_to: "doit être égal à %{count}"
144 144 less_than: "doit être inférieur à %{count}"
145 145 less_than_or_equal_to: "doit être inférieur ou égal à %{count}"
146 146 odd: "doit être impair"
147 147 even: "doit être pair"
148 148 greater_than_start_date: "doit être postérieure à la date de début"
149 149 not_same_project: "n'appartient pas au même projet"
150 150 circular_dependency: "Cette relation créerait une dépendance circulaire"
151 151 cant_link_an_issue_with_a_descendant: "Une demande ne peut pas être liée à l'une de ses sous-tâches"
152 152 earlier_than_minimum_start_date: "ne peut pas être antérieure au %{date} à cause des demandes qui précèdent"
153 153 not_a_regexp: "n'est pas une expression regulière valide"
154 154 open_issue_with_closed_parent: "Une demande ouverte ne peut pas être rattachée à une demande fermée"
155 155
156 156 actionview_instancetag_blank_option: Choisir
157 157
158 158 general_text_No: 'Non'
159 159 general_text_Yes: 'Oui'
160 160 general_text_no: 'non'
161 161 general_text_yes: 'oui'
162 162 general_lang_name: 'French (Français)'
163 163 general_csv_separator: ';'
164 164 general_csv_decimal_separator: ','
165 165 general_csv_encoding: ISO-8859-1
166 166 general_pdf_fontname: freesans
167 167 general_pdf_monospaced_fontname: freemono
168 168 general_first_day_of_week: '1'
169 169
170 170 notice_account_updated: Le compte a été mis à jour avec succès.
171 171 notice_account_invalid_credentials: Identifiant ou mot de passe invalide.
172 172 notice_account_password_updated: Mot de passe mis à jour avec succès.
173 173 notice_account_wrong_password: Mot de passe incorrect
174 174 notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a été envoyé à l'adresse %{email}.
175 175 notice_account_unknown_email: Aucun compte ne correspond à cette adresse.
176 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 177 notice_account_locked: Votre compte est verrouillé.
178 178 notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe.
179 179 notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a été envoyé.
180 180 notice_account_activated: Votre compte a été activé. Vous pouvez à présent vous connecter.
181 181 notice_successful_create: Création effectuée avec succès.
182 182 notice_successful_update: Mise à jour effectuée avec succès.
183 183 notice_successful_delete: Suppression effectuée avec succès.
184 184 notice_successful_connection: Connexion réussie.
185 185 notice_file_not_found: "La page à laquelle vous souhaitez accéder n'existe pas ou a été supprimée."
186 186 notice_locking_conflict: Les données ont été mises à jour par un autre utilisateur. Mise à jour impossible.
187 187 notice_not_authorized: "Vous n'êtes pas autorisé à accéder à cette page."
188 188 notice_not_authorized_archived_project: Le projet auquel vous tentez d'accéder a été archivé.
189 189 notice_email_sent: "Un email a été envoyé à %{value}"
190 190 notice_email_error: "Erreur lors de l'envoi de l'email (%{value})"
191 191 notice_feeds_access_key_reseted: "Votre clé d'accès aux flux Atom a été réinitialisée."
192 192 notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée.
193 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 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 195 notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}."
196 196 notice_no_issue_selected: "Aucune demande sélectionnée ! Cochez les demandes que vous voulez mettre à jour."
197 197 notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur."
198 198 notice_default_data_loaded: Paramétrage par défaut chargé avec succès.
199 199 notice_unable_delete_version: Impossible de supprimer cette version.
200 200 notice_unable_delete_time_entry: Impossible de supprimer le temps passé.
201 201 notice_issue_done_ratios_updated: L'avancement des demandes a été mis à jour.
202 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 203 notice_issue_successful_create: "Demande %{id} créée."
204 204 notice_issue_update_conflict: "La demande a été mise à jour par un autre utilisateur pendant que vous la modifiez."
205 205 notice_account_deleted: "Votre compte a été définitivement supprimé."
206 206 notice_user_successful_create: "Utilisateur %{id} créé."
207 207 notice_new_password_must_be_different: Votre nouveau mot de passe doit être différent de votre mot de passe actuel
208 208 notice_import_finished: "%{count} éléments ont été importé(s)"
209 209 notice_import_finished_with_errors: "%{count} élément(s) sur %{total} n'ont pas pu être importé(s)"
210 210
211 211 error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramétrage : %{value}"
212 212 error_scm_not_found: "L'entrée et/ou la révision demandée n'existe pas dans le dépôt."
213 213 error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}"
214 214 error_scm_annotate: "L'entrée n'existe pas ou ne peut pas être annotée."
215 215 error_scm_annotate_big_text_file: Cette entrée ne peut pas être annotée car elle excède la taille maximale.
216 216 error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas à ce projet"
217 217 error_no_tracker_in_project: "Aucun tracker n'est associé à ce projet. Vérifier la configuration du projet."
218 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 219 error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisé
220 220 error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas être supprimé.
221 221 error_can_not_remove_role: Ce rôle est utilisé et ne peut pas être supprimé.
222 222 error_can_not_reopen_issue_on_closed_version: 'Une demande assignée à une version fermée ne peut pas être réouverte'
223 223 error_can_not_archive_project: "Ce projet ne peut pas être archivé"
224 224 error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu être mis à jour.
225 225 error_workflow_copy_source: 'Veuillez sélectionner un tracker et/ou un rôle source'
226 226 error_workflow_copy_target: 'Veuillez sélectionner les trackers et rôles cibles'
227 227 error_unable_delete_issue_status: Impossible de supprimer le statut de demande
228 228 error_unable_to_connect: Connexion impossible (%{value})
229 229 error_attachment_too_big: Ce fichier ne peut pas être attaché car il excède la taille maximale autorisée (%{max_size})
230 230 error_session_expired: "Votre session a expiré. Veuillez vous reconnecter."
231 231 warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu être sauvegardés."
232 232 error_password_expired: "Votre mot de passe a expiré ou nécessite d'être changé."
233 233 error_invalid_file_encoding: "Le fichier n'est pas un fichier %{encoding} valide"
234 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 235 error_can_not_read_import_file: "Une erreur est survenue lors de la lecture du fichier à importer"
236 236 error_attachment_extension_not_allowed: "L'extension %{extension} n'est pas autorisée"
237 237 error_ldap_bind_credentials: "Identifiant ou mot de passe LDAP incorrect"
238 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 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 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 243 mail_subject_lost_password: "Votre mot de passe %{value}"
243 244 mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :'
244 245 mail_subject_register: "Activation de votre compte %{value}"
245 246 mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :'
246 247 mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter."
247 248 mail_body_account_information: Paramètres de connexion de votre compte
248 249 mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}"
249 250 mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nécessite votre approbation :"
250 251 mail_subject_reminder: "%{count} demande(s) arrivent à échéance (%{days})"
251 252 mail_body_reminder: "%{count} demande(s) qui vous sont assignées arrivent à échéance dans les %{days} prochains jours :"
252 253 mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutée"
253 254 mail_body_wiki_content_added: "La page wiki '%{id}' a été ajoutée par %{author}."
254 255 mail_subject_wiki_content_updated: "Page wiki '%{id}' mise à jour"
255 256 mail_body_wiki_content_updated: "La page wiki '%{id}' a été mise à jour par %{author}."
256 257 mail_body_settings_updated: "Les paramètres suivants ont été modifiés :"
257 258 mail_body_password_updated: "Votre mot de passe a été changé."
258 259
259 260 field_name: Nom
260 261 field_description: Description
261 262 field_summary: Résumé
262 263 field_is_required: Obligatoire
263 264 field_firstname: Prénom
264 265 field_lastname: Nom
265 266 field_mail: Email
266 267 field_address: Email
267 268 field_filename: Fichier
268 269 field_filesize: Taille
269 270 field_downloads: Téléchargements
270 271 field_author: Auteur
271 272 field_created_on: Créé
272 273 field_updated_on: Mis-à-jour
273 274 field_closed_on: Fermé
274 275 field_field_format: Format
275 276 field_is_for_all: Pour tous les projets
276 277 field_possible_values: Valeurs possibles
277 278 field_regexp: Expression régulière
278 279 field_min_length: Longueur minimum
279 280 field_max_length: Longueur maximum
280 281 field_value: Valeur
281 282 field_category: Catégorie
282 283 field_title: Titre
283 284 field_project: Projet
284 285 field_issue: Demande
285 286 field_status: Statut
286 287 field_notes: Notes
287 288 field_is_closed: Demande fermée
288 289 field_is_default: Valeur par défaut
289 290 field_tracker: Tracker
290 291 field_subject: Sujet
291 292 field_due_date: Echéance
292 293 field_assigned_to: Assigné à
293 294 field_priority: Priorité
294 295 field_fixed_version: Version cible
295 296 field_user: Utilisateur
296 297 field_principal: Principal
297 298 field_role: Rôle
298 299 field_homepage: Site web
299 300 field_is_public: Public
300 301 field_parent: Sous-projet de
301 302 field_is_in_roadmap: Demandes affichées dans la roadmap
302 303 field_login: Identifiant
303 304 field_mail_notification: Notifications par mail
304 305 field_admin: Administrateur
305 306 field_last_login_on: Dernière connexion
306 307 field_language: Langue
307 308 field_effective_date: Date
308 309 field_password: Mot de passe
309 310 field_new_password: Nouveau mot de passe
310 311 field_password_confirmation: Confirmation
311 312 field_version: Version
312 313 field_type: Type
313 314 field_host: Hôte
314 315 field_port: Port
315 316 field_account: Compte
316 317 field_base_dn: Base DN
317 318 field_attr_login: Attribut Identifiant
318 319 field_attr_firstname: Attribut Prénom
319 320 field_attr_lastname: Attribut Nom
320 321 field_attr_mail: Attribut Email
321 322 field_onthefly: Création des utilisateurs à la volée
322 323 field_start_date: Début
323 324 field_done_ratio: "% réalisé"
324 325 field_auth_source: Mode d'authentification
325 326 field_hide_mail: Cacher mon adresse mail
326 327 field_comments: Commentaire
327 328 field_url: URL
328 329 field_start_page: Page de démarrage
329 330 field_subproject: Sous-projet
330 331 field_hours: Heures
331 332 field_activity: Activité
332 333 field_spent_on: Date
333 334 field_identifier: Identifiant
334 335 field_is_filter: Utilisé comme filtre
335 336 field_issue_to: Demande liée
336 337 field_delay: Retard
337 338 field_assignable: Demandes assignables à ce rôle
338 339 field_redirect_existing_links: Rediriger les liens existants
339 340 field_estimated_hours: Temps estimé
340 341 field_column_names: Colonnes
341 342 field_time_entries: Temps passé
342 343 field_time_zone: Fuseau horaire
343 344 field_searchable: Utilisé pour les recherches
344 345 field_default_value: Valeur par défaut
345 346 field_comments_sorting: Afficher les commentaires
346 347 field_parent_title: Page parent
347 348 field_editable: Modifiable
348 349 field_watcher: Observateur
349 350 field_identity_url: URL OpenID
350 351 field_content: Contenu
351 352 field_group_by: Grouper par
352 353 field_sharing: Partage
353 354 field_parent_issue: Tâche parente
354 355 field_member_of_group: Groupe de l'assigné
355 356 field_assigned_to_role: Rôle de l'assigné
356 357 field_text: Champ texte
357 358 field_visible: Visible
358 359 field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardé"
359 360 field_issues_visibility: Visibilité des demandes
360 361 field_is_private: Privée
361 362 field_commit_logs_encoding: Encodage des messages de commit
362 363 field_scm_path_encoding: Encodage des chemins
363 364 field_path_to_repository: Chemin du dépôt
364 365 field_root_directory: Répertoire racine
365 366 field_cvsroot: CVSROOT
366 367 field_cvs_module: Module
367 368 field_repository_is_default: Dépôt principal
368 369 field_multiple: Valeurs multiples
369 370 field_auth_source_ldap_filter: Filtre LDAP
370 371 field_core_fields: Champs standards
371 372 field_timeout: "Timeout (en secondes)"
372 373 field_board_parent: Forum parent
373 374 field_private_notes: Notes privées
374 375 field_inherit_members: Hériter les membres
375 376 field_generate_password: Générer un mot de passe
376 377 field_must_change_passwd: Doit changer de mot de passe à la prochaine connexion
377 378 field_default_status: Statut par défaut
378 379 field_users_visibility: Visibilité des utilisateurs
379 380 field_time_entries_visibility: Visibilité du temps passé
380 381 field_total_estimated_hours: Temps estimé total
381 382 field_default_version: Version par défaut
382 383 field_textarea_font: Police utilisée pour les champs texte
383 384
384 385 setting_app_title: Titre de l'application
385 386 setting_app_subtitle: Sous-titre de l'application
386 387 setting_welcome_text: Texte d'accueil
387 388 setting_default_language: Langue par défaut
388 389 setting_login_required: Authentification obligatoire
389 390 setting_self_registration: Inscription des nouveaux utilisateurs
390 391 setting_attachment_max_size: Taille maximale des fichiers
391 392 setting_issues_export_limit: Limite d'exportation des demandes
392 393 setting_mail_from: Adresse d'émission
393 394 setting_bcc_recipients: Destinataires en copie cachée (cci)
394 395 setting_plain_text_mail: Mail en texte brut (non HTML)
395 396 setting_host_name: Nom d'hôte et chemin
396 397 setting_text_formatting: Formatage du texte
397 398 setting_wiki_compression: Compression de l'historique des pages wiki
398 399 setting_feeds_limit: Nombre maximal d'éléments dans les flux Atom
399 400 setting_default_projects_public: Définir les nouveaux projets comme publics par défaut
400 401 setting_autofetch_changesets: Récupération automatique des commits
401 402 setting_sys_api_enabled: Activer les WS pour la gestion des dépôts
402 403 setting_commit_ref_keywords: Mots-clés de référencement
403 404 setting_commit_fix_keywords: Mots-clés de résolution
404 405 setting_autologin: Durée maximale de connexion automatique
405 406 setting_date_format: Format de date
406 407 setting_time_format: Format d'heure
407 408 setting_timespan_format: Format des temps en heures
408 409 setting_cross_project_issue_relations: Autoriser les relations entre demandes de différents projets
409 410 setting_cross_project_subtasks: Autoriser les sous-tâches dans des projets différents
410 411 setting_issue_list_default_columns: Colonnes affichées par défaut sur la liste des demandes
411 412 setting_repositories_encodings: Encodages des fichiers et des dépôts
412 413 setting_emails_header: En-tête des emails
413 414 setting_emails_footer: Pied-de-page des emails
414 415 setting_protocol: Protocole
415 416 setting_per_page_options: Options d'objets affichés par page
416 417 setting_user_format: Format d'affichage des utilisateurs
417 418 setting_activity_days_default: Nombre de jours affichés sur l'activité des projets
418 419 setting_display_subprojects_issues: Afficher par défaut les demandes des sous-projets sur les projets principaux
419 420 setting_enabled_scm: SCM activés
420 421 setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes"
421 422 setting_mail_handler_enable_regex_delimiters: "Utiliser les expressions regulières"
422 423 setting_mail_handler_api_enabled: "Activer le WS pour la réception d'emails"
423 424 setting_mail_handler_api_key: Clé de protection de l'API
424 425 setting_sequential_project_identifiers: Générer des identifiants de projet séquentiels
425 426 setting_gravatar_enabled: Afficher les Gravatar des utilisateurs
426 427 setting_gravatar_default: Image Gravatar par défaut
427 428 setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichées
428 429 setting_file_max_size_displayed: Taille maximum des fichiers texte affichés en ligne
429 430 setting_repository_log_display_limit: "Nombre maximum de révisions affichées sur l'historique d'un fichier"
430 431 setting_openid: "Autoriser l'authentification et l'enregistrement OpenID"
431 432 setting_password_max_age: Expiration des mots de passe après
432 433 setting_password_min_length: Longueur minimum des mots de passe
433 434 setting_new_project_user_role_id: Rôle donné à un utilisateur non-administrateur qui crée un projet
434 435 setting_default_projects_modules: Modules activés par défaut pour les nouveaux projets
435 436 setting_issue_done_ratio: Calcul de l'avancement des demandes
436 437 setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectué'
437 438 setting_issue_done_ratio_issue_status: Utiliser le statut
438 439 setting_start_of_week: Jour de début des calendriers
439 440 setting_rest_api_enabled: Activer l'API REST
440 441 setting_cache_formatted_text: Mettre en cache le texte formaté
441 442 setting_default_notification_option: Option de notification par défaut
442 443 setting_commit_logtime_enabled: Permettre la saisie de temps
443 444 setting_commit_logtime_activity_id: Activité pour le temps saisi
444 445 setting_gantt_items_limit: Nombre maximum d'éléments affichés sur le gantt
445 446 setting_issue_group_assignment: Permettre l'assignation des demandes aux groupes
446 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 448 setting_commit_cross_project_ref: Permettre le référencement et la résolution des demandes de tous les autres projets
448 449 setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte
449 450 setting_session_lifetime: Durée de vie maximale des sessions
450 451 setting_session_timeout: Durée maximale d'inactivité
451 452 setting_thumbnails_enabled: Afficher les vignettes des images
452 453 setting_thumbnails_size: Taille des vignettes (en pixels)
453 454 setting_non_working_week_days: Jours non travaillés
454 455 setting_jsonp_enabled: Activer le support JSONP
455 456 setting_default_projects_tracker_ids: Trackers par défaut pour les nouveaux projets
456 457 setting_mail_handler_excluded_filenames: Exclure les fichiers attachés par leur nom
457 458 setting_force_default_language_for_anonymous: Forcer la langue par défault pour les utilisateurs anonymes
458 459 setting_force_default_language_for_loggedin: Forcer la langue par défault pour les utilisateurs identifiés
459 460 setting_link_copied_issue: Lier les demandes lors de la copie
460 461 setting_max_additional_emails: Nombre maximal d'adresses email additionnelles
461 462 setting_search_results_per_page: Résultats de recherche affichés par page
462 463 setting_attachment_extensions_allowed: Extensions autorisées
463 464 setting_attachment_extensions_denied: Extensions non autorisées
464 465 setting_sys_api_key: Clé de protection de l'API
465 466 setting_lost_password: Autoriser la réinitialisation par email de mot de passe perdu
466 467 setting_new_item_menu_tab: Onglet de création d'objets dans le menu du project
467 468 setting_commit_logs_formatting: Appliquer le formattage de texte aux messages de commit
468 469
469 470 permission_add_project: Créer un projet
470 471 permission_add_subprojects: Créer des sous-projets
471 472 permission_edit_project: Modifier le projet
472 473 permission_close_project: Fermer / réouvrir le projet
473 474 permission_select_project_modules: Choisir les modules
474 475 permission_manage_members: Gérer les membres
475 476 permission_manage_project_activities: Gérer les activités
476 477 permission_manage_versions: Gérer les versions
477 478 permission_manage_categories: Gérer les catégories de demandes
478 479 permission_view_issues: Voir les demandes
479 480 permission_add_issues: Créer des demandes
480 481 permission_edit_issues: Modifier les demandes
481 482 permission_copy_issues: Copier les demandes
482 483 permission_manage_issue_relations: Gérer les relations
483 484 permission_set_issues_private: Rendre les demandes publiques ou privées
484 485 permission_set_own_issues_private: Rendre ses propres demandes publiques ou privées
485 486 permission_add_issue_notes: Ajouter des notes
486 487 permission_edit_issue_notes: Modifier les notes
487 488 permission_edit_own_issue_notes: Modifier ses propres notes
488 489 permission_view_private_notes: Voir les notes privées
489 490 permission_set_notes_private: Rendre les notes privées
490 491 permission_move_issues: Déplacer les demandes
491 492 permission_delete_issues: Supprimer les demandes
492 493 permission_manage_public_queries: Gérer les requêtes publiques
493 494 permission_save_queries: Sauvegarder les requêtes
494 495 permission_view_gantt: Voir le gantt
495 496 permission_view_calendar: Voir le calendrier
496 497 permission_view_issue_watchers: Voir la liste des observateurs
497 498 permission_add_issue_watchers: Ajouter des observateurs
498 499 permission_delete_issue_watchers: Supprimer des observateurs
499 500 permission_log_time: Saisir le temps passé
500 501 permission_view_time_entries: Voir le temps passé
501 502 permission_edit_time_entries: Modifier les temps passés
502 503 permission_edit_own_time_entries: Modifier son propre temps passé
503 504 permission_manage_news: Gérer les annonces
504 505 permission_comment_news: Commenter les annonces
505 506 permission_view_documents: Voir les documents
506 507 permission_add_documents: Ajouter des documents
507 508 permission_edit_documents: Modifier les documents
508 509 permission_delete_documents: Supprimer les documents
509 510 permission_manage_files: Gérer les fichiers
510 511 permission_view_files: Voir les fichiers
511 512 permission_manage_wiki: Gérer le wiki
512 513 permission_rename_wiki_pages: Renommer les pages
513 514 permission_delete_wiki_pages: Supprimer les pages
514 515 permission_view_wiki_pages: Voir le wiki
515 516 permission_view_wiki_edits: "Voir l'historique des modifications"
516 517 permission_edit_wiki_pages: Modifier les pages
517 518 permission_delete_wiki_pages_attachments: Supprimer les fichiers joints
518 519 permission_protect_wiki_pages: Protéger les pages
519 520 permission_manage_repository: Gérer le dépôt de sources
520 521 permission_browse_repository: Parcourir les sources
521 522 permission_view_changesets: Voir les révisions
522 523 permission_commit_access: Droit de commit
523 524 permission_manage_boards: Gérer les forums
524 525 permission_view_messages: Voir les messages
525 526 permission_add_messages: Poster un message
526 527 permission_edit_messages: Modifier les messages
527 528 permission_edit_own_messages: Modifier ses propres messages
528 529 permission_delete_messages: Supprimer les messages
529 530 permission_delete_own_messages: Supprimer ses propres messages
530 531 permission_export_wiki_pages: Exporter les pages
531 532 permission_manage_subtasks: Gérer les sous-tâches
532 533 permission_manage_related_issues: Gérer les demandes associées
533 534 permission_import_issues: Importer des demandes
534 535
535 536 project_module_issue_tracking: Suivi des demandes
536 537 project_module_time_tracking: Suivi du temps passé
537 538 project_module_news: Publication d'annonces
538 539 project_module_documents: Publication de documents
539 540 project_module_files: Publication de fichiers
540 541 project_module_wiki: Wiki
541 542 project_module_repository: Dépôt de sources
542 543 project_module_boards: Forums de discussion
543 544 project_module_calendar: Calendrier
544 545 project_module_gantt: Gantt
545 546
546 547 label_user: Utilisateur
547 548 label_user_plural: Utilisateurs
548 549 label_user_new: Nouvel utilisateur
549 550 label_user_anonymous: Anonyme
550 551 label_project: Projet
551 552 label_project_new: Nouveau projet
552 553 label_project_plural: Projets
553 554 label_x_projects:
554 555 zero: aucun projet
555 556 one: un projet
556 557 other: "%{count} projets"
557 558 label_project_all: Tous les projets
558 559 label_project_latest: Derniers projets
559 560 label_issue: Demande
560 561 label_issue_new: Nouvelle demande
561 562 label_issue_plural: Demandes
562 563 label_issue_view_all: Voir toutes les demandes
563 564 label_issues_by: "Demandes par %{value}"
564 565 label_issue_added: Demande ajoutée
565 566 label_issue_updated: Demande mise à jour
566 567 label_issue_note_added: Note ajoutée
567 568 label_issue_status_updated: Statut changé
568 569 label_issue_assigned_to_updated: Assigné changé
569 570 label_issue_priority_updated: Priorité changée
570 571 label_document: Document
571 572 label_document_new: Nouveau document
572 573 label_document_plural: Documents
573 574 label_document_added: Document ajouté
574 575 label_role: Rôle
575 576 label_role_plural: Rôles
576 577 label_role_new: Nouveau rôle
577 578 label_role_and_permissions: Rôles et permissions
578 579 label_role_anonymous: Anonyme
579 580 label_role_non_member: Non membre
580 581 label_member: Membre
581 582 label_member_new: Nouveau membre
582 583 label_member_plural: Membres
583 584 label_tracker: Tracker
584 585 label_tracker_plural: Trackers
585 586 label_tracker_all: Tous les trackers
586 587 label_tracker_new: Nouveau tracker
587 588 label_workflow: Workflow
588 589 label_issue_status: Statut de demandes
589 590 label_issue_status_plural: Statuts de demandes
590 591 label_issue_status_new: Nouveau statut
591 592 label_issue_category: Catégorie de demandes
592 593 label_issue_category_plural: Catégories de demandes
593 594 label_issue_category_new: Nouvelle catégorie
594 595 label_custom_field: Champ personnalisé
595 596 label_custom_field_plural: Champs personnalisés
596 597 label_custom_field_new: Nouveau champ personnalisé
597 598 label_enumerations: Listes de valeurs
598 599 label_enumeration_new: Nouvelle valeur
599 600 label_information: Information
600 601 label_information_plural: Informations
601 602 label_please_login: Identification
602 603 label_register: S'enregistrer
603 604 label_login_with_open_id_option: S'authentifier avec OpenID
604 605 label_password_lost: Mot de passe perdu
605 606 label_password_required: Confirmez votre mot de passe pour continuer
606 607 label_home: Accueil
607 608 label_my_page: Ma page
608 609 label_my_account: Mon compte
609 610 label_my_projects: Mes projets
610 611 label_my_page_block: Blocs disponibles
611 612 label_administration: Administration
612 613 label_login: Connexion
613 614 label_logout: Déconnexion
614 615 label_help: Aide
615 616 label_reported_issues: Demandes soumises
616 617 label_assigned_issues: Demandes assignées
617 618 label_assigned_to_me_issues: Demandes qui me sont assignées
618 619 label_last_login: Dernière connexion
619 620 label_registered_on: Inscrit le
620 621 label_activity: Activité
621 622 label_overall_activity: Activité globale
622 623 label_user_activity: "Activité de %{value}"
623 624 label_new: Nouveau
624 625 label_logged_as: Connecté en tant que
625 626 label_environment: Environnement
626 627 label_authentication: Authentification
627 628 label_auth_source: Mode d'authentification
628 629 label_auth_source_new: Nouveau mode d'authentification
629 630 label_auth_source_plural: Modes d'authentification
630 631 label_subproject_plural: Sous-projets
631 632 label_subproject_new: Nouveau sous-projet
632 633 label_and_its_subprojects: "%{value} et ses sous-projets"
633 634 label_min_max_length: Longueurs mini - maxi
634 635 label_list: Liste
635 636 label_date: Date
636 637 label_integer: Entier
637 638 label_float: Nombre décimal
638 639 label_boolean: Booléen
639 640 label_string: Texte
640 641 label_text: Texte long
641 642 label_attribute: Attribut
642 643 label_attribute_plural: Attributs
643 644 label_no_data: Aucune donnée à afficher
644 645 label_change_status: Changer le statut
645 646 label_history: Historique
646 647 label_attachment: Fichier
647 648 label_attachment_new: Nouveau fichier
648 649 label_attachment_delete: Supprimer le fichier
649 650 label_attachment_plural: Fichiers
650 651 label_file_added: Fichier ajouté
651 652 label_report: Rapport
652 653 label_report_plural: Rapports
653 654 label_news: Annonce
654 655 label_news_new: Nouvelle annonce
655 656 label_news_plural: Annonces
656 657 label_news_latest: Dernières annonces
657 658 label_news_view_all: Voir toutes les annonces
658 659 label_news_added: Annonce ajoutée
659 660 label_news_comment_added: Commentaire ajouté à une annonce
660 661 label_settings: Configuration
661 662 label_overview: Aperçu
662 663 label_version: Version
663 664 label_version_new: Nouvelle version
664 665 label_version_plural: Versions
665 666 label_close_versions: Fermer les versions terminées
666 667 label_confirmation: Confirmation
667 668 label_export_to: 'Formats disponibles :'
668 669 label_read: Lire...
669 670 label_public_projects: Projets publics
670 671 label_open_issues: ouvert
671 672 label_open_issues_plural: ouverts
672 673 label_closed_issues: fermé
673 674 label_closed_issues_plural: fermés
674 675 label_x_open_issues_abbr:
675 676 zero: 0 ouverte
676 677 one: 1 ouverte
677 678 other: "%{count} ouvertes"
678 679 label_x_closed_issues_abbr:
679 680 zero: 0 fermée
680 681 one: 1 fermée
681 682 other: "%{count} fermées"
682 683 label_x_issues:
683 684 zero: 0 demande
684 685 one: 1 demande
685 686 other: "%{count} demandes"
686 687 label_total: Total
687 688 label_total_plural: Totaux
688 689 label_total_time: Temps total
689 690 label_permissions: Permissions
690 691 label_current_status: Statut actuel
691 692 label_new_statuses_allowed: Nouveaux statuts autorisés
692 693 label_all: tous
693 694 label_any: tous
694 695 label_none: aucun
695 696 label_nobody: personne
696 697 label_next: Suivant
697 698 label_previous: Précédent
698 699 label_used_by: Utilisé par
699 700 label_details: Détails
700 701 label_add_note: Ajouter une note
701 702 label_calendar: Calendrier
702 703 label_months_from: mois depuis
703 704 label_gantt: Gantt
704 705 label_internal: Interne
705 706 label_last_changes: "%{count} derniers changements"
706 707 label_change_view_all: Voir tous les changements
707 708 label_personalize_page: Personnaliser cette page
708 709 label_comment: Commentaire
709 710 label_comment_plural: Commentaires
710 711 label_x_comments:
711 712 zero: aucun commentaire
712 713 one: un commentaire
713 714 other: "%{count} commentaires"
714 715 label_comment_add: Ajouter un commentaire
715 716 label_comment_added: Commentaire ajouté
716 717 label_comment_delete: Supprimer les commentaires
717 718 label_query: Rapport personnalisé
718 719 label_query_plural: Rapports personnalisés
719 720 label_query_new: Nouveau rapport
720 721 label_my_queries: Mes rapports personnalisés
721 722 label_filter_add: Ajouter le filtre
722 723 label_filter_plural: Filtres
723 724 label_equals: égal
724 725 label_not_equals: différent
725 726 label_in_less_than: dans moins de
726 727 label_in_more_than: dans plus de
727 728 label_in_the_next_days: dans les prochains jours
728 729 label_in_the_past_days: dans les derniers jours
729 730 label_greater_or_equal: '>='
730 731 label_less_or_equal: '<='
731 732 label_between: entre
732 733 label_in: dans
733 734 label_today: aujourd'hui
734 735 label_all_time: toute la période
735 736 label_yesterday: hier
736 737 label_this_week: cette semaine
737 738 label_last_week: la semaine dernière
738 739 label_last_n_weeks: "les %{count} dernières semaines"
739 740 label_last_n_days: "les %{count} derniers jours"
740 741 label_this_month: ce mois-ci
741 742 label_last_month: le mois dernier
742 743 label_this_year: cette année
743 744 label_date_range: Période
744 745 label_less_than_ago: il y a moins de
745 746 label_more_than_ago: il y a plus de
746 747 label_ago: il y a
747 748 label_contains: contient
748 749 label_not_contains: ne contient pas
749 750 label_any_issues_in_project: une demande du projet
750 751 label_any_issues_not_in_project: une demande hors du projet
751 752 label_no_issues_in_project: aucune demande du projet
752 753 label_any_open_issues: une demande ouverte
753 754 label_no_open_issues: aucune demande ouverte
754 755 label_day_plural: jours
755 756 label_repository: Dépôt
756 757 label_repository_new: Nouveau dépôt
757 758 label_repository_plural: Dépôts
758 759 label_browse: Parcourir
759 760 label_branch: Branche
760 761 label_tag: Tag
761 762 label_revision: Révision
762 763 label_revision_plural: Révisions
763 764 label_revision_id: "Révision %{value}"
764 765 label_associated_revisions: Révisions associées
765 766 label_added: ajouté
766 767 label_modified: modifié
767 768 label_copied: copié
768 769 label_renamed: renommé
769 770 label_deleted: supprimé
770 771 label_latest_revision: Dernière révision
771 772 label_latest_revision_plural: Dernières révisions
772 773 label_view_revisions: Voir les révisions
773 774 label_view_all_revisions: Voir toutes les révisions
774 775 label_max_size: Taille maximale
775 776 label_sort_highest: Remonter en premier
776 777 label_sort_higher: Remonter
777 778 label_sort_lower: Descendre
778 779 label_sort_lowest: Descendre en dernier
779 780 label_roadmap: Roadmap
780 781 label_roadmap_due_in: "Échéance dans %{value}"
781 782 label_roadmap_overdue: "En retard de %{value}"
782 783 label_roadmap_no_issues: Aucune demande pour cette version
783 784 label_search: Recherche
784 785 label_result_plural: Résultats
785 786 label_all_words: Tous les mots
786 787 label_wiki: Wiki
787 788 label_wiki_edit: Révision wiki
788 789 label_wiki_edit_plural: Révisions wiki
789 790 label_wiki_page: Page wiki
790 791 label_wiki_page_plural: Pages wiki
791 792 label_wiki_page_new: Nouvelle page wiki
792 793 label_index_by_title: Index par titre
793 794 label_index_by_date: Index par date
794 795 label_current_version: Version actuelle
795 796 label_preview: Prévisualisation
796 797 label_feed_plural: Flux Atom
797 798 label_changes_details: Détails de tous les changements
798 799 label_issue_tracking: Suivi des demandes
799 800 label_spent_time: Temps passé
800 801 label_total_spent_time: Temps passé total
801 802 label_overall_spent_time: Temps passé global
802 803 label_f_hour: "%{value} heure"
803 804 label_f_hour_plural: "%{value} heures"
804 805 label_f_hour_short: "%{value} h"
805 806 label_time_tracking: Suivi du temps
806 807 label_change_plural: Changements
807 808 label_statistics: Statistiques
808 809 label_commits_per_month: Commits par mois
809 810 label_commits_per_author: Commits par auteur
810 811 label_diff: diff
811 812 label_view_diff: Voir les différences
812 813 label_diff_inline: en ligne
813 814 label_diff_side_by_side: côte à côte
814 815 label_options: Options
815 816 label_copy_workflow_from: Copier le workflow de
816 817 label_permissions_report: Synthèse des permissions
817 818 label_watched_issues: Demandes surveillées
818 819 label_related_issues: Demandes liées
819 820 label_applied_status: Statut appliqué
820 821 label_loading: Chargement...
821 822 label_relation_new: Nouvelle relation
822 823 label_relation_delete: Supprimer la relation
823 824 label_relates_to: Lié à
824 825 label_duplicates: Duplique
825 826 label_duplicated_by: Dupliqué par
826 827 label_blocks: Bloque
827 828 label_blocked_by: Bloqué par
828 829 label_precedes: Précède
829 830 label_follows: Suit
830 831 label_copied_to: Copié vers
831 832 label_copied_from: Copié depuis
832 833 label_stay_logged_in: Rester connecté
833 834 label_disabled: désactivé
834 835 label_show_completed_versions: Voir les versions passées
835 836 label_me: moi
836 837 label_board: Forum
837 838 label_board_new: Nouveau forum
838 839 label_board_plural: Forums
839 840 label_board_locked: Verrouillé
840 841 label_board_sticky: Sticky
841 842 label_topic_plural: Discussions
842 843 label_message_plural: Messages
843 844 label_message_last: Dernier message
844 845 label_message_new: Nouveau message
845 846 label_message_posted: Message ajouté
846 847 label_reply_plural: Réponses
847 848 label_send_information: Envoyer les informations à l'utilisateur
848 849 label_year: Année
849 850 label_month: Mois
850 851 label_week: Semaine
851 852 label_date_from: Du
852 853 label_date_to: Au
853 854 label_language_based: Basé sur la langue de l'utilisateur
854 855 label_sort_by: "Trier par %{value}"
855 856 label_send_test_email: Envoyer un email de test
856 857 label_feeds_access_key: Clé d'accès Atom
857 858 label_missing_feeds_access_key: Clé d'accès Atom manquante
858 859 label_feeds_access_key_created_on: "Clé d'accès Atom créée il y a %{value}"
859 860 label_module_plural: Modules
860 861 label_added_time_by: "Ajouté par %{author} il y a %{age}"
861 862 label_updated_time_by: "Mis à jour par %{author} il y a %{age}"
862 863 label_updated_time: "Mis à jour il y a %{value}"
863 864 label_jump_to_a_project: Aller à un projet...
864 865 label_file_plural: Fichiers
865 866 label_changeset_plural: Révisions
866 867 label_default_columns: Colonnes par défaut
867 868 label_no_change_option: (Pas de changement)
868 869 label_bulk_edit_selected_issues: Modifier les demandes sélectionnées
869 870 label_bulk_edit_selected_time_entries: Modifier les temps passés sélectionnés
870 871 label_theme: Thème
871 872 label_default: Défaut
872 873 label_search_titles_only: Uniquement dans les titres
873 874 label_user_mail_option_all: "Pour tous les événements de tous mes projets"
874 875 label_user_mail_option_selected: "Pour tous les événements des projets sélectionnés..."
875 876 label_user_mail_option_none: Aucune notification
876 877 label_user_mail_option_only_my_events: Seulement pour ce que je surveille
877 878 label_user_mail_option_only_assigned: Seulement pour ce qui m'est assigné
878 879 label_user_mail_option_only_owner: Seulement pour ce que j'ai créé
879 880 label_user_mail_no_self_notified: "Je ne veux pas être notifié des changements que j'effectue"
880 881 label_registration_activation_by_email: activation du compte par email
881 882 label_registration_manual_activation: activation manuelle du compte
882 883 label_registration_automatic_activation: activation automatique du compte
883 884 label_display_per_page: "Par page : %{value}"
884 885 label_age: Âge
885 886 label_change_properties: Changer les propriétés
886 887 label_general: Général
887 888 label_more: Plus
888 889 label_scm: SCM
889 890 label_plugins: Plugins
890 891 label_ldap_authentication: Authentification LDAP
891 892 label_downloads_abbr: D/L
892 893 label_optional_description: Description facultative
893 894 label_add_another_file: Ajouter un autre fichier
894 895 label_preferences: Préférences
895 896 label_chronological_order: Dans l'ordre chronologique
896 897 label_reverse_chronological_order: Dans l'ordre chronologique inverse
897 898 label_planning: Planning
898 899 label_incoming_emails: Emails entrants
899 900 label_generate_key: Générer une clé
900 901 label_issue_watchers: Observateurs
901 902 label_example: Exemple
902 903 label_display: Affichage
903 904 label_sort: Tri
904 905 label_ascending: Croissant
905 906 label_descending: Décroissant
906 907 label_date_from_to: Du %{start} au %{end}
907 908 label_wiki_content_added: Page wiki ajoutée
908 909 label_wiki_content_updated: Page wiki mise à jour
909 910 label_group: Groupe
910 911 label_group_plural: Groupes
911 912 label_group_new: Nouveau groupe
912 913 label_group_anonymous: Utilisateurs anonymes
913 914 label_group_non_member: Utilisateurs non membres
914 915 label_time_entry_plural: Temps passé
915 916 label_version_sharing_none: Non partagé
916 917 label_version_sharing_descendants: Avec les sous-projets
917 918 label_version_sharing_hierarchy: Avec toute la hiérarchie
918 919 label_version_sharing_tree: Avec tout l'arbre
919 920 label_version_sharing_system: Avec tous les projets
920 921 label_update_issue_done_ratios: Mettre à jour l'avancement des demandes
921 922 label_copy_source: Source
922 923 label_copy_target: Cible
923 924 label_copy_same_as_target: Comme la cible
924 925 label_display_used_statuses_only: N'afficher que les statuts utilisés dans ce tracker
925 926 label_api_access_key: Clé d'accès API
926 927 label_missing_api_access_key: Clé d'accès API manquante
927 928 label_api_access_key_created_on: Clé d'accès API créée il y a %{value}
928 929 label_profile: Profil
929 930 label_subtask_plural: Sous-tâches
930 931 label_project_copy_notifications: Envoyer les notifications durant la copie du projet
931 932 label_principal_search: "Rechercher un utilisateur ou un groupe :"
932 933 label_user_search: "Rechercher un utilisateur :"
933 934 label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande
934 935 label_additional_workflow_transitions_for_assignee: Autorisations supplémentaires lorsque la demande est assignée à l'utilisateur
935 936 label_issues_visibility_all: Toutes les demandes
936 937 label_issues_visibility_public: Toutes les demandes non privées
937 938 label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur
938 939 label_git_report_last_commit: Afficher le dernier commit des fichiers et répertoires
939 940 label_parent_revision: Parent
940 941 label_child_revision: Enfant
941 942 label_export_options: Options d'exportation %{export_format}
942 943 label_copy_attachments: Copier les fichiers
943 944 label_copy_subtasks: Copier les sous-tâches
944 945 label_item_position: "%{position} sur %{count}"
945 946 label_completed_versions: Versions passées
946 947 label_search_for_watchers: Rechercher des observateurs
947 948 label_session_expiration: Expiration des sessions
948 949 label_show_closed_projects: Voir les projets fermés
949 950 label_status_transitions: Changements de statut
950 951 label_fields_permissions: Permissions sur les champs
951 952 label_readonly: Lecture
952 953 label_required: Obligatoire
953 954 label_hidden: Caché
954 955 label_attribute_of_project: "%{name} du projet"
955 956 label_attribute_of_issue: "%{name} de la demande"
956 957 label_attribute_of_author: "%{name} de l'auteur"
957 958 label_attribute_of_assigned_to: "%{name} de l'assigné"
958 959 label_attribute_of_user: "%{name} de l'utilisateur"
959 960 label_attribute_of_fixed_version: "%{name} de la version cible"
960 961 label_cross_project_descendants: Avec les sous-projets
961 962 label_cross_project_tree: Avec tout l'arbre
962 963 label_cross_project_hierarchy: Avec toute la hiérarchie
963 964 label_cross_project_system: Avec tous les projets
964 965 label_gantt_progress_line: Ligne de progression
965 966 label_visibility_private: par moi uniquement
966 967 label_visibility_roles: par ces rôles uniquement
967 968 label_visibility_public: par tout le monde
968 969 label_link: Lien
969 970 label_only: seulement
970 971 label_drop_down_list: liste déroulante
971 972 label_checkboxes: cases à cocher
972 973 label_radio_buttons: boutons radio
973 974 label_link_values_to: Lier les valeurs vers l'URL
974 975 label_custom_field_select_type: Selectionner le type d'objet auquel attacher le champ personnalisé
975 976 label_check_for_updates: Vérifier les mises à jour
976 977 label_latest_compatible_version: Dernière version compatible
977 978 label_unknown_plugin: Plugin inconnu
978 979 label_add_projects: Ajouter des projets
979 980 label_users_visibility_all: Tous les utilisateurs actifs
980 981 label_users_visibility_members_of_visible_projects: Membres des projets visibles
981 982 label_edit_attachments: Modifier les fichiers attachés
982 983 label_link_copied_issue: Lier la demande copiée
983 984 label_ask: Demander
984 985 label_search_attachments_yes: Rechercher les noms et descriptions de fichiers
985 986 label_search_attachments_no: Ne pas rechercher les fichiers
986 987 label_search_attachments_only: Rechercher les fichiers uniquement
987 988 label_search_open_issues_only: Demandes ouvertes uniquement
988 989 label_email_address_plural: Emails
989 990 label_email_address_add: Ajouter une adresse email
990 991 label_enable_notifications: Activer les notifications
991 992 label_disable_notifications: Désactiver les notifications
992 993 label_blank_value: non renseigné
993 994 label_parent_task_attributes: Attributs des tâches parentes
994 995 label_time_entries_visibility_all: Tous les temps passés
995 996 label_time_entries_visibility_own: Ses propres temps passés
996 997 label_member_management: Gestion des membres
997 998 label_member_management_all_roles: Tous les rôles
998 999 label_member_management_selected_roles_only: Ces rôles uniquement
999 1000 label_import_issues: Importer des demandes
1000 1001 label_select_file_to_import: Sélectionner le fichier à importer
1001 1002 label_fields_separator: Séparateur de champs
1002 1003 label_fields_wrapper: Délimiteur de texte
1003 1004 label_encoding: Encodage
1004 1005 label_comma_char: Virgule
1005 1006 label_semi_colon_char: Point virgule
1006 1007 label_quote_char: Apostrophe
1007 1008 label_double_quote_char: Double apostrophe
1008 1009 label_fields_mapping: Correspondance des champs
1009 1010 label_file_content_preview: Aperçu du contenu du fichier
1010 1011 label_create_missing_values: Créer les valeurs manquantes
1011 1012 label_api: API
1012 1013 label_field_format_enumeration: Liste clé/valeur
1013 1014 label_default_values_for_new_users: Valeurs par défaut pour les nouveaux utilisateurs
1014 1015 label_relations: Relations
1015 1016 label_new_project_issue_tab_enabled: Afficher l'onglet "Nouvelle demande"
1016 1017 label_new_object_tab_enabled: Afficher le menu déroulant "+"
1017 1018 label_table_of_contents: Contenu
1018 1019 label_font_default: Police par défaut
1019 1020 label_font_monospace: Police non proportionnelle
1020 1021 label_font_proportional: Police proportionnelle
1021 1022
1022 1023 button_login: Connexion
1023 1024 button_submit: Soumettre
1024 1025 button_save: Sauvegarder
1025 1026 button_check_all: Tout cocher
1026 1027 button_uncheck_all: Tout décocher
1027 1028 button_collapse_all: Plier tout
1028 1029 button_expand_all: Déplier tout
1029 1030 button_delete: Supprimer
1030 1031 button_create: Créer
1031 1032 button_create_and_continue: Créer et continuer
1032 1033 button_test: Tester
1033 1034 button_edit: Modifier
1034 1035 button_edit_associated_wikipage: "Modifier la page wiki associée: %{page_title}"
1035 1036 button_add: Ajouter
1036 1037 button_change: Changer
1037 1038 button_apply: Appliquer
1038 1039 button_clear: Effacer
1039 1040 button_lock: Verrouiller
1040 1041 button_unlock: Déverrouiller
1041 1042 button_download: Télécharger
1042 1043 button_list: Lister
1043 1044 button_view: Voir
1044 1045 button_move: Déplacer
1045 1046 button_move_and_follow: Déplacer et suivre
1046 1047 button_back: Retour
1047 1048 button_cancel: Annuler
1048 1049 button_activate: Activer
1049 1050 button_sort: Trier
1050 1051 button_log_time: Saisir temps
1051 1052 button_rollback: Revenir à cette version
1052 1053 button_watch: Surveiller
1053 1054 button_unwatch: Ne plus surveiller
1054 1055 button_reply: Répondre
1055 1056 button_archive: Archiver
1056 1057 button_unarchive: Désarchiver
1057 1058 button_reset: Réinitialiser
1058 1059 button_rename: Renommer
1059 1060 button_change_password: Changer de mot de passe
1060 1061 button_copy: Copier
1061 1062 button_copy_and_follow: Copier et suivre
1062 1063 button_annotate: Annoter
1063 1064 button_update: Mettre à jour
1064 1065 button_configure: Configurer
1065 1066 button_quote: Citer
1066 1067 button_duplicate: Dupliquer
1067 1068 button_show: Afficher
1068 1069 button_hide: Cacher
1069 1070 button_edit_section: Modifier cette section
1070 1071 button_export: Exporter
1071 1072 button_delete_my_account: Supprimer mon compte
1072 1073 button_close: Fermer
1073 1074 button_reopen: Réouvrir
1074 1075 button_import: Importer
1075 1076 button_filter: Filtrer
1076 1077
1077 1078 status_active: actif
1078 1079 status_registered: enregistré
1079 1080 status_locked: verrouillé
1080 1081
1081 1082 project_status_active: actif
1082 1083 project_status_closed: fermé
1083 1084 project_status_archived: archivé
1084 1085
1085 1086 version_status_open: ouvert
1086 1087 version_status_locked: verrouillé
1087 1088 version_status_closed: fermé
1088 1089
1089 1090 field_active: Actif
1090 1091
1091 1092 text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyée
1092 1093 text_regexp_info: ex. ^[A-Z0-9]+$
1093 1094 text_min_max_length_info: 0 pour aucune restriction
1094 1095 text_project_destroy_confirmation: Êtes-vous sûr de vouloir supprimer ce projet et toutes ses données ?
1095 1096 text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront également supprimés."
1096 1097 text_workflow_edit: Sélectionner un tracker et un rôle pour éditer le workflow
1097 1098 text_are_you_sure: Êtes-vous sûr ?
1098 1099 text_journal_changed: "%{label} changé de %{old} à %{new}"
1099 1100 text_journal_changed_no_detail: "%{label} mis à jour"
1100 1101 text_journal_set_to: "%{label} mis à %{value}"
1101 1102 text_journal_deleted: "%{label} %{old} supprimé"
1102 1103 text_journal_added: "%{label} %{value} ajouté"
1103 1104 text_tip_issue_begin_day: tâche commençant ce jour
1104 1105 text_tip_issue_end_day: tâche finissant ce jour
1105 1106 text_tip_issue_begin_end_day: tâche commençant et finissant ce jour
1106 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 1108 text_caracters_maximum: "%{count} caractères maximum."
1108 1109 text_caracters_minimum: "%{count} caractères minimum."
1109 1110 text_length_between: "Longueur comprise entre %{min} et %{max} caractères."
1110 1111 text_tracker_no_workflow: Aucun worflow n'est défini pour ce tracker
1111 1112 text_unallowed_characters: Caractères non autorisés
1112 1113 text_comma_separated: Plusieurs valeurs possibles (séparées par des virgules).
1113 1114 text_line_separated: Plusieurs valeurs possibles (une valeur par ligne).
1114 1115 text_issues_ref_in_commit_messages: Référencement et résolution des demandes dans les commentaires de commits
1115 1116 text_issue_added: "La demande %{id} a été soumise par %{author}."
1116 1117 text_issue_updated: "La demande %{id} a été mise à jour par %{author}."
1117 1118 text_wiki_destroy_confirmation: Etes-vous sûr de vouloir supprimer ce wiki et tout son contenu ?
1118 1119 text_issue_category_destroy_question: "%{count} demandes sont affectées à cette catégorie. Que voulez-vous faire ?"
1119 1120 text_issue_category_destroy_assignments: N'affecter les demandes à aucune autre catégorie
1120 1121 text_issue_category_reassign_to: Réaffecter les demandes à cette catégorie
1121 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 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 1124 text_load_default_configuration: Charger le paramétrage par défaut
1124 1125 text_status_changed_by_changeset: "Appliqué par commit %{value}."
1125 1126 text_time_logged_by_changeset: "Appliqué par commit %{value}"
1126 1127 text_issues_destroy_confirmation: 'Êtes-vous sûr de vouloir supprimer la ou les demandes(s) selectionnée(s) ?'
1127 1128 text_issues_destroy_descendants_confirmation: "Cela entrainera également la suppression de %{count} sous-tâche(s)."
1128 1129 text_time_entries_destroy_confirmation: "Etes-vous sûr de vouloir supprimer les temps passés sélectionnés ?"
1129 1130 text_select_project_modules: 'Sélectionner les modules à activer pour ce projet :'
1130 1131 text_default_administrator_account_changed: Compte administrateur par défaut changé
1131 1132 text_file_repository_writable: Répertoire de stockage des fichiers accessible en écriture
1132 1133 text_plugin_assets_writable: Répertoire public des plugins accessible en écriture
1133 1134 text_rmagick_available: Bibliothèque RMagick présente (optionnelle)
1134 1135 text_convert_available: Binaire convert de ImageMagick présent (optionel)
1135 1136 text_destroy_time_entries_question: "%{hours} heures ont été enregistrées sur les demandes à supprimer. Que voulez-vous faire ?"
1136 1137 text_destroy_time_entries: Supprimer les heures
1137 1138 text_assign_time_entries_to_project: Reporter les heures sur le projet
1138 1139 text_reassign_time_entries: 'Reporter les heures sur cette demande:'
1139 1140 text_user_wrote: "%{value} a écrit :"
1140 1141 text_enumeration_destroy_question: "La valeur « %{name} » est affectée à %{count} objet(s)."
1141 1142 text_enumeration_category_reassign_to: 'Réaffecter les objets à cette valeur:'
1142 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 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 1145 text_diff_truncated: '... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.'
1145 1146 text_custom_field_possible_values_info: 'Une ligne par valeur'
1146 1147 text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?"
1147 1148 text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines"
1148 1149 text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes"
1149 1150 text_wiki_page_reassign_children: "Réaffecter les sous-pages à cette page"
1150 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 1152 text_zoom_in: Zoom avant
1152 1153 text_zoom_out: Zoom arrière
1153 1154 text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardé qui sera perdu si vous quittez la page."
1154 1155 text_scm_path_encoding_note: "Défaut : UTF-8"
1155 1156 text_subversion_repository_note: "Exemples (en fonction des protocoles supportés) : file:///, http://, https://, svn://, svn+[tunnelscheme]://"
1156 1157 text_git_repository_note: "Chemin vers un dépôt vide et local (exemples : /gitrepo, c:\\gitrepo)"
1157 1158 text_mercurial_repository_note: "Chemin vers un dépôt local (exemples : /hgrepo, c:\\hgrepo)"
1158 1159 text_scm_command: Commande
1159 1160 text_scm_command_version: Version
1160 1161 text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification.
1161 1162 text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration.
1162 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 1164 text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements"
1164 1165 text_issue_conflict_resolution_cancel: "Annuler ma mise à jour et réafficher %{link}"
1165 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 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 1168 text_project_closed: Ce projet est fermé et accessible en lecture seule.
1168 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 1171 default_role_manager: Manager
1171 1172 default_role_developer: Développeur
1172 1173 default_role_reporter: Rapporteur
1173 1174 default_tracker_bug: Anomalie
1174 1175 default_tracker_feature: Evolution
1175 1176 default_tracker_support: Assistance
1176 1177 default_issue_status_new: Nouveau
1177 1178 default_issue_status_in_progress: En cours
1178 1179 default_issue_status_resolved: Résolu
1179 1180 default_issue_status_feedback: Commentaire
1180 1181 default_issue_status_closed: Fermé
1181 1182 default_issue_status_rejected: Rejeté
1182 1183 default_doc_category_user: Documentation utilisateur
1183 1184 default_doc_category_tech: Documentation technique
1184 1185 default_priority_low: Bas
1185 1186 default_priority_normal: Normal
1186 1187 default_priority_high: Haut
1187 1188 default_priority_urgent: Urgent
1188 1189 default_priority_immediate: Immédiat
1189 1190 default_activity_design: Conception
1190 1191 default_activity_development: Développement
1191 1192
1192 1193 enumeration_issue_priorities: Priorités des demandes
1193 1194 enumeration_doc_categories: Catégories des documents
1194 1195 enumeration_activities: Activités (suivi du temps)
1195 1196 enumeration_system_activity: Activité système
1196 1197 description_filter: Filtre
1197 1198 description_search: Champ de recherche
1198 1199 description_choose_project: Projets
1199 1200 description_project_scope: Périmètre de recherche
1200 1201 description_notes: Notes
1201 1202 description_message_content: Contenu du message
1202 1203 description_query_sort_criteria_attribute: Critère de tri
1203 1204 description_query_sort_criteria_direction: Ordre de tri
1204 1205 description_user_mail_notification: Option de notification
1205 1206 description_available_columns: Colonnes disponibles
1206 1207 description_selected_columns: Colonnes sélectionnées
1207 1208 description_all_columns: Toutes les colonnes
1208 1209 description_issue_category_reassign: Choisir une catégorie
1209 1210 description_wiki_subpages_reassign: Choisir une nouvelle page parent
1210 1211 description_date_range_list: Choisir une période prédéfinie
1211 1212 description_date_range_interval: Choisir une période
1212 1213 description_date_from: Date de début
1213 1214 description_date_to: Date de fin
1214 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 1216 label_parent_task_attributes_derived: Calculé à partir des sous-tâches
1216 1217 label_parent_task_attributes_independent: Indépendent des sous-tâches
1217 1218 mail_subject_security_notification: Notification de sécurité
1218 1219 mail_body_security_notification_change: ! '%{field} modifié(e).'
1219 1220 mail_body_security_notification_change_to: ! '%{field} changé(e) en %{value}.'
1220 1221 mail_body_security_notification_add: ! '%{field} %{value} ajouté(e).'
1221 1222 mail_body_security_notification_remove: ! '%{field} %{value} supprimé(e).'
1222 1223 mail_body_security_notification_notify_enabled: Les notifications ont été activées pour l'adresse %{value}
1223 1224 mail_body_security_notification_notify_disabled: Les notifications ont été désactivées pour l'adresse %{value}
1224 1225 field_remote_ip: Adresse IP
1225 1226 label_no_preview: No preview available
1 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