##// END OF EJS Templates
Add "last 2 weeks" preset to time entries reporting (#11862)....
Jean-Philippe Lang -
r10372:3a178a42cfc0
parent child
Show More
@@ -1,344 +1,347
1 1 # Redmine - project management software
2 2 # Copyright (C) 2006-2012 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 TimelogController < ApplicationController
19 19 menu_item :issues
20 20
21 21 before_filter :find_project_for_new_time_entry, :only => [:create]
22 22 before_filter :find_time_entry, :only => [:show, :edit, :update]
23 23 before_filter :find_time_entries, :only => [:bulk_edit, :bulk_update, :destroy]
24 24 before_filter :authorize, :except => [:new, :index, :report]
25 25
26 26 before_filter :find_optional_project, :only => [:index, :report]
27 27 before_filter :find_optional_project_for_new_time_entry, :only => [:new]
28 28 before_filter :authorize_global, :only => [:new, :index, :report]
29 29
30 30 accept_rss_auth :index
31 31 accept_api_auth :index, :show, :create, :update, :destroy
32 32
33 33 helper :sort
34 34 include SortHelper
35 35 helper :issues
36 36 include TimelogHelper
37 37 helper :custom_fields
38 38 include CustomFieldsHelper
39 39
40 40 def index
41 41 sort_init 'spent_on', 'desc'
42 42 sort_update 'spent_on' => ['spent_on', "#{TimeEntry.table_name}.created_on"],
43 43 'user' => 'user_id',
44 44 'activity' => 'activity_id',
45 45 'project' => "#{Project.table_name}.name",
46 46 'issue' => 'issue_id',
47 47 'hours' => 'hours'
48 48
49 49 retrieve_date_range
50 50
51 51 scope = TimeEntry.visible.spent_between(@from, @to)
52 52 if @issue
53 53 scope = scope.on_issue(@issue)
54 54 elsif @project
55 55 scope = scope.on_project(@project, Setting.display_subprojects_issues?)
56 56 end
57 57
58 58 respond_to do |format|
59 59 format.html {
60 60 # Paginate results
61 61 @entry_count = scope.count
62 62 @entry_pages = Paginator.new self, @entry_count, per_page_option, params['page']
63 63 @entries = scope.all(
64 64 :include => [:project, :activity, :user, {:issue => :tracker}],
65 65 :order => sort_clause,
66 66 :limit => @entry_pages.items_per_page,
67 67 :offset => @entry_pages.current.offset
68 68 )
69 69 @total_hours = scope.sum(:hours).to_f
70 70
71 71 render :layout => !request.xhr?
72 72 }
73 73 format.api {
74 74 @entry_count = scope.count
75 75 @offset, @limit = api_offset_and_limit
76 76 @entries = scope.all(
77 77 :include => [:project, :activity, :user, {:issue => :tracker}],
78 78 :order => sort_clause,
79 79 :limit => @limit,
80 80 :offset => @offset
81 81 )
82 82 }
83 83 format.atom {
84 84 entries = scope.all(
85 85 :include => [:project, :activity, :user, {:issue => :tracker}],
86 86 :order => "#{TimeEntry.table_name}.created_on DESC",
87 87 :limit => Setting.feeds_limit.to_i
88 88 )
89 89 render_feed(entries, :title => l(:label_spent_time))
90 90 }
91 91 format.csv {
92 92 # Export all entries
93 93 @entries = scope.all(
94 94 :include => [:project, :activity, :user, {:issue => [:tracker, :assigned_to, :priority]}],
95 95 :order => sort_clause
96 96 )
97 97 send_data(entries_to_csv(@entries), :type => 'text/csv; header=present', :filename => 'timelog.csv')
98 98 }
99 99 end
100 100 end
101 101
102 102 def report
103 103 retrieve_date_range
104 104 @report = Redmine::Helpers::TimeReport.new(@project, @issue, params[:criteria], params[:columns], @from, @to)
105 105
106 106 respond_to do |format|
107 107 format.html { render :layout => !request.xhr? }
108 108 format.csv { send_data(report_to_csv(@report), :type => 'text/csv; header=present', :filename => 'timelog.csv') }
109 109 end
110 110 end
111 111
112 112 def show
113 113 respond_to do |format|
114 114 # TODO: Implement html response
115 115 format.html { render :nothing => true, :status => 406 }
116 116 format.api
117 117 end
118 118 end
119 119
120 120 def new
121 121 @time_entry ||= TimeEntry.new(:project => @project, :issue => @issue, :user => User.current, :spent_on => User.current.today)
122 122 @time_entry.safe_attributes = params[:time_entry]
123 123 end
124 124
125 125 def create
126 126 @time_entry ||= TimeEntry.new(:project => @project, :issue => @issue, :user => User.current, :spent_on => User.current.today)
127 127 @time_entry.safe_attributes = params[:time_entry]
128 128
129 129 call_hook(:controller_timelog_edit_before_save, { :params => params, :time_entry => @time_entry })
130 130
131 131 if @time_entry.save
132 132 respond_to do |format|
133 133 format.html {
134 134 flash[:notice] = l(:notice_successful_create)
135 135 if params[:continue]
136 136 if params[:project_id]
137 137 redirect_to :action => 'new', :project_id => @time_entry.project, :issue_id => @time_entry.issue,
138 138 :time_entry => {:issue_id => @time_entry.issue_id, :activity_id => @time_entry.activity_id},
139 139 :back_url => params[:back_url]
140 140 else
141 141 redirect_to :action => 'new',
142 142 :time_entry => {:project_id => @time_entry.project_id, :issue_id => @time_entry.issue_id, :activity_id => @time_entry.activity_id},
143 143 :back_url => params[:back_url]
144 144 end
145 145 else
146 146 redirect_back_or_default :action => 'index', :project_id => @time_entry.project
147 147 end
148 148 }
149 149 format.api { render :action => 'show', :status => :created, :location => time_entry_url(@time_entry) }
150 150 end
151 151 else
152 152 respond_to do |format|
153 153 format.html { render :action => 'new' }
154 154 format.api { render_validation_errors(@time_entry) }
155 155 end
156 156 end
157 157 end
158 158
159 159 def edit
160 160 @time_entry.safe_attributes = params[:time_entry]
161 161 end
162 162
163 163 def update
164 164 @time_entry.safe_attributes = params[:time_entry]
165 165
166 166 call_hook(:controller_timelog_edit_before_save, { :params => params, :time_entry => @time_entry })
167 167
168 168 if @time_entry.save
169 169 respond_to do |format|
170 170 format.html {
171 171 flash[:notice] = l(:notice_successful_update)
172 172 redirect_back_or_default :action => 'index', :project_id => @time_entry.project
173 173 }
174 174 format.api { render_api_ok }
175 175 end
176 176 else
177 177 respond_to do |format|
178 178 format.html { render :action => 'edit' }
179 179 format.api { render_validation_errors(@time_entry) }
180 180 end
181 181 end
182 182 end
183 183
184 184 def bulk_edit
185 185 @available_activities = TimeEntryActivity.shared.active
186 186 @custom_fields = TimeEntry.first.available_custom_fields
187 187 end
188 188
189 189 def bulk_update
190 190 attributes = parse_params_for_bulk_time_entry_attributes(params)
191 191
192 192 unsaved_time_entry_ids = []
193 193 @time_entries.each do |time_entry|
194 194 time_entry.reload
195 195 time_entry.safe_attributes = attributes
196 196 call_hook(:controller_time_entries_bulk_edit_before_save, { :params => params, :time_entry => time_entry })
197 197 unless time_entry.save
198 198 # Keep unsaved time_entry ids to display them in flash error
199 199 unsaved_time_entry_ids << time_entry.id
200 200 end
201 201 end
202 202 set_flash_from_bulk_time_entry_save(@time_entries, unsaved_time_entry_ids)
203 203 redirect_back_or_default({:controller => 'timelog', :action => 'index', :project_id => @projects.first})
204 204 end
205 205
206 206 def destroy
207 207 destroyed = TimeEntry.transaction do
208 208 @time_entries.each do |t|
209 209 unless t.destroy && t.destroyed?
210 210 raise ActiveRecord::Rollback
211 211 end
212 212 end
213 213 end
214 214
215 215 respond_to do |format|
216 216 format.html {
217 217 if destroyed
218 218 flash[:notice] = l(:notice_successful_delete)
219 219 else
220 220 flash[:error] = l(:notice_unable_delete_time_entry)
221 221 end
222 222 redirect_back_or_default(:action => 'index', :project_id => @projects.first)
223 223 }
224 224 format.api {
225 225 if destroyed
226 226 render_api_ok
227 227 else
228 228 render_validation_errors(@time_entries)
229 229 end
230 230 }
231 231 end
232 232 end
233 233
234 234 private
235 235 def find_time_entry
236 236 @time_entry = TimeEntry.find(params[:id])
237 237 unless @time_entry.editable_by?(User.current)
238 238 render_403
239 239 return false
240 240 end
241 241 @project = @time_entry.project
242 242 rescue ActiveRecord::RecordNotFound
243 243 render_404
244 244 end
245 245
246 246 def find_time_entries
247 247 @time_entries = TimeEntry.find_all_by_id(params[:id] || params[:ids])
248 248 raise ActiveRecord::RecordNotFound if @time_entries.empty?
249 249 @projects = @time_entries.collect(&:project).compact.uniq
250 250 @project = @projects.first if @projects.size == 1
251 251 rescue ActiveRecord::RecordNotFound
252 252 render_404
253 253 end
254 254
255 255 def set_flash_from_bulk_time_entry_save(time_entries, unsaved_time_entry_ids)
256 256 if unsaved_time_entry_ids.empty?
257 257 flash[:notice] = l(:notice_successful_update) unless time_entries.empty?
258 258 else
259 259 flash[:error] = l(:notice_failed_to_save_time_entries,
260 260 :count => unsaved_time_entry_ids.size,
261 261 :total => time_entries.size,
262 262 :ids => '#' + unsaved_time_entry_ids.join(', #'))
263 263 end
264 264 end
265 265
266 266 def find_optional_project_for_new_time_entry
267 267 if (project_id = (params[:project_id] || params[:time_entry] && params[:time_entry][:project_id])).present?
268 268 @project = Project.find(project_id)
269 269 end
270 270 if (issue_id = (params[:issue_id] || params[:time_entry] && params[:time_entry][:issue_id])).present?
271 271 @issue = Issue.find(issue_id)
272 272 @project ||= @issue.project
273 273 end
274 274 rescue ActiveRecord::RecordNotFound
275 275 render_404
276 276 end
277 277
278 278 def find_project_for_new_time_entry
279 279 find_optional_project_for_new_time_entry
280 280 if @project.nil?
281 281 render_404
282 282 end
283 283 end
284 284
285 285 def find_optional_project
286 286 if !params[:issue_id].blank?
287 287 @issue = Issue.find(params[:issue_id])
288 288 @project = @issue.project
289 289 elsif !params[:project_id].blank?
290 290 @project = Project.find(params[:project_id])
291 291 end
292 292 end
293 293
294 294 # Retrieves the date range based on predefined ranges or specific from/to param dates
295 295 def retrieve_date_range
296 296 @free_period = false
297 297 @from, @to = nil, nil
298 298
299 299 if params[:period_type] == '1' || (params[:period_type].nil? && !params[:period].nil?)
300 300 case params[:period].to_s
301 301 when 'today'
302 302 @from = @to = Date.today
303 303 when 'yesterday'
304 304 @from = @to = Date.today - 1
305 305 when 'current_week'
306 306 @from = Date.today - (Date.today.cwday - 1)%7
307 307 @to = @from + 6
308 308 when 'last_week'
309 309 @from = Date.today - 7 - (Date.today.cwday - 1)%7
310 310 @to = @from + 6
311 when 'last_2_weeks'
312 @from = Date.today - 14 - (Date.today.cwday - 1)%7
313 @to = @from + 13
311 314 when '7_days'
312 315 @from = Date.today - 7
313 316 @to = Date.today
314 317 when 'current_month'
315 318 @from = Date.civil(Date.today.year, Date.today.month, 1)
316 319 @to = (@from >> 1) - 1
317 320 when 'last_month'
318 321 @from = Date.civil(Date.today.year, Date.today.month, 1) << 1
319 322 @to = (@from >> 1) - 1
320 323 when '30_days'
321 324 @from = Date.today - 30
322 325 @to = Date.today
323 326 when 'current_year'
324 327 @from = Date.civil(Date.today.year, 1, 1)
325 328 @to = Date.civil(Date.today.year, 12, 31)
326 329 end
327 330 elsif params[:period_type] == '2' || (params[:period_type].nil? && (!params[:from].nil? || !params[:to].nil?))
328 331 begin; @from = params[:from].to_s.to_date unless params[:from].blank?; rescue; end
329 332 begin; @to = params[:to].to_s.to_date unless params[:to].blank?; rescue; end
330 333 @free_period = true
331 334 else
332 335 # default
333 336 end
334 337
335 338 @from, @to = @to, @from if @from && @to && @from > @to
336 339 end
337 340
338 341 def parse_params_for_bulk_time_entry_attributes(params)
339 342 attributes = (params[:time_entry] || {}).reject {|k,v| v.blank?}
340 343 attributes.keys.each {|k| attributes[k] = '' if attributes[k] == 'none'}
341 344 attributes[:custom_field_values].reject! {|k,v| v.blank?} if attributes[:custom_field_values]
342 345 attributes
343 346 end
344 347 end
@@ -1,196 +1,197
1 1 # encoding: utf-8
2 2 #
3 3 # Redmine - project management software
4 4 # Copyright (C) 2006-2012 Jean-Philippe Lang
5 5 #
6 6 # This program is free software; you can redistribute it and/or
7 7 # modify it under the terms of the GNU General Public License
8 8 # as published by the Free Software Foundation; either version 2
9 9 # of the License, or (at your option) any later version.
10 10 #
11 11 # This program is distributed in the hope that it will be useful,
12 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 # GNU General Public License for more details.
15 15 #
16 16 # You should have received a copy of the GNU General Public License
17 17 # along with this program; if not, write to the Free Software
18 18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 19
20 20 module TimelogHelper
21 21 include ApplicationHelper
22 22
23 23 def render_timelog_breadcrumb
24 24 links = []
25 25 links << link_to(l(:label_project_all), {:project_id => nil, :issue_id => nil})
26 26 links << link_to(h(@project), {:project_id => @project, :issue_id => nil}) if @project
27 27 if @issue
28 28 if @issue.visible?
29 29 links << link_to_issue(@issue, :subject => false)
30 30 else
31 31 links << "##{@issue.id}"
32 32 end
33 33 end
34 34 breadcrumb links
35 35 end
36 36
37 37 # Returns a collection of activities for a select field. time_entry
38 38 # is optional and will be used to check if the selected TimeEntryActivity
39 39 # is active.
40 40 def activity_collection_for_select_options(time_entry=nil, project=nil)
41 41 project ||= @project
42 42 if project.nil?
43 43 activities = TimeEntryActivity.shared.active
44 44 else
45 45 activities = project.activities
46 46 end
47 47
48 48 collection = []
49 49 if time_entry && time_entry.activity && !time_entry.activity.active?
50 50 collection << [ "--- #{l(:actionview_instancetag_blank_option)} ---", '' ]
51 51 else
52 52 collection << [ "--- #{l(:actionview_instancetag_blank_option)} ---", '' ] unless activities.detect(&:is_default)
53 53 end
54 54 activities.each { |a| collection << [a.name, a.id] }
55 55 collection
56 56 end
57 57
58 58 def select_hours(data, criteria, value)
59 59 if value.to_s.empty?
60 60 data.select {|row| row[criteria].blank? }
61 61 else
62 62 data.select {|row| row[criteria].to_s == value.to_s}
63 63 end
64 64 end
65 65
66 66 def sum_hours(data)
67 67 sum = 0
68 68 data.each do |row|
69 69 sum += row['hours'].to_f
70 70 end
71 71 sum
72 72 end
73 73
74 74 def options_for_period_select(value)
75 75 options_for_select([[l(:label_all_time), 'all'],
76 76 [l(:label_today), 'today'],
77 77 [l(:label_yesterday), 'yesterday'],
78 78 [l(:label_this_week), 'current_week'],
79 79 [l(:label_last_week), 'last_week'],
80 [l(:label_last_n_weeks, 2), 'last_2_weeks'],
80 81 [l(:label_last_n_days, 7), '7_days'],
81 82 [l(:label_this_month), 'current_month'],
82 83 [l(:label_last_month), 'last_month'],
83 84 [l(:label_last_n_days, 30), '30_days'],
84 85 [l(:label_this_year), 'current_year']],
85 86 value)
86 87 end
87 88
88 89 def entries_to_csv(entries)
89 90 decimal_separator = l(:general_csv_decimal_separator)
90 91 custom_fields = TimeEntryCustomField.find(:all)
91 92 export = FCSV.generate(:col_sep => l(:general_csv_separator)) do |csv|
92 93 # csv header fields
93 94 headers = [l(:field_spent_on),
94 95 l(:field_user),
95 96 l(:field_activity),
96 97 l(:field_project),
97 98 l(:field_issue),
98 99 l(:field_tracker),
99 100 l(:field_subject),
100 101 l(:field_hours),
101 102 l(:field_comments)
102 103 ]
103 104 # Export custom fields
104 105 headers += custom_fields.collect(&:name)
105 106
106 107 csv << headers.collect {|c| Redmine::CodesetUtil.from_utf8(
107 108 c.to_s,
108 109 l(:general_csv_encoding) ) }
109 110 # csv lines
110 111 entries.each do |entry|
111 112 fields = [format_date(entry.spent_on),
112 113 entry.user,
113 114 entry.activity,
114 115 entry.project,
115 116 (entry.issue ? entry.issue.id : nil),
116 117 (entry.issue ? entry.issue.tracker : nil),
117 118 (entry.issue ? entry.issue.subject : nil),
118 119 entry.hours.to_s.gsub('.', decimal_separator),
119 120 entry.comments
120 121 ]
121 122 fields += custom_fields.collect {|f| show_value(entry.custom_field_values.detect {|v| v.custom_field_id == f.id}) }
122 123
123 124 csv << fields.collect {|c| Redmine::CodesetUtil.from_utf8(
124 125 c.to_s,
125 126 l(:general_csv_encoding) ) }
126 127 end
127 128 end
128 129 export
129 130 end
130 131
131 132 def format_criteria_value(criteria_options, value)
132 133 if value.blank?
133 134 "[#{l(:label_none)}]"
134 135 elsif k = criteria_options[:klass]
135 136 obj = k.find_by_id(value.to_i)
136 137 if obj.is_a?(Issue)
137 138 obj.visible? ? "#{obj.tracker} ##{obj.id}: #{obj.subject}" : "##{obj.id}"
138 139 else
139 140 obj
140 141 end
141 142 else
142 143 format_value(value, criteria_options[:format])
143 144 end
144 145 end
145 146
146 147 def report_to_csv(report)
147 148 decimal_separator = l(:general_csv_decimal_separator)
148 149 export = FCSV.generate(:col_sep => l(:general_csv_separator)) do |csv|
149 150 # Column headers
150 151 headers = report.criteria.collect {|criteria| l(report.available_criteria[criteria][:label]) }
151 152 headers += report.periods
152 153 headers << l(:label_total)
153 154 csv << headers.collect {|c| Redmine::CodesetUtil.from_utf8(
154 155 c.to_s,
155 156 l(:general_csv_encoding) ) }
156 157 # Content
157 158 report_criteria_to_csv(csv, report.available_criteria, report.columns, report.criteria, report.periods, report.hours)
158 159 # Total row
159 160 str_total = Redmine::CodesetUtil.from_utf8(l(:label_total), l(:general_csv_encoding))
160 161 row = [ str_total ] + [''] * (report.criteria.size - 1)
161 162 total = 0
162 163 report.periods.each do |period|
163 164 sum = sum_hours(select_hours(report.hours, report.columns, period.to_s))
164 165 total += sum
165 166 row << (sum > 0 ? ("%.2f" % sum).gsub('.',decimal_separator) : '')
166 167 end
167 168 row << ("%.2f" % total).gsub('.',decimal_separator)
168 169 csv << row
169 170 end
170 171 export
171 172 end
172 173
173 174 def report_criteria_to_csv(csv, available_criteria, columns, criteria, periods, hours, level=0)
174 175 decimal_separator = l(:general_csv_decimal_separator)
175 176 hours.collect {|h| h[criteria[level]].to_s}.uniq.each do |value|
176 177 hours_for_value = select_hours(hours, criteria[level], value)
177 178 next if hours_for_value.empty?
178 179 row = [''] * level
179 180 row << Redmine::CodesetUtil.from_utf8(
180 181 format_criteria_value(available_criteria[criteria[level]], value).to_s,
181 182 l(:general_csv_encoding) )
182 183 row += [''] * (criteria.length - level - 1)
183 184 total = 0
184 185 periods.each do |period|
185 186 sum = sum_hours(select_hours(hours_for_value, columns, period.to_s))
186 187 total += sum
187 188 row << (sum > 0 ? ("%.2f" % sum).gsub('.',decimal_separator) : '')
188 189 end
189 190 row << ("%.2f" % total).gsub('.',decimal_separator)
190 191 csv << row
191 192 if criteria.length > level + 1
192 193 report_criteria_to_csv(csv, available_criteria, columns, criteria, periods, hours_for_value, level + 1)
193 194 end
194 195 end
195 196 end
196 197 end
@@ -1,1071 +1,1072
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: "can't be empty"
114 114 blank: "can't 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
133 133 actionview_instancetag_blank_option: Please select
134 134
135 135 general_text_No: 'No'
136 136 general_text_Yes: 'Yes'
137 137 general_text_no: 'no'
138 138 general_text_yes: 'yes'
139 139 general_lang_name: 'English'
140 140 general_csv_separator: ','
141 141 general_csv_decimal_separator: '.'
142 142 general_csv_encoding: ISO-8859-1
143 143 general_pdf_encoding: UTF-8
144 144 general_first_day_of_week: '7'
145 145
146 146 notice_account_updated: Account was successfully updated.
147 147 notice_account_invalid_creditentials: Invalid user or password
148 148 notice_account_password_updated: Password was successfully updated.
149 149 notice_account_wrong_password: Wrong password
150 150 notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you.
151 151 notice_account_unknown_email: Unknown user.
152 152 notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password.
153 153 notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you.
154 154 notice_account_activated: Your account has been activated. You can now log in.
155 155 notice_successful_create: Successful creation.
156 156 notice_successful_update: Successful update.
157 157 notice_successful_delete: Successful deletion.
158 158 notice_successful_connection: Successful connection.
159 159 notice_file_not_found: The page you were trying to access doesn't exist or has been removed.
160 160 notice_locking_conflict: Data has been updated by another user.
161 161 notice_not_authorized: You are not authorized to access this page.
162 162 notice_not_authorized_archived_project: The project you're trying to access has been archived.
163 163 notice_email_sent: "An email was sent to %{value}"
164 164 notice_email_error: "An error occurred while sending mail (%{value})"
165 165 notice_feeds_access_key_reseted: Your RSS access key was reset.
166 166 notice_api_access_key_reseted: Your API access key was reset.
167 167 notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}."
168 168 notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}."
169 169 notice_failed_to_save_members: "Failed to save member(s): %{errors}."
170 170 notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit."
171 171 notice_account_pending: "Your account was created and is now pending administrator approval."
172 172 notice_default_data_loaded: Default configuration successfully loaded.
173 173 notice_unable_delete_version: Unable to delete version.
174 174 notice_unable_delete_time_entry: Unable to delete time log entry.
175 175 notice_issue_done_ratios_updated: Issue done ratios updated.
176 176 notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})"
177 177 notice_issue_successful_create: "Issue %{id} created."
178 178 notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it."
179 179 notice_account_deleted: "Your account has been permanently deleted."
180 180 notice_user_successful_create: "User %{id} created."
181 181
182 182 error_can_t_load_default_data: "Default configuration could not be loaded: %{value}"
183 183 error_scm_not_found: "The entry or revision was not found in the repository."
184 184 error_scm_command_failed: "An error occurred when trying to access the repository: %{value}"
185 185 error_scm_annotate: "The entry does not exist or cannot be annotated."
186 186 error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size."
187 187 error_issue_not_found_in_project: 'The issue was not found or does not belong to this project'
188 188 error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.'
189 189 error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").'
190 190 error_can_not_delete_custom_field: Unable to delete custom field
191 191 error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted."
192 192 error_can_not_remove_role: "This role is in use and cannot be deleted."
193 193 error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened'
194 194 error_can_not_archive_project: This project cannot be archived
195 195 error_issue_done_ratios_not_updated: "Issue done ratios not updated."
196 196 error_workflow_copy_source: 'Please select a source tracker or role'
197 197 error_workflow_copy_target: 'Please select target tracker(s) and role(s)'
198 198 error_unable_delete_issue_status: 'Unable to delete issue status'
199 199 error_unable_to_connect: "Unable to connect (%{value})"
200 200 error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})"
201 201 error_session_expired: "Your session has expired. Please login again."
202 202 warning_attachments_not_saved: "%{count} file(s) could not be saved."
203 203
204 204 mail_subject_lost_password: "Your %{value} password"
205 205 mail_body_lost_password: 'To change your password, click on the following link:'
206 206 mail_subject_register: "Your %{value} account activation"
207 207 mail_body_register: 'To activate your account, click on the following link:'
208 208 mail_body_account_information_external: "You can use your %{value} account to log in."
209 209 mail_body_account_information: Your account information
210 210 mail_subject_account_activation_request: "%{value} account activation request"
211 211 mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:"
212 212 mail_subject_reminder: "%{count} issue(s) due in the next %{days} days"
213 213 mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:"
214 214 mail_subject_wiki_content_added: "'%{id}' wiki page has been added"
215 215 mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}."
216 216 mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated"
217 217 mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}."
218 218
219 219 gui_validation_error: 1 error
220 220 gui_validation_error_plural: "%{count} errors"
221 221
222 222 field_name: Name
223 223 field_description: Description
224 224 field_summary: Summary
225 225 field_is_required: Required
226 226 field_firstname: First name
227 227 field_lastname: Last name
228 228 field_mail: Email
229 229 field_filename: File
230 230 field_filesize: Size
231 231 field_downloads: Downloads
232 232 field_author: Author
233 233 field_created_on: Created
234 234 field_updated_on: Updated
235 235 field_field_format: Format
236 236 field_is_for_all: For all projects
237 237 field_possible_values: Possible values
238 238 field_regexp: Regular expression
239 239 field_min_length: Minimum length
240 240 field_max_length: Maximum length
241 241 field_value: Value
242 242 field_category: Category
243 243 field_title: Title
244 244 field_project: Project
245 245 field_issue: Issue
246 246 field_status: Status
247 247 field_notes: Notes
248 248 field_is_closed: Issue closed
249 249 field_is_default: Default value
250 250 field_tracker: Tracker
251 251 field_subject: Subject
252 252 field_due_date: Due date
253 253 field_assigned_to: Assignee
254 254 field_priority: Priority
255 255 field_fixed_version: Target version
256 256 field_user: User
257 257 field_principal: Principal
258 258 field_role: Role
259 259 field_homepage: Homepage
260 260 field_is_public: Public
261 261 field_parent: Subproject of
262 262 field_is_in_roadmap: Issues displayed in roadmap
263 263 field_login: Login
264 264 field_mail_notification: Email notifications
265 265 field_admin: Administrator
266 266 field_last_login_on: Last connection
267 267 field_language: Language
268 268 field_effective_date: Date
269 269 field_password: Password
270 270 field_new_password: New password
271 271 field_password_confirmation: Confirmation
272 272 field_version: Version
273 273 field_type: Type
274 274 field_host: Host
275 275 field_port: Port
276 276 field_account: Account
277 277 field_base_dn: Base DN
278 278 field_attr_login: Login attribute
279 279 field_attr_firstname: Firstname attribute
280 280 field_attr_lastname: Lastname attribute
281 281 field_attr_mail: Email attribute
282 282 field_onthefly: On-the-fly user creation
283 283 field_start_date: Start date
284 284 field_done_ratio: "% Done"
285 285 field_auth_source: Authentication mode
286 286 field_hide_mail: Hide my email address
287 287 field_comments: Comment
288 288 field_url: URL
289 289 field_start_page: Start page
290 290 field_subproject: Subproject
291 291 field_hours: Hours
292 292 field_activity: Activity
293 293 field_spent_on: Date
294 294 field_identifier: Identifier
295 295 field_is_filter: Used as a filter
296 296 field_issue_to: Related issue
297 297 field_delay: Delay
298 298 field_assignable: Issues can be assigned to this role
299 299 field_redirect_existing_links: Redirect existing links
300 300 field_estimated_hours: Estimated time
301 301 field_column_names: Columns
302 302 field_time_entries: Log time
303 303 field_time_zone: Time zone
304 304 field_searchable: Searchable
305 305 field_default_value: Default value
306 306 field_comments_sorting: Display comments
307 307 field_parent_title: Parent page
308 308 field_editable: Editable
309 309 field_watcher: Watcher
310 310 field_identity_url: OpenID URL
311 311 field_content: Content
312 312 field_group_by: Group results by
313 313 field_sharing: Sharing
314 314 field_parent_issue: Parent task
315 315 field_member_of_group: "Assignee's group"
316 316 field_assigned_to_role: "Assignee's role"
317 317 field_text: Text field
318 318 field_visible: Visible
319 319 field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text"
320 320 field_issues_visibility: Issues visibility
321 321 field_is_private: Private
322 322 field_commit_logs_encoding: Commit messages encoding
323 323 field_scm_path_encoding: Path encoding
324 324 field_path_to_repository: Path to repository
325 325 field_root_directory: Root directory
326 326 field_cvsroot: CVSROOT
327 327 field_cvs_module: Module
328 328 field_repository_is_default: Main repository
329 329 field_multiple: Multiple values
330 330 field_auth_source_ldap_filter: LDAP filter
331 331 field_core_fields: Standard fields
332 332 field_timeout: "Timeout (in seconds)"
333 333 field_board_parent: Parent forum
334 334 field_private_notes: Private notes
335 335
336 336 setting_app_title: Application title
337 337 setting_app_subtitle: Application subtitle
338 338 setting_welcome_text: Welcome text
339 339 setting_default_language: Default language
340 340 setting_login_required: Authentication required
341 341 setting_self_registration: Self-registration
342 342 setting_attachment_max_size: Maximum attachment size
343 343 setting_issues_export_limit: Issues export limit
344 344 setting_mail_from: Emission email address
345 345 setting_bcc_recipients: Blind carbon copy recipients (bcc)
346 346 setting_plain_text_mail: Plain text mail (no HTML)
347 347 setting_host_name: Host name and path
348 348 setting_text_formatting: Text formatting
349 349 setting_wiki_compression: Wiki history compression
350 350 setting_feeds_limit: Maximum number of items in Atom feeds
351 351 setting_default_projects_public: New projects are public by default
352 352 setting_autofetch_changesets: Fetch commits automatically
353 353 setting_sys_api_enabled: Enable WS for repository management
354 354 setting_commit_ref_keywords: Referencing keywords
355 355 setting_commit_fix_keywords: Fixing keywords
356 356 setting_autologin: Autologin
357 357 setting_date_format: Date format
358 358 setting_time_format: Time format
359 359 setting_cross_project_issue_relations: Allow cross-project issue relations
360 360 setting_issue_list_default_columns: Default columns displayed on the issue list
361 361 setting_repositories_encodings: Attachments and repositories encodings
362 362 setting_emails_header: Emails header
363 363 setting_emails_footer: Emails footer
364 364 setting_protocol: Protocol
365 365 setting_per_page_options: Objects per page options
366 366 setting_user_format: Users display format
367 367 setting_activity_days_default: Days displayed on project activity
368 368 setting_display_subprojects_issues: Display subprojects issues on main projects by default
369 369 setting_enabled_scm: Enabled SCM
370 370 setting_mail_handler_body_delimiters: "Truncate emails after one of these lines"
371 371 setting_mail_handler_api_enabled: Enable WS for incoming emails
372 372 setting_mail_handler_api_key: API key
373 373 setting_sequential_project_identifiers: Generate sequential project identifiers
374 374 setting_gravatar_enabled: Use Gravatar user icons
375 375 setting_gravatar_default: Default Gravatar image
376 376 setting_diff_max_lines_displayed: Maximum number of diff lines displayed
377 377 setting_file_max_size_displayed: Maximum size of text files displayed inline
378 378 setting_repository_log_display_limit: Maximum number of revisions displayed on file log
379 379 setting_openid: Allow OpenID login and registration
380 380 setting_password_min_length: Minimum password length
381 381 setting_new_project_user_role_id: Role given to a non-admin user who creates a project
382 382 setting_default_projects_modules: Default enabled modules for new projects
383 383 setting_issue_done_ratio: Calculate the issue done ratio with
384 384 setting_issue_done_ratio_issue_field: Use the issue field
385 385 setting_issue_done_ratio_issue_status: Use the issue status
386 386 setting_start_of_week: Start calendars on
387 387 setting_rest_api_enabled: Enable REST web service
388 388 setting_cache_formatted_text: Cache formatted text
389 389 setting_default_notification_option: Default notification option
390 390 setting_commit_logtime_enabled: Enable time logging
391 391 setting_commit_logtime_activity_id: Activity for logged time
392 392 setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
393 393 setting_issue_group_assignment: Allow issue assignment to groups
394 394 setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues
395 395 setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed
396 396 setting_unsubscribe: Allow users to delete their own account
397 397 setting_session_lifetime: Session maximum lifetime
398 398 setting_session_timeout: Session inactivity timeout
399 399 setting_thumbnails_enabled: Display attachment thumbnails
400 400 setting_thumbnails_size: Thumbnails size (in pixels)
401 401
402 402 permission_add_project: Create project
403 403 permission_add_subprojects: Create subprojects
404 404 permission_edit_project: Edit project
405 405 permission_close_project: Close / reopen the project
406 406 permission_select_project_modules: Select project modules
407 407 permission_manage_members: Manage members
408 408 permission_manage_project_activities: Manage project activities
409 409 permission_manage_versions: Manage versions
410 410 permission_manage_categories: Manage issue categories
411 411 permission_view_issues: View Issues
412 412 permission_add_issues: Add issues
413 413 permission_edit_issues: Edit issues
414 414 permission_manage_issue_relations: Manage issue relations
415 415 permission_set_issues_private: Set issues public or private
416 416 permission_set_own_issues_private: Set own issues public or private
417 417 permission_add_issue_notes: Add notes
418 418 permission_edit_issue_notes: Edit notes
419 419 permission_edit_own_issue_notes: Edit own notes
420 420 permission_view_private_notes: View private notes
421 421 permission_set_notes_private: Set notes as private
422 422 permission_move_issues: Move issues
423 423 permission_delete_issues: Delete issues
424 424 permission_manage_public_queries: Manage public queries
425 425 permission_save_queries: Save queries
426 426 permission_view_gantt: View gantt chart
427 427 permission_view_calendar: View calendar
428 428 permission_view_issue_watchers: View watchers list
429 429 permission_add_issue_watchers: Add watchers
430 430 permission_delete_issue_watchers: Delete watchers
431 431 permission_log_time: Log spent time
432 432 permission_view_time_entries: View spent time
433 433 permission_edit_time_entries: Edit time logs
434 434 permission_edit_own_time_entries: Edit own time logs
435 435 permission_manage_news: Manage news
436 436 permission_comment_news: Comment news
437 437 permission_manage_documents: Manage documents
438 438 permission_view_documents: View documents
439 439 permission_manage_files: Manage files
440 440 permission_view_files: View files
441 441 permission_manage_wiki: Manage wiki
442 442 permission_rename_wiki_pages: Rename wiki pages
443 443 permission_delete_wiki_pages: Delete wiki pages
444 444 permission_view_wiki_pages: View wiki
445 445 permission_view_wiki_edits: View wiki history
446 446 permission_edit_wiki_pages: Edit wiki pages
447 447 permission_delete_wiki_pages_attachments: Delete attachments
448 448 permission_protect_wiki_pages: Protect wiki pages
449 449 permission_manage_repository: Manage repository
450 450 permission_browse_repository: Browse repository
451 451 permission_view_changesets: View changesets
452 452 permission_commit_access: Commit access
453 453 permission_manage_boards: Manage forums
454 454 permission_view_messages: View messages
455 455 permission_add_messages: Post messages
456 456 permission_edit_messages: Edit messages
457 457 permission_edit_own_messages: Edit own messages
458 458 permission_delete_messages: Delete messages
459 459 permission_delete_own_messages: Delete own messages
460 460 permission_export_wiki_pages: Export wiki pages
461 461 permission_manage_subtasks: Manage subtasks
462 462 permission_manage_related_issues: Manage related issues
463 463
464 464 project_module_issue_tracking: Issue tracking
465 465 project_module_time_tracking: Time tracking
466 466 project_module_news: News
467 467 project_module_documents: Documents
468 468 project_module_files: Files
469 469 project_module_wiki: Wiki
470 470 project_module_repository: Repository
471 471 project_module_boards: Forums
472 472 project_module_calendar: Calendar
473 473 project_module_gantt: Gantt
474 474
475 475 label_user: User
476 476 label_user_plural: Users
477 477 label_user_new: New user
478 478 label_user_anonymous: Anonymous
479 479 label_project: Project
480 480 label_project_new: New project
481 481 label_project_plural: Projects
482 482 label_x_projects:
483 483 zero: no projects
484 484 one: 1 project
485 485 other: "%{count} projects"
486 486 label_project_all: All Projects
487 487 label_project_latest: Latest projects
488 488 label_issue: Issue
489 489 label_issue_new: New issue
490 490 label_issue_plural: Issues
491 491 label_issue_view_all: View all issues
492 492 label_issues_by: "Issues by %{value}"
493 493 label_issue_added: Issue added
494 494 label_issue_updated: Issue updated
495 495 label_issue_note_added: Note added
496 496 label_issue_status_updated: Status updated
497 497 label_issue_priority_updated: Priority updated
498 498 label_document: Document
499 499 label_document_new: New document
500 500 label_document_plural: Documents
501 501 label_document_added: Document added
502 502 label_role: Role
503 503 label_role_plural: Roles
504 504 label_role_new: New role
505 505 label_role_and_permissions: Roles and permissions
506 506 label_role_anonymous: Anonymous
507 507 label_role_non_member: Non member
508 508 label_member: Member
509 509 label_member_new: New member
510 510 label_member_plural: Members
511 511 label_tracker: Tracker
512 512 label_tracker_plural: Trackers
513 513 label_tracker_new: New tracker
514 514 label_workflow: Workflow
515 515 label_issue_status: Issue status
516 516 label_issue_status_plural: Issue statuses
517 517 label_issue_status_new: New status
518 518 label_issue_category: Issue category
519 519 label_issue_category_plural: Issue categories
520 520 label_issue_category_new: New category
521 521 label_custom_field: Custom field
522 522 label_custom_field_plural: Custom fields
523 523 label_custom_field_new: New custom field
524 524 label_enumerations: Enumerations
525 525 label_enumeration_new: New value
526 526 label_information: Information
527 527 label_information_plural: Information
528 528 label_please_login: Please log in
529 529 label_register: Register
530 530 label_login_with_open_id_option: or login with OpenID
531 531 label_password_lost: Lost password
532 532 label_home: Home
533 533 label_my_page: My page
534 534 label_my_account: My account
535 535 label_my_projects: My projects
536 536 label_my_page_block: My page block
537 537 label_administration: Administration
538 538 label_login: Sign in
539 539 label_logout: Sign out
540 540 label_help: Help
541 541 label_reported_issues: Reported issues
542 542 label_assigned_to_me_issues: Issues assigned to me
543 543 label_last_login: Last connection
544 544 label_registered_on: Registered on
545 545 label_activity: Activity
546 546 label_overall_activity: Overall activity
547 547 label_user_activity: "%{value}'s activity"
548 548 label_new: New
549 549 label_logged_as: Logged in as
550 550 label_environment: Environment
551 551 label_authentication: Authentication
552 552 label_auth_source: Authentication mode
553 553 label_auth_source_new: New authentication mode
554 554 label_auth_source_plural: Authentication modes
555 555 label_subproject_plural: Subprojects
556 556 label_subproject_new: New subproject
557 557 label_and_its_subprojects: "%{value} and its subprojects"
558 558 label_min_max_length: Min - Max length
559 559 label_list: List
560 560 label_date: Date
561 561 label_integer: Integer
562 562 label_float: Float
563 563 label_boolean: Boolean
564 564 label_string: Text
565 565 label_text: Long text
566 566 label_attribute: Attribute
567 567 label_attribute_plural: Attributes
568 568 label_download: "%{count} Download"
569 569 label_download_plural: "%{count} Downloads"
570 570 label_no_data: No data to display
571 571 label_change_status: Change status
572 572 label_history: History
573 573 label_attachment: File
574 574 label_attachment_new: New file
575 575 label_attachment_delete: Delete file
576 576 label_attachment_plural: Files
577 577 label_file_added: File added
578 578 label_report: Report
579 579 label_report_plural: Reports
580 580 label_news: News
581 581 label_news_new: Add news
582 582 label_news_plural: News
583 583 label_news_latest: Latest news
584 584 label_news_view_all: View all news
585 585 label_news_added: News added
586 586 label_news_comment_added: Comment added to a news
587 587 label_settings: Settings
588 588 label_overview: Overview
589 589 label_version: Version
590 590 label_version_new: New version
591 591 label_version_plural: Versions
592 592 label_close_versions: Close completed versions
593 593 label_confirmation: Confirmation
594 594 label_export_to: 'Also available in:'
595 595 label_read: Read...
596 596 label_public_projects: Public projects
597 597 label_open_issues: open
598 598 label_open_issues_plural: open
599 599 label_closed_issues: closed
600 600 label_closed_issues_plural: closed
601 601 label_x_open_issues_abbr_on_total:
602 602 zero: 0 open / %{total}
603 603 one: 1 open / %{total}
604 604 other: "%{count} open / %{total}"
605 605 label_x_open_issues_abbr:
606 606 zero: 0 open
607 607 one: 1 open
608 608 other: "%{count} open"
609 609 label_x_closed_issues_abbr:
610 610 zero: 0 closed
611 611 one: 1 closed
612 612 other: "%{count} closed"
613 613 label_x_issues:
614 614 zero: 0 issues
615 615 one: 1 issue
616 616 other: "%{count} issues"
617 617 label_total: Total
618 618 label_permissions: Permissions
619 619 label_current_status: Current status
620 620 label_new_statuses_allowed: New statuses allowed
621 621 label_all: all
622 622 label_any: any
623 623 label_none: none
624 624 label_nobody: nobody
625 625 label_next: Next
626 626 label_previous: Previous
627 627 label_used_by: Used by
628 628 label_details: Details
629 629 label_add_note: Add a note
630 630 label_per_page: Per page
631 631 label_calendar: Calendar
632 632 label_months_from: months from
633 633 label_gantt: Gantt
634 634 label_internal: Internal
635 635 label_last_changes: "last %{count} changes"
636 636 label_change_view_all: View all changes
637 637 label_personalize_page: Personalize this page
638 638 label_comment: Comment
639 639 label_comment_plural: Comments
640 640 label_x_comments:
641 641 zero: no comments
642 642 one: 1 comment
643 643 other: "%{count} comments"
644 644 label_comment_add: Add a comment
645 645 label_comment_added: Comment added
646 646 label_comment_delete: Delete comments
647 647 label_query: Custom query
648 648 label_query_plural: Custom queries
649 649 label_query_new: New query
650 650 label_my_queries: My custom queries
651 651 label_filter_add: Add filter
652 652 label_filter_plural: Filters
653 653 label_equals: is
654 654 label_not_equals: is not
655 655 label_in_less_than: in less than
656 656 label_in_more_than: in more than
657 657 label_greater_or_equal: '>='
658 658 label_less_or_equal: '<='
659 659 label_between: between
660 660 label_in: in
661 661 label_today: today
662 662 label_all_time: all time
663 663 label_yesterday: yesterday
664 664 label_this_week: this week
665 665 label_last_week: last week
666 label_last_n_weeks: "last %{count} weeks"
666 667 label_last_n_days: "last %{count} days"
667 668 label_this_month: this month
668 669 label_last_month: last month
669 670 label_this_year: this year
670 671 label_date_range: Date range
671 672 label_less_than_ago: less than days ago
672 673 label_more_than_ago: more than days ago
673 674 label_ago: days ago
674 675 label_contains: contains
675 676 label_not_contains: doesn't contain
676 677 label_any_issues_in_project: any issues in project
677 678 label_any_issues_not_in_project: any issues not in project
678 679 label_no_issues_in_project: no issues in project
679 680 label_day_plural: days
680 681 label_repository: Repository
681 682 label_repository_new: New repository
682 683 label_repository_plural: Repositories
683 684 label_browse: Browse
684 685 label_modification: "%{count} change"
685 686 label_modification_plural: "%{count} changes"
686 687 label_branch: Branch
687 688 label_tag: Tag
688 689 label_revision: Revision
689 690 label_revision_plural: Revisions
690 691 label_revision_id: "Revision %{value}"
691 692 label_associated_revisions: Associated revisions
692 693 label_added: added
693 694 label_modified: modified
694 695 label_copied: copied
695 696 label_renamed: renamed
696 697 label_deleted: deleted
697 698 label_latest_revision: Latest revision
698 699 label_latest_revision_plural: Latest revisions
699 700 label_view_revisions: View revisions
700 701 label_view_all_revisions: View all revisions
701 702 label_max_size: Maximum size
702 703 label_sort_highest: Move to top
703 704 label_sort_higher: Move up
704 705 label_sort_lower: Move down
705 706 label_sort_lowest: Move to bottom
706 707 label_roadmap: Roadmap
707 708 label_roadmap_due_in: "Due in %{value}"
708 709 label_roadmap_overdue: "%{value} late"
709 710 label_roadmap_no_issues: No issues for this version
710 711 label_search: Search
711 712 label_result_plural: Results
712 713 label_all_words: All words
713 714 label_wiki: Wiki
714 715 label_wiki_edit: Wiki edit
715 716 label_wiki_edit_plural: Wiki edits
716 717 label_wiki_page: Wiki page
717 718 label_wiki_page_plural: Wiki pages
718 719 label_index_by_title: Index by title
719 720 label_index_by_date: Index by date
720 721 label_current_version: Current version
721 722 label_preview: Preview
722 723 label_feed_plural: Feeds
723 724 label_changes_details: Details of all changes
724 725 label_issue_tracking: Issue tracking
725 726 label_spent_time: Spent time
726 727 label_overall_spent_time: Overall spent time
727 728 label_f_hour: "%{value} hour"
728 729 label_f_hour_plural: "%{value} hours"
729 730 label_time_tracking: Time tracking
730 731 label_change_plural: Changes
731 732 label_statistics: Statistics
732 733 label_commits_per_month: Commits per month
733 734 label_commits_per_author: Commits per author
734 735 label_diff: diff
735 736 label_view_diff: View differences
736 737 label_diff_inline: inline
737 738 label_diff_side_by_side: side by side
738 739 label_options: Options
739 740 label_copy_workflow_from: Copy workflow from
740 741 label_permissions_report: Permissions report
741 742 label_watched_issues: Watched issues
742 743 label_related_issues: Related issues
743 744 label_applied_status: Applied status
744 745 label_loading: Loading...
745 746 label_relation_new: New relation
746 747 label_relation_delete: Delete relation
747 748 label_relates_to: Related to
748 749 label_duplicates: Duplicates
749 750 label_duplicated_by: Duplicated by
750 751 label_blocks: Blocks
751 752 label_blocked_by: Blocked by
752 753 label_precedes: Precedes
753 754 label_follows: Follows
754 755 label_copied_to: Copied to
755 756 label_copied_from: Copied from
756 757 label_end_to_start: end to start
757 758 label_end_to_end: end to end
758 759 label_start_to_start: start to start
759 760 label_start_to_end: start to end
760 761 label_stay_logged_in: Stay logged in
761 762 label_disabled: disabled
762 763 label_show_completed_versions: Show completed versions
763 764 label_me: me
764 765 label_board: Forum
765 766 label_board_new: New forum
766 767 label_board_plural: Forums
767 768 label_board_locked: Locked
768 769 label_board_sticky: Sticky
769 770 label_topic_plural: Topics
770 771 label_message_plural: Messages
771 772 label_message_last: Last message
772 773 label_message_new: New message
773 774 label_message_posted: Message added
774 775 label_reply_plural: Replies
775 776 label_send_information: Send account information to the user
776 777 label_year: Year
777 778 label_month: Month
778 779 label_week: Week
779 780 label_date_from: From
780 781 label_date_to: To
781 782 label_language_based: Based on user's language
782 783 label_sort_by: "Sort by %{value}"
783 784 label_send_test_email: Send a test email
784 785 label_feeds_access_key: RSS access key
785 786 label_missing_feeds_access_key: Missing a RSS access key
786 787 label_feeds_access_key_created_on: "RSS access key created %{value} ago"
787 788 label_module_plural: Modules
788 789 label_added_time_by: "Added by %{author} %{age} ago"
789 790 label_updated_time_by: "Updated by %{author} %{age} ago"
790 791 label_updated_time: "Updated %{value} ago"
791 792 label_jump_to_a_project: Jump to a project...
792 793 label_file_plural: Files
793 794 label_changeset_plural: Changesets
794 795 label_default_columns: Default columns
795 796 label_no_change_option: (No change)
796 797 label_bulk_edit_selected_issues: Bulk edit selected issues
797 798 label_bulk_edit_selected_time_entries: Bulk edit selected time entries
798 799 label_theme: Theme
799 800 label_default: Default
800 801 label_search_titles_only: Search titles only
801 802 label_user_mail_option_all: "For any event on all my projects"
802 803 label_user_mail_option_selected: "For any event on the selected projects only..."
803 804 label_user_mail_option_none: "No events"
804 805 label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in"
805 806 label_user_mail_option_only_assigned: "Only for things I am assigned to"
806 807 label_user_mail_option_only_owner: "Only for things I am the owner of"
807 808 label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself"
808 809 label_registration_activation_by_email: account activation by email
809 810 label_registration_manual_activation: manual account activation
810 811 label_registration_automatic_activation: automatic account activation
811 812 label_display_per_page: "Per page: %{value}"
812 813 label_age: Age
813 814 label_change_properties: Change properties
814 815 label_general: General
815 816 label_more: More
816 817 label_scm: SCM
817 818 label_plugins: Plugins
818 819 label_ldap_authentication: LDAP authentication
819 820 label_downloads_abbr: D/L
820 821 label_optional_description: Optional description
821 822 label_add_another_file: Add another file
822 823 label_preferences: Preferences
823 824 label_chronological_order: In chronological order
824 825 label_reverse_chronological_order: In reverse chronological order
825 826 label_planning: Planning
826 827 label_incoming_emails: Incoming emails
827 828 label_generate_key: Generate a key
828 829 label_issue_watchers: Watchers
829 830 label_example: Example
830 831 label_display: Display
831 832 label_sort: Sort
832 833 label_ascending: Ascending
833 834 label_descending: Descending
834 835 label_date_from_to: From %{start} to %{end}
835 836 label_wiki_content_added: Wiki page added
836 837 label_wiki_content_updated: Wiki page updated
837 838 label_group: Group
838 839 label_group_plural: Groups
839 840 label_group_new: New group
840 841 label_time_entry_plural: Spent time
841 842 label_version_sharing_none: Not shared
842 843 label_version_sharing_descendants: With subprojects
843 844 label_version_sharing_hierarchy: With project hierarchy
844 845 label_version_sharing_tree: With project tree
845 846 label_version_sharing_system: With all projects
846 847 label_update_issue_done_ratios: Update issue done ratios
847 848 label_copy_source: Source
848 849 label_copy_target: Target
849 850 label_copy_same_as_target: Same as target
850 851 label_display_used_statuses_only: Only display statuses that are used by this tracker
851 852 label_api_access_key: API access key
852 853 label_missing_api_access_key: Missing an API access key
853 854 label_api_access_key_created_on: "API access key created %{value} ago"
854 855 label_profile: Profile
855 856 label_subtask_plural: Subtasks
856 857 label_project_copy_notifications: Send email notifications during the project copy
857 858 label_principal_search: "Search for user or group:"
858 859 label_user_search: "Search for user:"
859 860 label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author
860 861 label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee
861 862 label_issues_visibility_all: All issues
862 863 label_issues_visibility_public: All non private issues
863 864 label_issues_visibility_own: Issues created by or assigned to the user
864 865 label_git_report_last_commit: Report last commit for files and directories
865 866 label_parent_revision: Parent
866 867 label_child_revision: Child
867 868 label_export_options: "%{export_format} export options"
868 869 label_copy_attachments: Copy attachments
869 870 label_copy_subtasks: Copy subtasks
870 871 label_item_position: "%{position} of %{count}"
871 872 label_completed_versions: Completed versions
872 873 label_search_for_watchers: Search for watchers to add
873 874 label_session_expiration: Session expiration
874 875 label_show_closed_projects: View closed projects
875 876 label_status_transitions: Status transitions
876 877 label_fields_permissions: Fields permissions
877 878 label_readonly: Read-only
878 879 label_required: Required
879 880 label_attribute_of_project: "Project's %{name}"
880 881 label_attribute_of_author: "Author's %{name}"
881 882 label_attribute_of_assigned_to: "Assignee's %{name}"
882 883 label_attribute_of_fixed_version: "Target version's %{name}"
883 884
884 885 button_login: Login
885 886 button_submit: Submit
886 887 button_save: Save
887 888 button_check_all: Check all
888 889 button_uncheck_all: Uncheck all
889 890 button_collapse_all: Collapse all
890 891 button_expand_all: Expand all
891 892 button_delete: Delete
892 893 button_create: Create
893 894 button_create_and_continue: Create and continue
894 895 button_test: Test
895 896 button_edit: Edit
896 897 button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}"
897 898 button_add: Add
898 899 button_change: Change
899 900 button_apply: Apply
900 901 button_clear: Clear
901 902 button_lock: Lock
902 903 button_unlock: Unlock
903 904 button_download: Download
904 905 button_list: List
905 906 button_view: View
906 907 button_move: Move
907 908 button_move_and_follow: Move and follow
908 909 button_back: Back
909 910 button_cancel: Cancel
910 911 button_activate: Activate
911 912 button_sort: Sort
912 913 button_log_time: Log time
913 914 button_rollback: Rollback to this version
914 915 button_watch: Watch
915 916 button_unwatch: Unwatch
916 917 button_reply: Reply
917 918 button_archive: Archive
918 919 button_unarchive: Unarchive
919 920 button_reset: Reset
920 921 button_rename: Rename
921 922 button_change_password: Change password
922 923 button_copy: Copy
923 924 button_copy_and_follow: Copy and follow
924 925 button_annotate: Annotate
925 926 button_update: Update
926 927 button_configure: Configure
927 928 button_quote: Quote
928 929 button_duplicate: Duplicate
929 930 button_show: Show
930 931 button_edit_section: Edit this section
931 932 button_export: Export
932 933 button_delete_my_account: Delete my account
933 934 button_close: Close
934 935 button_reopen: Reopen
935 936
936 937 status_active: active
937 938 status_registered: registered
938 939 status_locked: locked
939 940
940 941 project_status_active: active
941 942 project_status_closed: closed
942 943 project_status_archived: archived
943 944
944 945 version_status_open: open
945 946 version_status_locked: locked
946 947 version_status_closed: closed
947 948
948 949 field_active: Active
949 950
950 951 text_select_mail_notifications: Select actions for which email notifications should be sent.
951 952 text_regexp_info: eg. ^[A-Z0-9]+$
952 953 text_min_max_length_info: 0 means no restriction
953 954 text_project_destroy_confirmation: Are you sure you want to delete this project and related data?
954 955 text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted."
955 956 text_workflow_edit: Select a role and a tracker to edit the workflow
956 957 text_are_you_sure: Are you sure?
957 958 text_are_you_sure_with_children: "Delete issue and all child issues?"
958 959 text_journal_changed: "%{label} changed from %{old} to %{new}"
959 960 text_journal_changed_no_detail: "%{label} updated"
960 961 text_journal_set_to: "%{label} set to %{value}"
961 962 text_journal_deleted: "%{label} deleted (%{old})"
962 963 text_journal_added: "%{label} %{value} added"
963 964 text_tip_issue_begin_day: issue beginning this day
964 965 text_tip_issue_end_day: issue ending this day
965 966 text_tip_issue_begin_end_day: issue beginning and ending this day
966 967 text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.'
967 968 text_caracters_maximum: "%{count} characters maximum."
968 969 text_caracters_minimum: "Must be at least %{count} characters long."
969 970 text_length_between: "Length between %{min} and %{max} characters."
970 971 text_tracker_no_workflow: No workflow defined for this tracker
971 972 text_unallowed_characters: Unallowed characters
972 973 text_comma_separated: Multiple values allowed (comma separated).
973 974 text_line_separated: Multiple values allowed (one line for each value).
974 975 text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
975 976 text_issue_added: "Issue %{id} has been reported by %{author}."
976 977 text_issue_updated: "Issue %{id} has been updated by %{author}."
977 978 text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content?
978 979 text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?"
979 980 text_issue_category_destroy_assignments: Remove category assignments
980 981 text_issue_category_reassign_to: Reassign issues to this category
981 982 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)."
982 983 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."
983 984 text_load_default_configuration: Load the default configuration
984 985 text_status_changed_by_changeset: "Applied in changeset %{value}."
985 986 text_time_logged_by_changeset: "Applied in changeset %{value}."
986 987 text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?'
987 988 text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)."
988 989 text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?'
989 990 text_select_project_modules: 'Select modules to enable for this project:'
990 991 text_default_administrator_account_changed: Default administrator account changed
991 992 text_file_repository_writable: Attachments directory writable
992 993 text_plugin_assets_writable: Plugin assets directory writable
993 994 text_rmagick_available: RMagick available (optional)
994 995 text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?"
995 996 text_destroy_time_entries: Delete reported hours
996 997 text_assign_time_entries_to_project: Assign reported hours to the project
997 998 text_reassign_time_entries: 'Reassign reported hours to this issue:'
998 999 text_user_wrote: "%{value} wrote:"
999 1000 text_enumeration_destroy_question: "%{count} objects are assigned to this value."
1000 1001 text_enumeration_category_reassign_to: 'Reassign them to this value:'
1001 1002 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."
1002 1003 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."
1003 1004 text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.'
1004 1005 text_custom_field_possible_values_info: 'One line for each value'
1005 1006 text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?"
1006 1007 text_wiki_page_nullify_children: "Keep child pages as root pages"
1007 1008 text_wiki_page_destroy_children: "Delete child pages and all their descendants"
1008 1009 text_wiki_page_reassign_children: "Reassign child pages to this parent page"
1009 1010 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?"
1010 1011 text_zoom_in: Zoom in
1011 1012 text_zoom_out: Zoom out
1012 1013 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
1013 1014 text_scm_path_encoding_note: "Default: UTF-8"
1014 1015 text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
1015 1016 text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo)
1016 1017 text_scm_command: Command
1017 1018 text_scm_command_version: Version
1018 1019 text_scm_config: You can configure your scm commands in config/configuration.yml. Please restart the application after editing it.
1019 1020 text_scm_command_not_available: Scm command is not available. Please check settings on the administration panel.
1020 1021 text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)"
1021 1022 text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes"
1022 1023 text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}"
1023 1024 text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it."
1024 1025 text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours."
1025 1026 text_project_closed: This project is closed and read-only.
1026 1027
1027 1028 default_role_manager: Manager
1028 1029 default_role_developer: Developer
1029 1030 default_role_reporter: Reporter
1030 1031 default_tracker_bug: Bug
1031 1032 default_tracker_feature: Feature
1032 1033 default_tracker_support: Support
1033 1034 default_issue_status_new: New
1034 1035 default_issue_status_in_progress: In Progress
1035 1036 default_issue_status_resolved: Resolved
1036 1037 default_issue_status_feedback: Feedback
1037 1038 default_issue_status_closed: Closed
1038 1039 default_issue_status_rejected: Rejected
1039 1040 default_doc_category_user: User documentation
1040 1041 default_doc_category_tech: Technical documentation
1041 1042 default_priority_low: Low
1042 1043 default_priority_normal: Normal
1043 1044 default_priority_high: High
1044 1045 default_priority_urgent: Urgent
1045 1046 default_priority_immediate: Immediate
1046 1047 default_activity_design: Design
1047 1048 default_activity_development: Development
1048 1049
1049 1050 enumeration_issue_priorities: Issue priorities
1050 1051 enumeration_doc_categories: Document categories
1051 1052 enumeration_activities: Activities (time tracking)
1052 1053 enumeration_system_activity: System Activity
1053 1054 description_filter: Filter
1054 1055 description_search: Searchfield
1055 1056 description_choose_project: Projects
1056 1057 description_project_scope: Search scope
1057 1058 description_notes: Notes
1058 1059 description_message_content: Message content
1059 1060 description_query_sort_criteria_attribute: Sort attribute
1060 1061 description_query_sort_criteria_direction: Sort direction
1061 1062 description_user_mail_notification: Mail notification settings
1062 1063 description_available_columns: Available Columns
1063 1064 description_selected_columns: Selected Columns
1064 1065 description_all_columns: All Columns
1065 1066 description_issue_category_reassign: Choose issue category
1066 1067 description_wiki_subpages_reassign: Choose new parent page
1067 1068 description_date_range_list: Choose range from list
1068 1069 description_date_range_interval: Choose range by selecting start and end date
1069 1070 description_date_from: Enter start date
1070 1071 description_date_to: Enter end date
1071 1072 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,1088 +1,1089
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 month_names: [~, janvier, fΓ©vrier, mars, avril, mai, juin, juillet, aoΓ»t, septembre, octobre, novembre, dΓ©cembre]
19 19 abbr_month_names: [~, jan., fΓ©v., mar., avr., mai, juin, juil., aoΓ»t, sept., oct., nov., dΓ©c.]
20 20 order:
21 21 - :day
22 22 - :month
23 23 - :year
24 24
25 25 time:
26 26 formats:
27 27 default: "%d/%m/%Y %H:%M"
28 28 time: "%H:%M"
29 29 short: "%d %b %H:%M"
30 30 long: "%A %d %B %Y %H:%M:%S %Z"
31 31 long_ordinal: "%A %d %B %Y %H:%M:%S %Z"
32 32 only_second: "%S"
33 33 am: 'am'
34 34 pm: 'pm'
35 35
36 36 datetime:
37 37 distance_in_words:
38 38 half_a_minute: "30 secondes"
39 39 less_than_x_seconds:
40 40 zero: "moins d'une seconde"
41 41 one: "moins d'uneΒ seconde"
42 42 other: "moins de %{count}Β secondes"
43 43 x_seconds:
44 44 one: "1Β seconde"
45 45 other: "%{count}Β secondes"
46 46 less_than_x_minutes:
47 47 zero: "moins d'une minute"
48 48 one: "moins d'uneΒ minute"
49 49 other: "moins de %{count}Β minutes"
50 50 x_minutes:
51 51 one: "1Β minute"
52 52 other: "%{count}Β minutes"
53 53 about_x_hours:
54 54 one: "environ une heure"
55 55 other: "environ %{count}Β heures"
56 56 x_hours:
57 57 one: "une heure"
58 58 other: "%{count}Β heures"
59 59 x_days:
60 60 one: "unΒ jour"
61 61 other: "%{count}Β jours"
62 62 about_x_months:
63 63 one: "environ un mois"
64 64 other: "environ %{count}Β mois"
65 65 x_months:
66 66 one: "unΒ mois"
67 67 other: "%{count}Β mois"
68 68 about_x_years:
69 69 one: "environ un an"
70 70 other: "environ %{count}Β ans"
71 71 over_x_years:
72 72 one: "plus d'un an"
73 73 other: "plus de %{count}Β ans"
74 74 almost_x_years:
75 75 one: "presqu'un an"
76 76 other: "presque %{count} ans"
77 77 prompts:
78 78 year: "AnnΓ©e"
79 79 month: "Mois"
80 80 day: "Jour"
81 81 hour: "Heure"
82 82 minute: "Minute"
83 83 second: "Seconde"
84 84
85 85 number:
86 86 format:
87 87 precision: 3
88 88 separator: ','
89 89 delimiter: 'Β '
90 90 currency:
91 91 format:
92 92 unit: '€'
93 93 precision: 2
94 94 format: '%nΒ %u'
95 95 human:
96 96 format:
97 97 precision: 3
98 98 storage_units:
99 99 format: "%n %u"
100 100 units:
101 101 byte:
102 102 one: "octet"
103 103 other: "octet"
104 104 kb: "ko"
105 105 mb: "Mo"
106 106 gb: "Go"
107 107 tb: "To"
108 108
109 109 support:
110 110 array:
111 111 sentence_connector: 'et'
112 112 skip_last_comma: true
113 113 word_connector: ", "
114 114 two_words_connector: " et "
115 115 last_word_connector: " et "
116 116
117 117 activerecord:
118 118 errors:
119 119 template:
120 120 header:
121 121 one: "Impossible d'enregistrer %{model} : une erreur"
122 122 other: "Impossible d'enregistrer %{model} : %{count} erreurs."
123 123 body: "Veuillez vΓ©rifier les champs suivantsΒ :"
124 124 messages:
125 125 inclusion: "n'est pas inclus(e) dans la liste"
126 126 exclusion: "n'est pas disponible"
127 127 invalid: "n'est pas valide"
128 128 confirmation: "ne concorde pas avec la confirmation"
129 129 accepted: "doit Γͺtre acceptΓ©(e)"
130 130 empty: "doit Γͺtre renseignΓ©(e)"
131 131 blank: "doit Γͺtre renseignΓ©(e)"
132 132 too_long: "est trop long (pas plus de %{count} caractères)"
133 133 too_short: "est trop court (au moins %{count} caractères)"
134 134 wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
135 135 taken: "est dΓ©jΓ  utilisΓ©"
136 136 not_a_number: "n'est pas un nombre"
137 137 not_a_date: "n'est pas une date valide"
138 138 greater_than: "doit Γͺtre supΓ©rieur Γ  %{count}"
139 139 greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ  %{count}"
140 140 equal_to: "doit Γͺtre Γ©gal Γ  %{count}"
141 141 less_than: "doit Γͺtre infΓ©rieur Γ  %{count}"
142 142 less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ  %{count}"
143 143 odd: "doit Γͺtre impair"
144 144 even: "doit Γͺtre pair"
145 145 greater_than_start_date: "doit Γͺtre postΓ©rieure Γ  la date de dΓ©but"
146 146 not_same_project: "n'appartient pas au mΓͺme projet"
147 147 circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire"
148 148 cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ  l'une de ses sous-tΓ’ches"
149 149
150 150 actionview_instancetag_blank_option: Choisir
151 151
152 152 general_text_No: 'Non'
153 153 general_text_Yes: 'Oui'
154 154 general_text_no: 'non'
155 155 general_text_yes: 'oui'
156 156 general_lang_name: 'FranΓ§ais'
157 157 general_csv_separator: ';'
158 158 general_csv_decimal_separator: ','
159 159 general_csv_encoding: ISO-8859-1
160 160 general_pdf_encoding: UTF-8
161 161 general_first_day_of_week: '1'
162 162
163 163 notice_account_updated: Le compte a été mis à jour avec succès.
164 164 notice_account_invalid_creditentials: Identifiant ou mot de passe invalide.
165 165 notice_account_password_updated: Mot de passe mis à jour avec succès.
166 166 notice_account_wrong_password: Mot de passe incorrect
167 167 notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©.
168 168 notice_account_unknown_email: Aucun compte ne correspond Γ  cette adresse.
169 169 notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe.
170 170 notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©.
171 171 notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ  prΓ©sent vous connecter.
172 172 notice_successful_create: Création effectuée avec succès.
173 173 notice_successful_update: Mise à jour effectuée avec succès.
174 174 notice_successful_delete: Suppression effectuée avec succès.
175 175 notice_successful_connection: Connexion rΓ©ussie.
176 176 notice_file_not_found: "La page Γ  laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e."
177 177 notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ  jour par un autre utilisateur. Mise Γ  jour impossible.
178 178 notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ  accΓ©der Γ  cette page."
179 179 notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©.
180 180 notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ  %{value}"
181 181 notice_email_error: "Erreur lors de l'envoi de l'email (%{value})"
182 182 notice_feeds_access_key_reseted: "Votre clé d'accès aux flux RSS a été réinitialisée."
183 183 notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ  jour : %{ids}."
184 184 notice_failed_to_save_time_entries: "%{count} temps passΓ©(s) sur les %{total} sΓ©lectionnΓ©s n'ont pas pu Γͺtre mis Γ  jour: %{ids}."
185 185 notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ  jour."
186 186 notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur."
187 187 notice_default_data_loaded: Paramétrage par défaut chargé avec succès.
188 188 notice_unable_delete_version: Impossible de supprimer cette version.
189 189 notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ  jour.
190 190 notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée.
191 191 notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})"
192 192 notice_issue_successful_create: "Demande %{id} créée."
193 193 notice_issue_update_conflict: "La demande a Γ©tΓ© mise Γ  jour par un autre utilisateur pendant que vous la modifiez."
194 194 notice_account_deleted: "Votre compte a Γ©tΓ© dΓ©finitivement supprimΓ©."
195 195 notice_user_successful_create: "Utilisateur %{id} créé."
196 196
197 197 error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}"
198 198 error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t."
199 199 error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}"
200 200 error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e."
201 201 error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ  ce projet"
202 202 error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ  une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte'
203 203 error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©"
204 204 error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source'
205 205 error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles'
206 206 error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ  jour.
207 207 error_attachment_too_big: Ce fichier ne peut pas Γͺtre attachΓ© car il excΓ¨de la taille maximale autorisΓ©e (%{max_size})
208 208 error_session_expired: "Votre session a expirΓ©. Veuillez vous reconnecter."
209 209
210 210 warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s."
211 211
212 212 mail_subject_lost_password: "Votre mot de passe %{value}"
213 213 mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :'
214 214 mail_subject_register: "Activation de votre compte %{value}"
215 215 mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :'
216 216 mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter."
217 217 mail_body_account_information: Paramètres de connexion de votre compte
218 218 mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}"
219 219 mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :"
220 220 mail_subject_reminder: "%{count} demande(s) arrivent Γ  Γ©chΓ©ance (%{days})"
221 221 mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ  Γ©chΓ©ance dans les %{days} prochains jours :"
222 222 mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e"
223 223 mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}."
224 224 mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ  jour"
225 225 mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ  jour par %{author}."
226 226
227 227 gui_validation_error: 1 erreur
228 228 gui_validation_error_plural: "%{count} erreurs"
229 229
230 230 field_name: Nom
231 231 field_description: Description
232 232 field_summary: RΓ©sumΓ©
233 233 field_is_required: Obligatoire
234 234 field_firstname: PrΓ©nom
235 235 field_lastname: Nom
236 236 field_mail: "Email "
237 237 field_filename: Fichier
238 238 field_filesize: Taille
239 239 field_downloads: TΓ©lΓ©chargements
240 240 field_author: Auteur
241 241 field_created_on: "Créé "
242 242 field_updated_on: "Mis-Γ -jour "
243 243 field_field_format: Format
244 244 field_is_for_all: Pour tous les projets
245 245 field_possible_values: Valeurs possibles
246 246 field_regexp: Expression régulière
247 247 field_min_length: Longueur minimum
248 248 field_max_length: Longueur maximum
249 249 field_value: Valeur
250 250 field_category: CatΓ©gorie
251 251 field_title: Titre
252 252 field_project: Projet
253 253 field_issue: Demande
254 254 field_status: Statut
255 255 field_notes: Notes
256 256 field_is_closed: Demande fermΓ©e
257 257 field_is_default: Valeur par dΓ©faut
258 258 field_tracker: Tracker
259 259 field_subject: Sujet
260 260 field_due_date: EchΓ©ance
261 261 field_assigned_to: AssignΓ© Γ 
262 262 field_priority: PrioritΓ©
263 263 field_fixed_version: Version cible
264 264 field_user: Utilisateur
265 265 field_role: RΓ΄le
266 266 field_homepage: "Site web "
267 267 field_is_public: Public
268 268 field_parent: Sous-projet de
269 269 field_is_in_roadmap: Demandes affichΓ©es dans la roadmap
270 270 field_login: "Identifiant "
271 271 field_mail_notification: Notifications par mail
272 272 field_admin: Administrateur
273 273 field_last_login_on: "Dernière connexion "
274 274 field_language: Langue
275 275 field_effective_date: Date
276 276 field_password: Mot de passe
277 277 field_new_password: Nouveau mot de passe
278 278 field_password_confirmation: Confirmation
279 279 field_version: Version
280 280 field_type: Type
281 281 field_host: HΓ΄te
282 282 field_port: Port
283 283 field_account: Compte
284 284 field_base_dn: Base DN
285 285 field_attr_login: Attribut Identifiant
286 286 field_attr_firstname: Attribut PrΓ©nom
287 287 field_attr_lastname: Attribut Nom
288 288 field_attr_mail: Attribut Email
289 289 field_onthefly: CrΓ©ation des utilisateurs Γ  la volΓ©e
290 290 field_start_date: DΓ©but
291 291 field_done_ratio: "% rΓ©alisΓ©"
292 292 field_auth_source: Mode d'authentification
293 293 field_hide_mail: Cacher mon adresse mail
294 294 field_comments: Commentaire
295 295 field_url: URL
296 296 field_start_page: Page de dΓ©marrage
297 297 field_subproject: Sous-projet
298 298 field_hours: Heures
299 299 field_activity: ActivitΓ©
300 300 field_spent_on: Date
301 301 field_identifier: Identifiant
302 302 field_is_filter: UtilisΓ© comme filtre
303 303 field_issue_to: Demande liΓ©e
304 304 field_delay: Retard
305 305 field_assignable: Demandes assignables Γ  ce rΓ΄le
306 306 field_redirect_existing_links: Rediriger les liens existants
307 307 field_estimated_hours: Temps estimΓ©
308 308 field_column_names: Colonnes
309 309 field_time_zone: Fuseau horaire
310 310 field_searchable: UtilisΓ© pour les recherches
311 311 field_default_value: Valeur par dΓ©faut
312 312 field_comments_sorting: Afficher les commentaires
313 313 field_parent_title: Page parent
314 314 field_editable: Modifiable
315 315 field_watcher: Observateur
316 316 field_identity_url: URL OpenID
317 317 field_content: Contenu
318 318 field_group_by: Grouper par
319 319 field_sharing: Partage
320 320 field_active: Actif
321 321 field_parent_issue: TΓ’che parente
322 322 field_visible: Visible
323 323 field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©"
324 324 field_issues_visibility: VisibilitΓ© des demandes
325 325 field_is_private: PrivΓ©e
326 326 field_commit_logs_encoding: Encodage des messages de commit
327 327 field_repository_is_default: DΓ©pΓ΄t principal
328 328 field_multiple: Valeurs multiples
329 329 field_auth_source_ldap_filter: Filtre LDAP
330 330 field_core_fields: Champs standards
331 331 field_timeout: "Timeout (en secondes)"
332 332 field_board_parent: Forum parent
333 333 field_private_notes: Notes privΓ©es
334 334
335 335 setting_app_title: Titre de l'application
336 336 setting_app_subtitle: Sous-titre de l'application
337 337 setting_welcome_text: Texte d'accueil
338 338 setting_default_language: Langue par dΓ©faut
339 339 setting_login_required: Authentification obligatoire
340 340 setting_self_registration: Inscription des nouveaux utilisateurs
341 341 setting_attachment_max_size: Taille maximale des fichiers
342 342 setting_issues_export_limit: Limite d'exportation des demandes
343 343 setting_mail_from: Adresse d'Γ©mission
344 344 setting_bcc_recipients: Destinataires en copie cachΓ©e (cci)
345 345 setting_plain_text_mail: Mail en texte brut (non HTML)
346 346 setting_host_name: Nom d'hΓ΄te et chemin
347 347 setting_text_formatting: Formatage du texte
348 348 setting_wiki_compression: Compression de l'historique des pages wiki
349 349 setting_feeds_limit: Nombre maximal d'Γ©lΓ©ments dans les flux Atom
350 350 setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut
351 351 setting_autofetch_changesets: RΓ©cupΓ©ration automatique des commits
352 352 setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts
353 353 setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement
354 354 setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution
355 355 setting_autologin: DurΓ©e maximale de connexion automatique
356 356 setting_date_format: Format de date
357 357 setting_time_format: Format d'heure
358 358 setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets
359 359 setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes
360 360 setting_emails_footer: Pied-de-page des emails
361 361 setting_protocol: Protocole
362 362 setting_per_page_options: Options d'objets affichΓ©s par page
363 363 setting_user_format: Format d'affichage des utilisateurs
364 364 setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets
365 365 setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux
366 366 setting_enabled_scm: SCM activΓ©s
367 367 setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes"
368 368 setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails"
369 369 setting_mail_handler_api_key: ClΓ© de protection de l'API
370 370 setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels
371 371 setting_gravatar_enabled: Afficher les Gravatar des utilisateurs
372 372 setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es
373 373 setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne
374 374 setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier"
375 375 setting_openid: "Autoriser l'authentification et l'enregistrement OpenID"
376 376 setting_password_min_length: Longueur minimum des mots de passe
377 377 setting_new_project_user_role_id: RΓ΄le donnΓ© Γ  un utilisateur non-administrateur qui crΓ©e un projet
378 378 setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets
379 379 setting_issue_done_ratio: Calcul de l'avancement des demandes
380 380 setting_issue_done_ratio_issue_status: Utiliser le statut
381 381 setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©'
382 382 setting_rest_api_enabled: Activer l'API REST
383 383 setting_gravatar_default: Image Gravatar par dΓ©faut
384 384 setting_start_of_week: Jour de dΓ©but des calendriers
385 385 setting_cache_formatted_text: Mettre en cache le texte formatΓ©
386 386 setting_commit_logtime_enabled: Permettre la saisie de temps
387 387 setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi
388 388 setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt
389 389 setting_issue_group_assignment: Permettre l'assignement des demandes aux groupes
390 390 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
391 391 setting_commit_cross_project_ref: Permettre le rΓ©fΓ©rencement et la rΓ©solution des demandes de tous les autres projets
392 392 setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte
393 393 setting_session_lifetime: DurΓ©e de vie maximale des sessions
394 394 setting_session_timeout: DurΓ©e maximale d'inactivitΓ©
395 395 setting_thumbnails_enabled: Afficher les vignettes des images
396 396 setting_thumbnails_size: Taille des vignettes (en pixels)
397 397
398 398 permission_add_project: CrΓ©er un projet
399 399 permission_add_subprojects: CrΓ©er des sous-projets
400 400 permission_edit_project: Modifier le projet
401 401 permission_close_project: Fermer / rΓ©ouvrir le projet
402 402 permission_select_project_modules: Choisir les modules
403 403 permission_manage_members: GΓ©rer les membres
404 404 permission_manage_versions: GΓ©rer les versions
405 405 permission_manage_categories: GΓ©rer les catΓ©gories de demandes
406 406 permission_view_issues: Voir les demandes
407 407 permission_add_issues: CrΓ©er des demandes
408 408 permission_edit_issues: Modifier les demandes
409 409 permission_manage_issue_relations: GΓ©rer les relations
410 410 permission_set_issues_private: Rendre les demandes publiques ou privΓ©es
411 411 permission_set_own_issues_private: Rendre ses propres demandes publiques ou privΓ©es
412 412 permission_add_issue_notes: Ajouter des notes
413 413 permission_edit_issue_notes: Modifier les notes
414 414 permission_edit_own_issue_notes: Modifier ses propres notes
415 415 permission_view_private_notes: Voir les notes privΓ©es
416 416 permission_set_notes_private: Rendre les notes privΓ©es
417 417 permission_move_issues: DΓ©placer les demandes
418 418 permission_delete_issues: Supprimer les demandes
419 419 permission_manage_public_queries: GΓ©rer les requΓͺtes publiques
420 420 permission_save_queries: Sauvegarder les requΓͺtes
421 421 permission_view_gantt: Voir le gantt
422 422 permission_view_calendar: Voir le calendrier
423 423 permission_view_issue_watchers: Voir la liste des observateurs
424 424 permission_add_issue_watchers: Ajouter des observateurs
425 425 permission_delete_issue_watchers: Supprimer des observateurs
426 426 permission_log_time: Saisir le temps passΓ©
427 427 permission_view_time_entries: Voir le temps passΓ©
428 428 permission_edit_time_entries: Modifier les temps passΓ©s
429 429 permission_edit_own_time_entries: Modifier son propre temps passΓ©
430 430 permission_manage_news: GΓ©rer les annonces
431 431 permission_comment_news: Commenter les annonces
432 432 permission_manage_documents: GΓ©rer les documents
433 433 permission_view_documents: Voir les documents
434 434 permission_manage_files: GΓ©rer les fichiers
435 435 permission_view_files: Voir les fichiers
436 436 permission_manage_wiki: GΓ©rer le wiki
437 437 permission_rename_wiki_pages: Renommer les pages
438 438 permission_delete_wiki_pages: Supprimer les pages
439 439 permission_view_wiki_pages: Voir le wiki
440 440 permission_view_wiki_edits: "Voir l'historique des modifications"
441 441 permission_edit_wiki_pages: Modifier les pages
442 442 permission_delete_wiki_pages_attachments: Supprimer les fichiers joints
443 443 permission_protect_wiki_pages: ProtΓ©ger les pages
444 444 permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources
445 445 permission_browse_repository: Parcourir les sources
446 446 permission_view_changesets: Voir les rΓ©visions
447 447 permission_commit_access: Droit de commit
448 448 permission_manage_boards: GΓ©rer les forums
449 449 permission_view_messages: Voir les messages
450 450 permission_add_messages: Poster un message
451 451 permission_edit_messages: Modifier les messages
452 452 permission_edit_own_messages: Modifier ses propres messages
453 453 permission_delete_messages: Supprimer les messages
454 454 permission_delete_own_messages: Supprimer ses propres messages
455 455 permission_export_wiki_pages: Exporter les pages
456 456 permission_manage_project_activities: GΓ©rer les activitΓ©s
457 457 permission_manage_subtasks: GΓ©rer les sous-tΓ’ches
458 458 permission_manage_related_issues: GΓ©rer les demandes associΓ©es
459 459
460 460 project_module_issue_tracking: Suivi des demandes
461 461 project_module_time_tracking: Suivi du temps passΓ©
462 462 project_module_news: Publication d'annonces
463 463 project_module_documents: Publication de documents
464 464 project_module_files: Publication de fichiers
465 465 project_module_wiki: Wiki
466 466 project_module_repository: DΓ©pΓ΄t de sources
467 467 project_module_boards: Forums de discussion
468 468
469 469 label_user: Utilisateur
470 470 label_user_plural: Utilisateurs
471 471 label_user_new: Nouvel utilisateur
472 472 label_user_anonymous: Anonyme
473 473 label_project: Projet
474 474 label_project_new: Nouveau projet
475 475 label_project_plural: Projets
476 476 label_x_projects:
477 477 zero: aucun projet
478 478 one: un projet
479 479 other: "%{count} projets"
480 480 label_project_all: Tous les projets
481 481 label_project_latest: Derniers projets
482 482 label_issue: Demande
483 483 label_issue_new: Nouvelle demande
484 484 label_issue_plural: Demandes
485 485 label_issue_view_all: Voir toutes les demandes
486 486 label_issue_added: Demande ajoutΓ©e
487 487 label_issue_updated: Demande mise Γ  jour
488 488 label_issue_note_added: Note ajoutΓ©e
489 489 label_issue_status_updated: Statut changΓ©
490 490 label_issue_priority_updated: PrioritΓ© changΓ©e
491 491 label_issues_by: "Demandes par %{value}"
492 492 label_document: Document
493 493 label_document_new: Nouveau document
494 494 label_document_plural: Documents
495 495 label_document_added: Document ajoutΓ©
496 496 label_role: RΓ΄le
497 497 label_role_plural: RΓ΄les
498 498 label_role_new: Nouveau rΓ΄le
499 499 label_role_and_permissions: RΓ΄les et permissions
500 500 label_role_anonymous: Anonyme
501 501 label_role_non_member: Non membre
502 502 label_member: Membre
503 503 label_member_new: Nouveau membre
504 504 label_member_plural: Membres
505 505 label_tracker: Tracker
506 506 label_tracker_plural: Trackers
507 507 label_tracker_new: Nouveau tracker
508 508 label_workflow: Workflow
509 509 label_issue_status: Statut de demandes
510 510 label_issue_status_plural: Statuts de demandes
511 511 label_issue_status_new: Nouveau statut
512 512 label_issue_category: CatΓ©gorie de demandes
513 513 label_issue_category_plural: CatΓ©gories de demandes
514 514 label_issue_category_new: Nouvelle catΓ©gorie
515 515 label_custom_field: Champ personnalisΓ©
516 516 label_custom_field_plural: Champs personnalisΓ©s
517 517 label_custom_field_new: Nouveau champ personnalisΓ©
518 518 label_enumerations: Listes de valeurs
519 519 label_enumeration_new: Nouvelle valeur
520 520 label_information: Information
521 521 label_information_plural: Informations
522 522 label_please_login: Identification
523 523 label_register: S'enregistrer
524 524 label_login_with_open_id_option: S'authentifier avec OpenID
525 525 label_password_lost: Mot de passe perdu
526 526 label_home: Accueil
527 527 label_my_page: Ma page
528 528 label_my_account: Mon compte
529 529 label_my_projects: Mes projets
530 530 label_my_page_block: Blocs disponibles
531 531 label_administration: Administration
532 532 label_login: Connexion
533 533 label_logout: DΓ©connexion
534 534 label_help: Aide
535 535 label_reported_issues: "Demandes soumises "
536 536 label_assigned_to_me_issues: Demandes qui me sont assignΓ©es
537 537 label_last_login: "Dernière connexion "
538 538 label_registered_on: "Inscrit le "
539 539 label_activity: ActivitΓ©
540 540 label_overall_activity: ActivitΓ© globale
541 541 label_user_activity: "ActivitΓ© de %{value}"
542 542 label_new: Nouveau
543 543 label_logged_as: ConnectΓ© en tant que
544 544 label_environment: Environnement
545 545 label_authentication: Authentification
546 546 label_auth_source: Mode d'authentification
547 547 label_auth_source_new: Nouveau mode d'authentification
548 548 label_auth_source_plural: Modes d'authentification
549 549 label_subproject_plural: Sous-projets
550 550 label_subproject_new: Nouveau sous-projet
551 551 label_and_its_subprojects: "%{value} et ses sous-projets"
552 552 label_min_max_length: Longueurs mini - maxi
553 553 label_list: Liste
554 554 label_date: Date
555 555 label_integer: Entier
556 556 label_float: Nombre dΓ©cimal
557 557 label_boolean: BoolΓ©en
558 558 label_string: Texte
559 559 label_text: Texte long
560 560 label_attribute: Attribut
561 561 label_attribute_plural: Attributs
562 562 label_download: "%{count} tΓ©lΓ©chargement"
563 563 label_download_plural: "%{count} tΓ©lΓ©chargements"
564 564 label_no_data: Aucune donnΓ©e Γ  afficher
565 565 label_change_status: Changer le statut
566 566 label_history: Historique
567 567 label_attachment: Fichier
568 568 label_attachment_new: Nouveau fichier
569 569 label_attachment_delete: Supprimer le fichier
570 570 label_attachment_plural: Fichiers
571 571 label_file_added: Fichier ajoutΓ©
572 572 label_report: Rapport
573 573 label_report_plural: Rapports
574 574 label_news: Annonce
575 575 label_news_new: Nouvelle annonce
576 576 label_news_plural: Annonces
577 577 label_news_latest: Dernières annonces
578 578 label_news_view_all: Voir toutes les annonces
579 579 label_news_added: Annonce ajoutΓ©e
580 580 label_news_comment_added: Commentaire ajoutΓ© Γ  une annonce
581 581 label_settings: Configuration
582 582 label_overview: AperΓ§u
583 583 label_version: Version
584 584 label_version_new: Nouvelle version
585 585 label_version_plural: Versions
586 586 label_confirmation: Confirmation
587 587 label_export_to: 'Formats disponibles :'
588 588 label_read: Lire...
589 589 label_public_projects: Projets publics
590 590 label_open_issues: ouvert
591 591 label_open_issues_plural: ouverts
592 592 label_closed_issues: fermΓ©
593 593 label_closed_issues_plural: fermΓ©s
594 594 label_x_open_issues_abbr_on_total:
595 595 zero: 0 ouverte sur %{total}
596 596 one: 1 ouverte sur %{total}
597 597 other: "%{count} ouvertes sur %{total}"
598 598 label_x_open_issues_abbr:
599 599 zero: 0 ouverte
600 600 one: 1 ouverte
601 601 other: "%{count} ouvertes"
602 602 label_x_closed_issues_abbr:
603 603 zero: 0 fermΓ©e
604 604 one: 1 fermΓ©e
605 605 other: "%{count} fermΓ©es"
606 606 label_x_issues:
607 607 zero: 0 demande
608 608 one: 1 demande
609 609 other: "%{count} demandes"
610 610 label_total: Total
611 611 label_permissions: Permissions
612 612 label_current_status: Statut actuel
613 613 label_new_statuses_allowed: Nouveaux statuts autorisΓ©s
614 614 label_all: tous
615 615 label_any: tous
616 616 label_none: aucun
617 617 label_nobody: personne
618 618 label_next: Suivant
619 619 label_previous: PrΓ©cΓ©dent
620 620 label_used_by: UtilisΓ© par
621 621 label_details: DΓ©tails
622 622 label_add_note: Ajouter une note
623 623 label_per_page: Par page
624 624 label_calendar: Calendrier
625 625 label_months_from: mois depuis
626 626 label_gantt: Gantt
627 627 label_internal: Interne
628 628 label_last_changes: "%{count} derniers changements"
629 629 label_change_view_all: Voir tous les changements
630 630 label_personalize_page: Personnaliser cette page
631 631 label_comment: Commentaire
632 632 label_comment_plural: Commentaires
633 633 label_x_comments:
634 634 zero: aucun commentaire
635 635 one: un commentaire
636 636 other: "%{count} commentaires"
637 637 label_comment_add: Ajouter un commentaire
638 638 label_comment_added: Commentaire ajoutΓ©
639 639 label_comment_delete: Supprimer les commentaires
640 640 label_query: Rapport personnalisΓ©
641 641 label_query_plural: Rapports personnalisΓ©s
642 642 label_query_new: Nouveau rapport
643 643 label_my_queries: Mes rapports personnalisΓ©s
644 644 label_filter_add: "Ajouter le filtre "
645 645 label_filter_plural: Filtres
646 646 label_equals: Γ©gal
647 647 label_not_equals: diffΓ©rent
648 648 label_in_less_than: dans moins de
649 649 label_in_more_than: dans plus de
650 650 label_in: dans
651 651 label_today: aujourd'hui
652 652 label_all_time: toute la pΓ©riode
653 653 label_yesterday: hier
654 654 label_this_week: cette semaine
655 655 label_last_week: la semaine dernière
656 label_last_n_weeks: "les %{count} dernières semaines"
656 657 label_last_n_days: "les %{count} derniers jours"
657 658 label_this_month: ce mois-ci
658 659 label_last_month: le mois dernier
659 660 label_this_year: cette annΓ©e
660 661 label_date_range: PΓ©riode
661 662 label_less_than_ago: il y a moins de
662 663 label_more_than_ago: il y a plus de
663 664 label_ago: il y a
664 665 label_contains: contient
665 666 label_not_contains: ne contient pas
666 667 label_any_issues_in_project: une demande du projet
667 668 label_any_issues_not_in_project: une demande hors du projet
668 669 label_no_issues_in_project: aucune demande du projet
669 670 label_day_plural: jours
670 671 label_repository: DΓ©pΓ΄t
671 672 label_repository_new: Nouveau dΓ©pΓ΄t
672 673 label_repository_plural: DΓ©pΓ΄ts
673 674 label_browse: Parcourir
674 675 label_modification: "%{count} modification"
675 676 label_modification_plural: "%{count} modifications"
676 677 label_revision: "RΓ©vision "
677 678 label_revision_plural: RΓ©visions
678 679 label_associated_revisions: RΓ©visions associΓ©es
679 680 label_added: ajoutΓ©
680 681 label_modified: modifiΓ©
681 682 label_copied: copiΓ©
682 683 label_renamed: renommΓ©
683 684 label_deleted: supprimΓ©
684 685 label_latest_revision: Dernière révision
685 686 label_latest_revision_plural: Dernières révisions
686 687 label_view_revisions: Voir les rΓ©visions
687 688 label_max_size: Taille maximale
688 689 label_sort_highest: Remonter en premier
689 690 label_sort_higher: Remonter
690 691 label_sort_lower: Descendre
691 692 label_sort_lowest: Descendre en dernier
692 693 label_roadmap: Roadmap
693 694 label_roadmap_due_in: "Γ‰chΓ©ance dans %{value}"
694 695 label_roadmap_overdue: "En retard de %{value}"
695 696 label_roadmap_no_issues: Aucune demande pour cette version
696 697 label_search: "Recherche "
697 698 label_result_plural: RΓ©sultats
698 699 label_all_words: Tous les mots
699 700 label_wiki: Wiki
700 701 label_wiki_edit: RΓ©vision wiki
701 702 label_wiki_edit_plural: RΓ©visions wiki
702 703 label_wiki_page: Page wiki
703 704 label_wiki_page_plural: Pages wiki
704 705 label_index_by_title: Index par titre
705 706 label_index_by_date: Index par date
706 707 label_current_version: Version actuelle
707 708 label_preview: PrΓ©visualisation
708 709 label_feed_plural: Flux RSS
709 710 label_changes_details: DΓ©tails de tous les changements
710 711 label_issue_tracking: Suivi des demandes
711 712 label_spent_time: Temps passΓ©
712 713 label_f_hour: "%{value} heure"
713 714 label_f_hour_plural: "%{value} heures"
714 715 label_time_tracking: Suivi du temps
715 716 label_change_plural: Changements
716 717 label_statistics: Statistiques
717 718 label_commits_per_month: Commits par mois
718 719 label_commits_per_author: Commits par auteur
719 720 label_view_diff: Voir les diffΓ©rences
720 721 label_diff_inline: en ligne
721 722 label_diff_side_by_side: cΓ΄te Γ  cΓ΄te
722 723 label_options: Options
723 724 label_copy_workflow_from: Copier le workflow de
724 725 label_permissions_report: Synthèse des permissions
725 726 label_watched_issues: Demandes surveillΓ©es
726 727 label_related_issues: Demandes liΓ©es
727 728 label_applied_status: Statut appliquΓ©
728 729 label_loading: Chargement...
729 730 label_relation_new: Nouvelle relation
730 731 label_relation_delete: Supprimer la relation
731 732 label_relates_to: LiΓ© Γ 
732 733 label_duplicates: Duplique
733 734 label_duplicated_by: DupliquΓ© par
734 735 label_blocks: Bloque
735 736 label_blocked_by: BloquΓ© par
736 737 label_precedes: Précède
737 738 label_follows: Suit
738 739 label_copied_to: CopiΓ© vers
739 740 label_copied_from: CopiΓ© depuis
740 741 label_end_to_start: fin Γ  dΓ©but
741 742 label_end_to_end: fin Γ  fin
742 743 label_start_to_start: dΓ©but Γ  dΓ©but
743 744 label_start_to_end: dΓ©but Γ  fin
744 745 label_stay_logged_in: Rester connectΓ©
745 746 label_disabled: dΓ©sactivΓ©
746 747 label_show_completed_versions: Voir les versions passΓ©es
747 748 label_me: moi
748 749 label_board: Forum
749 750 label_board_new: Nouveau forum
750 751 label_board_plural: Forums
751 752 label_topic_plural: Discussions
752 753 label_message_plural: Messages
753 754 label_message_last: Dernier message
754 755 label_message_new: Nouveau message
755 756 label_message_posted: Message ajoutΓ©
756 757 label_reply_plural: RΓ©ponses
757 758 label_send_information: Envoyer les informations Γ  l'utilisateur
758 759 label_year: AnnΓ©e
759 760 label_month: Mois
760 761 label_week: Semaine
761 762 label_date_from: Du
762 763 label_date_to: Au
763 764 label_language_based: BasΓ© sur la langue de l'utilisateur
764 765 label_sort_by: "Trier par %{value}"
765 766 label_send_test_email: Envoyer un email de test
766 767 label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a %{value}"
767 768 label_module_plural: Modules
768 769 label_added_time_by: "AjoutΓ© par %{author} il y a %{age}"
769 770 label_updated_time_by: "Mis Γ  jour par %{author} il y a %{age}"
770 771 label_updated_time: "Mis Γ  jour il y a %{value}"
771 772 label_jump_to_a_project: Aller Γ  un projet...
772 773 label_file_plural: Fichiers
773 774 label_changeset_plural: RΓ©visions
774 775 label_default_columns: Colonnes par dΓ©faut
775 776 label_no_change_option: (Pas de changement)
776 777 label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es
777 778 label_theme: Thème
778 779 label_default: DΓ©faut
779 780 label_search_titles_only: Uniquement dans les titres
780 781 label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets"
781 782 label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..."
782 783 label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue"
783 784 label_registration_activation_by_email: activation du compte par email
784 785 label_registration_manual_activation: activation manuelle du compte
785 786 label_registration_automatic_activation: activation automatique du compte
786 787 label_display_per_page: "Par page : %{value}"
787 788 label_age: Γ‚ge
788 789 label_change_properties: Changer les propriΓ©tΓ©s
789 790 label_general: GΓ©nΓ©ral
790 791 label_more: Plus
791 792 label_scm: SCM
792 793 label_plugins: Plugins
793 794 label_ldap_authentication: Authentification LDAP
794 795 label_downloads_abbr: D/L
795 796 label_optional_description: Description facultative
796 797 label_add_another_file: Ajouter un autre fichier
797 798 label_preferences: PrΓ©fΓ©rences
798 799 label_chronological_order: Dans l'ordre chronologique
799 800 label_reverse_chronological_order: Dans l'ordre chronologique inverse
800 801 label_planning: Planning
801 802 label_incoming_emails: Emails entrants
802 803 label_generate_key: GΓ©nΓ©rer une clΓ©
803 804 label_issue_watchers: Observateurs
804 805 label_example: Exemple
805 806 label_display: Affichage
806 807 label_sort: Tri
807 808 label_ascending: Croissant
808 809 label_descending: DΓ©croissant
809 810 label_date_from_to: Du %{start} au %{end}
810 811 label_wiki_content_added: Page wiki ajoutΓ©e
811 812 label_wiki_content_updated: Page wiki mise Γ  jour
812 813 label_group_plural: Groupes
813 814 label_group: Groupe
814 815 label_group_new: Nouveau groupe
815 816 label_time_entry_plural: Temps passΓ©
816 817 label_version_sharing_none: Non partagΓ©
817 818 label_version_sharing_descendants: Avec les sous-projets
818 819 label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie
819 820 label_version_sharing_tree: Avec tout l'arbre
820 821 label_version_sharing_system: Avec tous les projets
821 822 label_copy_source: Source
822 823 label_copy_target: Cible
823 824 label_copy_same_as_target: Comme la cible
824 825 label_update_issue_done_ratios: Mettre Γ  jour l'avancement des demandes
825 826 label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker
826 827 label_api_access_key: Clé d'accès API
827 828 label_api_access_key_created_on: Clé d'accès API créée il y a %{value}
828 829 label_feeds_access_key: Clé d'accès RSS
829 830 label_missing_api_access_key: Clé d'accès API manquante
830 831 label_missing_feeds_access_key: Clé d'accès RSS manquante
831 832 label_close_versions: Fermer les versions terminΓ©es
832 833 label_revision_id: RΓ©vision %{value}
833 834 label_profile: Profil
834 835 label_subtask_plural: Sous-tΓ’ches
835 836 label_project_copy_notifications: Envoyer les notifications durant la copie du projet
836 837 label_principal_search: "Rechercher un utilisateur ou un groupe :"
837 838 label_user_search: "Rechercher un utilisateur :"
838 839 label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande
839 840 label_additional_workflow_transitions_for_assignee: Autorisations supplΓ©mentaires lorsque la demande est assignΓ©e Γ  l'utilisateur
840 841 label_issues_visibility_all: Toutes les demandes
841 842 label_issues_visibility_public: Toutes les demandes non privΓ©es
842 843 label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur
843 844 label_export_options: Options d'exportation %{export_format}
844 845 label_copy_attachments: Copier les fichiers
845 846 label_copy_subtasks: Copier les sous-tΓ’ches
846 847 label_item_position: "%{position} sur %{count}"
847 848 label_completed_versions: Versions passΓ©es
848 849 label_session_expiration: Expiration des sessions
849 850 label_show_closed_projects: Voir les projets fermΓ©s
850 851 label_status_transitions: Changements de statut
851 852 label_fields_permissions: Permissions sur les champs
852 853 label_readonly: Lecture
853 854 label_required: Obligatoire
854 855 label_attribute_of_project: "%{name} du projet"
855 856 label_attribute_of_author: "%{name} de l'auteur"
856 857 label_attribute_of_assigned_to: "%{name} de l'assignΓ©"
857 858 label_attribute_of_fixed_version: "%{name} de la version cible"
858 859
859 860 button_login: Connexion
860 861 button_submit: Soumettre
861 862 button_save: Sauvegarder
862 863 button_check_all: Tout cocher
863 864 button_uncheck_all: Tout dΓ©cocher
864 865 button_collapse_all: Plier tout
865 866 button_expand_all: DΓ©plier tout
866 867 button_delete: Supprimer
867 868 button_create: CrΓ©er
868 869 button_create_and_continue: CrΓ©er et continuer
869 870 button_test: Tester
870 871 button_edit: Modifier
871 872 button_add: Ajouter
872 873 button_change: Changer
873 874 button_apply: Appliquer
874 875 button_clear: Effacer
875 876 button_lock: Verrouiller
876 877 button_unlock: DΓ©verrouiller
877 878 button_download: TΓ©lΓ©charger
878 879 button_list: Lister
879 880 button_view: Voir
880 881 button_move: DΓ©placer
881 882 button_move_and_follow: DΓ©placer et suivre
882 883 button_back: Retour
883 884 button_cancel: Annuler
884 885 button_activate: Activer
885 886 button_sort: Trier
886 887 button_log_time: Saisir temps
887 888 button_rollback: Revenir Γ  cette version
888 889 button_watch: Surveiller
889 890 button_unwatch: Ne plus surveiller
890 891 button_reply: RΓ©pondre
891 892 button_archive: Archiver
892 893 button_unarchive: DΓ©sarchiver
893 894 button_reset: RΓ©initialiser
894 895 button_rename: Renommer
895 896 button_change_password: Changer de mot de passe
896 897 button_copy: Copier
897 898 button_copy_and_follow: Copier et suivre
898 899 button_annotate: Annoter
899 900 button_update: Mettre Γ  jour
900 901 button_configure: Configurer
901 902 button_quote: Citer
902 903 button_duplicate: Dupliquer
903 904 button_show: Afficher
904 905 button_edit_section: Modifier cette section
905 906 button_export: Exporter
906 907 button_delete_my_account: Supprimer mon compte
907 908 button_close: Fermer
908 909 button_reopen: RΓ©ouvrir
909 910
910 911 status_active: actif
911 912 status_registered: enregistrΓ©
912 913 status_locked: verrouillΓ©
913 914
914 915 project_status_active: actif
915 916 project_status_closed: fermΓ©
916 917 project_status_archived: archivΓ©
917 918
918 919 version_status_open: ouvert
919 920 version_status_locked: verrouillΓ©
920 921 version_status_closed: fermΓ©
921 922
922 923 text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e
923 924 text_regexp_info: ex. ^[A-Z0-9]+$
924 925 text_min_max_length_info: 0 pour aucune restriction
925 926 text_project_destroy_confirmation: Êtes-vous sûr de vouloir supprimer ce projet et toutes ses données ?
926 927 text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s."
927 928 text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow
928 929 text_are_you_sure: Êtes-vous sûr ?
929 930 text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour
930 931 text_tip_issue_end_day: tΓ’che finissant ce jour
931 932 text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour
932 933 text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et underscore sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.'
933 934 text_caracters_maximum: "%{count} caractères maximum."
934 935 text_caracters_minimum: "%{count} caractères minimum."
935 936 text_length_between: "Longueur comprise entre %{min} et %{max} caractères."
936 937 text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker
937 938 text_unallowed_characters: Caractères non autorisés
938 939 text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules).
939 940 text_line_separated: Plusieurs valeurs possibles (une valeur par ligne).
940 941 text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits
941 942 text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}."
942 943 text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ  jour par %{author}."
943 944 text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ?
944 945 text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ  cette catΓ©gorie. Que voulez-vous faire ?"
945 946 text_issue_category_destroy_assignments: N'affecter les demandes Γ  aucune autre catΓ©gorie
946 947 text_issue_category_reassign_to: RΓ©affecter les demandes Γ  cette catΓ©gorie
947 948 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)."
948 949 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Γ©."
949 950 text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut
950 951 text_status_changed_by_changeset: "AppliquΓ© par commit %{value}."
951 952 text_time_logged_by_changeset: "AppliquΓ© par commit %{value}"
952 953 text_issues_destroy_confirmation: 'Êtes-vous sûr de vouloir supprimer la ou les demandes(s) selectionnée(s) ?'
953 954 text_issues_destroy_descendants_confirmation: "Cela entrainera Γ©galement la suppression de %{count} sous-tΓ’che(s)."
954 955 text_select_project_modules: 'SΓ©lectionner les modules Γ  activer pour ce projet :'
955 956 text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ©
956 957 text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture
957 958 text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture
958 959 text_rmagick_available: Bibliothèque RMagick présente (optionnelle)
959 960 text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ  supprimer. Que voulez-vous faire ?"
960 961 text_destroy_time_entries: Supprimer les heures
961 962 text_assign_time_entries_to_project: Reporter les heures sur le projet
962 963 text_reassign_time_entries: 'Reporter les heures sur cette demande:'
963 964 text_user_wrote: "%{value} a Γ©crit :"
964 965 text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ  %{count} objets."
965 966 text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ  cette valeur:'
966 967 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."
967 968 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."
968 969 text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.'
969 970 text_custom_field_possible_values_info: 'Une ligne par valeur'
970 971 text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?"
971 972 text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines"
972 973 text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes"
973 974 text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ  cette page"
974 975 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 ?"
975 976 text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page."
976 977 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)"
977 978 text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements"
978 979 text_issue_conflict_resolution_cancel: "Annuler ma mise Γ  jour et rΓ©afficher %{link}"
979 980 text_account_destroy_confirmation: "Êtes-vous sûr de vouloir continuer ?\nVotre compte sera définitivement supprimé, sans aucune possibilité de le réactiver."
980 981 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."
981 982 text_project_closed: Ce projet est fermΓ© et accessible en lecture seule.
982 983
983 984 default_role_manager: "Manager "
984 985 default_role_developer: "DΓ©veloppeur "
985 986 default_role_reporter: "Rapporteur "
986 987 default_tracker_bug: Anomalie
987 988 default_tracker_feature: Evolution
988 989 default_tracker_support: Assistance
989 990 default_issue_status_new: Nouveau
990 991 default_issue_status_in_progress: En cours
991 992 default_issue_status_resolved: RΓ©solu
992 993 default_issue_status_feedback: Commentaire
993 994 default_issue_status_closed: FermΓ©
994 995 default_issue_status_rejected: RejetΓ©
995 996 default_doc_category_user: Documentation utilisateur
996 997 default_doc_category_tech: Documentation technique
997 998 default_priority_low: Bas
998 999 default_priority_normal: Normal
999 1000 default_priority_high: Haut
1000 1001 default_priority_urgent: Urgent
1001 1002 default_priority_immediate: ImmΓ©diat
1002 1003 default_activity_design: Conception
1003 1004 default_activity_development: DΓ©veloppement
1004 1005
1005 1006 enumeration_issue_priorities: PrioritΓ©s des demandes
1006 1007 enumeration_doc_categories: CatΓ©gories des documents
1007 1008 enumeration_activities: ActivitΓ©s (suivi du temps)
1008 1009 label_greater_or_equal: ">="
1009 1010 label_less_or_equal: "<="
1010 1011 label_between: entre
1011 1012 label_view_all_revisions: Voir toutes les rΓ©visions
1012 1013 label_tag: Tag
1013 1014 label_branch: Branche
1014 1015 error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ  ce projet. VΓ©rifier la configuration du projet."
1015 1016 error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)."
1016 1017 text_journal_changed: "%{label} changΓ© de %{old} Γ  %{new}"
1017 1018 text_journal_changed_no_detail: "%{label} mis Γ  jour"
1018 1019 text_journal_set_to: "%{label} mis Γ  %{value}"
1019 1020 text_journal_deleted: "%{label} %{old} supprimΓ©"
1020 1021 text_journal_added: "%{label} %{value} ajoutΓ©"
1021 1022 enumeration_system_activity: Activité système
1022 1023 label_board_sticky: Sticky
1023 1024 label_board_locked: VerrouillΓ©
1024 1025 error_unable_delete_issue_status: Impossible de supprimer le statut de demande
1025 1026 error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ©
1026 1027 error_unable_to_connect: Connexion impossible (%{value})
1027 1028 error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©.
1028 1029 error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©.
1029 1030 field_principal: Principal
1030 1031 notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}."
1031 1032 text_zoom_out: Zoom arrière
1032 1033 text_zoom_in: Zoom avant
1033 1034 notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©.
1034 1035 label_overall_spent_time: Temps passΓ© global
1035 1036 field_time_entries: Temps passΓ©
1036 1037 project_module_gantt: Gantt
1037 1038 project_module_calendar: Calendrier
1038 1039 button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}"
1039 1040 text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ?
1040 1041 field_text: Champ texte
1041 1042 label_user_mail_option_only_owner: Seulement pour ce que j'ai créé
1042 1043 setting_default_notification_option: Option de notification par dΓ©faut
1043 1044 label_user_mail_option_only_my_events: Seulement pour ce que je surveille
1044 1045 label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ©
1045 1046 label_user_mail_option_none: Aucune notification
1046 1047 field_member_of_group: Groupe de l'assignΓ©
1047 1048 field_assigned_to_role: RΓ΄le de l'assignΓ©
1048 1049 setting_emails_header: En-tΓͺte des emails
1049 1050 label_bulk_edit_selected_time_entries: Modifier les temps passΓ©s sΓ©lectionnΓ©s
1050 1051 text_time_entries_destroy_confirmation: "Etes-vous sΓ»r de vouloir supprimer les temps passΓ©s sΓ©lectionnΓ©s ?"
1051 1052 field_scm_path_encoding: Encodage des chemins
1052 1053 text_scm_path_encoding_note: "DΓ©faut : UTF-8"
1053 1054 field_path_to_repository: Chemin du dΓ©pΓ΄t
1054 1055 field_root_directory: RΓ©pertoire racine
1055 1056 field_cvs_module: Module
1056 1057 field_cvsroot: CVSROOT
1057 1058 text_mercurial_repository_note: "DΓ©pΓ΄t local (exemples : /hgrepo, c:\\hgrepo)"
1058 1059 text_scm_command: Commande
1059 1060 text_scm_command_version: Version
1060 1061 label_git_report_last_commit: Afficher le dernier commit des fichiers et rΓ©pertoires
1061 1062 text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification.
1062 1063 text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration.
1063 1064 label_diff: diff
1064 1065 text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
1065 1066 description_query_sort_criteria_direction: Ordre de tri
1066 1067 description_project_scope: Périmètre de recherche
1067 1068 description_filter: Filtre
1068 1069 description_user_mail_notification: Option de notification
1069 1070 description_date_from: Date de dΓ©but
1070 1071 description_message_content: Contenu du message
1071 1072 description_available_columns: Colonnes disponibles
1072 1073 description_all_columns: Toutes les colonnes
1073 1074 description_date_range_interval: Choisir une pΓ©riode
1074 1075 description_issue_category_reassign: Choisir une catΓ©gorie
1075 1076 description_search: Champ de recherche
1076 1077 description_notes: Notes
1077 1078 description_date_range_list: Choisir une pΓ©riode prΓ©dΓ©finie
1078 1079 description_choose_project: Projets
1079 1080 description_date_to: Date de fin
1080 1081 description_query_sort_criteria_attribute: Critère de tri
1081 1082 description_wiki_subpages_reassign: Choisir une nouvelle page parent
1082 1083 description_selected_columns: Colonnes sΓ©lectionnΓ©es
1083 1084 label_parent_revision: Parent
1084 1085 label_child_revision: Enfant
1085 1086 error_scm_annotate_big_text_file: Cette entrΓ©e ne peut pas Γͺtre annotΓ©e car elle excΓ¨de la taille maximale.
1086 1087 setting_repositories_encodings: Encodages des fichiers et des dΓ©pΓ΄ts
1087 1088 label_search_for_watchers: Rechercher des observateurs
1088 1089 text_repository_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et underscore sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.'
@@ -1,782 +1,789
1 1 # -*- coding: utf-8 -*-
2 2 # Redmine - project management software
3 3 # Copyright (C) 2006-2012 Jean-Philippe Lang
4 4 #
5 5 # This program is free software; you can redistribute it and/or
6 6 # modify it under the terms of the GNU General Public License
7 7 # as published by the Free Software Foundation; either version 2
8 8 # of the License, or (at your option) any later version.
9 9 #
10 10 # This program is distributed in the hope that it will be useful,
11 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 13 # GNU General Public License for more details.
14 14 #
15 15 # You should have received a copy of the GNU General Public License
16 16 # along with this program; if not, write to the Free Software
17 17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 18
19 19 require File.expand_path('../../test_helper', __FILE__)
20 20 require 'timelog_controller'
21 21
22 22 # Re-raise errors caught by the controller.
23 23 class TimelogController; def rescue_action(e) raise e end; end
24 24
25 25 class TimelogControllerTest < ActionController::TestCase
26 26 fixtures :projects, :enabled_modules, :roles, :members,
27 27 :member_roles, :issues, :time_entries, :users,
28 28 :trackers, :enumerations, :issue_statuses,
29 29 :custom_fields, :custom_values
30 30
31 31 include Redmine::I18n
32 32
33 33 def setup
34 34 @controller = TimelogController.new
35 35 @request = ActionController::TestRequest.new
36 36 @response = ActionController::TestResponse.new
37 37 end
38 38
39 39 def test_new_with_project_id
40 40 @request.session[:user_id] = 3
41 41 get :new, :project_id => 1
42 42 assert_response :success
43 43 assert_template 'new'
44 44 assert_select 'select[name=?]', 'time_entry[project_id]', 0
45 45 assert_select 'input[name=?][value=1][type=hidden]', 'time_entry[project_id]'
46 46 end
47 47
48 48 def test_new_with_issue_id
49 49 @request.session[:user_id] = 3
50 50 get :new, :issue_id => 2
51 51 assert_response :success
52 52 assert_template 'new'
53 53 assert_select 'select[name=?]', 'time_entry[project_id]', 0
54 54 assert_select 'input[name=?][value=1][type=hidden]', 'time_entry[project_id]'
55 55 end
56 56
57 57 def test_new_without_project
58 58 @request.session[:user_id] = 3
59 59 get :new
60 60 assert_response :success
61 61 assert_template 'new'
62 62 assert_select 'select[name=?]', 'time_entry[project_id]'
63 63 assert_select 'input[name=?]', 'time_entry[project_id]', 0
64 64 end
65 65
66 66 def test_new_without_project_should_prefill_the_form
67 67 @request.session[:user_id] = 3
68 68 get :new, :time_entry => {:project_id => '1'}
69 69 assert_response :success
70 70 assert_template 'new'
71 71 assert_select 'select[name=?]', 'time_entry[project_id]' do
72 72 assert_select 'option[value=1][selected=selected]'
73 73 end
74 74 assert_select 'input[name=?]', 'time_entry[project_id]', 0
75 75 end
76 76
77 77 def test_new_without_project_should_deny_without_permission
78 78 Role.all.each {|role| role.remove_permission! :log_time}
79 79 @request.session[:user_id] = 3
80 80
81 81 get :new
82 82 assert_response 403
83 83 end
84 84
85 85 def test_new_should_select_default_activity
86 86 @request.session[:user_id] = 3
87 87 get :new, :project_id => 1
88 88 assert_response :success
89 89 assert_select 'select[name=?]', 'time_entry[activity_id]' do
90 90 assert_select 'option[selected=selected]', :text => 'Development'
91 91 end
92 92 end
93 93
94 94 def test_new_should_only_show_active_time_entry_activities
95 95 @request.session[:user_id] = 3
96 96 get :new, :project_id => 1
97 97 assert_response :success
98 98 assert_no_tag 'option', :content => 'Inactive Activity'
99 99 end
100 100
101 101 def test_get_edit_existing_time
102 102 @request.session[:user_id] = 2
103 103 get :edit, :id => 2, :project_id => nil
104 104 assert_response :success
105 105 assert_template 'edit'
106 106 # Default activity selected
107 107 assert_tag :tag => 'form', :attributes => { :action => '/projects/ecookbook/time_entries/2' }
108 108 end
109 109
110 110 def test_get_edit_with_an_existing_time_entry_with_inactive_activity
111 111 te = TimeEntry.find(1)
112 112 te.activity = TimeEntryActivity.find_by_name("Inactive Activity")
113 113 te.save!
114 114
115 115 @request.session[:user_id] = 1
116 116 get :edit, :project_id => 1, :id => 1
117 117 assert_response :success
118 118 assert_template 'edit'
119 119 # Blank option since nothing is pre-selected
120 120 assert_tag :tag => 'option', :content => '--- Please select ---'
121 121 end
122 122
123 123 def test_post_create
124 124 # TODO: should POST to issues’ time log instead of project. change form
125 125 # and routing
126 126 @request.session[:user_id] = 3
127 127 post :create, :project_id => 1,
128 128 :time_entry => {:comments => 'Some work on TimelogControllerTest',
129 129 # Not the default activity
130 130 :activity_id => '11',
131 131 :spent_on => '2008-03-14',
132 132 :issue_id => '1',
133 133 :hours => '7.3'}
134 134 assert_redirected_to :action => 'index', :project_id => 'ecookbook'
135 135
136 136 i = Issue.find(1)
137 137 t = TimeEntry.find_by_comments('Some work on TimelogControllerTest')
138 138 assert_not_nil t
139 139 assert_equal 11, t.activity_id
140 140 assert_equal 7.3, t.hours
141 141 assert_equal 3, t.user_id
142 142 assert_equal i, t.issue
143 143 assert_equal i.project, t.project
144 144 end
145 145
146 146 def test_post_create_with_blank_issue
147 147 # TODO: should POST to issues’ time log instead of project. change form
148 148 # and routing
149 149 @request.session[:user_id] = 3
150 150 post :create, :project_id => 1,
151 151 :time_entry => {:comments => 'Some work on TimelogControllerTest',
152 152 # Not the default activity
153 153 :activity_id => '11',
154 154 :issue_id => '',
155 155 :spent_on => '2008-03-14',
156 156 :hours => '7.3'}
157 157 assert_redirected_to :action => 'index', :project_id => 'ecookbook'
158 158
159 159 t = TimeEntry.find_by_comments('Some work on TimelogControllerTest')
160 160 assert_not_nil t
161 161 assert_equal 11, t.activity_id
162 162 assert_equal 7.3, t.hours
163 163 assert_equal 3, t.user_id
164 164 end
165 165
166 166 def test_create_and_continue
167 167 @request.session[:user_id] = 2
168 168 post :create, :project_id => 1,
169 169 :time_entry => {:activity_id => '11',
170 170 :issue_id => '',
171 171 :spent_on => '2008-03-14',
172 172 :hours => '7.3'},
173 173 :continue => '1'
174 174 assert_redirected_to '/projects/ecookbook/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D='
175 175 end
176 176
177 177 def test_create_and_continue_with_issue_id
178 178 @request.session[:user_id] = 2
179 179 post :create, :project_id => 1,
180 180 :time_entry => {:activity_id => '11',
181 181 :issue_id => '1',
182 182 :spent_on => '2008-03-14',
183 183 :hours => '7.3'},
184 184 :continue => '1'
185 185 assert_redirected_to '/projects/ecookbook/issues/1/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=1'
186 186 end
187 187
188 188 def test_create_and_continue_without_project
189 189 @request.session[:user_id] = 2
190 190 post :create, :time_entry => {:project_id => '1',
191 191 :activity_id => '11',
192 192 :issue_id => '',
193 193 :spent_on => '2008-03-14',
194 194 :hours => '7.3'},
195 195 :continue => '1'
196 196
197 197 assert_redirected_to '/time_entries/new?time_entry%5Bactivity_id%5D=11&time_entry%5Bissue_id%5D=&time_entry%5Bproject_id%5D=1'
198 198 end
199 199
200 200 def test_create_without_log_time_permission_should_be_denied
201 201 @request.session[:user_id] = 2
202 202 Role.find_by_name('Manager').remove_permission! :log_time
203 203 post :create, :project_id => 1,
204 204 :time_entry => {:activity_id => '11',
205 205 :issue_id => '',
206 206 :spent_on => '2008-03-14',
207 207 :hours => '7.3'}
208 208
209 209 assert_response 403
210 210 end
211 211
212 212 def test_create_with_failure
213 213 @request.session[:user_id] = 2
214 214 post :create, :project_id => 1,
215 215 :time_entry => {:activity_id => '',
216 216 :issue_id => '',
217 217 :spent_on => '2008-03-14',
218 218 :hours => '7.3'}
219 219
220 220 assert_response :success
221 221 assert_template 'new'
222 222 end
223 223
224 224 def test_create_without_project
225 225 @request.session[:user_id] = 2
226 226 assert_difference 'TimeEntry.count' do
227 227 post :create, :time_entry => {:project_id => '1',
228 228 :activity_id => '11',
229 229 :issue_id => '',
230 230 :spent_on => '2008-03-14',
231 231 :hours => '7.3'}
232 232 end
233 233
234 234 assert_redirected_to '/projects/ecookbook/time_entries'
235 235 time_entry = TimeEntry.first(:order => 'id DESC')
236 236 assert_equal 1, time_entry.project_id
237 237 end
238 238
239 239 def test_create_without_project_should_fail_with_issue_not_inside_project
240 240 @request.session[:user_id] = 2
241 241 assert_no_difference 'TimeEntry.count' do
242 242 post :create, :time_entry => {:project_id => '1',
243 243 :activity_id => '11',
244 244 :issue_id => '5',
245 245 :spent_on => '2008-03-14',
246 246 :hours => '7.3'}
247 247 end
248 248
249 249 assert_response :success
250 250 assert assigns(:time_entry).errors[:issue_id].present?
251 251 end
252 252
253 253 def test_create_without_project_should_deny_without_permission
254 254 @request.session[:user_id] = 2
255 255 Project.find(3).disable_module!(:time_tracking)
256 256
257 257 assert_no_difference 'TimeEntry.count' do
258 258 post :create, :time_entry => {:project_id => '3',
259 259 :activity_id => '11',
260 260 :issue_id => '',
261 261 :spent_on => '2008-03-14',
262 262 :hours => '7.3'}
263 263 end
264 264
265 265 assert_response 403
266 266 end
267 267
268 268 def test_create_without_project_with_failure
269 269 @request.session[:user_id] = 2
270 270 assert_no_difference 'TimeEntry.count' do
271 271 post :create, :time_entry => {:project_id => '1',
272 272 :activity_id => '11',
273 273 :issue_id => '',
274 274 :spent_on => '2008-03-14',
275 275 :hours => ''}
276 276 end
277 277
278 278 assert_response :success
279 279 assert_tag 'select', :attributes => {:name => 'time_entry[project_id]'},
280 280 :child => {:tag => 'option', :attributes => {:value => '1', :selected => 'selected'}}
281 281 end
282 282
283 283 def test_update
284 284 entry = TimeEntry.find(1)
285 285 assert_equal 1, entry.issue_id
286 286 assert_equal 2, entry.user_id
287 287
288 288 @request.session[:user_id] = 1
289 289 put :update, :id => 1,
290 290 :time_entry => {:issue_id => '2',
291 291 :hours => '8'}
292 292 assert_redirected_to :action => 'index', :project_id => 'ecookbook'
293 293 entry.reload
294 294
295 295 assert_equal 8, entry.hours
296 296 assert_equal 2, entry.issue_id
297 297 assert_equal 2, entry.user_id
298 298 end
299 299
300 300 def test_get_bulk_edit
301 301 @request.session[:user_id] = 2
302 302 get :bulk_edit, :ids => [1, 2]
303 303 assert_response :success
304 304 assert_template 'bulk_edit'
305 305
306 306 # System wide custom field
307 307 assert_tag :select, :attributes => {:name => 'time_entry[custom_field_values][10]'}
308 308
309 309 # Activities
310 310 assert_select 'select[name=?]', 'time_entry[activity_id]' do
311 311 assert_select 'option[value=]', :text => '(No change)'
312 312 assert_select 'option[value=9]', :text => 'Design'
313 313 end
314 314 end
315 315
316 316 def test_get_bulk_edit_on_different_projects
317 317 @request.session[:user_id] = 2
318 318 get :bulk_edit, :ids => [1, 2, 6]
319 319 assert_response :success
320 320 assert_template 'bulk_edit'
321 321 end
322 322
323 323 def test_bulk_update
324 324 @request.session[:user_id] = 2
325 325 # update time entry activity
326 326 post :bulk_update, :ids => [1, 2], :time_entry => { :activity_id => 9}
327 327
328 328 assert_response 302
329 329 # check that the issues were updated
330 330 assert_equal [9, 9], TimeEntry.find_all_by_id([1, 2]).collect {|i| i.activity_id}
331 331 end
332 332
333 333 def test_bulk_update_with_failure
334 334 @request.session[:user_id] = 2
335 335 post :bulk_update, :ids => [1, 2], :time_entry => { :hours => 'A'}
336 336
337 337 assert_response 302
338 338 assert_match /Failed to save 2 time entrie/, flash[:error]
339 339 end
340 340
341 341 def test_bulk_update_on_different_projects
342 342 @request.session[:user_id] = 2
343 343 # makes user a manager on the other project
344 344 Member.create!(:user_id => 2, :project_id => 3, :role_ids => [1])
345 345
346 346 # update time entry activity
347 347 post :bulk_update, :ids => [1, 2, 4], :time_entry => { :activity_id => 9 }
348 348
349 349 assert_response 302
350 350 # check that the issues were updated
351 351 assert_equal [9, 9, 9], TimeEntry.find_all_by_id([1, 2, 4]).collect {|i| i.activity_id}
352 352 end
353 353
354 354 def test_bulk_update_on_different_projects_without_rights
355 355 @request.session[:user_id] = 3
356 356 user = User.find(3)
357 357 action = { :controller => "timelog", :action => "bulk_update" }
358 358 assert user.allowed_to?(action, TimeEntry.find(1).project)
359 359 assert ! user.allowed_to?(action, TimeEntry.find(5).project)
360 360 post :bulk_update, :ids => [1, 5], :time_entry => { :activity_id => 9 }
361 361 assert_response 403
362 362 end
363 363
364 364 def test_bulk_update_custom_field
365 365 @request.session[:user_id] = 2
366 366 post :bulk_update, :ids => [1, 2], :time_entry => { :custom_field_values => {'10' => '0'} }
367 367
368 368 assert_response 302
369 369 assert_equal ["0", "0"], TimeEntry.find_all_by_id([1, 2]).collect {|i| i.custom_value_for(10).value}
370 370 end
371 371
372 372 def test_post_bulk_update_should_redirect_back_using_the_back_url_parameter
373 373 @request.session[:user_id] = 2
374 374 post :bulk_update, :ids => [1,2], :back_url => '/time_entries'
375 375
376 376 assert_response :redirect
377 377 assert_redirected_to '/time_entries'
378 378 end
379 379
380 380 def test_post_bulk_update_should_not_redirect_back_using_the_back_url_parameter_off_the_host
381 381 @request.session[:user_id] = 2
382 382 post :bulk_update, :ids => [1,2], :back_url => 'http://google.com'
383 383
384 384 assert_response :redirect
385 385 assert_redirected_to :controller => 'timelog', :action => 'index', :project_id => Project.find(1).identifier
386 386 end
387 387
388 388 def test_post_bulk_update_without_edit_permission_should_be_denied
389 389 @request.session[:user_id] = 2
390 390 Role.find_by_name('Manager').remove_permission! :edit_time_entries
391 391 post :bulk_update, :ids => [1,2]
392 392
393 393 assert_response 403
394 394 end
395 395
396 396 def test_destroy
397 397 @request.session[:user_id] = 2
398 398 delete :destroy, :id => 1
399 399 assert_redirected_to :action => 'index', :project_id => 'ecookbook'
400 400 assert_equal I18n.t(:notice_successful_delete), flash[:notice]
401 401 assert_nil TimeEntry.find_by_id(1)
402 402 end
403 403
404 404 def test_destroy_should_fail
405 405 # simulate that this fails (e.g. due to a plugin), see #5700
406 406 TimeEntry.any_instance.expects(:destroy).returns(false)
407 407
408 408 @request.session[:user_id] = 2
409 409 delete :destroy, :id => 1
410 410 assert_redirected_to :action => 'index', :project_id => 'ecookbook'
411 411 assert_equal I18n.t(:notice_unable_delete_time_entry), flash[:error]
412 412 assert_not_nil TimeEntry.find_by_id(1)
413 413 end
414 414
415 415 def test_index_all_projects
416 416 get :index
417 417 assert_response :success
418 418 assert_template 'index'
419 419 assert_not_nil assigns(:total_hours)
420 420 assert_equal "162.90", "%.2f" % assigns(:total_hours)
421 421 assert_tag :form,
422 422 :attributes => {:action => "/time_entries", :id => 'query_form'}
423 423 end
424 424
425 425 def test_index_all_projects_should_show_log_time_link
426 426 @request.session[:user_id] = 2
427 427 get :index
428 428 assert_response :success
429 429 assert_template 'index'
430 430 assert_tag 'a', :attributes => {:href => '/time_entries/new'}, :content => /Log time/
431 431 end
432 432
433 433 def test_index_at_project_level
434 434 get :index, :project_id => 'ecookbook'
435 435 assert_response :success
436 436 assert_template 'index'
437 437 assert_not_nil assigns(:entries)
438 438 assert_equal 4, assigns(:entries).size
439 439 # project and subproject
440 440 assert_equal [1, 3], assigns(:entries).collect(&:project_id).uniq.sort
441 441 assert_not_nil assigns(:total_hours)
442 442 assert_equal "162.90", "%.2f" % assigns(:total_hours)
443 443 # display all time by default
444 444 assert_nil assigns(:from)
445 445 assert_nil assigns(:to)
446 446 assert_tag :form,
447 447 :attributes => {:action => "/projects/ecookbook/time_entries", :id => 'query_form'}
448 448 end
449 449
450 450 def test_index_at_project_level_with_date_range
451 451 get :index, :project_id => 'ecookbook', :from => '2007-03-20', :to => '2007-04-30'
452 452 assert_response :success
453 453 assert_template 'index'
454 454 assert_not_nil assigns(:entries)
455 455 assert_equal 3, assigns(:entries).size
456 456 assert_not_nil assigns(:total_hours)
457 457 assert_equal "12.90", "%.2f" % assigns(:total_hours)
458 458 assert_equal '2007-03-20'.to_date, assigns(:from)
459 459 assert_equal '2007-04-30'.to_date, assigns(:to)
460 460 assert_tag :form,
461 461 :attributes => {:action => "/projects/ecookbook/time_entries", :id => 'query_form'}
462 462 end
463 463
464 464 def test_index_at_project_level_with_period
465 465 get :index, :project_id => 'ecookbook', :period => '7_days'
466 466 assert_response :success
467 467 assert_template 'index'
468 468 assert_not_nil assigns(:entries)
469 469 assert_not_nil assigns(:total_hours)
470 470 assert_equal Date.today - 7, assigns(:from)
471 471 assert_equal Date.today, assigns(:to)
472 472 assert_tag :form,
473 473 :attributes => {:action => "/projects/ecookbook/time_entries", :id => 'query_form'}
474 474 end
475 475
476 476 def test_index_one_day
477 477 get :index, :project_id => 'ecookbook', :from => "2007-03-23", :to => "2007-03-23"
478 478 assert_response :success
479 479 assert_template 'index'
480 480 assert_not_nil assigns(:total_hours)
481 481 assert_equal "4.25", "%.2f" % assigns(:total_hours)
482 482 assert_tag :form,
483 483 :attributes => {:action => "/projects/ecookbook/time_entries", :id => 'query_form'}
484 484 end
485 485
486 486 def test_index_from_a_date
487 487 get :index, :project_id => 'ecookbook', :from => "2007-03-23", :to => ""
488 488 assert_equal '2007-03-23'.to_date, assigns(:from)
489 489 assert_nil assigns(:to)
490 490 end
491 491
492 492 def test_index_to_a_date
493 493 get :index, :project_id => 'ecookbook', :from => "", :to => "2007-03-23"
494 494 assert_nil assigns(:from)
495 495 assert_equal '2007-03-23'.to_date, assigns(:to)
496 496 end
497 497
498 498 def test_index_today
499 499 Date.stubs(:today).returns('2011-12-15'.to_date)
500 500 get :index, :period => 'today'
501 501 assert_equal '2011-12-15'.to_date, assigns(:from)
502 502 assert_equal '2011-12-15'.to_date, assigns(:to)
503 503 end
504 504
505 505 def test_index_yesterday
506 506 Date.stubs(:today).returns('2011-12-15'.to_date)
507 507 get :index, :period => 'yesterday'
508 508 assert_equal '2011-12-14'.to_date, assigns(:from)
509 509 assert_equal '2011-12-14'.to_date, assigns(:to)
510 510 end
511 511
512 512 def test_index_current_week
513 513 Date.stubs(:today).returns('2011-12-15'.to_date)
514 514 get :index, :period => 'current_week'
515 515 assert_equal '2011-12-12'.to_date, assigns(:from)
516 516 assert_equal '2011-12-18'.to_date, assigns(:to)
517 517 end
518 518
519 519 def test_index_last_week
520 520 Date.stubs(:today).returns('2011-12-15'.to_date)
521 521 get :index, :period => 'last_week'
522 522 assert_equal '2011-12-05'.to_date, assigns(:from)
523 523 assert_equal '2011-12-11'.to_date, assigns(:to)
524 524 end
525 525
526 def test_index_last_2_week
527 Date.stubs(:today).returns('2011-12-15'.to_date)
528 get :index, :period => 'last_2_weeks'
529 assert_equal '2011-11-28'.to_date, assigns(:from)
530 assert_equal '2011-12-11'.to_date, assigns(:to)
531 end
532
526 533 def test_index_7_days
527 534 Date.stubs(:today).returns('2011-12-15'.to_date)
528 535 get :index, :period => '7_days'
529 536 assert_equal '2011-12-08'.to_date, assigns(:from)
530 537 assert_equal '2011-12-15'.to_date, assigns(:to)
531 538 end
532 539
533 540 def test_index_current_month
534 541 Date.stubs(:today).returns('2011-12-15'.to_date)
535 542 get :index, :period => 'current_month'
536 543 assert_equal '2011-12-01'.to_date, assigns(:from)
537 544 assert_equal '2011-12-31'.to_date, assigns(:to)
538 545 end
539 546
540 547 def test_index_last_month
541 548 Date.stubs(:today).returns('2011-12-15'.to_date)
542 549 get :index, :period => 'last_month'
543 550 assert_equal '2011-11-01'.to_date, assigns(:from)
544 551 assert_equal '2011-11-30'.to_date, assigns(:to)
545 552 end
546 553
547 554 def test_index_30_days
548 555 Date.stubs(:today).returns('2011-12-15'.to_date)
549 556 get :index, :period => '30_days'
550 557 assert_equal '2011-11-15'.to_date, assigns(:from)
551 558 assert_equal '2011-12-15'.to_date, assigns(:to)
552 559 end
553 560
554 561 def test_index_current_year
555 562 Date.stubs(:today).returns('2011-12-15'.to_date)
556 563 get :index, :period => 'current_year'
557 564 assert_equal '2011-01-01'.to_date, assigns(:from)
558 565 assert_equal '2011-12-31'.to_date, assigns(:to)
559 566 end
560 567
561 568 def test_index_at_issue_level
562 569 get :index, :issue_id => 1
563 570 assert_response :success
564 571 assert_template 'index'
565 572 assert_not_nil assigns(:entries)
566 573 assert_equal 2, assigns(:entries).size
567 574 assert_not_nil assigns(:total_hours)
568 575 assert_equal 154.25, assigns(:total_hours)
569 576 # display all time
570 577 assert_nil assigns(:from)
571 578 assert_nil assigns(:to)
572 579 # TODO: remove /projects/:project_id/issues/:issue_id/time_entries routes
573 580 # to use /issues/:issue_id/time_entries
574 581 assert_tag :form,
575 582 :attributes => {:action => "/projects/ecookbook/issues/1/time_entries", :id => 'query_form'}
576 583 end
577 584
578 585 def test_index_should_sort_by_spent_on_and_created_on
579 586 t1 = TimeEntry.create!(:user => User.find(1), :project => Project.find(1), :hours => 1, :spent_on => '2012-06-16', :created_on => '2012-06-16 20:00:00', :activity_id => 10)
580 587 t2 = TimeEntry.create!(:user => User.find(1), :project => Project.find(1), :hours => 1, :spent_on => '2012-06-16', :created_on => '2012-06-16 20:05:00', :activity_id => 10)
581 588 t3 = TimeEntry.create!(:user => User.find(1), :project => Project.find(1), :hours => 1, :spent_on => '2012-06-15', :created_on => '2012-06-16 20:10:00', :activity_id => 10)
582 589
583 590 get :index, :project_id => 1, :from => '2012-06-15', :to => '2012-06-16'
584 591 assert_response :success
585 592 assert_equal [t2, t1, t3], assigns(:entries)
586 593
587 594 get :index, :project_id => 1, :from => '2012-06-15', :to => '2012-06-16', :sort => 'spent_on'
588 595 assert_response :success
589 596 assert_equal [t3, t1, t2], assigns(:entries)
590 597 end
591 598
592 599 def test_index_atom_feed
593 600 get :index, :project_id => 1, :format => 'atom'
594 601 assert_response :success
595 602 assert_equal 'application/atom+xml', @response.content_type
596 603 assert_not_nil assigns(:items)
597 604 assert assigns(:items).first.is_a?(TimeEntry)
598 605 end
599 606
600 607 def test_index_all_projects_csv_export
601 608 Setting.date_format = '%m/%d/%Y'
602 609 get :index, :format => 'csv'
603 610 assert_response :success
604 611 assert_equal 'text/csv; header=present', @response.content_type
605 612 assert @response.body.include?("Date,User,Activity,Project,Issue,Tracker,Subject,Hours,Comment,Overtime\n")
606 613 assert @response.body.include?("\n04/21/2007,redMine Admin,Design,eCookbook,3,Bug,Error 281 when updating a recipe,1.0,\"\",\"\"\n")
607 614 end
608 615
609 616 def test_index_csv_export
610 617 Setting.date_format = '%m/%d/%Y'
611 618 get :index, :project_id => 1, :format => 'csv'
612 619 assert_response :success
613 620 assert_equal 'text/csv; header=present', @response.content_type
614 621 assert @response.body.include?("Date,User,Activity,Project,Issue,Tracker,Subject,Hours,Comment,Overtime\n")
615 622 assert @response.body.include?("\n04/21/2007,redMine Admin,Design,eCookbook,3,Bug,Error 281 when updating a recipe,1.0,\"\",\"\"\n")
616 623 end
617 624
618 625 def test_index_csv_export_with_multi_custom_field
619 626 field = TimeEntryCustomField.create!(:name => 'Test', :field_format => 'list',
620 627 :multiple => true, :possible_values => ['value1', 'value2'])
621 628 entry = TimeEntry.find(1)
622 629 entry.custom_field_values = {field.id => ['value1', 'value2']}
623 630 entry.save!
624 631
625 632 get :index, :project_id => 1, :format => 'csv'
626 633 assert_response :success
627 634 assert_include '"value1, value2"', @response.body
628 635 end
629 636
630 637 def test_csv_big_5
631 638 user = User.find_by_id(3)
632 639 user.language = "zh-TW"
633 640 assert user.save
634 641 str_utf8 = "\xe4\xb8\x80\xe6\x9c\x88"
635 642 str_big5 = "\xa4@\xa4\xeb"
636 643 if str_utf8.respond_to?(:force_encoding)
637 644 str_utf8.force_encoding('UTF-8')
638 645 str_big5.force_encoding('Big5')
639 646 end
640 647 @request.session[:user_id] = 3
641 648 post :create, :project_id => 1,
642 649 :time_entry => {:comments => str_utf8,
643 650 # Not the default activity
644 651 :activity_id => '11',
645 652 :issue_id => '',
646 653 :spent_on => '2011-11-10',
647 654 :hours => '7.3'}
648 655 assert_redirected_to :action => 'index', :project_id => 'ecookbook'
649 656
650 657 t = TimeEntry.find_by_comments(str_utf8)
651 658 assert_not_nil t
652 659 assert_equal 11, t.activity_id
653 660 assert_equal 7.3, t.hours
654 661 assert_equal 3, t.user_id
655 662
656 663 get :index, :project_id => 1, :format => 'csv',
657 664 :from => '2011-11-10', :to => '2011-11-10'
658 665 assert_response :success
659 666 assert_equal 'text/csv; header=present', @response.content_type
660 667 ar = @response.body.chomp.split("\n")
661 668 s1 = "\xa4\xe9\xb4\xc1"
662 669 if str_utf8.respond_to?(:force_encoding)
663 670 s1.force_encoding('Big5')
664 671 end
665 672 assert ar[0].include?(s1)
666 673 assert ar[1].include?(str_big5)
667 674 end
668 675
669 676 def test_csv_cannot_convert_should_be_replaced_big_5
670 677 user = User.find_by_id(3)
671 678 user.language = "zh-TW"
672 679 assert user.save
673 680 str_utf8 = "\xe4\xbb\xa5\xe5\x86\x85"
674 681 if str_utf8.respond_to?(:force_encoding)
675 682 str_utf8.force_encoding('UTF-8')
676 683 end
677 684 @request.session[:user_id] = 3
678 685 post :create, :project_id => 1,
679 686 :time_entry => {:comments => str_utf8,
680 687 # Not the default activity
681 688 :activity_id => '11',
682 689 :issue_id => '',
683 690 :spent_on => '2011-11-10',
684 691 :hours => '7.3'}
685 692 assert_redirected_to :action => 'index', :project_id => 'ecookbook'
686 693
687 694 t = TimeEntry.find_by_comments(str_utf8)
688 695 assert_not_nil t
689 696 assert_equal 11, t.activity_id
690 697 assert_equal 7.3, t.hours
691 698 assert_equal 3, t.user_id
692 699
693 700 get :index, :project_id => 1, :format => 'csv',
694 701 :from => '2011-11-10', :to => '2011-11-10'
695 702 assert_response :success
696 703 assert_equal 'text/csv; header=present', @response.content_type
697 704 ar = @response.body.chomp.split("\n")
698 705 s1 = "\xa4\xe9\xb4\xc1"
699 706 if str_utf8.respond_to?(:force_encoding)
700 707 s1.force_encoding('Big5')
701 708 end
702 709 assert ar[0].include?(s1)
703 710 s2 = ar[1].split(",")[8]
704 711 if s2.respond_to?(:force_encoding)
705 712 s3 = "\xa5H?"
706 713 s3.force_encoding('Big5')
707 714 assert_equal s3, s2
708 715 elsif RUBY_PLATFORM == 'java'
709 716 assert_equal "??", s2
710 717 else
711 718 assert_equal "\xa5H???", s2
712 719 end
713 720 end
714 721
715 722 def test_csv_tw
716 723 with_settings :default_language => "zh-TW" do
717 724 str1 = "test_csv_tw"
718 725 user = User.find_by_id(3)
719 726 te1 = TimeEntry.create(:spent_on => '2011-11-10',
720 727 :hours => 999.9,
721 728 :project => Project.find(1),
722 729 :user => user,
723 730 :activity => TimeEntryActivity.find_by_name('Design'),
724 731 :comments => str1)
725 732 te2 = TimeEntry.find_by_comments(str1)
726 733 assert_not_nil te2
727 734 assert_equal 999.9, te2.hours
728 735 assert_equal 3, te2.user_id
729 736
730 737 get :index, :project_id => 1, :format => 'csv',
731 738 :from => '2011-11-10', :to => '2011-11-10'
732 739 assert_response :success
733 740 assert_equal 'text/csv; header=present', @response.content_type
734 741
735 742 ar = @response.body.chomp.split("\n")
736 743 s2 = ar[1].split(",")[7]
737 744 assert_equal '999.9', s2
738 745
739 746 str_tw = "Traditional Chinese (\xe7\xb9\x81\xe9\xab\x94\xe4\xb8\xad\xe6\x96\x87)"
740 747 if str_tw.respond_to?(:force_encoding)
741 748 str_tw.force_encoding('UTF-8')
742 749 end
743 750 assert_equal str_tw, l(:general_lang_name)
744 751 assert_equal ',', l(:general_csv_separator)
745 752 assert_equal '.', l(:general_csv_decimal_separator)
746 753 end
747 754 end
748 755
749 756 def test_csv_fr
750 757 with_settings :default_language => "fr" do
751 758 str1 = "test_csv_fr"
752 759 user = User.find_by_id(3)
753 760 te1 = TimeEntry.create(:spent_on => '2011-11-10',
754 761 :hours => 999.9,
755 762 :project => Project.find(1),
756 763 :user => user,
757 764 :activity => TimeEntryActivity.find_by_name('Design'),
758 765 :comments => str1)
759 766 te2 = TimeEntry.find_by_comments(str1)
760 767 assert_not_nil te2
761 768 assert_equal 999.9, te2.hours
762 769 assert_equal 3, te2.user_id
763 770
764 771 get :index, :project_id => 1, :format => 'csv',
765 772 :from => '2011-11-10', :to => '2011-11-10'
766 773 assert_response :success
767 774 assert_equal 'text/csv; header=present', @response.content_type
768 775
769 776 ar = @response.body.chomp.split("\n")
770 777 s2 = ar[1].split(";")[7]
771 778 assert_equal '999,9', s2
772 779
773 780 str_fr = "Fran\xc3\xa7ais"
774 781 if str_fr.respond_to?(:force_encoding)
775 782 str_fr.force_encoding('UTF-8')
776 783 end
777 784 assert_equal str_fr, l(:general_lang_name)
778 785 assert_equal ';', l(:general_csv_separator)
779 786 assert_equal ',', l(:general_csv_decimal_separator)
780 787 end
781 788 end
782 789 end
General Comments 0
You need to be logged in to leave comments. Login now