@@ -1,189 +1,194 | |||||
1 | <% @gantt.view = self %> |
|
1 | <% @gantt.view = self %> | |
2 | <h2><%= l(:label_gantt) %></h2> |
|
2 | <h2><%= l(:label_gantt) %></h2> | |
3 |
|
3 | |||
4 | <% form_tag(gantt_path(:month => params[:month], :year => params[:year], :months => params[:months]), :method => :put, :id => 'query_form') do %> |
|
4 | <% form_tag(gantt_path(:month => params[:month], :year => params[:year], :months => params[:months]), :method => :put, :id => 'query_form') do %> | |
5 | <%= hidden_field_tag('project_id', @project.to_param) if @project%> |
|
5 | <%= hidden_field_tag('project_id', @project.to_param) if @project%> | |
6 | <fieldset id="filters" class="collapsible"> |
|
6 | <fieldset id="filters" class="collapsible"> | |
7 | <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend> |
|
7 | <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend> | |
8 | <div> |
|
8 | <div> | |
9 | <%= render :partial => 'queries/filters', :locals => {:query => @query} %> |
|
9 | <%= render :partial => 'queries/filters', :locals => {:query => @query} %> | |
10 | </div> |
|
10 | </div> | |
11 | </fieldset> |
|
11 | </fieldset> | |
12 |
|
12 | |||
13 | <p class="contextual"> |
|
13 | <p class="contextual"> | |
14 | <%= gantt_zoom_link(@gantt, :in) %> |
|
14 | <%= gantt_zoom_link(@gantt, :in) %> | |
15 | <%= gantt_zoom_link(@gantt, :out) %> |
|
15 | <%= gantt_zoom_link(@gantt, :out) %> | |
16 | </p> |
|
16 | </p> | |
17 |
|
17 | |||
18 | <p class="buttons"> |
|
18 | <p class="buttons"> | |
19 | <%= text_field_tag 'months', @gantt.months, :size => 2 %> |
|
19 | <%= text_field_tag 'months', @gantt.months, :size => 2 %> | |
20 | <%= l(:label_months_from) %> |
|
20 | <%= l(:label_months_from) %> | |
21 | <%= select_month(@gantt.month_from, :prefix => "month", :discard_type => true) %> |
|
21 | <%= select_month(@gantt.month_from, :prefix => "month", :discard_type => true) %> | |
22 | <%= select_year(@gantt.year_from, :prefix => "year", :discard_type => true) %> |
|
22 | <%= select_year(@gantt.year_from, :prefix => "year", :discard_type => true) %> | |
23 | <%= hidden_field_tag 'zoom', @gantt.zoom %> |
|
23 | <%= hidden_field_tag 'zoom', @gantt.zoom %> | |
24 |
|
24 | |||
25 | <%= link_to_remote l(:button_apply), |
|
25 | <%= link_to_remote l(:button_apply), | |
26 | { :url => { :set_filter => (@query.new_record? ? 1 : nil) }, |
|
26 | { :url => { :set_filter => (@query.new_record? ? 1 : nil) }, | |
27 | :update => "content", |
|
27 | :update => "content", | |
28 | :with => "Form.serialize('query_form')" |
|
28 | :with => "Form.serialize('query_form')" | |
29 | }, :class => 'icon icon-checked' %> |
|
29 | }, :class => 'icon icon-checked' %> | |
30 |
|
30 | |||
31 | <%= link_to_remote l(:button_clear), |
|
31 | <%= link_to_remote l(:button_clear), | |
32 | { :url => { :project_id => @project, :set_filter => (@query.new_record? ? 1 : nil) }, |
|
32 | { :url => { :project_id => @project, :set_filter => (@query.new_record? ? 1 : nil) }, | |
33 | :method => :put, |
|
33 | :method => :put, | |
34 | :update => "content", |
|
34 | :update => "content", | |
35 | }, :class => 'icon icon-reload' if @query.new_record? %> |
|
35 | }, :class => 'icon icon-reload' if @query.new_record? %> | |
36 | </p> |
|
36 | </p> | |
37 | <% end %> |
|
37 | <% end %> | |
38 |
|
38 | |||
39 | <%= error_messages_for 'query' %> |
|
39 | <%= error_messages_for 'query' %> | |
40 | <% if @query.valid? %> |
|
40 | <% if @query.valid? %> | |
41 | <% zoom = 1 |
|
41 | <% zoom = 1 | |
42 | @gantt.zoom.times { zoom = zoom * 2 } |
|
42 | @gantt.zoom.times { zoom = zoom * 2 } | |
43 |
|
43 | |||
44 | subject_width = 330 |
|
44 | subject_width = 330 | |
45 | header_heigth = 18 |
|
45 | header_heigth = 18 | |
46 |
|
46 | |||
47 | headers_height = header_heigth |
|
47 | headers_height = header_heigth | |
48 | show_weeks = false |
|
48 | show_weeks = false | |
49 | show_days = false |
|
49 | show_days = false | |
50 |
|
50 | |||
51 | if @gantt.zoom >1 |
|
51 | if @gantt.zoom >1 | |
52 | show_weeks = true |
|
52 | show_weeks = true | |
53 | headers_height = 2*header_heigth |
|
53 | headers_height = 2*header_heigth | |
54 | if @gantt.zoom > 2 |
|
54 | if @gantt.zoom > 2 | |
55 | show_days = true |
|
55 | show_days = true | |
56 | headers_height = 3*header_heigth |
|
56 | headers_height = 3*header_heigth | |
57 | end |
|
57 | end | |
58 | end |
|
58 | end | |
59 |
|
59 | |||
60 | # Width of the entire chart |
|
60 | # Width of the entire chart | |
61 | g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom |
|
61 | g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom | |
62 |
|
62 | |||
63 | @gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width) |
|
63 | @gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width) | |
64 |
|
64 | |||
65 | g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max |
|
65 | g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max | |
66 | t_height = g_height + headers_height |
|
66 | t_height = g_height + headers_height | |
67 |
|
67 | |||
68 |
|
68 | |||
69 | %> |
|
69 | %> | |
|
70 | ||||
|
71 | <% if @gantt.truncated %> | |||
|
72 | <p class="warning"><%= l(:notice_gantt_chart_truncated, :max => @gantt.max_rows) %></p> | |||
|
73 | <% end %> | |||
|
74 | ||||
70 | <table width="100%" style="border:0; border-collapse: collapse;"> |
|
75 | <table width="100%" style="border:0; border-collapse: collapse;"> | |
71 | <tr> |
|
76 | <tr> | |
72 | <td style="width:<%= subject_width %>px; padding:0px;"> |
|
77 | <td style="width:<%= subject_width %>px; padding:0px;"> | |
73 |
|
78 | |||
74 | <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;"> |
|
79 | <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;"> | |
75 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_height %>px;background: #eee;" class="gantt_hdr"></div> |
|
80 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_height %>px;background: #eee;" class="gantt_hdr"></div> | |
76 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;overflow:hidden;" class="gantt_hdr"></div> |
|
81 | <div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;overflow:hidden;" class="gantt_hdr"></div> | |
77 |
|
82 | |||
78 | <%= @gantt.subjects %> |
|
83 | <%= @gantt.subjects %> | |
79 |
|
84 | |||
80 | </div> |
|
85 | </div> | |
81 | </td> |
|
86 | </td> | |
82 | <td> |
|
87 | <td> | |
83 |
|
88 | |||
84 | <div style="position:relative;height:<%= t_height + 24 %>px;overflow:auto;"> |
|
89 | <div style="position:relative;height:<%= t_height + 24 %>px;overflow:auto;"> | |
85 | <div style="width:<%= g_width-1 %>px;height:<%= headers_height %>px;background: #eee;" class="gantt_hdr"> </div> |
|
90 | <div style="width:<%= g_width-1 %>px;height:<%= headers_height %>px;background: #eee;" class="gantt_hdr"> </div> | |
86 | <% |
|
91 | <% | |
87 | # |
|
92 | # | |
88 | # Months headers |
|
93 | # Months headers | |
89 | # |
|
94 | # | |
90 | month_f = @gantt.date_from |
|
95 | month_f = @gantt.date_from | |
91 | left = 0 |
|
96 | left = 0 | |
92 | height = (show_weeks ? header_heigth : header_heigth + g_height) |
|
97 | height = (show_weeks ? header_heigth : header_heigth + g_height) | |
93 | @gantt.months.times do |
|
98 | @gantt.months.times do | |
94 | width = ((month_f >> 1) - month_f) * zoom - 1 |
|
99 | width = ((month_f >> 1) - month_f) * zoom - 1 | |
95 | %> |
|
100 | %> | |
96 | <div style="left:<%= left %>px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr"> |
|
101 | <div style="left:<%= left %>px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr"> | |
97 | <%= link_to "#{month_f.year}-#{month_f.month}", @gantt.params.merge(:year => month_f.year, :month => month_f.month), :title => "#{month_name(month_f.month)} #{month_f.year}"%> |
|
102 | <%= link_to "#{month_f.year}-#{month_f.month}", @gantt.params.merge(:year => month_f.year, :month => month_f.month), :title => "#{month_name(month_f.month)} #{month_f.year}"%> | |
98 | </div> |
|
103 | </div> | |
99 | <% |
|
104 | <% | |
100 | left = left + width + 1 |
|
105 | left = left + width + 1 | |
101 | month_f = month_f >> 1 |
|
106 | month_f = month_f >> 1 | |
102 | end %> |
|
107 | end %> | |
103 |
|
108 | |||
104 | <% |
|
109 | <% | |
105 | # |
|
110 | # | |
106 | # Weeks headers |
|
111 | # Weeks headers | |
107 | # |
|
112 | # | |
108 | if show_weeks |
|
113 | if show_weeks | |
109 | left = 0 |
|
114 | left = 0 | |
110 | height = (show_days ? header_heigth-1 : header_heigth-1 + g_height) |
|
115 | height = (show_days ? header_heigth-1 : header_heigth-1 + g_height) | |
111 | if @gantt.date_from.cwday == 1 |
|
116 | if @gantt.date_from.cwday == 1 | |
112 | # @date_from is monday |
|
117 | # @date_from is monday | |
113 | week_f = @gantt.date_from |
|
118 | week_f = @gantt.date_from | |
114 | else |
|
119 | else | |
115 | # find next monday after @date_from |
|
120 | # find next monday after @date_from | |
116 | week_f = @gantt.date_from + (7 - @gantt.date_from.cwday + 1) |
|
121 | week_f = @gantt.date_from + (7 - @gantt.date_from.cwday + 1) | |
117 | width = (7 - @gantt.date_from.cwday + 1) * zoom-1 |
|
122 | width = (7 - @gantt.date_from.cwday + 1) * zoom-1 | |
118 | %> |
|
123 | %> | |
119 | <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr"> </div> |
|
124 | <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr"> </div> | |
120 | <% |
|
125 | <% | |
121 | left = left + width+1 |
|
126 | left = left + width+1 | |
122 | end %> |
|
127 | end %> | |
123 | <% |
|
128 | <% | |
124 | while week_f <= @gantt.date_to |
|
129 | while week_f <= @gantt.date_to | |
125 | width = (week_f + 6 <= @gantt.date_to) ? 7 * zoom -1 : (@gantt.date_to - week_f + 1) * zoom-1 |
|
130 | width = (week_f + 6 <= @gantt.date_to) ? 7 * zoom -1 : (@gantt.date_to - week_f + 1) * zoom-1 | |
126 | %> |
|
131 | %> | |
127 | <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr"> |
|
132 | <div style="left:<%= left %>px;top:19px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr"> | |
128 | <small><%= week_f.cweek if width >= 16 %></small> |
|
133 | <small><%= week_f.cweek if width >= 16 %></small> | |
129 | </div> |
|
134 | </div> | |
130 | <% |
|
135 | <% | |
131 | left = left + width+1 |
|
136 | left = left + width+1 | |
132 | week_f = week_f+7 |
|
137 | week_f = week_f+7 | |
133 | end |
|
138 | end | |
134 | end %> |
|
139 | end %> | |
135 |
|
140 | |||
136 | <% |
|
141 | <% | |
137 | # |
|
142 | # | |
138 | # Days headers |
|
143 | # Days headers | |
139 | # |
|
144 | # | |
140 | if show_days |
|
145 | if show_days | |
141 | left = 0 |
|
146 | left = 0 | |
142 | height = g_height + header_heigth - 1 |
|
147 | height = g_height + header_heigth - 1 | |
143 | wday = @gantt.date_from.cwday |
|
148 | wday = @gantt.date_from.cwday | |
144 | (@gantt.date_to - @gantt.date_from + 1).to_i.times do |
|
149 | (@gantt.date_to - @gantt.date_from + 1).to_i.times do | |
145 | width = zoom - 1 |
|
150 | width = zoom - 1 | |
146 | %> |
|
151 | %> | |
147 | <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>" class="gantt_hdr"> |
|
152 | <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>" class="gantt_hdr"> | |
148 | <%= day_name(wday).first %> |
|
153 | <%= day_name(wday).first %> | |
149 | </div> |
|
154 | </div> | |
150 | <% |
|
155 | <% | |
151 | left = left + width+1 |
|
156 | left = left + width+1 | |
152 | wday = wday + 1 |
|
157 | wday = wday + 1 | |
153 | wday = 1 if wday > 7 |
|
158 | wday = 1 if wday > 7 | |
154 | end |
|
159 | end | |
155 | end %> |
|
160 | end %> | |
156 |
|
161 | |||
157 | <%= @gantt.lines %> |
|
162 | <%= @gantt.lines %> | |
158 |
|
163 | |||
159 | <% |
|
164 | <% | |
160 | # |
|
165 | # | |
161 | # Today red line (excluded from cache) |
|
166 | # Today red line (excluded from cache) | |
162 | # |
|
167 | # | |
163 | if Date.today >= @gantt.date_from and Date.today <= @gantt.date_to %> |
|
168 | if Date.today >= @gantt.date_from and Date.today <= @gantt.date_to %> | |
164 | <div style="position: absolute;height:<%= g_height %>px;top:<%= headers_height + 1 %>px;left:<%= ((Date.today-@gantt.date_from+1)*zoom).floor()-1 %>px;width:10px;border-left: 1px dashed red;"> </div> |
|
169 | <div style="position: absolute;height:<%= g_height %>px;top:<%= headers_height + 1 %>px;left:<%= ((Date.today-@gantt.date_from+1)*zoom).floor()-1 %>px;width:10px;border-left: 1px dashed red;"> </div> | |
165 | <% end %> |
|
170 | <% end %> | |
166 |
|
171 | |||
167 | </div> |
|
172 | </div> | |
168 | </td> |
|
173 | </td> | |
169 | </tr> |
|
174 | </tr> | |
170 | </table> |
|
175 | </table> | |
171 |
|
176 | |||
172 | <table width="100%"> |
|
177 | <table width="100%"> | |
173 | <tr> |
|
178 | <tr> | |
174 | <td align="left"><%= link_to_remote ('« ' + l(:label_previous)), {:url => @gantt.params_previous, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, {:href => url_for(@gantt.params_previous)} %></td> |
|
179 | <td align="left"><%= link_to_remote ('« ' + l(:label_previous)), {:url => @gantt.params_previous, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, {:href => url_for(@gantt.params_previous)} %></td> | |
175 | <td align="right"><%= link_to_remote (l(:label_next) + ' »'), {:url => @gantt.params_next, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, {:href => url_for(@gantt.params_next)} %></td> |
|
180 | <td align="right"><%= link_to_remote (l(:label_next) + ' »'), {:url => @gantt.params_next, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, {:href => url_for(@gantt.params_next)} %></td> | |
176 | </tr> |
|
181 | </tr> | |
177 | </table> |
|
182 | </table> | |
178 |
|
183 | |||
179 | <% other_formats_links do |f| %> |
|
184 | <% other_formats_links do |f| %> | |
180 | <%= f.link_to 'PDF', :url => @gantt.params %> |
|
185 | <%= f.link_to 'PDF', :url => @gantt.params %> | |
181 | <%= f.link_to('PNG', :url => @gantt.params) if @gantt.respond_to?('to_image') %> |
|
186 | <%= f.link_to('PNG', :url => @gantt.params) if @gantt.respond_to?('to_image') %> | |
182 | <% end %> |
|
187 | <% end %> | |
183 | <% end # query.valid? %> |
|
188 | <% end # query.valid? %> | |
184 |
|
189 | |||
185 | <% content_for :sidebar do %> |
|
190 | <% content_for :sidebar do %> | |
186 | <%= render :partial => 'issues/sidebar' %> |
|
191 | <%= render :partial => 'issues/sidebar' %> | |
187 | <% end %> |
|
192 | <% end %> | |
188 |
|
193 | |||
189 | <% html_title(l(:label_gantt)) -%> |
|
194 | <% html_title(l(:label_gantt)) -%> |
@@ -1,19 +1,21 | |||||
1 | <% form_tag({:action => 'edit', :tab => 'issues'}) do %> |
|
1 | <% form_tag({:action => 'edit', :tab => 'issues'}) do %> | |
2 |
|
2 | |||
3 | <div class="box tabular settings"> |
|
3 | <div class="box tabular settings"> | |
4 | <p><%= setting_check_box :cross_project_issue_relations %></p> |
|
4 | <p><%= setting_check_box :cross_project_issue_relations %></p> | |
5 |
|
5 | |||
6 | <p><%= setting_check_box :display_subprojects_issues %></p> |
|
6 | <p><%= setting_check_box :display_subprojects_issues %></p> | |
7 |
|
7 | |||
8 | <p><%= setting_select :issue_done_ratio, Issue::DONE_RATIO_OPTIONS.collect {|i| [l("setting_issue_done_ratio_#{i}"), i]} %></p> |
|
8 | <p><%= setting_select :issue_done_ratio, Issue::DONE_RATIO_OPTIONS.collect {|i| [l("setting_issue_done_ratio_#{i}"), i]} %></p> | |
9 |
|
9 | |||
10 | <p><%= setting_text_field :issues_export_limit, :size => 6 %></p> |
|
10 | <p><%= setting_text_field :issues_export_limit, :size => 6 %></p> | |
|
11 | ||||
|
12 | <p><%= setting_text_field :gantt_items_limit, :size => 6 %></p> | |||
11 | </div> |
|
13 | </div> | |
12 |
|
14 | |||
13 | <fieldset class="box settings"><legend><%= l(:setting_issue_list_default_columns) %></legend> |
|
15 | <fieldset class="box settings"><legend><%= l(:setting_issue_list_default_columns) %></legend> | |
14 | <%= setting_multiselect(:issue_list_default_columns, |
|
16 | <%= setting_multiselect(:issue_list_default_columns, | |
15 | Query.new.available_columns.collect {|c| [c.caption, c.name.to_s]}, :label => false) %> |
|
17 | Query.new.available_columns.collect {|c| [c.caption, c.name.to_s]}, :label => false) %> | |
16 | </fieldset> |
|
18 | </fieldset> | |
17 |
|
19 | |||
18 | <%= submit_tag l(:button_save) %> |
|
20 | <%= submit_tag l(:button_save) %> | |
19 | <% end %> |
|
21 | <% end %> |
@@ -1,932 +1,934 | |||||
1 | en: |
|
1 | en: | |
2 | # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl) |
|
2 | # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl) | |
3 | direction: ltr |
|
3 | direction: ltr | |
4 | date: |
|
4 | date: | |
5 | formats: |
|
5 | formats: | |
6 | # Use the strftime parameters for formats. |
|
6 | # Use the strftime parameters for formats. | |
7 | # When no format has been given, it uses default. |
|
7 | # When no format has been given, it uses default. | |
8 | # You can provide other formats here if you like! |
|
8 | # You can provide other formats here if you like! | |
9 | default: "%m/%d/%Y" |
|
9 | default: "%m/%d/%Y" | |
10 | short: "%b %d" |
|
10 | short: "%b %d" | |
11 | long: "%B %d, %Y" |
|
11 | long: "%B %d, %Y" | |
12 |
|
12 | |||
13 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] |
|
13 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] | |
14 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] |
|
14 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] | |
15 |
|
15 | |||
16 | # Don't forget the nil at the beginning; there's no such thing as a 0th month |
|
16 | # Don't forget the nil at the beginning; there's no such thing as a 0th month | |
17 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] |
|
17 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] | |
18 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] |
|
18 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] | |
19 | # Used in date_select and datime_select. |
|
19 | # Used in date_select and datime_select. | |
20 | order: [ :year, :month, :day ] |
|
20 | order: [ :year, :month, :day ] | |
21 |
|
21 | |||
22 | time: |
|
22 | time: | |
23 | formats: |
|
23 | formats: | |
24 | default: "%m/%d/%Y %I:%M %p" |
|
24 | default: "%m/%d/%Y %I:%M %p" | |
25 | time: "%I:%M %p" |
|
25 | time: "%I:%M %p" | |
26 | short: "%d %b %H:%M" |
|
26 | short: "%d %b %H:%M" | |
27 | long: "%B %d, %Y %H:%M" |
|
27 | long: "%B %d, %Y %H:%M" | |
28 | am: "am" |
|
28 | am: "am" | |
29 | pm: "pm" |
|
29 | pm: "pm" | |
30 |
|
30 | |||
31 | datetime: |
|
31 | datetime: | |
32 | distance_in_words: |
|
32 | distance_in_words: | |
33 | half_a_minute: "half a minute" |
|
33 | half_a_minute: "half a minute" | |
34 | less_than_x_seconds: |
|
34 | less_than_x_seconds: | |
35 | one: "less than 1 second" |
|
35 | one: "less than 1 second" | |
36 | other: "less than {{count}} seconds" |
|
36 | other: "less than {{count}} seconds" | |
37 | x_seconds: |
|
37 | x_seconds: | |
38 | one: "1 second" |
|
38 | one: "1 second" | |
39 | other: "{{count}} seconds" |
|
39 | other: "{{count}} seconds" | |
40 | less_than_x_minutes: |
|
40 | less_than_x_minutes: | |
41 | one: "less than a minute" |
|
41 | one: "less than a minute" | |
42 | other: "less than {{count}} minutes" |
|
42 | other: "less than {{count}} minutes" | |
43 | x_minutes: |
|
43 | x_minutes: | |
44 | one: "1 minute" |
|
44 | one: "1 minute" | |
45 | other: "{{count}} minutes" |
|
45 | other: "{{count}} minutes" | |
46 | about_x_hours: |
|
46 | about_x_hours: | |
47 | one: "about 1 hour" |
|
47 | one: "about 1 hour" | |
48 | other: "about {{count}} hours" |
|
48 | other: "about {{count}} hours" | |
49 | x_days: |
|
49 | x_days: | |
50 | one: "1 day" |
|
50 | one: "1 day" | |
51 | other: "{{count}} days" |
|
51 | other: "{{count}} days" | |
52 | about_x_months: |
|
52 | about_x_months: | |
53 | one: "about 1 month" |
|
53 | one: "about 1 month" | |
54 | other: "about {{count}} months" |
|
54 | other: "about {{count}} months" | |
55 | x_months: |
|
55 | x_months: | |
56 | one: "1 month" |
|
56 | one: "1 month" | |
57 | other: "{{count}} months" |
|
57 | other: "{{count}} months" | |
58 | about_x_years: |
|
58 | about_x_years: | |
59 | one: "about 1 year" |
|
59 | one: "about 1 year" | |
60 | other: "about {{count}} years" |
|
60 | other: "about {{count}} years" | |
61 | over_x_years: |
|
61 | over_x_years: | |
62 | one: "over 1 year" |
|
62 | one: "over 1 year" | |
63 | other: "over {{count}} years" |
|
63 | other: "over {{count}} years" | |
64 | almost_x_years: |
|
64 | almost_x_years: | |
65 | one: "almost 1 year" |
|
65 | one: "almost 1 year" | |
66 | other: "almost {{count}} years" |
|
66 | other: "almost {{count}} years" | |
67 |
|
67 | |||
68 | number: |
|
68 | number: | |
69 | # Default format for numbers |
|
69 | # Default format for numbers | |
70 | format: |
|
70 | format: | |
71 | separator: "." |
|
71 | separator: "." | |
72 | delimiter: "" |
|
72 | delimiter: "" | |
73 | precision: 3 |
|
73 | precision: 3 | |
74 | human: |
|
74 | human: | |
75 | format: |
|
75 | format: | |
76 | delimiter: "" |
|
76 | delimiter: "" | |
77 | precision: 1 |
|
77 | precision: 1 | |
78 | storage_units: |
|
78 | storage_units: | |
79 | format: "%n %u" |
|
79 | format: "%n %u" | |
80 | units: |
|
80 | units: | |
81 | byte: |
|
81 | byte: | |
82 | one: "Byte" |
|
82 | one: "Byte" | |
83 | other: "Bytes" |
|
83 | other: "Bytes" | |
84 | kb: "kB" |
|
84 | kb: "kB" | |
85 | mb: "MB" |
|
85 | mb: "MB" | |
86 | gb: "GB" |
|
86 | gb: "GB" | |
87 | tb: "TB" |
|
87 | tb: "TB" | |
88 |
|
88 | |||
89 |
|
89 | |||
90 | # Used in array.to_sentence. |
|
90 | # Used in array.to_sentence. | |
91 | support: |
|
91 | support: | |
92 | array: |
|
92 | array: | |
93 | sentence_connector: "and" |
|
93 | sentence_connector: "and" | |
94 | skip_last_comma: false |
|
94 | skip_last_comma: false | |
95 |
|
95 | |||
96 | activerecord: |
|
96 | activerecord: | |
97 | errors: |
|
97 | errors: | |
98 | messages: |
|
98 | messages: | |
99 | inclusion: "is not included in the list" |
|
99 | inclusion: "is not included in the list" | |
100 | exclusion: "is reserved" |
|
100 | exclusion: "is reserved" | |
101 | invalid: "is invalid" |
|
101 | invalid: "is invalid" | |
102 | confirmation: "doesn't match confirmation" |
|
102 | confirmation: "doesn't match confirmation" | |
103 | accepted: "must be accepted" |
|
103 | accepted: "must be accepted" | |
104 | empty: "can't be empty" |
|
104 | empty: "can't be empty" | |
105 | blank: "can't be blank" |
|
105 | blank: "can't be blank" | |
106 | too_long: "is too long (maximum is {{count}} characters)" |
|
106 | too_long: "is too long (maximum is {{count}} characters)" | |
107 | too_short: "is too short (minimum is {{count}} characters)" |
|
107 | too_short: "is too short (minimum is {{count}} characters)" | |
108 | wrong_length: "is the wrong length (should be {{count}} characters)" |
|
108 | wrong_length: "is the wrong length (should be {{count}} characters)" | |
109 | taken: "has already been taken" |
|
109 | taken: "has already been taken" | |
110 | not_a_number: "is not a number" |
|
110 | not_a_number: "is not a number" | |
111 | not_a_date: "is not a valid date" |
|
111 | not_a_date: "is not a valid date" | |
112 | greater_than: "must be greater than {{count}}" |
|
112 | greater_than: "must be greater than {{count}}" | |
113 | greater_than_or_equal_to: "must be greater than or equal to {{count}}" |
|
113 | greater_than_or_equal_to: "must be greater than or equal to {{count}}" | |
114 | equal_to: "must be equal to {{count}}" |
|
114 | equal_to: "must be equal to {{count}}" | |
115 | less_than: "must be less than {{count}}" |
|
115 | less_than: "must be less than {{count}}" | |
116 | less_than_or_equal_to: "must be less than or equal to {{count}}" |
|
116 | less_than_or_equal_to: "must be less than or equal to {{count}}" | |
117 | odd: "must be odd" |
|
117 | odd: "must be odd" | |
118 | even: "must be even" |
|
118 | even: "must be even" | |
119 | greater_than_start_date: "must be greater than start date" |
|
119 | greater_than_start_date: "must be greater than start date" | |
120 | not_same_project: "doesn't belong to the same project" |
|
120 | not_same_project: "doesn't belong to the same project" | |
121 | circular_dependency: "This relation would create a circular dependency" |
|
121 | circular_dependency: "This relation would create a circular dependency" | |
122 | cant_link_an_issue_with_a_descendant: "An issue can not be linked to one of its subtasks" |
|
122 | cant_link_an_issue_with_a_descendant: "An issue can not be linked to one of its subtasks" | |
123 |
|
123 | |||
124 | actionview_instancetag_blank_option: Please select |
|
124 | actionview_instancetag_blank_option: Please select | |
125 |
|
125 | |||
126 | general_text_No: 'No' |
|
126 | general_text_No: 'No' | |
127 | general_text_Yes: 'Yes' |
|
127 | general_text_Yes: 'Yes' | |
128 | general_text_no: 'no' |
|
128 | general_text_no: 'no' | |
129 | general_text_yes: 'yes' |
|
129 | general_text_yes: 'yes' | |
130 | general_lang_name: 'English' |
|
130 | general_lang_name: 'English' | |
131 | general_csv_separator: ',' |
|
131 | general_csv_separator: ',' | |
132 | general_csv_decimal_separator: '.' |
|
132 | general_csv_decimal_separator: '.' | |
133 | general_csv_encoding: ISO-8859-1 |
|
133 | general_csv_encoding: ISO-8859-1 | |
134 | general_pdf_encoding: ISO-8859-1 |
|
134 | general_pdf_encoding: ISO-8859-1 | |
135 | general_first_day_of_week: '7' |
|
135 | general_first_day_of_week: '7' | |
136 |
|
136 | |||
137 | notice_account_updated: Account was successfully updated. |
|
137 | notice_account_updated: Account was successfully updated. | |
138 | notice_account_invalid_creditentials: Invalid user or password |
|
138 | notice_account_invalid_creditentials: Invalid user or password | |
139 | notice_account_password_updated: Password was successfully updated. |
|
139 | notice_account_password_updated: Password was successfully updated. | |
140 | notice_account_wrong_password: Wrong password |
|
140 | notice_account_wrong_password: Wrong password | |
141 | notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you. |
|
141 | notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you. | |
142 | notice_account_unknown_email: Unknown user. |
|
142 | notice_account_unknown_email: Unknown user. | |
143 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. |
|
143 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. | |
144 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. |
|
144 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. | |
145 | notice_account_activated: Your account has been activated. You can now log in. |
|
145 | notice_account_activated: Your account has been activated. You can now log in. | |
146 | notice_successful_create: Successful creation. |
|
146 | notice_successful_create: Successful creation. | |
147 | notice_successful_update: Successful update. |
|
147 | notice_successful_update: Successful update. | |
148 | notice_successful_delete: Successful deletion. |
|
148 | notice_successful_delete: Successful deletion. | |
149 | notice_successful_connection: Successful connection. |
|
149 | notice_successful_connection: Successful connection. | |
150 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. |
|
150 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. | |
151 | notice_locking_conflict: Data has been updated by another user. |
|
151 | notice_locking_conflict: Data has been updated by another user. | |
152 | notice_not_authorized: You are not authorized to access this page. |
|
152 | notice_not_authorized: You are not authorized to access this page. | |
153 | notice_not_authorized_archived_project: The project you're trying to access has been archived. |
|
153 | notice_not_authorized_archived_project: The project you're trying to access has been archived. | |
154 | notice_email_sent: "An email was sent to {{value}}" |
|
154 | notice_email_sent: "An email was sent to {{value}}" | |
155 | notice_email_error: "An error occurred while sending mail ({{value}})" |
|
155 | notice_email_error: "An error occurred while sending mail ({{value}})" | |
156 | notice_feeds_access_key_reseted: Your RSS access key was reset. |
|
156 | notice_feeds_access_key_reseted: Your RSS access key was reset. | |
157 | notice_api_access_key_reseted: Your API access key was reset. |
|
157 | notice_api_access_key_reseted: Your API access key was reset. | |
158 | notice_failed_to_save_issues: "Failed to save {{count}} issue(s) on {{total}} selected: {{ids}}." |
|
158 | notice_failed_to_save_issues: "Failed to save {{count}} issue(s) on {{total}} selected: {{ids}}." | |
159 | notice_failed_to_save_members: "Failed to save member(s): {{errors}}." |
|
159 | notice_failed_to_save_members: "Failed to save member(s): {{errors}}." | |
160 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." |
|
160 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." | |
161 | notice_account_pending: "Your account was created and is now pending administrator approval." |
|
161 | notice_account_pending: "Your account was created and is now pending administrator approval." | |
162 | notice_default_data_loaded: Default configuration successfully loaded. |
|
162 | notice_default_data_loaded: Default configuration successfully loaded. | |
163 | notice_unable_delete_version: Unable to delete version. |
|
163 | notice_unable_delete_version: Unable to delete version. | |
164 | notice_unable_delete_time_entry: Unable to delete time log entry. |
|
164 | notice_unable_delete_time_entry: Unable to delete time log entry. | |
165 | notice_issue_done_ratios_updated: Issue done ratios updated. |
|
165 | notice_issue_done_ratios_updated: Issue done ratios updated. | |
|
166 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed ({{max}})" | |||
166 |
|
167 | |||
167 | error_can_t_load_default_data: "Default configuration could not be loaded: {{value}}" |
|
168 | error_can_t_load_default_data: "Default configuration could not be loaded: {{value}}" | |
168 | error_scm_not_found: "The entry or revision was not found in the repository." |
|
169 | error_scm_not_found: "The entry or revision was not found in the repository." | |
169 | error_scm_command_failed: "An error occurred when trying to access the repository: {{value}}" |
|
170 | error_scm_command_failed: "An error occurred when trying to access the repository: {{value}}" | |
170 | error_scm_annotate: "The entry does not exist or can not be annotated." |
|
171 | error_scm_annotate: "The entry does not exist or can not be annotated." | |
171 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' |
|
172 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' | |
172 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' |
|
173 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' | |
173 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' |
|
174 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' | |
174 | error_can_not_delete_custom_field: Unable to delete custom field |
|
175 | error_can_not_delete_custom_field: Unable to delete custom field | |
175 | error_can_not_delete_tracker: "This tracker contains issues and can't be deleted." |
|
176 | error_can_not_delete_tracker: "This tracker contains issues and can't be deleted." | |
176 | error_can_not_remove_role: "This role is in use and can not be deleted." |
|
177 | error_can_not_remove_role: "This role is in use and can not be deleted." | |
177 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version can not be reopened' |
|
178 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version can not be reopened' | |
178 | error_can_not_archive_project: This project can not be archived |
|
179 | error_can_not_archive_project: This project can not be archived | |
179 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." |
|
180 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." | |
180 | error_workflow_copy_source: 'Please select a source tracker or role' |
|
181 | error_workflow_copy_source: 'Please select a source tracker or role' | |
181 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' |
|
182 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' | |
182 | error_unable_delete_issue_status: 'Unable to delete issue status' |
|
183 | error_unable_delete_issue_status: 'Unable to delete issue status' | |
183 | error_unable_to_connect: "Unable to connect ({{value}})" |
|
184 | error_unable_to_connect: "Unable to connect ({{value}})" | |
184 | warning_attachments_not_saved: "{{count}} file(s) could not be saved." |
|
185 | warning_attachments_not_saved: "{{count}} file(s) could not be saved." | |
185 |
|
186 | |||
186 | mail_subject_lost_password: "Your {{value}} password" |
|
187 | mail_subject_lost_password: "Your {{value}} password" | |
187 | mail_body_lost_password: 'To change your password, click on the following link:' |
|
188 | mail_body_lost_password: 'To change your password, click on the following link:' | |
188 | mail_subject_register: "Your {{value}} account activation" |
|
189 | mail_subject_register: "Your {{value}} account activation" | |
189 | mail_body_register: 'To activate your account, click on the following link:' |
|
190 | mail_body_register: 'To activate your account, click on the following link:' | |
190 | mail_body_account_information_external: "You can use your {{value}} account to log in." |
|
191 | mail_body_account_information_external: "You can use your {{value}} account to log in." | |
191 | mail_body_account_information: Your account information |
|
192 | mail_body_account_information: Your account information | |
192 | mail_subject_account_activation_request: "{{value}} account activation request" |
|
193 | mail_subject_account_activation_request: "{{value}} account activation request" | |
193 | mail_body_account_activation_request: "A new user ({{value}}) has registered. The account is pending your approval:" |
|
194 | mail_body_account_activation_request: "A new user ({{value}}) has registered. The account is pending your approval:" | |
194 | mail_subject_reminder: "{{count}} issue(s) due in the next {{days}} days" |
|
195 | mail_subject_reminder: "{{count}} issue(s) due in the next {{days}} days" | |
195 | mail_body_reminder: "{{count}} issue(s) that are assigned to you are due in the next {{days}} days:" |
|
196 | mail_body_reminder: "{{count}} issue(s) that are assigned to you are due in the next {{days}} days:" | |
196 | mail_subject_wiki_content_added: "'{{id}}' wiki page has been added" |
|
197 | mail_subject_wiki_content_added: "'{{id}}' wiki page has been added" | |
197 | mail_body_wiki_content_added: "The '{{id}}' wiki page has been added by {{author}}." |
|
198 | mail_body_wiki_content_added: "The '{{id}}' wiki page has been added by {{author}}." | |
198 | mail_subject_wiki_content_updated: "'{{id}}' wiki page has been updated" |
|
199 | mail_subject_wiki_content_updated: "'{{id}}' wiki page has been updated" | |
199 | mail_body_wiki_content_updated: "The '{{id}}' wiki page has been updated by {{author}}." |
|
200 | mail_body_wiki_content_updated: "The '{{id}}' wiki page has been updated by {{author}}." | |
200 |
|
201 | |||
201 | gui_validation_error: 1 error |
|
202 | gui_validation_error: 1 error | |
202 | gui_validation_error_plural: "{{count}} errors" |
|
203 | gui_validation_error_plural: "{{count}} errors" | |
203 |
|
204 | |||
204 | field_name: Name |
|
205 | field_name: Name | |
205 | field_description: Description |
|
206 | field_description: Description | |
206 | field_summary: Summary |
|
207 | field_summary: Summary | |
207 | field_is_required: Required |
|
208 | field_is_required: Required | |
208 | field_firstname: Firstname |
|
209 | field_firstname: Firstname | |
209 | field_lastname: Lastname |
|
210 | field_lastname: Lastname | |
210 | field_mail: Email |
|
211 | field_mail: Email | |
211 | field_filename: File |
|
212 | field_filename: File | |
212 | field_filesize: Size |
|
213 | field_filesize: Size | |
213 | field_downloads: Downloads |
|
214 | field_downloads: Downloads | |
214 | field_author: Author |
|
215 | field_author: Author | |
215 | field_created_on: Created |
|
216 | field_created_on: Created | |
216 | field_updated_on: Updated |
|
217 | field_updated_on: Updated | |
217 | field_field_format: Format |
|
218 | field_field_format: Format | |
218 | field_is_for_all: For all projects |
|
219 | field_is_for_all: For all projects | |
219 | field_possible_values: Possible values |
|
220 | field_possible_values: Possible values | |
220 | field_regexp: Regular expression |
|
221 | field_regexp: Regular expression | |
221 | field_min_length: Minimum length |
|
222 | field_min_length: Minimum length | |
222 | field_max_length: Maximum length |
|
223 | field_max_length: Maximum length | |
223 | field_value: Value |
|
224 | field_value: Value | |
224 | field_category: Category |
|
225 | field_category: Category | |
225 | field_title: Title |
|
226 | field_title: Title | |
226 | field_project: Project |
|
227 | field_project: Project | |
227 | field_issue: Issue |
|
228 | field_issue: Issue | |
228 | field_status: Status |
|
229 | field_status: Status | |
229 | field_notes: Notes |
|
230 | field_notes: Notes | |
230 | field_is_closed: Issue closed |
|
231 | field_is_closed: Issue closed | |
231 | field_is_default: Default value |
|
232 | field_is_default: Default value | |
232 | field_tracker: Tracker |
|
233 | field_tracker: Tracker | |
233 | field_subject: Subject |
|
234 | field_subject: Subject | |
234 | field_due_date: Due date |
|
235 | field_due_date: Due date | |
235 | field_assigned_to: Assignee |
|
236 | field_assigned_to: Assignee | |
236 | field_priority: Priority |
|
237 | field_priority: Priority | |
237 | field_fixed_version: Target version |
|
238 | field_fixed_version: Target version | |
238 | field_user: User |
|
239 | field_user: User | |
239 | field_principal: Principal |
|
240 | field_principal: Principal | |
240 | field_role: Role |
|
241 | field_role: Role | |
241 | field_homepage: Homepage |
|
242 | field_homepage: Homepage | |
242 | field_is_public: Public |
|
243 | field_is_public: Public | |
243 | field_parent: Subproject of |
|
244 | field_parent: Subproject of | |
244 | field_is_in_roadmap: Issues displayed in roadmap |
|
245 | field_is_in_roadmap: Issues displayed in roadmap | |
245 | field_login: Login |
|
246 | field_login: Login | |
246 | field_mail_notification: Email notifications |
|
247 | field_mail_notification: Email notifications | |
247 | field_admin: Administrator |
|
248 | field_admin: Administrator | |
248 | field_last_login_on: Last connection |
|
249 | field_last_login_on: Last connection | |
249 | field_language: Language |
|
250 | field_language: Language | |
250 | field_effective_date: Date |
|
251 | field_effective_date: Date | |
251 | field_password: Password |
|
252 | field_password: Password | |
252 | field_new_password: New password |
|
253 | field_new_password: New password | |
253 | field_password_confirmation: Confirmation |
|
254 | field_password_confirmation: Confirmation | |
254 | field_version: Version |
|
255 | field_version: Version | |
255 | field_type: Type |
|
256 | field_type: Type | |
256 | field_host: Host |
|
257 | field_host: Host | |
257 | field_port: Port |
|
258 | field_port: Port | |
258 | field_account: Account |
|
259 | field_account: Account | |
259 | field_base_dn: Base DN |
|
260 | field_base_dn: Base DN | |
260 | field_attr_login: Login attribute |
|
261 | field_attr_login: Login attribute | |
261 | field_attr_firstname: Firstname attribute |
|
262 | field_attr_firstname: Firstname attribute | |
262 | field_attr_lastname: Lastname attribute |
|
263 | field_attr_lastname: Lastname attribute | |
263 | field_attr_mail: Email attribute |
|
264 | field_attr_mail: Email attribute | |
264 | field_onthefly: On-the-fly user creation |
|
265 | field_onthefly: On-the-fly user creation | |
265 | field_start_date: Start date |
|
266 | field_start_date: Start date | |
266 | field_done_ratio: % Done |
|
267 | field_done_ratio: % Done | |
267 | field_auth_source: Authentication mode |
|
268 | field_auth_source: Authentication mode | |
268 | field_hide_mail: Hide my email address |
|
269 | field_hide_mail: Hide my email address | |
269 | field_comments: Comment |
|
270 | field_comments: Comment | |
270 | field_url: URL |
|
271 | field_url: URL | |
271 | field_start_page: Start page |
|
272 | field_start_page: Start page | |
272 | field_subproject: Subproject |
|
273 | field_subproject: Subproject | |
273 | field_hours: Hours |
|
274 | field_hours: Hours | |
274 | field_activity: Activity |
|
275 | field_activity: Activity | |
275 | field_spent_on: Date |
|
276 | field_spent_on: Date | |
276 | field_identifier: Identifier |
|
277 | field_identifier: Identifier | |
277 | field_is_filter: Used as a filter |
|
278 | field_is_filter: Used as a filter | |
278 | field_issue_to: Related issue |
|
279 | field_issue_to: Related issue | |
279 | field_delay: Delay |
|
280 | field_delay: Delay | |
280 | field_assignable: Issues can be assigned to this role |
|
281 | field_assignable: Issues can be assigned to this role | |
281 | field_redirect_existing_links: Redirect existing links |
|
282 | field_redirect_existing_links: Redirect existing links | |
282 | field_estimated_hours: Estimated time |
|
283 | field_estimated_hours: Estimated time | |
283 | field_column_names: Columns |
|
284 | field_column_names: Columns | |
284 | field_time_entries: Log time |
|
285 | field_time_entries: Log time | |
285 | field_time_zone: Time zone |
|
286 | field_time_zone: Time zone | |
286 | field_searchable: Searchable |
|
287 | field_searchable: Searchable | |
287 | field_default_value: Default value |
|
288 | field_default_value: Default value | |
288 | field_comments_sorting: Display comments |
|
289 | field_comments_sorting: Display comments | |
289 | field_parent_title: Parent page |
|
290 | field_parent_title: Parent page | |
290 | field_editable: Editable |
|
291 | field_editable: Editable | |
291 | field_watcher: Watcher |
|
292 | field_watcher: Watcher | |
292 | field_identity_url: OpenID URL |
|
293 | field_identity_url: OpenID URL | |
293 | field_content: Content |
|
294 | field_content: Content | |
294 | field_group_by: Group results by |
|
295 | field_group_by: Group results by | |
295 | field_sharing: Sharing |
|
296 | field_sharing: Sharing | |
296 | field_parent_issue: Parent task |
|
297 | field_parent_issue: Parent task | |
297 | field_member_of_group: "Assignee's group" |
|
298 | field_member_of_group: "Assignee's group" | |
298 | field_assigned_to_role: "Assignee's role" |
|
299 | field_assigned_to_role: "Assignee's role" | |
299 | field_text: Text field |
|
300 | field_text: Text field | |
300 | field_visible: Visible |
|
301 | field_visible: Visible | |
301 |
|
302 | |||
302 | setting_app_title: Application title |
|
303 | setting_app_title: Application title | |
303 | setting_app_subtitle: Application subtitle |
|
304 | setting_app_subtitle: Application subtitle | |
304 | setting_welcome_text: Welcome text |
|
305 | setting_welcome_text: Welcome text | |
305 | setting_default_language: Default language |
|
306 | setting_default_language: Default language | |
306 | setting_login_required: Authentication required |
|
307 | setting_login_required: Authentication required | |
307 | setting_self_registration: Self-registration |
|
308 | setting_self_registration: Self-registration | |
308 | setting_attachment_max_size: Attachment max. size |
|
309 | setting_attachment_max_size: Attachment max. size | |
309 | setting_issues_export_limit: Issues export limit |
|
310 | setting_issues_export_limit: Issues export limit | |
310 | setting_mail_from: Emission email address |
|
311 | setting_mail_from: Emission email address | |
311 | setting_bcc_recipients: Blind carbon copy recipients (bcc) |
|
312 | setting_bcc_recipients: Blind carbon copy recipients (bcc) | |
312 | setting_plain_text_mail: Plain text mail (no HTML) |
|
313 | setting_plain_text_mail: Plain text mail (no HTML) | |
313 | setting_host_name: Host name and path |
|
314 | setting_host_name: Host name and path | |
314 | setting_text_formatting: Text formatting |
|
315 | setting_text_formatting: Text formatting | |
315 | setting_wiki_compression: Wiki history compression |
|
316 | setting_wiki_compression: Wiki history compression | |
316 | setting_feeds_limit: Feed content limit |
|
317 | setting_feeds_limit: Feed content limit | |
317 | setting_default_projects_public: New projects are public by default |
|
318 | setting_default_projects_public: New projects are public by default | |
318 | setting_autofetch_changesets: Autofetch commits |
|
319 | setting_autofetch_changesets: Autofetch commits | |
319 | setting_sys_api_enabled: Enable WS for repository management |
|
320 | setting_sys_api_enabled: Enable WS for repository management | |
320 | setting_commit_ref_keywords: Referencing keywords |
|
321 | setting_commit_ref_keywords: Referencing keywords | |
321 | setting_commit_fix_keywords: Fixing keywords |
|
322 | setting_commit_fix_keywords: Fixing keywords | |
322 | setting_autologin: Autologin |
|
323 | setting_autologin: Autologin | |
323 | setting_date_format: Date format |
|
324 | setting_date_format: Date format | |
324 | setting_time_format: Time format |
|
325 | setting_time_format: Time format | |
325 | setting_cross_project_issue_relations: Allow cross-project issue relations |
|
326 | setting_cross_project_issue_relations: Allow cross-project issue relations | |
326 | setting_issue_list_default_columns: Default columns displayed on the issue list |
|
327 | setting_issue_list_default_columns: Default columns displayed on the issue list | |
327 | setting_repositories_encodings: Repositories encodings |
|
328 | setting_repositories_encodings: Repositories encodings | |
328 | setting_commit_logs_encoding: Commit messages encoding |
|
329 | setting_commit_logs_encoding: Commit messages encoding | |
329 | setting_emails_header: Emails header |
|
330 | setting_emails_header: Emails header | |
330 | setting_emails_footer: Emails footer |
|
331 | setting_emails_footer: Emails footer | |
331 | setting_protocol: Protocol |
|
332 | setting_protocol: Protocol | |
332 | setting_per_page_options: Objects per page options |
|
333 | setting_per_page_options: Objects per page options | |
333 | setting_user_format: Users display format |
|
334 | setting_user_format: Users display format | |
334 | setting_activity_days_default: Days displayed on project activity |
|
335 | setting_activity_days_default: Days displayed on project activity | |
335 | setting_display_subprojects_issues: Display subprojects issues on main projects by default |
|
336 | setting_display_subprojects_issues: Display subprojects issues on main projects by default | |
336 | setting_enabled_scm: Enabled SCM |
|
337 | setting_enabled_scm: Enabled SCM | |
337 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" |
|
338 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" | |
338 | setting_mail_handler_api_enabled: Enable WS for incoming emails |
|
339 | setting_mail_handler_api_enabled: Enable WS for incoming emails | |
339 | setting_mail_handler_api_key: API key |
|
340 | setting_mail_handler_api_key: API key | |
340 | setting_sequential_project_identifiers: Generate sequential project identifiers |
|
341 | setting_sequential_project_identifiers: Generate sequential project identifiers | |
341 | setting_gravatar_enabled: Use Gravatar user icons |
|
342 | setting_gravatar_enabled: Use Gravatar user icons | |
342 | setting_gravatar_default: Default Gravatar image |
|
343 | setting_gravatar_default: Default Gravatar image | |
343 | setting_diff_max_lines_displayed: Max number of diff lines displayed |
|
344 | setting_diff_max_lines_displayed: Max number of diff lines displayed | |
344 | setting_file_max_size_displayed: Max size of text files displayed inline |
|
345 | setting_file_max_size_displayed: Max size of text files displayed inline | |
345 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log |
|
346 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log | |
346 | setting_openid: Allow OpenID login and registration |
|
347 | setting_openid: Allow OpenID login and registration | |
347 | setting_password_min_length: Minimum password length |
|
348 | setting_password_min_length: Minimum password length | |
348 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project |
|
349 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project | |
349 | setting_default_projects_modules: Default enabled modules for new projects |
|
350 | setting_default_projects_modules: Default enabled modules for new projects | |
350 | setting_issue_done_ratio: Calculate the issue done ratio with |
|
351 | setting_issue_done_ratio: Calculate the issue done ratio with | |
351 | setting_issue_done_ratio_issue_field: Use the issue field |
|
352 | setting_issue_done_ratio_issue_field: Use the issue field | |
352 | setting_issue_done_ratio_issue_status: Use the issue status |
|
353 | setting_issue_done_ratio_issue_status: Use the issue status | |
353 | setting_start_of_week: Start calendars on |
|
354 | setting_start_of_week: Start calendars on | |
354 | setting_rest_api_enabled: Enable REST web service |
|
355 | setting_rest_api_enabled: Enable REST web service | |
355 | setting_cache_formatted_text: Cache formatted text |
|
356 | setting_cache_formatted_text: Cache formatted text | |
356 | setting_default_notification_option: Default notification option |
|
357 | setting_default_notification_option: Default notification option | |
357 | setting_commit_logtime_enabled: Enable time logging |
|
358 | setting_commit_logtime_enabled: Enable time logging | |
358 | setting_commit_logtime_activity_id: Activity for logged time |
|
359 | setting_commit_logtime_activity_id: Activity for logged time | |
|
360 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart | |||
359 |
|
361 | |||
360 | permission_add_project: Create project |
|
362 | permission_add_project: Create project | |
361 | permission_add_subprojects: Create subprojects |
|
363 | permission_add_subprojects: Create subprojects | |
362 | permission_edit_project: Edit project |
|
364 | permission_edit_project: Edit project | |
363 | permission_select_project_modules: Select project modules |
|
365 | permission_select_project_modules: Select project modules | |
364 | permission_manage_members: Manage members |
|
366 | permission_manage_members: Manage members | |
365 | permission_manage_project_activities: Manage project activities |
|
367 | permission_manage_project_activities: Manage project activities | |
366 | permission_manage_versions: Manage versions |
|
368 | permission_manage_versions: Manage versions | |
367 | permission_manage_categories: Manage issue categories |
|
369 | permission_manage_categories: Manage issue categories | |
368 | permission_view_issues: View Issues |
|
370 | permission_view_issues: View Issues | |
369 | permission_add_issues: Add issues |
|
371 | permission_add_issues: Add issues | |
370 | permission_edit_issues: Edit issues |
|
372 | permission_edit_issues: Edit issues | |
371 | permission_manage_issue_relations: Manage issue relations |
|
373 | permission_manage_issue_relations: Manage issue relations | |
372 | permission_add_issue_notes: Add notes |
|
374 | permission_add_issue_notes: Add notes | |
373 | permission_edit_issue_notes: Edit notes |
|
375 | permission_edit_issue_notes: Edit notes | |
374 | permission_edit_own_issue_notes: Edit own notes |
|
376 | permission_edit_own_issue_notes: Edit own notes | |
375 | permission_move_issues: Move issues |
|
377 | permission_move_issues: Move issues | |
376 | permission_delete_issues: Delete issues |
|
378 | permission_delete_issues: Delete issues | |
377 | permission_manage_public_queries: Manage public queries |
|
379 | permission_manage_public_queries: Manage public queries | |
378 | permission_save_queries: Save queries |
|
380 | permission_save_queries: Save queries | |
379 | permission_view_gantt: View gantt chart |
|
381 | permission_view_gantt: View gantt chart | |
380 | permission_view_calendar: View calendar |
|
382 | permission_view_calendar: View calendar | |
381 | permission_view_issue_watchers: View watchers list |
|
383 | permission_view_issue_watchers: View watchers list | |
382 | permission_add_issue_watchers: Add watchers |
|
384 | permission_add_issue_watchers: Add watchers | |
383 | permission_delete_issue_watchers: Delete watchers |
|
385 | permission_delete_issue_watchers: Delete watchers | |
384 | permission_log_time: Log spent time |
|
386 | permission_log_time: Log spent time | |
385 | permission_view_time_entries: View spent time |
|
387 | permission_view_time_entries: View spent time | |
386 | permission_edit_time_entries: Edit time logs |
|
388 | permission_edit_time_entries: Edit time logs | |
387 | permission_edit_own_time_entries: Edit own time logs |
|
389 | permission_edit_own_time_entries: Edit own time logs | |
388 | permission_manage_news: Manage news |
|
390 | permission_manage_news: Manage news | |
389 | permission_comment_news: Comment news |
|
391 | permission_comment_news: Comment news | |
390 | permission_manage_documents: Manage documents |
|
392 | permission_manage_documents: Manage documents | |
391 | permission_view_documents: View documents |
|
393 | permission_view_documents: View documents | |
392 | permission_manage_files: Manage files |
|
394 | permission_manage_files: Manage files | |
393 | permission_view_files: View files |
|
395 | permission_view_files: View files | |
394 | permission_manage_wiki: Manage wiki |
|
396 | permission_manage_wiki: Manage wiki | |
395 | permission_rename_wiki_pages: Rename wiki pages |
|
397 | permission_rename_wiki_pages: Rename wiki pages | |
396 | permission_delete_wiki_pages: Delete wiki pages |
|
398 | permission_delete_wiki_pages: Delete wiki pages | |
397 | permission_view_wiki_pages: View wiki |
|
399 | permission_view_wiki_pages: View wiki | |
398 | permission_view_wiki_edits: View wiki history |
|
400 | permission_view_wiki_edits: View wiki history | |
399 | permission_edit_wiki_pages: Edit wiki pages |
|
401 | permission_edit_wiki_pages: Edit wiki pages | |
400 | permission_delete_wiki_pages_attachments: Delete attachments |
|
402 | permission_delete_wiki_pages_attachments: Delete attachments | |
401 | permission_protect_wiki_pages: Protect wiki pages |
|
403 | permission_protect_wiki_pages: Protect wiki pages | |
402 | permission_manage_repository: Manage repository |
|
404 | permission_manage_repository: Manage repository | |
403 | permission_browse_repository: Browse repository |
|
405 | permission_browse_repository: Browse repository | |
404 | permission_view_changesets: View changesets |
|
406 | permission_view_changesets: View changesets | |
405 | permission_commit_access: Commit access |
|
407 | permission_commit_access: Commit access | |
406 | permission_manage_boards: Manage boards |
|
408 | permission_manage_boards: Manage boards | |
407 | permission_view_messages: View messages |
|
409 | permission_view_messages: View messages | |
408 | permission_add_messages: Post messages |
|
410 | permission_add_messages: Post messages | |
409 | permission_edit_messages: Edit messages |
|
411 | permission_edit_messages: Edit messages | |
410 | permission_edit_own_messages: Edit own messages |
|
412 | permission_edit_own_messages: Edit own messages | |
411 | permission_delete_messages: Delete messages |
|
413 | permission_delete_messages: Delete messages | |
412 | permission_delete_own_messages: Delete own messages |
|
414 | permission_delete_own_messages: Delete own messages | |
413 | permission_export_wiki_pages: Export wiki pages |
|
415 | permission_export_wiki_pages: Export wiki pages | |
414 | permission_manage_subtasks: Manage subtasks |
|
416 | permission_manage_subtasks: Manage subtasks | |
415 |
|
417 | |||
416 | project_module_issue_tracking: Issue tracking |
|
418 | project_module_issue_tracking: Issue tracking | |
417 | project_module_time_tracking: Time tracking |
|
419 | project_module_time_tracking: Time tracking | |
418 | project_module_news: News |
|
420 | project_module_news: News | |
419 | project_module_documents: Documents |
|
421 | project_module_documents: Documents | |
420 | project_module_files: Files |
|
422 | project_module_files: Files | |
421 | project_module_wiki: Wiki |
|
423 | project_module_wiki: Wiki | |
422 | project_module_repository: Repository |
|
424 | project_module_repository: Repository | |
423 | project_module_boards: Boards |
|
425 | project_module_boards: Boards | |
424 | project_module_calendar: Calendar |
|
426 | project_module_calendar: Calendar | |
425 | project_module_gantt: Gantt |
|
427 | project_module_gantt: Gantt | |
426 |
|
428 | |||
427 | label_user: User |
|
429 | label_user: User | |
428 | label_user_plural: Users |
|
430 | label_user_plural: Users | |
429 | label_user_new: New user |
|
431 | label_user_new: New user | |
430 | label_user_anonymous: Anonymous |
|
432 | label_user_anonymous: Anonymous | |
431 | label_project: Project |
|
433 | label_project: Project | |
432 | label_project_new: New project |
|
434 | label_project_new: New project | |
433 | label_project_plural: Projects |
|
435 | label_project_plural: Projects | |
434 | label_x_projects: |
|
436 | label_x_projects: | |
435 | zero: no projects |
|
437 | zero: no projects | |
436 | one: 1 project |
|
438 | one: 1 project | |
437 | other: "{{count}} projects" |
|
439 | other: "{{count}} projects" | |
438 | label_project_all: All Projects |
|
440 | label_project_all: All Projects | |
439 | label_project_latest: Latest projects |
|
441 | label_project_latest: Latest projects | |
440 | label_issue: Issue |
|
442 | label_issue: Issue | |
441 | label_issue_new: New issue |
|
443 | label_issue_new: New issue | |
442 | label_issue_plural: Issues |
|
444 | label_issue_plural: Issues | |
443 | label_issue_view_all: View all issues |
|
445 | label_issue_view_all: View all issues | |
444 | label_issues_by: "Issues by {{value}}" |
|
446 | label_issues_by: "Issues by {{value}}" | |
445 | label_issue_added: Issue added |
|
447 | label_issue_added: Issue added | |
446 | label_issue_updated: Issue updated |
|
448 | label_issue_updated: Issue updated | |
447 | label_document: Document |
|
449 | label_document: Document | |
448 | label_document_new: New document |
|
450 | label_document_new: New document | |
449 | label_document_plural: Documents |
|
451 | label_document_plural: Documents | |
450 | label_document_added: Document added |
|
452 | label_document_added: Document added | |
451 | label_role: Role |
|
453 | label_role: Role | |
452 | label_role_plural: Roles |
|
454 | label_role_plural: Roles | |
453 | label_role_new: New role |
|
455 | label_role_new: New role | |
454 | label_role_and_permissions: Roles and permissions |
|
456 | label_role_and_permissions: Roles and permissions | |
455 | label_member: Member |
|
457 | label_member: Member | |
456 | label_member_new: New member |
|
458 | label_member_new: New member | |
457 | label_member_plural: Members |
|
459 | label_member_plural: Members | |
458 | label_tracker: Tracker |
|
460 | label_tracker: Tracker | |
459 | label_tracker_plural: Trackers |
|
461 | label_tracker_plural: Trackers | |
460 | label_tracker_new: New tracker |
|
462 | label_tracker_new: New tracker | |
461 | label_workflow: Workflow |
|
463 | label_workflow: Workflow | |
462 | label_issue_status: Issue status |
|
464 | label_issue_status: Issue status | |
463 | label_issue_status_plural: Issue statuses |
|
465 | label_issue_status_plural: Issue statuses | |
464 | label_issue_status_new: New status |
|
466 | label_issue_status_new: New status | |
465 | label_issue_category: Issue category |
|
467 | label_issue_category: Issue category | |
466 | label_issue_category_plural: Issue categories |
|
468 | label_issue_category_plural: Issue categories | |
467 | label_issue_category_new: New category |
|
469 | label_issue_category_new: New category | |
468 | label_custom_field: Custom field |
|
470 | label_custom_field: Custom field | |
469 | label_custom_field_plural: Custom fields |
|
471 | label_custom_field_plural: Custom fields | |
470 | label_custom_field_new: New custom field |
|
472 | label_custom_field_new: New custom field | |
471 | label_enumerations: Enumerations |
|
473 | label_enumerations: Enumerations | |
472 | label_enumeration_new: New value |
|
474 | label_enumeration_new: New value | |
473 | label_information: Information |
|
475 | label_information: Information | |
474 | label_information_plural: Information |
|
476 | label_information_plural: Information | |
475 | label_please_login: Please log in |
|
477 | label_please_login: Please log in | |
476 | label_register: Register |
|
478 | label_register: Register | |
477 | label_login_with_open_id_option: or login with OpenID |
|
479 | label_login_with_open_id_option: or login with OpenID | |
478 | label_password_lost: Lost password |
|
480 | label_password_lost: Lost password | |
479 | label_home: Home |
|
481 | label_home: Home | |
480 | label_my_page: My page |
|
482 | label_my_page: My page | |
481 | label_my_account: My account |
|
483 | label_my_account: My account | |
482 | label_my_projects: My projects |
|
484 | label_my_projects: My projects | |
483 | label_my_page_block: My page block |
|
485 | label_my_page_block: My page block | |
484 | label_administration: Administration |
|
486 | label_administration: Administration | |
485 | label_login: Sign in |
|
487 | label_login: Sign in | |
486 | label_logout: Sign out |
|
488 | label_logout: Sign out | |
487 | label_help: Help |
|
489 | label_help: Help | |
488 | label_reported_issues: Reported issues |
|
490 | label_reported_issues: Reported issues | |
489 | label_assigned_to_me_issues: Issues assigned to me |
|
491 | label_assigned_to_me_issues: Issues assigned to me | |
490 | label_last_login: Last connection |
|
492 | label_last_login: Last connection | |
491 | label_registered_on: Registered on |
|
493 | label_registered_on: Registered on | |
492 | label_activity: Activity |
|
494 | label_activity: Activity | |
493 | label_overall_activity: Overall activity |
|
495 | label_overall_activity: Overall activity | |
494 | label_user_activity: "{{value}}'s activity" |
|
496 | label_user_activity: "{{value}}'s activity" | |
495 | label_new: New |
|
497 | label_new: New | |
496 | label_logged_as: Logged in as |
|
498 | label_logged_as: Logged in as | |
497 | label_environment: Environment |
|
499 | label_environment: Environment | |
498 | label_authentication: Authentication |
|
500 | label_authentication: Authentication | |
499 | label_auth_source: Authentication mode |
|
501 | label_auth_source: Authentication mode | |
500 | label_auth_source_new: New authentication mode |
|
502 | label_auth_source_new: New authentication mode | |
501 | label_auth_source_plural: Authentication modes |
|
503 | label_auth_source_plural: Authentication modes | |
502 | label_subproject_plural: Subprojects |
|
504 | label_subproject_plural: Subprojects | |
503 | label_subproject_new: New subproject |
|
505 | label_subproject_new: New subproject | |
504 | label_and_its_subprojects: "{{value}} and its subprojects" |
|
506 | label_and_its_subprojects: "{{value}} and its subprojects" | |
505 | label_min_max_length: Min - Max length |
|
507 | label_min_max_length: Min - Max length | |
506 | label_list: List |
|
508 | label_list: List | |
507 | label_date: Date |
|
509 | label_date: Date | |
508 | label_integer: Integer |
|
510 | label_integer: Integer | |
509 | label_float: Float |
|
511 | label_float: Float | |
510 | label_boolean: Boolean |
|
512 | label_boolean: Boolean | |
511 | label_string: Text |
|
513 | label_string: Text | |
512 | label_text: Long text |
|
514 | label_text: Long text | |
513 | label_attribute: Attribute |
|
515 | label_attribute: Attribute | |
514 | label_attribute_plural: Attributes |
|
516 | label_attribute_plural: Attributes | |
515 | label_download: "{{count}} Download" |
|
517 | label_download: "{{count}} Download" | |
516 | label_download_plural: "{{count}} Downloads" |
|
518 | label_download_plural: "{{count}} Downloads" | |
517 | label_no_data: No data to display |
|
519 | label_no_data: No data to display | |
518 | label_change_status: Change status |
|
520 | label_change_status: Change status | |
519 | label_history: History |
|
521 | label_history: History | |
520 | label_attachment: File |
|
522 | label_attachment: File | |
521 | label_attachment_new: New file |
|
523 | label_attachment_new: New file | |
522 | label_attachment_delete: Delete file |
|
524 | label_attachment_delete: Delete file | |
523 | label_attachment_plural: Files |
|
525 | label_attachment_plural: Files | |
524 | label_file_added: File added |
|
526 | label_file_added: File added | |
525 | label_report: Report |
|
527 | label_report: Report | |
526 | label_report_plural: Reports |
|
528 | label_report_plural: Reports | |
527 | label_news: News |
|
529 | label_news: News | |
528 | label_news_new: Add news |
|
530 | label_news_new: Add news | |
529 | label_news_plural: News |
|
531 | label_news_plural: News | |
530 | label_news_latest: Latest news |
|
532 | label_news_latest: Latest news | |
531 | label_news_view_all: View all news |
|
533 | label_news_view_all: View all news | |
532 | label_news_added: News added |
|
534 | label_news_added: News added | |
533 | label_settings: Settings |
|
535 | label_settings: Settings | |
534 | label_overview: Overview |
|
536 | label_overview: Overview | |
535 | label_version: Version |
|
537 | label_version: Version | |
536 | label_version_new: New version |
|
538 | label_version_new: New version | |
537 | label_version_plural: Versions |
|
539 | label_version_plural: Versions | |
538 | label_close_versions: Close completed versions |
|
540 | label_close_versions: Close completed versions | |
539 | label_confirmation: Confirmation |
|
541 | label_confirmation: Confirmation | |
540 | label_export_to: 'Also available in:' |
|
542 | label_export_to: 'Also available in:' | |
541 | label_read: Read... |
|
543 | label_read: Read... | |
542 | label_public_projects: Public projects |
|
544 | label_public_projects: Public projects | |
543 | label_open_issues: open |
|
545 | label_open_issues: open | |
544 | label_open_issues_plural: open |
|
546 | label_open_issues_plural: open | |
545 | label_closed_issues: closed |
|
547 | label_closed_issues: closed | |
546 | label_closed_issues_plural: closed |
|
548 | label_closed_issues_plural: closed | |
547 | label_x_open_issues_abbr_on_total: |
|
549 | label_x_open_issues_abbr_on_total: | |
548 | zero: 0 open / {{total}} |
|
550 | zero: 0 open / {{total}} | |
549 | one: 1 open / {{total}} |
|
551 | one: 1 open / {{total}} | |
550 | other: "{{count}} open / {{total}}" |
|
552 | other: "{{count}} open / {{total}}" | |
551 | label_x_open_issues_abbr: |
|
553 | label_x_open_issues_abbr: | |
552 | zero: 0 open |
|
554 | zero: 0 open | |
553 | one: 1 open |
|
555 | one: 1 open | |
554 | other: "{{count}} open" |
|
556 | other: "{{count}} open" | |
555 | label_x_closed_issues_abbr: |
|
557 | label_x_closed_issues_abbr: | |
556 | zero: 0 closed |
|
558 | zero: 0 closed | |
557 | one: 1 closed |
|
559 | one: 1 closed | |
558 | other: "{{count}} closed" |
|
560 | other: "{{count}} closed" | |
559 | label_total: Total |
|
561 | label_total: Total | |
560 | label_permissions: Permissions |
|
562 | label_permissions: Permissions | |
561 | label_current_status: Current status |
|
563 | label_current_status: Current status | |
562 | label_new_statuses_allowed: New statuses allowed |
|
564 | label_new_statuses_allowed: New statuses allowed | |
563 | label_all: all |
|
565 | label_all: all | |
564 | label_none: none |
|
566 | label_none: none | |
565 | label_nobody: nobody |
|
567 | label_nobody: nobody | |
566 | label_next: Next |
|
568 | label_next: Next | |
567 | label_previous: Previous |
|
569 | label_previous: Previous | |
568 | label_used_by: Used by |
|
570 | label_used_by: Used by | |
569 | label_details: Details |
|
571 | label_details: Details | |
570 | label_add_note: Add a note |
|
572 | label_add_note: Add a note | |
571 | label_per_page: Per page |
|
573 | label_per_page: Per page | |
572 | label_calendar: Calendar |
|
574 | label_calendar: Calendar | |
573 | label_months_from: months from |
|
575 | label_months_from: months from | |
574 | label_gantt: Gantt |
|
576 | label_gantt: Gantt | |
575 | label_internal: Internal |
|
577 | label_internal: Internal | |
576 | label_last_changes: "last {{count}} changes" |
|
578 | label_last_changes: "last {{count}} changes" | |
577 | label_change_view_all: View all changes |
|
579 | label_change_view_all: View all changes | |
578 | label_personalize_page: Personalize this page |
|
580 | label_personalize_page: Personalize this page | |
579 | label_comment: Comment |
|
581 | label_comment: Comment | |
580 | label_comment_plural: Comments |
|
582 | label_comment_plural: Comments | |
581 | label_x_comments: |
|
583 | label_x_comments: | |
582 | zero: no comments |
|
584 | zero: no comments | |
583 | one: 1 comment |
|
585 | one: 1 comment | |
584 | other: "{{count}} comments" |
|
586 | other: "{{count}} comments" | |
585 | label_comment_add: Add a comment |
|
587 | label_comment_add: Add a comment | |
586 | label_comment_added: Comment added |
|
588 | label_comment_added: Comment added | |
587 | label_comment_delete: Delete comments |
|
589 | label_comment_delete: Delete comments | |
588 | label_query: Custom query |
|
590 | label_query: Custom query | |
589 | label_query_plural: Custom queries |
|
591 | label_query_plural: Custom queries | |
590 | label_query_new: New query |
|
592 | label_query_new: New query | |
591 | label_filter_add: Add filter |
|
593 | label_filter_add: Add filter | |
592 | label_filter_plural: Filters |
|
594 | label_filter_plural: Filters | |
593 | label_equals: is |
|
595 | label_equals: is | |
594 | label_not_equals: is not |
|
596 | label_not_equals: is not | |
595 | label_in_less_than: in less than |
|
597 | label_in_less_than: in less than | |
596 | label_in_more_than: in more than |
|
598 | label_in_more_than: in more than | |
597 | label_greater_or_equal: '>=' |
|
599 | label_greater_or_equal: '>=' | |
598 | label_less_or_equal: '<=' |
|
600 | label_less_or_equal: '<=' | |
599 | label_in: in |
|
601 | label_in: in | |
600 | label_today: today |
|
602 | label_today: today | |
601 | label_all_time: all time |
|
603 | label_all_time: all time | |
602 | label_yesterday: yesterday |
|
604 | label_yesterday: yesterday | |
603 | label_this_week: this week |
|
605 | label_this_week: this week | |
604 | label_last_week: last week |
|
606 | label_last_week: last week | |
605 | label_last_n_days: "last {{count}} days" |
|
607 | label_last_n_days: "last {{count}} days" | |
606 | label_this_month: this month |
|
608 | label_this_month: this month | |
607 | label_last_month: last month |
|
609 | label_last_month: last month | |
608 | label_this_year: this year |
|
610 | label_this_year: this year | |
609 | label_date_range: Date range |
|
611 | label_date_range: Date range | |
610 | label_less_than_ago: less than days ago |
|
612 | label_less_than_ago: less than days ago | |
611 | label_more_than_ago: more than days ago |
|
613 | label_more_than_ago: more than days ago | |
612 | label_ago: days ago |
|
614 | label_ago: days ago | |
613 | label_contains: contains |
|
615 | label_contains: contains | |
614 | label_not_contains: doesn't contain |
|
616 | label_not_contains: doesn't contain | |
615 | label_day_plural: days |
|
617 | label_day_plural: days | |
616 | label_repository: Repository |
|
618 | label_repository: Repository | |
617 | label_repository_plural: Repositories |
|
619 | label_repository_plural: Repositories | |
618 | label_browse: Browse |
|
620 | label_browse: Browse | |
619 | label_modification: "{{count}} change" |
|
621 | label_modification: "{{count}} change" | |
620 | label_modification_plural: "{{count}} changes" |
|
622 | label_modification_plural: "{{count}} changes" | |
621 | label_branch: Branch |
|
623 | label_branch: Branch | |
622 | label_tag: Tag |
|
624 | label_tag: Tag | |
623 | label_revision: Revision |
|
625 | label_revision: Revision | |
624 | label_revision_plural: Revisions |
|
626 | label_revision_plural: Revisions | |
625 | label_revision_id: "Revision {{value}}" |
|
627 | label_revision_id: "Revision {{value}}" | |
626 | label_associated_revisions: Associated revisions |
|
628 | label_associated_revisions: Associated revisions | |
627 | label_added: added |
|
629 | label_added: added | |
628 | label_modified: modified |
|
630 | label_modified: modified | |
629 | label_copied: copied |
|
631 | label_copied: copied | |
630 | label_renamed: renamed |
|
632 | label_renamed: renamed | |
631 | label_deleted: deleted |
|
633 | label_deleted: deleted | |
632 | label_latest_revision: Latest revision |
|
634 | label_latest_revision: Latest revision | |
633 | label_latest_revision_plural: Latest revisions |
|
635 | label_latest_revision_plural: Latest revisions | |
634 | label_view_revisions: View revisions |
|
636 | label_view_revisions: View revisions | |
635 | label_view_all_revisions: View all revisions |
|
637 | label_view_all_revisions: View all revisions | |
636 | label_max_size: Maximum size |
|
638 | label_max_size: Maximum size | |
637 | label_sort_highest: Move to top |
|
639 | label_sort_highest: Move to top | |
638 | label_sort_higher: Move up |
|
640 | label_sort_higher: Move up | |
639 | label_sort_lower: Move down |
|
641 | label_sort_lower: Move down | |
640 | label_sort_lowest: Move to bottom |
|
642 | label_sort_lowest: Move to bottom | |
641 | label_roadmap: Roadmap |
|
643 | label_roadmap: Roadmap | |
642 | label_roadmap_due_in: "Due in {{value}}" |
|
644 | label_roadmap_due_in: "Due in {{value}}" | |
643 | label_roadmap_overdue: "{{value}} late" |
|
645 | label_roadmap_overdue: "{{value}} late" | |
644 | label_roadmap_no_issues: No issues for this version |
|
646 | label_roadmap_no_issues: No issues for this version | |
645 | label_search: Search |
|
647 | label_search: Search | |
646 | label_result_plural: Results |
|
648 | label_result_plural: Results | |
647 | label_all_words: All words |
|
649 | label_all_words: All words | |
648 | label_wiki: Wiki |
|
650 | label_wiki: Wiki | |
649 | label_wiki_edit: Wiki edit |
|
651 | label_wiki_edit: Wiki edit | |
650 | label_wiki_edit_plural: Wiki edits |
|
652 | label_wiki_edit_plural: Wiki edits | |
651 | label_wiki_page: Wiki page |
|
653 | label_wiki_page: Wiki page | |
652 | label_wiki_page_plural: Wiki pages |
|
654 | label_wiki_page_plural: Wiki pages | |
653 | label_index_by_title: Index by title |
|
655 | label_index_by_title: Index by title | |
654 | label_index_by_date: Index by date |
|
656 | label_index_by_date: Index by date | |
655 | label_current_version: Current version |
|
657 | label_current_version: Current version | |
656 | label_preview: Preview |
|
658 | label_preview: Preview | |
657 | label_feed_plural: Feeds |
|
659 | label_feed_plural: Feeds | |
658 | label_changes_details: Details of all changes |
|
660 | label_changes_details: Details of all changes | |
659 | label_issue_tracking: Issue tracking |
|
661 | label_issue_tracking: Issue tracking | |
660 | label_spent_time: Spent time |
|
662 | label_spent_time: Spent time | |
661 | label_overall_spent_time: Overall spent time |
|
663 | label_overall_spent_time: Overall spent time | |
662 | label_f_hour: "{{value}} hour" |
|
664 | label_f_hour: "{{value}} hour" | |
663 | label_f_hour_plural: "{{value}} hours" |
|
665 | label_f_hour_plural: "{{value}} hours" | |
664 | label_time_tracking: Time tracking |
|
666 | label_time_tracking: Time tracking | |
665 | label_change_plural: Changes |
|
667 | label_change_plural: Changes | |
666 | label_statistics: Statistics |
|
668 | label_statistics: Statistics | |
667 | label_commits_per_month: Commits per month |
|
669 | label_commits_per_month: Commits per month | |
668 | label_commits_per_author: Commits per author |
|
670 | label_commits_per_author: Commits per author | |
669 | label_view_diff: View differences |
|
671 | label_view_diff: View differences | |
670 | label_diff_inline: inline |
|
672 | label_diff_inline: inline | |
671 | label_diff_side_by_side: side by side |
|
673 | label_diff_side_by_side: side by side | |
672 | label_options: Options |
|
674 | label_options: Options | |
673 | label_copy_workflow_from: Copy workflow from |
|
675 | label_copy_workflow_from: Copy workflow from | |
674 | label_permissions_report: Permissions report |
|
676 | label_permissions_report: Permissions report | |
675 | label_watched_issues: Watched issues |
|
677 | label_watched_issues: Watched issues | |
676 | label_related_issues: Related issues |
|
678 | label_related_issues: Related issues | |
677 | label_applied_status: Applied status |
|
679 | label_applied_status: Applied status | |
678 | label_loading: Loading... |
|
680 | label_loading: Loading... | |
679 | label_relation_new: New relation |
|
681 | label_relation_new: New relation | |
680 | label_relation_delete: Delete relation |
|
682 | label_relation_delete: Delete relation | |
681 | label_relates_to: related to |
|
683 | label_relates_to: related to | |
682 | label_duplicates: duplicates |
|
684 | label_duplicates: duplicates | |
683 | label_duplicated_by: duplicated by |
|
685 | label_duplicated_by: duplicated by | |
684 | label_blocks: blocks |
|
686 | label_blocks: blocks | |
685 | label_blocked_by: blocked by |
|
687 | label_blocked_by: blocked by | |
686 | label_precedes: precedes |
|
688 | label_precedes: precedes | |
687 | label_follows: follows |
|
689 | label_follows: follows | |
688 | label_end_to_start: end to start |
|
690 | label_end_to_start: end to start | |
689 | label_end_to_end: end to end |
|
691 | label_end_to_end: end to end | |
690 | label_start_to_start: start to start |
|
692 | label_start_to_start: start to start | |
691 | label_start_to_end: start to end |
|
693 | label_start_to_end: start to end | |
692 | label_stay_logged_in: Stay logged in |
|
694 | label_stay_logged_in: Stay logged in | |
693 | label_disabled: disabled |
|
695 | label_disabled: disabled | |
694 | label_show_completed_versions: Show completed versions |
|
696 | label_show_completed_versions: Show completed versions | |
695 | label_me: me |
|
697 | label_me: me | |
696 | label_board: Forum |
|
698 | label_board: Forum | |
697 | label_board_new: New forum |
|
699 | label_board_new: New forum | |
698 | label_board_plural: Forums |
|
700 | label_board_plural: Forums | |
699 | label_board_locked: Locked |
|
701 | label_board_locked: Locked | |
700 | label_board_sticky: Sticky |
|
702 | label_board_sticky: Sticky | |
701 | label_topic_plural: Topics |
|
703 | label_topic_plural: Topics | |
702 | label_message_plural: Messages |
|
704 | label_message_plural: Messages | |
703 | label_message_last: Last message |
|
705 | label_message_last: Last message | |
704 | label_message_new: New message |
|
706 | label_message_new: New message | |
705 | label_message_posted: Message added |
|
707 | label_message_posted: Message added | |
706 | label_reply_plural: Replies |
|
708 | label_reply_plural: Replies | |
707 | label_send_information: Send account information to the user |
|
709 | label_send_information: Send account information to the user | |
708 | label_year: Year |
|
710 | label_year: Year | |
709 | label_month: Month |
|
711 | label_month: Month | |
710 | label_week: Week |
|
712 | label_week: Week | |
711 | label_date_from: From |
|
713 | label_date_from: From | |
712 | label_date_to: To |
|
714 | label_date_to: To | |
713 | label_language_based: Based on user's language |
|
715 | label_language_based: Based on user's language | |
714 | label_sort_by: "Sort by {{value}}" |
|
716 | label_sort_by: "Sort by {{value}}" | |
715 | label_send_test_email: Send a test email |
|
717 | label_send_test_email: Send a test email | |
716 | label_feeds_access_key: RSS access key |
|
718 | label_feeds_access_key: RSS access key | |
717 | label_missing_feeds_access_key: Missing a RSS access key |
|
719 | label_missing_feeds_access_key: Missing a RSS access key | |
718 | label_feeds_access_key_created_on: "RSS access key created {{value}} ago" |
|
720 | label_feeds_access_key_created_on: "RSS access key created {{value}} ago" | |
719 | label_module_plural: Modules |
|
721 | label_module_plural: Modules | |
720 | label_added_time_by: "Added by {{author}} {{age}} ago" |
|
722 | label_added_time_by: "Added by {{author}} {{age}} ago" | |
721 | label_updated_time_by: "Updated by {{author}} {{age}} ago" |
|
723 | label_updated_time_by: "Updated by {{author}} {{age}} ago" | |
722 | label_updated_time: "Updated {{value}} ago" |
|
724 | label_updated_time: "Updated {{value}} ago" | |
723 | label_jump_to_a_project: Jump to a project... |
|
725 | label_jump_to_a_project: Jump to a project... | |
724 | label_file_plural: Files |
|
726 | label_file_plural: Files | |
725 | label_changeset_plural: Changesets |
|
727 | label_changeset_plural: Changesets | |
726 | label_default_columns: Default columns |
|
728 | label_default_columns: Default columns | |
727 | label_no_change_option: (No change) |
|
729 | label_no_change_option: (No change) | |
728 | label_bulk_edit_selected_issues: Bulk edit selected issues |
|
730 | label_bulk_edit_selected_issues: Bulk edit selected issues | |
729 | label_theme: Theme |
|
731 | label_theme: Theme | |
730 | label_default: Default |
|
732 | label_default: Default | |
731 | label_search_titles_only: Search titles only |
|
733 | label_search_titles_only: Search titles only | |
732 | label_user_mail_option_all: "For any event on all my projects" |
|
734 | label_user_mail_option_all: "For any event on all my projects" | |
733 | label_user_mail_option_selected: "For any event on the selected projects only..." |
|
735 | label_user_mail_option_selected: "For any event on the selected projects only..." | |
734 | label_user_mail_option_none: "No events" |
|
736 | label_user_mail_option_none: "No events" | |
735 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" |
|
737 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" | |
736 | label_user_mail_option_only_assigned: "Only for things I am assigned to" |
|
738 | label_user_mail_option_only_assigned: "Only for things I am assigned to" | |
737 | label_user_mail_option_only_owner: "Only for things I am the owner of" |
|
739 | label_user_mail_option_only_owner: "Only for things I am the owner of" | |
738 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" |
|
740 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" | |
739 | label_registration_activation_by_email: account activation by email |
|
741 | label_registration_activation_by_email: account activation by email | |
740 | label_registration_manual_activation: manual account activation |
|
742 | label_registration_manual_activation: manual account activation | |
741 | label_registration_automatic_activation: automatic account activation |
|
743 | label_registration_automatic_activation: automatic account activation | |
742 | label_display_per_page: "Per page: {{value}}" |
|
744 | label_display_per_page: "Per page: {{value}}" | |
743 | label_age: Age |
|
745 | label_age: Age | |
744 | label_change_properties: Change properties |
|
746 | label_change_properties: Change properties | |
745 | label_general: General |
|
747 | label_general: General | |
746 | label_more: More |
|
748 | label_more: More | |
747 | label_scm: SCM |
|
749 | label_scm: SCM | |
748 | label_plugins: Plugins |
|
750 | label_plugins: Plugins | |
749 | label_ldap_authentication: LDAP authentication |
|
751 | label_ldap_authentication: LDAP authentication | |
750 | label_downloads_abbr: D/L |
|
752 | label_downloads_abbr: D/L | |
751 | label_optional_description: Optional description |
|
753 | label_optional_description: Optional description | |
752 | label_add_another_file: Add another file |
|
754 | label_add_another_file: Add another file | |
753 | label_preferences: Preferences |
|
755 | label_preferences: Preferences | |
754 | label_chronological_order: In chronological order |
|
756 | label_chronological_order: In chronological order | |
755 | label_reverse_chronological_order: In reverse chronological order |
|
757 | label_reverse_chronological_order: In reverse chronological order | |
756 | label_planning: Planning |
|
758 | label_planning: Planning | |
757 | label_incoming_emails: Incoming emails |
|
759 | label_incoming_emails: Incoming emails | |
758 | label_generate_key: Generate a key |
|
760 | label_generate_key: Generate a key | |
759 | label_issue_watchers: Watchers |
|
761 | label_issue_watchers: Watchers | |
760 | label_example: Example |
|
762 | label_example: Example | |
761 | label_display: Display |
|
763 | label_display: Display | |
762 | label_sort: Sort |
|
764 | label_sort: Sort | |
763 | label_ascending: Ascending |
|
765 | label_ascending: Ascending | |
764 | label_descending: Descending |
|
766 | label_descending: Descending | |
765 | label_date_from_to: From {{start}} to {{end}} |
|
767 | label_date_from_to: From {{start}} to {{end}} | |
766 | label_wiki_content_added: Wiki page added |
|
768 | label_wiki_content_added: Wiki page added | |
767 | label_wiki_content_updated: Wiki page updated |
|
769 | label_wiki_content_updated: Wiki page updated | |
768 | label_group: Group |
|
770 | label_group: Group | |
769 | label_group_plural: Groups |
|
771 | label_group_plural: Groups | |
770 | label_group_new: New group |
|
772 | label_group_new: New group | |
771 | label_time_entry_plural: Spent time |
|
773 | label_time_entry_plural: Spent time | |
772 | label_version_sharing_none: Not shared |
|
774 | label_version_sharing_none: Not shared | |
773 | label_version_sharing_descendants: With subprojects |
|
775 | label_version_sharing_descendants: With subprojects | |
774 | label_version_sharing_hierarchy: With project hierarchy |
|
776 | label_version_sharing_hierarchy: With project hierarchy | |
775 | label_version_sharing_tree: With project tree |
|
777 | label_version_sharing_tree: With project tree | |
776 | label_version_sharing_system: With all projects |
|
778 | label_version_sharing_system: With all projects | |
777 | label_update_issue_done_ratios: Update issue done ratios |
|
779 | label_update_issue_done_ratios: Update issue done ratios | |
778 | label_copy_source: Source |
|
780 | label_copy_source: Source | |
779 | label_copy_target: Target |
|
781 | label_copy_target: Target | |
780 | label_copy_same_as_target: Same as target |
|
782 | label_copy_same_as_target: Same as target | |
781 | label_display_used_statuses_only: Only display statuses that are used by this tracker |
|
783 | label_display_used_statuses_only: Only display statuses that are used by this tracker | |
782 | label_api_access_key: API access key |
|
784 | label_api_access_key: API access key | |
783 | label_missing_api_access_key: Missing an API access key |
|
785 | label_missing_api_access_key: Missing an API access key | |
784 | label_api_access_key_created_on: "API access key created {{value}} ago" |
|
786 | label_api_access_key_created_on: "API access key created {{value}} ago" | |
785 | label_profile: Profile |
|
787 | label_profile: Profile | |
786 | label_subtask_plural: Subtasks |
|
788 | label_subtask_plural: Subtasks | |
787 | label_project_copy_notifications: Send email notifications during the project copy |
|
789 | label_project_copy_notifications: Send email notifications during the project copy | |
788 | label_principal_search: "Search for user or group:" |
|
790 | label_principal_search: "Search for user or group:" | |
789 | label_user_search: "Search for user:" |
|
791 | label_user_search: "Search for user:" | |
790 |
|
792 | |||
791 | button_login: Login |
|
793 | button_login: Login | |
792 | button_submit: Submit |
|
794 | button_submit: Submit | |
793 | button_save: Save |
|
795 | button_save: Save | |
794 | button_check_all: Check all |
|
796 | button_check_all: Check all | |
795 | button_uncheck_all: Uncheck all |
|
797 | button_uncheck_all: Uncheck all | |
796 | button_delete: Delete |
|
798 | button_delete: Delete | |
797 | button_create: Create |
|
799 | button_create: Create | |
798 | button_create_and_continue: Create and continue |
|
800 | button_create_and_continue: Create and continue | |
799 | button_test: Test |
|
801 | button_test: Test | |
800 | button_edit: Edit |
|
802 | button_edit: Edit | |
801 | button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}" |
|
803 | button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}" | |
802 | button_add: Add |
|
804 | button_add: Add | |
803 | button_change: Change |
|
805 | button_change: Change | |
804 | button_apply: Apply |
|
806 | button_apply: Apply | |
805 | button_clear: Clear |
|
807 | button_clear: Clear | |
806 | button_lock: Lock |
|
808 | button_lock: Lock | |
807 | button_unlock: Unlock |
|
809 | button_unlock: Unlock | |
808 | button_download: Download |
|
810 | button_download: Download | |
809 | button_list: List |
|
811 | button_list: List | |
810 | button_view: View |
|
812 | button_view: View | |
811 | button_move: Move |
|
813 | button_move: Move | |
812 | button_move_and_follow: Move and follow |
|
814 | button_move_and_follow: Move and follow | |
813 | button_back: Back |
|
815 | button_back: Back | |
814 | button_cancel: Cancel |
|
816 | button_cancel: Cancel | |
815 | button_activate: Activate |
|
817 | button_activate: Activate | |
816 | button_sort: Sort |
|
818 | button_sort: Sort | |
817 | button_log_time: Log time |
|
819 | button_log_time: Log time | |
818 | button_rollback: Rollback to this version |
|
820 | button_rollback: Rollback to this version | |
819 | button_watch: Watch |
|
821 | button_watch: Watch | |
820 | button_unwatch: Unwatch |
|
822 | button_unwatch: Unwatch | |
821 | button_reply: Reply |
|
823 | button_reply: Reply | |
822 | button_archive: Archive |
|
824 | button_archive: Archive | |
823 | button_unarchive: Unarchive |
|
825 | button_unarchive: Unarchive | |
824 | button_reset: Reset |
|
826 | button_reset: Reset | |
825 | button_rename: Rename |
|
827 | button_rename: Rename | |
826 | button_change_password: Change password |
|
828 | button_change_password: Change password | |
827 | button_copy: Copy |
|
829 | button_copy: Copy | |
828 | button_copy_and_follow: Copy and follow |
|
830 | button_copy_and_follow: Copy and follow | |
829 | button_annotate: Annotate |
|
831 | button_annotate: Annotate | |
830 | button_update: Update |
|
832 | button_update: Update | |
831 | button_configure: Configure |
|
833 | button_configure: Configure | |
832 | button_quote: Quote |
|
834 | button_quote: Quote | |
833 | button_duplicate: Duplicate |
|
835 | button_duplicate: Duplicate | |
834 | button_show: Show |
|
836 | button_show: Show | |
835 |
|
837 | |||
836 | status_active: active |
|
838 | status_active: active | |
837 | status_registered: registered |
|
839 | status_registered: registered | |
838 | status_locked: locked |
|
840 | status_locked: locked | |
839 |
|
841 | |||
840 | version_status_open: open |
|
842 | version_status_open: open | |
841 | version_status_locked: locked |
|
843 | version_status_locked: locked | |
842 | version_status_closed: closed |
|
844 | version_status_closed: closed | |
843 |
|
845 | |||
844 | field_active: Active |
|
846 | field_active: Active | |
845 |
|
847 | |||
846 | text_select_mail_notifications: Select actions for which email notifications should be sent. |
|
848 | text_select_mail_notifications: Select actions for which email notifications should be sent. | |
847 | text_regexp_info: eg. ^[A-Z0-9]+$ |
|
849 | text_regexp_info: eg. ^[A-Z0-9]+$ | |
848 | text_min_max_length_info: 0 means no restriction |
|
850 | text_min_max_length_info: 0 means no restriction | |
849 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data ? |
|
851 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data ? | |
850 | text_subprojects_destroy_warning: "Its subproject(s): {{value}} will be also deleted." |
|
852 | text_subprojects_destroy_warning: "Its subproject(s): {{value}} will be also deleted." | |
851 | text_workflow_edit: Select a role and a tracker to edit the workflow |
|
853 | text_workflow_edit: Select a role and a tracker to edit the workflow | |
852 | text_are_you_sure: Are you sure ? |
|
854 | text_are_you_sure: Are you sure ? | |
853 | text_are_you_sure_with_children: "Delete issue and all child issues?" |
|
855 | text_are_you_sure_with_children: "Delete issue and all child issues?" | |
854 | text_journal_changed: "{{label}} changed from {{old}} to {{new}}" |
|
856 | text_journal_changed: "{{label}} changed from {{old}} to {{new}}" | |
855 | text_journal_set_to: "{{label}} set to {{value}}" |
|
857 | text_journal_set_to: "{{label}} set to {{value}}" | |
856 | text_journal_deleted: "{{label}} deleted ({{old}})" |
|
858 | text_journal_deleted: "{{label}} deleted ({{old}})" | |
857 | text_journal_added: "{{label}} {{value}} added" |
|
859 | text_journal_added: "{{label}} {{value}} added" | |
858 | text_tip_issue_begin_day: issue beginning this day |
|
860 | text_tip_issue_begin_day: issue beginning this day | |
859 | text_tip_issue_end_day: issue ending this day |
|
861 | text_tip_issue_end_day: issue ending this day | |
860 | text_tip_issue_begin_end_day: issue beginning and ending this day |
|
862 | text_tip_issue_begin_end_day: issue beginning and ending this day | |
861 | text_project_identifier_info: 'Only lower case letters (a-z), numbers and dashes are allowed.<br />Once saved, the identifier can not be changed.' |
|
863 | text_project_identifier_info: 'Only lower case letters (a-z), numbers and dashes are allowed.<br />Once saved, the identifier can not be changed.' | |
862 | text_caracters_maximum: "{{count}} characters maximum." |
|
864 | text_caracters_maximum: "{{count}} characters maximum." | |
863 | text_caracters_minimum: "Must be at least {{count}} characters long." |
|
865 | text_caracters_minimum: "Must be at least {{count}} characters long." | |
864 | text_length_between: "Length between {{min}} and {{max}} characters." |
|
866 | text_length_between: "Length between {{min}} and {{max}} characters." | |
865 | text_tracker_no_workflow: No workflow defined for this tracker |
|
867 | text_tracker_no_workflow: No workflow defined for this tracker | |
866 | text_unallowed_characters: Unallowed characters |
|
868 | text_unallowed_characters: Unallowed characters | |
867 | text_comma_separated: Multiple values allowed (comma separated). |
|
869 | text_comma_separated: Multiple values allowed (comma separated). | |
868 | text_line_separated: Multiple values allowed (one line for each value). |
|
870 | text_line_separated: Multiple values allowed (one line for each value). | |
869 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages |
|
871 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages | |
870 | text_issue_added: "Issue {{id}} has been reported by {{author}}." |
|
872 | text_issue_added: "Issue {{id}} has been reported by {{author}}." | |
871 | text_issue_updated: "Issue {{id}} has been updated by {{author}}." |
|
873 | text_issue_updated: "Issue {{id}} has been updated by {{author}}." | |
872 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content ? |
|
874 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content ? | |
873 | text_issue_category_destroy_question: "Some issues ({{count}}) are assigned to this category. What do you want to do ?" |
|
875 | text_issue_category_destroy_question: "Some issues ({{count}}) are assigned to this category. What do you want to do ?" | |
874 | text_issue_category_destroy_assignments: Remove category assignments |
|
876 | text_issue_category_destroy_assignments: Remove category assignments | |
875 | text_issue_category_reassign_to: Reassign issues to this category |
|
877 | text_issue_category_reassign_to: Reassign issues to this category | |
876 | 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)." |
|
878 | 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)." | |
877 | 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." |
|
879 | 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." | |
878 | text_load_default_configuration: Load the default configuration |
|
880 | text_load_default_configuration: Load the default configuration | |
879 | text_status_changed_by_changeset: "Applied in changeset {{value}}." |
|
881 | text_status_changed_by_changeset: "Applied in changeset {{value}}." | |
880 | text_time_logged_by_changeset: "Applied in changeset {{value}}." |
|
882 | text_time_logged_by_changeset: "Applied in changeset {{value}}." | |
881 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s) ?' |
|
883 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s) ?' | |
882 | text_select_project_modules: 'Select modules to enable for this project:' |
|
884 | text_select_project_modules: 'Select modules to enable for this project:' | |
883 | text_default_administrator_account_changed: Default administrator account changed |
|
885 | text_default_administrator_account_changed: Default administrator account changed | |
884 | text_file_repository_writable: Attachments directory writable |
|
886 | text_file_repository_writable: Attachments directory writable | |
885 | text_plugin_assets_writable: Plugin assets directory writable |
|
887 | text_plugin_assets_writable: Plugin assets directory writable | |
886 | text_rmagick_available: RMagick available (optional) |
|
888 | text_rmagick_available: RMagick available (optional) | |
887 | text_destroy_time_entries_question: "{{hours}} hours were reported on the issues you are about to delete. What do you want to do ?" |
|
889 | text_destroy_time_entries_question: "{{hours}} hours were reported on the issues you are about to delete. What do you want to do ?" | |
888 | text_destroy_time_entries: Delete reported hours |
|
890 | text_destroy_time_entries: Delete reported hours | |
889 | text_assign_time_entries_to_project: Assign reported hours to the project |
|
891 | text_assign_time_entries_to_project: Assign reported hours to the project | |
890 | text_reassign_time_entries: 'Reassign reported hours to this issue:' |
|
892 | text_reassign_time_entries: 'Reassign reported hours to this issue:' | |
891 | text_user_wrote: "{{value}} wrote:" |
|
893 | text_user_wrote: "{{value}} wrote:" | |
892 | text_enumeration_destroy_question: "{{count}} objects are assigned to this value." |
|
894 | text_enumeration_destroy_question: "{{count}} objects are assigned to this value." | |
893 | text_enumeration_category_reassign_to: 'Reassign them to this value:' |
|
895 | text_enumeration_category_reassign_to: 'Reassign them to this value:' | |
894 | text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them." |
|
896 | text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them." | |
895 | 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." |
|
897 | 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." | |
896 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' |
|
898 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' | |
897 | text_custom_field_possible_values_info: 'One line for each value' |
|
899 | text_custom_field_possible_values_info: 'One line for each value' | |
898 | text_wiki_page_destroy_question: "This page has {{descendants}} child page(s) and descendant(s). What do you want to do?" |
|
900 | text_wiki_page_destroy_question: "This page has {{descendants}} child page(s) and descendant(s). What do you want to do?" | |
899 | text_wiki_page_nullify_children: "Keep child pages as root pages" |
|
901 | text_wiki_page_nullify_children: "Keep child pages as root pages" | |
900 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" |
|
902 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" | |
901 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" |
|
903 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" | |
902 | 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?" |
|
904 | 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?" | |
903 | text_zoom_in: Zoom in |
|
905 | text_zoom_in: Zoom in | |
904 | text_zoom_out: Zoom out |
|
906 | text_zoom_out: Zoom out | |
905 |
|
907 | |||
906 | default_role_manager: Manager |
|
908 | default_role_manager: Manager | |
907 | default_role_developer: Developer |
|
909 | default_role_developer: Developer | |
908 | default_role_reporter: Reporter |
|
910 | default_role_reporter: Reporter | |
909 | default_tracker_bug: Bug |
|
911 | default_tracker_bug: Bug | |
910 | default_tracker_feature: Feature |
|
912 | default_tracker_feature: Feature | |
911 | default_tracker_support: Support |
|
913 | default_tracker_support: Support | |
912 | default_issue_status_new: New |
|
914 | default_issue_status_new: New | |
913 | default_issue_status_in_progress: In Progress |
|
915 | default_issue_status_in_progress: In Progress | |
914 | default_issue_status_resolved: Resolved |
|
916 | default_issue_status_resolved: Resolved | |
915 | default_issue_status_feedback: Feedback |
|
917 | default_issue_status_feedback: Feedback | |
916 | default_issue_status_closed: Closed |
|
918 | default_issue_status_closed: Closed | |
917 | default_issue_status_rejected: Rejected |
|
919 | default_issue_status_rejected: Rejected | |
918 | default_doc_category_user: User documentation |
|
920 | default_doc_category_user: User documentation | |
919 | default_doc_category_tech: Technical documentation |
|
921 | default_doc_category_tech: Technical documentation | |
920 | default_priority_low: Low |
|
922 | default_priority_low: Low | |
921 | default_priority_normal: Normal |
|
923 | default_priority_normal: Normal | |
922 | default_priority_high: High |
|
924 | default_priority_high: High | |
923 | default_priority_urgent: Urgent |
|
925 | default_priority_urgent: Urgent | |
924 | default_priority_immediate: Immediate |
|
926 | default_priority_immediate: Immediate | |
925 | default_activity_design: Design |
|
927 | default_activity_design: Design | |
926 | default_activity_development: Development |
|
928 | default_activity_development: Development | |
927 |
|
929 | |||
928 | enumeration_issue_priorities: Issue priorities |
|
930 | enumeration_issue_priorities: Issue priorities | |
929 | enumeration_doc_categories: Document categories |
|
931 | enumeration_doc_categories: Document categories | |
930 | enumeration_activities: Activities (time tracking) |
|
932 | enumeration_activities: Activities (time tracking) | |
931 | enumeration_system_activity: System Activity |
|
933 | enumeration_system_activity: System Activity | |
932 |
|
934 |
@@ -1,950 +1,952 | |||||
1 | # French translations for Ruby on Rails |
|
1 | # French translations for Ruby on Rails | |
2 | # by Christian Lescuyer (christian@flyingcoders.com) |
|
2 | # by Christian Lescuyer (christian@flyingcoders.com) | |
3 | # contributor: Sebastien Grosjean - ZenCocoon.com |
|
3 | # contributor: Sebastien Grosjean - ZenCocoon.com | |
4 | # contributor: Thibaut Cuvelier - Developpez.com |
|
4 | # contributor: Thibaut Cuvelier - Developpez.com | |
5 |
|
5 | |||
6 | fr: |
|
6 | fr: | |
7 | direction: ltr |
|
7 | direction: ltr | |
8 | date: |
|
8 | date: | |
9 | formats: |
|
9 | formats: | |
10 | default: "%d/%m/%Y" |
|
10 | default: "%d/%m/%Y" | |
11 | short: "%e %b" |
|
11 | short: "%e %b" | |
12 | long: "%e %B %Y" |
|
12 | long: "%e %B %Y" | |
13 | long_ordinal: "%e %B %Y" |
|
13 | long_ordinal: "%e %B %Y" | |
14 | only_day: "%e" |
|
14 | only_day: "%e" | |
15 |
|
15 | |||
16 | day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi] |
|
16 | day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi] | |
17 | abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam] |
|
17 | abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam] | |
18 | month_names: [~, janvier, fΓ©vrier, mars, avril, mai, juin, juillet, aoΓ»t, septembre, octobre, novembre, dΓ©cembre] |
|
18 | month_names: [~, janvier, fΓ©vrier, mars, avril, mai, juin, juillet, aoΓ»t, septembre, octobre, novembre, dΓ©cembre] | |
19 | abbr_month_names: [~, jan., fΓ©v., mar., avr., mai, juin, juil., aoΓ»t, sept., oct., nov., dΓ©c.] |
|
19 | abbr_month_names: [~, jan., fΓ©v., mar., avr., mai, juin, juil., aoΓ»t, sept., oct., nov., dΓ©c.] | |
20 | order: [ :day, :month, :year ] |
|
20 | order: [ :day, :month, :year ] | |
21 |
|
21 | |||
22 | time: |
|
22 | time: | |
23 | formats: |
|
23 | formats: | |
24 | default: "%d/%m/%Y %H:%M" |
|
24 | default: "%d/%m/%Y %H:%M" | |
25 | time: "%H:%M" |
|
25 | time: "%H:%M" | |
26 | short: "%d %b %H:%M" |
|
26 | short: "%d %b %H:%M" | |
27 | long: "%A %d %B %Y %H:%M:%S %Z" |
|
27 | long: "%A %d %B %Y %H:%M:%S %Z" | |
28 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" |
|
28 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" | |
29 | only_second: "%S" |
|
29 | only_second: "%S" | |
30 | am: 'am' |
|
30 | am: 'am' | |
31 | pm: 'pm' |
|
31 | pm: 'pm' | |
32 |
|
32 | |||
33 | datetime: |
|
33 | datetime: | |
34 | distance_in_words: |
|
34 | distance_in_words: | |
35 | half_a_minute: "30 secondes" |
|
35 | half_a_minute: "30 secondes" | |
36 | less_than_x_seconds: |
|
36 | less_than_x_seconds: | |
37 | zero: "moins d'une seconde" |
|
37 | zero: "moins d'une seconde" | |
38 | one: "moins d'uneΒ seconde" |
|
38 | one: "moins d'uneΒ seconde" | |
39 | other: "moins de {{count}}Β secondes" |
|
39 | other: "moins de {{count}}Β secondes" | |
40 | x_seconds: |
|
40 | x_seconds: | |
41 | one: "1Β seconde" |
|
41 | one: "1Β seconde" | |
42 | other: "{{count}}Β secondes" |
|
42 | other: "{{count}}Β secondes" | |
43 | less_than_x_minutes: |
|
43 | less_than_x_minutes: | |
44 | zero: "moins d'une minute" |
|
44 | zero: "moins d'une minute" | |
45 | one: "moins d'uneΒ minute" |
|
45 | one: "moins d'uneΒ minute" | |
46 | other: "moins de {{count}}Β minutes" |
|
46 | other: "moins de {{count}}Β minutes" | |
47 | x_minutes: |
|
47 | x_minutes: | |
48 | one: "1Β minute" |
|
48 | one: "1Β minute" | |
49 | other: "{{count}}Β minutes" |
|
49 | other: "{{count}}Β minutes" | |
50 | about_x_hours: |
|
50 | about_x_hours: | |
51 | one: "environ une heure" |
|
51 | one: "environ une heure" | |
52 | other: "environ {{count}}Β heures" |
|
52 | other: "environ {{count}}Β heures" | |
53 | x_days: |
|
53 | x_days: | |
54 | one: "unΒ jour" |
|
54 | one: "unΒ jour" | |
55 | other: "{{count}}Β jours" |
|
55 | other: "{{count}}Β jours" | |
56 | about_x_months: |
|
56 | about_x_months: | |
57 | one: "environ un mois" |
|
57 | one: "environ un mois" | |
58 | other: "environ {{count}}Β mois" |
|
58 | other: "environ {{count}}Β mois" | |
59 | x_months: |
|
59 | x_months: | |
60 | one: "unΒ mois" |
|
60 | one: "unΒ mois" | |
61 | other: "{{count}}Β mois" |
|
61 | other: "{{count}}Β mois" | |
62 | about_x_years: |
|
62 | about_x_years: | |
63 | one: "environ un an" |
|
63 | one: "environ un an" | |
64 | other: "environ {{count}}Β ans" |
|
64 | other: "environ {{count}}Β ans" | |
65 | over_x_years: |
|
65 | over_x_years: | |
66 | one: "plus d'un an" |
|
66 | one: "plus d'un an" | |
67 | other: "plus de {{count}}Β ans" |
|
67 | other: "plus de {{count}}Β ans" | |
68 | almost_x_years: |
|
68 | almost_x_years: | |
69 | one: "presqu'un an" |
|
69 | one: "presqu'un an" | |
70 | other: "presque {{count}} ans" |
|
70 | other: "presque {{count}} ans" | |
71 | prompts: |
|
71 | prompts: | |
72 | year: "AnnΓ©e" |
|
72 | year: "AnnΓ©e" | |
73 | month: "Mois" |
|
73 | month: "Mois" | |
74 | day: "Jour" |
|
74 | day: "Jour" | |
75 | hour: "Heure" |
|
75 | hour: "Heure" | |
76 | minute: "Minute" |
|
76 | minute: "Minute" | |
77 | second: "Seconde" |
|
77 | second: "Seconde" | |
78 |
|
78 | |||
79 | number: |
|
79 | number: | |
80 | format: |
|
80 | format: | |
81 | precision: 3 |
|
81 | precision: 3 | |
82 | separator: ',' |
|
82 | separator: ',' | |
83 | delimiter: 'Β ' |
|
83 | delimiter: 'Β ' | |
84 | currency: |
|
84 | currency: | |
85 | format: |
|
85 | format: | |
86 | unit: 'β¬' |
|
86 | unit: 'β¬' | |
87 | precision: 2 |
|
87 | precision: 2 | |
88 | format: '%nΒ %u' |
|
88 | format: '%nΒ %u' | |
89 | human: |
|
89 | human: | |
90 | format: |
|
90 | format: | |
91 | precision: 2 |
|
91 | precision: 2 | |
92 | storage_units: |
|
92 | storage_units: | |
93 | format: "%n %u" |
|
93 | format: "%n %u" | |
94 | units: |
|
94 | units: | |
95 | byte: |
|
95 | byte: | |
96 | one: "octet" |
|
96 | one: "octet" | |
97 | other: "octet" |
|
97 | other: "octet" | |
98 | kb: "ko" |
|
98 | kb: "ko" | |
99 | mb: "Mo" |
|
99 | mb: "Mo" | |
100 | gb: "Go" |
|
100 | gb: "Go" | |
101 | tb: "To" |
|
101 | tb: "To" | |
102 |
|
102 | |||
103 | support: |
|
103 | support: | |
104 | array: |
|
104 | array: | |
105 | sentence_connector: 'et' |
|
105 | sentence_connector: 'et' | |
106 | skip_last_comma: true |
|
106 | skip_last_comma: true | |
107 | word_connector: ", " |
|
107 | word_connector: ", " | |
108 | two_words_connector: " et " |
|
108 | two_words_connector: " et " | |
109 | last_word_connector: " et " |
|
109 | last_word_connector: " et " | |
110 |
|
110 | |||
111 | activerecord: |
|
111 | activerecord: | |
112 | errors: |
|
112 | errors: | |
113 | template: |
|
113 | template: | |
114 | header: |
|
114 | header: | |
115 | one: "Impossible d'enregistrer {{model}} : une erreur" |
|
115 | one: "Impossible d'enregistrer {{model}} : une erreur" | |
116 | other: "Impossible d'enregistrer {{model}} : {{count}} erreurs." |
|
116 | other: "Impossible d'enregistrer {{model}} : {{count}} erreurs." | |
117 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" |
|
117 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" | |
118 | messages: |
|
118 | messages: | |
119 | inclusion: "n'est pas inclus(e) dans la liste" |
|
119 | inclusion: "n'est pas inclus(e) dans la liste" | |
120 | exclusion: "n'est pas disponible" |
|
120 | exclusion: "n'est pas disponible" | |
121 | invalid: "n'est pas valide" |
|
121 | invalid: "n'est pas valide" | |
122 | confirmation: "ne concorde pas avec la confirmation" |
|
122 | confirmation: "ne concorde pas avec la confirmation" | |
123 | accepted: "doit Γͺtre acceptΓ©(e)" |
|
123 | accepted: "doit Γͺtre acceptΓ©(e)" | |
124 | empty: "doit Γͺtre renseignΓ©(e)" |
|
124 | empty: "doit Γͺtre renseignΓ©(e)" | |
125 | blank: "doit Γͺtre renseignΓ©(e)" |
|
125 | blank: "doit Γͺtre renseignΓ©(e)" | |
126 | too_long: "est trop long (pas plus de {{count}} caractères)" |
|
126 | too_long: "est trop long (pas plus de {{count}} caractères)" | |
127 | too_short: "est trop court (au moins {{count}} caractères)" |
|
127 | too_short: "est trop court (au moins {{count}} caractères)" | |
128 | wrong_length: "ne fait pas la bonne longueur (doit comporter {{count}} caractères)" |
|
128 | wrong_length: "ne fait pas la bonne longueur (doit comporter {{count}} caractères)" | |
129 | taken: "est dΓ©jΓ utilisΓ©" |
|
129 | taken: "est dΓ©jΓ utilisΓ©" | |
130 | not_a_number: "n'est pas un nombre" |
|
130 | not_a_number: "n'est pas un nombre" | |
131 | greater_than: "doit Γͺtre supΓ©rieur Γ {{count}}" |
|
131 | greater_than: "doit Γͺtre supΓ©rieur Γ {{count}}" | |
132 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ {{count}}" |
|
132 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ {{count}}" | |
133 | equal_to: "doit Γͺtre Γ©gal Γ {{count}}" |
|
133 | equal_to: "doit Γͺtre Γ©gal Γ {{count}}" | |
134 | less_than: "doit Γͺtre infΓ©rieur Γ {{count}}" |
|
134 | less_than: "doit Γͺtre infΓ©rieur Γ {{count}}" | |
135 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ {{count}}" |
|
135 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ {{count}}" | |
136 | odd: "doit Γͺtre impair" |
|
136 | odd: "doit Γͺtre impair" | |
137 | even: "doit Γͺtre pair" |
|
137 | even: "doit Γͺtre pair" | |
138 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" |
|
138 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" | |
139 | not_same_project: "n'appartient pas au mΓͺme projet" |
|
139 | not_same_project: "n'appartient pas au mΓͺme projet" | |
140 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" |
|
140 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" | |
141 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" |
|
141 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" | |
142 |
|
142 | |||
143 | actionview_instancetag_blank_option: Choisir |
|
143 | actionview_instancetag_blank_option: Choisir | |
144 |
|
144 | |||
145 | general_text_No: 'Non' |
|
145 | general_text_No: 'Non' | |
146 | general_text_Yes: 'Oui' |
|
146 | general_text_Yes: 'Oui' | |
147 | general_text_no: 'non' |
|
147 | general_text_no: 'non' | |
148 | general_text_yes: 'oui' |
|
148 | general_text_yes: 'oui' | |
149 | general_lang_name: 'FranΓ§ais' |
|
149 | general_lang_name: 'FranΓ§ais' | |
150 | general_csv_separator: ';' |
|
150 | general_csv_separator: ';' | |
151 | general_csv_decimal_separator: ',' |
|
151 | general_csv_decimal_separator: ',' | |
152 | general_csv_encoding: ISO-8859-1 |
|
152 | general_csv_encoding: ISO-8859-1 | |
153 | general_pdf_encoding: ISO-8859-1 |
|
153 | general_pdf_encoding: ISO-8859-1 | |
154 | general_first_day_of_week: '1' |
|
154 | general_first_day_of_week: '1' | |
155 |
|
155 | |||
156 | notice_account_updated: Le compte a été mis à jour avec succès. |
|
156 | notice_account_updated: Le compte a été mis à jour avec succès. | |
157 | notice_account_invalid_creditentials: Identifiant ou mot de passe invalide. |
|
157 | notice_account_invalid_creditentials: Identifiant ou mot de passe invalide. | |
158 | notice_account_password_updated: Mot de passe mis à jour avec succès. |
|
158 | notice_account_password_updated: Mot de passe mis à jour avec succès. | |
159 | notice_account_wrong_password: Mot de passe incorrect |
|
159 | notice_account_wrong_password: Mot de passe incorrect | |
160 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©. |
|
160 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©. | |
161 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. |
|
161 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. | |
162 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. |
|
162 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. | |
163 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. |
|
163 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. | |
164 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. |
|
164 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. | |
165 | notice_successful_create: Création effectuée avec succès. |
|
165 | notice_successful_create: Création effectuée avec succès. | |
166 | notice_successful_update: Mise à jour effectuée avec succès. |
|
166 | notice_successful_update: Mise à jour effectuée avec succès. | |
167 | notice_successful_delete: Suppression effectuée avec succès. |
|
167 | notice_successful_delete: Suppression effectuée avec succès. | |
168 | notice_successful_connection: Connection rΓ©ussie. |
|
168 | notice_successful_connection: Connection rΓ©ussie. | |
169 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." |
|
169 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." | |
170 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. |
|
170 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. | |
171 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ©s Γ accΓ©der Γ cette page." |
|
171 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ©s Γ accΓ©der Γ cette page." | |
172 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. |
|
172 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. | |
173 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ {{value}}" |
|
173 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ {{value}}" | |
174 | notice_email_error: "Erreur lors de l'envoi de l'email ({{value}})" |
|
174 | notice_email_error: "Erreur lors de l'envoi de l'email ({{value}})" | |
175 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux RSS a été réinitialisée." |
|
175 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux RSS a été réinitialisée." | |
176 | notice_failed_to_save_issues: "{{count}} demande(s) sur les {{total}} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : {{ids}}." |
|
176 | notice_failed_to_save_issues: "{{count}} demande(s) sur les {{total}} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : {{ids}}." | |
177 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." |
|
177 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." | |
178 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." |
|
178 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." | |
179 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. |
|
179 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. | |
180 | notice_unable_delete_version: Impossible de supprimer cette version. |
|
180 | notice_unable_delete_version: Impossible de supprimer cette version. | |
181 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. |
|
181 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. | |
182 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. |
|
182 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. | |
|
183 | notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s ({{max}})" | |||
183 |
|
184 | |||
184 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : {{value}}" |
|
185 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : {{value}}" | |
185 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." |
|
186 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." | |
186 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : {{value}}" |
|
187 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : {{value}}" | |
187 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." |
|
188 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." | |
188 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" |
|
189 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" | |
189 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' |
|
190 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' | |
190 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" |
|
191 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" | |
191 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' |
|
192 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' | |
192 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' |
|
193 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' | |
193 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. |
|
194 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. | |
194 |
|
195 | |||
195 | warning_attachments_not_saved: "{{count}} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." |
|
196 | warning_attachments_not_saved: "{{count}} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." | |
196 |
|
197 | |||
197 | mail_subject_lost_password: "Votre mot de passe {{value}}" |
|
198 | mail_subject_lost_password: "Votre mot de passe {{value}}" | |
198 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' |
|
199 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' | |
199 | mail_subject_register: "Activation de votre compte {{value}}" |
|
200 | mail_subject_register: "Activation de votre compte {{value}}" | |
200 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' |
|
201 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' | |
201 | mail_body_account_information_external: "Vous pouvez utiliser votre compte {{value}} pour vous connecter." |
|
202 | mail_body_account_information_external: "Vous pouvez utiliser votre compte {{value}} pour vous connecter." | |
202 | mail_body_account_information: Paramètres de connexion de votre compte |
|
203 | mail_body_account_information: Paramètres de connexion de votre compte | |
203 | mail_subject_account_activation_request: "Demande d'activation d'un compte {{value}}" |
|
204 | mail_subject_account_activation_request: "Demande d'activation d'un compte {{value}}" | |
204 | mail_body_account_activation_request: "Un nouvel utilisateur ({{value}}) s'est inscrit. Son compte nΓ©cessite votre approbation :" |
|
205 | mail_body_account_activation_request: "Un nouvel utilisateur ({{value}}) s'est inscrit. Son compte nΓ©cessite votre approbation :" | |
205 | mail_subject_reminder: "{{count}} demande(s) arrivent Γ Γ©chΓ©ance ({{days}})" |
|
206 | mail_subject_reminder: "{{count}} demande(s) arrivent Γ Γ©chΓ©ance ({{days}})" | |
206 | mail_body_reminder: "{{count}} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les {{days}} prochains jours :" |
|
207 | mail_body_reminder: "{{count}} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les {{days}} prochains jours :" | |
207 | mail_subject_wiki_content_added: "Page wiki '{{id}}' ajoutΓ©e" |
|
208 | mail_subject_wiki_content_added: "Page wiki '{{id}}' ajoutΓ©e" | |
208 | mail_body_wiki_content_added: "La page wiki '{{id}}' a Γ©tΓ© ajoutΓ©e par {{author}}." |
|
209 | mail_body_wiki_content_added: "La page wiki '{{id}}' a Γ©tΓ© ajoutΓ©e par {{author}}." | |
209 | mail_subject_wiki_content_updated: "Page wiki '{{id}}' mise Γ jour" |
|
210 | mail_subject_wiki_content_updated: "Page wiki '{{id}}' mise Γ jour" | |
210 | mail_body_wiki_content_updated: "La page wiki '{{id}}' a Γ©tΓ© mise Γ jour par {{author}}." |
|
211 | mail_body_wiki_content_updated: "La page wiki '{{id}}' a Γ©tΓ© mise Γ jour par {{author}}." | |
211 |
|
212 | |||
212 | gui_validation_error: 1 erreur |
|
213 | gui_validation_error: 1 erreur | |
213 | gui_validation_error_plural: "{{count}} erreurs" |
|
214 | gui_validation_error_plural: "{{count}} erreurs" | |
214 |
|
215 | |||
215 | field_name: Nom |
|
216 | field_name: Nom | |
216 | field_description: Description |
|
217 | field_description: Description | |
217 | field_summary: RΓ©sumΓ© |
|
218 | field_summary: RΓ©sumΓ© | |
218 | field_is_required: Obligatoire |
|
219 | field_is_required: Obligatoire | |
219 | field_firstname: PrΓ©nom |
|
220 | field_firstname: PrΓ©nom | |
220 | field_lastname: Nom |
|
221 | field_lastname: Nom | |
221 | field_mail: "Email " |
|
222 | field_mail: "Email " | |
222 | field_filename: Fichier |
|
223 | field_filename: Fichier | |
223 | field_filesize: Taille |
|
224 | field_filesize: Taille | |
224 | field_downloads: TΓ©lΓ©chargements |
|
225 | field_downloads: TΓ©lΓ©chargements | |
225 | field_author: Auteur |
|
226 | field_author: Auteur | |
226 | field_created_on: "Créé " |
|
227 | field_created_on: "Créé " | |
227 | field_updated_on: "Mis-Γ -jour " |
|
228 | field_updated_on: "Mis-Γ -jour " | |
228 | field_field_format: Format |
|
229 | field_field_format: Format | |
229 | field_is_for_all: Pour tous les projets |
|
230 | field_is_for_all: Pour tous les projets | |
230 | field_possible_values: Valeurs possibles |
|
231 | field_possible_values: Valeurs possibles | |
231 | field_regexp: Expression régulière |
|
232 | field_regexp: Expression régulière | |
232 | field_min_length: Longueur minimum |
|
233 | field_min_length: Longueur minimum | |
233 | field_max_length: Longueur maximum |
|
234 | field_max_length: Longueur maximum | |
234 | field_value: Valeur |
|
235 | field_value: Valeur | |
235 | field_category: CatΓ©gorie |
|
236 | field_category: CatΓ©gorie | |
236 | field_title: Titre |
|
237 | field_title: Titre | |
237 | field_project: Projet |
|
238 | field_project: Projet | |
238 | field_issue: Demande |
|
239 | field_issue: Demande | |
239 | field_status: Statut |
|
240 | field_status: Statut | |
240 | field_notes: Notes |
|
241 | field_notes: Notes | |
241 | field_is_closed: Demande fermΓ©e |
|
242 | field_is_closed: Demande fermΓ©e | |
242 | field_is_default: Valeur par dΓ©faut |
|
243 | field_is_default: Valeur par dΓ©faut | |
243 | field_tracker: Tracker |
|
244 | field_tracker: Tracker | |
244 | field_subject: Sujet |
|
245 | field_subject: Sujet | |
245 | field_due_date: EchΓ©ance |
|
246 | field_due_date: EchΓ©ance | |
246 | field_assigned_to: AssignΓ© Γ |
|
247 | field_assigned_to: AssignΓ© Γ | |
247 | field_priority: PrioritΓ© |
|
248 | field_priority: PrioritΓ© | |
248 | field_fixed_version: Version cible |
|
249 | field_fixed_version: Version cible | |
249 | field_user: Utilisateur |
|
250 | field_user: Utilisateur | |
250 | field_role: RΓ΄le |
|
251 | field_role: RΓ΄le | |
251 | field_homepage: "Site web " |
|
252 | field_homepage: "Site web " | |
252 | field_is_public: Public |
|
253 | field_is_public: Public | |
253 | field_parent: Sous-projet de |
|
254 | field_parent: Sous-projet de | |
254 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap |
|
255 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap | |
255 | field_login: "Identifiant " |
|
256 | field_login: "Identifiant " | |
256 | field_mail_notification: Notifications par mail |
|
257 | field_mail_notification: Notifications par mail | |
257 | field_admin: Administrateur |
|
258 | field_admin: Administrateur | |
258 | field_last_login_on: "Dernière connexion " |
|
259 | field_last_login_on: "Dernière connexion " | |
259 | field_language: Langue |
|
260 | field_language: Langue | |
260 | field_effective_date: Date |
|
261 | field_effective_date: Date | |
261 | field_password: Mot de passe |
|
262 | field_password: Mot de passe | |
262 | field_new_password: Nouveau mot de passe |
|
263 | field_new_password: Nouveau mot de passe | |
263 | field_password_confirmation: Confirmation |
|
264 | field_password_confirmation: Confirmation | |
264 | field_version: Version |
|
265 | field_version: Version | |
265 | field_type: Type |
|
266 | field_type: Type | |
266 | field_host: HΓ΄te |
|
267 | field_host: HΓ΄te | |
267 | field_port: Port |
|
268 | field_port: Port | |
268 | field_account: Compte |
|
269 | field_account: Compte | |
269 | field_base_dn: Base DN |
|
270 | field_base_dn: Base DN | |
270 | field_attr_login: Attribut Identifiant |
|
271 | field_attr_login: Attribut Identifiant | |
271 | field_attr_firstname: Attribut PrΓ©nom |
|
272 | field_attr_firstname: Attribut PrΓ©nom | |
272 | field_attr_lastname: Attribut Nom |
|
273 | field_attr_lastname: Attribut Nom | |
273 | field_attr_mail: Attribut Email |
|
274 | field_attr_mail: Attribut Email | |
274 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e |
|
275 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e | |
275 | field_done_ratio: % rΓ©alisΓ© |
|
276 | field_done_ratio: % rΓ©alisΓ© | |
276 | field_auth_source: Mode d'authentification |
|
277 | field_auth_source: Mode d'authentification | |
277 | field_hide_mail: Cacher mon adresse mail |
|
278 | field_hide_mail: Cacher mon adresse mail | |
278 | field_comments: Commentaire |
|
279 | field_comments: Commentaire | |
279 | field_url: URL |
|
280 | field_url: URL | |
280 | field_start_page: Page de dΓ©marrage |
|
281 | field_start_page: Page de dΓ©marrage | |
281 | field_subproject: Sous-projet |
|
282 | field_subproject: Sous-projet | |
282 | field_hours: Heures |
|
283 | field_hours: Heures | |
283 | field_activity: ActivitΓ© |
|
284 | field_activity: ActivitΓ© | |
284 | field_spent_on: Date |
|
285 | field_spent_on: Date | |
285 | field_identifier: Identifiant |
|
286 | field_identifier: Identifiant | |
286 | field_is_filter: UtilisΓ© comme filtre |
|
287 | field_is_filter: UtilisΓ© comme filtre | |
287 | field_issue_to: Demande liΓ©e |
|
288 | field_issue_to: Demande liΓ©e | |
288 | field_delay: Retard |
|
289 | field_delay: Retard | |
289 | field_assignable: Demandes assignables Γ ce rΓ΄le |
|
290 | field_assignable: Demandes assignables Γ ce rΓ΄le | |
290 | field_redirect_existing_links: Rediriger les liens existants |
|
291 | field_redirect_existing_links: Rediriger les liens existants | |
291 | field_estimated_hours: Temps estimΓ© |
|
292 | field_estimated_hours: Temps estimΓ© | |
292 | field_column_names: Colonnes |
|
293 | field_column_names: Colonnes | |
293 | field_time_zone: Fuseau horaire |
|
294 | field_time_zone: Fuseau horaire | |
294 | field_searchable: UtilisΓ© pour les recherches |
|
295 | field_searchable: UtilisΓ© pour les recherches | |
295 | field_default_value: Valeur par dΓ©faut |
|
296 | field_default_value: Valeur par dΓ©faut | |
296 | field_comments_sorting: Afficher les commentaires |
|
297 | field_comments_sorting: Afficher les commentaires | |
297 | field_parent_title: Page parent |
|
298 | field_parent_title: Page parent | |
298 | field_editable: Modifiable |
|
299 | field_editable: Modifiable | |
299 | field_watcher: Observateur |
|
300 | field_watcher: Observateur | |
300 | field_identity_url: URL OpenID |
|
301 | field_identity_url: URL OpenID | |
301 | field_content: Contenu |
|
302 | field_content: Contenu | |
302 | field_group_by: Grouper par |
|
303 | field_group_by: Grouper par | |
303 | field_sharing: Partage |
|
304 | field_sharing: Partage | |
304 | field_active: Actif |
|
305 | field_active: Actif | |
305 | field_parent_issue: TΓ’che parente |
|
306 | field_parent_issue: TΓ’che parente | |
306 | field_visible: Visible |
|
307 | field_visible: Visible | |
307 |
|
308 | |||
308 | setting_app_title: Titre de l'application |
|
309 | setting_app_title: Titre de l'application | |
309 | setting_app_subtitle: Sous-titre de l'application |
|
310 | setting_app_subtitle: Sous-titre de l'application | |
310 | setting_welcome_text: Texte d'accueil |
|
311 | setting_welcome_text: Texte d'accueil | |
311 | setting_default_language: Langue par dΓ©faut |
|
312 | setting_default_language: Langue par dΓ©faut | |
312 | setting_login_required: Authentification obligatoire |
|
313 | setting_login_required: Authentification obligatoire | |
313 | setting_self_registration: Inscription des nouveaux utilisateurs |
|
314 | setting_self_registration: Inscription des nouveaux utilisateurs | |
314 | setting_attachment_max_size: Taille max des fichiers |
|
315 | setting_attachment_max_size: Taille max des fichiers | |
315 | setting_issues_export_limit: Limite export demandes |
|
316 | setting_issues_export_limit: Limite export demandes | |
316 | setting_mail_from: Adresse d'Γ©mission |
|
317 | setting_mail_from: Adresse d'Γ©mission | |
317 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) |
|
318 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) | |
318 | setting_plain_text_mail: Mail texte brut (non HTML) |
|
319 | setting_plain_text_mail: Mail texte brut (non HTML) | |
319 | setting_host_name: Nom d'hΓ΄te et chemin |
|
320 | setting_host_name: Nom d'hΓ΄te et chemin | |
320 | setting_text_formatting: Formatage du texte |
|
321 | setting_text_formatting: Formatage du texte | |
321 | setting_wiki_compression: Compression historique wiki |
|
322 | setting_wiki_compression: Compression historique wiki | |
322 | setting_feeds_limit: Limite du contenu des flux RSS |
|
323 | setting_feeds_limit: Limite du contenu des flux RSS | |
323 | setting_default_projects_public: DΓ©finir les nouveaux projects comme publics par dΓ©faut |
|
324 | setting_default_projects_public: DΓ©finir les nouveaux projects comme publics par dΓ©faut | |
324 | setting_autofetch_changesets: RΓ©cupΓ©ration auto. des commits |
|
325 | setting_autofetch_changesets: RΓ©cupΓ©ration auto. des commits | |
325 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts |
|
326 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts | |
326 | setting_commit_ref_keywords: Mot-clΓ©s de rΓ©fΓ©rencement |
|
327 | setting_commit_ref_keywords: Mot-clΓ©s de rΓ©fΓ©rencement | |
327 | setting_commit_fix_keywords: Mot-clΓ©s de rΓ©solution |
|
328 | setting_commit_fix_keywords: Mot-clΓ©s de rΓ©solution | |
328 | setting_autologin: Autologin |
|
329 | setting_autologin: Autologin | |
329 | setting_date_format: Format de date |
|
330 | setting_date_format: Format de date | |
330 | setting_time_format: Format d'heure |
|
331 | setting_time_format: Format d'heure | |
331 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets |
|
332 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets | |
332 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes |
|
333 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes | |
333 | setting_repositories_encodings: Encodages des dΓ©pΓ΄ts |
|
334 | setting_repositories_encodings: Encodages des dΓ©pΓ΄ts | |
334 | setting_commit_logs_encoding: Encodage des messages de commit |
|
335 | setting_commit_logs_encoding: Encodage des messages de commit | |
335 | setting_emails_footer: Pied-de-page des emails |
|
336 | setting_emails_footer: Pied-de-page des emails | |
336 | setting_protocol: Protocole |
|
337 | setting_protocol: Protocole | |
337 | setting_per_page_options: Options d'objets affichΓ©s par page |
|
338 | setting_per_page_options: Options d'objets affichΓ©s par page | |
338 | setting_user_format: Format d'affichage des utilisateurs |
|
339 | setting_user_format: Format d'affichage des utilisateurs | |
339 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets |
|
340 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets | |
340 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux |
|
341 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux | |
341 | setting_enabled_scm: SCM activΓ©s |
|
342 | setting_enabled_scm: SCM activΓ©s | |
342 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" |
|
343 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" | |
343 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" |
|
344 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" | |
344 | setting_mail_handler_api_key: ClΓ© de protection de l'API |
|
345 | setting_mail_handler_api_key: ClΓ© de protection de l'API | |
345 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels |
|
346 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels | |
346 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs |
|
347 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs | |
347 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es |
|
348 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es | |
348 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne |
|
349 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne | |
349 | setting_repository_log_display_limit: "Nombre maximum de revisions affichΓ©es sur l'historique d'un fichier" |
|
350 | setting_repository_log_display_limit: "Nombre maximum de revisions affichΓ©es sur l'historique d'un fichier" | |
350 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" |
|
351 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" | |
351 | setting_password_min_length: Longueur minimum des mots de passe |
|
352 | setting_password_min_length: Longueur minimum des mots de passe | |
352 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet |
|
353 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet | |
353 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets |
|
354 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets | |
354 | setting_issue_done_ratio: Calcul de l'avancement des demandes |
|
355 | setting_issue_done_ratio: Calcul de l'avancement des demandes | |
355 | setting_issue_done_ratio_issue_status: Utiliser le statut |
|
356 | setting_issue_done_ratio_issue_status: Utiliser le statut | |
356 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' |
|
357 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' | |
357 | setting_rest_api_enabled: Activer l'API REST |
|
358 | setting_rest_api_enabled: Activer l'API REST | |
358 | setting_gravatar_default: Image Gravatar par dΓ©faut |
|
359 | setting_gravatar_default: Image Gravatar par dΓ©faut | |
359 | setting_start_of_week: Jour de dΓ©but des calendriers |
|
360 | setting_start_of_week: Jour de dΓ©but des calendriers | |
360 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© |
|
361 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© | |
361 | setting_commit_logtime_enabled: Permettre la saisie de temps |
|
362 | setting_commit_logtime_enabled: Permettre la saisie de temps | |
362 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi |
|
363 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi | |
|
364 | setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt | |||
363 |
|
365 | |||
364 | permission_add_project: CrΓ©er un projet |
|
366 | permission_add_project: CrΓ©er un projet | |
365 | permission_add_subprojects: CrΓ©er des sous-projets |
|
367 | permission_add_subprojects: CrΓ©er des sous-projets | |
366 | permission_edit_project: Modifier le projet |
|
368 | permission_edit_project: Modifier le projet | |
367 | permission_select_project_modules: Choisir les modules |
|
369 | permission_select_project_modules: Choisir les modules | |
368 | permission_manage_members: GΓ©rer les members |
|
370 | permission_manage_members: GΓ©rer les members | |
369 | permission_manage_versions: GΓ©rer les versions |
|
371 | permission_manage_versions: GΓ©rer les versions | |
370 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes |
|
372 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes | |
371 | permission_view_issues: Voir les demandes |
|
373 | permission_view_issues: Voir les demandes | |
372 | permission_add_issues: CrΓ©er des demandes |
|
374 | permission_add_issues: CrΓ©er des demandes | |
373 | permission_edit_issues: Modifier les demandes |
|
375 | permission_edit_issues: Modifier les demandes | |
374 | permission_manage_issue_relations: GΓ©rer les relations |
|
376 | permission_manage_issue_relations: GΓ©rer les relations | |
375 | permission_add_issue_notes: Ajouter des notes |
|
377 | permission_add_issue_notes: Ajouter des notes | |
376 | permission_edit_issue_notes: Modifier les notes |
|
378 | permission_edit_issue_notes: Modifier les notes | |
377 | permission_edit_own_issue_notes: Modifier ses propres notes |
|
379 | permission_edit_own_issue_notes: Modifier ses propres notes | |
378 | permission_move_issues: DΓ©placer les demandes |
|
380 | permission_move_issues: DΓ©placer les demandes | |
379 | permission_delete_issues: Supprimer les demandes |
|
381 | permission_delete_issues: Supprimer les demandes | |
380 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques |
|
382 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques | |
381 | permission_save_queries: Sauvegarder les requΓͺtes |
|
383 | permission_save_queries: Sauvegarder les requΓͺtes | |
382 | permission_view_gantt: Voir le gantt |
|
384 | permission_view_gantt: Voir le gantt | |
383 | permission_view_calendar: Voir le calendrier |
|
385 | permission_view_calendar: Voir le calendrier | |
384 | permission_view_issue_watchers: Voir la liste des observateurs |
|
386 | permission_view_issue_watchers: Voir la liste des observateurs | |
385 | permission_add_issue_watchers: Ajouter des observateurs |
|
387 | permission_add_issue_watchers: Ajouter des observateurs | |
386 | permission_delete_issue_watchers: Supprimer des observateurs |
|
388 | permission_delete_issue_watchers: Supprimer des observateurs | |
387 | permission_log_time: Saisir le temps passΓ© |
|
389 | permission_log_time: Saisir le temps passΓ© | |
388 | permission_view_time_entries: Voir le temps passΓ© |
|
390 | permission_view_time_entries: Voir le temps passΓ© | |
389 | permission_edit_time_entries: Modifier les temps passΓ©s |
|
391 | permission_edit_time_entries: Modifier les temps passΓ©s | |
390 | permission_edit_own_time_entries: Modifier son propre temps passΓ© |
|
392 | permission_edit_own_time_entries: Modifier son propre temps passΓ© | |
391 | permission_manage_news: GΓ©rer les annonces |
|
393 | permission_manage_news: GΓ©rer les annonces | |
392 | permission_comment_news: Commenter les annonces |
|
394 | permission_comment_news: Commenter les annonces | |
393 | permission_manage_documents: GΓ©rer les documents |
|
395 | permission_manage_documents: GΓ©rer les documents | |
394 | permission_view_documents: Voir les documents |
|
396 | permission_view_documents: Voir les documents | |
395 | permission_manage_files: GΓ©rer les fichiers |
|
397 | permission_manage_files: GΓ©rer les fichiers | |
396 | permission_view_files: Voir les fichiers |
|
398 | permission_view_files: Voir les fichiers | |
397 | permission_manage_wiki: GΓ©rer le wiki |
|
399 | permission_manage_wiki: GΓ©rer le wiki | |
398 | permission_rename_wiki_pages: Renommer les pages |
|
400 | permission_rename_wiki_pages: Renommer les pages | |
399 | permission_delete_wiki_pages: Supprimer les pages |
|
401 | permission_delete_wiki_pages: Supprimer les pages | |
400 | permission_view_wiki_pages: Voir le wiki |
|
402 | permission_view_wiki_pages: Voir le wiki | |
401 | permission_view_wiki_edits: "Voir l'historique des modifications" |
|
403 | permission_view_wiki_edits: "Voir l'historique des modifications" | |
402 | permission_edit_wiki_pages: Modifier les pages |
|
404 | permission_edit_wiki_pages: Modifier les pages | |
403 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints |
|
405 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints | |
404 | permission_protect_wiki_pages: ProtΓ©ger les pages |
|
406 | permission_protect_wiki_pages: ProtΓ©ger les pages | |
405 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources |
|
407 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources | |
406 | permission_browse_repository: Parcourir les sources |
|
408 | permission_browse_repository: Parcourir les sources | |
407 | permission_view_changesets: Voir les rΓ©visions |
|
409 | permission_view_changesets: Voir les rΓ©visions | |
408 | permission_commit_access: Droit de commit |
|
410 | permission_commit_access: Droit de commit | |
409 | permission_manage_boards: GΓ©rer les forums |
|
411 | permission_manage_boards: GΓ©rer les forums | |
410 | permission_view_messages: Voir les messages |
|
412 | permission_view_messages: Voir les messages | |
411 | permission_add_messages: Poster un message |
|
413 | permission_add_messages: Poster un message | |
412 | permission_edit_messages: Modifier les messages |
|
414 | permission_edit_messages: Modifier les messages | |
413 | permission_edit_own_messages: Modifier ses propres messages |
|
415 | permission_edit_own_messages: Modifier ses propres messages | |
414 | permission_delete_messages: Supprimer les messages |
|
416 | permission_delete_messages: Supprimer les messages | |
415 | permission_delete_own_messages: Supprimer ses propres messages |
|
417 | permission_delete_own_messages: Supprimer ses propres messages | |
416 | permission_export_wiki_pages: Exporter les pages |
|
418 | permission_export_wiki_pages: Exporter les pages | |
417 | permission_manage_project_activities: GΓ©rer les activitΓ©s |
|
419 | permission_manage_project_activities: GΓ©rer les activitΓ©s | |
418 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches |
|
420 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches | |
419 |
|
421 | |||
420 | project_module_issue_tracking: Suivi des demandes |
|
422 | project_module_issue_tracking: Suivi des demandes | |
421 | project_module_time_tracking: Suivi du temps passΓ© |
|
423 | project_module_time_tracking: Suivi du temps passΓ© | |
422 | project_module_news: Publication d'annonces |
|
424 | project_module_news: Publication d'annonces | |
423 | project_module_documents: Publication de documents |
|
425 | project_module_documents: Publication de documents | |
424 | project_module_files: Publication de fichiers |
|
426 | project_module_files: Publication de fichiers | |
425 | project_module_wiki: Wiki |
|
427 | project_module_wiki: Wiki | |
426 | project_module_repository: DΓ©pΓ΄t de sources |
|
428 | project_module_repository: DΓ©pΓ΄t de sources | |
427 | project_module_boards: Forums de discussion |
|
429 | project_module_boards: Forums de discussion | |
428 |
|
430 | |||
429 | label_user: Utilisateur |
|
431 | label_user: Utilisateur | |
430 | label_user_plural: Utilisateurs |
|
432 | label_user_plural: Utilisateurs | |
431 | label_user_new: Nouvel utilisateur |
|
433 | label_user_new: Nouvel utilisateur | |
432 | label_user_anonymous: Anonyme |
|
434 | label_user_anonymous: Anonyme | |
433 | label_project: Projet |
|
435 | label_project: Projet | |
434 | label_project_new: Nouveau projet |
|
436 | label_project_new: Nouveau projet | |
435 | label_project_plural: Projets |
|
437 | label_project_plural: Projets | |
436 | label_x_projects: |
|
438 | label_x_projects: | |
437 | zero: aucun projet |
|
439 | zero: aucun projet | |
438 | one: un projet |
|
440 | one: un projet | |
439 | other: "{{count}} projets" |
|
441 | other: "{{count}} projets" | |
440 | label_project_all: Tous les projets |
|
442 | label_project_all: Tous les projets | |
441 | label_project_latest: Derniers projets |
|
443 | label_project_latest: Derniers projets | |
442 | label_issue: Demande |
|
444 | label_issue: Demande | |
443 | label_issue_new: Nouvelle demande |
|
445 | label_issue_new: Nouvelle demande | |
444 | label_issue_plural: Demandes |
|
446 | label_issue_plural: Demandes | |
445 | label_issue_view_all: Voir toutes les demandes |
|
447 | label_issue_view_all: Voir toutes les demandes | |
446 | label_issue_added: Demande ajoutΓ©e |
|
448 | label_issue_added: Demande ajoutΓ©e | |
447 | label_issue_updated: Demande mise Γ jour |
|
449 | label_issue_updated: Demande mise Γ jour | |
448 | label_issues_by: "Demandes par {{value}}" |
|
450 | label_issues_by: "Demandes par {{value}}" | |
449 | label_document: Document |
|
451 | label_document: Document | |
450 | label_document_new: Nouveau document |
|
452 | label_document_new: Nouveau document | |
451 | label_document_plural: Documents |
|
453 | label_document_plural: Documents | |
452 | label_document_added: Document ajoutΓ© |
|
454 | label_document_added: Document ajoutΓ© | |
453 | label_role: RΓ΄le |
|
455 | label_role: RΓ΄le | |
454 | label_role_plural: RΓ΄les |
|
456 | label_role_plural: RΓ΄les | |
455 | label_role_new: Nouveau rΓ΄le |
|
457 | label_role_new: Nouveau rΓ΄le | |
456 | label_role_and_permissions: RΓ΄les et permissions |
|
458 | label_role_and_permissions: RΓ΄les et permissions | |
457 | label_member: Membre |
|
459 | label_member: Membre | |
458 | label_member_new: Nouveau membre |
|
460 | label_member_new: Nouveau membre | |
459 | label_member_plural: Membres |
|
461 | label_member_plural: Membres | |
460 | label_tracker: Tracker |
|
462 | label_tracker: Tracker | |
461 | label_tracker_plural: Trackers |
|
463 | label_tracker_plural: Trackers | |
462 | label_tracker_new: Nouveau tracker |
|
464 | label_tracker_new: Nouveau tracker | |
463 | label_workflow: Workflow |
|
465 | label_workflow: Workflow | |
464 | label_issue_status: Statut de demandes |
|
466 | label_issue_status: Statut de demandes | |
465 | label_issue_status_plural: Statuts de demandes |
|
467 | label_issue_status_plural: Statuts de demandes | |
466 | label_issue_status_new: Nouveau statut |
|
468 | label_issue_status_new: Nouveau statut | |
467 | label_issue_category: CatΓ©gorie de demandes |
|
469 | label_issue_category: CatΓ©gorie de demandes | |
468 | label_issue_category_plural: CatΓ©gories de demandes |
|
470 | label_issue_category_plural: CatΓ©gories de demandes | |
469 | label_issue_category_new: Nouvelle catΓ©gorie |
|
471 | label_issue_category_new: Nouvelle catΓ©gorie | |
470 | label_custom_field: Champ personnalisΓ© |
|
472 | label_custom_field: Champ personnalisΓ© | |
471 | label_custom_field_plural: Champs personnalisΓ©s |
|
473 | label_custom_field_plural: Champs personnalisΓ©s | |
472 | label_custom_field_new: Nouveau champ personnalisΓ© |
|
474 | label_custom_field_new: Nouveau champ personnalisΓ© | |
473 | label_enumerations: Listes de valeurs |
|
475 | label_enumerations: Listes de valeurs | |
474 | label_enumeration_new: Nouvelle valeur |
|
476 | label_enumeration_new: Nouvelle valeur | |
475 | label_information: Information |
|
477 | label_information: Information | |
476 | label_information_plural: Informations |
|
478 | label_information_plural: Informations | |
477 | label_please_login: Identification |
|
479 | label_please_login: Identification | |
478 | label_register: S'enregistrer |
|
480 | label_register: S'enregistrer | |
479 | label_login_with_open_id_option: S'authentifier avec OpenID |
|
481 | label_login_with_open_id_option: S'authentifier avec OpenID | |
480 | label_password_lost: Mot de passe perdu |
|
482 | label_password_lost: Mot de passe perdu | |
481 | label_home: Accueil |
|
483 | label_home: Accueil | |
482 | label_my_page: Ma page |
|
484 | label_my_page: Ma page | |
483 | label_my_account: Mon compte |
|
485 | label_my_account: Mon compte | |
484 | label_my_projects: Mes projets |
|
486 | label_my_projects: Mes projets | |
485 | label_my_page_block: Ma page bloque |
|
487 | label_my_page_block: Ma page bloque | |
486 | label_administration: Administration |
|
488 | label_administration: Administration | |
487 | label_login: Connexion |
|
489 | label_login: Connexion | |
488 | label_logout: DΓ©connexion |
|
490 | label_logout: DΓ©connexion | |
489 | label_help: Aide |
|
491 | label_help: Aide | |
490 | label_reported_issues: "Demandes soumises " |
|
492 | label_reported_issues: "Demandes soumises " | |
491 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es |
|
493 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es | |
492 | label_last_login: "Dernière connexion " |
|
494 | label_last_login: "Dernière connexion " | |
493 | label_registered_on: "Inscrit le " |
|
495 | label_registered_on: "Inscrit le " | |
494 | label_activity: ActivitΓ© |
|
496 | label_activity: ActivitΓ© | |
495 | label_overall_activity: ActivitΓ© globale |
|
497 | label_overall_activity: ActivitΓ© globale | |
496 | label_user_activity: "ActivitΓ© de {{value}}" |
|
498 | label_user_activity: "ActivitΓ© de {{value}}" | |
497 | label_new: Nouveau |
|
499 | label_new: Nouveau | |
498 | label_logged_as: ConnectΓ© en tant que |
|
500 | label_logged_as: ConnectΓ© en tant que | |
499 | label_environment: Environnement |
|
501 | label_environment: Environnement | |
500 | label_authentication: Authentification |
|
502 | label_authentication: Authentification | |
501 | label_auth_source: Mode d'authentification |
|
503 | label_auth_source: Mode d'authentification | |
502 | label_auth_source_new: Nouveau mode d'authentification |
|
504 | label_auth_source_new: Nouveau mode d'authentification | |
503 | label_auth_source_plural: Modes d'authentification |
|
505 | label_auth_source_plural: Modes d'authentification | |
504 | label_subproject_plural: Sous-projets |
|
506 | label_subproject_plural: Sous-projets | |
505 | label_subproject_new: Nouveau sous-projet |
|
507 | label_subproject_new: Nouveau sous-projet | |
506 | label_and_its_subprojects: "{{value}} et ses sous-projets" |
|
508 | label_and_its_subprojects: "{{value}} et ses sous-projets" | |
507 | label_min_max_length: Longueurs mini - maxi |
|
509 | label_min_max_length: Longueurs mini - maxi | |
508 | label_list: Liste |
|
510 | label_list: Liste | |
509 | label_date: Date |
|
511 | label_date: Date | |
510 | label_integer: Entier |
|
512 | label_integer: Entier | |
511 | label_float: Nombre dΓ©cimal |
|
513 | label_float: Nombre dΓ©cimal | |
512 | label_boolean: BoolΓ©en |
|
514 | label_boolean: BoolΓ©en | |
513 | label_string: Texte |
|
515 | label_string: Texte | |
514 | label_text: Texte long |
|
516 | label_text: Texte long | |
515 | label_attribute: Attribut |
|
517 | label_attribute: Attribut | |
516 | label_attribute_plural: Attributs |
|
518 | label_attribute_plural: Attributs | |
517 | label_download: "{{count}} tΓ©lΓ©chargement" |
|
519 | label_download: "{{count}} tΓ©lΓ©chargement" | |
518 | label_download_plural: "{{count}} tΓ©lΓ©chargements" |
|
520 | label_download_plural: "{{count}} tΓ©lΓ©chargements" | |
519 | label_no_data: Aucune donnΓ©e Γ afficher |
|
521 | label_no_data: Aucune donnΓ©e Γ afficher | |
520 | label_change_status: Changer le statut |
|
522 | label_change_status: Changer le statut | |
521 | label_history: Historique |
|
523 | label_history: Historique | |
522 | label_attachment: Fichier |
|
524 | label_attachment: Fichier | |
523 | label_attachment_new: Nouveau fichier |
|
525 | label_attachment_new: Nouveau fichier | |
524 | label_attachment_delete: Supprimer le fichier |
|
526 | label_attachment_delete: Supprimer le fichier | |
525 | label_attachment_plural: Fichiers |
|
527 | label_attachment_plural: Fichiers | |
526 | label_file_added: Fichier ajoutΓ© |
|
528 | label_file_added: Fichier ajoutΓ© | |
527 | label_report: Rapport |
|
529 | label_report: Rapport | |
528 | label_report_plural: Rapports |
|
530 | label_report_plural: Rapports | |
529 | label_news: Annonce |
|
531 | label_news: Annonce | |
530 | label_news_new: Nouvelle annonce |
|
532 | label_news_new: Nouvelle annonce | |
531 | label_news_plural: Annonces |
|
533 | label_news_plural: Annonces | |
532 | label_news_latest: Dernières annonces |
|
534 | label_news_latest: Dernières annonces | |
533 | label_news_view_all: Voir toutes les annonces |
|
535 | label_news_view_all: Voir toutes les annonces | |
534 | label_news_added: Annonce ajoutΓ©e |
|
536 | label_news_added: Annonce ajoutΓ©e | |
535 | label_settings: Configuration |
|
537 | label_settings: Configuration | |
536 | label_overview: AperΓ§u |
|
538 | label_overview: AperΓ§u | |
537 | label_version: Version |
|
539 | label_version: Version | |
538 | label_version_new: Nouvelle version |
|
540 | label_version_new: Nouvelle version | |
539 | label_version_plural: Versions |
|
541 | label_version_plural: Versions | |
540 | label_confirmation: Confirmation |
|
542 | label_confirmation: Confirmation | |
541 | label_export_to: 'Formats disponibles :' |
|
543 | label_export_to: 'Formats disponibles :' | |
542 | label_read: Lire... |
|
544 | label_read: Lire... | |
543 | label_public_projects: Projets publics |
|
545 | label_public_projects: Projets publics | |
544 | label_open_issues: ouvert |
|
546 | label_open_issues: ouvert | |
545 | label_open_issues_plural: ouverts |
|
547 | label_open_issues_plural: ouverts | |
546 | label_closed_issues: fermΓ© |
|
548 | label_closed_issues: fermΓ© | |
547 | label_closed_issues_plural: fermΓ©s |
|
549 | label_closed_issues_plural: fermΓ©s | |
548 | label_x_open_issues_abbr_on_total: |
|
550 | label_x_open_issues_abbr_on_total: | |
549 | zero: 0 ouvert sur {{total}} |
|
551 | zero: 0 ouvert sur {{total}} | |
550 | one: 1 ouvert sur {{total}} |
|
552 | one: 1 ouvert sur {{total}} | |
551 | other: "{{count}} ouverts sur {{total}}" |
|
553 | other: "{{count}} ouverts sur {{total}}" | |
552 | label_x_open_issues_abbr: |
|
554 | label_x_open_issues_abbr: | |
553 | zero: 0 ouvert |
|
555 | zero: 0 ouvert | |
554 | one: 1 ouvert |
|
556 | one: 1 ouvert | |
555 | other: "{{count}} ouverts" |
|
557 | other: "{{count}} ouverts" | |
556 | label_x_closed_issues_abbr: |
|
558 | label_x_closed_issues_abbr: | |
557 | zero: 0 fermΓ© |
|
559 | zero: 0 fermΓ© | |
558 | one: 1 fermΓ© |
|
560 | one: 1 fermΓ© | |
559 | other: "{{count}} fermΓ©s" |
|
561 | other: "{{count}} fermΓ©s" | |
560 | label_total: Total |
|
562 | label_total: Total | |
561 | label_permissions: Permissions |
|
563 | label_permissions: Permissions | |
562 | label_current_status: Statut actuel |
|
564 | label_current_status: Statut actuel | |
563 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s |
|
565 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s | |
564 | label_all: tous |
|
566 | label_all: tous | |
565 | label_none: aucun |
|
567 | label_none: aucun | |
566 | label_nobody: personne |
|
568 | label_nobody: personne | |
567 | label_next: Suivant |
|
569 | label_next: Suivant | |
568 | label_previous: PrΓ©cΓ©dent |
|
570 | label_previous: PrΓ©cΓ©dent | |
569 | label_used_by: UtilisΓ© par |
|
571 | label_used_by: UtilisΓ© par | |
570 | label_details: DΓ©tails |
|
572 | label_details: DΓ©tails | |
571 | label_add_note: Ajouter une note |
|
573 | label_add_note: Ajouter une note | |
572 | label_per_page: Par page |
|
574 | label_per_page: Par page | |
573 | label_calendar: Calendrier |
|
575 | label_calendar: Calendrier | |
574 | label_months_from: mois depuis |
|
576 | label_months_from: mois depuis | |
575 | label_gantt: Gantt |
|
577 | label_gantt: Gantt | |
576 | label_internal: Interne |
|
578 | label_internal: Interne | |
577 | label_last_changes: "{{count}} derniers changements" |
|
579 | label_last_changes: "{{count}} derniers changements" | |
578 | label_change_view_all: Voir tous les changements |
|
580 | label_change_view_all: Voir tous les changements | |
579 | label_personalize_page: Personnaliser cette page |
|
581 | label_personalize_page: Personnaliser cette page | |
580 | label_comment: Commentaire |
|
582 | label_comment: Commentaire | |
581 | label_comment_plural: Commentaires |
|
583 | label_comment_plural: Commentaires | |
582 | label_x_comments: |
|
584 | label_x_comments: | |
583 | zero: aucun commentaire |
|
585 | zero: aucun commentaire | |
584 | one: un commentaire |
|
586 | one: un commentaire | |
585 | other: "{{count}} commentaires" |
|
587 | other: "{{count}} commentaires" | |
586 | label_comment_add: Ajouter un commentaire |
|
588 | label_comment_add: Ajouter un commentaire | |
587 | label_comment_added: Commentaire ajoutΓ© |
|
589 | label_comment_added: Commentaire ajoutΓ© | |
588 | label_comment_delete: Supprimer les commentaires |
|
590 | label_comment_delete: Supprimer les commentaires | |
589 | label_query: Rapport personnalisΓ© |
|
591 | label_query: Rapport personnalisΓ© | |
590 | label_query_plural: Rapports personnalisΓ©s |
|
592 | label_query_plural: Rapports personnalisΓ©s | |
591 | label_query_new: Nouveau rapport |
|
593 | label_query_new: Nouveau rapport | |
592 | label_filter_add: "Ajouter le filtre " |
|
594 | label_filter_add: "Ajouter le filtre " | |
593 | label_filter_plural: Filtres |
|
595 | label_filter_plural: Filtres | |
594 | label_equals: Γ©gal |
|
596 | label_equals: Γ©gal | |
595 | label_not_equals: diffΓ©rent |
|
597 | label_not_equals: diffΓ©rent | |
596 | label_in_less_than: dans moins de |
|
598 | label_in_less_than: dans moins de | |
597 | label_in_more_than: dans plus de |
|
599 | label_in_more_than: dans plus de | |
598 | label_in: dans |
|
600 | label_in: dans | |
599 | label_today: aujourd'hui |
|
601 | label_today: aujourd'hui | |
600 | label_all_time: toute la pΓ©riode |
|
602 | label_all_time: toute la pΓ©riode | |
601 | label_yesterday: hier |
|
603 | label_yesterday: hier | |
602 | label_this_week: cette semaine |
|
604 | label_this_week: cette semaine | |
603 | label_last_week: la semaine dernière |
|
605 | label_last_week: la semaine dernière | |
604 | label_last_n_days: "les {{count}} derniers jours" |
|
606 | label_last_n_days: "les {{count}} derniers jours" | |
605 | label_this_month: ce mois-ci |
|
607 | label_this_month: ce mois-ci | |
606 | label_last_month: le mois dernier |
|
608 | label_last_month: le mois dernier | |
607 | label_this_year: cette annΓ©e |
|
609 | label_this_year: cette annΓ©e | |
608 | label_date_range: PΓ©riode |
|
610 | label_date_range: PΓ©riode | |
609 | label_less_than_ago: il y a moins de |
|
611 | label_less_than_ago: il y a moins de | |
610 | label_more_than_ago: il y a plus de |
|
612 | label_more_than_ago: il y a plus de | |
611 | label_ago: il y a |
|
613 | label_ago: il y a | |
612 | label_contains: contient |
|
614 | label_contains: contient | |
613 | label_not_contains: ne contient pas |
|
615 | label_not_contains: ne contient pas | |
614 | label_day_plural: jours |
|
616 | label_day_plural: jours | |
615 | label_repository: DΓ©pΓ΄t |
|
617 | label_repository: DΓ©pΓ΄t | |
616 | label_repository_plural: DΓ©pΓ΄ts |
|
618 | label_repository_plural: DΓ©pΓ΄ts | |
617 | label_browse: Parcourir |
|
619 | label_browse: Parcourir | |
618 | label_modification: "{{count}} modification" |
|
620 | label_modification: "{{count}} modification" | |
619 | label_modification_plural: "{{count}} modifications" |
|
621 | label_modification_plural: "{{count}} modifications" | |
620 | label_revision: "RΓ©vision " |
|
622 | label_revision: "RΓ©vision " | |
621 | label_revision_plural: RΓ©visions |
|
623 | label_revision_plural: RΓ©visions | |
622 | label_associated_revisions: RΓ©visions associΓ©es |
|
624 | label_associated_revisions: RΓ©visions associΓ©es | |
623 | label_added: ajoutΓ© |
|
625 | label_added: ajoutΓ© | |
624 | label_modified: modifiΓ© |
|
626 | label_modified: modifiΓ© | |
625 | label_copied: copiΓ© |
|
627 | label_copied: copiΓ© | |
626 | label_renamed: renommΓ© |
|
628 | label_renamed: renommΓ© | |
627 | label_deleted: supprimΓ© |
|
629 | label_deleted: supprimΓ© | |
628 | label_latest_revision: Dernière révision |
|
630 | label_latest_revision: Dernière révision | |
629 | label_latest_revision_plural: Dernières révisions |
|
631 | label_latest_revision_plural: Dernières révisions | |
630 | label_view_revisions: Voir les rΓ©visions |
|
632 | label_view_revisions: Voir les rΓ©visions | |
631 | label_max_size: Taille maximale |
|
633 | label_max_size: Taille maximale | |
632 | label_sort_highest: Remonter en premier |
|
634 | label_sort_highest: Remonter en premier | |
633 | label_sort_higher: Remonter |
|
635 | label_sort_higher: Remonter | |
634 | label_sort_lower: Descendre |
|
636 | label_sort_lower: Descendre | |
635 | label_sort_lowest: Descendre en dernier |
|
637 | label_sort_lowest: Descendre en dernier | |
636 | label_roadmap: Roadmap |
|
638 | label_roadmap: Roadmap | |
637 | label_roadmap_due_in: "ΓchΓ©ance dans {{value}}" |
|
639 | label_roadmap_due_in: "ΓchΓ©ance dans {{value}}" | |
638 | label_roadmap_overdue: "En retard de {{value}}" |
|
640 | label_roadmap_overdue: "En retard de {{value}}" | |
639 | label_roadmap_no_issues: Aucune demande pour cette version |
|
641 | label_roadmap_no_issues: Aucune demande pour cette version | |
640 | label_search: "Recherche " |
|
642 | label_search: "Recherche " | |
641 | label_result_plural: RΓ©sultats |
|
643 | label_result_plural: RΓ©sultats | |
642 | label_all_words: Tous les mots |
|
644 | label_all_words: Tous les mots | |
643 | label_wiki: Wiki |
|
645 | label_wiki: Wiki | |
644 | label_wiki_edit: RΓ©vision wiki |
|
646 | label_wiki_edit: RΓ©vision wiki | |
645 | label_wiki_edit_plural: RΓ©visions wiki |
|
647 | label_wiki_edit_plural: RΓ©visions wiki | |
646 | label_wiki_page: Page wiki |
|
648 | label_wiki_page: Page wiki | |
647 | label_wiki_page_plural: Pages wiki |
|
649 | label_wiki_page_plural: Pages wiki | |
648 | label_index_by_title: Index par titre |
|
650 | label_index_by_title: Index par titre | |
649 | label_index_by_date: Index par date |
|
651 | label_index_by_date: Index par date | |
650 | label_current_version: Version actuelle |
|
652 | label_current_version: Version actuelle | |
651 | label_preview: PrΓ©visualisation |
|
653 | label_preview: PrΓ©visualisation | |
652 | label_feed_plural: Flux RSS |
|
654 | label_feed_plural: Flux RSS | |
653 | label_changes_details: DΓ©tails de tous les changements |
|
655 | label_changes_details: DΓ©tails de tous les changements | |
654 | label_issue_tracking: Suivi des demandes |
|
656 | label_issue_tracking: Suivi des demandes | |
655 | label_spent_time: Temps passΓ© |
|
657 | label_spent_time: Temps passΓ© | |
656 | label_f_hour: "{{value}} heure" |
|
658 | label_f_hour: "{{value}} heure" | |
657 | label_f_hour_plural: "{{value}} heures" |
|
659 | label_f_hour_plural: "{{value}} heures" | |
658 | label_time_tracking: Suivi du temps |
|
660 | label_time_tracking: Suivi du temps | |
659 | label_change_plural: Changements |
|
661 | label_change_plural: Changements | |
660 | label_statistics: Statistiques |
|
662 | label_statistics: Statistiques | |
661 | label_commits_per_month: Commits par mois |
|
663 | label_commits_per_month: Commits par mois | |
662 | label_commits_per_author: Commits par auteur |
|
664 | label_commits_per_author: Commits par auteur | |
663 | label_view_diff: Voir les diffΓ©rences |
|
665 | label_view_diff: Voir les diffΓ©rences | |
664 | label_diff_inline: en ligne |
|
666 | label_diff_inline: en ligne | |
665 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te |
|
667 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te | |
666 | label_options: Options |
|
668 | label_options: Options | |
667 | label_copy_workflow_from: Copier le workflow de |
|
669 | label_copy_workflow_from: Copier le workflow de | |
668 | label_permissions_report: Synthèse des permissions |
|
670 | label_permissions_report: Synthèse des permissions | |
669 | label_watched_issues: Demandes surveillΓ©es |
|
671 | label_watched_issues: Demandes surveillΓ©es | |
670 | label_related_issues: Demandes liΓ©es |
|
672 | label_related_issues: Demandes liΓ©es | |
671 | label_applied_status: Statut appliquΓ© |
|
673 | label_applied_status: Statut appliquΓ© | |
672 | label_loading: Chargement... |
|
674 | label_loading: Chargement... | |
673 | label_relation_new: Nouvelle relation |
|
675 | label_relation_new: Nouvelle relation | |
674 | label_relation_delete: Supprimer la relation |
|
676 | label_relation_delete: Supprimer la relation | |
675 | label_relates_to: liΓ© Γ |
|
677 | label_relates_to: liΓ© Γ | |
676 | label_duplicates: duplique |
|
678 | label_duplicates: duplique | |
677 | label_duplicated_by: dupliquΓ© par |
|
679 | label_duplicated_by: dupliquΓ© par | |
678 | label_blocks: bloque |
|
680 | label_blocks: bloque | |
679 | label_blocked_by: bloquΓ© par |
|
681 | label_blocked_by: bloquΓ© par | |
680 | label_precedes: précède |
|
682 | label_precedes: précède | |
681 | label_follows: suit |
|
683 | label_follows: suit | |
682 | label_end_to_start: fin Γ dΓ©but |
|
684 | label_end_to_start: fin Γ dΓ©but | |
683 | label_end_to_end: fin Γ fin |
|
685 | label_end_to_end: fin Γ fin | |
684 | label_start_to_start: dΓ©but Γ dΓ©but |
|
686 | label_start_to_start: dΓ©but Γ dΓ©but | |
685 | label_start_to_end: dΓ©but Γ fin |
|
687 | label_start_to_end: dΓ©but Γ fin | |
686 | label_stay_logged_in: Rester connectΓ© |
|
688 | label_stay_logged_in: Rester connectΓ© | |
687 | label_disabled: dΓ©sactivΓ© |
|
689 | label_disabled: dΓ©sactivΓ© | |
688 | label_show_completed_versions: Voir les versions passΓ©es |
|
690 | label_show_completed_versions: Voir les versions passΓ©es | |
689 | label_me: moi |
|
691 | label_me: moi | |
690 | label_board: Forum |
|
692 | label_board: Forum | |
691 | label_board_new: Nouveau forum |
|
693 | label_board_new: Nouveau forum | |
692 | label_board_plural: Forums |
|
694 | label_board_plural: Forums | |
693 | label_topic_plural: Discussions |
|
695 | label_topic_plural: Discussions | |
694 | label_message_plural: Messages |
|
696 | label_message_plural: Messages | |
695 | label_message_last: Dernier message |
|
697 | label_message_last: Dernier message | |
696 | label_message_new: Nouveau message |
|
698 | label_message_new: Nouveau message | |
697 | label_message_posted: Message ajoutΓ© |
|
699 | label_message_posted: Message ajoutΓ© | |
698 | label_reply_plural: RΓ©ponses |
|
700 | label_reply_plural: RΓ©ponses | |
699 | label_send_information: Envoyer les informations Γ l'utilisateur |
|
701 | label_send_information: Envoyer les informations Γ l'utilisateur | |
700 | label_year: AnnΓ©e |
|
702 | label_year: AnnΓ©e | |
701 | label_month: Mois |
|
703 | label_month: Mois | |
702 | label_week: Semaine |
|
704 | label_week: Semaine | |
703 | label_date_from: Du |
|
705 | label_date_from: Du | |
704 | label_date_to: Au |
|
706 | label_date_to: Au | |
705 | label_language_based: BasΓ© sur la langue de l'utilisateur |
|
707 | label_language_based: BasΓ© sur la langue de l'utilisateur | |
706 | label_sort_by: "Trier par {{value}}" |
|
708 | label_sort_by: "Trier par {{value}}" | |
707 | label_send_test_email: Envoyer un email de test |
|
709 | label_send_test_email: Envoyer un email de test | |
708 | label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a {{value}}" |
|
710 | label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a {{value}}" | |
709 | label_module_plural: Modules |
|
711 | label_module_plural: Modules | |
710 | label_added_time_by: "AjoutΓ© par {{author}} il y a {{age}}" |
|
712 | label_added_time_by: "AjoutΓ© par {{author}} il y a {{age}}" | |
711 | label_updated_time_by: "Mis Γ jour par {{author}} il y a {{age}}" |
|
713 | label_updated_time_by: "Mis Γ jour par {{author}} il y a {{age}}" | |
712 | label_updated_time: "Mis Γ jour il y a {{value}}" |
|
714 | label_updated_time: "Mis Γ jour il y a {{value}}" | |
713 | label_jump_to_a_project: Aller Γ un projet... |
|
715 | label_jump_to_a_project: Aller Γ un projet... | |
714 | label_file_plural: Fichiers |
|
716 | label_file_plural: Fichiers | |
715 | label_changeset_plural: RΓ©visions |
|
717 | label_changeset_plural: RΓ©visions | |
716 | label_default_columns: Colonnes par dΓ©faut |
|
718 | label_default_columns: Colonnes par dΓ©faut | |
717 | label_no_change_option: (Pas de changement) |
|
719 | label_no_change_option: (Pas de changement) | |
718 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es |
|
720 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es | |
719 | label_theme: Thème |
|
721 | label_theme: Thème | |
720 | label_default: DΓ©faut |
|
722 | label_default: DΓ©faut | |
721 | label_search_titles_only: Uniquement dans les titres |
|
723 | label_search_titles_only: Uniquement dans les titres | |
722 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" |
|
724 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" | |
723 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." |
|
725 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." | |
724 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" |
|
726 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" | |
725 | label_registration_activation_by_email: activation du compte par email |
|
727 | label_registration_activation_by_email: activation du compte par email | |
726 | label_registration_manual_activation: activation manuelle du compte |
|
728 | label_registration_manual_activation: activation manuelle du compte | |
727 | label_registration_automatic_activation: activation automatique du compte |
|
729 | label_registration_automatic_activation: activation automatique du compte | |
728 | label_display_per_page: "Par page : {{value}}" |
|
730 | label_display_per_page: "Par page : {{value}}" | |
729 | label_age: Γge |
|
731 | label_age: Γge | |
730 | label_change_properties: Changer les propriΓ©tΓ©s |
|
732 | label_change_properties: Changer les propriΓ©tΓ©s | |
731 | label_general: GΓ©nΓ©ral |
|
733 | label_general: GΓ©nΓ©ral | |
732 | label_more: Plus |
|
734 | label_more: Plus | |
733 | label_scm: SCM |
|
735 | label_scm: SCM | |
734 | label_plugins: Plugins |
|
736 | label_plugins: Plugins | |
735 | label_ldap_authentication: Authentification LDAP |
|
737 | label_ldap_authentication: Authentification LDAP | |
736 | label_downloads_abbr: D/L |
|
738 | label_downloads_abbr: D/L | |
737 | label_optional_description: Description facultative |
|
739 | label_optional_description: Description facultative | |
738 | label_add_another_file: Ajouter un autre fichier |
|
740 | label_add_another_file: Ajouter un autre fichier | |
739 | label_preferences: PrΓ©fΓ©rences |
|
741 | label_preferences: PrΓ©fΓ©rences | |
740 | label_chronological_order: Dans l'ordre chronologique |
|
742 | label_chronological_order: Dans l'ordre chronologique | |
741 | label_reverse_chronological_order: Dans l'ordre chronologique inverse |
|
743 | label_reverse_chronological_order: Dans l'ordre chronologique inverse | |
742 | label_planning: Planning |
|
744 | label_planning: Planning | |
743 | label_incoming_emails: Emails entrants |
|
745 | label_incoming_emails: Emails entrants | |
744 | label_generate_key: GΓ©nΓ©rer une clΓ© |
|
746 | label_generate_key: GΓ©nΓ©rer une clΓ© | |
745 | label_issue_watchers: Observateurs |
|
747 | label_issue_watchers: Observateurs | |
746 | label_example: Exemple |
|
748 | label_example: Exemple | |
747 | label_display: Affichage |
|
749 | label_display: Affichage | |
748 | label_sort: Tri |
|
750 | label_sort: Tri | |
749 | label_ascending: Croissant |
|
751 | label_ascending: Croissant | |
750 | label_descending: DΓ©croissant |
|
752 | label_descending: DΓ©croissant | |
751 | label_date_from_to: Du {{start}} au {{end}} |
|
753 | label_date_from_to: Du {{start}} au {{end}} | |
752 | label_wiki_content_added: Page wiki ajoutΓ©e |
|
754 | label_wiki_content_added: Page wiki ajoutΓ©e | |
753 | label_wiki_content_updated: Page wiki mise Γ jour |
|
755 | label_wiki_content_updated: Page wiki mise Γ jour | |
754 | label_group_plural: Groupes |
|
756 | label_group_plural: Groupes | |
755 | label_group: Groupe |
|
757 | label_group: Groupe | |
756 | label_group_new: Nouveau groupe |
|
758 | label_group_new: Nouveau groupe | |
757 | label_time_entry_plural: Temps passΓ© |
|
759 | label_time_entry_plural: Temps passΓ© | |
758 | label_version_sharing_none: Non partagΓ© |
|
760 | label_version_sharing_none: Non partagΓ© | |
759 | label_version_sharing_descendants: Avec les sous-projets |
|
761 | label_version_sharing_descendants: Avec les sous-projets | |
760 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie |
|
762 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie | |
761 | label_version_sharing_tree: Avec tout l'arbre |
|
763 | label_version_sharing_tree: Avec tout l'arbre | |
762 | label_version_sharing_system: Avec tous les projets |
|
764 | label_version_sharing_system: Avec tous les projets | |
763 | label_copy_source: Source |
|
765 | label_copy_source: Source | |
764 | label_copy_target: Cible |
|
766 | label_copy_target: Cible | |
765 | label_copy_same_as_target: Comme la cible |
|
767 | label_copy_same_as_target: Comme la cible | |
766 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes |
|
768 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes | |
767 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker |
|
769 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker | |
768 | label_api_access_key: Clé d'accès API |
|
770 | label_api_access_key: Clé d'accès API | |
769 | label_api_access_key_created_on: Clé d'accès API créée il y a {{value}} |
|
771 | label_api_access_key_created_on: Clé d'accès API créée il y a {{value}} | |
770 | label_feeds_access_key: Clé d'accès RSS |
|
772 | label_feeds_access_key: Clé d'accès RSS | |
771 | label_missing_api_access_key: Clé d'accès API manquante |
|
773 | label_missing_api_access_key: Clé d'accès API manquante | |
772 | label_missing_feeds_access_key: Clé d'accès RSS manquante |
|
774 | label_missing_feeds_access_key: Clé d'accès RSS manquante | |
773 | label_close_versions: Fermer les versions terminΓ©es |
|
775 | label_close_versions: Fermer les versions terminΓ©es | |
774 | label_revision_id: Revision {{value}} |
|
776 | label_revision_id: Revision {{value}} | |
775 | label_profile: Profil |
|
777 | label_profile: Profil | |
776 | label_subtask_plural: Sous-tΓ’ches |
|
778 | label_subtask_plural: Sous-tΓ’ches | |
777 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet |
|
779 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet | |
778 | label_principal_search: "Rechercher un utilisateur ou un groupe :" |
|
780 | label_principal_search: "Rechercher un utilisateur ou un groupe :" | |
779 | label_user_search: "Rechercher un utilisateur :" |
|
781 | label_user_search: "Rechercher un utilisateur :" | |
780 |
|
782 | |||
781 | button_login: Connexion |
|
783 | button_login: Connexion | |
782 | button_submit: Soumettre |
|
784 | button_submit: Soumettre | |
783 | button_save: Sauvegarder |
|
785 | button_save: Sauvegarder | |
784 | button_check_all: Tout cocher |
|
786 | button_check_all: Tout cocher | |
785 | button_uncheck_all: Tout dΓ©cocher |
|
787 | button_uncheck_all: Tout dΓ©cocher | |
786 | button_delete: Supprimer |
|
788 | button_delete: Supprimer | |
787 | button_create: CrΓ©er |
|
789 | button_create: CrΓ©er | |
788 | button_create_and_continue: CrΓ©er et continuer |
|
790 | button_create_and_continue: CrΓ©er et continuer | |
789 | button_test: Tester |
|
791 | button_test: Tester | |
790 | button_edit: Modifier |
|
792 | button_edit: Modifier | |
791 | button_add: Ajouter |
|
793 | button_add: Ajouter | |
792 | button_change: Changer |
|
794 | button_change: Changer | |
793 | button_apply: Appliquer |
|
795 | button_apply: Appliquer | |
794 | button_clear: Effacer |
|
796 | button_clear: Effacer | |
795 | button_lock: Verrouiller |
|
797 | button_lock: Verrouiller | |
796 | button_unlock: DΓ©verrouiller |
|
798 | button_unlock: DΓ©verrouiller | |
797 | button_download: TΓ©lΓ©charger |
|
799 | button_download: TΓ©lΓ©charger | |
798 | button_list: Lister |
|
800 | button_list: Lister | |
799 | button_view: Voir |
|
801 | button_view: Voir | |
800 | button_move: DΓ©placer |
|
802 | button_move: DΓ©placer | |
801 | button_move_and_follow: DΓ©placer et suivre |
|
803 | button_move_and_follow: DΓ©placer et suivre | |
802 | button_back: Retour |
|
804 | button_back: Retour | |
803 | button_cancel: Annuler |
|
805 | button_cancel: Annuler | |
804 | button_activate: Activer |
|
806 | button_activate: Activer | |
805 | button_sort: Trier |
|
807 | button_sort: Trier | |
806 | button_log_time: Saisir temps |
|
808 | button_log_time: Saisir temps | |
807 | button_rollback: Revenir Γ cette version |
|
809 | button_rollback: Revenir Γ cette version | |
808 | button_watch: Surveiller |
|
810 | button_watch: Surveiller | |
809 | button_unwatch: Ne plus surveiller |
|
811 | button_unwatch: Ne plus surveiller | |
810 | button_reply: RΓ©pondre |
|
812 | button_reply: RΓ©pondre | |
811 | button_archive: Archiver |
|
813 | button_archive: Archiver | |
812 | button_unarchive: DΓ©sarchiver |
|
814 | button_unarchive: DΓ©sarchiver | |
813 | button_reset: RΓ©initialiser |
|
815 | button_reset: RΓ©initialiser | |
814 | button_rename: Renommer |
|
816 | button_rename: Renommer | |
815 | button_change_password: Changer de mot de passe |
|
817 | button_change_password: Changer de mot de passe | |
816 | button_copy: Copier |
|
818 | button_copy: Copier | |
817 | button_copy_and_follow: Copier et suivre |
|
819 | button_copy_and_follow: Copier et suivre | |
818 | button_annotate: Annoter |
|
820 | button_annotate: Annoter | |
819 | button_update: Mettre Γ jour |
|
821 | button_update: Mettre Γ jour | |
820 | button_configure: Configurer |
|
822 | button_configure: Configurer | |
821 | button_quote: Citer |
|
823 | button_quote: Citer | |
822 | button_duplicate: Dupliquer |
|
824 | button_duplicate: Dupliquer | |
823 | button_show: Afficher |
|
825 | button_show: Afficher | |
824 |
|
826 | |||
825 | status_active: actif |
|
827 | status_active: actif | |
826 | status_registered: enregistrΓ© |
|
828 | status_registered: enregistrΓ© | |
827 | status_locked: verrouillΓ© |
|
829 | status_locked: verrouillΓ© | |
828 |
|
830 | |||
829 | version_status_open: ouvert |
|
831 | version_status_open: ouvert | |
830 | version_status_locked: verrouillΓ© |
|
832 | version_status_locked: verrouillΓ© | |
831 | version_status_closed: fermΓ© |
|
833 | version_status_closed: fermΓ© | |
832 |
|
834 | |||
833 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e |
|
835 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e | |
834 | text_regexp_info: ex. ^[A-Z0-9]+$ |
|
836 | text_regexp_info: ex. ^[A-Z0-9]+$ | |
835 | text_min_max_length_info: 0 pour aucune restriction |
|
837 | text_min_max_length_info: 0 pour aucune restriction | |
836 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? |
|
838 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? | |
837 | text_subprojects_destroy_warning: "Ses sous-projets : {{value}} seront Γ©galement supprimΓ©s." |
|
839 | text_subprojects_destroy_warning: "Ses sous-projets : {{value}} seront Γ©galement supprimΓ©s." | |
838 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow |
|
840 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow | |
839 | text_are_you_sure: Γtes-vous sΓ»r ? |
|
841 | text_are_you_sure: Γtes-vous sΓ»r ? | |
840 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour |
|
842 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour | |
841 | text_tip_issue_end_day: tΓ’che finissant ce jour |
|
843 | text_tip_issue_end_day: tΓ’che finissant ce jour | |
842 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour |
|
844 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour | |
843 | text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres et tirets sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.' |
|
845 | text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres et tirets sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.' | |
844 | text_caracters_maximum: "{{count}} caractères maximum." |
|
846 | text_caracters_maximum: "{{count}} caractères maximum." | |
845 | text_caracters_minimum: "{{count}} caractères minimum." |
|
847 | text_caracters_minimum: "{{count}} caractères minimum." | |
846 | text_length_between: "Longueur comprise entre {{min}} et {{max}} caractères." |
|
848 | text_length_between: "Longueur comprise entre {{min}} et {{max}} caractères." | |
847 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker |
|
849 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker | |
848 | text_unallowed_characters: Caractères non autorisés |
|
850 | text_unallowed_characters: Caractères non autorisés | |
849 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). |
|
851 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). | |
850 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). |
|
852 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). | |
851 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits |
|
853 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits | |
852 | text_issue_added: "La demande {{id}} a Γ©tΓ© soumise par {{author}}." |
|
854 | text_issue_added: "La demande {{id}} a Γ©tΓ© soumise par {{author}}." | |
853 | text_issue_updated: "La demande {{id}} a Γ©tΓ© mise Γ jour par {{author}}." |
|
855 | text_issue_updated: "La demande {{id}} a Γ©tΓ© mise Γ jour par {{author}}." | |
854 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? |
|
856 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? | |
855 | text_issue_category_destroy_question: "{{count}} demandes sont affectΓ©es Γ cette catΓ©gories. Que voulez-vous faire ?" |
|
857 | text_issue_category_destroy_question: "{{count}} demandes sont affectΓ©es Γ cette catΓ©gories. Que voulez-vous faire ?" | |
856 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie |
|
858 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie | |
857 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie |
|
859 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie | |
858 | 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)." |
|
860 | 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)." | |
859 | 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Γ©." |
|
861 | 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Γ©." | |
860 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut |
|
862 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut | |
861 | text_status_changed_by_changeset: "AppliquΓ© par commit {{value}}." |
|
863 | text_status_changed_by_changeset: "AppliquΓ© par commit {{value}}." | |
862 | text_time_logged_by_changeset: "AppliquΓ© par commit {{value}}" |
|
864 | text_time_logged_by_changeset: "AppliquΓ© par commit {{value}}" | |
863 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer le(s) demandes(s) selectionnΓ©e(s) ?' |
|
865 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer le(s) demandes(s) selectionnΓ©e(s) ?' | |
864 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' |
|
866 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' | |
865 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© |
|
867 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© | |
866 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture |
|
868 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture | |
867 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture |
|
869 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture | |
868 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) |
|
870 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) | |
869 | text_destroy_time_entries_question: "{{hours}} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" |
|
871 | text_destroy_time_entries_question: "{{hours}} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" | |
870 | text_destroy_time_entries: Supprimer les heures |
|
872 | text_destroy_time_entries: Supprimer les heures | |
871 | text_assign_time_entries_to_project: Reporter les heures sur le projet |
|
873 | text_assign_time_entries_to_project: Reporter les heures sur le projet | |
872 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' |
|
874 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' | |
873 | text_user_wrote: "{{value}} a Γ©crit :" |
|
875 | text_user_wrote: "{{value}} a Γ©crit :" | |
874 | text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ {{count}} objets." |
|
876 | text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ {{count}} objets." | |
875 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' |
|
877 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' | |
876 | 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/email.yml et redΓ©marrez l'application pour les activer." |
|
878 | 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/email.yml et redΓ©marrez l'application pour les activer." | |
877 | 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." |
|
879 | 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." | |
878 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' |
|
880 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' | |
879 | text_custom_field_possible_values_info: 'Une ligne par valeur' |
|
881 | text_custom_field_possible_values_info: 'Une ligne par valeur' | |
880 | text_wiki_page_destroy_question: "Cette page possède {{descendants}} sous-page(s) et descendante(s). Que voulez-vous faire ?" |
|
882 | text_wiki_page_destroy_question: "Cette page possède {{descendants}} sous-page(s) et descendante(s). Que voulez-vous faire ?" | |
881 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" |
|
883 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" | |
882 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" |
|
884 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" | |
883 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" |
|
885 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" | |
884 | 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 ?" |
|
886 | 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 ?" | |
885 |
|
887 | |||
886 | default_role_manager: "Manager " |
|
888 | default_role_manager: "Manager " | |
887 | default_role_developer: "DΓ©veloppeur " |
|
889 | default_role_developer: "DΓ©veloppeur " | |
888 | default_role_reporter: "Rapporteur " |
|
890 | default_role_reporter: "Rapporteur " | |
889 | default_tracker_bug: Anomalie |
|
891 | default_tracker_bug: Anomalie | |
890 | default_tracker_feature: Evolution |
|
892 | default_tracker_feature: Evolution | |
891 | default_tracker_support: Assistance |
|
893 | default_tracker_support: Assistance | |
892 | default_issue_status_new: Nouveau |
|
894 | default_issue_status_new: Nouveau | |
893 | default_issue_status_in_progress: En cours |
|
895 | default_issue_status_in_progress: En cours | |
894 | default_issue_status_resolved: RΓ©solu |
|
896 | default_issue_status_resolved: RΓ©solu | |
895 | default_issue_status_feedback: Commentaire |
|
897 | default_issue_status_feedback: Commentaire | |
896 | default_issue_status_closed: FermΓ© |
|
898 | default_issue_status_closed: FermΓ© | |
897 | default_issue_status_rejected: RejetΓ© |
|
899 | default_issue_status_rejected: RejetΓ© | |
898 | default_doc_category_user: Documentation utilisateur |
|
900 | default_doc_category_user: Documentation utilisateur | |
899 | default_doc_category_tech: Documentation technique |
|
901 | default_doc_category_tech: Documentation technique | |
900 | default_priority_low: Bas |
|
902 | default_priority_low: Bas | |
901 | default_priority_normal: Normal |
|
903 | default_priority_normal: Normal | |
902 | default_priority_high: Haut |
|
904 | default_priority_high: Haut | |
903 | default_priority_urgent: Urgent |
|
905 | default_priority_urgent: Urgent | |
904 | default_priority_immediate: ImmΓ©diat |
|
906 | default_priority_immediate: ImmΓ©diat | |
905 | default_activity_design: Conception |
|
907 | default_activity_design: Conception | |
906 | default_activity_development: DΓ©veloppement |
|
908 | default_activity_development: DΓ©veloppement | |
907 |
|
909 | |||
908 | enumeration_issue_priorities: PrioritΓ©s des demandes |
|
910 | enumeration_issue_priorities: PrioritΓ©s des demandes | |
909 | enumeration_doc_categories: CatΓ©gories des documents |
|
911 | enumeration_doc_categories: CatΓ©gories des documents | |
910 | enumeration_activities: ActivitΓ©s (suivi du temps) |
|
912 | enumeration_activities: ActivitΓ©s (suivi du temps) | |
911 | label_greater_or_equal: ">=" |
|
913 | label_greater_or_equal: ">=" | |
912 | label_less_or_equal: "<=" |
|
914 | label_less_or_equal: "<=" | |
913 | label_view_all_revisions: Voir toutes les rΓ©visions |
|
915 | label_view_all_revisions: Voir toutes les rΓ©visions | |
914 | label_tag: Tag |
|
916 | label_tag: Tag | |
915 | label_branch: Branche |
|
917 | label_branch: Branche | |
916 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." |
|
918 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." | |
917 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." |
|
919 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." | |
918 | text_journal_changed: "{{label}} changΓ© de {{old}} Γ {{new}}" |
|
920 | text_journal_changed: "{{label}} changΓ© de {{old}} Γ {{new}}" | |
919 | text_journal_set_to: "{{label}} mis Γ {{value}}" |
|
921 | text_journal_set_to: "{{label}} mis Γ {{value}}" | |
920 | text_journal_deleted: "{{label}} {{old}} supprimΓ©" |
|
922 | text_journal_deleted: "{{label}} {{old}} supprimΓ©" | |
921 | text_journal_added: "{{label}} {{value}} ajoutΓ©" |
|
923 | text_journal_added: "{{label}} {{value}} ajoutΓ©" | |
922 | enumeration_system_activity: Activité système |
|
924 | enumeration_system_activity: Activité système | |
923 | label_board_sticky: Sticky |
|
925 | label_board_sticky: Sticky | |
924 | label_board_locked: VerrouillΓ© |
|
926 | label_board_locked: VerrouillΓ© | |
925 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande |
|
927 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande | |
926 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© |
|
928 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© | |
927 | error_unable_to_connect: Connexion impossible ({{value}}) |
|
929 | error_unable_to_connect: Connexion impossible ({{value}}) | |
928 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. |
|
930 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. | |
929 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. |
|
931 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. | |
930 | field_principal: Principal |
|
932 | field_principal: Principal | |
931 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: {{errors}}." |
|
933 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: {{errors}}." | |
932 | text_zoom_out: Zoom arrière |
|
934 | text_zoom_out: Zoom arrière | |
933 | text_zoom_in: Zoom avant |
|
935 | text_zoom_in: Zoom avant | |
934 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. |
|
936 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. | |
935 | label_overall_spent_time: Temps passΓ© global |
|
937 | label_overall_spent_time: Temps passΓ© global | |
936 | field_time_entries: Log time |
|
938 | field_time_entries: Log time | |
937 | project_module_gantt: Gantt |
|
939 | project_module_gantt: Gantt | |
938 | project_module_calendar: Calendrier |
|
940 | project_module_calendar: Calendrier | |
939 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: {{page_title}}" |
|
941 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: {{page_title}}" | |
940 | text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ? |
|
942 | text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ? | |
941 | field_text: Champ texte |
|
943 | field_text: Champ texte | |
942 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé |
|
944 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé | |
943 | setting_default_notification_option: Option de notification par dΓ©faut |
|
945 | setting_default_notification_option: Option de notification par dΓ©faut | |
944 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille |
|
946 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille | |
945 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© |
|
947 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© | |
946 | label_user_mail_option_none: Aucune notification |
|
948 | label_user_mail_option_none: Aucune notification | |
947 | field_member_of_group: Groupe de l'assignΓ© |
|
949 | field_member_of_group: Groupe de l'assignΓ© | |
948 | field_assigned_to_role: RΓ΄le de l'assignΓ© |
|
950 | field_assigned_to_role: RΓ΄le de l'assignΓ© | |
949 | field_start_date: Start date |
|
951 | field_start_date: Start date | |
950 | setting_emails_header: Emails header |
|
952 | setting_emails_header: Emails header |
@@ -1,195 +1,198 | |||||
1 | # redMine - project management software |
|
1 | # redMine - project management software | |
2 | # Copyright (C) 2006-2007 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2007 Jean-Philippe Lang | |
3 | # |
|
3 | # | |
4 | # This program is free software; you can redistribute it and/or |
|
4 | # This program is free software; you can redistribute it and/or | |
5 | # modify it under the terms of the GNU General Public License |
|
5 | # modify it under the terms of the GNU General Public License | |
6 | # as published by the Free Software Foundation; either version 2 |
|
6 | # as published by the Free Software Foundation; either version 2 | |
7 | # of the License, or (at your option) any later version. |
|
7 | # of the License, or (at your option) any later version. | |
8 | # |
|
8 | # | |
9 | # This program is distributed in the hope that it will be useful, |
|
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. |
|
12 | # GNU General Public License for more details. | |
13 | # |
|
13 | # | |
14 | # You should have received a copy of the GNU General Public License |
|
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software |
|
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
17 |
|
17 | |||
18 |
|
18 | |||
19 | # DO NOT MODIFY THIS FILE !!! |
|
19 | # DO NOT MODIFY THIS FILE !!! | |
20 | # Settings can be defined through the application in Admin -> Settings |
|
20 | # Settings can be defined through the application in Admin -> Settings | |
21 |
|
21 | |||
22 | app_title: |
|
22 | app_title: | |
23 | default: Redmine |
|
23 | default: Redmine | |
24 | app_subtitle: |
|
24 | app_subtitle: | |
25 | default: Project management |
|
25 | default: Project management | |
26 | welcome_text: |
|
26 | welcome_text: | |
27 | default: |
|
27 | default: | |
28 | login_required: |
|
28 | login_required: | |
29 | default: 0 |
|
29 | default: 0 | |
30 | self_registration: |
|
30 | self_registration: | |
31 | default: '2' |
|
31 | default: '2' | |
32 | lost_password: |
|
32 | lost_password: | |
33 | default: 1 |
|
33 | default: 1 | |
34 | password_min_length: |
|
34 | password_min_length: | |
35 | format: int |
|
35 | format: int | |
36 | default: 4 |
|
36 | default: 4 | |
37 | attachment_max_size: |
|
37 | attachment_max_size: | |
38 | format: int |
|
38 | format: int | |
39 | default: 5120 |
|
39 | default: 5120 | |
40 | issues_export_limit: |
|
40 | issues_export_limit: | |
41 | format: int |
|
41 | format: int | |
42 | default: 500 |
|
42 | default: 500 | |
43 | activity_days_default: |
|
43 | activity_days_default: | |
44 | format: int |
|
44 | format: int | |
45 | default: 30 |
|
45 | default: 30 | |
46 | per_page_options: |
|
46 | per_page_options: | |
47 | default: '25,50,100' |
|
47 | default: '25,50,100' | |
48 | mail_from: |
|
48 | mail_from: | |
49 | default: redmine@example.net |
|
49 | default: redmine@example.net | |
50 | bcc_recipients: |
|
50 | bcc_recipients: | |
51 | default: 1 |
|
51 | default: 1 | |
52 | plain_text_mail: |
|
52 | plain_text_mail: | |
53 | default: 0 |
|
53 | default: 0 | |
54 | text_formatting: |
|
54 | text_formatting: | |
55 | default: textile |
|
55 | default: textile | |
56 | cache_formatted_text: |
|
56 | cache_formatted_text: | |
57 | default: 0 |
|
57 | default: 0 | |
58 | wiki_compression: |
|
58 | wiki_compression: | |
59 | default: "" |
|
59 | default: "" | |
60 | default_language: |
|
60 | default_language: | |
61 | default: en |
|
61 | default: en | |
62 | host_name: |
|
62 | host_name: | |
63 | default: localhost:3000 |
|
63 | default: localhost:3000 | |
64 | protocol: |
|
64 | protocol: | |
65 | default: http |
|
65 | default: http | |
66 | feeds_limit: |
|
66 | feeds_limit: | |
67 | format: int |
|
67 | format: int | |
68 | default: 15 |
|
68 | default: 15 | |
|
69 | gantt_items_limit: | |||
|
70 | format: int | |||
|
71 | default: 500 | |||
69 | # Maximum size of files that can be displayed |
|
72 | # Maximum size of files that can be displayed | |
70 | # inline through the file viewer (in KB) |
|
73 | # inline through the file viewer (in KB) | |
71 | file_max_size_displayed: |
|
74 | file_max_size_displayed: | |
72 | format: int |
|
75 | format: int | |
73 | default: 512 |
|
76 | default: 512 | |
74 | diff_max_lines_displayed: |
|
77 | diff_max_lines_displayed: | |
75 | format: int |
|
78 | format: int | |
76 | default: 1500 |
|
79 | default: 1500 | |
77 | enabled_scm: |
|
80 | enabled_scm: | |
78 | serialized: true |
|
81 | serialized: true | |
79 | default: |
|
82 | default: | |
80 | - Subversion |
|
83 | - Subversion | |
81 | - Darcs |
|
84 | - Darcs | |
82 | - Mercurial |
|
85 | - Mercurial | |
83 | - Cvs |
|
86 | - Cvs | |
84 | - Bazaar |
|
87 | - Bazaar | |
85 | - Git |
|
88 | - Git | |
86 | autofetch_changesets: |
|
89 | autofetch_changesets: | |
87 | default: 1 |
|
90 | default: 1 | |
88 | sys_api_enabled: |
|
91 | sys_api_enabled: | |
89 | default: 0 |
|
92 | default: 0 | |
90 | sys_api_key: |
|
93 | sys_api_key: | |
91 | default: '' |
|
94 | default: '' | |
92 | commit_ref_keywords: |
|
95 | commit_ref_keywords: | |
93 | default: 'refs,references,IssueID' |
|
96 | default: 'refs,references,IssueID' | |
94 | commit_fix_keywords: |
|
97 | commit_fix_keywords: | |
95 | default: 'fixes,closes' |
|
98 | default: 'fixes,closes' | |
96 | commit_fix_status_id: |
|
99 | commit_fix_status_id: | |
97 | format: int |
|
100 | format: int | |
98 | default: 0 |
|
101 | default: 0 | |
99 | commit_fix_done_ratio: |
|
102 | commit_fix_done_ratio: | |
100 | default: 100 |
|
103 | default: 100 | |
101 | commit_logtime_enabled: |
|
104 | commit_logtime_enabled: | |
102 | default: 0 |
|
105 | default: 0 | |
103 | commit_logtime_activity_id: |
|
106 | commit_logtime_activity_id: | |
104 | format: int |
|
107 | format: int | |
105 | default: 0 |
|
108 | default: 0 | |
106 | # autologin duration in days |
|
109 | # autologin duration in days | |
107 | # 0 means autologin is disabled |
|
110 | # 0 means autologin is disabled | |
108 | autologin: |
|
111 | autologin: | |
109 | format: int |
|
112 | format: int | |
110 | default: 0 |
|
113 | default: 0 | |
111 | # date format |
|
114 | # date format | |
112 | date_format: |
|
115 | date_format: | |
113 | default: '' |
|
116 | default: '' | |
114 | time_format: |
|
117 | time_format: | |
115 | default: '' |
|
118 | default: '' | |
116 | user_format: |
|
119 | user_format: | |
117 | default: :firstname_lastname |
|
120 | default: :firstname_lastname | |
118 | format: symbol |
|
121 | format: symbol | |
119 | cross_project_issue_relations: |
|
122 | cross_project_issue_relations: | |
120 | default: 0 |
|
123 | default: 0 | |
121 | notified_events: |
|
124 | notified_events: | |
122 | serialized: true |
|
125 | serialized: true | |
123 | default: |
|
126 | default: | |
124 | - issue_added |
|
127 | - issue_added | |
125 | - issue_updated |
|
128 | - issue_updated | |
126 | mail_handler_body_delimiters: |
|
129 | mail_handler_body_delimiters: | |
127 | default: '' |
|
130 | default: '' | |
128 | mail_handler_api_enabled: |
|
131 | mail_handler_api_enabled: | |
129 | default: 0 |
|
132 | default: 0 | |
130 | mail_handler_api_key: |
|
133 | mail_handler_api_key: | |
131 | default: |
|
134 | default: | |
132 | issue_list_default_columns: |
|
135 | issue_list_default_columns: | |
133 | serialized: true |
|
136 | serialized: true | |
134 | default: |
|
137 | default: | |
135 | - tracker |
|
138 | - tracker | |
136 | - status |
|
139 | - status | |
137 | - priority |
|
140 | - priority | |
138 | - subject |
|
141 | - subject | |
139 | - assigned_to |
|
142 | - assigned_to | |
140 | - updated_on |
|
143 | - updated_on | |
141 | display_subprojects_issues: |
|
144 | display_subprojects_issues: | |
142 | default: 1 |
|
145 | default: 1 | |
143 | issue_done_ratio: |
|
146 | issue_done_ratio: | |
144 | default: 'issue_field' |
|
147 | default: 'issue_field' | |
145 | default_projects_public: |
|
148 | default_projects_public: | |
146 | default: 1 |
|
149 | default: 1 | |
147 | default_projects_modules: |
|
150 | default_projects_modules: | |
148 | serialized: true |
|
151 | serialized: true | |
149 | default: |
|
152 | default: | |
150 | - issue_tracking |
|
153 | - issue_tracking | |
151 | - time_tracking |
|
154 | - time_tracking | |
152 | - news |
|
155 | - news | |
153 | - documents |
|
156 | - documents | |
154 | - files |
|
157 | - files | |
155 | - wiki |
|
158 | - wiki | |
156 | - repository |
|
159 | - repository | |
157 | - boards |
|
160 | - boards | |
158 | - calendar |
|
161 | - calendar | |
159 | - gantt |
|
162 | - gantt | |
160 | # Role given to a non-admin user who creates a project |
|
163 | # Role given to a non-admin user who creates a project | |
161 | new_project_user_role_id: |
|
164 | new_project_user_role_id: | |
162 | format: int |
|
165 | format: int | |
163 | default: '' |
|
166 | default: '' | |
164 | sequential_project_identifiers: |
|
167 | sequential_project_identifiers: | |
165 | default: 0 |
|
168 | default: 0 | |
166 | # encodings used to convert repository files content to UTF-8 |
|
169 | # encodings used to convert repository files content to UTF-8 | |
167 | # multiple values accepted, comma separated |
|
170 | # multiple values accepted, comma separated | |
168 | repositories_encodings: |
|
171 | repositories_encodings: | |
169 | default: '' |
|
172 | default: '' | |
170 | # encoding used to convert commit logs to UTF-8 |
|
173 | # encoding used to convert commit logs to UTF-8 | |
171 | commit_logs_encoding: |
|
174 | commit_logs_encoding: | |
172 | default: 'UTF-8' |
|
175 | default: 'UTF-8' | |
173 | repository_log_display_limit: |
|
176 | repository_log_display_limit: | |
174 | format: int |
|
177 | format: int | |
175 | default: 100 |
|
178 | default: 100 | |
176 | ui_theme: |
|
179 | ui_theme: | |
177 | default: '' |
|
180 | default: '' | |
178 | emails_footer: |
|
181 | emails_footer: | |
179 | default: |- |
|
182 | default: |- | |
180 | You have received this notification because you have either subscribed to it, or are involved in it. |
|
183 | You have received this notification because you have either subscribed to it, or are involved in it. | |
181 | To change your notification preferences, please click here: http://hostname/my/account |
|
184 | To change your notification preferences, please click here: http://hostname/my/account | |
182 | gravatar_enabled: |
|
185 | gravatar_enabled: | |
183 | default: 0 |
|
186 | default: 0 | |
184 | openid: |
|
187 | openid: | |
185 | default: 0 |
|
188 | default: 0 | |
186 | gravatar_default: |
|
189 | gravatar_default: | |
187 | default: '' |
|
190 | default: '' | |
188 | start_of_week: |
|
191 | start_of_week: | |
189 | default: '' |
|
192 | default: '' | |
190 | rest_api_enabled: |
|
193 | rest_api_enabled: | |
191 | default: 0 |
|
194 | default: 0 | |
192 | default_notification_option: |
|
195 | default_notification_option: | |
193 | default: 'only_my_events' |
|
196 | default: 'only_my_events' | |
194 | emails_header: |
|
197 | emails_header: | |
195 | default: '' |
|
198 | default: '' |
@@ -1,974 +1,1004 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2008 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2008 Jean-Philippe Lang | |
3 | # |
|
3 | # | |
4 | # This program is free software; you can redistribute it and/or |
|
4 | # This program is free software; you can redistribute it and/or | |
5 | # modify it under the terms of the GNU General Public License |
|
5 | # modify it under the terms of the GNU General Public License | |
6 | # as published by the Free Software Foundation; either version 2 |
|
6 | # as published by the Free Software Foundation; either version 2 | |
7 | # of the License, or (at your option) any later version. |
|
7 | # of the License, or (at your option) any later version. | |
8 | # |
|
8 | # | |
9 | # This program is distributed in the hope that it will be useful, |
|
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. |
|
12 | # GNU General Public License for more details. | |
13 | # |
|
13 | # | |
14 | # You should have received a copy of the GNU General Public License |
|
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software |
|
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
17 |
|
17 | |||
18 | module Redmine |
|
18 | module Redmine | |
19 | module Helpers |
|
19 | module Helpers | |
20 | # Simple class to handle gantt chart data |
|
20 | # Simple class to handle gantt chart data | |
21 | class Gantt |
|
21 | class Gantt | |
22 | include ERB::Util |
|
22 | include ERB::Util | |
23 | include Redmine::I18n |
|
23 | include Redmine::I18n | |
24 |
|
24 | |||
25 | # :nodoc: |
|
25 | # :nodoc: | |
26 | # Some utility methods for the PDF export |
|
26 | # Some utility methods for the PDF export | |
27 | class PDF |
|
27 | class PDF | |
28 | MaxCharactorsForSubject = 45 |
|
28 | MaxCharactorsForSubject = 45 | |
29 | TotalWidth = 280 |
|
29 | TotalWidth = 280 | |
30 | LeftPaneWidth = 100 |
|
30 | LeftPaneWidth = 100 | |
31 |
|
31 | |||
32 | def self.right_pane_width |
|
32 | def self.right_pane_width | |
33 | TotalWidth - LeftPaneWidth |
|
33 | TotalWidth - LeftPaneWidth | |
34 | end |
|
34 | end | |
35 | end |
|
35 | end | |
36 |
|
36 | |||
37 | attr_reader :year_from, :month_from, :date_from, :date_to, :zoom, :months |
|
37 | attr_reader :year_from, :month_from, :date_from, :date_to, :zoom, :months, :truncated, :max_rows | |
38 | attr_accessor :query |
|
38 | attr_accessor :query | |
39 | attr_accessor :project |
|
39 | attr_accessor :project | |
40 | attr_accessor :view |
|
40 | attr_accessor :view | |
41 |
|
41 | |||
42 | def initialize(options={}) |
|
42 | def initialize(options={}) | |
43 | options = options.dup |
|
43 | options = options.dup | |
44 |
|
44 | |||
45 | if options[:year] && options[:year].to_i >0 |
|
45 | if options[:year] && options[:year].to_i >0 | |
46 | @year_from = options[:year].to_i |
|
46 | @year_from = options[:year].to_i | |
47 | if options[:month] && options[:month].to_i >=1 && options[:month].to_i <= 12 |
|
47 | if options[:month] && options[:month].to_i >=1 && options[:month].to_i <= 12 | |
48 | @month_from = options[:month].to_i |
|
48 | @month_from = options[:month].to_i | |
49 | else |
|
49 | else | |
50 | @month_from = 1 |
|
50 | @month_from = 1 | |
51 | end |
|
51 | end | |
52 | else |
|
52 | else | |
53 | @month_from ||= Date.today.month |
|
53 | @month_from ||= Date.today.month | |
54 | @year_from ||= Date.today.year |
|
54 | @year_from ||= Date.today.year | |
55 | end |
|
55 | end | |
56 |
|
56 | |||
57 | zoom = (options[:zoom] || User.current.pref[:gantt_zoom]).to_i |
|
57 | zoom = (options[:zoom] || User.current.pref[:gantt_zoom]).to_i | |
58 | @zoom = (zoom > 0 && zoom < 5) ? zoom : 2 |
|
58 | @zoom = (zoom > 0 && zoom < 5) ? zoom : 2 | |
59 | months = (options[:months] || User.current.pref[:gantt_months]).to_i |
|
59 | months = (options[:months] || User.current.pref[:gantt_months]).to_i | |
60 | @months = (months > 0 && months < 25) ? months : 6 |
|
60 | @months = (months > 0 && months < 25) ? months : 6 | |
61 |
|
61 | |||
62 | # Save gantt parameters as user preference (zoom and months count) |
|
62 | # Save gantt parameters as user preference (zoom and months count) | |
63 | if (User.current.logged? && (@zoom != User.current.pref[:gantt_zoom] || @months != User.current.pref[:gantt_months])) |
|
63 | if (User.current.logged? && (@zoom != User.current.pref[:gantt_zoom] || @months != User.current.pref[:gantt_months])) | |
64 | User.current.pref[:gantt_zoom], User.current.pref[:gantt_months] = @zoom, @months |
|
64 | User.current.pref[:gantt_zoom], User.current.pref[:gantt_months] = @zoom, @months | |
65 | User.current.preference.save |
|
65 | User.current.preference.save | |
66 | end |
|
66 | end | |
67 |
|
67 | |||
68 | @date_from = Date.civil(@year_from, @month_from, 1) |
|
68 | @date_from = Date.civil(@year_from, @month_from, 1) | |
69 | @date_to = (@date_from >> @months) - 1 |
|
69 | @date_to = (@date_from >> @months) - 1 | |
70 |
|
70 | |||
71 | @subjects = '' |
|
71 | @subjects = '' | |
72 | @lines = '' |
|
72 | @lines = '' | |
73 | @number_of_rows = nil |
|
73 | @number_of_rows = nil | |
|
74 | ||||
|
75 | @truncated = false | |||
|
76 | if options.has_key?(:max_rows) | |||
|
77 | @max_rows = options[:max_rows] | |||
|
78 | else | |||
|
79 | @max_rows = Setting.gantt_items_limit.blank? ? nil : Setting.gantt_items_limit.to_i | |||
|
80 | end | |||
74 | end |
|
81 | end | |
75 |
|
82 | |||
76 | def common_params |
|
83 | def common_params | |
77 | { :controller => 'gantts', :action => 'show', :project_id => @project } |
|
84 | { :controller => 'gantts', :action => 'show', :project_id => @project } | |
78 | end |
|
85 | end | |
79 |
|
86 | |||
80 | def params |
|
87 | def params | |
81 | common_params.merge({ :zoom => zoom, :year => year_from, :month => month_from, :months => months }) |
|
88 | common_params.merge({ :zoom => zoom, :year => year_from, :month => month_from, :months => months }) | |
82 | end |
|
89 | end | |
83 |
|
90 | |||
84 | def params_previous |
|
91 | def params_previous | |
85 | common_params.merge({:year => (date_from << months).year, :month => (date_from << months).month, :zoom => zoom, :months => months }) |
|
92 | common_params.merge({:year => (date_from << months).year, :month => (date_from << months).month, :zoom => zoom, :months => months }) | |
86 | end |
|
93 | end | |
87 |
|
94 | |||
88 | def params_next |
|
95 | def params_next | |
89 | common_params.merge({:year => (date_from >> months).year, :month => (date_from >> months).month, :zoom => zoom, :months => months }) |
|
96 | common_params.merge({:year => (date_from >> months).year, :month => (date_from >> months).month, :zoom => zoom, :months => months }) | |
90 | end |
|
97 | end | |
91 |
|
98 | |||
92 | ### Extracted from the HTML view/helpers |
|
99 | ### Extracted from the HTML view/helpers | |
93 | # Returns the number of rows that will be rendered on the Gantt chart |
|
100 | # Returns the number of rows that will be rendered on the Gantt chart | |
94 | def number_of_rows |
|
101 | def number_of_rows | |
95 | return @number_of_rows if @number_of_rows |
|
102 | return @number_of_rows if @number_of_rows | |
96 |
|
103 | |||
97 | if @project |
|
104 | rows = if @project | |
98 |
|
|
105 | number_of_rows_on_project(@project) | |
99 | else |
|
106 | else | |
100 | Project.roots.visible.has_module('issue_tracking').inject(0) do |total, project| |
|
107 | Project.roots.visible.has_module('issue_tracking').inject(0) do |total, project| | |
101 | total += number_of_rows_on_project(project) |
|
108 | total += number_of_rows_on_project(project) | |
102 | end |
|
109 | end | |
103 | end |
|
110 | end | |
|
111 | ||||
|
112 | rows > @max_rows ? @max_rows : rows | |||
104 | end |
|
113 | end | |
105 |
|
114 | |||
106 | # Returns the number of rows that will be used to list a project on |
|
115 | # Returns the number of rows that will be used to list a project on | |
107 | # the Gantt chart. This will recurse for each subproject. |
|
116 | # the Gantt chart. This will recurse for each subproject. | |
108 | def number_of_rows_on_project(project) |
|
117 | def number_of_rows_on_project(project) | |
109 | # Remove the project requirement for Versions because it will |
|
118 | # Remove the project requirement for Versions because it will | |
110 | # restrict issues to only be on the current project. This |
|
119 | # restrict issues to only be on the current project. This | |
111 | # ends up missing issues which are assigned to shared versions. |
|
120 | # ends up missing issues which are assigned to shared versions. | |
112 | @query.project = nil if @query.project |
|
121 | @query.project = nil if @query.project | |
113 |
|
122 | |||
114 | # One Root project |
|
123 | # One Root project | |
115 | count = 1 |
|
124 | count = 1 | |
116 | # Issues without a Version |
|
125 | # Issues without a Version | |
117 | count += project.issues.for_gantt.without_version.with_query(@query).count |
|
126 | count += project.issues.for_gantt.without_version.with_query(@query).count | |
118 |
|
127 | |||
119 | # Versions |
|
128 | # Versions | |
120 | count += project.versions.count |
|
129 | count += project.versions.count | |
121 |
|
130 | |||
122 | # Issues on the Versions |
|
131 | # Issues on the Versions | |
123 | project.versions.each do |version| |
|
132 | project.versions.each do |version| | |
124 | count += version.fixed_issues.for_gantt.with_query(@query).count |
|
133 | count += version.fixed_issues.for_gantt.with_query(@query).count | |
125 | end |
|
134 | end | |
126 |
|
135 | |||
127 | # Subprojects |
|
136 | # Subprojects | |
128 | project.children.visible.has_module('issue_tracking').each do |subproject| |
|
137 | project.children.visible.has_module('issue_tracking').each do |subproject| | |
129 | count += number_of_rows_on_project(subproject) |
|
138 | count += number_of_rows_on_project(subproject) | |
130 | end |
|
139 | end | |
131 |
|
140 | |||
132 | count |
|
141 | count | |
133 | end |
|
142 | end | |
134 |
|
143 | |||
135 | # Renders the subjects of the Gantt chart, the left side. |
|
144 | # Renders the subjects of the Gantt chart, the left side. | |
136 | def subjects(options={}) |
|
145 | def subjects(options={}) | |
137 | render(options.merge(:only => :subjects)) unless @subjects_rendered |
|
146 | render(options.merge(:only => :subjects)) unless @subjects_rendered | |
138 | @subjects |
|
147 | @subjects | |
139 | end |
|
148 | end | |
140 |
|
149 | |||
141 | # Renders the lines of the Gantt chart, the right side |
|
150 | # Renders the lines of the Gantt chart, the right side | |
142 | def lines(options={}) |
|
151 | def lines(options={}) | |
143 | render(options.merge(:only => :lines)) unless @lines_rendered |
|
152 | render(options.merge(:only => :lines)) unless @lines_rendered | |
144 | @lines |
|
153 | @lines | |
145 | end |
|
154 | end | |
146 |
|
155 | |||
147 | def render(options={}) |
|
156 | def render(options={}) | |
148 | options = {:indent => 4, :render => :subject, :format => :html}.merge(options) |
|
157 | options = {:indent => 4, :render => :subject, :format => :html}.merge(options) | |
149 |
|
158 | |||
150 | @subjects = '' unless options[:only] == :lines |
|
159 | @subjects = '' unless options[:only] == :lines | |
151 | @lines = '' unless options[:only] == :subjects |
|
160 | @lines = '' unless options[:only] == :subjects | |
152 | @number_of_rows = 0 |
|
161 | @number_of_rows = 0 | |
153 |
|
162 | |||
154 | if @project |
|
163 | if @project | |
155 | render_project(@project, options) |
|
164 | render_project(@project, options) | |
156 | else |
|
165 | else | |
157 | Project.roots.visible.has_module('issue_tracking').each do |project| |
|
166 | Project.roots.visible.has_module('issue_tracking').each do |project| | |
158 | render_project(project, options) |
|
167 | render_project(project, options) | |
|
168 | break if abort? | |||
159 | end |
|
169 | end | |
160 | end |
|
170 | end | |
161 |
|
171 | |||
162 | @subjects_rendered = true unless options[:only] == :lines |
|
172 | @subjects_rendered = true unless options[:only] == :lines | |
163 | @lines_rendered = true unless options[:only] == :subjects |
|
173 | @lines_rendered = true unless options[:only] == :subjects | |
164 |
|
174 | |||
165 | render_end(options) |
|
175 | render_end(options) | |
166 | end |
|
176 | end | |
167 |
|
177 | |||
168 | def render_project(project, options={}) |
|
178 | def render_project(project, options={}) | |
169 | options[:top] = 0 unless options.key? :top |
|
179 | options[:top] = 0 unless options.key? :top | |
170 | options[:indent_increment] = 20 unless options.key? :indent_increment |
|
180 | options[:indent_increment] = 20 unless options.key? :indent_increment | |
171 | options[:top_increment] = 20 unless options.key? :top_increment |
|
181 | options[:top_increment] = 20 unless options.key? :top_increment | |
172 |
|
182 | |||
173 | subject_for_project(project, options) unless options[:only] == :lines |
|
183 | subject_for_project(project, options) unless options[:only] == :lines | |
174 | line_for_project(project, options) unless options[:only] == :subjects |
|
184 | line_for_project(project, options) unless options[:only] == :subjects | |
175 |
|
185 | |||
176 | options[:top] += options[:top_increment] |
|
186 | options[:top] += options[:top_increment] | |
177 | options[:indent] += options[:indent_increment] |
|
187 | options[:indent] += options[:indent_increment] | |
178 | @number_of_rows += 1 |
|
188 | @number_of_rows += 1 | |
|
189 | return if abort? | |||
179 |
|
190 | |||
180 | # Second, Issues without a version |
|
191 | # Second, Issues without a version | |
181 | issues = project.issues.for_gantt.without_version.with_query(@query) |
|
192 | issues = project.issues.for_gantt.without_version.with_query(@query).all(:limit => current_limit) | |
182 | sort_issues!(issues) |
|
193 | sort_issues!(issues) | |
183 | if issues |
|
194 | if issues | |
184 | render_issues(issues, options) |
|
195 | render_issues(issues, options) | |
|
196 | return if abort? | |||
185 | end |
|
197 | end | |
186 |
|
198 | |||
187 | # Third, Versions |
|
199 | # Third, Versions | |
188 | project.versions.sort.each do |version| |
|
200 | project.versions.sort.each do |version| | |
189 | render_version(version, options) |
|
201 | render_version(version, options) | |
|
202 | return if abort? | |||
190 | end |
|
203 | end | |
191 |
|
204 | |||
192 | # Fourth, subprojects |
|
205 | # Fourth, subprojects | |
193 | project.children.visible.has_module('issue_tracking').each do |project| |
|
206 | project.children.visible.has_module('issue_tracking').each do |project| | |
194 | render_project(project, options) |
|
207 | render_project(project, options) | |
|
208 | return if abort? | |||
195 | end |
|
209 | end | |
196 |
|
210 | |||
197 | # Remove indent to hit the next sibling |
|
211 | # Remove indent to hit the next sibling | |
198 | options[:indent] -= options[:indent_increment] |
|
212 | options[:indent] -= options[:indent_increment] | |
199 | end |
|
213 | end | |
200 |
|
214 | |||
201 | def render_issues(issues, options={}) |
|
215 | def render_issues(issues, options={}) | |
202 | issues.each do |i| |
|
216 | issues.each do |i| | |
203 | subject_for_issue(i, options) unless options[:only] == :lines |
|
217 | subject_for_issue(i, options) unless options[:only] == :lines | |
204 | line_for_issue(i, options) unless options[:only] == :subjects |
|
218 | line_for_issue(i, options) unless options[:only] == :subjects | |
205 |
|
219 | |||
206 | options[:top] += options[:top_increment] |
|
220 | options[:top] += options[:top_increment] | |
207 | @number_of_rows += 1 |
|
221 | @number_of_rows += 1 | |
|
222 | return if abort? | |||
208 | end |
|
223 | end | |
209 | end |
|
224 | end | |
210 |
|
225 | |||
211 | def render_version(version, options={}) |
|
226 | def render_version(version, options={}) | |
212 | # Version header |
|
227 | # Version header | |
213 | subject_for_version(version, options) unless options[:only] == :lines |
|
228 | subject_for_version(version, options) unless options[:only] == :lines | |
214 | line_for_version(version, options) unless options[:only] == :subjects |
|
229 | line_for_version(version, options) unless options[:only] == :subjects | |
215 |
|
230 | |||
216 | options[:top] += options[:top_increment] |
|
231 | options[:top] += options[:top_increment] | |
217 | @number_of_rows += 1 |
|
232 | @number_of_rows += 1 | |
|
233 | return if abort? | |||
218 |
|
234 | |||
219 | # Remove the project requirement for Versions because it will |
|
235 | # Remove the project requirement for Versions because it will | |
220 | # restrict issues to only be on the current project. This |
|
236 | # restrict issues to only be on the current project. This | |
221 | # ends up missing issues which are assigned to shared versions. |
|
237 | # ends up missing issues which are assigned to shared versions. | |
222 | @query.project = nil if @query.project |
|
238 | @query.project = nil if @query.project | |
223 |
|
239 | |||
224 | issues = version.fixed_issues.for_gantt.with_query(@query) |
|
240 | issues = version.fixed_issues.for_gantt.with_query(@query).all(:limit => current_limit) | |
225 | if issues |
|
241 | if issues | |
226 | sort_issues!(issues) |
|
242 | sort_issues!(issues) | |
227 | # Indent issues |
|
243 | # Indent issues | |
228 | options[:indent] += options[:indent_increment] |
|
244 | options[:indent] += options[:indent_increment] | |
229 | render_issues(issues, options) |
|
245 | render_issues(issues, options) | |
230 | options[:indent] -= options[:indent_increment] |
|
246 | options[:indent] -= options[:indent_increment] | |
231 | end |
|
247 | end | |
232 | end |
|
248 | end | |
233 |
|
249 | |||
234 | def render_end(options={}) |
|
250 | def render_end(options={}) | |
235 | case options[:format] |
|
251 | case options[:format] | |
236 | when :pdf |
|
252 | when :pdf | |
237 | options[:pdf].Line(15, options[:top], PDF::TotalWidth, options[:top]) |
|
253 | options[:pdf].Line(15, options[:top], PDF::TotalWidth, options[:top]) | |
238 | end |
|
254 | end | |
239 | end |
|
255 | end | |
240 |
|
256 | |||
241 | def subject_for_project(project, options) |
|
257 | def subject_for_project(project, options) | |
242 | case options[:format] |
|
258 | case options[:format] | |
243 | when :html |
|
259 | when :html | |
244 | output = '' |
|
260 | output = '' | |
245 |
|
261 | |||
246 | output << "<div class='project-name' style='position: absolute;line-height:1.2em;height:16px;top:#{options[:top]}px;left:#{options[:indent]}px;overflow:hidden;'><small> " |
|
262 | output << "<div class='project-name' style='position: absolute;line-height:1.2em;height:16px;top:#{options[:top]}px;left:#{options[:indent]}px;overflow:hidden;'><small> " | |
247 | if project.is_a? Project |
|
263 | if project.is_a? Project | |
248 | output << "<span class='icon icon-projects #{project.overdue? ? 'project-overdue' : ''}'>" |
|
264 | output << "<span class='icon icon-projects #{project.overdue? ? 'project-overdue' : ''}'>" | |
249 | output << view.link_to_project(project) |
|
265 | output << view.link_to_project(project) | |
250 | output << '</span>' |
|
266 | output << '</span>' | |
251 | else |
|
267 | else | |
252 | ActiveRecord::Base.logger.debug "Gantt#subject_for_project was not given a project" |
|
268 | ActiveRecord::Base.logger.debug "Gantt#subject_for_project was not given a project" | |
253 | '' |
|
269 | '' | |
254 | end |
|
270 | end | |
255 | output << "</small></div>" |
|
271 | output << "</small></div>" | |
256 | @subjects << output |
|
272 | @subjects << output | |
257 | output |
|
273 | output | |
258 | when :image |
|
274 | when :image | |
259 |
|
275 | |||
260 | options[:image].fill('black') |
|
276 | options[:image].fill('black') | |
261 | options[:image].stroke('transparent') |
|
277 | options[:image].stroke('transparent') | |
262 | options[:image].stroke_width(1) |
|
278 | options[:image].stroke_width(1) | |
263 | options[:image].text(options[:indent], options[:top] + 2, project.name) |
|
279 | options[:image].text(options[:indent], options[:top] + 2, project.name) | |
264 | when :pdf |
|
280 | when :pdf | |
265 | pdf_new_page?(options) |
|
281 | pdf_new_page?(options) | |
266 | options[:pdf].SetY(options[:top]) |
|
282 | options[:pdf].SetY(options[:top]) | |
267 | options[:pdf].SetX(15) |
|
283 | options[:pdf].SetX(15) | |
268 |
|
284 | |||
269 | char_limit = PDF::MaxCharactorsForSubject - options[:indent] |
|
285 | char_limit = PDF::MaxCharactorsForSubject - options[:indent] | |
270 | options[:pdf].Cell(options[:subject_width]-15, 5, (" " * options[:indent]) +"#{project.name}".sub(/^(.{#{char_limit}}[^\s]*\s).*$/, '\1 (...)'), "LR") |
|
286 | options[:pdf].Cell(options[:subject_width]-15, 5, (" " * options[:indent]) +"#{project.name}".sub(/^(.{#{char_limit}}[^\s]*\s).*$/, '\1 (...)'), "LR") | |
271 |
|
287 | |||
272 | options[:pdf].SetY(options[:top]) |
|
288 | options[:pdf].SetY(options[:top]) | |
273 | options[:pdf].SetX(options[:subject_width]) |
|
289 | options[:pdf].SetX(options[:subject_width]) | |
274 | options[:pdf].Cell(options[:g_width], 5, "", "LR") |
|
290 | options[:pdf].Cell(options[:g_width], 5, "", "LR") | |
275 | end |
|
291 | end | |
276 | end |
|
292 | end | |
277 |
|
293 | |||
278 | def line_for_project(project, options) |
|
294 | def line_for_project(project, options) | |
279 | # Skip versions that don't have a start_date or due date |
|
295 | # Skip versions that don't have a start_date or due date | |
280 | if project.is_a?(Project) && project.start_date && project.due_date |
|
296 | if project.is_a?(Project) && project.start_date && project.due_date | |
281 | options[:zoom] ||= 1 |
|
297 | options[:zoom] ||= 1 | |
282 | options[:g_width] ||= (self.date_to - self.date_from + 1) * options[:zoom] |
|
298 | options[:g_width] ||= (self.date_to - self.date_from + 1) * options[:zoom] | |
283 |
|
299 | |||
284 |
|
300 | |||
285 | case options[:format] |
|
301 | case options[:format] | |
286 | when :html |
|
302 | when :html | |
287 | output = '' |
|
303 | output = '' | |
288 | i_left = ((project.start_date - self.date_from)*options[:zoom]).floor |
|
304 | i_left = ((project.start_date - self.date_from)*options[:zoom]).floor | |
289 |
|
305 | |||
290 | start_date = project.start_date |
|
306 | start_date = project.start_date | |
291 | start_date ||= self.date_from |
|
307 | start_date ||= self.date_from | |
292 | start_left = ((start_date - self.date_from)*options[:zoom]).floor |
|
308 | start_left = ((start_date - self.date_from)*options[:zoom]).floor | |
293 |
|
309 | |||
294 | i_end_date = ((project.due_date <= self.date_to) ? project.due_date : self.date_to ) |
|
310 | i_end_date = ((project.due_date <= self.date_to) ? project.due_date : self.date_to ) | |
295 | i_done_date = start_date + ((project.due_date - start_date+1)* project.completed_percent(:include_subprojects => true)/100).floor |
|
311 | i_done_date = start_date + ((project.due_date - start_date+1)* project.completed_percent(:include_subprojects => true)/100).floor | |
296 | i_done_date = (i_done_date <= self.date_from ? self.date_from : i_done_date ) |
|
312 | i_done_date = (i_done_date <= self.date_from ? self.date_from : i_done_date ) | |
297 | i_done_date = (i_done_date >= self.date_to ? self.date_to : i_done_date ) |
|
313 | i_done_date = (i_done_date >= self.date_to ? self.date_to : i_done_date ) | |
298 |
|
314 | |||
299 | i_late_date = [i_end_date, Date.today].min if start_date < Date.today |
|
315 | i_late_date = [i_end_date, Date.today].min if start_date < Date.today | |
300 | i_end = ((i_end_date - self.date_from) * options[:zoom]).floor |
|
316 | i_end = ((i_end_date - self.date_from) * options[:zoom]).floor | |
301 |
|
317 | |||
302 | i_width = (i_end - i_left + 1).floor - 2 # total width of the issue (- 2 for left and right borders) |
|
318 | i_width = (i_end - i_left + 1).floor - 2 # total width of the issue (- 2 for left and right borders) | |
303 | d_width = ((i_done_date - start_date)*options[:zoom]).floor - 2 # done width |
|
319 | d_width = ((i_done_date - start_date)*options[:zoom]).floor - 2 # done width | |
304 | l_width = i_late_date ? ((i_late_date - start_date+1)*options[:zoom]).floor - 2 : 0 # delay width |
|
320 | l_width = i_late_date ? ((i_late_date - start_date+1)*options[:zoom]).floor - 2 : 0 # delay width | |
305 |
|
321 | |||
306 | # Bar graphic |
|
322 | # Bar graphic | |
307 |
|
323 | |||
308 | # Make sure that negative i_left and i_width don't |
|
324 | # Make sure that negative i_left and i_width don't | |
309 | # overflow the subject |
|
325 | # overflow the subject | |
310 | if i_end > 0 && i_left <= options[:g_width] |
|
326 | if i_end > 0 && i_left <= options[:g_width] | |
311 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ i_width }px;' class='task project_todo'> </div>" |
|
327 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ i_width }px;' class='task project_todo'> </div>" | |
312 | end |
|
328 | end | |
313 |
|
329 | |||
314 | if l_width > 0 && i_left <= options[:g_width] |
|
330 | if l_width > 0 && i_left <= options[:g_width] | |
315 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ l_width }px;' class='task project_late'> </div>" |
|
331 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ l_width }px;' class='task project_late'> </div>" | |
316 | end |
|
332 | end | |
317 | if d_width > 0 && i_left <= options[:g_width] |
|
333 | if d_width > 0 && i_left <= options[:g_width] | |
318 | output<< "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ d_width }px;' class='task project_done'> </div>" |
|
334 | output<< "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ d_width }px;' class='task project_done'> </div>" | |
319 | end |
|
335 | end | |
320 |
|
336 | |||
321 |
|
337 | |||
322 | # Starting diamond |
|
338 | # Starting diamond | |
323 | if start_left <= options[:g_width] && start_left > 0 |
|
339 | if start_left <= options[:g_width] && start_left > 0 | |
324 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:15px;' class='task project-line starting'> </div>" |
|
340 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:15px;' class='task project-line starting'> </div>" | |
325 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left + 12 }px;' class='task label'>" |
|
341 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left + 12 }px;' class='task label'>" | |
326 | output << "</div>" |
|
342 | output << "</div>" | |
327 | end |
|
343 | end | |
328 |
|
344 | |||
329 | # Ending diamond |
|
345 | # Ending diamond | |
330 | # Don't show items too far ahead |
|
346 | # Don't show items too far ahead | |
331 | if i_end <= options[:g_width] && i_end > 0 |
|
347 | if i_end <= options[:g_width] && i_end > 0 | |
332 | output << "<div style='top:#{ options[:top] }px;left:#{ i_end }px;width:15px;' class='task project-line ending'> </div>" |
|
348 | output << "<div style='top:#{ options[:top] }px;left:#{ i_end }px;width:15px;' class='task project-line ending'> </div>" | |
333 | end |
|
349 | end | |
334 |
|
350 | |||
335 | # DIsplay the Project name and % |
|
351 | # DIsplay the Project name and % | |
336 | if i_end <= options[:g_width] |
|
352 | if i_end <= options[:g_width] | |
337 | # Display the status even if it's floated off to the left |
|
353 | # Display the status even if it's floated off to the left | |
338 | status_px = i_end + 12 # 12px for the diamond |
|
354 | status_px = i_end + 12 # 12px for the diamond | |
339 | status_px = 0 if status_px <= 0 |
|
355 | status_px = 0 if status_px <= 0 | |
340 |
|
356 | |||
341 | output << "<div style='top:#{ options[:top] }px;left:#{ status_px }px;' class='task label project-name'>" |
|
357 | output << "<div style='top:#{ options[:top] }px;left:#{ status_px }px;' class='task label project-name'>" | |
342 | output << "<strong>#{h project } #{h project.completed_percent(:include_subprojects => true).to_i.to_s}%</strong>" |
|
358 | output << "<strong>#{h project } #{h project.completed_percent(:include_subprojects => true).to_i.to_s}%</strong>" | |
343 | output << "</div>" |
|
359 | output << "</div>" | |
344 | end |
|
360 | end | |
345 | @lines << output |
|
361 | @lines << output | |
346 | output |
|
362 | output | |
347 | when :image |
|
363 | when :image | |
348 | options[:image].stroke('transparent') |
|
364 | options[:image].stroke('transparent') | |
349 | i_left = options[:subject_width] + ((project.due_date - self.date_from)*options[:zoom]).floor |
|
365 | i_left = options[:subject_width] + ((project.due_date - self.date_from)*options[:zoom]).floor | |
350 |
|
366 | |||
351 | # Make sure negative i_left doesn't overflow the subject |
|
367 | # Make sure negative i_left doesn't overflow the subject | |
352 | if i_left > options[:subject_width] |
|
368 | if i_left > options[:subject_width] | |
353 | options[:image].fill('blue') |
|
369 | options[:image].fill('blue') | |
354 | options[:image].rectangle(i_left, options[:top], i_left + 6, options[:top] - 6) |
|
370 | options[:image].rectangle(i_left, options[:top], i_left + 6, options[:top] - 6) | |
355 | options[:image].fill('black') |
|
371 | options[:image].fill('black') | |
356 | options[:image].text(i_left + 11, options[:top] + 1, project.name) |
|
372 | options[:image].text(i_left + 11, options[:top] + 1, project.name) | |
357 | end |
|
373 | end | |
358 | when :pdf |
|
374 | when :pdf | |
359 | options[:pdf].SetY(options[:top]+1.5) |
|
375 | options[:pdf].SetY(options[:top]+1.5) | |
360 | i_left = ((project.due_date - @date_from)*options[:zoom]) |
|
376 | i_left = ((project.due_date - @date_from)*options[:zoom]) | |
361 |
|
377 | |||
362 | # Make sure negative i_left doesn't overflow the subject |
|
378 | # Make sure negative i_left doesn't overflow the subject | |
363 | if i_left > 0 |
|
379 | if i_left > 0 | |
364 | options[:pdf].SetX(options[:subject_width] + i_left) |
|
380 | options[:pdf].SetX(options[:subject_width] + i_left) | |
365 | options[:pdf].SetFillColor(50,50,200) |
|
381 | options[:pdf].SetFillColor(50,50,200) | |
366 | options[:pdf].Cell(2, 2, "", 0, 0, "", 1) |
|
382 | options[:pdf].Cell(2, 2, "", 0, 0, "", 1) | |
367 |
|
383 | |||
368 | options[:pdf].SetY(options[:top]+1.5) |
|
384 | options[:pdf].SetY(options[:top]+1.5) | |
369 | options[:pdf].SetX(options[:subject_width] + i_left + 3) |
|
385 | options[:pdf].SetX(options[:subject_width] + i_left + 3) | |
370 | options[:pdf].Cell(30, 2, "#{project.name}") |
|
386 | options[:pdf].Cell(30, 2, "#{project.name}") | |
371 | end |
|
387 | end | |
372 | end |
|
388 | end | |
373 | else |
|
389 | else | |
374 | ActiveRecord::Base.logger.debug "Gantt#line_for_project was not given a project with a start_date" |
|
390 | ActiveRecord::Base.logger.debug "Gantt#line_for_project was not given a project with a start_date" | |
375 | '' |
|
391 | '' | |
376 | end |
|
392 | end | |
377 | end |
|
393 | end | |
378 |
|
394 | |||
379 | def subject_for_version(version, options) |
|
395 | def subject_for_version(version, options) | |
380 | case options[:format] |
|
396 | case options[:format] | |
381 | when :html |
|
397 | when :html | |
382 | output = '' |
|
398 | output = '' | |
383 | output << "<div class='version-name' style='position: absolute;line-height:1.2em;height:16px;top:#{options[:top]}px;left:#{options[:indent]}px;overflow:hidden;'><small> " |
|
399 | output << "<div class='version-name' style='position: absolute;line-height:1.2em;height:16px;top:#{options[:top]}px;left:#{options[:indent]}px;overflow:hidden;'><small> " | |
384 | if version.is_a? Version |
|
400 | if version.is_a? Version | |
385 | output << "<span class='icon icon-package #{version.behind_schedule? ? 'version-behind-schedule' : ''} #{version.overdue? ? 'version-overdue' : ''}'>" |
|
401 | output << "<span class='icon icon-package #{version.behind_schedule? ? 'version-behind-schedule' : ''} #{version.overdue? ? 'version-overdue' : ''}'>" | |
386 | output << view.link_to_version(version) |
|
402 | output << view.link_to_version(version) | |
387 | output << '</span>' |
|
403 | output << '</span>' | |
388 | else |
|
404 | else | |
389 | ActiveRecord::Base.logger.debug "Gantt#subject_for_version was not given a version" |
|
405 | ActiveRecord::Base.logger.debug "Gantt#subject_for_version was not given a version" | |
390 | '' |
|
406 | '' | |
391 | end |
|
407 | end | |
392 | output << "</small></div>" |
|
408 | output << "</small></div>" | |
393 | @subjects << output |
|
409 | @subjects << output | |
394 | output |
|
410 | output | |
395 | when :image |
|
411 | when :image | |
396 | options[:image].fill('black') |
|
412 | options[:image].fill('black') | |
397 | options[:image].stroke('transparent') |
|
413 | options[:image].stroke('transparent') | |
398 | options[:image].stroke_width(1) |
|
414 | options[:image].stroke_width(1) | |
399 | options[:image].text(options[:indent], options[:top] + 2, version.to_s_with_project) |
|
415 | options[:image].text(options[:indent], options[:top] + 2, version.to_s_with_project) | |
400 | when :pdf |
|
416 | when :pdf | |
401 | pdf_new_page?(options) |
|
417 | pdf_new_page?(options) | |
402 | options[:pdf].SetY(options[:top]) |
|
418 | options[:pdf].SetY(options[:top]) | |
403 | options[:pdf].SetX(15) |
|
419 | options[:pdf].SetX(15) | |
404 |
|
420 | |||
405 | char_limit = PDF::MaxCharactorsForSubject - options[:indent] |
|
421 | char_limit = PDF::MaxCharactorsForSubject - options[:indent] | |
406 | options[:pdf].Cell(options[:subject_width]-15, 5, (" " * options[:indent]) +"#{version.to_s_with_project}".sub(/^(.{#{char_limit}}[^\s]*\s).*$/, '\1 (...)'), "LR") |
|
422 | options[:pdf].Cell(options[:subject_width]-15, 5, (" " * options[:indent]) +"#{version.to_s_with_project}".sub(/^(.{#{char_limit}}[^\s]*\s).*$/, '\1 (...)'), "LR") | |
407 |
|
423 | |||
408 | options[:pdf].SetY(options[:top]) |
|
424 | options[:pdf].SetY(options[:top]) | |
409 | options[:pdf].SetX(options[:subject_width]) |
|
425 | options[:pdf].SetX(options[:subject_width]) | |
410 | options[:pdf].Cell(options[:g_width], 5, "", "LR") |
|
426 | options[:pdf].Cell(options[:g_width], 5, "", "LR") | |
411 | end |
|
427 | end | |
412 | end |
|
428 | end | |
413 |
|
429 | |||
414 | def line_for_version(version, options) |
|
430 | def line_for_version(version, options) | |
415 | # Skip versions that don't have a start_date |
|
431 | # Skip versions that don't have a start_date | |
416 | if version.is_a?(Version) && version.start_date && version.due_date |
|
432 | if version.is_a?(Version) && version.start_date && version.due_date | |
417 | options[:zoom] ||= 1 |
|
433 | options[:zoom] ||= 1 | |
418 | options[:g_width] ||= (self.date_to - self.date_from + 1) * options[:zoom] |
|
434 | options[:g_width] ||= (self.date_to - self.date_from + 1) * options[:zoom] | |
419 |
|
435 | |||
420 | case options[:format] |
|
436 | case options[:format] | |
421 | when :html |
|
437 | when :html | |
422 | output = '' |
|
438 | output = '' | |
423 | i_left = ((version.start_date - self.date_from)*options[:zoom]).floor |
|
439 | i_left = ((version.start_date - self.date_from)*options[:zoom]).floor | |
424 | # TODO: or version.fixed_issues.collect(&:start_date).min |
|
440 | # TODO: or version.fixed_issues.collect(&:start_date).min | |
425 | start_date = version.fixed_issues.minimum('start_date') if version.fixed_issues.present? |
|
441 | start_date = version.fixed_issues.minimum('start_date') if version.fixed_issues.present? | |
426 | start_date ||= self.date_from |
|
442 | start_date ||= self.date_from | |
427 | start_left = ((start_date - self.date_from)*options[:zoom]).floor |
|
443 | start_left = ((start_date - self.date_from)*options[:zoom]).floor | |
428 |
|
444 | |||
429 | i_end_date = ((version.due_date <= self.date_to) ? version.due_date : self.date_to ) |
|
445 | i_end_date = ((version.due_date <= self.date_to) ? version.due_date : self.date_to ) | |
430 | i_done_date = start_date + ((version.due_date - start_date+1)* version.completed_pourcent/100).floor |
|
446 | i_done_date = start_date + ((version.due_date - start_date+1)* version.completed_pourcent/100).floor | |
431 | i_done_date = (i_done_date <= self.date_from ? self.date_from : i_done_date ) |
|
447 | i_done_date = (i_done_date <= self.date_from ? self.date_from : i_done_date ) | |
432 | i_done_date = (i_done_date >= self.date_to ? self.date_to : i_done_date ) |
|
448 | i_done_date = (i_done_date >= self.date_to ? self.date_to : i_done_date ) | |
433 |
|
449 | |||
434 | i_late_date = [i_end_date, Date.today].min if start_date < Date.today |
|
450 | i_late_date = [i_end_date, Date.today].min if start_date < Date.today | |
435 |
|
451 | |||
436 | i_width = (i_left - start_left + 1).floor - 2 # total width of the issue (- 2 for left and right borders) |
|
452 | i_width = (i_left - start_left + 1).floor - 2 # total width of the issue (- 2 for left and right borders) | |
437 | d_width = ((i_done_date - start_date)*options[:zoom]).floor - 2 # done width |
|
453 | d_width = ((i_done_date - start_date)*options[:zoom]).floor - 2 # done width | |
438 | l_width = i_late_date ? ((i_late_date - start_date+1)*options[:zoom]).floor - 2 : 0 # delay width |
|
454 | l_width = i_late_date ? ((i_late_date - start_date+1)*options[:zoom]).floor - 2 : 0 # delay width | |
439 |
|
455 | |||
440 | i_end = ((i_end_date - self.date_from) * options[:zoom]).floor # Ending pixel |
|
456 | i_end = ((i_end_date - self.date_from) * options[:zoom]).floor # Ending pixel | |
441 |
|
457 | |||
442 | # Bar graphic |
|
458 | # Bar graphic | |
443 |
|
459 | |||
444 | # Make sure that negative i_left and i_width don't |
|
460 | # Make sure that negative i_left and i_width don't | |
445 | # overflow the subject |
|
461 | # overflow the subject | |
446 | if i_width > 0 && i_left <= options[:g_width] |
|
462 | if i_width > 0 && i_left <= options[:g_width] | |
447 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ i_width }px;' class='task milestone_todo'> </div>" |
|
463 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ i_width }px;' class='task milestone_todo'> </div>" | |
448 | end |
|
464 | end | |
449 | if l_width > 0 && i_left <= options[:g_width] |
|
465 | if l_width > 0 && i_left <= options[:g_width] | |
450 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ l_width }px;' class='task milestone_late'> </div>" |
|
466 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ l_width }px;' class='task milestone_late'> </div>" | |
451 | end |
|
467 | end | |
452 | if d_width > 0 && i_left <= options[:g_width] |
|
468 | if d_width > 0 && i_left <= options[:g_width] | |
453 | output<< "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ d_width }px;' class='task milestone_done'> </div>" |
|
469 | output<< "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:#{ d_width }px;' class='task milestone_done'> </div>" | |
454 | end |
|
470 | end | |
455 |
|
471 | |||
456 |
|
472 | |||
457 | # Starting diamond |
|
473 | # Starting diamond | |
458 | if start_left <= options[:g_width] && start_left > 0 |
|
474 | if start_left <= options[:g_width] && start_left > 0 | |
459 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:15px;' class='task milestone starting'> </div>" |
|
475 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left }px;width:15px;' class='task milestone starting'> </div>" | |
460 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left + 12 }px;background:#fff;' class='task'>" |
|
476 | output << "<div style='top:#{ options[:top] }px;left:#{ start_left + 12 }px;background:#fff;' class='task'>" | |
461 | output << "</div>" |
|
477 | output << "</div>" | |
462 | end |
|
478 | end | |
463 |
|
479 | |||
464 | # Ending diamond |
|
480 | # Ending diamond | |
465 | # Don't show items too far ahead |
|
481 | # Don't show items too far ahead | |
466 | if i_left <= options[:g_width] && i_end > 0 |
|
482 | if i_left <= options[:g_width] && i_end > 0 | |
467 | output << "<div style='top:#{ options[:top] }px;left:#{ i_end }px;width:15px;' class='task milestone ending'> </div>" |
|
483 | output << "<div style='top:#{ options[:top] }px;left:#{ i_end }px;width:15px;' class='task milestone ending'> </div>" | |
468 | end |
|
484 | end | |
469 |
|
485 | |||
470 | # Display the Version name and % |
|
486 | # Display the Version name and % | |
471 | if i_end <= options[:g_width] |
|
487 | if i_end <= options[:g_width] | |
472 | # Display the status even if it's floated off to the left |
|
488 | # Display the status even if it's floated off to the left | |
473 | status_px = i_end + 12 # 12px for the diamond |
|
489 | status_px = i_end + 12 # 12px for the diamond | |
474 | status_px = 0 if status_px <= 0 |
|
490 | status_px = 0 if status_px <= 0 | |
475 |
|
491 | |||
476 | output << "<div style='top:#{ options[:top] }px;left:#{ status_px }px;' class='task label version-name'>" |
|
492 | output << "<div style='top:#{ options[:top] }px;left:#{ status_px }px;' class='task label version-name'>" | |
477 | output << h("#{version.project} -") unless @project && @project == version.project |
|
493 | output << h("#{version.project} -") unless @project && @project == version.project | |
478 | output << "<strong>#{h version } #{h version.completed_pourcent.to_i.to_s}%</strong>" |
|
494 | output << "<strong>#{h version } #{h version.completed_pourcent.to_i.to_s}%</strong>" | |
479 | output << "</div>" |
|
495 | output << "</div>" | |
480 | end |
|
496 | end | |
481 | @lines << output |
|
497 | @lines << output | |
482 | output |
|
498 | output | |
483 | when :image |
|
499 | when :image | |
484 | options[:image].stroke('transparent') |
|
500 | options[:image].stroke('transparent') | |
485 | i_left = options[:subject_width] + ((version.start_date - @date_from)*options[:zoom]).floor |
|
501 | i_left = options[:subject_width] + ((version.start_date - @date_from)*options[:zoom]).floor | |
486 |
|
502 | |||
487 | # Make sure negative i_left doesn't overflow the subject |
|
503 | # Make sure negative i_left doesn't overflow the subject | |
488 | if i_left > options[:subject_width] |
|
504 | if i_left > options[:subject_width] | |
489 | options[:image].fill('green') |
|
505 | options[:image].fill('green') | |
490 | options[:image].rectangle(i_left, options[:top], i_left + 6, options[:top] - 6) |
|
506 | options[:image].rectangle(i_left, options[:top], i_left + 6, options[:top] - 6) | |
491 | options[:image].fill('black') |
|
507 | options[:image].fill('black') | |
492 | options[:image].text(i_left + 11, options[:top] + 1, version.name) |
|
508 | options[:image].text(i_left + 11, options[:top] + 1, version.name) | |
493 | end |
|
509 | end | |
494 | when :pdf |
|
510 | when :pdf | |
495 | options[:pdf].SetY(options[:top]+1.5) |
|
511 | options[:pdf].SetY(options[:top]+1.5) | |
496 | i_left = ((version.start_date - @date_from)*options[:zoom]) |
|
512 | i_left = ((version.start_date - @date_from)*options[:zoom]) | |
497 |
|
513 | |||
498 | # Make sure negative i_left doesn't overflow the subject |
|
514 | # Make sure negative i_left doesn't overflow the subject | |
499 | if i_left > 0 |
|
515 | if i_left > 0 | |
500 | options[:pdf].SetX(options[:subject_width] + i_left) |
|
516 | options[:pdf].SetX(options[:subject_width] + i_left) | |
501 | options[:pdf].SetFillColor(50,200,50) |
|
517 | options[:pdf].SetFillColor(50,200,50) | |
502 | options[:pdf].Cell(2, 2, "", 0, 0, "", 1) |
|
518 | options[:pdf].Cell(2, 2, "", 0, 0, "", 1) | |
503 |
|
519 | |||
504 | options[:pdf].SetY(options[:top]+1.5) |
|
520 | options[:pdf].SetY(options[:top]+1.5) | |
505 | options[:pdf].SetX(options[:subject_width] + i_left + 3) |
|
521 | options[:pdf].SetX(options[:subject_width] + i_left + 3) | |
506 | options[:pdf].Cell(30, 2, "#{version.name}") |
|
522 | options[:pdf].Cell(30, 2, "#{version.name}") | |
507 | end |
|
523 | end | |
508 | end |
|
524 | end | |
509 | else |
|
525 | else | |
510 | ActiveRecord::Base.logger.debug "Gantt#line_for_version was not given a version with a start_date" |
|
526 | ActiveRecord::Base.logger.debug "Gantt#line_for_version was not given a version with a start_date" | |
511 | '' |
|
527 | '' | |
512 | end |
|
528 | end | |
513 | end |
|
529 | end | |
514 |
|
530 | |||
515 | def subject_for_issue(issue, options) |
|
531 | def subject_for_issue(issue, options) | |
516 | case options[:format] |
|
532 | case options[:format] | |
517 | when :html |
|
533 | when :html | |
518 | output = '' |
|
534 | output = '' | |
519 | output << "<div class='tooltip'>" |
|
535 | output << "<div class='tooltip'>" | |
520 | output << "<div class='issue-subject' style='position: absolute;line-height:1.2em;height:16px;top:#{options[:top]}px;left:#{options[:indent]}px;overflow:hidden;'><small> " |
|
536 | output << "<div class='issue-subject' style='position: absolute;line-height:1.2em;height:16px;top:#{options[:top]}px;left:#{options[:indent]}px;overflow:hidden;'><small> " | |
521 | if issue.is_a? Issue |
|
537 | if issue.is_a? Issue | |
522 | css_classes = [] |
|
538 | css_classes = [] | |
523 | css_classes << 'issue-overdue' if issue.overdue? |
|
539 | css_classes << 'issue-overdue' if issue.overdue? | |
524 | css_classes << 'issue-behind-schedule' if issue.behind_schedule? |
|
540 | css_classes << 'issue-behind-schedule' if issue.behind_schedule? | |
525 | css_classes << 'icon icon-issue' unless Setting.gravatar_enabled? && issue.assigned_to |
|
541 | css_classes << 'icon icon-issue' unless Setting.gravatar_enabled? && issue.assigned_to | |
526 |
|
542 | |||
527 | if issue.assigned_to.present? |
|
543 | if issue.assigned_to.present? | |
528 | assigned_string = l(:field_assigned_to) + ": " + issue.assigned_to.name |
|
544 | assigned_string = l(:field_assigned_to) + ": " + issue.assigned_to.name | |
529 | output << view.avatar(issue.assigned_to, :class => 'gravatar icon-gravatar', :size => 10, :title => assigned_string) |
|
545 | output << view.avatar(issue.assigned_to, :class => 'gravatar icon-gravatar', :size => 10, :title => assigned_string) | |
530 | end |
|
546 | end | |
531 | output << "<span class='#{css_classes.join(' ')}'>" |
|
547 | output << "<span class='#{css_classes.join(' ')}'>" | |
532 | output << view.link_to_issue(issue) |
|
548 | output << view.link_to_issue(issue) | |
533 | output << '</span>' |
|
549 | output << '</span>' | |
534 | else |
|
550 | else | |
535 | ActiveRecord::Base.logger.debug "Gantt#subject_for_issue was not given an issue" |
|
551 | ActiveRecord::Base.logger.debug "Gantt#subject_for_issue was not given an issue" | |
536 | '' |
|
552 | '' | |
537 | end |
|
553 | end | |
538 | output << "</small></div>" |
|
554 | output << "</small></div>" | |
539 |
|
555 | |||
540 | # Tooltip |
|
556 | # Tooltip | |
541 | if issue.is_a? Issue |
|
557 | if issue.is_a? Issue | |
542 | output << "<span class='tip' style='position: absolute;top:#{ options[:top].to_i + 16 }px;left:#{ options[:indent].to_i + 20 }px;'>" |
|
558 | output << "<span class='tip' style='position: absolute;top:#{ options[:top].to_i + 16 }px;left:#{ options[:indent].to_i + 20 }px;'>" | |
543 | output << view.render_issue_tooltip(issue) |
|
559 | output << view.render_issue_tooltip(issue) | |
544 | output << "</span>" |
|
560 | output << "</span>" | |
545 | end |
|
561 | end | |
546 |
|
562 | |||
547 | output << "</div>" |
|
563 | output << "</div>" | |
548 | @subjects << output |
|
564 | @subjects << output | |
549 | output |
|
565 | output | |
550 | when :image |
|
566 | when :image | |
551 | options[:image].fill('black') |
|
567 | options[:image].fill('black') | |
552 | options[:image].stroke('transparent') |
|
568 | options[:image].stroke('transparent') | |
553 | options[:image].stroke_width(1) |
|
569 | options[:image].stroke_width(1) | |
554 | options[:image].text(options[:indent], options[:top] + 2, issue.subject) |
|
570 | options[:image].text(options[:indent], options[:top] + 2, issue.subject) | |
555 | when :pdf |
|
571 | when :pdf | |
556 | pdf_new_page?(options) |
|
572 | pdf_new_page?(options) | |
557 | options[:pdf].SetY(options[:top]) |
|
573 | options[:pdf].SetY(options[:top]) | |
558 | options[:pdf].SetX(15) |
|
574 | options[:pdf].SetX(15) | |
559 |
|
575 | |||
560 | char_limit = PDF::MaxCharactorsForSubject - options[:indent] |
|
576 | char_limit = PDF::MaxCharactorsForSubject - options[:indent] | |
561 | options[:pdf].Cell(options[:subject_width]-15, 5, (" " * options[:indent]) +"#{issue.tracker} #{issue.id}: #{issue.subject}".sub(/^(.{#{char_limit}}[^\s]*\s).*$/, '\1 (...)'), "LR") |
|
577 | options[:pdf].Cell(options[:subject_width]-15, 5, (" " * options[:indent]) +"#{issue.tracker} #{issue.id}: #{issue.subject}".sub(/^(.{#{char_limit}}[^\s]*\s).*$/, '\1 (...)'), "LR") | |
562 |
|
578 | |||
563 | options[:pdf].SetY(options[:top]) |
|
579 | options[:pdf].SetY(options[:top]) | |
564 | options[:pdf].SetX(options[:subject_width]) |
|
580 | options[:pdf].SetX(options[:subject_width]) | |
565 | options[:pdf].Cell(options[:g_width], 5, "", "LR") |
|
581 | options[:pdf].Cell(options[:g_width], 5, "", "LR") | |
566 | end |
|
582 | end | |
567 | end |
|
583 | end | |
568 |
|
584 | |||
569 | def line_for_issue(issue, options) |
|
585 | def line_for_issue(issue, options) | |
570 | # Skip issues that don't have a due_before (due_date or version's due_date) |
|
586 | # Skip issues that don't have a due_before (due_date or version's due_date) | |
571 | if issue.is_a?(Issue) && issue.due_before |
|
587 | if issue.is_a?(Issue) && issue.due_before | |
572 | case options[:format] |
|
588 | case options[:format] | |
573 | when :html |
|
589 | when :html | |
574 | output = '' |
|
590 | output = '' | |
575 | # Handle nil start_dates, rare but can happen. |
|
591 | # Handle nil start_dates, rare but can happen. | |
576 | i_start_date = if issue.start_date && issue.start_date >= self.date_from |
|
592 | i_start_date = if issue.start_date && issue.start_date >= self.date_from | |
577 | issue.start_date |
|
593 | issue.start_date | |
578 | else |
|
594 | else | |
579 | self.date_from |
|
595 | self.date_from | |
580 | end |
|
596 | end | |
581 |
|
597 | |||
582 | i_end_date = ((issue.due_before && issue.due_before <= self.date_to) ? issue.due_before : self.date_to ) |
|
598 | i_end_date = ((issue.due_before && issue.due_before <= self.date_to) ? issue.due_before : self.date_to ) | |
583 | i_done_date = i_start_date + ((issue.due_before - i_start_date+1)*issue.done_ratio/100).floor |
|
599 | i_done_date = i_start_date + ((issue.due_before - i_start_date+1)*issue.done_ratio/100).floor | |
584 | i_done_date = (i_done_date <= self.date_from ? self.date_from : i_done_date ) |
|
600 | i_done_date = (i_done_date <= self.date_from ? self.date_from : i_done_date ) | |
585 | i_done_date = (i_done_date >= self.date_to ? self.date_to : i_done_date ) |
|
601 | i_done_date = (i_done_date >= self.date_to ? self.date_to : i_done_date ) | |
586 |
|
602 | |||
587 | i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today |
|
603 | i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today | |
588 |
|
604 | |||
589 | i_left = ((i_start_date - self.date_from)*options[:zoom]).floor |
|
605 | i_left = ((i_start_date - self.date_from)*options[:zoom]).floor | |
590 | i_width = ((i_end_date - i_start_date + 1)*options[:zoom]).floor - 2 # total width of the issue (- 2 for left and right borders) |
|
606 | i_width = ((i_end_date - i_start_date + 1)*options[:zoom]).floor - 2 # total width of the issue (- 2 for left and right borders) | |
591 | d_width = ((i_done_date - i_start_date)*options[:zoom]).floor - 2 # done width |
|
607 | d_width = ((i_done_date - i_start_date)*options[:zoom]).floor - 2 # done width | |
592 | l_width = i_late_date ? ((i_late_date - i_start_date+1)*options[:zoom]).floor - 2 : 0 # delay width |
|
608 | l_width = i_late_date ? ((i_late_date - i_start_date+1)*options[:zoom]).floor - 2 : 0 # delay width | |
593 | css = "task " + (issue.leaf? ? 'leaf' : 'parent') |
|
609 | css = "task " + (issue.leaf? ? 'leaf' : 'parent') | |
594 |
|
610 | |||
595 | # Make sure that negative i_left and i_width don't |
|
611 | # Make sure that negative i_left and i_width don't | |
596 | # overflow the subject |
|
612 | # overflow the subject | |
597 | if i_width > 0 |
|
613 | if i_width > 0 | |
598 | output << "<div style='top:#{ options[:top] }px;left:#{ i_left }px;width:#{ i_width }px;' class='#{css} task_todo'> </div>" |
|
614 | output << "<div style='top:#{ options[:top] }px;left:#{ i_left }px;width:#{ i_width }px;' class='#{css} task_todo'> </div>" | |
599 | end |
|
615 | end | |
600 | if l_width > 0 |
|
616 | if l_width > 0 | |
601 | output << "<div style='top:#{ options[:top] }px;left:#{ i_left }px;width:#{ l_width }px;' class='#{css} task_late'> </div>" |
|
617 | output << "<div style='top:#{ options[:top] }px;left:#{ i_left }px;width:#{ l_width }px;' class='#{css} task_late'> </div>" | |
602 | end |
|
618 | end | |
603 | if d_width > 0 |
|
619 | if d_width > 0 | |
604 | output<< "<div style='top:#{ options[:top] }px;left:#{ i_left }px;width:#{ d_width }px;' class='#{css} task_done'> </div>" |
|
620 | output<< "<div style='top:#{ options[:top] }px;left:#{ i_left }px;width:#{ d_width }px;' class='#{css} task_done'> </div>" | |
605 | end |
|
621 | end | |
606 |
|
622 | |||
607 | # Display the status even if it's floated off to the left |
|
623 | # Display the status even if it's floated off to the left | |
608 | status_px = i_left + i_width + 5 |
|
624 | status_px = i_left + i_width + 5 | |
609 | status_px = 5 if status_px <= 0 |
|
625 | status_px = 5 if status_px <= 0 | |
610 |
|
626 | |||
611 | output << "<div style='top:#{ options[:top] }px;left:#{ status_px }px;' class='#{css} label issue-name'>" |
|
627 | output << "<div style='top:#{ options[:top] }px;left:#{ status_px }px;' class='#{css} label issue-name'>" | |
612 | output << issue.status.name |
|
628 | output << issue.status.name | |
613 | output << ' ' |
|
629 | output << ' ' | |
614 | output << (issue.done_ratio).to_i.to_s |
|
630 | output << (issue.done_ratio).to_i.to_s | |
615 | output << "%" |
|
631 | output << "%" | |
616 | output << "</div>" |
|
632 | output << "</div>" | |
617 |
|
633 | |||
618 | output << "<div class='tooltip' style='position: absolute;top:#{ options[:top] }px;left:#{ i_left }px;width:#{ i_width }px;height:12px;'>" |
|
634 | output << "<div class='tooltip' style='position: absolute;top:#{ options[:top] }px;left:#{ i_left }px;width:#{ i_width }px;height:12px;'>" | |
619 | output << '<span class="tip">' |
|
635 | output << '<span class="tip">' | |
620 | output << view.render_issue_tooltip(issue) |
|
636 | output << view.render_issue_tooltip(issue) | |
621 | output << "</span></div>" |
|
637 | output << "</span></div>" | |
622 | @lines << output |
|
638 | @lines << output | |
623 | output |
|
639 | output | |
624 |
|
640 | |||
625 | when :image |
|
641 | when :image | |
626 | # Handle nil start_dates, rare but can happen. |
|
642 | # Handle nil start_dates, rare but can happen. | |
627 | i_start_date = if issue.start_date && issue.start_date >= @date_from |
|
643 | i_start_date = if issue.start_date && issue.start_date >= @date_from | |
628 | issue.start_date |
|
644 | issue.start_date | |
629 | else |
|
645 | else | |
630 | @date_from |
|
646 | @date_from | |
631 | end |
|
647 | end | |
632 |
|
648 | |||
633 | i_end_date = (issue.due_before <= date_to ? issue.due_before : date_to ) |
|
649 | i_end_date = (issue.due_before <= date_to ? issue.due_before : date_to ) | |
634 | i_done_date = i_start_date + ((issue.due_before - i_start_date+1)*issue.done_ratio/100).floor |
|
650 | i_done_date = i_start_date + ((issue.due_before - i_start_date+1)*issue.done_ratio/100).floor | |
635 | i_done_date = (i_done_date <= @date_from ? @date_from : i_done_date ) |
|
651 | i_done_date = (i_done_date <= @date_from ? @date_from : i_done_date ) | |
636 | i_done_date = (i_done_date >= date_to ? date_to : i_done_date ) |
|
652 | i_done_date = (i_done_date >= date_to ? date_to : i_done_date ) | |
637 | i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today |
|
653 | i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today | |
638 |
|
654 | |||
639 | i_left = options[:subject_width] + ((i_start_date - @date_from)*options[:zoom]).floor |
|
655 | i_left = options[:subject_width] + ((i_start_date - @date_from)*options[:zoom]).floor | |
640 | i_width = ((i_end_date - i_start_date + 1)*options[:zoom]).floor # total width of the issue |
|
656 | i_width = ((i_end_date - i_start_date + 1)*options[:zoom]).floor # total width of the issue | |
641 | d_width = ((i_done_date - i_start_date)*options[:zoom]).floor # done width |
|
657 | d_width = ((i_done_date - i_start_date)*options[:zoom]).floor # done width | |
642 | l_width = i_late_date ? ((i_late_date - i_start_date+1)*options[:zoom]).floor : 0 # delay width |
|
658 | l_width = i_late_date ? ((i_late_date - i_start_date+1)*options[:zoom]).floor : 0 # delay width | |
643 |
|
659 | |||
644 |
|
660 | |||
645 | # Make sure that negative i_left and i_width don't |
|
661 | # Make sure that negative i_left and i_width don't | |
646 | # overflow the subject |
|
662 | # overflow the subject | |
647 | if i_width > 0 |
|
663 | if i_width > 0 | |
648 | options[:image].fill('grey') |
|
664 | options[:image].fill('grey') | |
649 | options[:image].rectangle(i_left, options[:top], i_left + i_width, options[:top] - 6) |
|
665 | options[:image].rectangle(i_left, options[:top], i_left + i_width, options[:top] - 6) | |
650 | options[:image].fill('red') |
|
666 | options[:image].fill('red') | |
651 | options[:image].rectangle(i_left, options[:top], i_left + l_width, options[:top] - 6) if l_width > 0 |
|
667 | options[:image].rectangle(i_left, options[:top], i_left + l_width, options[:top] - 6) if l_width > 0 | |
652 | options[:image].fill('blue') |
|
668 | options[:image].fill('blue') | |
653 | options[:image].rectangle(i_left, options[:top], i_left + d_width, options[:top] - 6) if d_width > 0 |
|
669 | options[:image].rectangle(i_left, options[:top], i_left + d_width, options[:top] - 6) if d_width > 0 | |
654 | end |
|
670 | end | |
655 |
|
671 | |||
656 | # Show the status and % done next to the subject if it overflows |
|
672 | # Show the status and % done next to the subject if it overflows | |
657 | options[:image].fill('black') |
|
673 | options[:image].fill('black') | |
658 | if i_width > 0 |
|
674 | if i_width > 0 | |
659 | options[:image].text(i_left + i_width + 5,options[:top] + 1, "#{issue.status.name} #{issue.done_ratio}%") |
|
675 | options[:image].text(i_left + i_width + 5,options[:top] + 1, "#{issue.status.name} #{issue.done_ratio}%") | |
660 | else |
|
676 | else | |
661 | options[:image].text(options[:subject_width] + 5,options[:top] + 1, "#{issue.status.name} #{issue.done_ratio}%") |
|
677 | options[:image].text(options[:subject_width] + 5,options[:top] + 1, "#{issue.status.name} #{issue.done_ratio}%") | |
662 | end |
|
678 | end | |
663 |
|
679 | |||
664 | when :pdf |
|
680 | when :pdf | |
665 | options[:pdf].SetY(options[:top]+1.5) |
|
681 | options[:pdf].SetY(options[:top]+1.5) | |
666 | # Handle nil start_dates, rare but can happen. |
|
682 | # Handle nil start_dates, rare but can happen. | |
667 | i_start_date = if issue.start_date && issue.start_date >= @date_from |
|
683 | i_start_date = if issue.start_date && issue.start_date >= @date_from | |
668 | issue.start_date |
|
684 | issue.start_date | |
669 | else |
|
685 | else | |
670 | @date_from |
|
686 | @date_from | |
671 | end |
|
687 | end | |
672 |
|
688 | |||
673 | i_end_date = (issue.due_before <= @date_to ? issue.due_before : @date_to ) |
|
689 | i_end_date = (issue.due_before <= @date_to ? issue.due_before : @date_to ) | |
674 |
|
690 | |||
675 | i_done_date = i_start_date + ((issue.due_before - i_start_date+1)*issue.done_ratio/100).floor |
|
691 | i_done_date = i_start_date + ((issue.due_before - i_start_date+1)*issue.done_ratio/100).floor | |
676 | i_done_date = (i_done_date <= @date_from ? @date_from : i_done_date ) |
|
692 | i_done_date = (i_done_date <= @date_from ? @date_from : i_done_date ) | |
677 | i_done_date = (i_done_date >= @date_to ? @date_to : i_done_date ) |
|
693 | i_done_date = (i_done_date >= @date_to ? @date_to : i_done_date ) | |
678 |
|
694 | |||
679 | i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today |
|
695 | i_late_date = [i_end_date, Date.today].min if i_start_date < Date.today | |
680 |
|
696 | |||
681 | i_left = ((i_start_date - @date_from)*options[:zoom]) |
|
697 | i_left = ((i_start_date - @date_from)*options[:zoom]) | |
682 | i_width = ((i_end_date - i_start_date + 1)*options[:zoom]) |
|
698 | i_width = ((i_end_date - i_start_date + 1)*options[:zoom]) | |
683 | d_width = ((i_done_date - i_start_date)*options[:zoom]) |
|
699 | d_width = ((i_done_date - i_start_date)*options[:zoom]) | |
684 | l_width = ((i_late_date - i_start_date+1)*options[:zoom]) if i_late_date |
|
700 | l_width = ((i_late_date - i_start_date+1)*options[:zoom]) if i_late_date | |
685 | l_width ||= 0 |
|
701 | l_width ||= 0 | |
686 |
|
702 | |||
687 | # Make sure that negative i_left and i_width don't |
|
703 | # Make sure that negative i_left and i_width don't | |
688 | # overflow the subject |
|
704 | # overflow the subject | |
689 | if i_width > 0 |
|
705 | if i_width > 0 | |
690 | options[:pdf].SetX(options[:subject_width] + i_left) |
|
706 | options[:pdf].SetX(options[:subject_width] + i_left) | |
691 | options[:pdf].SetFillColor(200,200,200) |
|
707 | options[:pdf].SetFillColor(200,200,200) | |
692 | options[:pdf].Cell(i_width, 2, "", 0, 0, "", 1) |
|
708 | options[:pdf].Cell(i_width, 2, "", 0, 0, "", 1) | |
693 | end |
|
709 | end | |
694 |
|
710 | |||
695 | if l_width > 0 |
|
711 | if l_width > 0 | |
696 | options[:pdf].SetY(options[:top]+1.5) |
|
712 | options[:pdf].SetY(options[:top]+1.5) | |
697 | options[:pdf].SetX(options[:subject_width] + i_left) |
|
713 | options[:pdf].SetX(options[:subject_width] + i_left) | |
698 | options[:pdf].SetFillColor(255,100,100) |
|
714 | options[:pdf].SetFillColor(255,100,100) | |
699 | options[:pdf].Cell(l_width, 2, "", 0, 0, "", 1) |
|
715 | options[:pdf].Cell(l_width, 2, "", 0, 0, "", 1) | |
700 | end |
|
716 | end | |
701 | if d_width > 0 |
|
717 | if d_width > 0 | |
702 | options[:pdf].SetY(options[:top]+1.5) |
|
718 | options[:pdf].SetY(options[:top]+1.5) | |
703 | options[:pdf].SetX(options[:subject_width] + i_left) |
|
719 | options[:pdf].SetX(options[:subject_width] + i_left) | |
704 | options[:pdf].SetFillColor(100,100,255) |
|
720 | options[:pdf].SetFillColor(100,100,255) | |
705 | options[:pdf].Cell(d_width, 2, "", 0, 0, "", 1) |
|
721 | options[:pdf].Cell(d_width, 2, "", 0, 0, "", 1) | |
706 | end |
|
722 | end | |
707 |
|
723 | |||
708 | options[:pdf].SetY(options[:top]+1.5) |
|
724 | options[:pdf].SetY(options[:top]+1.5) | |
709 |
|
725 | |||
710 | # Make sure that negative i_left and i_width don't |
|
726 | # Make sure that negative i_left and i_width don't | |
711 | # overflow the subject |
|
727 | # overflow the subject | |
712 | if (i_left + i_width) >= 0 |
|
728 | if (i_left + i_width) >= 0 | |
713 | options[:pdf].SetX(options[:subject_width] + i_left + i_width) |
|
729 | options[:pdf].SetX(options[:subject_width] + i_left + i_width) | |
714 | else |
|
730 | else | |
715 | options[:pdf].SetX(options[:subject_width]) |
|
731 | options[:pdf].SetX(options[:subject_width]) | |
716 | end |
|
732 | end | |
717 | options[:pdf].Cell(30, 2, "#{issue.status} #{issue.done_ratio}%") |
|
733 | options[:pdf].Cell(30, 2, "#{issue.status} #{issue.done_ratio}%") | |
718 | end |
|
734 | end | |
719 | else |
|
735 | else | |
720 | ActiveRecord::Base.logger.debug "GanttHelper#line_for_issue was not given an issue with a due_before" |
|
736 | ActiveRecord::Base.logger.debug "GanttHelper#line_for_issue was not given an issue with a due_before" | |
721 | '' |
|
737 | '' | |
722 | end |
|
738 | end | |
723 | end |
|
739 | end | |
724 |
|
740 | |||
725 | # Generates a gantt image |
|
741 | # Generates a gantt image | |
726 | # Only defined if RMagick is avalaible |
|
742 | # Only defined if RMagick is avalaible | |
727 | def to_image(format='PNG') |
|
743 | def to_image(format='PNG') | |
728 | date_to = (@date_from >> @months)-1 |
|
744 | date_to = (@date_from >> @months)-1 | |
729 | show_weeks = @zoom > 1 |
|
745 | show_weeks = @zoom > 1 | |
730 | show_days = @zoom > 2 |
|
746 | show_days = @zoom > 2 | |
731 |
|
747 | |||
732 | subject_width = 400 |
|
748 | subject_width = 400 | |
733 | header_heigth = 18 |
|
749 | header_heigth = 18 | |
734 | # width of one day in pixels |
|
750 | # width of one day in pixels | |
735 | zoom = @zoom*2 |
|
751 | zoom = @zoom*2 | |
736 | g_width = (@date_to - @date_from + 1)*zoom |
|
752 | g_width = (@date_to - @date_from + 1)*zoom | |
737 | g_height = 20 * number_of_rows + 30 |
|
753 | g_height = 20 * number_of_rows + 30 | |
738 | headers_heigth = (show_weeks ? 2*header_heigth : header_heigth) |
|
754 | headers_heigth = (show_weeks ? 2*header_heigth : header_heigth) | |
739 | height = g_height + headers_heigth |
|
755 | height = g_height + headers_heigth | |
740 |
|
756 | |||
741 | imgl = Magick::ImageList.new |
|
757 | imgl = Magick::ImageList.new | |
742 | imgl.new_image(subject_width+g_width+1, height) |
|
758 | imgl.new_image(subject_width+g_width+1, height) | |
743 | gc = Magick::Draw.new |
|
759 | gc = Magick::Draw.new | |
744 |
|
760 | |||
745 | # Subjects |
|
761 | # Subjects | |
746 | subjects(:image => gc, :top => (headers_heigth + 20), :indent => 4, :format => :image) |
|
762 | subjects(:image => gc, :top => (headers_heigth + 20), :indent => 4, :format => :image) | |
747 |
|
763 | |||
748 | # Months headers |
|
764 | # Months headers | |
749 | month_f = @date_from |
|
765 | month_f = @date_from | |
750 | left = subject_width |
|
766 | left = subject_width | |
751 | @months.times do |
|
767 | @months.times do | |
752 | width = ((month_f >> 1) - month_f) * zoom |
|
768 | width = ((month_f >> 1) - month_f) * zoom | |
753 | gc.fill('white') |
|
769 | gc.fill('white') | |
754 | gc.stroke('grey') |
|
770 | gc.stroke('grey') | |
755 | gc.stroke_width(1) |
|
771 | gc.stroke_width(1) | |
756 | gc.rectangle(left, 0, left + width, height) |
|
772 | gc.rectangle(left, 0, left + width, height) | |
757 | gc.fill('black') |
|
773 | gc.fill('black') | |
758 | gc.stroke('transparent') |
|
774 | gc.stroke('transparent') | |
759 | gc.stroke_width(1) |
|
775 | gc.stroke_width(1) | |
760 | gc.text(left.round + 8, 14, "#{month_f.year}-#{month_f.month}") |
|
776 | gc.text(left.round + 8, 14, "#{month_f.year}-#{month_f.month}") | |
761 | left = left + width |
|
777 | left = left + width | |
762 | month_f = month_f >> 1 |
|
778 | month_f = month_f >> 1 | |
763 | end |
|
779 | end | |
764 |
|
780 | |||
765 | # Weeks headers |
|
781 | # Weeks headers | |
766 | if show_weeks |
|
782 | if show_weeks | |
767 | left = subject_width |
|
783 | left = subject_width | |
768 | height = header_heigth |
|
784 | height = header_heigth | |
769 | if @date_from.cwday == 1 |
|
785 | if @date_from.cwday == 1 | |
770 | # date_from is monday |
|
786 | # date_from is monday | |
771 | week_f = date_from |
|
787 | week_f = date_from | |
772 | else |
|
788 | else | |
773 | # find next monday after date_from |
|
789 | # find next monday after date_from | |
774 | week_f = @date_from + (7 - @date_from.cwday + 1) |
|
790 | week_f = @date_from + (7 - @date_from.cwday + 1) | |
775 | width = (7 - @date_from.cwday + 1) * zoom |
|
791 | width = (7 - @date_from.cwday + 1) * zoom | |
776 | gc.fill('white') |
|
792 | gc.fill('white') | |
777 | gc.stroke('grey') |
|
793 | gc.stroke('grey') | |
778 | gc.stroke_width(1) |
|
794 | gc.stroke_width(1) | |
779 | gc.rectangle(left, header_heigth, left + width, 2*header_heigth + g_height-1) |
|
795 | gc.rectangle(left, header_heigth, left + width, 2*header_heigth + g_height-1) | |
780 | left = left + width |
|
796 | left = left + width | |
781 | end |
|
797 | end | |
782 | while week_f <= date_to |
|
798 | while week_f <= date_to | |
783 | width = (week_f + 6 <= date_to) ? 7 * zoom : (date_to - week_f + 1) * zoom |
|
799 | width = (week_f + 6 <= date_to) ? 7 * zoom : (date_to - week_f + 1) * zoom | |
784 | gc.fill('white') |
|
800 | gc.fill('white') | |
785 | gc.stroke('grey') |
|
801 | gc.stroke('grey') | |
786 | gc.stroke_width(1) |
|
802 | gc.stroke_width(1) | |
787 | gc.rectangle(left.round, header_heigth, left.round + width, 2*header_heigth + g_height-1) |
|
803 | gc.rectangle(left.round, header_heigth, left.round + width, 2*header_heigth + g_height-1) | |
788 | gc.fill('black') |
|
804 | gc.fill('black') | |
789 | gc.stroke('transparent') |
|
805 | gc.stroke('transparent') | |
790 | gc.stroke_width(1) |
|
806 | gc.stroke_width(1) | |
791 | gc.text(left.round + 2, header_heigth + 14, week_f.cweek.to_s) |
|
807 | gc.text(left.round + 2, header_heigth + 14, week_f.cweek.to_s) | |
792 | left = left + width |
|
808 | left = left + width | |
793 | week_f = week_f+7 |
|
809 | week_f = week_f+7 | |
794 | end |
|
810 | end | |
795 | end |
|
811 | end | |
796 |
|
812 | |||
797 | # Days details (week-end in grey) |
|
813 | # Days details (week-end in grey) | |
798 | if show_days |
|
814 | if show_days | |
799 | left = subject_width |
|
815 | left = subject_width | |
800 | height = g_height + header_heigth - 1 |
|
816 | height = g_height + header_heigth - 1 | |
801 | wday = @date_from.cwday |
|
817 | wday = @date_from.cwday | |
802 | (date_to - @date_from + 1).to_i.times do |
|
818 | (date_to - @date_from + 1).to_i.times do | |
803 | width = zoom |
|
819 | width = zoom | |
804 | gc.fill(wday == 6 || wday == 7 ? '#eee' : 'white') |
|
820 | gc.fill(wday == 6 || wday == 7 ? '#eee' : 'white') | |
805 | gc.stroke('grey') |
|
821 | gc.stroke('grey') | |
806 | gc.stroke_width(1) |
|
822 | gc.stroke_width(1) | |
807 | gc.rectangle(left, 2*header_heigth, left + width, 2*header_heigth + g_height-1) |
|
823 | gc.rectangle(left, 2*header_heigth, left + width, 2*header_heigth + g_height-1) | |
808 | left = left + width |
|
824 | left = left + width | |
809 | wday = wday + 1 |
|
825 | wday = wday + 1 | |
810 | wday = 1 if wday > 7 |
|
826 | wday = 1 if wday > 7 | |
811 | end |
|
827 | end | |
812 | end |
|
828 | end | |
813 |
|
829 | |||
814 | # border |
|
830 | # border | |
815 | gc.fill('transparent') |
|
831 | gc.fill('transparent') | |
816 | gc.stroke('grey') |
|
832 | gc.stroke('grey') | |
817 | gc.stroke_width(1) |
|
833 | gc.stroke_width(1) | |
818 | gc.rectangle(0, 0, subject_width+g_width, headers_heigth) |
|
834 | gc.rectangle(0, 0, subject_width+g_width, headers_heigth) | |
819 | gc.stroke('black') |
|
835 | gc.stroke('black') | |
820 | gc.rectangle(0, 0, subject_width+g_width, g_height+ headers_heigth-1) |
|
836 | gc.rectangle(0, 0, subject_width+g_width, g_height+ headers_heigth-1) | |
821 |
|
837 | |||
822 | # content |
|
838 | # content | |
823 | top = headers_heigth + 20 |
|
839 | top = headers_heigth + 20 | |
824 |
|
840 | |||
825 | lines(:image => gc, :top => top, :zoom => zoom, :subject_width => subject_width, :format => :image) |
|
841 | lines(:image => gc, :top => top, :zoom => zoom, :subject_width => subject_width, :format => :image) | |
826 |
|
842 | |||
827 | # today red line |
|
843 | # today red line | |
828 | if Date.today >= @date_from and Date.today <= date_to |
|
844 | if Date.today >= @date_from and Date.today <= date_to | |
829 | gc.stroke('red') |
|
845 | gc.stroke('red') | |
830 | x = (Date.today-@date_from+1)*zoom + subject_width |
|
846 | x = (Date.today-@date_from+1)*zoom + subject_width | |
831 | gc.line(x, headers_heigth, x, headers_heigth + g_height-1) |
|
847 | gc.line(x, headers_heigth, x, headers_heigth + g_height-1) | |
832 | end |
|
848 | end | |
833 |
|
849 | |||
834 | gc.draw(imgl) |
|
850 | gc.draw(imgl) | |
835 | imgl.format = format |
|
851 | imgl.format = format | |
836 | imgl.to_blob |
|
852 | imgl.to_blob | |
837 | end if Object.const_defined?(:Magick) |
|
853 | end if Object.const_defined?(:Magick) | |
838 |
|
854 | |||
839 | def to_pdf |
|
855 | def to_pdf | |
840 | pdf = ::Redmine::Export::PDF::IFPDF.new(current_language) |
|
856 | pdf = ::Redmine::Export::PDF::IFPDF.new(current_language) | |
841 | pdf.SetTitle("#{l(:label_gantt)} #{project}") |
|
857 | pdf.SetTitle("#{l(:label_gantt)} #{project}") | |
842 | pdf.AliasNbPages |
|
858 | pdf.AliasNbPages | |
843 | pdf.footer_date = format_date(Date.today) |
|
859 | pdf.footer_date = format_date(Date.today) | |
844 | pdf.AddPage("L") |
|
860 | pdf.AddPage("L") | |
845 | pdf.SetFontStyle('B',12) |
|
861 | pdf.SetFontStyle('B',12) | |
846 | pdf.SetX(15) |
|
862 | pdf.SetX(15) | |
847 | pdf.Cell(PDF::LeftPaneWidth, 20, project.to_s) |
|
863 | pdf.Cell(PDF::LeftPaneWidth, 20, project.to_s) | |
848 | pdf.Ln |
|
864 | pdf.Ln | |
849 | pdf.SetFontStyle('B',9) |
|
865 | pdf.SetFontStyle('B',9) | |
850 |
|
866 | |||
851 | subject_width = PDF::LeftPaneWidth |
|
867 | subject_width = PDF::LeftPaneWidth | |
852 | header_heigth = 5 |
|
868 | header_heigth = 5 | |
853 |
|
869 | |||
854 | headers_heigth = header_heigth |
|
870 | headers_heigth = header_heigth | |
855 | show_weeks = false |
|
871 | show_weeks = false | |
856 | show_days = false |
|
872 | show_days = false | |
857 |
|
873 | |||
858 | if self.months < 7 |
|
874 | if self.months < 7 | |
859 | show_weeks = true |
|
875 | show_weeks = true | |
860 | headers_heigth = 2*header_heigth |
|
876 | headers_heigth = 2*header_heigth | |
861 | if self.months < 3 |
|
877 | if self.months < 3 | |
862 | show_days = true |
|
878 | show_days = true | |
863 | headers_heigth = 3*header_heigth |
|
879 | headers_heigth = 3*header_heigth | |
864 | end |
|
880 | end | |
865 | end |
|
881 | end | |
866 |
|
882 | |||
867 | g_width = PDF.right_pane_width |
|
883 | g_width = PDF.right_pane_width | |
868 | zoom = (g_width) / (self.date_to - self.date_from + 1) |
|
884 | zoom = (g_width) / (self.date_to - self.date_from + 1) | |
869 | g_height = 120 |
|
885 | g_height = 120 | |
870 | t_height = g_height + headers_heigth |
|
886 | t_height = g_height + headers_heigth | |
871 |
|
887 | |||
872 | y_start = pdf.GetY |
|
888 | y_start = pdf.GetY | |
873 |
|
889 | |||
874 | # Months headers |
|
890 | # Months headers | |
875 | month_f = self.date_from |
|
891 | month_f = self.date_from | |
876 | left = subject_width |
|
892 | left = subject_width | |
877 | height = header_heigth |
|
893 | height = header_heigth | |
878 | self.months.times do |
|
894 | self.months.times do | |
879 | width = ((month_f >> 1) - month_f) * zoom |
|
895 | width = ((month_f >> 1) - month_f) * zoom | |
880 | pdf.SetY(y_start) |
|
896 | pdf.SetY(y_start) | |
881 | pdf.SetX(left) |
|
897 | pdf.SetX(left) | |
882 | pdf.Cell(width, height, "#{month_f.year}-#{month_f.month}", "LTR", 0, "C") |
|
898 | pdf.Cell(width, height, "#{month_f.year}-#{month_f.month}", "LTR", 0, "C") | |
883 | left = left + width |
|
899 | left = left + width | |
884 | month_f = month_f >> 1 |
|
900 | month_f = month_f >> 1 | |
885 | end |
|
901 | end | |
886 |
|
902 | |||
887 | # Weeks headers |
|
903 | # Weeks headers | |
888 | if show_weeks |
|
904 | if show_weeks | |
889 | left = subject_width |
|
905 | left = subject_width | |
890 | height = header_heigth |
|
906 | height = header_heigth | |
891 | if self.date_from.cwday == 1 |
|
907 | if self.date_from.cwday == 1 | |
892 | # self.date_from is monday |
|
908 | # self.date_from is monday | |
893 | week_f = self.date_from |
|
909 | week_f = self.date_from | |
894 | else |
|
910 | else | |
895 | # find next monday after self.date_from |
|
911 | # find next monday after self.date_from | |
896 | week_f = self.date_from + (7 - self.date_from.cwday + 1) |
|
912 | week_f = self.date_from + (7 - self.date_from.cwday + 1) | |
897 | width = (7 - self.date_from.cwday + 1) * zoom-1 |
|
913 | width = (7 - self.date_from.cwday + 1) * zoom-1 | |
898 | pdf.SetY(y_start + header_heigth) |
|
914 | pdf.SetY(y_start + header_heigth) | |
899 | pdf.SetX(left) |
|
915 | pdf.SetX(left) | |
900 | pdf.Cell(width + 1, height, "", "LTR") |
|
916 | pdf.Cell(width + 1, height, "", "LTR") | |
901 | left = left + width+1 |
|
917 | left = left + width+1 | |
902 | end |
|
918 | end | |
903 | while week_f <= self.date_to |
|
919 | while week_f <= self.date_to | |
904 | width = (week_f + 6 <= self.date_to) ? 7 * zoom : (self.date_to - week_f + 1) * zoom |
|
920 | width = (week_f + 6 <= self.date_to) ? 7 * zoom : (self.date_to - week_f + 1) * zoom | |
905 | pdf.SetY(y_start + header_heigth) |
|
921 | pdf.SetY(y_start + header_heigth) | |
906 | pdf.SetX(left) |
|
922 | pdf.SetX(left) | |
907 | pdf.Cell(width, height, (width >= 5 ? week_f.cweek.to_s : ""), "LTR", 0, "C") |
|
923 | pdf.Cell(width, height, (width >= 5 ? week_f.cweek.to_s : ""), "LTR", 0, "C") | |
908 | left = left + width |
|
924 | left = left + width | |
909 | week_f = week_f+7 |
|
925 | week_f = week_f+7 | |
910 | end |
|
926 | end | |
911 | end |
|
927 | end | |
912 |
|
928 | |||
913 | # Days headers |
|
929 | # Days headers | |
914 | if show_days |
|
930 | if show_days | |
915 | left = subject_width |
|
931 | left = subject_width | |
916 | height = header_heigth |
|
932 | height = header_heigth | |
917 | wday = self.date_from.cwday |
|
933 | wday = self.date_from.cwday | |
918 | pdf.SetFontStyle('B',7) |
|
934 | pdf.SetFontStyle('B',7) | |
919 | (self.date_to - self.date_from + 1).to_i.times do |
|
935 | (self.date_to - self.date_from + 1).to_i.times do | |
920 | width = zoom |
|
936 | width = zoom | |
921 | pdf.SetY(y_start + 2 * header_heigth) |
|
937 | pdf.SetY(y_start + 2 * header_heigth) | |
922 | pdf.SetX(left) |
|
938 | pdf.SetX(left) | |
923 | pdf.Cell(width, height, day_name(wday).first, "LTR", 0, "C") |
|
939 | pdf.Cell(width, height, day_name(wday).first, "LTR", 0, "C") | |
924 | left = left + width |
|
940 | left = left + width | |
925 | wday = wday + 1 |
|
941 | wday = wday + 1 | |
926 | wday = 1 if wday > 7 |
|
942 | wday = 1 if wday > 7 | |
927 | end |
|
943 | end | |
928 | end |
|
944 | end | |
929 |
|
945 | |||
930 | pdf.SetY(y_start) |
|
946 | pdf.SetY(y_start) | |
931 | pdf.SetX(15) |
|
947 | pdf.SetX(15) | |
932 | pdf.Cell(subject_width+g_width-15, headers_heigth, "", 1) |
|
948 | pdf.Cell(subject_width+g_width-15, headers_heigth, "", 1) | |
933 |
|
949 | |||
934 | # Tasks |
|
950 | # Tasks | |
935 | top = headers_heigth + y_start |
|
951 | top = headers_heigth + y_start | |
936 | options = { |
|
952 | options = { | |
937 | :top => top, |
|
953 | :top => top, | |
938 | :zoom => zoom, |
|
954 | :zoom => zoom, | |
939 | :subject_width => subject_width, |
|
955 | :subject_width => subject_width, | |
940 | :g_width => g_width, |
|
956 | :g_width => g_width, | |
941 | :indent => 0, |
|
957 | :indent => 0, | |
942 | :indent_increment => 5, |
|
958 | :indent_increment => 5, | |
943 | :top_increment => 5, |
|
959 | :top_increment => 5, | |
944 | :format => :pdf, |
|
960 | :format => :pdf, | |
945 | :pdf => pdf |
|
961 | :pdf => pdf | |
946 | } |
|
962 | } | |
947 | render(options) |
|
963 | render(options) | |
948 | pdf.Output |
|
964 | pdf.Output | |
949 | end |
|
965 | end | |
950 |
|
966 | |||
951 | private |
|
967 | private | |
952 |
|
968 | |||
953 | # Sorts a collection of issues by start_date, due_date, id for gantt rendering |
|
969 | # Sorts a collection of issues by start_date, due_date, id for gantt rendering | |
954 | def sort_issues!(issues) |
|
970 | def sort_issues!(issues) | |
955 | issues.sort! do |a, b| |
|
971 | issues.sort! do |a, b| | |
956 | cmp = 0 |
|
972 | cmp = 0 | |
957 | cmp = (a.start_date <=> b.start_date) if a.start_date? && b.start_date? |
|
973 | cmp = (a.start_date <=> b.start_date) if a.start_date? && b.start_date? | |
958 | cmp = (a.due_date <=> b.due_date) if cmp == 0 && a.due_date? && b.due_date? |
|
974 | cmp = (a.due_date <=> b.due_date) if cmp == 0 && a.due_date? && b.due_date? | |
959 | cmp = (a.id <=> b.id) if cmp == 0 |
|
975 | cmp = (a.id <=> b.id) if cmp == 0 | |
960 | cmp |
|
976 | cmp | |
961 | end |
|
977 | end | |
962 | end |
|
978 | end | |
963 |
|
979 | |||
|
980 | def current_limit | |||
|
981 | if @max_rows | |||
|
982 | @max_rows - @number_of_rows | |||
|
983 | else | |||
|
984 | nil | |||
|
985 | end | |||
|
986 | end | |||
|
987 | ||||
|
988 | def abort? | |||
|
989 | if @max_rows && @number_of_rows >= @max_rows | |||
|
990 | @truncated = true | |||
|
991 | end | |||
|
992 | end | |||
|
993 | ||||
964 | def pdf_new_page?(options) |
|
994 | def pdf_new_page?(options) | |
965 | if options[:top] > 180 |
|
995 | if options[:top] > 180 | |
966 | options[:pdf].Line(15, options[:top], PDF::TotalWidth, options[:top]) |
|
996 | options[:pdf].Line(15, options[:top], PDF::TotalWidth, options[:top]) | |
967 | options[:pdf].AddPage("L") |
|
997 | options[:pdf].AddPage("L") | |
968 | options[:top] = 15 |
|
998 | options[:top] = 15 | |
969 | options[:pdf].Line(15, options[:top] - 0.1, PDF::TotalWidth, options[:top] - 0.1) |
|
999 | options[:pdf].Line(15, options[:top] - 0.1, PDF::TotalWidth, options[:top] - 0.1) | |
970 | end |
|
1000 | end | |
971 | end |
|
1001 | end | |
972 | end |
|
1002 | end | |
973 | end |
|
1003 | end | |
974 | end |
|
1004 | end |
@@ -1,703 +1,719 | |||||
1 | # redMine - project management software |
|
1 | # redMine - project management software | |
2 | # Copyright (C) 2006-2008 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2008 Jean-Philippe Lang | |
3 | # |
|
3 | # | |
4 | # This program is free software; you can redistribute it and/or |
|
4 | # This program is free software; you can redistribute it and/or | |
5 | # modify it under the terms of the GNU General Public License |
|
5 | # modify it under the terms of the GNU General Public License | |
6 | # as published by the Free Software Foundation; either version 2 |
|
6 | # as published by the Free Software Foundation; either version 2 | |
7 | # of the License, or (at your option) any later version. |
|
7 | # of the License, or (at your option) any later version. | |
8 | # |
|
8 | # | |
9 | # This program is distributed in the hope that it will be useful, |
|
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. |
|
12 | # GNU General Public License for more details. | |
13 | # |
|
13 | # | |
14 | # You should have received a copy of the GNU General Public License |
|
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software |
|
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
17 |
|
17 | |||
18 | require File.expand_path('../../../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 | class Redmine::Helpers::GanttTest < ActiveSupport::TestCase |
|
20 | class Redmine::Helpers::GanttTest < ActiveSupport::TestCase | |
21 | # Utility methods and classes so assert_select can be used. |
|
21 | # Utility methods and classes so assert_select can be used. | |
22 | class GanttViewTest < ActionView::Base |
|
22 | class GanttViewTest < ActionView::Base | |
23 | include ActionView::Helpers::UrlHelper |
|
23 | include ActionView::Helpers::UrlHelper | |
24 | include ActionView::Helpers::TextHelper |
|
24 | include ActionView::Helpers::TextHelper | |
25 | include ActionController::UrlWriter |
|
25 | include ActionController::UrlWriter | |
26 | include ApplicationHelper |
|
26 | include ApplicationHelper | |
27 | include ProjectsHelper |
|
27 | include ProjectsHelper | |
28 | include IssuesHelper |
|
28 | include IssuesHelper | |
29 |
|
29 | |||
30 | def self.default_url_options |
|
30 | def self.default_url_options | |
31 | {:only_path => true } |
|
31 | {:only_path => true } | |
32 | end |
|
32 | end | |
33 |
|
33 | |||
34 | end |
|
34 | end | |
35 |
|
35 | |||
36 | include ActionController::Assertions::SelectorAssertions |
|
36 | include ActionController::Assertions::SelectorAssertions | |
37 |
|
37 | |||
38 | def setup |
|
38 | def setup | |
39 | @response = ActionController::TestResponse.new |
|
39 | @response = ActionController::TestResponse.new | |
40 | # Fixtures |
|
40 | # Fixtures | |
41 | ProjectCustomField.delete_all |
|
41 | ProjectCustomField.delete_all | |
42 | Project.destroy_all |
|
42 | Project.destroy_all | |
43 |
|
43 | |||
44 | User.current = User.find(1) |
|
44 | User.current = User.find(1) | |
45 | end |
|
45 | end | |
46 |
|
46 | |||
47 | def build_view |
|
47 | def build_view | |
48 | @view = GanttViewTest.new |
|
48 | @view = GanttViewTest.new | |
49 | end |
|
49 | end | |
50 |
|
50 | |||
51 | def html_document |
|
51 | def html_document | |
52 | HTML::Document.new(@response.body) |
|
52 | HTML::Document.new(@response.body) | |
53 | end |
|
53 | end | |
54 |
|
54 | |||
55 | # Creates a Gantt chart for a 4 week span |
|
55 | # Creates a Gantt chart for a 4 week span | |
56 | def create_gantt(project=Project.generate!) |
|
56 | def create_gantt(project=Project.generate!, options={}) | |
57 | @project = project |
|
57 | @project = project | |
58 | @gantt = Redmine::Helpers::Gantt.new |
|
58 | @gantt = Redmine::Helpers::Gantt.new(options) | |
59 | @gantt.project = @project |
|
59 | @gantt.project = @project | |
60 | @gantt.query = Query.generate_default!(:project => @project) |
|
60 | @gantt.query = Query.generate_default!(:project => @project) | |
61 | @gantt.view = build_view |
|
61 | @gantt.view = build_view | |
62 | @gantt.instance_variable_set('@date_from', 2.weeks.ago.to_date) |
|
62 | @gantt.instance_variable_set('@date_from', 2.weeks.ago.to_date) | |
63 | @gantt.instance_variable_set('@date_to', 2.weeks.from_now.to_date) |
|
63 | @gantt.instance_variable_set('@date_to', 2.weeks.from_now.to_date) | |
64 | end |
|
64 | end | |
65 |
|
65 | |||
66 | context "#number_of_rows" do |
|
66 | context "#number_of_rows" do | |
67 |
|
67 | |||
68 | context "with one project" do |
|
68 | context "with one project" do | |
69 | should "return the number of rows just for that project" |
|
69 | should "return the number of rows just for that project" | |
70 | end |
|
70 | end | |
71 |
|
71 | |||
72 | context "with no project" do |
|
72 | context "with no project" do | |
73 | should "return the total number of rows for all the projects, resursively" |
|
73 | should "return the total number of rows for all the projects, resursively" | |
74 | end |
|
74 | end | |
75 |
|
75 | |||
|
76 | should "not exceed max_rows option" do | |||
|
77 | p = Project.generate! | |||
|
78 | 5.times do | |||
|
79 | Issue.generate_for_project!(p) | |||
|
80 | end | |||
|
81 | ||||
|
82 | create_gantt(p) | |||
|
83 | @gantt.render | |||
|
84 | assert_equal 6, @gantt.number_of_rows | |||
|
85 | assert !@gantt.truncated | |||
|
86 | ||||
|
87 | create_gantt(p, :max_rows => 3) | |||
|
88 | @gantt.render | |||
|
89 | assert_equal 3, @gantt.number_of_rows | |||
|
90 | assert @gantt.truncated | |||
|
91 | end | |||
76 | end |
|
92 | end | |
77 |
|
93 | |||
78 | context "#number_of_rows_on_project" do |
|
94 | context "#number_of_rows_on_project" do | |
79 | setup do |
|
95 | setup do | |
80 | create_gantt |
|
96 | create_gantt | |
81 | end |
|
97 | end | |
82 |
|
98 | |||
83 | should "clear the @query.project so cross-project issues and versions can be counted" do |
|
99 | should "clear the @query.project so cross-project issues and versions can be counted" do | |
84 | assert @gantt.query.project |
|
100 | assert @gantt.query.project | |
85 | @gantt.number_of_rows_on_project(@project) |
|
101 | @gantt.number_of_rows_on_project(@project) | |
86 | assert_nil @gantt.query.project |
|
102 | assert_nil @gantt.query.project | |
87 | end |
|
103 | end | |
88 |
|
104 | |||
89 | should "count 1 for the project itself" do |
|
105 | should "count 1 for the project itself" do | |
90 | assert_equal 1, @gantt.number_of_rows_on_project(@project) |
|
106 | assert_equal 1, @gantt.number_of_rows_on_project(@project) | |
91 | end |
|
107 | end | |
92 |
|
108 | |||
93 | should "count the number of issues without a version" do |
|
109 | should "count the number of issues without a version" do | |
94 | @project.issues << Issue.generate_for_project!(@project, :fixed_version => nil) |
|
110 | @project.issues << Issue.generate_for_project!(@project, :fixed_version => nil) | |
95 | assert_equal 2, @gantt.number_of_rows_on_project(@project) |
|
111 | assert_equal 2, @gantt.number_of_rows_on_project(@project) | |
96 | end |
|
112 | end | |
97 |
|
113 | |||
98 | should "count the number of versions" do |
|
114 | should "count the number of versions" do | |
99 | @project.versions << Version.generate! |
|
115 | @project.versions << Version.generate! | |
100 | @project.versions << Version.generate! |
|
116 | @project.versions << Version.generate! | |
101 | assert_equal 3, @gantt.number_of_rows_on_project(@project) |
|
117 | assert_equal 3, @gantt.number_of_rows_on_project(@project) | |
102 | end |
|
118 | end | |
103 |
|
119 | |||
104 | should "count the number of issues on versions, including cross-project" do |
|
120 | should "count the number of issues on versions, including cross-project" do | |
105 | version = Version.generate! |
|
121 | version = Version.generate! | |
106 | @project.versions << version |
|
122 | @project.versions << version | |
107 | @project.issues << Issue.generate_for_project!(@project, :fixed_version => version) |
|
123 | @project.issues << Issue.generate_for_project!(@project, :fixed_version => version) | |
108 |
|
124 | |||
109 | assert_equal 3, @gantt.number_of_rows_on_project(@project) |
|
125 | assert_equal 3, @gantt.number_of_rows_on_project(@project) | |
110 | end |
|
126 | end | |
111 |
|
127 | |||
112 | should "recursive and count the number of rows on each subproject" do |
|
128 | should "recursive and count the number of rows on each subproject" do | |
113 | @project.versions << Version.generate! # +1 |
|
129 | @project.versions << Version.generate! # +1 | |
114 |
|
130 | |||
115 | @subproject = Project.generate!(:enabled_module_names => ['issue_tracking']) # +1 |
|
131 | @subproject = Project.generate!(:enabled_module_names => ['issue_tracking']) # +1 | |
116 | @subproject.set_parent!(@project) |
|
132 | @subproject.set_parent!(@project) | |
117 | @subproject.issues << Issue.generate_for_project!(@subproject) # +1 |
|
133 | @subproject.issues << Issue.generate_for_project!(@subproject) # +1 | |
118 | @subproject.issues << Issue.generate_for_project!(@subproject) # +1 |
|
134 | @subproject.issues << Issue.generate_for_project!(@subproject) # +1 | |
119 |
|
135 | |||
120 | @subsubproject = Project.generate!(:enabled_module_names => ['issue_tracking']) # +1 |
|
136 | @subsubproject = Project.generate!(:enabled_module_names => ['issue_tracking']) # +1 | |
121 | @subsubproject.set_parent!(@subproject) |
|
137 | @subsubproject.set_parent!(@subproject) | |
122 | @subsubproject.issues << Issue.generate_for_project!(@subsubproject) # +1 |
|
138 | @subsubproject.issues << Issue.generate_for_project!(@subsubproject) # +1 | |
123 |
|
139 | |||
124 | assert_equal 7, @gantt.number_of_rows_on_project(@project) # +1 for self |
|
140 | assert_equal 7, @gantt.number_of_rows_on_project(@project) # +1 for self | |
125 | end |
|
141 | end | |
126 | end |
|
142 | end | |
127 |
|
143 | |||
128 | # TODO: more of an integration test |
|
144 | # TODO: more of an integration test | |
129 | context "#subjects" do |
|
145 | context "#subjects" do | |
130 | setup do |
|
146 | setup do | |
131 | create_gantt |
|
147 | create_gantt | |
132 | @project.enabled_module_names = [:issue_tracking] |
|
148 | @project.enabled_module_names = [:issue_tracking] | |
133 | @tracker = Tracker.generate! |
|
149 | @tracker = Tracker.generate! | |
134 | @project.trackers << @tracker |
|
150 | @project.trackers << @tracker | |
135 | @version = Version.generate!(:effective_date => 1.week.from_now.to_date, :sharing => 'none') |
|
151 | @version = Version.generate!(:effective_date => 1.week.from_now.to_date, :sharing => 'none') | |
136 | @project.versions << @version |
|
152 | @project.versions << @version | |
137 |
|
153 | |||
138 | @issue = Issue.generate!(:fixed_version => @version, |
|
154 | @issue = Issue.generate!(:fixed_version => @version, | |
139 | :subject => "gantt#line_for_project", |
|
155 | :subject => "gantt#line_for_project", | |
140 | :tracker => @tracker, |
|
156 | :tracker => @tracker, | |
141 | :project => @project, |
|
157 | :project => @project, | |
142 | :done_ratio => 30, |
|
158 | :done_ratio => 30, | |
143 | :start_date => Date.yesterday, |
|
159 | :start_date => Date.yesterday, | |
144 | :due_date => 1.week.from_now.to_date) |
|
160 | :due_date => 1.week.from_now.to_date) | |
145 | @project.issues << @issue |
|
161 | @project.issues << @issue | |
146 |
|
162 | |||
147 | @response.body = @gantt.subjects |
|
163 | @response.body = @gantt.subjects | |
148 | end |
|
164 | end | |
149 |
|
165 | |||
150 | context "project" do |
|
166 | context "project" do | |
151 | should "be rendered" do |
|
167 | should "be rendered" do | |
152 | assert_select "div.project-name a", /#{@project.name}/ |
|
168 | assert_select "div.project-name a", /#{@project.name}/ | |
153 | end |
|
169 | end | |
154 |
|
170 | |||
155 | should "have an indent of 4" do |
|
171 | should "have an indent of 4" do | |
156 | assert_select "div.project-name[style*=left:4px]" |
|
172 | assert_select "div.project-name[style*=left:4px]" | |
157 | end |
|
173 | end | |
158 | end |
|
174 | end | |
159 |
|
175 | |||
160 | context "version" do |
|
176 | context "version" do | |
161 | should "be rendered" do |
|
177 | should "be rendered" do | |
162 | assert_select "div.version-name a", /#{@version.name}/ |
|
178 | assert_select "div.version-name a", /#{@version.name}/ | |
163 | end |
|
179 | end | |
164 |
|
180 | |||
165 | should "be indented 24 (one level)" do |
|
181 | should "be indented 24 (one level)" do | |
166 | assert_select "div.version-name[style*=left:24px]" |
|
182 | assert_select "div.version-name[style*=left:24px]" | |
167 | end |
|
183 | end | |
168 | end |
|
184 | end | |
169 |
|
185 | |||
170 | context "issue" do |
|
186 | context "issue" do | |
171 | should "be rendered" do |
|
187 | should "be rendered" do | |
172 | assert_select "div.issue-subject", /#{@issue.subject}/ |
|
188 | assert_select "div.issue-subject", /#{@issue.subject}/ | |
173 | end |
|
189 | end | |
174 |
|
190 | |||
175 | should "be indented 44 (two levels)" do |
|
191 | should "be indented 44 (two levels)" do | |
176 | assert_select "div.issue-subject[style*=left:44px]" |
|
192 | assert_select "div.issue-subject[style*=left:44px]" | |
177 | end |
|
193 | end | |
178 | end |
|
194 | end | |
179 | end |
|
195 | end | |
180 |
|
196 | |||
181 | context "#lines" do |
|
197 | context "#lines" do | |
182 | setup do |
|
198 | setup do | |
183 | create_gantt |
|
199 | create_gantt | |
184 | @project.enabled_module_names = [:issue_tracking] |
|
200 | @project.enabled_module_names = [:issue_tracking] | |
185 | @tracker = Tracker.generate! |
|
201 | @tracker = Tracker.generate! | |
186 | @project.trackers << @tracker |
|
202 | @project.trackers << @tracker | |
187 | @version = Version.generate!(:effective_date => 1.week.from_now.to_date) |
|
203 | @version = Version.generate!(:effective_date => 1.week.from_now.to_date) | |
188 | @project.versions << @version |
|
204 | @project.versions << @version | |
189 | @issue = Issue.generate!(:fixed_version => @version, |
|
205 | @issue = Issue.generate!(:fixed_version => @version, | |
190 | :subject => "gantt#line_for_project", |
|
206 | :subject => "gantt#line_for_project", | |
191 | :tracker => @tracker, |
|
207 | :tracker => @tracker, | |
192 | :project => @project, |
|
208 | :project => @project, | |
193 | :done_ratio => 30, |
|
209 | :done_ratio => 30, | |
194 | :start_date => Date.yesterday, |
|
210 | :start_date => Date.yesterday, | |
195 | :due_date => 1.week.from_now.to_date) |
|
211 | :due_date => 1.week.from_now.to_date) | |
196 | @project.issues << @issue |
|
212 | @project.issues << @issue | |
197 |
|
213 | |||
198 | @response.body = @gantt.lines |
|
214 | @response.body = @gantt.lines | |
199 | end |
|
215 | end | |
200 |
|
216 | |||
201 | context "project" do |
|
217 | context "project" do | |
202 | should "be rendered" do |
|
218 | should "be rendered" do | |
203 | assert_select "div.project_todo" |
|
219 | assert_select "div.project_todo" | |
204 | assert_select "div.project-line.starting" |
|
220 | assert_select "div.project-line.starting" | |
205 | assert_select "div.project-line.ending" |
|
221 | assert_select "div.project-line.ending" | |
206 | assert_select "div.label.project-name", /#{@project.name}/ |
|
222 | assert_select "div.label.project-name", /#{@project.name}/ | |
207 | end |
|
223 | end | |
208 | end |
|
224 | end | |
209 |
|
225 | |||
210 | context "version" do |
|
226 | context "version" do | |
211 | should "be rendered" do |
|
227 | should "be rendered" do | |
212 | assert_select "div.milestone_todo" |
|
228 | assert_select "div.milestone_todo" | |
213 | assert_select "div.milestone.starting" |
|
229 | assert_select "div.milestone.starting" | |
214 | assert_select "div.milestone.ending" |
|
230 | assert_select "div.milestone.ending" | |
215 | assert_select "div.label.version-name", /#{@version.name}/ |
|
231 | assert_select "div.label.version-name", /#{@version.name}/ | |
216 | end |
|
232 | end | |
217 | end |
|
233 | end | |
218 |
|
234 | |||
219 | context "issue" do |
|
235 | context "issue" do | |
220 | should "be rendered" do |
|
236 | should "be rendered" do | |
221 | assert_select "div.task_todo" |
|
237 | assert_select "div.task_todo" | |
222 | assert_select "div.label.issue-name", /#{@issue.done_ratio}/ |
|
238 | assert_select "div.label.issue-name", /#{@issue.done_ratio}/ | |
223 | assert_select "div.tooltip", /#{@issue.subject}/ |
|
239 | assert_select "div.tooltip", /#{@issue.subject}/ | |
224 | end |
|
240 | end | |
225 | end |
|
241 | end | |
226 | end |
|
242 | end | |
227 |
|
243 | |||
228 | context "#render_project" do |
|
244 | context "#render_project" do | |
229 | should "be tested" |
|
245 | should "be tested" | |
230 | end |
|
246 | end | |
231 |
|
247 | |||
232 | context "#render_issues" do |
|
248 | context "#render_issues" do | |
233 | should "be tested" |
|
249 | should "be tested" | |
234 | end |
|
250 | end | |
235 |
|
251 | |||
236 | context "#render_version" do |
|
252 | context "#render_version" do | |
237 | should "be tested" |
|
253 | should "be tested" | |
238 | end |
|
254 | end | |
239 |
|
255 | |||
240 | context "#subject_for_project" do |
|
256 | context "#subject_for_project" do | |
241 | setup do |
|
257 | setup do | |
242 | create_gantt |
|
258 | create_gantt | |
243 | end |
|
259 | end | |
244 |
|
260 | |||
245 | context ":html format" do |
|
261 | context ":html format" do | |
246 | should "add an absolute positioned div" do |
|
262 | should "add an absolute positioned div" do | |
247 | @response.body = @gantt.subject_for_project(@project, {:format => :html}) |
|
263 | @response.body = @gantt.subject_for_project(@project, {:format => :html}) | |
248 | assert_select "div[style*=absolute]" |
|
264 | assert_select "div[style*=absolute]" | |
249 | end |
|
265 | end | |
250 |
|
266 | |||
251 | should "use the indent option to move the div to the right" do |
|
267 | should "use the indent option to move the div to the right" do | |
252 | @response.body = @gantt.subject_for_project(@project, {:format => :html, :indent => 40}) |
|
268 | @response.body = @gantt.subject_for_project(@project, {:format => :html, :indent => 40}) | |
253 | assert_select "div[style*=left:40]" |
|
269 | assert_select "div[style*=left:40]" | |
254 | end |
|
270 | end | |
255 |
|
271 | |||
256 | should "include the project name" do |
|
272 | should "include the project name" do | |
257 | @response.body = @gantt.subject_for_project(@project, {:format => :html}) |
|
273 | @response.body = @gantt.subject_for_project(@project, {:format => :html}) | |
258 | assert_select 'div', :text => /#{@project.name}/ |
|
274 | assert_select 'div', :text => /#{@project.name}/ | |
259 | end |
|
275 | end | |
260 |
|
276 | |||
261 | should "include a link to the project" do |
|
277 | should "include a link to the project" do | |
262 | @response.body = @gantt.subject_for_project(@project, {:format => :html}) |
|
278 | @response.body = @gantt.subject_for_project(@project, {:format => :html}) | |
263 | assert_select 'a[href=?]', "/projects/#{@project.identifier}", :text => /#{@project.name}/ |
|
279 | assert_select 'a[href=?]', "/projects/#{@project.identifier}", :text => /#{@project.name}/ | |
264 | end |
|
280 | end | |
265 |
|
281 | |||
266 | should "style overdue projects" do |
|
282 | should "style overdue projects" do | |
267 | @project.enabled_module_names = [:issue_tracking] |
|
283 | @project.enabled_module_names = [:issue_tracking] | |
268 | @project.versions << Version.generate!(:effective_date => Date.yesterday) |
|
284 | @project.versions << Version.generate!(:effective_date => Date.yesterday) | |
269 |
|
285 | |||
270 | assert @project.overdue?, "Need an overdue project for this test" |
|
286 | assert @project.overdue?, "Need an overdue project for this test" | |
271 | @response.body = @gantt.subject_for_project(@project, {:format => :html}) |
|
287 | @response.body = @gantt.subject_for_project(@project, {:format => :html}) | |
272 |
|
288 | |||
273 | assert_select 'div span.project-overdue' |
|
289 | assert_select 'div span.project-overdue' | |
274 | end |
|
290 | end | |
275 |
|
291 | |||
276 |
|
292 | |||
277 | end |
|
293 | end | |
278 |
|
294 | |||
279 | should "test the PNG format" |
|
295 | should "test the PNG format" | |
280 | should "test the PDF format" |
|
296 | should "test the PDF format" | |
281 | end |
|
297 | end | |
282 |
|
298 | |||
283 | context "#line_for_project" do |
|
299 | context "#line_for_project" do | |
284 | setup do |
|
300 | setup do | |
285 | create_gantt |
|
301 | create_gantt | |
286 | @project.enabled_module_names = [:issue_tracking] |
|
302 | @project.enabled_module_names = [:issue_tracking] | |
287 | @tracker = Tracker.generate! |
|
303 | @tracker = Tracker.generate! | |
288 | @project.trackers << @tracker |
|
304 | @project.trackers << @tracker | |
289 | @version = Version.generate!(:effective_date => Date.yesterday) |
|
305 | @version = Version.generate!(:effective_date => Date.yesterday) | |
290 | @project.versions << @version |
|
306 | @project.versions << @version | |
291 |
|
307 | |||
292 | @project.issues << Issue.generate!(:fixed_version => @version, |
|
308 | @project.issues << Issue.generate!(:fixed_version => @version, | |
293 | :subject => "gantt#line_for_project", |
|
309 | :subject => "gantt#line_for_project", | |
294 | :tracker => @tracker, |
|
310 | :tracker => @tracker, | |
295 | :project => @project, |
|
311 | :project => @project, | |
296 | :done_ratio => 30, |
|
312 | :done_ratio => 30, | |
297 | :start_date => Date.yesterday, |
|
313 | :start_date => Date.yesterday, | |
298 | :due_date => 1.week.from_now.to_date) |
|
314 | :due_date => 1.week.from_now.to_date) | |
299 | end |
|
315 | end | |
300 |
|
316 | |||
301 | context ":html format" do |
|
317 | context ":html format" do | |
302 | context "todo line" do |
|
318 | context "todo line" do | |
303 | should "start from the starting point on the left" do |
|
319 | should "start from the starting point on the left" do | |
304 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
320 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
305 | assert_select "div.project_todo[style*=left:52px]" |
|
321 | assert_select "div.project_todo[style*=left:52px]" | |
306 | end |
|
322 | end | |
307 |
|
323 | |||
308 | should "be the total width of the project" do |
|
324 | should "be the total width of the project" do | |
309 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
325 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
310 | assert_select "div.project_todo[style*=width:31px]" |
|
326 | assert_select "div.project_todo[style*=width:31px]" | |
311 | end |
|
327 | end | |
312 |
|
328 | |||
313 | end |
|
329 | end | |
314 |
|
330 | |||
315 | context "late line" do |
|
331 | context "late line" do | |
316 | should "start from the starting point on the left" do |
|
332 | should "start from the starting point on the left" do | |
317 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
333 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
318 | assert_select "div.project_late[style*=left:52px]" |
|
334 | assert_select "div.project_late[style*=left:52px]" | |
319 | end |
|
335 | end | |
320 |
|
336 | |||
321 | should "be the total delayed width of the project" do |
|
337 | should "be the total delayed width of the project" do | |
322 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
338 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
323 | assert_select "div.project_late[style*=width:6px]" |
|
339 | assert_select "div.project_late[style*=width:6px]" | |
324 | end |
|
340 | end | |
325 | end |
|
341 | end | |
326 |
|
342 | |||
327 | context "done line" do |
|
343 | context "done line" do | |
328 | should "start from the starting point on the left" do |
|
344 | should "start from the starting point on the left" do | |
329 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
345 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
330 | assert_select "div.project_done[style*=left:52px]" |
|
346 | assert_select "div.project_done[style*=left:52px]" | |
331 | end |
|
347 | end | |
332 |
|
348 | |||
333 | should "Be the total done width of the project" do |
|
349 | should "Be the total done width of the project" do | |
334 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
350 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
335 | assert_select "div.project_done[style*=left:52px]" |
|
351 | assert_select "div.project_done[style*=left:52px]" | |
336 | end |
|
352 | end | |
337 | end |
|
353 | end | |
338 |
|
354 | |||
339 | context "starting marker" do |
|
355 | context "starting marker" do | |
340 | should "not appear if the starting point is off the gantt chart" do |
|
356 | should "not appear if the starting point is off the gantt chart" do | |
341 | # Shift the date range of the chart |
|
357 | # Shift the date range of the chart | |
342 | @gantt.instance_variable_set('@date_from', Date.today) |
|
358 | @gantt.instance_variable_set('@date_from', Date.today) | |
343 |
|
359 | |||
344 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
360 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
345 | assert_select "div.project-line.starting", false |
|
361 | assert_select "div.project-line.starting", false | |
346 | end |
|
362 | end | |
347 |
|
363 | |||
348 | should "appear at the starting point" do |
|
364 | should "appear at the starting point" do | |
349 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
365 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
350 | assert_select "div.project-line.starting[style*=left:52px]" |
|
366 | assert_select "div.project-line.starting[style*=left:52px]" | |
351 | end |
|
367 | end | |
352 | end |
|
368 | end | |
353 |
|
369 | |||
354 | context "ending marker" do |
|
370 | context "ending marker" do | |
355 | should "not appear if the starting point is off the gantt chart" do |
|
371 | should "not appear if the starting point is off the gantt chart" do | |
356 | # Shift the date range of the chart |
|
372 | # Shift the date range of the chart | |
357 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) |
|
373 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) | |
358 |
|
374 | |||
359 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
375 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
360 | assert_select "div.project-line.ending", false |
|
376 | assert_select "div.project-line.ending", false | |
361 |
|
377 | |||
362 | end |
|
378 | end | |
363 |
|
379 | |||
364 | should "appear at the end of the date range" do |
|
380 | should "appear at the end of the date range" do | |
365 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
381 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
366 | assert_select "div.project-line.ending[style*=left:84px]" |
|
382 | assert_select "div.project-line.ending[style*=left:84px]" | |
367 | end |
|
383 | end | |
368 | end |
|
384 | end | |
369 |
|
385 | |||
370 | context "status content" do |
|
386 | context "status content" do | |
371 | should "appear at the far left, even if it's far in the past" do |
|
387 | should "appear at the far left, even if it's far in the past" do | |
372 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) |
|
388 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) | |
373 |
|
389 | |||
374 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
390 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
375 | assert_select "div.project-name", /#{@project.name}/ |
|
391 | assert_select "div.project-name", /#{@project.name}/ | |
376 | end |
|
392 | end | |
377 |
|
393 | |||
378 | should "show the project name" do |
|
394 | should "show the project name" do | |
379 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
395 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
380 | assert_select "div.project-name", /#{@project.name}/ |
|
396 | assert_select "div.project-name", /#{@project.name}/ | |
381 | end |
|
397 | end | |
382 |
|
398 | |||
383 | should "show the percent complete" do |
|
399 | should "show the percent complete" do | |
384 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) |
|
400 | @response.body = @gantt.line_for_project(@project, {:format => :html, :zoom => 4}) | |
385 | assert_select "div.project-name", /0%/ |
|
401 | assert_select "div.project-name", /0%/ | |
386 | end |
|
402 | end | |
387 | end |
|
403 | end | |
388 | end |
|
404 | end | |
389 |
|
405 | |||
390 | should "test the PNG format" |
|
406 | should "test the PNG format" | |
391 | should "test the PDF format" |
|
407 | should "test the PDF format" | |
392 | end |
|
408 | end | |
393 |
|
409 | |||
394 | context "#subject_for_version" do |
|
410 | context "#subject_for_version" do | |
395 | setup do |
|
411 | setup do | |
396 | create_gantt |
|
412 | create_gantt | |
397 | @project.enabled_module_names = [:issue_tracking] |
|
413 | @project.enabled_module_names = [:issue_tracking] | |
398 | @tracker = Tracker.generate! |
|
414 | @tracker = Tracker.generate! | |
399 | @project.trackers << @tracker |
|
415 | @project.trackers << @tracker | |
400 | @version = Version.generate!(:effective_date => Date.yesterday) |
|
416 | @version = Version.generate!(:effective_date => Date.yesterday) | |
401 | @project.versions << @version |
|
417 | @project.versions << @version | |
402 |
|
418 | |||
403 | @project.issues << Issue.generate!(:fixed_version => @version, |
|
419 | @project.issues << Issue.generate!(:fixed_version => @version, | |
404 | :subject => "gantt#subject_for_version", |
|
420 | :subject => "gantt#subject_for_version", | |
405 | :tracker => @tracker, |
|
421 | :tracker => @tracker, | |
406 | :project => @project, |
|
422 | :project => @project, | |
407 | :start_date => Date.today) |
|
423 | :start_date => Date.today) | |
408 |
|
424 | |||
409 | end |
|
425 | end | |
410 |
|
426 | |||
411 | context ":html format" do |
|
427 | context ":html format" do | |
412 | should "add an absolute positioned div" do |
|
428 | should "add an absolute positioned div" do | |
413 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) |
|
429 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) | |
414 | assert_select "div[style*=absolute]" |
|
430 | assert_select "div[style*=absolute]" | |
415 | end |
|
431 | end | |
416 |
|
432 | |||
417 | should "use the indent option to move the div to the right" do |
|
433 | should "use the indent option to move the div to the right" do | |
418 | @response.body = @gantt.subject_for_version(@version, {:format => :html, :indent => 40}) |
|
434 | @response.body = @gantt.subject_for_version(@version, {:format => :html, :indent => 40}) | |
419 | assert_select "div[style*=left:40]" |
|
435 | assert_select "div[style*=left:40]" | |
420 | end |
|
436 | end | |
421 |
|
437 | |||
422 | should "include the version name" do |
|
438 | should "include the version name" do | |
423 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) |
|
439 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) | |
424 | assert_select 'div', :text => /#{@version.name}/ |
|
440 | assert_select 'div', :text => /#{@version.name}/ | |
425 | end |
|
441 | end | |
426 |
|
442 | |||
427 | should "include a link to the version" do |
|
443 | should "include a link to the version" do | |
428 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) |
|
444 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) | |
429 | assert_select 'a[href=?]', Regexp.escape("/versions/show/#{@version.to_param}"), :text => /#{@version.name}/ |
|
445 | assert_select 'a[href=?]', Regexp.escape("/versions/show/#{@version.to_param}"), :text => /#{@version.name}/ | |
430 | end |
|
446 | end | |
431 |
|
447 | |||
432 | should "style late versions" do |
|
448 | should "style late versions" do | |
433 | assert @version.overdue?, "Need an overdue version for this test" |
|
449 | assert @version.overdue?, "Need an overdue version for this test" | |
434 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) |
|
450 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) | |
435 |
|
451 | |||
436 | assert_select 'div span.version-behind-schedule' |
|
452 | assert_select 'div span.version-behind-schedule' | |
437 | end |
|
453 | end | |
438 |
|
454 | |||
439 | should "style behind schedule versions" do |
|
455 | should "style behind schedule versions" do | |
440 | assert @version.behind_schedule?, "Need a behind schedule version for this test" |
|
456 | assert @version.behind_schedule?, "Need a behind schedule version for this test" | |
441 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) |
|
457 | @response.body = @gantt.subject_for_version(@version, {:format => :html}) | |
442 |
|
458 | |||
443 | assert_select 'div span.version-behind-schedule' |
|
459 | assert_select 'div span.version-behind-schedule' | |
444 | end |
|
460 | end | |
445 | end |
|
461 | end | |
446 | should "test the PNG format" |
|
462 | should "test the PNG format" | |
447 | should "test the PDF format" |
|
463 | should "test the PDF format" | |
448 | end |
|
464 | end | |
449 |
|
465 | |||
450 | context "#line_for_version" do |
|
466 | context "#line_for_version" do | |
451 | setup do |
|
467 | setup do | |
452 | create_gantt |
|
468 | create_gantt | |
453 | @project.enabled_module_names = [:issue_tracking] |
|
469 | @project.enabled_module_names = [:issue_tracking] | |
454 | @tracker = Tracker.generate! |
|
470 | @tracker = Tracker.generate! | |
455 | @project.trackers << @tracker |
|
471 | @project.trackers << @tracker | |
456 | @version = Version.generate!(:effective_date => 1.week.from_now.to_date) |
|
472 | @version = Version.generate!(:effective_date => 1.week.from_now.to_date) | |
457 | @project.versions << @version |
|
473 | @project.versions << @version | |
458 |
|
474 | |||
459 | @project.issues << Issue.generate!(:fixed_version => @version, |
|
475 | @project.issues << Issue.generate!(:fixed_version => @version, | |
460 | :subject => "gantt#line_for_project", |
|
476 | :subject => "gantt#line_for_project", | |
461 | :tracker => @tracker, |
|
477 | :tracker => @tracker, | |
462 | :project => @project, |
|
478 | :project => @project, | |
463 | :done_ratio => 30, |
|
479 | :done_ratio => 30, | |
464 | :start_date => Date.yesterday, |
|
480 | :start_date => Date.yesterday, | |
465 | :due_date => 1.week.from_now.to_date) |
|
481 | :due_date => 1.week.from_now.to_date) | |
466 | end |
|
482 | end | |
467 |
|
483 | |||
468 | context ":html format" do |
|
484 | context ":html format" do | |
469 | context "todo line" do |
|
485 | context "todo line" do | |
470 | should "start from the starting point on the left" do |
|
486 | should "start from the starting point on the left" do | |
471 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
487 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
472 | assert_select "div.milestone_todo[style*=left:52px]" |
|
488 | assert_select "div.milestone_todo[style*=left:52px]" | |
473 | end |
|
489 | end | |
474 |
|
490 | |||
475 | should "be the total width of the version" do |
|
491 | should "be the total width of the version" do | |
476 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
492 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
477 | assert_select "div.milestone_todo[style*=width:31px]" |
|
493 | assert_select "div.milestone_todo[style*=width:31px]" | |
478 | end |
|
494 | end | |
479 |
|
495 | |||
480 | end |
|
496 | end | |
481 |
|
497 | |||
482 | context "late line" do |
|
498 | context "late line" do | |
483 | should "start from the starting point on the left" do |
|
499 | should "start from the starting point on the left" do | |
484 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
500 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
485 | assert_select "div.milestone_late[style*=left:52px]" |
|
501 | assert_select "div.milestone_late[style*=left:52px]" | |
486 | end |
|
502 | end | |
487 |
|
503 | |||
488 | should "be the total delayed width of the version" do |
|
504 | should "be the total delayed width of the version" do | |
489 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
505 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
490 | assert_select "div.milestone_late[style*=width:6px]" |
|
506 | assert_select "div.milestone_late[style*=width:6px]" | |
491 | end |
|
507 | end | |
492 | end |
|
508 | end | |
493 |
|
509 | |||
494 | context "done line" do |
|
510 | context "done line" do | |
495 | should "start from the starting point on the left" do |
|
511 | should "start from the starting point on the left" do | |
496 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
512 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
497 | assert_select "div.milestone_done[style*=left:52px]" |
|
513 | assert_select "div.milestone_done[style*=left:52px]" | |
498 | end |
|
514 | end | |
499 |
|
515 | |||
500 | should "Be the total done width of the version" do |
|
516 | should "Be the total done width of the version" do | |
501 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
517 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
502 | assert_select "div.milestone_done[style*=left:52px]" |
|
518 | assert_select "div.milestone_done[style*=left:52px]" | |
503 | end |
|
519 | end | |
504 | end |
|
520 | end | |
505 |
|
521 | |||
506 | context "starting marker" do |
|
522 | context "starting marker" do | |
507 | should "not appear if the starting point is off the gantt chart" do |
|
523 | should "not appear if the starting point is off the gantt chart" do | |
508 | # Shift the date range of the chart |
|
524 | # Shift the date range of the chart | |
509 | @gantt.instance_variable_set('@date_from', Date.today) |
|
525 | @gantt.instance_variable_set('@date_from', Date.today) | |
510 |
|
526 | |||
511 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
527 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
512 | assert_select "div.milestone.starting", false |
|
528 | assert_select "div.milestone.starting", false | |
513 | end |
|
529 | end | |
514 |
|
530 | |||
515 | should "appear at the starting point" do |
|
531 | should "appear at the starting point" do | |
516 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
532 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
517 | assert_select "div.milestone.starting[style*=left:52px]" |
|
533 | assert_select "div.milestone.starting[style*=left:52px]" | |
518 | end |
|
534 | end | |
519 | end |
|
535 | end | |
520 |
|
536 | |||
521 | context "ending marker" do |
|
537 | context "ending marker" do | |
522 | should "not appear if the starting point is off the gantt chart" do |
|
538 | should "not appear if the starting point is off the gantt chart" do | |
523 | # Shift the date range of the chart |
|
539 | # Shift the date range of the chart | |
524 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) |
|
540 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) | |
525 |
|
541 | |||
526 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
542 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
527 | assert_select "div.milestone.ending", false |
|
543 | assert_select "div.milestone.ending", false | |
528 |
|
544 | |||
529 | end |
|
545 | end | |
530 |
|
546 | |||
531 | should "appear at the end of the date range" do |
|
547 | should "appear at the end of the date range" do | |
532 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
548 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
533 | assert_select "div.milestone.ending[style*=left:84px]" |
|
549 | assert_select "div.milestone.ending[style*=left:84px]" | |
534 | end |
|
550 | end | |
535 | end |
|
551 | end | |
536 |
|
552 | |||
537 | context "status content" do |
|
553 | context "status content" do | |
538 | should "appear at the far left, even if it's far in the past" do |
|
554 | should "appear at the far left, even if it's far in the past" do | |
539 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) |
|
555 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) | |
540 |
|
556 | |||
541 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
557 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
542 | assert_select "div.version-name", /#{@version.name}/ |
|
558 | assert_select "div.version-name", /#{@version.name}/ | |
543 | end |
|
559 | end | |
544 |
|
560 | |||
545 | should "show the version name" do |
|
561 | should "show the version name" do | |
546 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
562 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
547 | assert_select "div.version-name", /#{@version.name}/ |
|
563 | assert_select "div.version-name", /#{@version.name}/ | |
548 | end |
|
564 | end | |
549 |
|
565 | |||
550 | should "show the percent complete" do |
|
566 | should "show the percent complete" do | |
551 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) |
|
567 | @response.body = @gantt.line_for_version(@version, {:format => :html, :zoom => 4}) | |
552 | assert_select "div.version-name", /30%/ |
|
568 | assert_select "div.version-name", /30%/ | |
553 | end |
|
569 | end | |
554 | end |
|
570 | end | |
555 | end |
|
571 | end | |
556 |
|
572 | |||
557 | should "test the PNG format" |
|
573 | should "test the PNG format" | |
558 | should "test the PDF format" |
|
574 | should "test the PDF format" | |
559 | end |
|
575 | end | |
560 |
|
576 | |||
561 | context "#subject_for_issue" do |
|
577 | context "#subject_for_issue" do | |
562 | setup do |
|
578 | setup do | |
563 | create_gantt |
|
579 | create_gantt | |
564 | @project.enabled_module_names = [:issue_tracking] |
|
580 | @project.enabled_module_names = [:issue_tracking] | |
565 | @tracker = Tracker.generate! |
|
581 | @tracker = Tracker.generate! | |
566 | @project.trackers << @tracker |
|
582 | @project.trackers << @tracker | |
567 |
|
583 | |||
568 | @issue = Issue.generate!(:subject => "gantt#subject_for_issue", |
|
584 | @issue = Issue.generate!(:subject => "gantt#subject_for_issue", | |
569 | :tracker => @tracker, |
|
585 | :tracker => @tracker, | |
570 | :project => @project, |
|
586 | :project => @project, | |
571 | :start_date => 3.days.ago.to_date, |
|
587 | :start_date => 3.days.ago.to_date, | |
572 | :due_date => Date.yesterday) |
|
588 | :due_date => Date.yesterday) | |
573 | @project.issues << @issue |
|
589 | @project.issues << @issue | |
574 |
|
590 | |||
575 | end |
|
591 | end | |
576 |
|
592 | |||
577 | context ":html format" do |
|
593 | context ":html format" do | |
578 | should "add an absolute positioned div" do |
|
594 | should "add an absolute positioned div" do | |
579 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html}) |
|
595 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html}) | |
580 | assert_select "div[style*=absolute]" |
|
596 | assert_select "div[style*=absolute]" | |
581 | end |
|
597 | end | |
582 |
|
598 | |||
583 | should "use the indent option to move the div to the right" do |
|
599 | should "use the indent option to move the div to the right" do | |
584 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html, :indent => 40}) |
|
600 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html, :indent => 40}) | |
585 | assert_select "div[style*=left:40]" |
|
601 | assert_select "div[style*=left:40]" | |
586 | end |
|
602 | end | |
587 |
|
603 | |||
588 | should "include the issue subject" do |
|
604 | should "include the issue subject" do | |
589 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html}) |
|
605 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html}) | |
590 | assert_select 'div', :text => /#{@issue.subject}/ |
|
606 | assert_select 'div', :text => /#{@issue.subject}/ | |
591 | end |
|
607 | end | |
592 |
|
608 | |||
593 | should "include a link to the issue" do |
|
609 | should "include a link to the issue" do | |
594 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html}) |
|
610 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html}) | |
595 | assert_select 'a[href=?]', Regexp.escape("/issues/#{@issue.to_param}"), :text => /#{@tracker.name} ##{@issue.id}/ |
|
611 | assert_select 'a[href=?]', Regexp.escape("/issues/#{@issue.to_param}"), :text => /#{@tracker.name} ##{@issue.id}/ | |
596 | end |
|
612 | end | |
597 |
|
613 | |||
598 | should "style overdue issues" do |
|
614 | should "style overdue issues" do | |
599 | assert @issue.overdue?, "Need an overdue issue for this test" |
|
615 | assert @issue.overdue?, "Need an overdue issue for this test" | |
600 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html}) |
|
616 | @response.body = @gantt.subject_for_issue(@issue, {:format => :html}) | |
601 |
|
617 | |||
602 | assert_select 'div span.issue-overdue' |
|
618 | assert_select 'div span.issue-overdue' | |
603 | end |
|
619 | end | |
604 |
|
620 | |||
605 | end |
|
621 | end | |
606 | should "test the PNG format" |
|
622 | should "test the PNG format" | |
607 | should "test the PDF format" |
|
623 | should "test the PDF format" | |
608 | end |
|
624 | end | |
609 |
|
625 | |||
610 | context "#line_for_issue" do |
|
626 | context "#line_for_issue" do | |
611 | setup do |
|
627 | setup do | |
612 | create_gantt |
|
628 | create_gantt | |
613 | @project.enabled_module_names = [:issue_tracking] |
|
629 | @project.enabled_module_names = [:issue_tracking] | |
614 | @tracker = Tracker.generate! |
|
630 | @tracker = Tracker.generate! | |
615 | @project.trackers << @tracker |
|
631 | @project.trackers << @tracker | |
616 | @version = Version.generate!(:effective_date => 1.week.from_now.to_date) |
|
632 | @version = Version.generate!(:effective_date => 1.week.from_now.to_date) | |
617 | @project.versions << @version |
|
633 | @project.versions << @version | |
618 | @issue = Issue.generate!(:fixed_version => @version, |
|
634 | @issue = Issue.generate!(:fixed_version => @version, | |
619 | :subject => "gantt#line_for_project", |
|
635 | :subject => "gantt#line_for_project", | |
620 | :tracker => @tracker, |
|
636 | :tracker => @tracker, | |
621 | :project => @project, |
|
637 | :project => @project, | |
622 | :done_ratio => 30, |
|
638 | :done_ratio => 30, | |
623 | :start_date => Date.yesterday, |
|
639 | :start_date => Date.yesterday, | |
624 | :due_date => 1.week.from_now.to_date) |
|
640 | :due_date => 1.week.from_now.to_date) | |
625 | @project.issues << @issue |
|
641 | @project.issues << @issue | |
626 | end |
|
642 | end | |
627 |
|
643 | |||
628 | context ":html format" do |
|
644 | context ":html format" do | |
629 | context "todo line" do |
|
645 | context "todo line" do | |
630 | should "start from the starting point on the left" do |
|
646 | should "start from the starting point on the left" do | |
631 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
647 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
632 | assert_select "div.task_todo[style*=left:52px]" |
|
648 | assert_select "div.task_todo[style*=left:52px]" | |
633 | end |
|
649 | end | |
634 |
|
650 | |||
635 | should "be the total width of the issue" do |
|
651 | should "be the total width of the issue" do | |
636 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
652 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
637 | assert_select "div.task_todo[style*=width:34px]" |
|
653 | assert_select "div.task_todo[style*=width:34px]" | |
638 | end |
|
654 | end | |
639 |
|
655 | |||
640 | end |
|
656 | end | |
641 |
|
657 | |||
642 | context "late line" do |
|
658 | context "late line" do | |
643 | should "start from the starting point on the left" do |
|
659 | should "start from the starting point on the left" do | |
644 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
660 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
645 | assert_select "div.task_late[style*=left:52px]" |
|
661 | assert_select "div.task_late[style*=left:52px]" | |
646 | end |
|
662 | end | |
647 |
|
663 | |||
648 | should "be the total delayed width of the issue" do |
|
664 | should "be the total delayed width of the issue" do | |
649 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
665 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
650 | assert_select "div.task_late[style*=width:6px]" |
|
666 | assert_select "div.task_late[style*=width:6px]" | |
651 | end |
|
667 | end | |
652 | end |
|
668 | end | |
653 |
|
669 | |||
654 | context "done line" do |
|
670 | context "done line" do | |
655 | should "start from the starting point on the left" do |
|
671 | should "start from the starting point on the left" do | |
656 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
672 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
657 | assert_select "div.task_done[style*=left:52px]" |
|
673 | assert_select "div.task_done[style*=left:52px]" | |
658 | end |
|
674 | end | |
659 |
|
675 | |||
660 | should "Be the total done width of the issue" do |
|
676 | should "Be the total done width of the issue" do | |
661 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
677 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
662 | assert_select "div.task_done[style*=left:52px]" |
|
678 | assert_select "div.task_done[style*=left:52px]" | |
663 | end |
|
679 | end | |
664 | end |
|
680 | end | |
665 |
|
681 | |||
666 | context "status content" do |
|
682 | context "status content" do | |
667 | should "appear at the far left, even if it's far in the past" do |
|
683 | should "appear at the far left, even if it's far in the past" do | |
668 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) |
|
684 | @gantt.instance_variable_set('@date_to', 2.weeks.ago.to_date) | |
669 |
|
685 | |||
670 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
686 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
671 | assert_select "div.issue-name" |
|
687 | assert_select "div.issue-name" | |
672 | end |
|
688 | end | |
673 |
|
689 | |||
674 | should "show the issue status" do |
|
690 | should "show the issue status" do | |
675 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
691 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
676 | assert_select "div.issue-name", /#{@issue.status.name}/ |
|
692 | assert_select "div.issue-name", /#{@issue.status.name}/ | |
677 | end |
|
693 | end | |
678 |
|
694 | |||
679 | should "show the percent complete" do |
|
695 | should "show the percent complete" do | |
680 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
696 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
681 | assert_select "div.issue-name", /30%/ |
|
697 | assert_select "div.issue-name", /30%/ | |
682 | end |
|
698 | end | |
683 | end |
|
699 | end | |
684 | end |
|
700 | end | |
685 |
|
701 | |||
686 | should "have an issue tooltip" do |
|
702 | should "have an issue tooltip" do | |
687 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) |
|
703 | @response.body = @gantt.line_for_issue(@issue, {:format => :html, :zoom => 4}) | |
688 | assert_select "div.tooltip", /#{@issue.subject}/ |
|
704 | assert_select "div.tooltip", /#{@issue.subject}/ | |
689 | end |
|
705 | end | |
690 |
|
706 | |||
691 | should "test the PNG format" |
|
707 | should "test the PNG format" | |
692 | should "test the PDF format" |
|
708 | should "test the PDF format" | |
693 | end |
|
709 | end | |
694 |
|
710 | |||
695 | context "#to_image" do |
|
711 | context "#to_image" do | |
696 | should "be tested" |
|
712 | should "be tested" | |
697 | end |
|
713 | end | |
698 |
|
714 | |||
699 | context "#to_pdf" do |
|
715 | context "#to_pdf" do | |
700 | should "be tested" |
|
716 | should "be tested" | |
701 | end |
|
717 | end | |
702 |
|
718 | |||
703 | end |
|
719 | end |
General Comments 0
You need to be logged in to leave comments.
Login now