@@ -1,939 +1,948 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2010 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2010 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 'forwardable' |
|
18 | require 'forwardable' | |
19 | require 'cgi' |
|
19 | require 'cgi' | |
20 |
|
20 | |||
21 | module ApplicationHelper |
|
21 | module ApplicationHelper | |
22 | include Redmine::WikiFormatting::Macros::Definitions |
|
22 | include Redmine::WikiFormatting::Macros::Definitions | |
23 | include Redmine::I18n |
|
23 | include Redmine::I18n | |
24 | include GravatarHelper::PublicMethods |
|
24 | include GravatarHelper::PublicMethods | |
25 |
|
25 | |||
26 | extend Forwardable |
|
26 | extend Forwardable | |
27 | def_delegators :wiki_helper, :wikitoolbar_for, :heads_for_wiki_formatter |
|
27 | def_delegators :wiki_helper, :wikitoolbar_for, :heads_for_wiki_formatter | |
28 |
|
28 | |||
29 | # Return true if user is authorized for controller/action, otherwise false |
|
29 | # Return true if user is authorized for controller/action, otherwise false | |
30 | def authorize_for(controller, action) |
|
30 | def authorize_for(controller, action) | |
31 | User.current.allowed_to?({:controller => controller, :action => action}, @project) |
|
31 | User.current.allowed_to?({:controller => controller, :action => action}, @project) | |
32 | end |
|
32 | end | |
33 |
|
33 | |||
34 | # Display a link if user is authorized |
|
34 | # Display a link if user is authorized | |
35 | # |
|
35 | # | |
36 | # @param [String] name Anchor text (passed to link_to) |
|
36 | # @param [String] name Anchor text (passed to link_to) | |
37 | # @param [Hash] options Hash params. This will checked by authorize_for to see if the user is authorized |
|
37 | # @param [Hash] options Hash params. This will checked by authorize_for to see if the user is authorized | |
38 | # @param [optional, Hash] html_options Options passed to link_to |
|
38 | # @param [optional, Hash] html_options Options passed to link_to | |
39 | # @param [optional, Hash] parameters_for_method_reference Extra parameters for link_to |
|
39 | # @param [optional, Hash] parameters_for_method_reference Extra parameters for link_to | |
40 | def link_to_if_authorized(name, options = {}, html_options = nil, *parameters_for_method_reference) |
|
40 | def link_to_if_authorized(name, options = {}, html_options = nil, *parameters_for_method_reference) | |
41 | link_to(name, options, html_options, *parameters_for_method_reference) if authorize_for(options[:controller] || params[:controller], options[:action]) |
|
41 | link_to(name, options, html_options, *parameters_for_method_reference) if authorize_for(options[:controller] || params[:controller], options[:action]) | |
42 | end |
|
42 | end | |
43 |
|
43 | |||
44 | # Display a link to remote if user is authorized |
|
44 | # Display a link to remote if user is authorized | |
45 | def link_to_remote_if_authorized(name, options = {}, html_options = nil) |
|
45 | def link_to_remote_if_authorized(name, options = {}, html_options = nil) | |
46 | url = options[:url] || {} |
|
46 | url = options[:url] || {} | |
47 | link_to_remote(name, options, html_options) if authorize_for(url[:controller] || params[:controller], url[:action]) |
|
47 | link_to_remote(name, options, html_options) if authorize_for(url[:controller] || params[:controller], url[:action]) | |
48 | end |
|
48 | end | |
49 |
|
49 | |||
50 | # Displays a link to user's account page if active |
|
50 | # Displays a link to user's account page if active | |
51 | def link_to_user(user, options={}) |
|
51 | def link_to_user(user, options={}) | |
52 | if user.is_a?(User) |
|
52 | if user.is_a?(User) | |
53 | name = h(user.name(options[:format])) |
|
53 | name = h(user.name(options[:format])) | |
54 | if user.active? |
|
54 | if user.active? | |
55 | link_to name, :controller => 'users', :action => 'show', :id => user |
|
55 | link_to name, :controller => 'users', :action => 'show', :id => user | |
56 | else |
|
56 | else | |
57 | name |
|
57 | name | |
58 | end |
|
58 | end | |
59 | else |
|
59 | else | |
60 | h(user.to_s) |
|
60 | h(user.to_s) | |
61 | end |
|
61 | end | |
62 | end |
|
62 | end | |
63 |
|
63 | |||
64 | # Displays a link to +issue+ with its subject. |
|
64 | # Displays a link to +issue+ with its subject. | |
65 | # Examples: |
|
65 | # Examples: | |
66 | # |
|
66 | # | |
67 | # link_to_issue(issue) # => Defect #6: This is the subject |
|
67 | # link_to_issue(issue) # => Defect #6: This is the subject | |
68 | # link_to_issue(issue, :truncate => 6) # => Defect #6: This i... |
|
68 | # link_to_issue(issue, :truncate => 6) # => Defect #6: This i... | |
69 | # link_to_issue(issue, :subject => false) # => Defect #6 |
|
69 | # link_to_issue(issue, :subject => false) # => Defect #6 | |
70 | # link_to_issue(issue, :project => true) # => Foo - Defect #6 |
|
70 | # link_to_issue(issue, :project => true) # => Foo - Defect #6 | |
71 | # |
|
71 | # | |
72 | def link_to_issue(issue, options={}) |
|
72 | def link_to_issue(issue, options={}) | |
73 | title = nil |
|
73 | title = nil | |
74 | subject = nil |
|
74 | subject = nil | |
75 | if options[:subject] == false |
|
75 | if options[:subject] == false | |
76 | title = truncate(issue.subject, :length => 60) |
|
76 | title = truncate(issue.subject, :length => 60) | |
77 | else |
|
77 | else | |
78 | subject = issue.subject |
|
78 | subject = issue.subject | |
79 | if options[:truncate] |
|
79 | if options[:truncate] | |
80 | subject = truncate(subject, :length => options[:truncate]) |
|
80 | subject = truncate(subject, :length => options[:truncate]) | |
81 | end |
|
81 | end | |
82 | end |
|
82 | end | |
83 | s = link_to "#{issue.tracker} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue}, |
|
83 | s = link_to "#{issue.tracker} ##{issue.id}", {:controller => "issues", :action => "show", :id => issue}, | |
84 | :class => issue.css_classes, |
|
84 | :class => issue.css_classes, | |
85 | :title => title |
|
85 | :title => title | |
86 | s << ": #{h subject}" if subject |
|
86 | s << ": #{h subject}" if subject | |
87 | s = "#{h issue.project} - " + s if options[:project] |
|
87 | s = "#{h issue.project} - " + s if options[:project] | |
88 | s |
|
88 | s | |
89 | end |
|
89 | end | |
90 |
|
90 | |||
91 | # Generates a link to an attachment. |
|
91 | # Generates a link to an attachment. | |
92 | # Options: |
|
92 | # Options: | |
93 | # * :text - Link text (default to attachment filename) |
|
93 | # * :text - Link text (default to attachment filename) | |
94 | # * :download - Force download (default: false) |
|
94 | # * :download - Force download (default: false) | |
95 | def link_to_attachment(attachment, options={}) |
|
95 | def link_to_attachment(attachment, options={}) | |
96 | text = options.delete(:text) || attachment.filename |
|
96 | text = options.delete(:text) || attachment.filename | |
97 | action = options.delete(:download) ? 'download' : 'show' |
|
97 | action = options.delete(:download) ? 'download' : 'show' | |
98 |
|
98 | |||
99 | link_to(h(text), {:controller => 'attachments', :action => action, :id => attachment, :filename => attachment.filename }, options) |
|
99 | link_to(h(text), {:controller => 'attachments', :action => action, :id => attachment, :filename => attachment.filename }, options) | |
100 | end |
|
100 | end | |
101 |
|
101 | |||
102 | # Generates a link to a SCM revision |
|
102 | # Generates a link to a SCM revision | |
103 | # Options: |
|
103 | # Options: | |
104 | # * :text - Link text (default to the formatted revision) |
|
104 | # * :text - Link text (default to the formatted revision) | |
105 | def link_to_revision(revision, project, options={}) |
|
105 | def link_to_revision(revision, project, options={}) | |
106 | text = options.delete(:text) || format_revision(revision) |
|
106 | text = options.delete(:text) || format_revision(revision) | |
107 | rev = revision.respond_to?(:identifier) ? revision.identifier : revision |
|
107 | rev = revision.respond_to?(:identifier) ? revision.identifier : revision | |
108 |
|
108 | |||
109 | link_to(text, {:controller => 'repositories', :action => 'revision', :id => project, :rev => rev}, |
|
109 | link_to(text, {:controller => 'repositories', :action => 'revision', :id => project, :rev => rev}, | |
110 | :title => l(:label_revision_id, format_revision(revision))) |
|
110 | :title => l(:label_revision_id, format_revision(revision))) | |
111 | end |
|
111 | end | |
112 |
|
112 | |||
113 | # Generates a link to a message |
|
113 | # Generates a link to a message | |
114 | def link_to_message(message, options={}, html_options = nil) |
|
114 | def link_to_message(message, options={}, html_options = nil) | |
115 | link_to( |
|
115 | link_to( | |
116 | h(truncate(message.subject, :length => 60)), |
|
116 | h(truncate(message.subject, :length => 60)), | |
117 | { :controller => 'messages', :action => 'show', |
|
117 | { :controller => 'messages', :action => 'show', | |
118 | :board_id => message.board_id, |
|
118 | :board_id => message.board_id, | |
119 | :id => message.root, |
|
119 | :id => message.root, | |
120 | :r => (message.parent_id && message.id), |
|
120 | :r => (message.parent_id && message.id), | |
121 | :anchor => (message.parent_id ? "message-#{message.id}" : nil) |
|
121 | :anchor => (message.parent_id ? "message-#{message.id}" : nil) | |
122 | }.merge(options), |
|
122 | }.merge(options), | |
123 | html_options |
|
123 | html_options | |
124 | ) |
|
124 | ) | |
125 | end |
|
125 | end | |
126 |
|
126 | |||
127 | # Generates a link to a project if active |
|
127 | # Generates a link to a project if active | |
128 | # Examples: |
|
128 | # Examples: | |
129 | # |
|
129 | # | |
130 | # link_to_project(project) # => link to the specified project overview |
|
130 | # link_to_project(project) # => link to the specified project overview | |
131 | # link_to_project(project, :action=>'settings') # => link to project settings |
|
131 | # link_to_project(project, :action=>'settings') # => link to project settings | |
132 | # link_to_project(project, {:only_path => false}, :class => "project") # => 3rd arg adds html options |
|
132 | # link_to_project(project, {:only_path => false}, :class => "project") # => 3rd arg adds html options | |
133 | # link_to_project(project, {}, :class => "project") # => html options with default url (project overview) |
|
133 | # link_to_project(project, {}, :class => "project") # => html options with default url (project overview) | |
134 | # |
|
134 | # | |
135 | def link_to_project(project, options={}, html_options = nil) |
|
135 | def link_to_project(project, options={}, html_options = nil) | |
136 | if project.active? |
|
136 | if project.active? | |
137 | url = {:controller => 'projects', :action => 'show', :id => project}.merge(options) |
|
137 | url = {:controller => 'projects', :action => 'show', :id => project}.merge(options) | |
138 | link_to(h(project), url, html_options) |
|
138 | link_to(h(project), url, html_options) | |
139 | else |
|
139 | else | |
140 | h(project) |
|
140 | h(project) | |
141 | end |
|
141 | end | |
142 | end |
|
142 | end | |
143 |
|
143 | |||
144 | def toggle_link(name, id, options={}) |
|
144 | def toggle_link(name, id, options={}) | |
145 | onclick = "Element.toggle('#{id}'); " |
|
145 | onclick = "Element.toggle('#{id}'); " | |
146 | onclick << (options[:focus] ? "Form.Element.focus('#{options[:focus]}'); " : "this.blur(); ") |
|
146 | onclick << (options[:focus] ? "Form.Element.focus('#{options[:focus]}'); " : "this.blur(); ") | |
147 | onclick << "return false;" |
|
147 | onclick << "return false;" | |
148 | link_to(name, "#", :onclick => onclick) |
|
148 | link_to(name, "#", :onclick => onclick) | |
149 | end |
|
149 | end | |
150 |
|
150 | |||
151 | def image_to_function(name, function, html_options = {}) |
|
151 | def image_to_function(name, function, html_options = {}) | |
152 | html_options.symbolize_keys! |
|
152 | html_options.symbolize_keys! | |
153 | tag(:input, html_options.merge({ |
|
153 | tag(:input, html_options.merge({ | |
154 | :type => "image", :src => image_path(name), |
|
154 | :type => "image", :src => image_path(name), | |
155 | :onclick => (html_options[:onclick] ? "#{html_options[:onclick]}; " : "") + "#{function};" |
|
155 | :onclick => (html_options[:onclick] ? "#{html_options[:onclick]}; " : "") + "#{function};" | |
156 | })) |
|
156 | })) | |
157 | end |
|
157 | end | |
158 |
|
158 | |||
159 | def prompt_to_remote(name, text, param, url, html_options = {}) |
|
159 | def prompt_to_remote(name, text, param, url, html_options = {}) | |
160 | html_options[:onclick] = "promptToRemote('#{text}', '#{param}', '#{url_for(url)}'); return false;" |
|
160 | html_options[:onclick] = "promptToRemote('#{text}', '#{param}', '#{url_for(url)}'); return false;" | |
161 | link_to name, {}, html_options |
|
161 | link_to name, {}, html_options | |
162 | end |
|
162 | end | |
163 |
|
163 | |||
164 | def format_activity_title(text) |
|
164 | def format_activity_title(text) | |
165 | h(truncate_single_line(text, :length => 100)) |
|
165 | h(truncate_single_line(text, :length => 100)) | |
166 | end |
|
166 | end | |
167 |
|
167 | |||
168 | def format_activity_day(date) |
|
168 | def format_activity_day(date) | |
169 | date == Date.today ? l(:label_today).titleize : format_date(date) |
|
169 | date == Date.today ? l(:label_today).titleize : format_date(date) | |
170 | end |
|
170 | end | |
171 |
|
171 | |||
172 | def format_activity_description(text) |
|
172 | def format_activity_description(text) | |
173 | h(truncate(text.to_s, :length => 120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...')).gsub(/[\r\n]+/, "<br />") |
|
173 | h(truncate(text.to_s, :length => 120).gsub(%r{[\r\n]*<(pre|code)>.*$}m, '...')).gsub(/[\r\n]+/, "<br />") | |
174 | end |
|
174 | end | |
175 |
|
175 | |||
176 | def format_version_name(version) |
|
176 | def format_version_name(version) | |
177 | if version.project == @project |
|
177 | if version.project == @project | |
178 | h(version) |
|
178 | h(version) | |
179 | else |
|
179 | else | |
180 | h("#{version.project} - #{version}") |
|
180 | h("#{version.project} - #{version}") | |
181 | end |
|
181 | end | |
182 | end |
|
182 | end | |
183 |
|
183 | |||
184 | def due_date_distance_in_words(date) |
|
184 | def due_date_distance_in_words(date) | |
185 | if date |
|
185 | if date | |
186 | l((date < Date.today ? :label_roadmap_overdue : :label_roadmap_due_in), distance_of_date_in_words(Date.today, date)) |
|
186 | l((date < Date.today ? :label_roadmap_overdue : :label_roadmap_due_in), distance_of_date_in_words(Date.today, date)) | |
187 | end |
|
187 | end | |
188 | end |
|
188 | end | |
189 |
|
189 | |||
190 | def render_page_hierarchy(pages, node=nil) |
|
190 | def render_page_hierarchy(pages, node=nil) | |
191 | content = '' |
|
191 | content = '' | |
192 | if pages[node] |
|
192 | if pages[node] | |
193 | content << "<ul class=\"pages-hierarchy\">\n" |
|
193 | content << "<ul class=\"pages-hierarchy\">\n" | |
194 | pages[node].each do |page| |
|
194 | pages[node].each do |page| | |
195 | content << "<li>" |
|
195 | content << "<li>" | |
196 | content << link_to(h(page.pretty_title), {:controller => 'wiki', :action => 'show', :project_id => page.project, :id => page.title}, |
|
196 | content << link_to(h(page.pretty_title), {:controller => 'wiki', :action => 'show', :project_id => page.project, :id => page.title}, | |
197 | :title => (page.respond_to?(:updated_on) ? l(:label_updated_time, distance_of_time_in_words(Time.now, page.updated_on)) : nil)) |
|
197 | :title => (page.respond_to?(:updated_on) ? l(:label_updated_time, distance_of_time_in_words(Time.now, page.updated_on)) : nil)) | |
198 | content << "\n" + render_page_hierarchy(pages, page.id) if pages[page.id] |
|
198 | content << "\n" + render_page_hierarchy(pages, page.id) if pages[page.id] | |
199 | content << "</li>\n" |
|
199 | content << "</li>\n" | |
200 | end |
|
200 | end | |
201 | content << "</ul>\n" |
|
201 | content << "</ul>\n" | |
202 | end |
|
202 | end | |
203 | content |
|
203 | content | |
204 | end |
|
204 | end | |
205 |
|
205 | |||
206 | # Renders flash messages |
|
206 | # Renders flash messages | |
207 | def render_flash_messages |
|
207 | def render_flash_messages | |
208 | s = '' |
|
208 | s = '' | |
209 | flash.each do |k,v| |
|
209 | flash.each do |k,v| | |
210 | s << content_tag('div', v, :class => "flash #{k}") |
|
210 | s << content_tag('div', v, :class => "flash #{k}") | |
211 | end |
|
211 | end | |
212 | s |
|
212 | s | |
213 | end |
|
213 | end | |
214 |
|
214 | |||
215 | # Renders tabs and their content |
|
215 | # Renders tabs and their content | |
216 | def render_tabs(tabs) |
|
216 | def render_tabs(tabs) | |
217 | if tabs.any? |
|
217 | if tabs.any? | |
218 | render :partial => 'common/tabs', :locals => {:tabs => tabs} |
|
218 | render :partial => 'common/tabs', :locals => {:tabs => tabs} | |
219 | else |
|
219 | else | |
220 | content_tag 'p', l(:label_no_data), :class => "nodata" |
|
220 | content_tag 'p', l(:label_no_data), :class => "nodata" | |
221 | end |
|
221 | end | |
222 | end |
|
222 | end | |
223 |
|
223 | |||
224 | # Renders the project quick-jump box |
|
224 | # Renders the project quick-jump box | |
225 | def render_project_jump_box |
|
225 | def render_project_jump_box | |
226 | # Retrieve them now to avoid a COUNT query |
|
226 | # Retrieve them now to avoid a COUNT query | |
227 | projects = User.current.projects.all |
|
227 | projects = User.current.projects.all | |
228 | if projects.any? |
|
228 | if projects.any? | |
229 | s = '<select onchange="if (this.value != \'\') { window.location = this.value; }">' + |
|
229 | s = '<select onchange="if (this.value != \'\') { window.location = this.value; }">' + | |
230 | "<option value=''>#{ l(:label_jump_to_a_project) }</option>" + |
|
230 | "<option value=''>#{ l(:label_jump_to_a_project) }</option>" + | |
231 | '<option value="" disabled="disabled">---</option>' |
|
231 | '<option value="" disabled="disabled">---</option>' | |
232 | s << project_tree_options_for_select(projects, :selected => @project) do |p| |
|
232 | s << project_tree_options_for_select(projects, :selected => @project) do |p| | |
233 | { :value => url_for(:controller => 'projects', :action => 'show', :id => p, :jump => current_menu_item) } |
|
233 | { :value => url_for(:controller => 'projects', :action => 'show', :id => p, :jump => current_menu_item) } | |
234 | end |
|
234 | end | |
235 | s << '</select>' |
|
235 | s << '</select>' | |
236 | s |
|
236 | s | |
237 | end |
|
237 | end | |
238 | end |
|
238 | end | |
239 |
|
239 | |||
240 | def project_tree_options_for_select(projects, options = {}) |
|
240 | def project_tree_options_for_select(projects, options = {}) | |
241 | s = '' |
|
241 | s = '' | |
242 | project_tree(projects) do |project, level| |
|
242 | project_tree(projects) do |project, level| | |
243 | name_prefix = (level > 0 ? (' ' * 2 * level + '» ') : '') |
|
243 | name_prefix = (level > 0 ? (' ' * 2 * level + '» ') : '') | |
244 | tag_options = {:value => project.id} |
|
244 | tag_options = {:value => project.id} | |
245 | if project == options[:selected] || (options[:selected].respond_to?(:include?) && options[:selected].include?(project)) |
|
245 | if project == options[:selected] || (options[:selected].respond_to?(:include?) && options[:selected].include?(project)) | |
246 | tag_options[:selected] = 'selected' |
|
246 | tag_options[:selected] = 'selected' | |
247 | else |
|
247 | else | |
248 | tag_options[:selected] = nil |
|
248 | tag_options[:selected] = nil | |
249 | end |
|
249 | end | |
250 | tag_options.merge!(yield(project)) if block_given? |
|
250 | tag_options.merge!(yield(project)) if block_given? | |
251 | s << content_tag('option', name_prefix + h(project), tag_options) |
|
251 | s << content_tag('option', name_prefix + h(project), tag_options) | |
252 | end |
|
252 | end | |
253 | s |
|
253 | s | |
254 | end |
|
254 | end | |
255 |
|
255 | |||
256 | # Yields the given block for each project with its level in the tree |
|
256 | # Yields the given block for each project with its level in the tree | |
257 | # |
|
257 | # | |
258 | # Wrapper for Project#project_tree |
|
258 | # Wrapper for Project#project_tree | |
259 | def project_tree(projects, &block) |
|
259 | def project_tree(projects, &block) | |
260 | Project.project_tree(projects, &block) |
|
260 | Project.project_tree(projects, &block) | |
261 | end |
|
261 | end | |
262 |
|
262 | |||
263 | def project_nested_ul(projects, &block) |
|
263 | def project_nested_ul(projects, &block) | |
264 | s = '' |
|
264 | s = '' | |
265 | if projects.any? |
|
265 | if projects.any? | |
266 | ancestors = [] |
|
266 | ancestors = [] | |
267 | projects.sort_by(&:lft).each do |project| |
|
267 | projects.sort_by(&:lft).each do |project| | |
268 | if (ancestors.empty? || project.is_descendant_of?(ancestors.last)) |
|
268 | if (ancestors.empty? || project.is_descendant_of?(ancestors.last)) | |
269 | s << "<ul>\n" |
|
269 | s << "<ul>\n" | |
270 | else |
|
270 | else | |
271 | ancestors.pop |
|
271 | ancestors.pop | |
272 | s << "</li>" |
|
272 | s << "</li>" | |
273 | while (ancestors.any? && !project.is_descendant_of?(ancestors.last)) |
|
273 | while (ancestors.any? && !project.is_descendant_of?(ancestors.last)) | |
274 | ancestors.pop |
|
274 | ancestors.pop | |
275 | s << "</ul></li>\n" |
|
275 | s << "</ul></li>\n" | |
276 | end |
|
276 | end | |
277 | end |
|
277 | end | |
278 | s << "<li>" |
|
278 | s << "<li>" | |
279 | s << yield(project).to_s |
|
279 | s << yield(project).to_s | |
280 | ancestors << project |
|
280 | ancestors << project | |
281 | end |
|
281 | end | |
282 | s << ("</li></ul>\n" * ancestors.size) |
|
282 | s << ("</li></ul>\n" * ancestors.size) | |
283 | end |
|
283 | end | |
284 | s |
|
284 | s | |
285 | end |
|
285 | end | |
286 |
|
286 | |||
287 | def principals_check_box_tags(name, principals) |
|
287 | def principals_check_box_tags(name, principals) | |
288 | s = '' |
|
288 | s = '' | |
289 | principals.sort.each do |principal| |
|
289 | principals.sort.each do |principal| | |
290 | s << "<label>#{ check_box_tag name, principal.id, false } #{h principal}</label>\n" |
|
290 | s << "<label>#{ check_box_tag name, principal.id, false } #{h principal}</label>\n" | |
291 | end |
|
291 | end | |
292 | s |
|
292 | s | |
293 | end |
|
293 | end | |
294 |
|
294 | |||
295 | # Truncates and returns the string as a single line |
|
295 | # Truncates and returns the string as a single line | |
296 | def truncate_single_line(string, *args) |
|
296 | def truncate_single_line(string, *args) | |
297 | truncate(string.to_s, *args).gsub(%r{[\r\n]+}m, ' ') |
|
297 | truncate(string.to_s, *args).gsub(%r{[\r\n]+}m, ' ') | |
298 | end |
|
298 | end | |
299 |
|
299 | |||
300 | # Truncates at line break after 250 characters or options[:length] |
|
300 | # Truncates at line break after 250 characters or options[:length] | |
301 | def truncate_lines(string, options={}) |
|
301 | def truncate_lines(string, options={}) | |
302 | length = options[:length] || 250 |
|
302 | length = options[:length] || 250 | |
303 | if string.to_s =~ /\A(.{#{length}}.*?)$/m |
|
303 | if string.to_s =~ /\A(.{#{length}}.*?)$/m | |
304 | "#{$1}..." |
|
304 | "#{$1}..." | |
305 | else |
|
305 | else | |
306 | string |
|
306 | string | |
307 | end |
|
307 | end | |
308 | end |
|
308 | end | |
309 |
|
309 | |||
310 | def html_hours(text) |
|
310 | def html_hours(text) | |
311 | text.gsub(%r{(\d+)\.(\d+)}, '<span class="hours hours-int">\1</span><span class="hours hours-dec">.\2</span>') |
|
311 | text.gsub(%r{(\d+)\.(\d+)}, '<span class="hours hours-int">\1</span><span class="hours hours-dec">.\2</span>') | |
312 | end |
|
312 | end | |
313 |
|
313 | |||
314 | def authoring(created, author, options={}) |
|
314 | def authoring(created, author, options={}) | |
315 | l(options[:label] || :label_added_time_by, :author => link_to_user(author), :age => time_tag(created)) |
|
315 | l(options[:label] || :label_added_time_by, :author => link_to_user(author), :age => time_tag(created)) | |
316 | end |
|
316 | end | |
317 |
|
317 | |||
318 | def time_tag(time) |
|
318 | def time_tag(time) | |
319 | text = distance_of_time_in_words(Time.now, time) |
|
319 | text = distance_of_time_in_words(Time.now, time) | |
320 | if @project |
|
320 | if @project | |
321 | link_to(text, {:controller => 'activities', :action => 'index', :id => @project, :from => time.to_date}, :title => format_time(time)) |
|
321 | link_to(text, {:controller => 'activities', :action => 'index', :id => @project, :from => time.to_date}, :title => format_time(time)) | |
322 | else |
|
322 | else | |
323 | content_tag('acronym', text, :title => format_time(time)) |
|
323 | content_tag('acronym', text, :title => format_time(time)) | |
324 | end |
|
324 | end | |
325 | end |
|
325 | end | |
326 |
|
326 | |||
327 | def syntax_highlight(name, content) |
|
327 | def syntax_highlight(name, content) | |
328 | Redmine::SyntaxHighlighting.highlight_by_filename(content, name) |
|
328 | Redmine::SyntaxHighlighting.highlight_by_filename(content, name) | |
329 | end |
|
329 | end | |
330 |
|
330 | |||
331 | def to_path_param(path) |
|
331 | def to_path_param(path) | |
332 | path.to_s.split(%r{[/\\]}).select {|p| !p.blank?} |
|
332 | path.to_s.split(%r{[/\\]}).select {|p| !p.blank?} | |
333 | end |
|
333 | end | |
334 |
|
334 | |||
335 | def pagination_links_full(paginator, count=nil, options={}) |
|
335 | def pagination_links_full(paginator, count=nil, options={}) | |
336 | page_param = options.delete(:page_param) || :page |
|
336 | page_param = options.delete(:page_param) || :page | |
337 | per_page_links = options.delete(:per_page_links) |
|
337 | per_page_links = options.delete(:per_page_links) | |
338 | url_param = params.dup |
|
338 | url_param = params.dup | |
339 | # don't reuse query params if filters are present |
|
339 | # don't reuse query params if filters are present | |
340 | url_param.merge!(:fields => nil, :values => nil, :operators => nil) if url_param.delete(:set_filter) |
|
340 | url_param.merge!(:fields => nil, :values => nil, :operators => nil) if url_param.delete(:set_filter) | |
341 |
|
341 | |||
342 | html = '' |
|
342 | html = '' | |
343 | if paginator.current.previous |
|
343 | if paginator.current.previous | |
344 | html << link_to_remote_content_update('« ' + l(:label_previous), url_param.merge(page_param => paginator.current.previous)) + ' ' |
|
344 | html << link_to_remote_content_update('« ' + l(:label_previous), url_param.merge(page_param => paginator.current.previous)) + ' ' | |
345 | end |
|
345 | end | |
346 |
|
346 | |||
347 | html << (pagination_links_each(paginator, options) do |n| |
|
347 | html << (pagination_links_each(paginator, options) do |n| | |
348 | link_to_remote_content_update(n.to_s, url_param.merge(page_param => n)) |
|
348 | link_to_remote_content_update(n.to_s, url_param.merge(page_param => n)) | |
349 | end || '') |
|
349 | end || '') | |
350 |
|
350 | |||
351 | if paginator.current.next |
|
351 | if paginator.current.next | |
352 | html << ' ' + link_to_remote_content_update((l(:label_next) + ' »'), url_param.merge(page_param => paginator.current.next)) |
|
352 | html << ' ' + link_to_remote_content_update((l(:label_next) + ' »'), url_param.merge(page_param => paginator.current.next)) | |
353 | end |
|
353 | end | |
354 |
|
354 | |||
355 | unless count.nil? |
|
355 | unless count.nil? | |
356 | html << " (#{paginator.current.first_item}-#{paginator.current.last_item}/#{count})" |
|
356 | html << " (#{paginator.current.first_item}-#{paginator.current.last_item}/#{count})" | |
357 | if per_page_links != false && links = per_page_links(paginator.items_per_page) |
|
357 | if per_page_links != false && links = per_page_links(paginator.items_per_page) | |
358 | html << " | #{links}" |
|
358 | html << " | #{links}" | |
359 | end |
|
359 | end | |
360 | end |
|
360 | end | |
361 |
|
361 | |||
362 | html |
|
362 | html | |
363 | end |
|
363 | end | |
364 |
|
364 | |||
365 | def per_page_links(selected=nil) |
|
365 | def per_page_links(selected=nil) | |
366 | url_param = params.dup |
|
366 | url_param = params.dup | |
367 | url_param.clear if url_param.has_key?(:set_filter) |
|
367 | url_param.clear if url_param.has_key?(:set_filter) | |
368 |
|
368 | |||
369 | links = Setting.per_page_options_array.collect do |n| |
|
369 | links = Setting.per_page_options_array.collect do |n| | |
370 | n == selected ? n : link_to_remote(n, {:update => "content", |
|
370 | n == selected ? n : link_to_remote(n, {:update => "content", | |
371 | :url => params.dup.merge(:per_page => n), |
|
371 | :url => params.dup.merge(:per_page => n), | |
372 | :method => :get}, |
|
372 | :method => :get}, | |
373 | {:href => url_for(url_param.merge(:per_page => n))}) |
|
373 | {:href => url_for(url_param.merge(:per_page => n))}) | |
374 | end |
|
374 | end | |
375 | links.size > 1 ? l(:label_display_per_page, links.join(', ')) : nil |
|
375 | links.size > 1 ? l(:label_display_per_page, links.join(', ')) : nil | |
376 | end |
|
376 | end | |
377 |
|
377 | |||
378 | def reorder_links(name, url) |
|
378 | def reorder_links(name, url) | |
379 | link_to(image_tag('2uparrow.png', :alt => l(:label_sort_highest)), url.merge({"#{name}[move_to]" => 'highest'}), :method => :post, :title => l(:label_sort_highest)) + |
|
379 | link_to(image_tag('2uparrow.png', :alt => l(:label_sort_highest)), url.merge({"#{name}[move_to]" => 'highest'}), :method => :post, :title => l(:label_sort_highest)) + | |
380 | link_to(image_tag('1uparrow.png', :alt => l(:label_sort_higher)), url.merge({"#{name}[move_to]" => 'higher'}), :method => :post, :title => l(:label_sort_higher)) + |
|
380 | link_to(image_tag('1uparrow.png', :alt => l(:label_sort_higher)), url.merge({"#{name}[move_to]" => 'higher'}), :method => :post, :title => l(:label_sort_higher)) + | |
381 | link_to(image_tag('1downarrow.png', :alt => l(:label_sort_lower)), url.merge({"#{name}[move_to]" => 'lower'}), :method => :post, :title => l(:label_sort_lower)) + |
|
381 | link_to(image_tag('1downarrow.png', :alt => l(:label_sort_lower)), url.merge({"#{name}[move_to]" => 'lower'}), :method => :post, :title => l(:label_sort_lower)) + | |
382 | link_to(image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), url.merge({"#{name}[move_to]" => 'lowest'}), :method => :post, :title => l(:label_sort_lowest)) |
|
382 | link_to(image_tag('2downarrow.png', :alt => l(:label_sort_lowest)), url.merge({"#{name}[move_to]" => 'lowest'}), :method => :post, :title => l(:label_sort_lowest)) | |
383 | end |
|
383 | end | |
384 |
|
384 | |||
385 | def breadcrumb(*args) |
|
385 | def breadcrumb(*args) | |
386 | elements = args.flatten |
|
386 | elements = args.flatten | |
387 | elements.any? ? content_tag('p', args.join(' » ') + ' » ', :class => 'breadcrumb') : nil |
|
387 | elements.any? ? content_tag('p', args.join(' » ') + ' » ', :class => 'breadcrumb') : nil | |
388 | end |
|
388 | end | |
389 |
|
389 | |||
390 | def other_formats_links(&block) |
|
390 | def other_formats_links(&block) | |
391 | concat('<p class="other-formats">' + l(:label_export_to)) |
|
391 | concat('<p class="other-formats">' + l(:label_export_to)) | |
392 | yield Redmine::Views::OtherFormatsBuilder.new(self) |
|
392 | yield Redmine::Views::OtherFormatsBuilder.new(self) | |
393 | concat('</p>') |
|
393 | concat('</p>') | |
394 | end |
|
394 | end | |
395 |
|
395 | |||
396 | def page_header_title |
|
396 | def page_header_title | |
397 | if @project.nil? || @project.new_record? |
|
397 | if @project.nil? || @project.new_record? | |
398 | h(Setting.app_title) |
|
398 | h(Setting.app_title) | |
399 | else |
|
399 | else | |
400 | b = [] |
|
400 | b = [] | |
401 | ancestors = (@project.root? ? [] : @project.ancestors.visible) |
|
401 | ancestors = (@project.root? ? [] : @project.ancestors.visible) | |
402 | if ancestors.any? |
|
402 | if ancestors.any? | |
403 | root = ancestors.shift |
|
403 | root = ancestors.shift | |
404 | b << link_to_project(root, {:jump => current_menu_item}, :class => 'root') |
|
404 | b << link_to_project(root, {:jump => current_menu_item}, :class => 'root') | |
405 | if ancestors.size > 2 |
|
405 | if ancestors.size > 2 | |
406 | b << '…' |
|
406 | b << '…' | |
407 | ancestors = ancestors[-2, 2] |
|
407 | ancestors = ancestors[-2, 2] | |
408 | end |
|
408 | end | |
409 | b += ancestors.collect {|p| link_to_project(p, {:jump => current_menu_item}, :class => 'ancestor') } |
|
409 | b += ancestors.collect {|p| link_to_project(p, {:jump => current_menu_item}, :class => 'ancestor') } | |
410 | end |
|
410 | end | |
411 | b << h(@project) |
|
411 | b << h(@project) | |
412 | b.join(' » ') |
|
412 | b.join(' » ') | |
413 | end |
|
413 | end | |
414 | end |
|
414 | end | |
415 |
|
415 | |||
416 | def html_title(*args) |
|
416 | def html_title(*args) | |
417 | if args.empty? |
|
417 | if args.empty? | |
418 | title = [] |
|
418 | title = [] | |
419 | title << @project.name if @project |
|
419 | title << @project.name if @project | |
420 | title += @html_title if @html_title |
|
420 | title += @html_title if @html_title | |
421 | title << Setting.app_title |
|
421 | title << Setting.app_title | |
422 | title.select {|t| !t.blank? }.join(' - ') |
|
422 | title.select {|t| !t.blank? }.join(' - ') | |
423 | else |
|
423 | else | |
424 | @html_title ||= [] |
|
424 | @html_title ||= [] | |
425 | @html_title += args |
|
425 | @html_title += args | |
426 | end |
|
426 | end | |
427 | end |
|
427 | end | |
428 |
|
428 | |||
429 | # Returns the theme, controller name, and action as css classes for the |
|
429 | # Returns the theme, controller name, and action as css classes for the | |
430 | # HTML body. |
|
430 | # HTML body. | |
431 | def body_css_classes |
|
431 | def body_css_classes | |
432 | css = [] |
|
432 | css = [] | |
433 | if theme = Redmine::Themes.theme(Setting.ui_theme) |
|
433 | if theme = Redmine::Themes.theme(Setting.ui_theme) | |
434 | css << 'theme-' + theme.name |
|
434 | css << 'theme-' + theme.name | |
435 | end |
|
435 | end | |
436 |
|
436 | |||
437 | css << 'controller-' + params[:controller] |
|
437 | css << 'controller-' + params[:controller] | |
438 | css << 'action-' + params[:action] |
|
438 | css << 'action-' + params[:action] | |
439 | css.join(' ') |
|
439 | css.join(' ') | |
440 | end |
|
440 | end | |
441 |
|
441 | |||
442 | def accesskey(s) |
|
442 | def accesskey(s) | |
443 | Redmine::AccessKeys.key_for s |
|
443 | Redmine::AccessKeys.key_for s | |
444 | end |
|
444 | end | |
445 |
|
445 | |||
446 | # Formats text according to system settings. |
|
446 | # Formats text according to system settings. | |
447 | # 2 ways to call this method: |
|
447 | # 2 ways to call this method: | |
448 | # * with a String: textilizable(text, options) |
|
448 | # * with a String: textilizable(text, options) | |
449 | # * with an object and one of its attribute: textilizable(issue, :description, options) |
|
449 | # * with an object and one of its attribute: textilizable(issue, :description, options) | |
450 | def textilizable(*args) |
|
450 | def textilizable(*args) | |
451 | options = args.last.is_a?(Hash) ? args.pop : {} |
|
451 | options = args.last.is_a?(Hash) ? args.pop : {} | |
452 | case args.size |
|
452 | case args.size | |
453 | when 1 |
|
453 | when 1 | |
454 | obj = options[:object] |
|
454 | obj = options[:object] | |
455 | text = args.shift |
|
455 | text = args.shift | |
456 | when 2 |
|
456 | when 2 | |
457 | obj = args.shift |
|
457 | obj = args.shift | |
458 | attr = args.shift |
|
458 | attr = args.shift | |
459 | text = obj.send(attr).to_s |
|
459 | text = obj.send(attr).to_s | |
460 | else |
|
460 | else | |
461 | raise ArgumentError, 'invalid arguments to textilizable' |
|
461 | raise ArgumentError, 'invalid arguments to textilizable' | |
462 | end |
|
462 | end | |
463 | return '' if text.blank? |
|
463 | return '' if text.blank? | |
464 | project = options[:project] || @project || (obj && obj.respond_to?(:project) ? obj.project : nil) |
|
464 | project = options[:project] || @project || (obj && obj.respond_to?(:project) ? obj.project : nil) | |
465 | only_path = options.delete(:only_path) == false ? false : true |
|
465 | only_path = options.delete(:only_path) == false ? false : true | |
466 |
|
466 | |||
467 | text = Redmine::WikiFormatting.to_html(Setting.text_formatting, text, :object => obj, :attribute => attr) { |macro, args| exec_macro(macro, obj, args) } |
|
467 | text = Redmine::WikiFormatting.to_html(Setting.text_formatting, text, :object => obj, :attribute => attr) { |macro, args| exec_macro(macro, obj, args) } | |
468 |
|
468 | |||
469 | @parsed_headings = [] |
|
469 | @parsed_headings = [] | |
470 | text = parse_non_pre_blocks(text) do |text| |
|
470 | text = parse_non_pre_blocks(text) do |text| | |
471 | [:parse_inline_attachments, :parse_wiki_links, :parse_redmine_links, :parse_headings].each do |method_name| |
|
471 | [:parse_inline_attachments, :parse_wiki_links, :parse_redmine_links, :parse_headings].each do |method_name| | |
472 | send method_name, text, project, obj, attr, only_path, options |
|
472 | send method_name, text, project, obj, attr, only_path, options | |
473 | end |
|
473 | end | |
474 | end |
|
474 | end | |
475 |
|
475 | |||
476 | if @parsed_headings.any? |
|
476 | if @parsed_headings.any? | |
477 | replace_toc(text, @parsed_headings) |
|
477 | replace_toc(text, @parsed_headings) | |
478 | end |
|
478 | end | |
479 |
|
479 | |||
480 | text |
|
480 | text | |
481 | end |
|
481 | end | |
482 |
|
482 | |||
483 | def parse_non_pre_blocks(text) |
|
483 | def parse_non_pre_blocks(text) | |
484 | s = StringScanner.new(text) |
|
484 | s = StringScanner.new(text) | |
485 | tags = [] |
|
485 | tags = [] | |
486 | parsed = '' |
|
486 | parsed = '' | |
487 | while !s.eos? |
|
487 | while !s.eos? | |
488 | s.scan(/(.*?)(<(\/)?(pre|code)(.*?)>|\z)/im) |
|
488 | s.scan(/(.*?)(<(\/)?(pre|code)(.*?)>|\z)/im) | |
489 | text, full_tag, closing, tag = s[1], s[2], s[3], s[4] |
|
489 | text, full_tag, closing, tag = s[1], s[2], s[3], s[4] | |
490 | if tags.empty? |
|
490 | if tags.empty? | |
491 | yield text |
|
491 | yield text | |
492 | end |
|
492 | end | |
493 | parsed << text |
|
493 | parsed << text | |
494 | if tag |
|
494 | if tag | |
495 | if closing |
|
495 | if closing | |
496 | if tags.last == tag.downcase |
|
496 | if tags.last == tag.downcase | |
497 | tags.pop |
|
497 | tags.pop | |
498 | end |
|
498 | end | |
499 | else |
|
499 | else | |
500 | tags << tag.downcase |
|
500 | tags << tag.downcase | |
501 | end |
|
501 | end | |
502 | parsed << full_tag |
|
502 | parsed << full_tag | |
503 | end |
|
503 | end | |
504 | end |
|
504 | end | |
505 | # Close any non closing tags |
|
505 | # Close any non closing tags | |
506 | while tag = tags.pop |
|
506 | while tag = tags.pop | |
507 | parsed << "</#{tag}>" |
|
507 | parsed << "</#{tag}>" | |
508 | end |
|
508 | end | |
509 | parsed |
|
509 | parsed | |
510 | end |
|
510 | end | |
511 |
|
511 | |||
512 | def parse_inline_attachments(text, project, obj, attr, only_path, options) |
|
512 | def parse_inline_attachments(text, project, obj, attr, only_path, options) | |
513 | # when using an image link, try to use an attachment, if possible |
|
513 | # when using an image link, try to use an attachment, if possible | |
514 | if options[:attachments] || (obj && obj.respond_to?(:attachments)) |
|
514 | if options[:attachments] || (obj && obj.respond_to?(:attachments)) | |
515 | attachments = nil |
|
515 | attachments = nil | |
516 | text.gsub!(/src="([^\/"]+\.(bmp|gif|jpg|jpeg|png))"(\s+alt="([^"]*)")?/i) do |m| |
|
516 | text.gsub!(/src="([^\/"]+\.(bmp|gif|jpg|jpeg|png))"(\s+alt="([^"]*)")?/i) do |m| | |
517 | filename, ext, alt, alttext = $1.downcase, $2, $3, $4 |
|
517 | filename, ext, alt, alttext = $1.downcase, $2, $3, $4 | |
518 | attachments ||= (options[:attachments] || obj.attachments).sort_by(&:created_on).reverse |
|
518 | attachments ||= (options[:attachments] || obj.attachments).sort_by(&:created_on).reverse | |
519 | # search for the picture in attachments |
|
519 | # search for the picture in attachments | |
520 | if found = attachments.detect { |att| att.filename.downcase == filename } |
|
520 | if found = attachments.detect { |att| att.filename.downcase == filename } | |
521 | image_url = url_for :only_path => only_path, :controller => 'attachments', :action => 'download', :id => found |
|
521 | image_url = url_for :only_path => only_path, :controller => 'attachments', :action => 'download', :id => found | |
522 | desc = found.description.to_s.gsub('"', '') |
|
522 | desc = found.description.to_s.gsub('"', '') | |
523 | if !desc.blank? && alttext.blank? |
|
523 | if !desc.blank? && alttext.blank? | |
524 | alt = " title=\"#{desc}\" alt=\"#{desc}\"" |
|
524 | alt = " title=\"#{desc}\" alt=\"#{desc}\"" | |
525 | end |
|
525 | end | |
526 | "src=\"#{image_url}\"#{alt}" |
|
526 | "src=\"#{image_url}\"#{alt}" | |
527 | else |
|
527 | else | |
528 | m |
|
528 | m | |
529 | end |
|
529 | end | |
530 | end |
|
530 | end | |
531 | end |
|
531 | end | |
532 | end |
|
532 | end | |
533 |
|
533 | |||
534 | # Wiki links |
|
534 | # Wiki links | |
535 | # |
|
535 | # | |
536 | # Examples: |
|
536 | # Examples: | |
537 | # [[mypage]] |
|
537 | # [[mypage]] | |
538 | # [[mypage|mytext]] |
|
538 | # [[mypage|mytext]] | |
539 | # wiki links can refer other project wikis, using project name or identifier: |
|
539 | # wiki links can refer other project wikis, using project name or identifier: | |
540 | # [[project:]] -> wiki starting page |
|
540 | # [[project:]] -> wiki starting page | |
541 | # [[project:|mytext]] |
|
541 | # [[project:|mytext]] | |
542 | # [[project:mypage]] |
|
542 | # [[project:mypage]] | |
543 | # [[project:mypage|mytext]] |
|
543 | # [[project:mypage|mytext]] | |
544 | def parse_wiki_links(text, project, obj, attr, only_path, options) |
|
544 | def parse_wiki_links(text, project, obj, attr, only_path, options) | |
545 | text.gsub!(/(!)?(\[\[([^\]\n\|]+)(\|([^\]\n\|]+))?\]\])/) do |m| |
|
545 | text.gsub!(/(!)?(\[\[([^\]\n\|]+)(\|([^\]\n\|]+))?\]\])/) do |m| | |
546 | link_project = project |
|
546 | link_project = project | |
547 | esc, all, page, title = $1, $2, $3, $5 |
|
547 | esc, all, page, title = $1, $2, $3, $5 | |
548 | if esc.nil? |
|
548 | if esc.nil? | |
549 | if page =~ /^([^\:]+)\:(.*)$/ |
|
549 | if page =~ /^([^\:]+)\:(.*)$/ | |
550 | link_project = Project.find_by_identifier($1) || Project.find_by_name($1) |
|
550 | link_project = Project.find_by_identifier($1) || Project.find_by_name($1) | |
551 | page = $2 |
|
551 | page = $2 | |
552 | title ||= $1 if page.blank? |
|
552 | title ||= $1 if page.blank? | |
553 | end |
|
553 | end | |
554 |
|
554 | |||
555 | if link_project && link_project.wiki |
|
555 | if link_project && link_project.wiki | |
556 | # extract anchor |
|
556 | # extract anchor | |
557 | anchor = nil |
|
557 | anchor = nil | |
558 | if page =~ /^(.+?)\#(.+)$/ |
|
558 | if page =~ /^(.+?)\#(.+)$/ | |
559 | page, anchor = $1, $2 |
|
559 | page, anchor = $1, $2 | |
560 | end |
|
560 | end | |
561 | # check if page exists |
|
561 | # check if page exists | |
562 | wiki_page = link_project.wiki.find_page(page) |
|
562 | wiki_page = link_project.wiki.find_page(page) | |
563 | url = case options[:wiki_links] |
|
563 | url = case options[:wiki_links] | |
564 | when :local; "#{title}.html" |
|
564 | when :local; "#{title}.html" | |
565 | when :anchor; "##{title}" # used for single-file wiki export |
|
565 | when :anchor; "##{title}" # used for single-file wiki export | |
566 | else |
|
566 | else | |
567 | wiki_page_id = page.present? ? Wiki.titleize(page) : nil |
|
567 | wiki_page_id = page.present? ? Wiki.titleize(page) : nil | |
568 | url_for(:only_path => only_path, :controller => 'wiki', :action => 'show', :project_id => link_project, :id => wiki_page_id, :anchor => anchor) |
|
568 | url_for(:only_path => only_path, :controller => 'wiki', :action => 'show', :project_id => link_project, :id => wiki_page_id, :anchor => anchor) | |
569 | end |
|
569 | end | |
570 | link_to((title || page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new'))) |
|
570 | link_to((title || page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new'))) | |
571 | else |
|
571 | else | |
572 | # project or wiki doesn't exist |
|
572 | # project or wiki doesn't exist | |
573 | all |
|
573 | all | |
574 | end |
|
574 | end | |
575 | else |
|
575 | else | |
576 | all |
|
576 | all | |
577 | end |
|
577 | end | |
578 | end |
|
578 | end | |
579 | end |
|
579 | end | |
580 |
|
580 | |||
581 | # Redmine links |
|
581 | # Redmine links | |
582 | # |
|
582 | # | |
583 | # Examples: |
|
583 | # Examples: | |
584 | # Issues: |
|
584 | # Issues: | |
585 | # #52 -> Link to issue #52 |
|
585 | # #52 -> Link to issue #52 | |
586 | # Changesets: |
|
586 | # Changesets: | |
587 | # r52 -> Link to revision 52 |
|
587 | # r52 -> Link to revision 52 | |
588 | # commit:a85130f -> Link to scmid starting with a85130f |
|
588 | # commit:a85130f -> Link to scmid starting with a85130f | |
589 | # Documents: |
|
589 | # Documents: | |
590 | # document#17 -> Link to document with id 17 |
|
590 | # document#17 -> Link to document with id 17 | |
591 | # document:Greetings -> Link to the document with title "Greetings" |
|
591 | # document:Greetings -> Link to the document with title "Greetings" | |
592 | # document:"Some document" -> Link to the document with title "Some document" |
|
592 | # document:"Some document" -> Link to the document with title "Some document" | |
593 | # Versions: |
|
593 | # Versions: | |
594 | # version#3 -> Link to version with id 3 |
|
594 | # version#3 -> Link to version with id 3 | |
595 | # version:1.0.0 -> Link to version named "1.0.0" |
|
595 | # version:1.0.0 -> Link to version named "1.0.0" | |
596 | # version:"1.0 beta 2" -> Link to version named "1.0 beta 2" |
|
596 | # version:"1.0 beta 2" -> Link to version named "1.0 beta 2" | |
597 | # Attachments: |
|
597 | # Attachments: | |
598 | # attachment:file.zip -> Link to the attachment of the current object named file.zip |
|
598 | # attachment:file.zip -> Link to the attachment of the current object named file.zip | |
599 | # Source files: |
|
599 | # Source files: | |
600 | # source:some/file -> Link to the file located at /some/file in the project's repository |
|
600 | # source:some/file -> Link to the file located at /some/file in the project's repository | |
601 | # source:some/file@52 -> Link to the file's revision 52 |
|
601 | # source:some/file@52 -> Link to the file's revision 52 | |
602 | # source:some/file#L120 -> Link to line 120 of the file |
|
602 | # source:some/file#L120 -> Link to line 120 of the file | |
603 | # source:some/file@52#L120 -> Link to line 120 of the file's revision 52 |
|
603 | # source:some/file@52#L120 -> Link to line 120 of the file's revision 52 | |
604 | # export:some/file -> Force the download of the file |
|
604 | # export:some/file -> Force the download of the file | |
605 | # Forum messages: |
|
605 | # Forum messages: | |
606 | # message#1218 -> Link to message with id 1218 |
|
606 | # message#1218 -> Link to message with id 1218 | |
607 | # |
|
607 | # | |
608 | # Links can refer other objects from other projects, using project identifier: |
|
608 | # Links can refer other objects from other projects, using project identifier: | |
609 | # identifier:r52 |
|
609 | # identifier:r52 | |
610 | # identifier:document:"Some document" |
|
610 | # identifier:document:"Some document" | |
611 | # identifier:version:1.0.0 |
|
611 | # identifier:version:1.0.0 | |
612 | # identifier:source:some/file |
|
612 | # identifier:source:some/file | |
613 | def parse_redmine_links(text, project, obj, attr, only_path, options) |
|
613 | def parse_redmine_links(text, project, obj, attr, only_path, options) | |
614 | text.gsub!(%r{([\s\(,\-\[\>]|^)(!)?(([a-z0-9\-]+):)?(attachment|document|version|commit|source|export|message|project)?((#|r)(\d+)|(:)([^"\s<>][^\s<>]*?|"[^"]+?"))(?=(?=[[:punct:]]\W)|,|\s|\]|<|$)}) do |m| |
|
614 | text.gsub!(%r{([\s\(,\-\[\>]|^)(!)?(([a-z0-9\-]+):)?(attachment|document|version|commit|source|export|message|project)?((#|r)(\d+)|(:)([^"\s<>][^\s<>]*?|"[^"]+?"))(?=(?=[[:punct:]]\W)|,|\s|\]|<|$)}) do |m| | |
615 | leading, esc, project_prefix, project_identifier, prefix, sep, identifier = $1, $2, $3, $4, $5, $7 || $9, $8 || $10 |
|
615 | leading, esc, project_prefix, project_identifier, prefix, sep, identifier = $1, $2, $3, $4, $5, $7 || $9, $8 || $10 | |
616 | link = nil |
|
616 | link = nil | |
617 | if project_identifier |
|
617 | if project_identifier | |
618 | project = Project.visible.find_by_identifier(project_identifier) |
|
618 | project = Project.visible.find_by_identifier(project_identifier) | |
619 | end |
|
619 | end | |
620 | if esc.nil? |
|
620 | if esc.nil? | |
621 | if prefix.nil? && sep == 'r' |
|
621 | if prefix.nil? && sep == 'r' | |
622 | # project.changesets.visible raises an SQL error because of a double join on repositories |
|
622 | # project.changesets.visible raises an SQL error because of a double join on repositories | |
623 | if project && project.repository && (changeset = Changeset.visible.find_by_repository_id_and_revision(project.repository.id, identifier)) |
|
623 | if project && project.repository && (changeset = Changeset.visible.find_by_repository_id_and_revision(project.repository.id, identifier)) | |
624 | link = link_to("#{project_prefix}r#{identifier}", {:only_path => only_path, :controller => 'repositories', :action => 'revision', :id => project, :rev => changeset.revision}, |
|
624 | link = link_to("#{project_prefix}r#{identifier}", {:only_path => only_path, :controller => 'repositories', :action => 'revision', :id => project, :rev => changeset.revision}, | |
625 | :class => 'changeset', |
|
625 | :class => 'changeset', | |
626 | :title => truncate_single_line(changeset.comments, :length => 100)) |
|
626 | :title => truncate_single_line(changeset.comments, :length => 100)) | |
627 | end |
|
627 | end | |
628 | elsif sep == '#' |
|
628 | elsif sep == '#' | |
629 | oid = identifier.to_i |
|
629 | oid = identifier.to_i | |
630 | case prefix |
|
630 | case prefix | |
631 | when nil |
|
631 | when nil | |
632 | if issue = Issue.visible.find_by_id(oid, :include => :status) |
|
632 | if issue = Issue.visible.find_by_id(oid, :include => :status) | |
633 | link = link_to("##{oid}", {:only_path => only_path, :controller => 'issues', :action => 'show', :id => oid}, |
|
633 | link = link_to("##{oid}", {:only_path => only_path, :controller => 'issues', :action => 'show', :id => oid}, | |
634 | :class => issue.css_classes, |
|
634 | :class => issue.css_classes, | |
635 | :title => "#{truncate(issue.subject, :length => 100)} (#{issue.status.name})") |
|
635 | :title => "#{truncate(issue.subject, :length => 100)} (#{issue.status.name})") | |
636 | end |
|
636 | end | |
637 | when 'document' |
|
637 | when 'document' | |
638 | if document = Document.visible.find_by_id(oid) |
|
638 | if document = Document.visible.find_by_id(oid) | |
639 | link = link_to h(document.title), {:only_path => only_path, :controller => 'documents', :action => 'show', :id => document}, |
|
639 | link = link_to h(document.title), {:only_path => only_path, :controller => 'documents', :action => 'show', :id => document}, | |
640 | :class => 'document' |
|
640 | :class => 'document' | |
641 | end |
|
641 | end | |
642 | when 'version' |
|
642 | when 'version' | |
643 | if version = Version.visible.find_by_id(oid) |
|
643 | if version = Version.visible.find_by_id(oid) | |
644 | link = link_to h(version.name), {:only_path => only_path, :controller => 'versions', :action => 'show', :id => version}, |
|
644 | link = link_to h(version.name), {:only_path => only_path, :controller => 'versions', :action => 'show', :id => version}, | |
645 | :class => 'version' |
|
645 | :class => 'version' | |
646 | end |
|
646 | end | |
647 | when 'message' |
|
647 | when 'message' | |
648 | if message = Message.visible.find_by_id(oid, :include => :parent) |
|
648 | if message = Message.visible.find_by_id(oid, :include => :parent) | |
649 | link = link_to_message(message, {:only_path => only_path}, :class => 'message') |
|
649 | link = link_to_message(message, {:only_path => only_path}, :class => 'message') | |
650 | end |
|
650 | end | |
651 | when 'project' |
|
651 | when 'project' | |
652 | if p = Project.visible.find_by_id(oid) |
|
652 | if p = Project.visible.find_by_id(oid) | |
653 | link = link_to_project(p, {:only_path => only_path}, :class => 'project') |
|
653 | link = link_to_project(p, {:only_path => only_path}, :class => 'project') | |
654 | end |
|
654 | end | |
655 | end |
|
655 | end | |
656 | elsif sep == ':' |
|
656 | elsif sep == ':' | |
657 | # removes the double quotes if any |
|
657 | # removes the double quotes if any | |
658 | name = identifier.gsub(%r{^"(.*)"$}, "\\1") |
|
658 | name = identifier.gsub(%r{^"(.*)"$}, "\\1") | |
659 | case prefix |
|
659 | case prefix | |
660 | when 'document' |
|
660 | when 'document' | |
661 | if project && document = project.documents.visible.find_by_title(name) |
|
661 | if project && document = project.documents.visible.find_by_title(name) | |
662 | link = link_to h(document.title), {:only_path => only_path, :controller => 'documents', :action => 'show', :id => document}, |
|
662 | link = link_to h(document.title), {:only_path => only_path, :controller => 'documents', :action => 'show', :id => document}, | |
663 | :class => 'document' |
|
663 | :class => 'document' | |
664 | end |
|
664 | end | |
665 | when 'version' |
|
665 | when 'version' | |
666 | if project && version = project.versions.visible.find_by_name(name) |
|
666 | if project && version = project.versions.visible.find_by_name(name) | |
667 | link = link_to h(version.name), {:only_path => only_path, :controller => 'versions', :action => 'show', :id => version}, |
|
667 | link = link_to h(version.name), {:only_path => only_path, :controller => 'versions', :action => 'show', :id => version}, | |
668 | :class => 'version' |
|
668 | :class => 'version' | |
669 | end |
|
669 | end | |
670 | when 'commit' |
|
670 | when 'commit' | |
671 | if project && project.repository && (changeset = Changeset.visible.find(:first, :conditions => ["repository_id = ? AND scmid LIKE ?", project.repository.id, "#{name}%"])) |
|
671 | if project && project.repository && (changeset = Changeset.visible.find(:first, :conditions => ["repository_id = ? AND scmid LIKE ?", project.repository.id, "#{name}%"])) | |
672 | link = link_to h("#{project_prefix}#{name}"), {:only_path => only_path, :controller => 'repositories', :action => 'revision', :id => project, :rev => changeset.identifier}, |
|
672 | link = link_to h("#{project_prefix}#{name}"), {:only_path => only_path, :controller => 'repositories', :action => 'revision', :id => project, :rev => changeset.identifier}, | |
673 | :class => 'changeset', |
|
673 | :class => 'changeset', | |
674 | :title => truncate_single_line(changeset.comments, :length => 100) |
|
674 | :title => truncate_single_line(changeset.comments, :length => 100) | |
675 | end |
|
675 | end | |
676 | when 'source', 'export' |
|
676 | when 'source', 'export' | |
677 | if project && project.repository && User.current.allowed_to?(:browse_repository, project) |
|
677 | if project && project.repository && User.current.allowed_to?(:browse_repository, project) | |
678 | name =~ %r{^[/\\]*(.*?)(@([0-9a-f]+))?(#(L\d+))?$} |
|
678 | name =~ %r{^[/\\]*(.*?)(@([0-9a-f]+))?(#(L\d+))?$} | |
679 | path, rev, anchor = $1, $3, $5 |
|
679 | path, rev, anchor = $1, $3, $5 | |
680 | link = link_to h("#{project_prefix}#{prefix}:#{name}"), {:controller => 'repositories', :action => 'entry', :id => project, |
|
680 | link = link_to h("#{project_prefix}#{prefix}:#{name}"), {:controller => 'repositories', :action => 'entry', :id => project, | |
681 | :path => to_path_param(path), |
|
681 | :path => to_path_param(path), | |
682 | :rev => rev, |
|
682 | :rev => rev, | |
683 | :anchor => anchor, |
|
683 | :anchor => anchor, | |
684 | :format => (prefix == 'export' ? 'raw' : nil)}, |
|
684 | :format => (prefix == 'export' ? 'raw' : nil)}, | |
685 | :class => (prefix == 'export' ? 'source download' : 'source') |
|
685 | :class => (prefix == 'export' ? 'source download' : 'source') | |
686 | end |
|
686 | end | |
687 | when 'attachment' |
|
687 | when 'attachment' | |
688 | attachments = options[:attachments] || (obj && obj.respond_to?(:attachments) ? obj.attachments : nil) |
|
688 | attachments = options[:attachments] || (obj && obj.respond_to?(:attachments) ? obj.attachments : nil) | |
689 | if attachments && attachment = attachments.detect {|a| a.filename == name } |
|
689 | if attachments && attachment = attachments.detect {|a| a.filename == name } | |
690 | link = link_to h(attachment.filename), {:only_path => only_path, :controller => 'attachments', :action => 'download', :id => attachment}, |
|
690 | link = link_to h(attachment.filename), {:only_path => only_path, :controller => 'attachments', :action => 'download', :id => attachment}, | |
691 | :class => 'attachment' |
|
691 | :class => 'attachment' | |
692 | end |
|
692 | end | |
693 | when 'project' |
|
693 | when 'project' | |
694 | if p = Project.visible.find(:first, :conditions => ["identifier = :s OR LOWER(name) = :s", {:s => name.downcase}]) |
|
694 | if p = Project.visible.find(:first, :conditions => ["identifier = :s OR LOWER(name) = :s", {:s => name.downcase}]) | |
695 | link = link_to_project(p, {:only_path => only_path}, :class => 'project') |
|
695 | link = link_to_project(p, {:only_path => only_path}, :class => 'project') | |
696 | end |
|
696 | end | |
697 | end |
|
697 | end | |
698 | end |
|
698 | end | |
699 | end |
|
699 | end | |
700 | leading + (link || "#{project_prefix}#{prefix}#{sep}#{identifier}") |
|
700 | leading + (link || "#{project_prefix}#{prefix}#{sep}#{identifier}") | |
701 | end |
|
701 | end | |
702 | end |
|
702 | end | |
703 |
|
703 | |||
704 | HEADING_RE = /<h(1|2|3|4)( [^>]+)?>(.+?)<\/h(1|2|3|4)>/i unless const_defined?(:HEADING_RE) |
|
704 | HEADING_RE = /<h(1|2|3|4)( [^>]+)?>(.+?)<\/h(1|2|3|4)>/i unless const_defined?(:HEADING_RE) | |
705 |
|
705 | |||
706 | # Headings and TOC |
|
706 | # Headings and TOC | |
707 | # Adds ids and links to headings unless options[:headings] is set to false |
|
707 | # Adds ids and links to headings unless options[:headings] is set to false | |
708 | def parse_headings(text, project, obj, attr, only_path, options) |
|
708 | def parse_headings(text, project, obj, attr, only_path, options) | |
709 | return if options[:headings] == false |
|
709 | return if options[:headings] == false | |
710 |
|
710 | |||
711 | text.gsub!(HEADING_RE) do |
|
711 | text.gsub!(HEADING_RE) do | |
712 | level, attrs, content = $1.to_i, $2, $3 |
|
712 | level, attrs, content = $1.to_i, $2, $3 | |
713 | item = strip_tags(content).strip |
|
713 | item = strip_tags(content).strip | |
714 | anchor = item.gsub(%r{[^\w\s\-]}, '').gsub(%r{\s+(\-+\s*)?}, '-') |
|
714 | anchor = item.gsub(%r{[^\w\s\-]}, '').gsub(%r{\s+(\-+\s*)?}, '-') | |
715 | @parsed_headings << [level, anchor, item] |
|
715 | @parsed_headings << [level, anchor, item] | |
716 | "<h#{level} #{attrs} id=\"#{anchor}\">#{content}<a href=\"##{anchor}\" class=\"wiki-anchor\">¶</a></h#{level}>" |
|
716 | "<h#{level} #{attrs} id=\"#{anchor}\">#{content}<a href=\"##{anchor}\" class=\"wiki-anchor\">¶</a></h#{level}>" | |
717 | end |
|
717 | end | |
718 | end |
|
718 | end | |
719 |
|
719 | |||
720 | TOC_RE = /<p>\{\{([<>]?)toc\}\}<\/p>/i unless const_defined?(:TOC_RE) |
|
720 | TOC_RE = /<p>\{\{([<>]?)toc\}\}<\/p>/i unless const_defined?(:TOC_RE) | |
721 |
|
721 | |||
722 | # Renders the TOC with given headings |
|
722 | # Renders the TOC with given headings | |
723 | def replace_toc(text, headings) |
|
723 | def replace_toc(text, headings) | |
724 | text.gsub!(TOC_RE) do |
|
724 | text.gsub!(TOC_RE) do | |
725 | if headings.empty? |
|
725 | if headings.empty? | |
726 | '' |
|
726 | '' | |
727 | else |
|
727 | else | |
728 | div_class = 'toc' |
|
728 | div_class = 'toc' | |
729 | div_class << ' right' if $1 == '>' |
|
729 | div_class << ' right' if $1 == '>' | |
730 | div_class << ' left' if $1 == '<' |
|
730 | div_class << ' left' if $1 == '<' | |
731 | out = "<ul class=\"#{div_class}\"><li>" |
|
731 | out = "<ul class=\"#{div_class}\"><li>" | |
732 | root = headings.map(&:first).min |
|
732 | root = headings.map(&:first).min | |
733 | current = root |
|
733 | current = root | |
734 | started = false |
|
734 | started = false | |
735 | headings.each do |level, anchor, item| |
|
735 | headings.each do |level, anchor, item| | |
736 | if level > current |
|
736 | if level > current | |
737 | out << '<ul><li>' * (level - current) |
|
737 | out << '<ul><li>' * (level - current) | |
738 | elsif level < current |
|
738 | elsif level < current | |
739 | out << "</li></ul>\n" * (current - level) + "</li><li>" |
|
739 | out << "</li></ul>\n" * (current - level) + "</li><li>" | |
740 | elsif started |
|
740 | elsif started | |
741 | out << '</li><li>' |
|
741 | out << '</li><li>' | |
742 | end |
|
742 | end | |
743 | out << "<a href=\"##{anchor}\">#{item}</a>" |
|
743 | out << "<a href=\"##{anchor}\">#{item}</a>" | |
744 | current = level |
|
744 | current = level | |
745 | started = true |
|
745 | started = true | |
746 | end |
|
746 | end | |
747 | out << '</li></ul>' * (current - root) |
|
747 | out << '</li></ul>' * (current - root) | |
748 | out << '</li></ul>' |
|
748 | out << '</li></ul>' | |
749 | end |
|
749 | end | |
750 | end |
|
750 | end | |
751 | end |
|
751 | end | |
752 |
|
752 | |||
753 | # Same as Rails' simple_format helper without using paragraphs |
|
753 | # Same as Rails' simple_format helper without using paragraphs | |
754 | def simple_format_without_paragraph(text) |
|
754 | def simple_format_without_paragraph(text) | |
755 | text.to_s. |
|
755 | text.to_s. | |
756 | gsub(/\r\n?/, "\n"). # \r\n and \r -> \n |
|
756 | gsub(/\r\n?/, "\n"). # \r\n and \r -> \n | |
757 | gsub(/\n\n+/, "<br /><br />"). # 2+ newline -> 2 br |
|
757 | gsub(/\n\n+/, "<br /><br />"). # 2+ newline -> 2 br | |
758 | gsub(/([^\n]\n)(?=[^\n])/, '\1<br />') # 1 newline -> br |
|
758 | gsub(/([^\n]\n)(?=[^\n])/, '\1<br />') # 1 newline -> br | |
759 | end |
|
759 | end | |
760 |
|
760 | |||
761 | def lang_options_for_select(blank=true) |
|
761 | def lang_options_for_select(blank=true) | |
762 | (blank ? [["(auto)", ""]] : []) + |
|
762 | (blank ? [["(auto)", ""]] : []) + | |
763 | valid_languages.collect{|lang| [ ll(lang.to_s, :general_lang_name), lang.to_s]}.sort{|x,y| x.last <=> y.last } |
|
763 | valid_languages.collect{|lang| [ ll(lang.to_s, :general_lang_name), lang.to_s]}.sort{|x,y| x.last <=> y.last } | |
764 | end |
|
764 | end | |
765 |
|
765 | |||
766 | def label_tag_for(name, option_tags = nil, options = {}) |
|
766 | def label_tag_for(name, option_tags = nil, options = {}) | |
767 | label_text = l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) + (options.delete(:required) ? @template.content_tag("span", " *", :class => "required"): "") |
|
767 | label_text = l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) + (options.delete(:required) ? @template.content_tag("span", " *", :class => "required"): "") | |
768 | content_tag("label", label_text) |
|
768 | content_tag("label", label_text) | |
769 | end |
|
769 | end | |
770 |
|
770 | |||
771 | def labelled_tabular_form_for(name, object, options, &proc) |
|
771 | def labelled_tabular_form_for(name, object, options, &proc) | |
772 | options[:html] ||= {} |
|
772 | options[:html] ||= {} | |
773 | options[:html][:class] = 'tabular' unless options[:html].has_key?(:class) |
|
773 | options[:html][:class] = 'tabular' unless options[:html].has_key?(:class) | |
774 | form_for(name, object, options.merge({ :builder => TabularFormBuilder, :lang => current_language}), &proc) |
|
774 | form_for(name, object, options.merge({ :builder => TabularFormBuilder, :lang => current_language}), &proc) | |
775 | end |
|
775 | end | |
776 |
|
776 | |||
777 | def back_url_hidden_field_tag |
|
777 | def back_url_hidden_field_tag | |
778 | back_url = params[:back_url] || request.env['HTTP_REFERER'] |
|
778 | back_url = params[:back_url] || request.env['HTTP_REFERER'] | |
779 | back_url = CGI.unescape(back_url.to_s) |
|
779 | back_url = CGI.unescape(back_url.to_s) | |
780 | hidden_field_tag('back_url', CGI.escape(back_url)) unless back_url.blank? |
|
780 | hidden_field_tag('back_url', CGI.escape(back_url)) unless back_url.blank? | |
781 | end |
|
781 | end | |
782 |
|
782 | |||
783 | def check_all_links(form_name) |
|
783 | def check_all_links(form_name) | |
784 | link_to_function(l(:button_check_all), "checkAll('#{form_name}', true)") + |
|
784 | link_to_function(l(:button_check_all), "checkAll('#{form_name}', true)") + | |
785 | " | " + |
|
785 | " | " + | |
786 | link_to_function(l(:button_uncheck_all), "checkAll('#{form_name}', false)") |
|
786 | link_to_function(l(:button_uncheck_all), "checkAll('#{form_name}', false)") | |
787 | end |
|
787 | end | |
788 |
|
788 | |||
789 | def progress_bar(pcts, options={}) |
|
789 | def progress_bar(pcts, options={}) | |
790 | pcts = [pcts, pcts] unless pcts.is_a?(Array) |
|
790 | pcts = [pcts, pcts] unless pcts.is_a?(Array) | |
791 | pcts = pcts.collect(&:round) |
|
791 | pcts = pcts.collect(&:round) | |
792 | pcts[1] = pcts[1] - pcts[0] |
|
792 | pcts[1] = pcts[1] - pcts[0] | |
793 | pcts << (100 - pcts[1] - pcts[0]) |
|
793 | pcts << (100 - pcts[1] - pcts[0]) | |
794 | width = options[:width] || '100px;' |
|
794 | width = options[:width] || '100px;' | |
795 | legend = options[:legend] || '' |
|
795 | legend = options[:legend] || '' | |
796 | content_tag('table', |
|
796 | content_tag('table', | |
797 | content_tag('tr', |
|
797 | content_tag('tr', | |
798 | (pcts[0] > 0 ? content_tag('td', '', :style => "width: #{pcts[0]}%;", :class => 'closed') : '') + |
|
798 | (pcts[0] > 0 ? content_tag('td', '', :style => "width: #{pcts[0]}%;", :class => 'closed') : '') + | |
799 | (pcts[1] > 0 ? content_tag('td', '', :style => "width: #{pcts[1]}%;", :class => 'done') : '') + |
|
799 | (pcts[1] > 0 ? content_tag('td', '', :style => "width: #{pcts[1]}%;", :class => 'done') : '') + | |
800 | (pcts[2] > 0 ? content_tag('td', '', :style => "width: #{pcts[2]}%;", :class => 'todo') : '') |
|
800 | (pcts[2] > 0 ? content_tag('td', '', :style => "width: #{pcts[2]}%;", :class => 'todo') : '') | |
801 | ), :class => 'progress', :style => "width: #{width};") + |
|
801 | ), :class => 'progress', :style => "width: #{width};") + | |
802 | content_tag('p', legend, :class => 'pourcent') |
|
802 | content_tag('p', legend, :class => 'pourcent') | |
803 | end |
|
803 | end | |
804 |
|
804 | |||
805 | def checked_image(checked=true) |
|
805 | def checked_image(checked=true) | |
806 | if checked |
|
806 | if checked | |
807 | image_tag 'toggle_check.png' |
|
807 | image_tag 'toggle_check.png' | |
808 | end |
|
808 | end | |
809 | end |
|
809 | end | |
810 |
|
810 | |||
811 | def context_menu(url) |
|
811 | def context_menu(url) | |
812 | unless @context_menu_included |
|
812 | unless @context_menu_included | |
813 | content_for :header_tags do |
|
813 | content_for :header_tags do | |
814 | javascript_include_tag('context_menu') + |
|
814 | javascript_include_tag('context_menu') + | |
815 | stylesheet_link_tag('context_menu') |
|
815 | stylesheet_link_tag('context_menu') | |
816 | end |
|
816 | end | |
817 | if l(:direction) == 'rtl' |
|
817 | if l(:direction) == 'rtl' | |
818 | content_for :header_tags do |
|
818 | content_for :header_tags do | |
819 | stylesheet_link_tag('context_menu_rtl') |
|
819 | stylesheet_link_tag('context_menu_rtl') | |
820 | end |
|
820 | end | |
821 | end |
|
821 | end | |
822 | @context_menu_included = true |
|
822 | @context_menu_included = true | |
823 | end |
|
823 | end | |
824 | javascript_tag "new ContextMenu('#{ url_for(url) }')" |
|
824 | javascript_tag "new ContextMenu('#{ url_for(url) }')" | |
825 | end |
|
825 | end | |
826 |
|
826 | |||
827 | def context_menu_link(name, url, options={}) |
|
827 | def context_menu_link(name, url, options={}) | |
828 | options[:class] ||= '' |
|
828 | options[:class] ||= '' | |
829 | if options.delete(:selected) |
|
829 | if options.delete(:selected) | |
830 | options[:class] << ' icon-checked disabled' |
|
830 | options[:class] << ' icon-checked disabled' | |
831 | options[:disabled] = true |
|
831 | options[:disabled] = true | |
832 | end |
|
832 | end | |
833 | if options.delete(:disabled) |
|
833 | if options.delete(:disabled) | |
834 | options.delete(:method) |
|
834 | options.delete(:method) | |
835 | options.delete(:confirm) |
|
835 | options.delete(:confirm) | |
836 | options.delete(:onclick) |
|
836 | options.delete(:onclick) | |
837 | options[:class] << ' disabled' |
|
837 | options[:class] << ' disabled' | |
838 | url = '#' |
|
838 | url = '#' | |
839 | end |
|
839 | end | |
840 | link_to name, url, options |
|
840 | link_to name, url, options | |
841 | end |
|
841 | end | |
842 |
|
842 | |||
843 | def calendar_for(field_id) |
|
843 | def calendar_for(field_id) | |
844 | include_calendar_headers_tags |
|
844 | include_calendar_headers_tags | |
845 | image_tag("calendar.png", {:id => "#{field_id}_trigger",:class => "calendar-trigger"}) + |
|
845 | image_tag("calendar.png", {:id => "#{field_id}_trigger",:class => "calendar-trigger"}) + | |
846 | javascript_tag("Calendar.setup({inputField : '#{field_id}', ifFormat : '%Y-%m-%d', button : '#{field_id}_trigger' });") |
|
846 | javascript_tag("Calendar.setup({inputField : '#{field_id}', ifFormat : '%Y-%m-%d', button : '#{field_id}_trigger' });") | |
847 | end |
|
847 | end | |
848 |
|
848 | |||
849 | def include_calendar_headers_tags |
|
849 | def include_calendar_headers_tags | |
850 | unless @calendar_headers_tags_included |
|
850 | unless @calendar_headers_tags_included | |
851 | @calendar_headers_tags_included = true |
|
851 | @calendar_headers_tags_included = true | |
852 | content_for :header_tags do |
|
852 | content_for :header_tags do | |
853 | start_of_week = case Setting.start_of_week.to_i |
|
853 | start_of_week = case Setting.start_of_week.to_i | |
854 | when 1 |
|
854 | when 1 | |
855 | 'Calendar._FD = 1;' # Monday |
|
855 | 'Calendar._FD = 1;' # Monday | |
856 | when 7 |
|
856 | when 7 | |
857 | 'Calendar._FD = 0;' # Sunday |
|
857 | 'Calendar._FD = 0;' # Sunday | |
858 | else |
|
858 | else | |
859 | '' # use language |
|
859 | '' # use language | |
860 | end |
|
860 | end | |
861 |
|
861 | |||
862 | javascript_include_tag('calendar/calendar') + |
|
862 | javascript_include_tag('calendar/calendar') + | |
863 | javascript_include_tag("calendar/lang/calendar-#{current_language.to_s.downcase}.js") + |
|
863 | javascript_include_tag("calendar/lang/calendar-#{current_language.to_s.downcase}.js") + | |
864 | javascript_tag(start_of_week) + |
|
864 | javascript_tag(start_of_week) + | |
865 | javascript_include_tag('calendar/calendar-setup') + |
|
865 | javascript_include_tag('calendar/calendar-setup') + | |
866 | stylesheet_link_tag('calendar') |
|
866 | stylesheet_link_tag('calendar') | |
867 | end |
|
867 | end | |
868 | end |
|
868 | end | |
869 | end |
|
869 | end | |
870 |
|
870 | |||
871 | def content_for(name, content = nil, &block) |
|
871 | def content_for(name, content = nil, &block) | |
872 | @has_content ||= {} |
|
872 | @has_content ||= {} | |
873 | @has_content[name] = true |
|
873 | @has_content[name] = true | |
874 | super(name, content, &block) |
|
874 | super(name, content, &block) | |
875 | end |
|
875 | end | |
876 |
|
876 | |||
877 | def has_content?(name) |
|
877 | def has_content?(name) | |
878 | (@has_content && @has_content[name]) || false |
|
878 | (@has_content && @has_content[name]) || false | |
879 | end |
|
879 | end | |
880 |
|
880 | |||
881 | # Returns the avatar image tag for the given +user+ if avatars are enabled |
|
881 | # Returns the avatar image tag for the given +user+ if avatars are enabled | |
882 | # +user+ can be a User or a string that will be scanned for an email address (eg. 'joe <joe@foo.bar>') |
|
882 | # +user+ can be a User or a string that will be scanned for an email address (eg. 'joe <joe@foo.bar>') | |
883 | def avatar(user, options = { }) |
|
883 | def avatar(user, options = { }) | |
884 | if Setting.gravatar_enabled? |
|
884 | if Setting.gravatar_enabled? | |
885 | options.merge!({:ssl => (defined?(request) && request.ssl?), :default => Setting.gravatar_default}) |
|
885 | options.merge!({:ssl => (defined?(request) && request.ssl?), :default => Setting.gravatar_default}) | |
886 | email = nil |
|
886 | email = nil | |
887 | if user.respond_to?(:mail) |
|
887 | if user.respond_to?(:mail) | |
888 | email = user.mail |
|
888 | email = user.mail | |
889 | elsif user.to_s =~ %r{<(.+?)>} |
|
889 | elsif user.to_s =~ %r{<(.+?)>} | |
890 | email = $1 |
|
890 | email = $1 | |
891 | end |
|
891 | end | |
892 | return gravatar(email.to_s.downcase, options) unless email.blank? rescue nil |
|
892 | return gravatar(email.to_s.downcase, options) unless email.blank? rescue nil | |
893 | else |
|
893 | else | |
894 | '' |
|
894 | '' | |
895 | end |
|
895 | end | |
896 | end |
|
896 | end | |
|
897 | ||||
|
898 | # Returns the javascript tags that are included in the html layout head | |||
|
899 | def javascript_heads | |||
|
900 | tags = javascript_include_tag(:defaults) | |||
|
901 | unless User.current.pref.warn_on_leaving_unsaved == '0' | |||
|
902 | tags << "\n" + javascript_tag("Event.observe(window, 'load', function(){ new WarnLeavingUnsaved('#{escape_javascript( l(:text_warn_on_leaving_unsaved) )}'); });") | |||
|
903 | end | |||
|
904 | tags | |||
|
905 | end | |||
897 |
|
906 | |||
898 | def favicon |
|
907 | def favicon | |
899 | "<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />" |
|
908 | "<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />" | |
900 | end |
|
909 | end | |
901 |
|
910 | |||
902 | # Returns true if arg is expected in the API response |
|
911 | # Returns true if arg is expected in the API response | |
903 | def include_in_api_response?(arg) |
|
912 | def include_in_api_response?(arg) | |
904 | unless @included_in_api_response |
|
913 | unless @included_in_api_response | |
905 | param = params[:include] |
|
914 | param = params[:include] | |
906 | @included_in_api_response = param.is_a?(Array) ? param.collect(&:to_s) : param.to_s.split(',') |
|
915 | @included_in_api_response = param.is_a?(Array) ? param.collect(&:to_s) : param.to_s.split(',') | |
907 | @included_in_api_response.collect!(&:strip) |
|
916 | @included_in_api_response.collect!(&:strip) | |
908 | end |
|
917 | end | |
909 | @included_in_api_response.include?(arg.to_s) |
|
918 | @included_in_api_response.include?(arg.to_s) | |
910 | end |
|
919 | end | |
911 |
|
920 | |||
912 | # Returns options or nil if nometa param or X-Redmine-Nometa header |
|
921 | # Returns options or nil if nometa param or X-Redmine-Nometa header | |
913 | # was set in the request |
|
922 | # was set in the request | |
914 | def api_meta(options) |
|
923 | def api_meta(options) | |
915 | if params[:nometa].present? || request.headers['X-Redmine-Nometa'] |
|
924 | if params[:nometa].present? || request.headers['X-Redmine-Nometa'] | |
916 | # compatibility mode for activeresource clients that raise |
|
925 | # compatibility mode for activeresource clients that raise | |
917 | # an error when unserializing an array with attributes |
|
926 | # an error when unserializing an array with attributes | |
918 | nil |
|
927 | nil | |
919 | else |
|
928 | else | |
920 | options |
|
929 | options | |
921 | end |
|
930 | end | |
922 | end |
|
931 | end | |
923 |
|
932 | |||
924 | private |
|
933 | private | |
925 |
|
934 | |||
926 | def wiki_helper |
|
935 | def wiki_helper | |
927 | helper = Redmine::WikiFormatting.helper_for(Setting.text_formatting) |
|
936 | helper = Redmine::WikiFormatting.helper_for(Setting.text_formatting) | |
928 | extend helper |
|
937 | extend helper | |
929 | return self |
|
938 | return self | |
930 | end |
|
939 | end | |
931 |
|
940 | |||
932 | def link_to_remote_content_update(text, url_params) |
|
941 | def link_to_remote_content_update(text, url_params) | |
933 | link_to_remote(text, |
|
942 | link_to_remote(text, | |
934 | {:url => url_params, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, |
|
943 | {:url => url_params, :method => :get, :update => 'content', :complete => 'window.scrollTo(0,0)'}, | |
935 | {:href => url_for(:params => url_params)} |
|
944 | {:href => url_for(:params => url_params)} | |
936 | ) |
|
945 | ) | |
937 | end |
|
946 | end | |
938 |
|
947 | |||
939 | end |
|
948 | end |
@@ -1,54 +1,57 | |||||
1 | # redMine - project management software |
|
1 | # redMine - project management software | |
2 | # Copyright (C) 2006 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006 Jean-Philippe Lang | |
3 | # |
|
3 | # | |
4 | # This program is free software; you can redistribute it and/or |
|
4 | # This program is free software; you can redistribute it and/or | |
5 | # modify it under the terms of the GNU General Public License |
|
5 | # modify it under the terms of the GNU General Public License | |
6 | # as published by the Free Software Foundation; either version 2 |
|
6 | # as published by the Free Software Foundation; either version 2 | |
7 | # of the License, or (at your option) any later version. |
|
7 | # of the License, or (at your option) any later version. | |
8 | # |
|
8 | # | |
9 | # This program is distributed in the hope that it will be useful, |
|
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. |
|
12 | # GNU General Public License for more details. | |
13 | # |
|
13 | # | |
14 | # You should have received a copy of the GNU General Public License |
|
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software |
|
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
17 |
|
17 | |||
18 | class UserPreference < ActiveRecord::Base |
|
18 | class UserPreference < ActiveRecord::Base | |
19 | belongs_to :user |
|
19 | belongs_to :user | |
20 | serialize :others |
|
20 | serialize :others | |
21 |
|
21 | |||
22 | attr_protected :others |
|
22 | attr_protected :others | |
23 |
|
23 | |||
24 | def initialize(attributes = nil) |
|
24 | def initialize(attributes = nil) | |
25 | super |
|
25 | super | |
26 | self.others ||= {} |
|
26 | self.others ||= {} | |
27 | end |
|
27 | end | |
28 |
|
28 | |||
29 | def before_save |
|
29 | def before_save | |
30 | self.others ||= {} |
|
30 | self.others ||= {} | |
31 | end |
|
31 | end | |
32 |
|
32 | |||
33 | def [](attr_name) |
|
33 | def [](attr_name) | |
34 | if attribute_present? attr_name |
|
34 | if attribute_present? attr_name | |
35 | super |
|
35 | super | |
36 | else |
|
36 | else | |
37 | others ? others[attr_name] : nil |
|
37 | others ? others[attr_name] : nil | |
38 | end |
|
38 | end | |
39 | end |
|
39 | end | |
40 |
|
40 | |||
41 | def []=(attr_name, value) |
|
41 | def []=(attr_name, value) | |
42 | if attribute_present? attr_name |
|
42 | if attribute_present? attr_name | |
43 | super |
|
43 | super | |
44 | else |
|
44 | else | |
45 | h = read_attribute(:others).dup || {} |
|
45 | h = read_attribute(:others).dup || {} | |
46 | h.update(attr_name => value) |
|
46 | h.update(attr_name => value) | |
47 | write_attribute(:others, h) |
|
47 | write_attribute(:others, h) | |
48 | value |
|
48 | value | |
49 | end |
|
49 | end | |
50 | end |
|
50 | end | |
51 |
|
51 | |||
52 | def comments_sorting; self[:comments_sorting] end |
|
52 | def comments_sorting; self[:comments_sorting] end | |
53 | def comments_sorting=(order); self[:comments_sorting]=order end |
|
53 | def comments_sorting=(order); self[:comments_sorting]=order end | |
|
54 | ||||
|
55 | def warn_on_leaving_unsaved; self[:warn_on_leaving_unsaved] || '1'; end | |||
|
56 | def warn_on_leaving_unsaved=(value); self[:warn_on_leaving_unsaved]=value; end | |||
54 | end |
|
57 | end |
@@ -1,79 +1,79 | |||||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
|
2 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
3 | <head> |
|
3 | <head> | |
4 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
|
4 | <meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
5 | <title><%=h html_title %></title> |
|
5 | <title><%=h html_title %></title> | |
6 | <meta name="description" content="<%= Redmine::Info.app_name %>" /> |
|
6 | <meta name="description" content="<%= Redmine::Info.app_name %>" /> | |
7 | <meta name="keywords" content="issue,bug,tracker" /> |
|
7 | <meta name="keywords" content="issue,bug,tracker" /> | |
8 | <%= favicon %> |
|
8 | <%= favicon %> | |
9 | <%= stylesheet_link_tag 'application', :media => 'all' %> |
|
9 | <%= stylesheet_link_tag 'application', :media => 'all' %> | |
10 | <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> |
|
10 | <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> | |
11 |
<%= javascript_ |
|
11 | <%= javascript_heads %> | |
12 | <%= heads_for_theme %> |
|
12 | <%= heads_for_theme %> | |
13 | <%= heads_for_wiki_formatter %> |
|
13 | <%= heads_for_wiki_formatter %> | |
14 | <!--[if IE 6]> |
|
14 | <!--[if IE 6]> | |
15 | <style type="text/css"> |
|
15 | <style type="text/css"> | |
16 | * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); } |
|
16 | * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); } | |
17 | body {behavior: url(<%= stylesheet_path "csshover.htc" %>);} |
|
17 | body {behavior: url(<%= stylesheet_path "csshover.htc" %>);} | |
18 | </style> |
|
18 | </style> | |
19 | <![endif]--> |
|
19 | <![endif]--> | |
20 | <%= call_hook :view_layouts_base_html_head %> |
|
20 | <%= call_hook :view_layouts_base_html_head %> | |
21 | <!-- page specific tags --> |
|
21 | <!-- page specific tags --> | |
22 | <%= yield :header_tags -%> |
|
22 | <%= yield :header_tags -%> | |
23 | </head> |
|
23 | </head> | |
24 | <body class="<%= body_css_classes %>"> |
|
24 | <body class="<%= body_css_classes %>"> | |
25 | <div id="wrapper"> |
|
25 | <div id="wrapper"> | |
26 | <div id="wrapper2"> |
|
26 | <div id="wrapper2"> | |
27 | <div id="top-menu"> |
|
27 | <div id="top-menu"> | |
28 | <div id="account"> |
|
28 | <div id="account"> | |
29 | <%= render_menu :account_menu -%> |
|
29 | <%= render_menu :account_menu -%> | |
30 | </div> |
|
30 | </div> | |
31 | <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}", :id => 'loggedas') if User.current.logged? %> |
|
31 | <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}", :id => 'loggedas') if User.current.logged? %> | |
32 | <%= render_menu :top_menu -%> |
|
32 | <%= render_menu :top_menu -%> | |
33 | </div> |
|
33 | </div> | |
34 |
|
34 | |||
35 | <div id="header"> |
|
35 | <div id="header"> | |
36 | <div id="quick-search"> |
|
36 | <div id="quick-search"> | |
37 | <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> |
|
37 | <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %> | |
38 | <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %> |
|
38 | <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %> | |
39 | <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: |
|
39 | <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>: | |
40 | <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> |
|
40 | <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %> | |
41 | <% end %> |
|
41 | <% end %> | |
42 | <%= render_project_jump_box %> |
|
42 | <%= render_project_jump_box %> | |
43 | </div> |
|
43 | </div> | |
44 |
|
44 | |||
45 | <h1><%= page_header_title %></h1> |
|
45 | <h1><%= page_header_title %></h1> | |
46 |
|
46 | |||
47 | <% if display_main_menu?(@project) %> |
|
47 | <% if display_main_menu?(@project) %> | |
48 | <div id="main-menu"> |
|
48 | <div id="main-menu"> | |
49 | <%= render_main_menu(@project) %> |
|
49 | <%= render_main_menu(@project) %> | |
50 | </div> |
|
50 | </div> | |
51 | <% end %> |
|
51 | <% end %> | |
52 | </div> |
|
52 | </div> | |
53 |
|
53 | |||
54 | <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %> |
|
54 | <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %> | |
55 | <div id="sidebar"> |
|
55 | <div id="sidebar"> | |
56 | <%= yield :sidebar %> |
|
56 | <%= yield :sidebar %> | |
57 | <%= call_hook :view_layouts_base_sidebar %> |
|
57 | <%= call_hook :view_layouts_base_sidebar %> | |
58 | </div> |
|
58 | </div> | |
59 |
|
59 | |||
60 | <div id="content"> |
|
60 | <div id="content"> | |
61 | <%= render_flash_messages %> |
|
61 | <%= render_flash_messages %> | |
62 | <%= yield %> |
|
62 | <%= yield %> | |
63 | <%= call_hook :view_layouts_base_content %> |
|
63 | <%= call_hook :view_layouts_base_content %> | |
64 | <div style="clear:both;"></div> |
|
64 | <div style="clear:both;"></div> | |
65 | </div> |
|
65 | </div> | |
66 | </div> |
|
66 | </div> | |
67 |
|
67 | |||
68 | <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div> |
|
68 | <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div> | |
69 |
|
69 | |||
70 | <div id="footer"> |
|
70 | <div id="footer"> | |
71 | <div class="bgl"><div class="bgr"> |
|
71 | <div class="bgl"><div class="bgr"> | |
72 | Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2011 Jean-Philippe Lang |
|
72 | Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2011 Jean-Philippe Lang | |
73 | </div></div> |
|
73 | </div></div> | |
74 | </div> |
|
74 | </div> | |
75 | </div> |
|
75 | </div> | |
76 | </div> |
|
76 | </div> | |
77 | <%= call_hook :view_layouts_base_body_bottom %> |
|
77 | <%= call_hook :view_layouts_base_body_bottom %> | |
78 | </body> |
|
78 | </body> | |
79 | </html> |
|
79 | </html> |
@@ -1,6 +1,7 | |||||
1 | <% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %> |
|
1 | <% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %> | |
2 | <p><%= pref_fields.check_box :hide_mail %></p> |
|
2 | <p><%= pref_fields.check_box :hide_mail %></p> | |
3 | <p><%= pref_fields.select :time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :include_blank => true %></p> |
|
3 | <p><%= pref_fields.select :time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :include_blank => true %></p> | |
4 | <p><%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %></p> |
|
4 | <p><%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %></p> | |
|
5 | <p><%= pref_fields.check_box :warn_on_leaving_unsaved %></p> | |||
5 | <% end %> |
|
6 | <% end %> | |
6 |
|
7 |
@@ -1,938 +1,940 | |||||
1 | en: |
|
1 | en: | |
2 | # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl) |
|
2 | # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl) | |
3 | direction: ltr |
|
3 | direction: ltr | |
4 | date: |
|
4 | date: | |
5 | formats: |
|
5 | formats: | |
6 | # Use the strftime parameters for formats. |
|
6 | # Use the strftime parameters for formats. | |
7 | # When no format has been given, it uses default. |
|
7 | # When no format has been given, it uses default. | |
8 | # You can provide other formats here if you like! |
|
8 | # You can provide other formats here if you like! | |
9 | default: "%m/%d/%Y" |
|
9 | default: "%m/%d/%Y" | |
10 | short: "%b %d" |
|
10 | short: "%b %d" | |
11 | long: "%B %d, %Y" |
|
11 | long: "%B %d, %Y" | |
12 |
|
12 | |||
13 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] |
|
13 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] | |
14 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] |
|
14 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] | |
15 |
|
15 | |||
16 | # Don't forget the nil at the beginning; there's no such thing as a 0th month |
|
16 | # Don't forget the nil at the beginning; there's no such thing as a 0th month | |
17 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] |
|
17 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] | |
18 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] |
|
18 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] | |
19 | # Used in date_select and datime_select. |
|
19 | # Used in date_select and datime_select. | |
20 | order: [ :year, :month, :day ] |
|
20 | order: [ :year, :month, :day ] | |
21 |
|
21 | |||
22 | time: |
|
22 | time: | |
23 | formats: |
|
23 | formats: | |
24 | default: "%m/%d/%Y %I:%M %p" |
|
24 | default: "%m/%d/%Y %I:%M %p" | |
25 | time: "%I:%M %p" |
|
25 | time: "%I:%M %p" | |
26 | short: "%d %b %H:%M" |
|
26 | short: "%d %b %H:%M" | |
27 | long: "%B %d, %Y %H:%M" |
|
27 | long: "%B %d, %Y %H:%M" | |
28 | am: "am" |
|
28 | am: "am" | |
29 | pm: "pm" |
|
29 | pm: "pm" | |
30 |
|
30 | |||
31 | datetime: |
|
31 | datetime: | |
32 | distance_in_words: |
|
32 | distance_in_words: | |
33 | half_a_minute: "half a minute" |
|
33 | half_a_minute: "half a minute" | |
34 | less_than_x_seconds: |
|
34 | less_than_x_seconds: | |
35 | one: "less than 1 second" |
|
35 | one: "less than 1 second" | |
36 | other: "less than %{count} seconds" |
|
36 | other: "less than %{count} seconds" | |
37 | x_seconds: |
|
37 | x_seconds: | |
38 | one: "1 second" |
|
38 | one: "1 second" | |
39 | other: "%{count} seconds" |
|
39 | other: "%{count} seconds" | |
40 | less_than_x_minutes: |
|
40 | less_than_x_minutes: | |
41 | one: "less than a minute" |
|
41 | one: "less than a minute" | |
42 | other: "less than %{count} minutes" |
|
42 | other: "less than %{count} minutes" | |
43 | x_minutes: |
|
43 | x_minutes: | |
44 | one: "1 minute" |
|
44 | one: "1 minute" | |
45 | other: "%{count} minutes" |
|
45 | other: "%{count} minutes" | |
46 | about_x_hours: |
|
46 | about_x_hours: | |
47 | one: "about 1 hour" |
|
47 | one: "about 1 hour" | |
48 | other: "about %{count} hours" |
|
48 | other: "about %{count} hours" | |
49 | x_days: |
|
49 | x_days: | |
50 | one: "1 day" |
|
50 | one: "1 day" | |
51 | other: "%{count} days" |
|
51 | other: "%{count} days" | |
52 | about_x_months: |
|
52 | about_x_months: | |
53 | one: "about 1 month" |
|
53 | one: "about 1 month" | |
54 | other: "about %{count} months" |
|
54 | other: "about %{count} months" | |
55 | x_months: |
|
55 | x_months: | |
56 | one: "1 month" |
|
56 | one: "1 month" | |
57 | other: "%{count} months" |
|
57 | other: "%{count} months" | |
58 | about_x_years: |
|
58 | about_x_years: | |
59 | one: "about 1 year" |
|
59 | one: "about 1 year" | |
60 | other: "about %{count} years" |
|
60 | other: "about %{count} years" | |
61 | over_x_years: |
|
61 | over_x_years: | |
62 | one: "over 1 year" |
|
62 | one: "over 1 year" | |
63 | other: "over %{count} years" |
|
63 | other: "over %{count} years" | |
64 | almost_x_years: |
|
64 | almost_x_years: | |
65 | one: "almost 1 year" |
|
65 | one: "almost 1 year" | |
66 | other: "almost %{count} years" |
|
66 | other: "almost %{count} years" | |
67 |
|
67 | |||
68 | number: |
|
68 | number: | |
69 | # Default format for numbers |
|
69 | # Default format for numbers | |
70 | format: |
|
70 | format: | |
71 | separator: "." |
|
71 | separator: "." | |
72 | delimiter: "" |
|
72 | delimiter: "" | |
73 | precision: 3 |
|
73 | precision: 3 | |
74 | human: |
|
74 | human: | |
75 | format: |
|
75 | format: | |
76 | delimiter: "" |
|
76 | delimiter: "" | |
77 | precision: 1 |
|
77 | precision: 1 | |
78 | storage_units: |
|
78 | storage_units: | |
79 | format: "%n %u" |
|
79 | format: "%n %u" | |
80 | units: |
|
80 | units: | |
81 | byte: |
|
81 | byte: | |
82 | one: "Byte" |
|
82 | one: "Byte" | |
83 | other: "Bytes" |
|
83 | other: "Bytes" | |
84 | kb: "kB" |
|
84 | kb: "kB" | |
85 | mb: "MB" |
|
85 | mb: "MB" | |
86 | gb: "GB" |
|
86 | gb: "GB" | |
87 | tb: "TB" |
|
87 | tb: "TB" | |
88 |
|
88 | |||
89 |
|
89 | |||
90 | # Used in array.to_sentence. |
|
90 | # Used in array.to_sentence. | |
91 | support: |
|
91 | support: | |
92 | array: |
|
92 | array: | |
93 | sentence_connector: "and" |
|
93 | sentence_connector: "and" | |
94 | skip_last_comma: false |
|
94 | skip_last_comma: false | |
95 |
|
95 | |||
96 | activerecord: |
|
96 | activerecord: | |
97 | errors: |
|
97 | errors: | |
98 | template: |
|
98 | template: | |
99 | header: |
|
99 | header: | |
100 | one: "1 error prohibited this %{model} from being saved" |
|
100 | one: "1 error prohibited this %{model} from being saved" | |
101 | other: "%{count} errors prohibited this %{model} from being saved" |
|
101 | other: "%{count} errors prohibited this %{model} from being saved" | |
102 | messages: |
|
102 | messages: | |
103 | inclusion: "is not included in the list" |
|
103 | inclusion: "is not included in the list" | |
104 | exclusion: "is reserved" |
|
104 | exclusion: "is reserved" | |
105 | invalid: "is invalid" |
|
105 | invalid: "is invalid" | |
106 | confirmation: "doesn't match confirmation" |
|
106 | confirmation: "doesn't match confirmation" | |
107 | accepted: "must be accepted" |
|
107 | accepted: "must be accepted" | |
108 | empty: "can't be empty" |
|
108 | empty: "can't be empty" | |
109 | blank: "can't be blank" |
|
109 | blank: "can't be blank" | |
110 | too_long: "is too long (maximum is %{count} characters)" |
|
110 | too_long: "is too long (maximum is %{count} characters)" | |
111 | too_short: "is too short (minimum is %{count} characters)" |
|
111 | too_short: "is too short (minimum is %{count} characters)" | |
112 | wrong_length: "is the wrong length (should be %{count} characters)" |
|
112 | wrong_length: "is the wrong length (should be %{count} characters)" | |
113 | taken: "has already been taken" |
|
113 | taken: "has already been taken" | |
114 | not_a_number: "is not a number" |
|
114 | not_a_number: "is not a number" | |
115 | not_a_date: "is not a valid date" |
|
115 | not_a_date: "is not a valid date" | |
116 | greater_than: "must be greater than %{count}" |
|
116 | greater_than: "must be greater than %{count}" | |
117 | greater_than_or_equal_to: "must be greater than or equal to %{count}" |
|
117 | greater_than_or_equal_to: "must be greater than or equal to %{count}" | |
118 | equal_to: "must be equal to %{count}" |
|
118 | equal_to: "must be equal to %{count}" | |
119 | less_than: "must be less than %{count}" |
|
119 | less_than: "must be less than %{count}" | |
120 | less_than_or_equal_to: "must be less than or equal to %{count}" |
|
120 | less_than_or_equal_to: "must be less than or equal to %{count}" | |
121 | odd: "must be odd" |
|
121 | odd: "must be odd" | |
122 | even: "must be even" |
|
122 | even: "must be even" | |
123 | greater_than_start_date: "must be greater than start date" |
|
123 | greater_than_start_date: "must be greater than start date" | |
124 | not_same_project: "doesn't belong to the same project" |
|
124 | not_same_project: "doesn't belong to the same project" | |
125 | circular_dependency: "This relation would create a circular dependency" |
|
125 | circular_dependency: "This relation would create a circular dependency" | |
126 | cant_link_an_issue_with_a_descendant: "An issue can not be linked to one of its subtasks" |
|
126 | cant_link_an_issue_with_a_descendant: "An issue can not be linked to one of its subtasks" | |
127 |
|
127 | |||
128 | actionview_instancetag_blank_option: Please select |
|
128 | actionview_instancetag_blank_option: Please select | |
129 |
|
129 | |||
130 | general_text_No: 'No' |
|
130 | general_text_No: 'No' | |
131 | general_text_Yes: 'Yes' |
|
131 | general_text_Yes: 'Yes' | |
132 | general_text_no: 'no' |
|
132 | general_text_no: 'no' | |
133 | general_text_yes: 'yes' |
|
133 | general_text_yes: 'yes' | |
134 | general_lang_name: 'English' |
|
134 | general_lang_name: 'English' | |
135 | general_csv_separator: ',' |
|
135 | general_csv_separator: ',' | |
136 | general_csv_decimal_separator: '.' |
|
136 | general_csv_decimal_separator: '.' | |
137 | general_csv_encoding: ISO-8859-1 |
|
137 | general_csv_encoding: ISO-8859-1 | |
138 | general_pdf_encoding: ISO-8859-1 |
|
138 | general_pdf_encoding: ISO-8859-1 | |
139 | general_first_day_of_week: '7' |
|
139 | general_first_day_of_week: '7' | |
140 |
|
140 | |||
141 | notice_account_updated: Account was successfully updated. |
|
141 | notice_account_updated: Account was successfully updated. | |
142 | notice_account_invalid_creditentials: Invalid user or password |
|
142 | notice_account_invalid_creditentials: Invalid user or password | |
143 | notice_account_password_updated: Password was successfully updated. |
|
143 | notice_account_password_updated: Password was successfully updated. | |
144 | notice_account_wrong_password: Wrong password |
|
144 | notice_account_wrong_password: Wrong password | |
145 | notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you. |
|
145 | notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you. | |
146 | notice_account_unknown_email: Unknown user. |
|
146 | notice_account_unknown_email: Unknown user. | |
147 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. |
|
147 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. | |
148 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. |
|
148 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. | |
149 | notice_account_activated: Your account has been activated. You can now log in. |
|
149 | notice_account_activated: Your account has been activated. You can now log in. | |
150 | notice_successful_create: Successful creation. |
|
150 | notice_successful_create: Successful creation. | |
151 | notice_successful_update: Successful update. |
|
151 | notice_successful_update: Successful update. | |
152 | notice_successful_delete: Successful deletion. |
|
152 | notice_successful_delete: Successful deletion. | |
153 | notice_successful_connection: Successful connection. |
|
153 | notice_successful_connection: Successful connection. | |
154 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. |
|
154 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. | |
155 | notice_locking_conflict: Data has been updated by another user. |
|
155 | notice_locking_conflict: Data has been updated by another user. | |
156 | notice_not_authorized: You are not authorized to access this page. |
|
156 | notice_not_authorized: You are not authorized to access this page. | |
157 | notice_not_authorized_archived_project: The project you're trying to access has been archived. |
|
157 | notice_not_authorized_archived_project: The project you're trying to access has been archived. | |
158 | notice_email_sent: "An email was sent to %{value}" |
|
158 | notice_email_sent: "An email was sent to %{value}" | |
159 | notice_email_error: "An error occurred while sending mail (%{value})" |
|
159 | notice_email_error: "An error occurred while sending mail (%{value})" | |
160 | notice_feeds_access_key_reseted: Your RSS access key was reset. |
|
160 | notice_feeds_access_key_reseted: Your RSS access key was reset. | |
161 | notice_api_access_key_reseted: Your API access key was reset. |
|
161 | notice_api_access_key_reseted: Your API access key was reset. | |
162 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." |
|
162 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." | |
163 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." |
|
163 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." | |
164 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." |
|
164 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." | |
165 | notice_account_pending: "Your account was created and is now pending administrator approval." |
|
165 | notice_account_pending: "Your account was created and is now pending administrator approval." | |
166 | notice_default_data_loaded: Default configuration successfully loaded. |
|
166 | notice_default_data_loaded: Default configuration successfully loaded. | |
167 | notice_unable_delete_version: Unable to delete version. |
|
167 | notice_unable_delete_version: Unable to delete version. | |
168 | notice_unable_delete_time_entry: Unable to delete time log entry. |
|
168 | notice_unable_delete_time_entry: Unable to delete time log entry. | |
169 | notice_issue_done_ratios_updated: Issue done ratios updated. |
|
169 | notice_issue_done_ratios_updated: Issue done ratios updated. | |
170 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" |
|
170 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" | |
171 |
|
171 | |||
172 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" |
|
172 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" | |
173 | error_scm_not_found: "The entry or revision was not found in the repository." |
|
173 | error_scm_not_found: "The entry or revision was not found in the repository." | |
174 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" |
|
174 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" | |
175 | error_scm_annotate: "The entry does not exist or can not be annotated." |
|
175 | error_scm_annotate: "The entry does not exist or can not be annotated." | |
176 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' |
|
176 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' | |
177 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' |
|
177 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' | |
178 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' |
|
178 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' | |
179 | error_can_not_delete_custom_field: Unable to delete custom field |
|
179 | error_can_not_delete_custom_field: Unable to delete custom field | |
180 | error_can_not_delete_tracker: "This tracker contains issues and can't be deleted." |
|
180 | error_can_not_delete_tracker: "This tracker contains issues and can't be deleted." | |
181 | error_can_not_remove_role: "This role is in use and can not be deleted." |
|
181 | error_can_not_remove_role: "This role is in use and can not be deleted." | |
182 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version can not be reopened' |
|
182 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version can not be reopened' | |
183 | error_can_not_archive_project: This project can not be archived |
|
183 | error_can_not_archive_project: This project can not be archived | |
184 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." |
|
184 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." | |
185 | error_workflow_copy_source: 'Please select a source tracker or role' |
|
185 | error_workflow_copy_source: 'Please select a source tracker or role' | |
186 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' |
|
186 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' | |
187 | error_unable_delete_issue_status: 'Unable to delete issue status' |
|
187 | error_unable_delete_issue_status: 'Unable to delete issue status' | |
188 | error_unable_to_connect: "Unable to connect (%{value})" |
|
188 | error_unable_to_connect: "Unable to connect (%{value})" | |
189 | warning_attachments_not_saved: "%{count} file(s) could not be saved." |
|
189 | warning_attachments_not_saved: "%{count} file(s) could not be saved." | |
190 |
|
190 | |||
191 | mail_subject_lost_password: "Your %{value} password" |
|
191 | mail_subject_lost_password: "Your %{value} password" | |
192 | mail_body_lost_password: 'To change your password, click on the following link:' |
|
192 | mail_body_lost_password: 'To change your password, click on the following link:' | |
193 | mail_subject_register: "Your %{value} account activation" |
|
193 | mail_subject_register: "Your %{value} account activation" | |
194 | mail_body_register: 'To activate your account, click on the following link:' |
|
194 | mail_body_register: 'To activate your account, click on the following link:' | |
195 | mail_body_account_information_external: "You can use your %{value} account to log in." |
|
195 | mail_body_account_information_external: "You can use your %{value} account to log in." | |
196 | mail_body_account_information: Your account information |
|
196 | mail_body_account_information: Your account information | |
197 | mail_subject_account_activation_request: "%{value} account activation request" |
|
197 | mail_subject_account_activation_request: "%{value} account activation request" | |
198 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" |
|
198 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" | |
199 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" |
|
199 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" | |
200 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" |
|
200 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" | |
201 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" |
|
201 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" | |
202 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." |
|
202 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." | |
203 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" |
|
203 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" | |
204 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." |
|
204 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." | |
205 |
|
205 | |||
206 | gui_validation_error: 1 error |
|
206 | gui_validation_error: 1 error | |
207 | gui_validation_error_plural: "%{count} errors" |
|
207 | gui_validation_error_plural: "%{count} errors" | |
208 |
|
208 | |||
209 | field_name: Name |
|
209 | field_name: Name | |
210 | field_description: Description |
|
210 | field_description: Description | |
211 | field_summary: Summary |
|
211 | field_summary: Summary | |
212 | field_is_required: Required |
|
212 | field_is_required: Required | |
213 | field_firstname: Firstname |
|
213 | field_firstname: Firstname | |
214 | field_lastname: Lastname |
|
214 | field_lastname: Lastname | |
215 | field_mail: Email |
|
215 | field_mail: Email | |
216 | field_filename: File |
|
216 | field_filename: File | |
217 | field_filesize: Size |
|
217 | field_filesize: Size | |
218 | field_downloads: Downloads |
|
218 | field_downloads: Downloads | |
219 | field_author: Author |
|
219 | field_author: Author | |
220 | field_created_on: Created |
|
220 | field_created_on: Created | |
221 | field_updated_on: Updated |
|
221 | field_updated_on: Updated | |
222 | field_field_format: Format |
|
222 | field_field_format: Format | |
223 | field_is_for_all: For all projects |
|
223 | field_is_for_all: For all projects | |
224 | field_possible_values: Possible values |
|
224 | field_possible_values: Possible values | |
225 | field_regexp: Regular expression |
|
225 | field_regexp: Regular expression | |
226 | field_min_length: Minimum length |
|
226 | field_min_length: Minimum length | |
227 | field_max_length: Maximum length |
|
227 | field_max_length: Maximum length | |
228 | field_value: Value |
|
228 | field_value: Value | |
229 | field_category: Category |
|
229 | field_category: Category | |
230 | field_title: Title |
|
230 | field_title: Title | |
231 | field_project: Project |
|
231 | field_project: Project | |
232 | field_issue: Issue |
|
232 | field_issue: Issue | |
233 | field_status: Status |
|
233 | field_status: Status | |
234 | field_notes: Notes |
|
234 | field_notes: Notes | |
235 | field_is_closed: Issue closed |
|
235 | field_is_closed: Issue closed | |
236 | field_is_default: Default value |
|
236 | field_is_default: Default value | |
237 | field_tracker: Tracker |
|
237 | field_tracker: Tracker | |
238 | field_subject: Subject |
|
238 | field_subject: Subject | |
239 | field_due_date: Due date |
|
239 | field_due_date: Due date | |
240 | field_assigned_to: Assignee |
|
240 | field_assigned_to: Assignee | |
241 | field_priority: Priority |
|
241 | field_priority: Priority | |
242 | field_fixed_version: Target version |
|
242 | field_fixed_version: Target version | |
243 | field_user: User |
|
243 | field_user: User | |
244 | field_principal: Principal |
|
244 | field_principal: Principal | |
245 | field_role: Role |
|
245 | field_role: Role | |
246 | field_homepage: Homepage |
|
246 | field_homepage: Homepage | |
247 | field_is_public: Public |
|
247 | field_is_public: Public | |
248 | field_parent: Subproject of |
|
248 | field_parent: Subproject of | |
249 | field_is_in_roadmap: Issues displayed in roadmap |
|
249 | field_is_in_roadmap: Issues displayed in roadmap | |
250 | field_login: Login |
|
250 | field_login: Login | |
251 | field_mail_notification: Email notifications |
|
251 | field_mail_notification: Email notifications | |
252 | field_admin: Administrator |
|
252 | field_admin: Administrator | |
253 | field_last_login_on: Last connection |
|
253 | field_last_login_on: Last connection | |
254 | field_language: Language |
|
254 | field_language: Language | |
255 | field_effective_date: Date |
|
255 | field_effective_date: Date | |
256 | field_password: Password |
|
256 | field_password: Password | |
257 | field_new_password: New password |
|
257 | field_new_password: New password | |
258 | field_password_confirmation: Confirmation |
|
258 | field_password_confirmation: Confirmation | |
259 | field_version: Version |
|
259 | field_version: Version | |
260 | field_type: Type |
|
260 | field_type: Type | |
261 | field_host: Host |
|
261 | field_host: Host | |
262 | field_port: Port |
|
262 | field_port: Port | |
263 | field_account: Account |
|
263 | field_account: Account | |
264 | field_base_dn: Base DN |
|
264 | field_base_dn: Base DN | |
265 | field_attr_login: Login attribute |
|
265 | field_attr_login: Login attribute | |
266 | field_attr_firstname: Firstname attribute |
|
266 | field_attr_firstname: Firstname attribute | |
267 | field_attr_lastname: Lastname attribute |
|
267 | field_attr_lastname: Lastname attribute | |
268 | field_attr_mail: Email attribute |
|
268 | field_attr_mail: Email attribute | |
269 | field_onthefly: On-the-fly user creation |
|
269 | field_onthefly: On-the-fly user creation | |
270 | field_start_date: Start date |
|
270 | field_start_date: Start date | |
271 | field_done_ratio: % Done |
|
271 | field_done_ratio: % Done | |
272 | field_auth_source: Authentication mode |
|
272 | field_auth_source: Authentication mode | |
273 | field_hide_mail: Hide my email address |
|
273 | field_hide_mail: Hide my email address | |
274 | field_comments: Comment |
|
274 | field_comments: Comment | |
275 | field_url: URL |
|
275 | field_url: URL | |
276 | field_start_page: Start page |
|
276 | field_start_page: Start page | |
277 | field_subproject: Subproject |
|
277 | field_subproject: Subproject | |
278 | field_hours: Hours |
|
278 | field_hours: Hours | |
279 | field_activity: Activity |
|
279 | field_activity: Activity | |
280 | field_spent_on: Date |
|
280 | field_spent_on: Date | |
281 | field_identifier: Identifier |
|
281 | field_identifier: Identifier | |
282 | field_is_filter: Used as a filter |
|
282 | field_is_filter: Used as a filter | |
283 | field_issue_to: Related issue |
|
283 | field_issue_to: Related issue | |
284 | field_delay: Delay |
|
284 | field_delay: Delay | |
285 | field_assignable: Issues can be assigned to this role |
|
285 | field_assignable: Issues can be assigned to this role | |
286 | field_redirect_existing_links: Redirect existing links |
|
286 | field_redirect_existing_links: Redirect existing links | |
287 | field_estimated_hours: Estimated time |
|
287 | field_estimated_hours: Estimated time | |
288 | field_column_names: Columns |
|
288 | field_column_names: Columns | |
289 | field_time_entries: Log time |
|
289 | field_time_entries: Log time | |
290 | field_time_zone: Time zone |
|
290 | field_time_zone: Time zone | |
291 | field_searchable: Searchable |
|
291 | field_searchable: Searchable | |
292 | field_default_value: Default value |
|
292 | field_default_value: Default value | |
293 | field_comments_sorting: Display comments |
|
293 | field_comments_sorting: Display comments | |
294 | field_parent_title: Parent page |
|
294 | field_parent_title: Parent page | |
295 | field_editable: Editable |
|
295 | field_editable: Editable | |
296 | field_watcher: Watcher |
|
296 | field_watcher: Watcher | |
297 | field_identity_url: OpenID URL |
|
297 | field_identity_url: OpenID URL | |
298 | field_content: Content |
|
298 | field_content: Content | |
299 | field_group_by: Group results by |
|
299 | field_group_by: Group results by | |
300 | field_sharing: Sharing |
|
300 | field_sharing: Sharing | |
301 | field_parent_issue: Parent task |
|
301 | field_parent_issue: Parent task | |
302 | field_member_of_group: "Assignee's group" |
|
302 | field_member_of_group: "Assignee's group" | |
303 | field_assigned_to_role: "Assignee's role" |
|
303 | field_assigned_to_role: "Assignee's role" | |
304 | field_text: Text field |
|
304 | field_text: Text field | |
305 | field_visible: Visible |
|
305 | field_visible: Visible | |
|
306 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" | |||
306 |
|
307 | |||
307 | setting_app_title: Application title |
|
308 | setting_app_title: Application title | |
308 | setting_app_subtitle: Application subtitle |
|
309 | setting_app_subtitle: Application subtitle | |
309 | setting_welcome_text: Welcome text |
|
310 | setting_welcome_text: Welcome text | |
310 | setting_default_language: Default language |
|
311 | setting_default_language: Default language | |
311 | setting_login_required: Authentication required |
|
312 | setting_login_required: Authentication required | |
312 | setting_self_registration: Self-registration |
|
313 | setting_self_registration: Self-registration | |
313 | setting_attachment_max_size: Attachment max. size |
|
314 | setting_attachment_max_size: Attachment max. size | |
314 | setting_issues_export_limit: Issues export limit |
|
315 | setting_issues_export_limit: Issues export limit | |
315 | setting_mail_from: Emission email address |
|
316 | setting_mail_from: Emission email address | |
316 | setting_bcc_recipients: Blind carbon copy recipients (bcc) |
|
317 | setting_bcc_recipients: Blind carbon copy recipients (bcc) | |
317 | setting_plain_text_mail: Plain text mail (no HTML) |
|
318 | setting_plain_text_mail: Plain text mail (no HTML) | |
318 | setting_host_name: Host name and path |
|
319 | setting_host_name: Host name and path | |
319 | setting_text_formatting: Text formatting |
|
320 | setting_text_formatting: Text formatting | |
320 | setting_wiki_compression: Wiki history compression |
|
321 | setting_wiki_compression: Wiki history compression | |
321 | setting_feeds_limit: Feed content limit |
|
322 | setting_feeds_limit: Feed content limit | |
322 | setting_default_projects_public: New projects are public by default |
|
323 | setting_default_projects_public: New projects are public by default | |
323 | setting_autofetch_changesets: Autofetch commits |
|
324 | setting_autofetch_changesets: Autofetch commits | |
324 | setting_sys_api_enabled: Enable WS for repository management |
|
325 | setting_sys_api_enabled: Enable WS for repository management | |
325 | setting_commit_ref_keywords: Referencing keywords |
|
326 | setting_commit_ref_keywords: Referencing keywords | |
326 | setting_commit_fix_keywords: Fixing keywords |
|
327 | setting_commit_fix_keywords: Fixing keywords | |
327 | setting_autologin: Autologin |
|
328 | setting_autologin: Autologin | |
328 | setting_date_format: Date format |
|
329 | setting_date_format: Date format | |
329 | setting_time_format: Time format |
|
330 | setting_time_format: Time format | |
330 | setting_cross_project_issue_relations: Allow cross-project issue relations |
|
331 | setting_cross_project_issue_relations: Allow cross-project issue relations | |
331 | setting_issue_list_default_columns: Default columns displayed on the issue list |
|
332 | setting_issue_list_default_columns: Default columns displayed on the issue list | |
332 | setting_repositories_encodings: Repositories encodings |
|
333 | setting_repositories_encodings: Repositories encodings | |
333 | setting_commit_logs_encoding: Commit messages encoding |
|
334 | setting_commit_logs_encoding: Commit messages encoding | |
334 | setting_emails_header: Emails header |
|
335 | setting_emails_header: Emails header | |
335 | setting_emails_footer: Emails footer |
|
336 | setting_emails_footer: Emails footer | |
336 | setting_protocol: Protocol |
|
337 | setting_protocol: Protocol | |
337 | setting_per_page_options: Objects per page options |
|
338 | setting_per_page_options: Objects per page options | |
338 | setting_user_format: Users display format |
|
339 | setting_user_format: Users display format | |
339 | setting_activity_days_default: Days displayed on project activity |
|
340 | setting_activity_days_default: Days displayed on project activity | |
340 | setting_display_subprojects_issues: Display subprojects issues on main projects by default |
|
341 | setting_display_subprojects_issues: Display subprojects issues on main projects by default | |
341 | setting_enabled_scm: Enabled SCM |
|
342 | setting_enabled_scm: Enabled SCM | |
342 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" |
|
343 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" | |
343 | setting_mail_handler_api_enabled: Enable WS for incoming emails |
|
344 | setting_mail_handler_api_enabled: Enable WS for incoming emails | |
344 | setting_mail_handler_api_key: API key |
|
345 | setting_mail_handler_api_key: API key | |
345 | setting_sequential_project_identifiers: Generate sequential project identifiers |
|
346 | setting_sequential_project_identifiers: Generate sequential project identifiers | |
346 | setting_gravatar_enabled: Use Gravatar user icons |
|
347 | setting_gravatar_enabled: Use Gravatar user icons | |
347 | setting_gravatar_default: Default Gravatar image |
|
348 | setting_gravatar_default: Default Gravatar image | |
348 | setting_diff_max_lines_displayed: Max number of diff lines displayed |
|
349 | setting_diff_max_lines_displayed: Max number of diff lines displayed | |
349 | setting_file_max_size_displayed: Max size of text files displayed inline |
|
350 | setting_file_max_size_displayed: Max size of text files displayed inline | |
350 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log |
|
351 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log | |
351 | setting_openid: Allow OpenID login and registration |
|
352 | setting_openid: Allow OpenID login and registration | |
352 | setting_password_min_length: Minimum password length |
|
353 | setting_password_min_length: Minimum password length | |
353 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project |
|
354 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project | |
354 | setting_default_projects_modules: Default enabled modules for new projects |
|
355 | setting_default_projects_modules: Default enabled modules for new projects | |
355 | setting_issue_done_ratio: Calculate the issue done ratio with |
|
356 | setting_issue_done_ratio: Calculate the issue done ratio with | |
356 | setting_issue_done_ratio_issue_field: Use the issue field |
|
357 | setting_issue_done_ratio_issue_field: Use the issue field | |
357 | setting_issue_done_ratio_issue_status: Use the issue status |
|
358 | setting_issue_done_ratio_issue_status: Use the issue status | |
358 | setting_start_of_week: Start calendars on |
|
359 | setting_start_of_week: Start calendars on | |
359 | setting_rest_api_enabled: Enable REST web service |
|
360 | setting_rest_api_enabled: Enable REST web service | |
360 | setting_cache_formatted_text: Cache formatted text |
|
361 | setting_cache_formatted_text: Cache formatted text | |
361 | setting_default_notification_option: Default notification option |
|
362 | setting_default_notification_option: Default notification option | |
362 | setting_commit_logtime_enabled: Enable time logging |
|
363 | setting_commit_logtime_enabled: Enable time logging | |
363 | setting_commit_logtime_activity_id: Activity for logged time |
|
364 | setting_commit_logtime_activity_id: Activity for logged time | |
364 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart |
|
365 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart | |
365 |
|
366 | |||
366 | permission_add_project: Create project |
|
367 | permission_add_project: Create project | |
367 | permission_add_subprojects: Create subprojects |
|
368 | permission_add_subprojects: Create subprojects | |
368 | permission_edit_project: Edit project |
|
369 | permission_edit_project: Edit project | |
369 | permission_select_project_modules: Select project modules |
|
370 | permission_select_project_modules: Select project modules | |
370 | permission_manage_members: Manage members |
|
371 | permission_manage_members: Manage members | |
371 | permission_manage_project_activities: Manage project activities |
|
372 | permission_manage_project_activities: Manage project activities | |
372 | permission_manage_versions: Manage versions |
|
373 | permission_manage_versions: Manage versions | |
373 | permission_manage_categories: Manage issue categories |
|
374 | permission_manage_categories: Manage issue categories | |
374 | permission_view_issues: View Issues |
|
375 | permission_view_issues: View Issues | |
375 | permission_add_issues: Add issues |
|
376 | permission_add_issues: Add issues | |
376 | permission_edit_issues: Edit issues |
|
377 | permission_edit_issues: Edit issues | |
377 | permission_manage_issue_relations: Manage issue relations |
|
378 | permission_manage_issue_relations: Manage issue relations | |
378 | permission_add_issue_notes: Add notes |
|
379 | permission_add_issue_notes: Add notes | |
379 | permission_edit_issue_notes: Edit notes |
|
380 | permission_edit_issue_notes: Edit notes | |
380 | permission_edit_own_issue_notes: Edit own notes |
|
381 | permission_edit_own_issue_notes: Edit own notes | |
381 | permission_move_issues: Move issues |
|
382 | permission_move_issues: Move issues | |
382 | permission_delete_issues: Delete issues |
|
383 | permission_delete_issues: Delete issues | |
383 | permission_manage_public_queries: Manage public queries |
|
384 | permission_manage_public_queries: Manage public queries | |
384 | permission_save_queries: Save queries |
|
385 | permission_save_queries: Save queries | |
385 | permission_view_gantt: View gantt chart |
|
386 | permission_view_gantt: View gantt chart | |
386 | permission_view_calendar: View calendar |
|
387 | permission_view_calendar: View calendar | |
387 | permission_view_issue_watchers: View watchers list |
|
388 | permission_view_issue_watchers: View watchers list | |
388 | permission_add_issue_watchers: Add watchers |
|
389 | permission_add_issue_watchers: Add watchers | |
389 | permission_delete_issue_watchers: Delete watchers |
|
390 | permission_delete_issue_watchers: Delete watchers | |
390 | permission_log_time: Log spent time |
|
391 | permission_log_time: Log spent time | |
391 | permission_view_time_entries: View spent time |
|
392 | permission_view_time_entries: View spent time | |
392 | permission_edit_time_entries: Edit time logs |
|
393 | permission_edit_time_entries: Edit time logs | |
393 | permission_edit_own_time_entries: Edit own time logs |
|
394 | permission_edit_own_time_entries: Edit own time logs | |
394 | permission_manage_news: Manage news |
|
395 | permission_manage_news: Manage news | |
395 | permission_comment_news: Comment news |
|
396 | permission_comment_news: Comment news | |
396 | permission_manage_documents: Manage documents |
|
397 | permission_manage_documents: Manage documents | |
397 | permission_view_documents: View documents |
|
398 | permission_view_documents: View documents | |
398 | permission_manage_files: Manage files |
|
399 | permission_manage_files: Manage files | |
399 | permission_view_files: View files |
|
400 | permission_view_files: View files | |
400 | permission_manage_wiki: Manage wiki |
|
401 | permission_manage_wiki: Manage wiki | |
401 | permission_rename_wiki_pages: Rename wiki pages |
|
402 | permission_rename_wiki_pages: Rename wiki pages | |
402 | permission_delete_wiki_pages: Delete wiki pages |
|
403 | permission_delete_wiki_pages: Delete wiki pages | |
403 | permission_view_wiki_pages: View wiki |
|
404 | permission_view_wiki_pages: View wiki | |
404 | permission_view_wiki_edits: View wiki history |
|
405 | permission_view_wiki_edits: View wiki history | |
405 | permission_edit_wiki_pages: Edit wiki pages |
|
406 | permission_edit_wiki_pages: Edit wiki pages | |
406 | permission_delete_wiki_pages_attachments: Delete attachments |
|
407 | permission_delete_wiki_pages_attachments: Delete attachments | |
407 | permission_protect_wiki_pages: Protect wiki pages |
|
408 | permission_protect_wiki_pages: Protect wiki pages | |
408 | permission_manage_repository: Manage repository |
|
409 | permission_manage_repository: Manage repository | |
409 | permission_browse_repository: Browse repository |
|
410 | permission_browse_repository: Browse repository | |
410 | permission_view_changesets: View changesets |
|
411 | permission_view_changesets: View changesets | |
411 | permission_commit_access: Commit access |
|
412 | permission_commit_access: Commit access | |
412 | permission_manage_boards: Manage boards |
|
413 | permission_manage_boards: Manage boards | |
413 | permission_view_messages: View messages |
|
414 | permission_view_messages: View messages | |
414 | permission_add_messages: Post messages |
|
415 | permission_add_messages: Post messages | |
415 | permission_edit_messages: Edit messages |
|
416 | permission_edit_messages: Edit messages | |
416 | permission_edit_own_messages: Edit own messages |
|
417 | permission_edit_own_messages: Edit own messages | |
417 | permission_delete_messages: Delete messages |
|
418 | permission_delete_messages: Delete messages | |
418 | permission_delete_own_messages: Delete own messages |
|
419 | permission_delete_own_messages: Delete own messages | |
419 | permission_export_wiki_pages: Export wiki pages |
|
420 | permission_export_wiki_pages: Export wiki pages | |
420 | permission_manage_subtasks: Manage subtasks |
|
421 | permission_manage_subtasks: Manage subtasks | |
421 |
|
422 | |||
422 | project_module_issue_tracking: Issue tracking |
|
423 | project_module_issue_tracking: Issue tracking | |
423 | project_module_time_tracking: Time tracking |
|
424 | project_module_time_tracking: Time tracking | |
424 | project_module_news: News |
|
425 | project_module_news: News | |
425 | project_module_documents: Documents |
|
426 | project_module_documents: Documents | |
426 | project_module_files: Files |
|
427 | project_module_files: Files | |
427 | project_module_wiki: Wiki |
|
428 | project_module_wiki: Wiki | |
428 | project_module_repository: Repository |
|
429 | project_module_repository: Repository | |
429 | project_module_boards: Boards |
|
430 | project_module_boards: Boards | |
430 | project_module_calendar: Calendar |
|
431 | project_module_calendar: Calendar | |
431 | project_module_gantt: Gantt |
|
432 | project_module_gantt: Gantt | |
432 |
|
433 | |||
433 | label_user: User |
|
434 | label_user: User | |
434 | label_user_plural: Users |
|
435 | label_user_plural: Users | |
435 | label_user_new: New user |
|
436 | label_user_new: New user | |
436 | label_user_anonymous: Anonymous |
|
437 | label_user_anonymous: Anonymous | |
437 | label_project: Project |
|
438 | label_project: Project | |
438 | label_project_new: New project |
|
439 | label_project_new: New project | |
439 | label_project_plural: Projects |
|
440 | label_project_plural: Projects | |
440 | label_x_projects: |
|
441 | label_x_projects: | |
441 | zero: no projects |
|
442 | zero: no projects | |
442 | one: 1 project |
|
443 | one: 1 project | |
443 | other: "%{count} projects" |
|
444 | other: "%{count} projects" | |
444 | label_project_all: All Projects |
|
445 | label_project_all: All Projects | |
445 | label_project_latest: Latest projects |
|
446 | label_project_latest: Latest projects | |
446 | label_issue: Issue |
|
447 | label_issue: Issue | |
447 | label_issue_new: New issue |
|
448 | label_issue_new: New issue | |
448 | label_issue_plural: Issues |
|
449 | label_issue_plural: Issues | |
449 | label_issue_view_all: View all issues |
|
450 | label_issue_view_all: View all issues | |
450 | label_issues_by: "Issues by %{value}" |
|
451 | label_issues_by: "Issues by %{value}" | |
451 | label_issue_added: Issue added |
|
452 | label_issue_added: Issue added | |
452 | label_issue_updated: Issue updated |
|
453 | label_issue_updated: Issue updated | |
453 | label_document: Document |
|
454 | label_document: Document | |
454 | label_document_new: New document |
|
455 | label_document_new: New document | |
455 | label_document_plural: Documents |
|
456 | label_document_plural: Documents | |
456 | label_document_added: Document added |
|
457 | label_document_added: Document added | |
457 | label_role: Role |
|
458 | label_role: Role | |
458 | label_role_plural: Roles |
|
459 | label_role_plural: Roles | |
459 | label_role_new: New role |
|
460 | label_role_new: New role | |
460 | label_role_and_permissions: Roles and permissions |
|
461 | label_role_and_permissions: Roles and permissions | |
461 | label_member: Member |
|
462 | label_member: Member | |
462 | label_member_new: New member |
|
463 | label_member_new: New member | |
463 | label_member_plural: Members |
|
464 | label_member_plural: Members | |
464 | label_tracker: Tracker |
|
465 | label_tracker: Tracker | |
465 | label_tracker_plural: Trackers |
|
466 | label_tracker_plural: Trackers | |
466 | label_tracker_new: New tracker |
|
467 | label_tracker_new: New tracker | |
467 | label_workflow: Workflow |
|
468 | label_workflow: Workflow | |
468 | label_issue_status: Issue status |
|
469 | label_issue_status: Issue status | |
469 | label_issue_status_plural: Issue statuses |
|
470 | label_issue_status_plural: Issue statuses | |
470 | label_issue_status_new: New status |
|
471 | label_issue_status_new: New status | |
471 | label_issue_category: Issue category |
|
472 | label_issue_category: Issue category | |
472 | label_issue_category_plural: Issue categories |
|
473 | label_issue_category_plural: Issue categories | |
473 | label_issue_category_new: New category |
|
474 | label_issue_category_new: New category | |
474 | label_custom_field: Custom field |
|
475 | label_custom_field: Custom field | |
475 | label_custom_field_plural: Custom fields |
|
476 | label_custom_field_plural: Custom fields | |
476 | label_custom_field_new: New custom field |
|
477 | label_custom_field_new: New custom field | |
477 | label_enumerations: Enumerations |
|
478 | label_enumerations: Enumerations | |
478 | label_enumeration_new: New value |
|
479 | label_enumeration_new: New value | |
479 | label_information: Information |
|
480 | label_information: Information | |
480 | label_information_plural: Information |
|
481 | label_information_plural: Information | |
481 | label_please_login: Please log in |
|
482 | label_please_login: Please log in | |
482 | label_register: Register |
|
483 | label_register: Register | |
483 | label_login_with_open_id_option: or login with OpenID |
|
484 | label_login_with_open_id_option: or login with OpenID | |
484 | label_password_lost: Lost password |
|
485 | label_password_lost: Lost password | |
485 | label_home: Home |
|
486 | label_home: Home | |
486 | label_my_page: My page |
|
487 | label_my_page: My page | |
487 | label_my_account: My account |
|
488 | label_my_account: My account | |
488 | label_my_projects: My projects |
|
489 | label_my_projects: My projects | |
489 | label_my_page_block: My page block |
|
490 | label_my_page_block: My page block | |
490 | label_administration: Administration |
|
491 | label_administration: Administration | |
491 | label_login: Sign in |
|
492 | label_login: Sign in | |
492 | label_logout: Sign out |
|
493 | label_logout: Sign out | |
493 | label_help: Help |
|
494 | label_help: Help | |
494 | label_reported_issues: Reported issues |
|
495 | label_reported_issues: Reported issues | |
495 | label_assigned_to_me_issues: Issues assigned to me |
|
496 | label_assigned_to_me_issues: Issues assigned to me | |
496 | label_last_login: Last connection |
|
497 | label_last_login: Last connection | |
497 | label_registered_on: Registered on |
|
498 | label_registered_on: Registered on | |
498 | label_activity: Activity |
|
499 | label_activity: Activity | |
499 | label_overall_activity: Overall activity |
|
500 | label_overall_activity: Overall activity | |
500 | label_user_activity: "%{value}'s activity" |
|
501 | label_user_activity: "%{value}'s activity" | |
501 | label_new: New |
|
502 | label_new: New | |
502 | label_logged_as: Logged in as |
|
503 | label_logged_as: Logged in as | |
503 | label_environment: Environment |
|
504 | label_environment: Environment | |
504 | label_authentication: Authentication |
|
505 | label_authentication: Authentication | |
505 | label_auth_source: Authentication mode |
|
506 | label_auth_source: Authentication mode | |
506 | label_auth_source_new: New authentication mode |
|
507 | label_auth_source_new: New authentication mode | |
507 | label_auth_source_plural: Authentication modes |
|
508 | label_auth_source_plural: Authentication modes | |
508 | label_subproject_plural: Subprojects |
|
509 | label_subproject_plural: Subprojects | |
509 | label_subproject_new: New subproject |
|
510 | label_subproject_new: New subproject | |
510 | label_and_its_subprojects: "%{value} and its subprojects" |
|
511 | label_and_its_subprojects: "%{value} and its subprojects" | |
511 | label_min_max_length: Min - Max length |
|
512 | label_min_max_length: Min - Max length | |
512 | label_list: List |
|
513 | label_list: List | |
513 | label_date: Date |
|
514 | label_date: Date | |
514 | label_integer: Integer |
|
515 | label_integer: Integer | |
515 | label_float: Float |
|
516 | label_float: Float | |
516 | label_boolean: Boolean |
|
517 | label_boolean: Boolean | |
517 | label_string: Text |
|
518 | label_string: Text | |
518 | label_text: Long text |
|
519 | label_text: Long text | |
519 | label_attribute: Attribute |
|
520 | label_attribute: Attribute | |
520 | label_attribute_plural: Attributes |
|
521 | label_attribute_plural: Attributes | |
521 | label_download: "%{count} Download" |
|
522 | label_download: "%{count} Download" | |
522 | label_download_plural: "%{count} Downloads" |
|
523 | label_download_plural: "%{count} Downloads" | |
523 | label_no_data: No data to display |
|
524 | label_no_data: No data to display | |
524 | label_change_status: Change status |
|
525 | label_change_status: Change status | |
525 | label_history: History |
|
526 | label_history: History | |
526 | label_attachment: File |
|
527 | label_attachment: File | |
527 | label_attachment_new: New file |
|
528 | label_attachment_new: New file | |
528 | label_attachment_delete: Delete file |
|
529 | label_attachment_delete: Delete file | |
529 | label_attachment_plural: Files |
|
530 | label_attachment_plural: Files | |
530 | label_file_added: File added |
|
531 | label_file_added: File added | |
531 | label_report: Report |
|
532 | label_report: Report | |
532 | label_report_plural: Reports |
|
533 | label_report_plural: Reports | |
533 | label_news: News |
|
534 | label_news: News | |
534 | label_news_new: Add news |
|
535 | label_news_new: Add news | |
535 | label_news_plural: News |
|
536 | label_news_plural: News | |
536 | label_news_latest: Latest news |
|
537 | label_news_latest: Latest news | |
537 | label_news_view_all: View all news |
|
538 | label_news_view_all: View all news | |
538 | label_news_added: News added |
|
539 | label_news_added: News added | |
539 | label_settings: Settings |
|
540 | label_settings: Settings | |
540 | label_overview: Overview |
|
541 | label_overview: Overview | |
541 | label_version: Version |
|
542 | label_version: Version | |
542 | label_version_new: New version |
|
543 | label_version_new: New version | |
543 | label_version_plural: Versions |
|
544 | label_version_plural: Versions | |
544 | label_close_versions: Close completed versions |
|
545 | label_close_versions: Close completed versions | |
545 | label_confirmation: Confirmation |
|
546 | label_confirmation: Confirmation | |
546 | label_export_to: 'Also available in:' |
|
547 | label_export_to: 'Also available in:' | |
547 | label_read: Read... |
|
548 | label_read: Read... | |
548 | label_public_projects: Public projects |
|
549 | label_public_projects: Public projects | |
549 | label_open_issues: open |
|
550 | label_open_issues: open | |
550 | label_open_issues_plural: open |
|
551 | label_open_issues_plural: open | |
551 | label_closed_issues: closed |
|
552 | label_closed_issues: closed | |
552 | label_closed_issues_plural: closed |
|
553 | label_closed_issues_plural: closed | |
553 | label_x_open_issues_abbr_on_total: |
|
554 | label_x_open_issues_abbr_on_total: | |
554 | zero: 0 open / %{total} |
|
555 | zero: 0 open / %{total} | |
555 | one: 1 open / %{total} |
|
556 | one: 1 open / %{total} | |
556 | other: "%{count} open / %{total}" |
|
557 | other: "%{count} open / %{total}" | |
557 | label_x_open_issues_abbr: |
|
558 | label_x_open_issues_abbr: | |
558 | zero: 0 open |
|
559 | zero: 0 open | |
559 | one: 1 open |
|
560 | one: 1 open | |
560 | other: "%{count} open" |
|
561 | other: "%{count} open" | |
561 | label_x_closed_issues_abbr: |
|
562 | label_x_closed_issues_abbr: | |
562 | zero: 0 closed |
|
563 | zero: 0 closed | |
563 | one: 1 closed |
|
564 | one: 1 closed | |
564 | other: "%{count} closed" |
|
565 | other: "%{count} closed" | |
565 | label_total: Total |
|
566 | label_total: Total | |
566 | label_permissions: Permissions |
|
567 | label_permissions: Permissions | |
567 | label_current_status: Current status |
|
568 | label_current_status: Current status | |
568 | label_new_statuses_allowed: New statuses allowed |
|
569 | label_new_statuses_allowed: New statuses allowed | |
569 | label_all: all |
|
570 | label_all: all | |
570 | label_none: none |
|
571 | label_none: none | |
571 | label_nobody: nobody |
|
572 | label_nobody: nobody | |
572 | label_next: Next |
|
573 | label_next: Next | |
573 | label_previous: Previous |
|
574 | label_previous: Previous | |
574 | label_used_by: Used by |
|
575 | label_used_by: Used by | |
575 | label_details: Details |
|
576 | label_details: Details | |
576 | label_add_note: Add a note |
|
577 | label_add_note: Add a note | |
577 | label_per_page: Per page |
|
578 | label_per_page: Per page | |
578 | label_calendar: Calendar |
|
579 | label_calendar: Calendar | |
579 | label_months_from: months from |
|
580 | label_months_from: months from | |
580 | label_gantt: Gantt |
|
581 | label_gantt: Gantt | |
581 | label_internal: Internal |
|
582 | label_internal: Internal | |
582 | label_last_changes: "last %{count} changes" |
|
583 | label_last_changes: "last %{count} changes" | |
583 | label_change_view_all: View all changes |
|
584 | label_change_view_all: View all changes | |
584 | label_personalize_page: Personalize this page |
|
585 | label_personalize_page: Personalize this page | |
585 | label_comment: Comment |
|
586 | label_comment: Comment | |
586 | label_comment_plural: Comments |
|
587 | label_comment_plural: Comments | |
587 | label_x_comments: |
|
588 | label_x_comments: | |
588 | zero: no comments |
|
589 | zero: no comments | |
589 | one: 1 comment |
|
590 | one: 1 comment | |
590 | other: "%{count} comments" |
|
591 | other: "%{count} comments" | |
591 | label_comment_add: Add a comment |
|
592 | label_comment_add: Add a comment | |
592 | label_comment_added: Comment added |
|
593 | label_comment_added: Comment added | |
593 | label_comment_delete: Delete comments |
|
594 | label_comment_delete: Delete comments | |
594 | label_query: Custom query |
|
595 | label_query: Custom query | |
595 | label_query_plural: Custom queries |
|
596 | label_query_plural: Custom queries | |
596 | label_query_new: New query |
|
597 | label_query_new: New query | |
597 | label_filter_add: Add filter |
|
598 | label_filter_add: Add filter | |
598 | label_filter_plural: Filters |
|
599 | label_filter_plural: Filters | |
599 | label_equals: is |
|
600 | label_equals: is | |
600 | label_not_equals: is not |
|
601 | label_not_equals: is not | |
601 | label_in_less_than: in less than |
|
602 | label_in_less_than: in less than | |
602 | label_in_more_than: in more than |
|
603 | label_in_more_than: in more than | |
603 | label_greater_or_equal: '>=' |
|
604 | label_greater_or_equal: '>=' | |
604 | label_less_or_equal: '<=' |
|
605 | label_less_or_equal: '<=' | |
605 | label_in: in |
|
606 | label_in: in | |
606 | label_today: today |
|
607 | label_today: today | |
607 | label_all_time: all time |
|
608 | label_all_time: all time | |
608 | label_yesterday: yesterday |
|
609 | label_yesterday: yesterday | |
609 | label_this_week: this week |
|
610 | label_this_week: this week | |
610 | label_last_week: last week |
|
611 | label_last_week: last week | |
611 | label_last_n_days: "last %{count} days" |
|
612 | label_last_n_days: "last %{count} days" | |
612 | label_this_month: this month |
|
613 | label_this_month: this month | |
613 | label_last_month: last month |
|
614 | label_last_month: last month | |
614 | label_this_year: this year |
|
615 | label_this_year: this year | |
615 | label_date_range: Date range |
|
616 | label_date_range: Date range | |
616 | label_less_than_ago: less than days ago |
|
617 | label_less_than_ago: less than days ago | |
617 | label_more_than_ago: more than days ago |
|
618 | label_more_than_ago: more than days ago | |
618 | label_ago: days ago |
|
619 | label_ago: days ago | |
619 | label_contains: contains |
|
620 | label_contains: contains | |
620 | label_not_contains: doesn't contain |
|
621 | label_not_contains: doesn't contain | |
621 | label_day_plural: days |
|
622 | label_day_plural: days | |
622 | label_repository: Repository |
|
623 | label_repository: Repository | |
623 | label_repository_plural: Repositories |
|
624 | label_repository_plural: Repositories | |
624 | label_browse: Browse |
|
625 | label_browse: Browse | |
625 | label_modification: "%{count} change" |
|
626 | label_modification: "%{count} change" | |
626 | label_modification_plural: "%{count} changes" |
|
627 | label_modification_plural: "%{count} changes" | |
627 | label_branch: Branch |
|
628 | label_branch: Branch | |
628 | label_tag: Tag |
|
629 | label_tag: Tag | |
629 | label_revision: Revision |
|
630 | label_revision: Revision | |
630 | label_revision_plural: Revisions |
|
631 | label_revision_plural: Revisions | |
631 | label_revision_id: "Revision %{value}" |
|
632 | label_revision_id: "Revision %{value}" | |
632 | label_associated_revisions: Associated revisions |
|
633 | label_associated_revisions: Associated revisions | |
633 | label_added: added |
|
634 | label_added: added | |
634 | label_modified: modified |
|
635 | label_modified: modified | |
635 | label_copied: copied |
|
636 | label_copied: copied | |
636 | label_renamed: renamed |
|
637 | label_renamed: renamed | |
637 | label_deleted: deleted |
|
638 | label_deleted: deleted | |
638 | label_latest_revision: Latest revision |
|
639 | label_latest_revision: Latest revision | |
639 | label_latest_revision_plural: Latest revisions |
|
640 | label_latest_revision_plural: Latest revisions | |
640 | label_view_revisions: View revisions |
|
641 | label_view_revisions: View revisions | |
641 | label_view_all_revisions: View all revisions |
|
642 | label_view_all_revisions: View all revisions | |
642 | label_max_size: Maximum size |
|
643 | label_max_size: Maximum size | |
643 | label_sort_highest: Move to top |
|
644 | label_sort_highest: Move to top | |
644 | label_sort_higher: Move up |
|
645 | label_sort_higher: Move up | |
645 | label_sort_lower: Move down |
|
646 | label_sort_lower: Move down | |
646 | label_sort_lowest: Move to bottom |
|
647 | label_sort_lowest: Move to bottom | |
647 | label_roadmap: Roadmap |
|
648 | label_roadmap: Roadmap | |
648 | label_roadmap_due_in: "Due in %{value}" |
|
649 | label_roadmap_due_in: "Due in %{value}" | |
649 | label_roadmap_overdue: "%{value} late" |
|
650 | label_roadmap_overdue: "%{value} late" | |
650 | label_roadmap_no_issues: No issues for this version |
|
651 | label_roadmap_no_issues: No issues for this version | |
651 | label_search: Search |
|
652 | label_search: Search | |
652 | label_result_plural: Results |
|
653 | label_result_plural: Results | |
653 | label_all_words: All words |
|
654 | label_all_words: All words | |
654 | label_wiki: Wiki |
|
655 | label_wiki: Wiki | |
655 | label_wiki_edit: Wiki edit |
|
656 | label_wiki_edit: Wiki edit | |
656 | label_wiki_edit_plural: Wiki edits |
|
657 | label_wiki_edit_plural: Wiki edits | |
657 | label_wiki_page: Wiki page |
|
658 | label_wiki_page: Wiki page | |
658 | label_wiki_page_plural: Wiki pages |
|
659 | label_wiki_page_plural: Wiki pages | |
659 | label_index_by_title: Index by title |
|
660 | label_index_by_title: Index by title | |
660 | label_index_by_date: Index by date |
|
661 | label_index_by_date: Index by date | |
661 | label_current_version: Current version |
|
662 | label_current_version: Current version | |
662 | label_preview: Preview |
|
663 | label_preview: Preview | |
663 | label_feed_plural: Feeds |
|
664 | label_feed_plural: Feeds | |
664 | label_changes_details: Details of all changes |
|
665 | label_changes_details: Details of all changes | |
665 | label_issue_tracking: Issue tracking |
|
666 | label_issue_tracking: Issue tracking | |
666 | label_spent_time: Spent time |
|
667 | label_spent_time: Spent time | |
667 | label_overall_spent_time: Overall spent time |
|
668 | label_overall_spent_time: Overall spent time | |
668 | label_f_hour: "%{value} hour" |
|
669 | label_f_hour: "%{value} hour" | |
669 | label_f_hour_plural: "%{value} hours" |
|
670 | label_f_hour_plural: "%{value} hours" | |
670 | label_time_tracking: Time tracking |
|
671 | label_time_tracking: Time tracking | |
671 | label_change_plural: Changes |
|
672 | label_change_plural: Changes | |
672 | label_statistics: Statistics |
|
673 | label_statistics: Statistics | |
673 | label_commits_per_month: Commits per month |
|
674 | label_commits_per_month: Commits per month | |
674 | label_commits_per_author: Commits per author |
|
675 | label_commits_per_author: Commits per author | |
675 | label_view_diff: View differences |
|
676 | label_view_diff: View differences | |
676 | label_diff_inline: inline |
|
677 | label_diff_inline: inline | |
677 | label_diff_side_by_side: side by side |
|
678 | label_diff_side_by_side: side by side | |
678 | label_options: Options |
|
679 | label_options: Options | |
679 | label_copy_workflow_from: Copy workflow from |
|
680 | label_copy_workflow_from: Copy workflow from | |
680 | label_permissions_report: Permissions report |
|
681 | label_permissions_report: Permissions report | |
681 | label_watched_issues: Watched issues |
|
682 | label_watched_issues: Watched issues | |
682 | label_related_issues: Related issues |
|
683 | label_related_issues: Related issues | |
683 | label_applied_status: Applied status |
|
684 | label_applied_status: Applied status | |
684 | label_loading: Loading... |
|
685 | label_loading: Loading... | |
685 | label_relation_new: New relation |
|
686 | label_relation_new: New relation | |
686 | label_relation_delete: Delete relation |
|
687 | label_relation_delete: Delete relation | |
687 | label_relates_to: related to |
|
688 | label_relates_to: related to | |
688 | label_duplicates: duplicates |
|
689 | label_duplicates: duplicates | |
689 | label_duplicated_by: duplicated by |
|
690 | label_duplicated_by: duplicated by | |
690 | label_blocks: blocks |
|
691 | label_blocks: blocks | |
691 | label_blocked_by: blocked by |
|
692 | label_blocked_by: blocked by | |
692 | label_precedes: precedes |
|
693 | label_precedes: precedes | |
693 | label_follows: follows |
|
694 | label_follows: follows | |
694 | label_end_to_start: end to start |
|
695 | label_end_to_start: end to start | |
695 | label_end_to_end: end to end |
|
696 | label_end_to_end: end to end | |
696 | label_start_to_start: start to start |
|
697 | label_start_to_start: start to start | |
697 | label_start_to_end: start to end |
|
698 | label_start_to_end: start to end | |
698 | label_stay_logged_in: Stay logged in |
|
699 | label_stay_logged_in: Stay logged in | |
699 | label_disabled: disabled |
|
700 | label_disabled: disabled | |
700 | label_show_completed_versions: Show completed versions |
|
701 | label_show_completed_versions: Show completed versions | |
701 | label_me: me |
|
702 | label_me: me | |
702 | label_board: Forum |
|
703 | label_board: Forum | |
703 | label_board_new: New forum |
|
704 | label_board_new: New forum | |
704 | label_board_plural: Forums |
|
705 | label_board_plural: Forums | |
705 | label_board_locked: Locked |
|
706 | label_board_locked: Locked | |
706 | label_board_sticky: Sticky |
|
707 | label_board_sticky: Sticky | |
707 | label_topic_plural: Topics |
|
708 | label_topic_plural: Topics | |
708 | label_message_plural: Messages |
|
709 | label_message_plural: Messages | |
709 | label_message_last: Last message |
|
710 | label_message_last: Last message | |
710 | label_message_new: New message |
|
711 | label_message_new: New message | |
711 | label_message_posted: Message added |
|
712 | label_message_posted: Message added | |
712 | label_reply_plural: Replies |
|
713 | label_reply_plural: Replies | |
713 | label_send_information: Send account information to the user |
|
714 | label_send_information: Send account information to the user | |
714 | label_year: Year |
|
715 | label_year: Year | |
715 | label_month: Month |
|
716 | label_month: Month | |
716 | label_week: Week |
|
717 | label_week: Week | |
717 | label_date_from: From |
|
718 | label_date_from: From | |
718 | label_date_to: To |
|
719 | label_date_to: To | |
719 | label_language_based: Based on user's language |
|
720 | label_language_based: Based on user's language | |
720 | label_sort_by: "Sort by %{value}" |
|
721 | label_sort_by: "Sort by %{value}" | |
721 | label_send_test_email: Send a test email |
|
722 | label_send_test_email: Send a test email | |
722 | label_feeds_access_key: RSS access key |
|
723 | label_feeds_access_key: RSS access key | |
723 | label_missing_feeds_access_key: Missing a RSS access key |
|
724 | label_missing_feeds_access_key: Missing a RSS access key | |
724 | label_feeds_access_key_created_on: "RSS access key created %{value} ago" |
|
725 | label_feeds_access_key_created_on: "RSS access key created %{value} ago" | |
725 | label_module_plural: Modules |
|
726 | label_module_plural: Modules | |
726 | label_added_time_by: "Added by %{author} %{age} ago" |
|
727 | label_added_time_by: "Added by %{author} %{age} ago" | |
727 | label_updated_time_by: "Updated by %{author} %{age} ago" |
|
728 | label_updated_time_by: "Updated by %{author} %{age} ago" | |
728 | label_updated_time: "Updated %{value} ago" |
|
729 | label_updated_time: "Updated %{value} ago" | |
729 | label_jump_to_a_project: Jump to a project... |
|
730 | label_jump_to_a_project: Jump to a project... | |
730 | label_file_plural: Files |
|
731 | label_file_plural: Files | |
731 | label_changeset_plural: Changesets |
|
732 | label_changeset_plural: Changesets | |
732 | label_default_columns: Default columns |
|
733 | label_default_columns: Default columns | |
733 | label_no_change_option: (No change) |
|
734 | label_no_change_option: (No change) | |
734 | label_bulk_edit_selected_issues: Bulk edit selected issues |
|
735 | label_bulk_edit_selected_issues: Bulk edit selected issues | |
735 | label_theme: Theme |
|
736 | label_theme: Theme | |
736 | label_default: Default |
|
737 | label_default: Default | |
737 | label_search_titles_only: Search titles only |
|
738 | label_search_titles_only: Search titles only | |
738 | label_user_mail_option_all: "For any event on all my projects" |
|
739 | label_user_mail_option_all: "For any event on all my projects" | |
739 | label_user_mail_option_selected: "For any event on the selected projects only..." |
|
740 | label_user_mail_option_selected: "For any event on the selected projects only..." | |
740 | label_user_mail_option_none: "No events" |
|
741 | label_user_mail_option_none: "No events" | |
741 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" |
|
742 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" | |
742 | label_user_mail_option_only_assigned: "Only for things I am assigned to" |
|
743 | label_user_mail_option_only_assigned: "Only for things I am assigned to" | |
743 | label_user_mail_option_only_owner: "Only for things I am the owner of" |
|
744 | label_user_mail_option_only_owner: "Only for things I am the owner of" | |
744 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" |
|
745 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" | |
745 | label_registration_activation_by_email: account activation by email |
|
746 | label_registration_activation_by_email: account activation by email | |
746 | label_registration_manual_activation: manual account activation |
|
747 | label_registration_manual_activation: manual account activation | |
747 | label_registration_automatic_activation: automatic account activation |
|
748 | label_registration_automatic_activation: automatic account activation | |
748 | label_display_per_page: "Per page: %{value}" |
|
749 | label_display_per_page: "Per page: %{value}" | |
749 | label_age: Age |
|
750 | label_age: Age | |
750 | label_change_properties: Change properties |
|
751 | label_change_properties: Change properties | |
751 | label_general: General |
|
752 | label_general: General | |
752 | label_more: More |
|
753 | label_more: More | |
753 | label_scm: SCM |
|
754 | label_scm: SCM | |
754 | label_plugins: Plugins |
|
755 | label_plugins: Plugins | |
755 | label_ldap_authentication: LDAP authentication |
|
756 | label_ldap_authentication: LDAP authentication | |
756 | label_downloads_abbr: D/L |
|
757 | label_downloads_abbr: D/L | |
757 | label_optional_description: Optional description |
|
758 | label_optional_description: Optional description | |
758 | label_add_another_file: Add another file |
|
759 | label_add_another_file: Add another file | |
759 | label_preferences: Preferences |
|
760 | label_preferences: Preferences | |
760 | label_chronological_order: In chronological order |
|
761 | label_chronological_order: In chronological order | |
761 | label_reverse_chronological_order: In reverse chronological order |
|
762 | label_reverse_chronological_order: In reverse chronological order | |
762 | label_planning: Planning |
|
763 | label_planning: Planning | |
763 | label_incoming_emails: Incoming emails |
|
764 | label_incoming_emails: Incoming emails | |
764 | label_generate_key: Generate a key |
|
765 | label_generate_key: Generate a key | |
765 | label_issue_watchers: Watchers |
|
766 | label_issue_watchers: Watchers | |
766 | label_example: Example |
|
767 | label_example: Example | |
767 | label_display: Display |
|
768 | label_display: Display | |
768 | label_sort: Sort |
|
769 | label_sort: Sort | |
769 | label_ascending: Ascending |
|
770 | label_ascending: Ascending | |
770 | label_descending: Descending |
|
771 | label_descending: Descending | |
771 | label_date_from_to: From %{start} to %{end} |
|
772 | label_date_from_to: From %{start} to %{end} | |
772 | label_wiki_content_added: Wiki page added |
|
773 | label_wiki_content_added: Wiki page added | |
773 | label_wiki_content_updated: Wiki page updated |
|
774 | label_wiki_content_updated: Wiki page updated | |
774 | label_group: Group |
|
775 | label_group: Group | |
775 | label_group_plural: Groups |
|
776 | label_group_plural: Groups | |
776 | label_group_new: New group |
|
777 | label_group_new: New group | |
777 | label_time_entry_plural: Spent time |
|
778 | label_time_entry_plural: Spent time | |
778 | label_version_sharing_none: Not shared |
|
779 | label_version_sharing_none: Not shared | |
779 | label_version_sharing_descendants: With subprojects |
|
780 | label_version_sharing_descendants: With subprojects | |
780 | label_version_sharing_hierarchy: With project hierarchy |
|
781 | label_version_sharing_hierarchy: With project hierarchy | |
781 | label_version_sharing_tree: With project tree |
|
782 | label_version_sharing_tree: With project tree | |
782 | label_version_sharing_system: With all projects |
|
783 | label_version_sharing_system: With all projects | |
783 | label_update_issue_done_ratios: Update issue done ratios |
|
784 | label_update_issue_done_ratios: Update issue done ratios | |
784 | label_copy_source: Source |
|
785 | label_copy_source: Source | |
785 | label_copy_target: Target |
|
786 | label_copy_target: Target | |
786 | label_copy_same_as_target: Same as target |
|
787 | label_copy_same_as_target: Same as target | |
787 | label_display_used_statuses_only: Only display statuses that are used by this tracker |
|
788 | label_display_used_statuses_only: Only display statuses that are used by this tracker | |
788 | label_api_access_key: API access key |
|
789 | label_api_access_key: API access key | |
789 | label_missing_api_access_key: Missing an API access key |
|
790 | label_missing_api_access_key: Missing an API access key | |
790 | label_api_access_key_created_on: "API access key created %{value} ago" |
|
791 | label_api_access_key_created_on: "API access key created %{value} ago" | |
791 | label_profile: Profile |
|
792 | label_profile: Profile | |
792 | label_subtask_plural: Subtasks |
|
793 | label_subtask_plural: Subtasks | |
793 | label_project_copy_notifications: Send email notifications during the project copy |
|
794 | label_project_copy_notifications: Send email notifications during the project copy | |
794 | label_principal_search: "Search for user or group:" |
|
795 | label_principal_search: "Search for user or group:" | |
795 | label_user_search: "Search for user:" |
|
796 | label_user_search: "Search for user:" | |
796 |
|
797 | |||
797 | button_login: Login |
|
798 | button_login: Login | |
798 | button_submit: Submit |
|
799 | button_submit: Submit | |
799 | button_save: Save |
|
800 | button_save: Save | |
800 | button_check_all: Check all |
|
801 | button_check_all: Check all | |
801 | button_uncheck_all: Uncheck all |
|
802 | button_uncheck_all: Uncheck all | |
802 | button_delete: Delete |
|
803 | button_delete: Delete | |
803 | button_create: Create |
|
804 | button_create: Create | |
804 | button_create_and_continue: Create and continue |
|
805 | button_create_and_continue: Create and continue | |
805 | button_test: Test |
|
806 | button_test: Test | |
806 | button_edit: Edit |
|
807 | button_edit: Edit | |
807 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" |
|
808 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" | |
808 | button_add: Add |
|
809 | button_add: Add | |
809 | button_change: Change |
|
810 | button_change: Change | |
810 | button_apply: Apply |
|
811 | button_apply: Apply | |
811 | button_clear: Clear |
|
812 | button_clear: Clear | |
812 | button_lock: Lock |
|
813 | button_lock: Lock | |
813 | button_unlock: Unlock |
|
814 | button_unlock: Unlock | |
814 | button_download: Download |
|
815 | button_download: Download | |
815 | button_list: List |
|
816 | button_list: List | |
816 | button_view: View |
|
817 | button_view: View | |
817 | button_move: Move |
|
818 | button_move: Move | |
818 | button_move_and_follow: Move and follow |
|
819 | button_move_and_follow: Move and follow | |
819 | button_back: Back |
|
820 | button_back: Back | |
820 | button_cancel: Cancel |
|
821 | button_cancel: Cancel | |
821 | button_activate: Activate |
|
822 | button_activate: Activate | |
822 | button_sort: Sort |
|
823 | button_sort: Sort | |
823 | button_log_time: Log time |
|
824 | button_log_time: Log time | |
824 | button_rollback: Rollback to this version |
|
825 | button_rollback: Rollback to this version | |
825 | button_watch: Watch |
|
826 | button_watch: Watch | |
826 | button_unwatch: Unwatch |
|
827 | button_unwatch: Unwatch | |
827 | button_reply: Reply |
|
828 | button_reply: Reply | |
828 | button_archive: Archive |
|
829 | button_archive: Archive | |
829 | button_unarchive: Unarchive |
|
830 | button_unarchive: Unarchive | |
830 | button_reset: Reset |
|
831 | button_reset: Reset | |
831 | button_rename: Rename |
|
832 | button_rename: Rename | |
832 | button_change_password: Change password |
|
833 | button_change_password: Change password | |
833 | button_copy: Copy |
|
834 | button_copy: Copy | |
834 | button_copy_and_follow: Copy and follow |
|
835 | button_copy_and_follow: Copy and follow | |
835 | button_annotate: Annotate |
|
836 | button_annotate: Annotate | |
836 | button_update: Update |
|
837 | button_update: Update | |
837 | button_configure: Configure |
|
838 | button_configure: Configure | |
838 | button_quote: Quote |
|
839 | button_quote: Quote | |
839 | button_duplicate: Duplicate |
|
840 | button_duplicate: Duplicate | |
840 | button_show: Show |
|
841 | button_show: Show | |
841 |
|
842 | |||
842 | status_active: active |
|
843 | status_active: active | |
843 | status_registered: registered |
|
844 | status_registered: registered | |
844 | status_locked: locked |
|
845 | status_locked: locked | |
845 |
|
846 | |||
846 | version_status_open: open |
|
847 | version_status_open: open | |
847 | version_status_locked: locked |
|
848 | version_status_locked: locked | |
848 | version_status_closed: closed |
|
849 | version_status_closed: closed | |
849 |
|
850 | |||
850 | field_active: Active |
|
851 | field_active: Active | |
851 |
|
852 | |||
852 | text_select_mail_notifications: Select actions for which email notifications should be sent. |
|
853 | text_select_mail_notifications: Select actions for which email notifications should be sent. | |
853 | text_regexp_info: eg. ^[A-Z0-9]+$ |
|
854 | text_regexp_info: eg. ^[A-Z0-9]+$ | |
854 | text_min_max_length_info: 0 means no restriction |
|
855 | text_min_max_length_info: 0 means no restriction | |
855 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data ? |
|
856 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data ? | |
856 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." |
|
857 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." | |
857 | text_workflow_edit: Select a role and a tracker to edit the workflow |
|
858 | text_workflow_edit: Select a role and a tracker to edit the workflow | |
858 | text_are_you_sure: Are you sure ? |
|
859 | text_are_you_sure: Are you sure ? | |
859 | text_are_you_sure_with_children: "Delete issue and all child issues?" |
|
860 | text_are_you_sure_with_children: "Delete issue and all child issues?" | |
860 | text_journal_changed: "%{label} changed from %{old} to %{new}" |
|
861 | text_journal_changed: "%{label} changed from %{old} to %{new}" | |
861 | text_journal_set_to: "%{label} set to %{value}" |
|
862 | text_journal_set_to: "%{label} set to %{value}" | |
862 | text_journal_deleted: "%{label} deleted (%{old})" |
|
863 | text_journal_deleted: "%{label} deleted (%{old})" | |
863 | text_journal_added: "%{label} %{value} added" |
|
864 | text_journal_added: "%{label} %{value} added" | |
864 | text_tip_issue_begin_day: issue beginning this day |
|
865 | text_tip_issue_begin_day: issue beginning this day | |
865 | text_tip_issue_end_day: issue ending this day |
|
866 | text_tip_issue_end_day: issue ending this day | |
866 | text_tip_issue_begin_end_day: issue beginning and ending this day |
|
867 | text_tip_issue_begin_end_day: issue beginning and ending this day | |
867 | text_project_identifier_info: 'Only lower case letters (a-z), numbers and dashes are allowed.<br />Once saved, the identifier can not be changed.' |
|
868 | text_project_identifier_info: 'Only lower case letters (a-z), numbers and dashes are allowed.<br />Once saved, the identifier can not be changed.' | |
868 | text_caracters_maximum: "%{count} characters maximum." |
|
869 | text_caracters_maximum: "%{count} characters maximum." | |
869 | text_caracters_minimum: "Must be at least %{count} characters long." |
|
870 | text_caracters_minimum: "Must be at least %{count} characters long." | |
870 | text_length_between: "Length between %{min} and %{max} characters." |
|
871 | text_length_between: "Length between %{min} and %{max} characters." | |
871 | text_tracker_no_workflow: No workflow defined for this tracker |
|
872 | text_tracker_no_workflow: No workflow defined for this tracker | |
872 | text_unallowed_characters: Unallowed characters |
|
873 | text_unallowed_characters: Unallowed characters | |
873 | text_comma_separated: Multiple values allowed (comma separated). |
|
874 | text_comma_separated: Multiple values allowed (comma separated). | |
874 | text_line_separated: Multiple values allowed (one line for each value). |
|
875 | text_line_separated: Multiple values allowed (one line for each value). | |
875 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages |
|
876 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages | |
876 | text_issue_added: "Issue %{id} has been reported by %{author}." |
|
877 | text_issue_added: "Issue %{id} has been reported by %{author}." | |
877 | text_issue_updated: "Issue %{id} has been updated by %{author}." |
|
878 | text_issue_updated: "Issue %{id} has been updated by %{author}." | |
878 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content ? |
|
879 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content ? | |
879 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do ?" |
|
880 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do ?" | |
880 | text_issue_category_destroy_assignments: Remove category assignments |
|
881 | text_issue_category_destroy_assignments: Remove category assignments | |
881 | text_issue_category_reassign_to: Reassign issues to this category |
|
882 | text_issue_category_reassign_to: Reassign issues to this category | |
882 | 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)." |
|
883 | 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)." | |
883 | 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." |
|
884 | 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." | |
884 | text_load_default_configuration: Load the default configuration |
|
885 | text_load_default_configuration: Load the default configuration | |
885 | text_status_changed_by_changeset: "Applied in changeset %{value}." |
|
886 | text_status_changed_by_changeset: "Applied in changeset %{value}." | |
886 | text_time_logged_by_changeset: "Applied in changeset %{value}." |
|
887 | text_time_logged_by_changeset: "Applied in changeset %{value}." | |
887 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s) ?' |
|
888 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s) ?' | |
888 | text_select_project_modules: 'Select modules to enable for this project:' |
|
889 | text_select_project_modules: 'Select modules to enable for this project:' | |
889 | text_default_administrator_account_changed: Default administrator account changed |
|
890 | text_default_administrator_account_changed: Default administrator account changed | |
890 | text_file_repository_writable: Attachments directory writable |
|
891 | text_file_repository_writable: Attachments directory writable | |
891 | text_plugin_assets_writable: Plugin assets directory writable |
|
892 | text_plugin_assets_writable: Plugin assets directory writable | |
892 | text_rmagick_available: RMagick available (optional) |
|
893 | text_rmagick_available: RMagick available (optional) | |
893 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do ?" |
|
894 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do ?" | |
894 | text_destroy_time_entries: Delete reported hours |
|
895 | text_destroy_time_entries: Delete reported hours | |
895 | text_assign_time_entries_to_project: Assign reported hours to the project |
|
896 | text_assign_time_entries_to_project: Assign reported hours to the project | |
896 | text_reassign_time_entries: 'Reassign reported hours to this issue:' |
|
897 | text_reassign_time_entries: 'Reassign reported hours to this issue:' | |
897 | text_user_wrote: "%{value} wrote:" |
|
898 | text_user_wrote: "%{value} wrote:" | |
898 | text_enumeration_destroy_question: "%{count} objects are assigned to this value." |
|
899 | text_enumeration_destroy_question: "%{count} objects are assigned to this value." | |
899 | text_enumeration_category_reassign_to: 'Reassign them to this value:' |
|
900 | text_enumeration_category_reassign_to: 'Reassign them to this value:' | |
900 | text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/configuration.yml and restart the application to enable them." |
|
901 | text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/configuration.yml and restart the application to enable them." | |
901 | 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." |
|
902 | 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." | |
902 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' |
|
903 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' | |
903 | text_custom_field_possible_values_info: 'One line for each value' |
|
904 | text_custom_field_possible_values_info: 'One line for each value' | |
904 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" |
|
905 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" | |
905 | text_wiki_page_nullify_children: "Keep child pages as root pages" |
|
906 | text_wiki_page_nullify_children: "Keep child pages as root pages" | |
906 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" |
|
907 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" | |
907 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" |
|
908 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" | |
908 | 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?" |
|
909 | 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?" | |
909 | text_zoom_in: Zoom in |
|
910 | text_zoom_in: Zoom in | |
910 | text_zoom_out: Zoom out |
|
911 | text_zoom_out: Zoom out | |
|
912 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." | |||
911 |
|
913 | |||
912 | default_role_manager: Manager |
|
914 | default_role_manager: Manager | |
913 | default_role_developer: Developer |
|
915 | default_role_developer: Developer | |
914 | default_role_reporter: Reporter |
|
916 | default_role_reporter: Reporter | |
915 | default_tracker_bug: Bug |
|
917 | default_tracker_bug: Bug | |
916 | default_tracker_feature: Feature |
|
918 | default_tracker_feature: Feature | |
917 | default_tracker_support: Support |
|
919 | default_tracker_support: Support | |
918 | default_issue_status_new: New |
|
920 | default_issue_status_new: New | |
919 | default_issue_status_in_progress: In Progress |
|
921 | default_issue_status_in_progress: In Progress | |
920 | default_issue_status_resolved: Resolved |
|
922 | default_issue_status_resolved: Resolved | |
921 | default_issue_status_feedback: Feedback |
|
923 | default_issue_status_feedback: Feedback | |
922 | default_issue_status_closed: Closed |
|
924 | default_issue_status_closed: Closed | |
923 | default_issue_status_rejected: Rejected |
|
925 | default_issue_status_rejected: Rejected | |
924 | default_doc_category_user: User documentation |
|
926 | default_doc_category_user: User documentation | |
925 | default_doc_category_tech: Technical documentation |
|
927 | default_doc_category_tech: Technical documentation | |
926 | default_priority_low: Low |
|
928 | default_priority_low: Low | |
927 | default_priority_normal: Normal |
|
929 | default_priority_normal: Normal | |
928 | default_priority_high: High |
|
930 | default_priority_high: High | |
929 | default_priority_urgent: Urgent |
|
931 | default_priority_urgent: Urgent | |
930 | default_priority_immediate: Immediate |
|
932 | default_priority_immediate: Immediate | |
931 | default_activity_design: Design |
|
933 | default_activity_design: Design | |
932 | default_activity_development: Development |
|
934 | default_activity_development: Development | |
933 |
|
935 | |||
934 | enumeration_issue_priorities: Issue priorities |
|
936 | enumeration_issue_priorities: Issue priorities | |
935 | enumeration_doc_categories: Document categories |
|
937 | enumeration_doc_categories: Document categories | |
936 | enumeration_activities: Activities (time tracking) |
|
938 | enumeration_activities: Activities (time tracking) | |
937 | enumeration_system_activity: System Activity |
|
939 | enumeration_system_activity: System Activity | |
938 |
|
940 |
@@ -1,956 +1,958 | |||||
1 | # French translations for Ruby on Rails |
|
1 | # French translations for Ruby on Rails | |
2 | # by Christian Lescuyer (christian@flyingcoders.com) |
|
2 | # by Christian Lescuyer (christian@flyingcoders.com) | |
3 | # contributor: Sebastien Grosjean - ZenCocoon.com |
|
3 | # contributor: Sebastien Grosjean - ZenCocoon.com | |
4 | # contributor: Thibaut Cuvelier - Developpez.com |
|
4 | # contributor: Thibaut Cuvelier - Developpez.com | |
5 |
|
5 | |||
6 | fr: |
|
6 | fr: | |
7 | direction: ltr |
|
7 | direction: ltr | |
8 | date: |
|
8 | date: | |
9 | formats: |
|
9 | formats: | |
10 | default: "%d/%m/%Y" |
|
10 | default: "%d/%m/%Y" | |
11 | short: "%e %b" |
|
11 | short: "%e %b" | |
12 | long: "%e %B %Y" |
|
12 | long: "%e %B %Y" | |
13 | long_ordinal: "%e %B %Y" |
|
13 | long_ordinal: "%e %B %Y" | |
14 | only_day: "%e" |
|
14 | only_day: "%e" | |
15 |
|
15 | |||
16 | day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi] |
|
16 | day_names: [dimanche, lundi, mardi, mercredi, jeudi, vendredi, samedi] | |
17 | abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam] |
|
17 | abbr_day_names: [dim, lun, mar, mer, jeu, ven, sam] | |
18 | month_names: [~, janvier, fΓ©vrier, mars, avril, mai, juin, juillet, aoΓ»t, septembre, octobre, novembre, dΓ©cembre] |
|
18 | month_names: [~, janvier, fΓ©vrier, mars, avril, mai, juin, juillet, aoΓ»t, septembre, octobre, novembre, dΓ©cembre] | |
19 | abbr_month_names: [~, jan., fΓ©v., mar., avr., mai, juin, juil., aoΓ»t, sept., oct., nov., dΓ©c.] |
|
19 | abbr_month_names: [~, jan., fΓ©v., mar., avr., mai, juin, juil., aoΓ»t, sept., oct., nov., dΓ©c.] | |
20 | order: [ :day, :month, :year ] |
|
20 | order: [ :day, :month, :year ] | |
21 |
|
21 | |||
22 | time: |
|
22 | time: | |
23 | formats: |
|
23 | formats: | |
24 | default: "%d/%m/%Y %H:%M" |
|
24 | default: "%d/%m/%Y %H:%M" | |
25 | time: "%H:%M" |
|
25 | time: "%H:%M" | |
26 | short: "%d %b %H:%M" |
|
26 | short: "%d %b %H:%M" | |
27 | long: "%A %d %B %Y %H:%M:%S %Z" |
|
27 | long: "%A %d %B %Y %H:%M:%S %Z" | |
28 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" |
|
28 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" | |
29 | only_second: "%S" |
|
29 | only_second: "%S" | |
30 | am: 'am' |
|
30 | am: 'am' | |
31 | pm: 'pm' |
|
31 | pm: 'pm' | |
32 |
|
32 | |||
33 | datetime: |
|
33 | datetime: | |
34 | distance_in_words: |
|
34 | distance_in_words: | |
35 | half_a_minute: "30 secondes" |
|
35 | half_a_minute: "30 secondes" | |
36 | less_than_x_seconds: |
|
36 | less_than_x_seconds: | |
37 | zero: "moins d'une seconde" |
|
37 | zero: "moins d'une seconde" | |
38 | one: "moins d'uneΒ seconde" |
|
38 | one: "moins d'uneΒ seconde" | |
39 | other: "moins de %{count}Β secondes" |
|
39 | other: "moins de %{count}Β secondes" | |
40 | x_seconds: |
|
40 | x_seconds: | |
41 | one: "1Β seconde" |
|
41 | one: "1Β seconde" | |
42 | other: "%{count}Β secondes" |
|
42 | other: "%{count}Β secondes" | |
43 | less_than_x_minutes: |
|
43 | less_than_x_minutes: | |
44 | zero: "moins d'une minute" |
|
44 | zero: "moins d'une minute" | |
45 | one: "moins d'uneΒ minute" |
|
45 | one: "moins d'uneΒ minute" | |
46 | other: "moins de %{count}Β minutes" |
|
46 | other: "moins de %{count}Β minutes" | |
47 | x_minutes: |
|
47 | x_minutes: | |
48 | one: "1Β minute" |
|
48 | one: "1Β minute" | |
49 | other: "%{count}Β minutes" |
|
49 | other: "%{count}Β minutes" | |
50 | about_x_hours: |
|
50 | about_x_hours: | |
51 | one: "environ une heure" |
|
51 | one: "environ une heure" | |
52 | other: "environ %{count}Β heures" |
|
52 | other: "environ %{count}Β heures" | |
53 | x_days: |
|
53 | x_days: | |
54 | one: "unΒ jour" |
|
54 | one: "unΒ jour" | |
55 | other: "%{count}Β jours" |
|
55 | other: "%{count}Β jours" | |
56 | about_x_months: |
|
56 | about_x_months: | |
57 | one: "environ un mois" |
|
57 | one: "environ un mois" | |
58 | other: "environ %{count}Β mois" |
|
58 | other: "environ %{count}Β mois" | |
59 | x_months: |
|
59 | x_months: | |
60 | one: "unΒ mois" |
|
60 | one: "unΒ mois" | |
61 | other: "%{count}Β mois" |
|
61 | other: "%{count}Β mois" | |
62 | about_x_years: |
|
62 | about_x_years: | |
63 | one: "environ un an" |
|
63 | one: "environ un an" | |
64 | other: "environ %{count}Β ans" |
|
64 | other: "environ %{count}Β ans" | |
65 | over_x_years: |
|
65 | over_x_years: | |
66 | one: "plus d'un an" |
|
66 | one: "plus d'un an" | |
67 | other: "plus de %{count}Β ans" |
|
67 | other: "plus de %{count}Β ans" | |
68 | almost_x_years: |
|
68 | almost_x_years: | |
69 | one: "presqu'un an" |
|
69 | one: "presqu'un an" | |
70 | other: "presque %{count} ans" |
|
70 | other: "presque %{count} ans" | |
71 | prompts: |
|
71 | prompts: | |
72 | year: "AnnΓ©e" |
|
72 | year: "AnnΓ©e" | |
73 | month: "Mois" |
|
73 | month: "Mois" | |
74 | day: "Jour" |
|
74 | day: "Jour" | |
75 | hour: "Heure" |
|
75 | hour: "Heure" | |
76 | minute: "Minute" |
|
76 | minute: "Minute" | |
77 | second: "Seconde" |
|
77 | second: "Seconde" | |
78 |
|
78 | |||
79 | number: |
|
79 | number: | |
80 | format: |
|
80 | format: | |
81 | precision: 3 |
|
81 | precision: 3 | |
82 | separator: ',' |
|
82 | separator: ',' | |
83 | delimiter: 'Β ' |
|
83 | delimiter: 'Β ' | |
84 | currency: |
|
84 | currency: | |
85 | format: |
|
85 | format: | |
86 | unit: 'β¬' |
|
86 | unit: 'β¬' | |
87 | precision: 2 |
|
87 | precision: 2 | |
88 | format: '%nΒ %u' |
|
88 | format: '%nΒ %u' | |
89 | human: |
|
89 | human: | |
90 | format: |
|
90 | format: | |
91 | precision: 2 |
|
91 | precision: 2 | |
92 | storage_units: |
|
92 | storage_units: | |
93 | format: "%n %u" |
|
93 | format: "%n %u" | |
94 | units: |
|
94 | units: | |
95 | byte: |
|
95 | byte: | |
96 | one: "octet" |
|
96 | one: "octet" | |
97 | other: "octet" |
|
97 | other: "octet" | |
98 | kb: "ko" |
|
98 | kb: "ko" | |
99 | mb: "Mo" |
|
99 | mb: "Mo" | |
100 | gb: "Go" |
|
100 | gb: "Go" | |
101 | tb: "To" |
|
101 | tb: "To" | |
102 |
|
102 | |||
103 | support: |
|
103 | support: | |
104 | array: |
|
104 | array: | |
105 | sentence_connector: 'et' |
|
105 | sentence_connector: 'et' | |
106 | skip_last_comma: true |
|
106 | skip_last_comma: true | |
107 | word_connector: ", " |
|
107 | word_connector: ", " | |
108 | two_words_connector: " et " |
|
108 | two_words_connector: " et " | |
109 | last_word_connector: " et " |
|
109 | last_word_connector: " et " | |
110 |
|
110 | |||
111 | activerecord: |
|
111 | activerecord: | |
112 | errors: |
|
112 | errors: | |
113 | template: |
|
113 | template: | |
114 | header: |
|
114 | header: | |
115 | one: "Impossible d'enregistrer %{model} : une erreur" |
|
115 | one: "Impossible d'enregistrer %{model} : une erreur" | |
116 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." |
|
116 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." | |
117 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" |
|
117 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" | |
118 | messages: |
|
118 | messages: | |
119 | inclusion: "n'est pas inclus(e) dans la liste" |
|
119 | inclusion: "n'est pas inclus(e) dans la liste" | |
120 | exclusion: "n'est pas disponible" |
|
120 | exclusion: "n'est pas disponible" | |
121 | invalid: "n'est pas valide" |
|
121 | invalid: "n'est pas valide" | |
122 | confirmation: "ne concorde pas avec la confirmation" |
|
122 | confirmation: "ne concorde pas avec la confirmation" | |
123 | accepted: "doit Γͺtre acceptΓ©(e)" |
|
123 | accepted: "doit Γͺtre acceptΓ©(e)" | |
124 | empty: "doit Γͺtre renseignΓ©(e)" |
|
124 | empty: "doit Γͺtre renseignΓ©(e)" | |
125 | blank: "doit Γͺtre renseignΓ©(e)" |
|
125 | blank: "doit Γͺtre renseignΓ©(e)" | |
126 | too_long: "est trop long (pas plus de %{count} caractères)" |
|
126 | too_long: "est trop long (pas plus de %{count} caractères)" | |
127 | too_short: "est trop court (au moins %{count} caractères)" |
|
127 | too_short: "est trop court (au moins %{count} caractères)" | |
128 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" |
|
128 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" | |
129 | taken: "est dΓ©jΓ utilisΓ©" |
|
129 | taken: "est dΓ©jΓ utilisΓ©" | |
130 | not_a_number: "n'est pas un nombre" |
|
130 | not_a_number: "n'est pas un nombre" | |
131 | not_a_date: "n'est pas une date valide" |
|
131 | not_a_date: "n'est pas une date valide" | |
132 | greater_than: "doit Γͺtre supΓ©rieur Γ %{count}" |
|
132 | greater_than: "doit Γͺtre supΓ©rieur Γ %{count}" | |
133 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ %{count}" |
|
133 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ %{count}" | |
134 | equal_to: "doit Γͺtre Γ©gal Γ %{count}" |
|
134 | equal_to: "doit Γͺtre Γ©gal Γ %{count}" | |
135 | less_than: "doit Γͺtre infΓ©rieur Γ %{count}" |
|
135 | less_than: "doit Γͺtre infΓ©rieur Γ %{count}" | |
136 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ %{count}" |
|
136 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ %{count}" | |
137 | odd: "doit Γͺtre impair" |
|
137 | odd: "doit Γͺtre impair" | |
138 | even: "doit Γͺtre pair" |
|
138 | even: "doit Γͺtre pair" | |
139 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" |
|
139 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" | |
140 | not_same_project: "n'appartient pas au mΓͺme projet" |
|
140 | not_same_project: "n'appartient pas au mΓͺme projet" | |
141 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" |
|
141 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" | |
142 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" |
|
142 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" | |
143 |
|
143 | |||
144 | actionview_instancetag_blank_option: Choisir |
|
144 | actionview_instancetag_blank_option: Choisir | |
145 |
|
145 | |||
146 | general_text_No: 'Non' |
|
146 | general_text_No: 'Non' | |
147 | general_text_Yes: 'Oui' |
|
147 | general_text_Yes: 'Oui' | |
148 | general_text_no: 'non' |
|
148 | general_text_no: 'non' | |
149 | general_text_yes: 'oui' |
|
149 | general_text_yes: 'oui' | |
150 | general_lang_name: 'FranΓ§ais' |
|
150 | general_lang_name: 'FranΓ§ais' | |
151 | general_csv_separator: ';' |
|
151 | general_csv_separator: ';' | |
152 | general_csv_decimal_separator: ',' |
|
152 | general_csv_decimal_separator: ',' | |
153 | general_csv_encoding: ISO-8859-1 |
|
153 | general_csv_encoding: ISO-8859-1 | |
154 | general_pdf_encoding: ISO-8859-1 |
|
154 | general_pdf_encoding: ISO-8859-1 | |
155 | general_first_day_of_week: '1' |
|
155 | general_first_day_of_week: '1' | |
156 |
|
156 | |||
157 | notice_account_updated: Le compte a été mis à jour avec succès. |
|
157 | notice_account_updated: Le compte a été mis à jour avec succès. | |
158 | notice_account_invalid_creditentials: Identifiant ou mot de passe invalide. |
|
158 | notice_account_invalid_creditentials: Identifiant ou mot de passe invalide. | |
159 | notice_account_password_updated: Mot de passe mis à jour avec succès. |
|
159 | notice_account_password_updated: Mot de passe mis à jour avec succès. | |
160 | notice_account_wrong_password: Mot de passe incorrect |
|
160 | notice_account_wrong_password: Mot de passe incorrect | |
161 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©. |
|
161 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©. | |
162 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. |
|
162 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. | |
163 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. |
|
163 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. | |
164 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. |
|
164 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. | |
165 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. |
|
165 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. | |
166 | notice_successful_create: Création effectuée avec succès. |
|
166 | notice_successful_create: Création effectuée avec succès. | |
167 | notice_successful_update: Mise à jour effectuée avec succès. |
|
167 | notice_successful_update: Mise à jour effectuée avec succès. | |
168 | notice_successful_delete: Suppression effectuée avec succès. |
|
168 | notice_successful_delete: Suppression effectuée avec succès. | |
169 | notice_successful_connection: Connexion rΓ©ussie. |
|
169 | notice_successful_connection: Connexion rΓ©ussie. | |
170 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." |
|
170 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." | |
171 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. |
|
171 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. | |
172 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ accΓ©der Γ cette page." |
|
172 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ accΓ©der Γ cette page." | |
173 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. |
|
173 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. | |
174 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ %{value}" |
|
174 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ %{value}" | |
175 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" |
|
175 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" | |
176 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux RSS a été réinitialisée." |
|
176 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux RSS a été réinitialisée." | |
177 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : %{ids}." |
|
177 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : %{ids}." | |
178 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." |
|
178 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." | |
179 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." |
|
179 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." | |
180 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. |
|
180 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. | |
181 | notice_unable_delete_version: Impossible de supprimer cette version. |
|
181 | notice_unable_delete_version: Impossible de supprimer cette version. | |
182 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. |
|
182 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. | |
183 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. |
|
183 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. | |
184 | notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})" |
|
184 | notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})" | |
185 |
|
185 | |||
186 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}" |
|
186 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}" | |
187 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." |
|
187 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." | |
188 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" |
|
188 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" | |
189 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." |
|
189 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." | |
190 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" |
|
190 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" | |
191 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' |
|
191 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' | |
192 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" |
|
192 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" | |
193 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' |
|
193 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' | |
194 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' |
|
194 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' | |
195 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. |
|
195 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. | |
196 |
|
196 | |||
197 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." |
|
197 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." | |
198 |
|
198 | |||
199 | mail_subject_lost_password: "Votre mot de passe %{value}" |
|
199 | mail_subject_lost_password: "Votre mot de passe %{value}" | |
200 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' |
|
200 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' | |
201 | mail_subject_register: "Activation de votre compte %{value}" |
|
201 | mail_subject_register: "Activation de votre compte %{value}" | |
202 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' |
|
202 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' | |
203 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." |
|
203 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." | |
204 | mail_body_account_information: Paramètres de connexion de votre compte |
|
204 | mail_body_account_information: Paramètres de connexion de votre compte | |
205 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" |
|
205 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" | |
206 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :" |
|
206 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :" | |
207 | mail_subject_reminder: "%{count} demande(s) arrivent Γ Γ©chΓ©ance (%{days})" |
|
207 | mail_subject_reminder: "%{count} demande(s) arrivent Γ Γ©chΓ©ance (%{days})" | |
208 | mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les %{days} prochains jours :" |
|
208 | mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les %{days} prochains jours :" | |
209 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e" |
|
209 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e" | |
210 | mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}." |
|
210 | mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}." | |
211 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ jour" |
|
211 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ jour" | |
212 | mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ jour par %{author}." |
|
212 | mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ jour par %{author}." | |
213 |
|
213 | |||
214 | gui_validation_error: 1 erreur |
|
214 | gui_validation_error: 1 erreur | |
215 | gui_validation_error_plural: "%{count} erreurs" |
|
215 | gui_validation_error_plural: "%{count} erreurs" | |
216 |
|
216 | |||
217 | field_name: Nom |
|
217 | field_name: Nom | |
218 | field_description: Description |
|
218 | field_description: Description | |
219 | field_summary: RΓ©sumΓ© |
|
219 | field_summary: RΓ©sumΓ© | |
220 | field_is_required: Obligatoire |
|
220 | field_is_required: Obligatoire | |
221 | field_firstname: PrΓ©nom |
|
221 | field_firstname: PrΓ©nom | |
222 | field_lastname: Nom |
|
222 | field_lastname: Nom | |
223 | field_mail: "Email " |
|
223 | field_mail: "Email " | |
224 | field_filename: Fichier |
|
224 | field_filename: Fichier | |
225 | field_filesize: Taille |
|
225 | field_filesize: Taille | |
226 | field_downloads: TΓ©lΓ©chargements |
|
226 | field_downloads: TΓ©lΓ©chargements | |
227 | field_author: Auteur |
|
227 | field_author: Auteur | |
228 | field_created_on: "Créé " |
|
228 | field_created_on: "Créé " | |
229 | field_updated_on: "Mis-Γ -jour " |
|
229 | field_updated_on: "Mis-Γ -jour " | |
230 | field_field_format: Format |
|
230 | field_field_format: Format | |
231 | field_is_for_all: Pour tous les projets |
|
231 | field_is_for_all: Pour tous les projets | |
232 | field_possible_values: Valeurs possibles |
|
232 | field_possible_values: Valeurs possibles | |
233 | field_regexp: Expression régulière |
|
233 | field_regexp: Expression régulière | |
234 | field_min_length: Longueur minimum |
|
234 | field_min_length: Longueur minimum | |
235 | field_max_length: Longueur maximum |
|
235 | field_max_length: Longueur maximum | |
236 | field_value: Valeur |
|
236 | field_value: Valeur | |
237 | field_category: CatΓ©gorie |
|
237 | field_category: CatΓ©gorie | |
238 | field_title: Titre |
|
238 | field_title: Titre | |
239 | field_project: Projet |
|
239 | field_project: Projet | |
240 | field_issue: Demande |
|
240 | field_issue: Demande | |
241 | field_status: Statut |
|
241 | field_status: Statut | |
242 | field_notes: Notes |
|
242 | field_notes: Notes | |
243 | field_is_closed: Demande fermΓ©e |
|
243 | field_is_closed: Demande fermΓ©e | |
244 | field_is_default: Valeur par dΓ©faut |
|
244 | field_is_default: Valeur par dΓ©faut | |
245 | field_tracker: Tracker |
|
245 | field_tracker: Tracker | |
246 | field_subject: Sujet |
|
246 | field_subject: Sujet | |
247 | field_due_date: EchΓ©ance |
|
247 | field_due_date: EchΓ©ance | |
248 | field_assigned_to: AssignΓ© Γ |
|
248 | field_assigned_to: AssignΓ© Γ | |
249 | field_priority: PrioritΓ© |
|
249 | field_priority: PrioritΓ© | |
250 | field_fixed_version: Version cible |
|
250 | field_fixed_version: Version cible | |
251 | field_user: Utilisateur |
|
251 | field_user: Utilisateur | |
252 | field_role: RΓ΄le |
|
252 | field_role: RΓ΄le | |
253 | field_homepage: "Site web " |
|
253 | field_homepage: "Site web " | |
254 | field_is_public: Public |
|
254 | field_is_public: Public | |
255 | field_parent: Sous-projet de |
|
255 | field_parent: Sous-projet de | |
256 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap |
|
256 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap | |
257 | field_login: "Identifiant " |
|
257 | field_login: "Identifiant " | |
258 | field_mail_notification: Notifications par mail |
|
258 | field_mail_notification: Notifications par mail | |
259 | field_admin: Administrateur |
|
259 | field_admin: Administrateur | |
260 | field_last_login_on: "Dernière connexion " |
|
260 | field_last_login_on: "Dernière connexion " | |
261 | field_language: Langue |
|
261 | field_language: Langue | |
262 | field_effective_date: Date |
|
262 | field_effective_date: Date | |
263 | field_password: Mot de passe |
|
263 | field_password: Mot de passe | |
264 | field_new_password: Nouveau mot de passe |
|
264 | field_new_password: Nouveau mot de passe | |
265 | field_password_confirmation: Confirmation |
|
265 | field_password_confirmation: Confirmation | |
266 | field_version: Version |
|
266 | field_version: Version | |
267 | field_type: Type |
|
267 | field_type: Type | |
268 | field_host: HΓ΄te |
|
268 | field_host: HΓ΄te | |
269 | field_port: Port |
|
269 | field_port: Port | |
270 | field_account: Compte |
|
270 | field_account: Compte | |
271 | field_base_dn: Base DN |
|
271 | field_base_dn: Base DN | |
272 | field_attr_login: Attribut Identifiant |
|
272 | field_attr_login: Attribut Identifiant | |
273 | field_attr_firstname: Attribut PrΓ©nom |
|
273 | field_attr_firstname: Attribut PrΓ©nom | |
274 | field_attr_lastname: Attribut Nom |
|
274 | field_attr_lastname: Attribut Nom | |
275 | field_attr_mail: Attribut Email |
|
275 | field_attr_mail: Attribut Email | |
276 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e |
|
276 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e | |
277 | field_start_date: DΓ©but |
|
277 | field_start_date: DΓ©but | |
278 | field_done_ratio: % rΓ©alisΓ© |
|
278 | field_done_ratio: % rΓ©alisΓ© | |
279 | field_auth_source: Mode d'authentification |
|
279 | field_auth_source: Mode d'authentification | |
280 | field_hide_mail: Cacher mon adresse mail |
|
280 | field_hide_mail: Cacher mon adresse mail | |
281 | field_comments: Commentaire |
|
281 | field_comments: Commentaire | |
282 | field_url: URL |
|
282 | field_url: URL | |
283 | field_start_page: Page de dΓ©marrage |
|
283 | field_start_page: Page de dΓ©marrage | |
284 | field_subproject: Sous-projet |
|
284 | field_subproject: Sous-projet | |
285 | field_hours: Heures |
|
285 | field_hours: Heures | |
286 | field_activity: ActivitΓ© |
|
286 | field_activity: ActivitΓ© | |
287 | field_spent_on: Date |
|
287 | field_spent_on: Date | |
288 | field_identifier: Identifiant |
|
288 | field_identifier: Identifiant | |
289 | field_is_filter: UtilisΓ© comme filtre |
|
289 | field_is_filter: UtilisΓ© comme filtre | |
290 | field_issue_to: Demande liΓ©e |
|
290 | field_issue_to: Demande liΓ©e | |
291 | field_delay: Retard |
|
291 | field_delay: Retard | |
292 | field_assignable: Demandes assignables Γ ce rΓ΄le |
|
292 | field_assignable: Demandes assignables Γ ce rΓ΄le | |
293 | field_redirect_existing_links: Rediriger les liens existants |
|
293 | field_redirect_existing_links: Rediriger les liens existants | |
294 | field_estimated_hours: Temps estimΓ© |
|
294 | field_estimated_hours: Temps estimΓ© | |
295 | field_column_names: Colonnes |
|
295 | field_column_names: Colonnes | |
296 | field_time_zone: Fuseau horaire |
|
296 | field_time_zone: Fuseau horaire | |
297 | field_searchable: UtilisΓ© pour les recherches |
|
297 | field_searchable: UtilisΓ© pour les recherches | |
298 | field_default_value: Valeur par dΓ©faut |
|
298 | field_default_value: Valeur par dΓ©faut | |
299 | field_comments_sorting: Afficher les commentaires |
|
299 | field_comments_sorting: Afficher les commentaires | |
300 | field_parent_title: Page parent |
|
300 | field_parent_title: Page parent | |
301 | field_editable: Modifiable |
|
301 | field_editable: Modifiable | |
302 | field_watcher: Observateur |
|
302 | field_watcher: Observateur | |
303 | field_identity_url: URL OpenID |
|
303 | field_identity_url: URL OpenID | |
304 | field_content: Contenu |
|
304 | field_content: Contenu | |
305 | field_group_by: Grouper par |
|
305 | field_group_by: Grouper par | |
306 | field_sharing: Partage |
|
306 | field_sharing: Partage | |
307 | field_active: Actif |
|
307 | field_active: Actif | |
308 | field_parent_issue: TΓ’che parente |
|
308 | field_parent_issue: TΓ’che parente | |
309 | field_visible: Visible |
|
309 | field_visible: Visible | |
|
310 | field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©" | |||
310 |
|
311 | |||
311 | setting_app_title: Titre de l'application |
|
312 | setting_app_title: Titre de l'application | |
312 | setting_app_subtitle: Sous-titre de l'application |
|
313 | setting_app_subtitle: Sous-titre de l'application | |
313 | setting_welcome_text: Texte d'accueil |
|
314 | setting_welcome_text: Texte d'accueil | |
314 | setting_default_language: Langue par dΓ©faut |
|
315 | setting_default_language: Langue par dΓ©faut | |
315 | setting_login_required: Authentification obligatoire |
|
316 | setting_login_required: Authentification obligatoire | |
316 | setting_self_registration: Inscription des nouveaux utilisateurs |
|
317 | setting_self_registration: Inscription des nouveaux utilisateurs | |
317 | setting_attachment_max_size: Taille max des fichiers |
|
318 | setting_attachment_max_size: Taille max des fichiers | |
318 | setting_issues_export_limit: Limite export demandes |
|
319 | setting_issues_export_limit: Limite export demandes | |
319 | setting_mail_from: Adresse d'Γ©mission |
|
320 | setting_mail_from: Adresse d'Γ©mission | |
320 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) |
|
321 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) | |
321 | setting_plain_text_mail: Mail texte brut (non HTML) |
|
322 | setting_plain_text_mail: Mail texte brut (non HTML) | |
322 | setting_host_name: Nom d'hΓ΄te et chemin |
|
323 | setting_host_name: Nom d'hΓ΄te et chemin | |
323 | setting_text_formatting: Formatage du texte |
|
324 | setting_text_formatting: Formatage du texte | |
324 | setting_wiki_compression: Compression historique wiki |
|
325 | setting_wiki_compression: Compression historique wiki | |
325 | setting_feeds_limit: Limite du contenu des flux RSS |
|
326 | setting_feeds_limit: Limite du contenu des flux RSS | |
326 | setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut |
|
327 | setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut | |
327 | setting_autofetch_changesets: RΓ©cupΓ©ration auto. des commits |
|
328 | setting_autofetch_changesets: RΓ©cupΓ©ration auto. des commits | |
328 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts |
|
329 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts | |
329 | setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement |
|
330 | setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement | |
330 | setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution |
|
331 | setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution | |
331 | setting_autologin: Autologin |
|
332 | setting_autologin: Autologin | |
332 | setting_date_format: Format de date |
|
333 | setting_date_format: Format de date | |
333 | setting_time_format: Format d'heure |
|
334 | setting_time_format: Format d'heure | |
334 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets |
|
335 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets | |
335 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes |
|
336 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes | |
336 | setting_repositories_encodings: Encodages des dΓ©pΓ΄ts |
|
337 | setting_repositories_encodings: Encodages des dΓ©pΓ΄ts | |
337 | setting_commit_logs_encoding: Encodage des messages de commit |
|
338 | setting_commit_logs_encoding: Encodage des messages de commit | |
338 | setting_emails_footer: Pied-de-page des emails |
|
339 | setting_emails_footer: Pied-de-page des emails | |
339 | setting_protocol: Protocole |
|
340 | setting_protocol: Protocole | |
340 | setting_per_page_options: Options d'objets affichΓ©s par page |
|
341 | setting_per_page_options: Options d'objets affichΓ©s par page | |
341 | setting_user_format: Format d'affichage des utilisateurs |
|
342 | setting_user_format: Format d'affichage des utilisateurs | |
342 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets |
|
343 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets | |
343 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux |
|
344 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux | |
344 | setting_enabled_scm: SCM activΓ©s |
|
345 | setting_enabled_scm: SCM activΓ©s | |
345 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" |
|
346 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" | |
346 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" |
|
347 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" | |
347 | setting_mail_handler_api_key: ClΓ© de protection de l'API |
|
348 | setting_mail_handler_api_key: ClΓ© de protection de l'API | |
348 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels |
|
349 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels | |
349 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs |
|
350 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs | |
350 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es |
|
351 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es | |
351 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne |
|
352 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne | |
352 | setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier" |
|
353 | setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier" | |
353 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" |
|
354 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" | |
354 | setting_password_min_length: Longueur minimum des mots de passe |
|
355 | setting_password_min_length: Longueur minimum des mots de passe | |
355 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet |
|
356 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet | |
356 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets |
|
357 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets | |
357 | setting_issue_done_ratio: Calcul de l'avancement des demandes |
|
358 | setting_issue_done_ratio: Calcul de l'avancement des demandes | |
358 | setting_issue_done_ratio_issue_status: Utiliser le statut |
|
359 | setting_issue_done_ratio_issue_status: Utiliser le statut | |
359 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' |
|
360 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' | |
360 | setting_rest_api_enabled: Activer l'API REST |
|
361 | setting_rest_api_enabled: Activer l'API REST | |
361 | setting_gravatar_default: Image Gravatar par dΓ©faut |
|
362 | setting_gravatar_default: Image Gravatar par dΓ©faut | |
362 | setting_start_of_week: Jour de dΓ©but des calendriers |
|
363 | setting_start_of_week: Jour de dΓ©but des calendriers | |
363 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© |
|
364 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© | |
364 | setting_commit_logtime_enabled: Permettre la saisie de temps |
|
365 | setting_commit_logtime_enabled: Permettre la saisie de temps | |
365 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi |
|
366 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi | |
366 | setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt |
|
367 | setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt | |
367 |
|
368 | |||
368 | permission_add_project: CrΓ©er un projet |
|
369 | permission_add_project: CrΓ©er un projet | |
369 | permission_add_subprojects: CrΓ©er des sous-projets |
|
370 | permission_add_subprojects: CrΓ©er des sous-projets | |
370 | permission_edit_project: Modifier le projet |
|
371 | permission_edit_project: Modifier le projet | |
371 | permission_select_project_modules: Choisir les modules |
|
372 | permission_select_project_modules: Choisir les modules | |
372 | permission_manage_members: GΓ©rer les membres |
|
373 | permission_manage_members: GΓ©rer les membres | |
373 | permission_manage_versions: GΓ©rer les versions |
|
374 | permission_manage_versions: GΓ©rer les versions | |
374 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes |
|
375 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes | |
375 | permission_view_issues: Voir les demandes |
|
376 | permission_view_issues: Voir les demandes | |
376 | permission_add_issues: CrΓ©er des demandes |
|
377 | permission_add_issues: CrΓ©er des demandes | |
377 | permission_edit_issues: Modifier les demandes |
|
378 | permission_edit_issues: Modifier les demandes | |
378 | permission_manage_issue_relations: GΓ©rer les relations |
|
379 | permission_manage_issue_relations: GΓ©rer les relations | |
379 | permission_add_issue_notes: Ajouter des notes |
|
380 | permission_add_issue_notes: Ajouter des notes | |
380 | permission_edit_issue_notes: Modifier les notes |
|
381 | permission_edit_issue_notes: Modifier les notes | |
381 | permission_edit_own_issue_notes: Modifier ses propres notes |
|
382 | permission_edit_own_issue_notes: Modifier ses propres notes | |
382 | permission_move_issues: DΓ©placer les demandes |
|
383 | permission_move_issues: DΓ©placer les demandes | |
383 | permission_delete_issues: Supprimer les demandes |
|
384 | permission_delete_issues: Supprimer les demandes | |
384 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques |
|
385 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques | |
385 | permission_save_queries: Sauvegarder les requΓͺtes |
|
386 | permission_save_queries: Sauvegarder les requΓͺtes | |
386 | permission_view_gantt: Voir le gantt |
|
387 | permission_view_gantt: Voir le gantt | |
387 | permission_view_calendar: Voir le calendrier |
|
388 | permission_view_calendar: Voir le calendrier | |
388 | permission_view_issue_watchers: Voir la liste des observateurs |
|
389 | permission_view_issue_watchers: Voir la liste des observateurs | |
389 | permission_add_issue_watchers: Ajouter des observateurs |
|
390 | permission_add_issue_watchers: Ajouter des observateurs | |
390 | permission_delete_issue_watchers: Supprimer des observateurs |
|
391 | permission_delete_issue_watchers: Supprimer des observateurs | |
391 | permission_log_time: Saisir le temps passΓ© |
|
392 | permission_log_time: Saisir le temps passΓ© | |
392 | permission_view_time_entries: Voir le temps passΓ© |
|
393 | permission_view_time_entries: Voir le temps passΓ© | |
393 | permission_edit_time_entries: Modifier les temps passΓ©s |
|
394 | permission_edit_time_entries: Modifier les temps passΓ©s | |
394 | permission_edit_own_time_entries: Modifier son propre temps passΓ© |
|
395 | permission_edit_own_time_entries: Modifier son propre temps passΓ© | |
395 | permission_manage_news: GΓ©rer les annonces |
|
396 | permission_manage_news: GΓ©rer les annonces | |
396 | permission_comment_news: Commenter les annonces |
|
397 | permission_comment_news: Commenter les annonces | |
397 | permission_manage_documents: GΓ©rer les documents |
|
398 | permission_manage_documents: GΓ©rer les documents | |
398 | permission_view_documents: Voir les documents |
|
399 | permission_view_documents: Voir les documents | |
399 | permission_manage_files: GΓ©rer les fichiers |
|
400 | permission_manage_files: GΓ©rer les fichiers | |
400 | permission_view_files: Voir les fichiers |
|
401 | permission_view_files: Voir les fichiers | |
401 | permission_manage_wiki: GΓ©rer le wiki |
|
402 | permission_manage_wiki: GΓ©rer le wiki | |
402 | permission_rename_wiki_pages: Renommer les pages |
|
403 | permission_rename_wiki_pages: Renommer les pages | |
403 | permission_delete_wiki_pages: Supprimer les pages |
|
404 | permission_delete_wiki_pages: Supprimer les pages | |
404 | permission_view_wiki_pages: Voir le wiki |
|
405 | permission_view_wiki_pages: Voir le wiki | |
405 | permission_view_wiki_edits: "Voir l'historique des modifications" |
|
406 | permission_view_wiki_edits: "Voir l'historique des modifications" | |
406 | permission_edit_wiki_pages: Modifier les pages |
|
407 | permission_edit_wiki_pages: Modifier les pages | |
407 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints |
|
408 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints | |
408 | permission_protect_wiki_pages: ProtΓ©ger les pages |
|
409 | permission_protect_wiki_pages: ProtΓ©ger les pages | |
409 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources |
|
410 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources | |
410 | permission_browse_repository: Parcourir les sources |
|
411 | permission_browse_repository: Parcourir les sources | |
411 | permission_view_changesets: Voir les rΓ©visions |
|
412 | permission_view_changesets: Voir les rΓ©visions | |
412 | permission_commit_access: Droit de commit |
|
413 | permission_commit_access: Droit de commit | |
413 | permission_manage_boards: GΓ©rer les forums |
|
414 | permission_manage_boards: GΓ©rer les forums | |
414 | permission_view_messages: Voir les messages |
|
415 | permission_view_messages: Voir les messages | |
415 | permission_add_messages: Poster un message |
|
416 | permission_add_messages: Poster un message | |
416 | permission_edit_messages: Modifier les messages |
|
417 | permission_edit_messages: Modifier les messages | |
417 | permission_edit_own_messages: Modifier ses propres messages |
|
418 | permission_edit_own_messages: Modifier ses propres messages | |
418 | permission_delete_messages: Supprimer les messages |
|
419 | permission_delete_messages: Supprimer les messages | |
419 | permission_delete_own_messages: Supprimer ses propres messages |
|
420 | permission_delete_own_messages: Supprimer ses propres messages | |
420 | permission_export_wiki_pages: Exporter les pages |
|
421 | permission_export_wiki_pages: Exporter les pages | |
421 | permission_manage_project_activities: GΓ©rer les activitΓ©s |
|
422 | permission_manage_project_activities: GΓ©rer les activitΓ©s | |
422 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches |
|
423 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches | |
423 |
|
424 | |||
424 | project_module_issue_tracking: Suivi des demandes |
|
425 | project_module_issue_tracking: Suivi des demandes | |
425 | project_module_time_tracking: Suivi du temps passΓ© |
|
426 | project_module_time_tracking: Suivi du temps passΓ© | |
426 | project_module_news: Publication d'annonces |
|
427 | project_module_news: Publication d'annonces | |
427 | project_module_documents: Publication de documents |
|
428 | project_module_documents: Publication de documents | |
428 | project_module_files: Publication de fichiers |
|
429 | project_module_files: Publication de fichiers | |
429 | project_module_wiki: Wiki |
|
430 | project_module_wiki: Wiki | |
430 | project_module_repository: DΓ©pΓ΄t de sources |
|
431 | project_module_repository: DΓ©pΓ΄t de sources | |
431 | project_module_boards: Forums de discussion |
|
432 | project_module_boards: Forums de discussion | |
432 |
|
433 | |||
433 | label_user: Utilisateur |
|
434 | label_user: Utilisateur | |
434 | label_user_plural: Utilisateurs |
|
435 | label_user_plural: Utilisateurs | |
435 | label_user_new: Nouvel utilisateur |
|
436 | label_user_new: Nouvel utilisateur | |
436 | label_user_anonymous: Anonyme |
|
437 | label_user_anonymous: Anonyme | |
437 | label_project: Projet |
|
438 | label_project: Projet | |
438 | label_project_new: Nouveau projet |
|
439 | label_project_new: Nouveau projet | |
439 | label_project_plural: Projets |
|
440 | label_project_plural: Projets | |
440 | label_x_projects: |
|
441 | label_x_projects: | |
441 | zero: aucun projet |
|
442 | zero: aucun projet | |
442 | one: un projet |
|
443 | one: un projet | |
443 | other: "%{count} projets" |
|
444 | other: "%{count} projets" | |
444 | label_project_all: Tous les projets |
|
445 | label_project_all: Tous les projets | |
445 | label_project_latest: Derniers projets |
|
446 | label_project_latest: Derniers projets | |
446 | label_issue: Demande |
|
447 | label_issue: Demande | |
447 | label_issue_new: Nouvelle demande |
|
448 | label_issue_new: Nouvelle demande | |
448 | label_issue_plural: Demandes |
|
449 | label_issue_plural: Demandes | |
449 | label_issue_view_all: Voir toutes les demandes |
|
450 | label_issue_view_all: Voir toutes les demandes | |
450 | label_issue_added: Demande ajoutΓ©e |
|
451 | label_issue_added: Demande ajoutΓ©e | |
451 | label_issue_updated: Demande mise Γ jour |
|
452 | label_issue_updated: Demande mise Γ jour | |
452 | label_issue_note_added: Note ajoutΓ©e |
|
453 | label_issue_note_added: Note ajoutΓ©e | |
453 | label_issue_status_updated: Statut changΓ© |
|
454 | label_issue_status_updated: Statut changΓ© | |
454 | label_issue_priority_updated: PrioritΓ© changΓ©e |
|
455 | label_issue_priority_updated: PrioritΓ© changΓ©e | |
455 | label_issues_by: "Demandes par %{value}" |
|
456 | label_issues_by: "Demandes par %{value}" | |
456 | label_document: Document |
|
457 | label_document: Document | |
457 | label_document_new: Nouveau document |
|
458 | label_document_new: Nouveau document | |
458 | label_document_plural: Documents |
|
459 | label_document_plural: Documents | |
459 | label_document_added: Document ajoutΓ© |
|
460 | label_document_added: Document ajoutΓ© | |
460 | label_role: RΓ΄le |
|
461 | label_role: RΓ΄le | |
461 | label_role_plural: RΓ΄les |
|
462 | label_role_plural: RΓ΄les | |
462 | label_role_new: Nouveau rΓ΄le |
|
463 | label_role_new: Nouveau rΓ΄le | |
463 | label_role_and_permissions: RΓ΄les et permissions |
|
464 | label_role_and_permissions: RΓ΄les et permissions | |
464 | label_member: Membre |
|
465 | label_member: Membre | |
465 | label_member_new: Nouveau membre |
|
466 | label_member_new: Nouveau membre | |
466 | label_member_plural: Membres |
|
467 | label_member_plural: Membres | |
467 | label_tracker: Tracker |
|
468 | label_tracker: Tracker | |
468 | label_tracker_plural: Trackers |
|
469 | label_tracker_plural: Trackers | |
469 | label_tracker_new: Nouveau tracker |
|
470 | label_tracker_new: Nouveau tracker | |
470 | label_workflow: Workflow |
|
471 | label_workflow: Workflow | |
471 | label_issue_status: Statut de demandes |
|
472 | label_issue_status: Statut de demandes | |
472 | label_issue_status_plural: Statuts de demandes |
|
473 | label_issue_status_plural: Statuts de demandes | |
473 | label_issue_status_new: Nouveau statut |
|
474 | label_issue_status_new: Nouveau statut | |
474 | label_issue_category: CatΓ©gorie de demandes |
|
475 | label_issue_category: CatΓ©gorie de demandes | |
475 | label_issue_category_plural: CatΓ©gories de demandes |
|
476 | label_issue_category_plural: CatΓ©gories de demandes | |
476 | label_issue_category_new: Nouvelle catΓ©gorie |
|
477 | label_issue_category_new: Nouvelle catΓ©gorie | |
477 | label_custom_field: Champ personnalisΓ© |
|
478 | label_custom_field: Champ personnalisΓ© | |
478 | label_custom_field_plural: Champs personnalisΓ©s |
|
479 | label_custom_field_plural: Champs personnalisΓ©s | |
479 | label_custom_field_new: Nouveau champ personnalisΓ© |
|
480 | label_custom_field_new: Nouveau champ personnalisΓ© | |
480 | label_enumerations: Listes de valeurs |
|
481 | label_enumerations: Listes de valeurs | |
481 | label_enumeration_new: Nouvelle valeur |
|
482 | label_enumeration_new: Nouvelle valeur | |
482 | label_information: Information |
|
483 | label_information: Information | |
483 | label_information_plural: Informations |
|
484 | label_information_plural: Informations | |
484 | label_please_login: Identification |
|
485 | label_please_login: Identification | |
485 | label_register: S'enregistrer |
|
486 | label_register: S'enregistrer | |
486 | label_login_with_open_id_option: S'authentifier avec OpenID |
|
487 | label_login_with_open_id_option: S'authentifier avec OpenID | |
487 | label_password_lost: Mot de passe perdu |
|
488 | label_password_lost: Mot de passe perdu | |
488 | label_home: Accueil |
|
489 | label_home: Accueil | |
489 | label_my_page: Ma page |
|
490 | label_my_page: Ma page | |
490 | label_my_account: Mon compte |
|
491 | label_my_account: Mon compte | |
491 | label_my_projects: Mes projets |
|
492 | label_my_projects: Mes projets | |
492 | label_my_page_block: Blocs disponibles |
|
493 | label_my_page_block: Blocs disponibles | |
493 | label_administration: Administration |
|
494 | label_administration: Administration | |
494 | label_login: Connexion |
|
495 | label_login: Connexion | |
495 | label_logout: DΓ©connexion |
|
496 | label_logout: DΓ©connexion | |
496 | label_help: Aide |
|
497 | label_help: Aide | |
497 | label_reported_issues: "Demandes soumises " |
|
498 | label_reported_issues: "Demandes soumises " | |
498 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es |
|
499 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es | |
499 | label_last_login: "Dernière connexion " |
|
500 | label_last_login: "Dernière connexion " | |
500 | label_registered_on: "Inscrit le " |
|
501 | label_registered_on: "Inscrit le " | |
501 | label_activity: ActivitΓ© |
|
502 | label_activity: ActivitΓ© | |
502 | label_overall_activity: ActivitΓ© globale |
|
503 | label_overall_activity: ActivitΓ© globale | |
503 | label_user_activity: "ActivitΓ© de %{value}" |
|
504 | label_user_activity: "ActivitΓ© de %{value}" | |
504 | label_new: Nouveau |
|
505 | label_new: Nouveau | |
505 | label_logged_as: ConnectΓ© en tant que |
|
506 | label_logged_as: ConnectΓ© en tant que | |
506 | label_environment: Environnement |
|
507 | label_environment: Environnement | |
507 | label_authentication: Authentification |
|
508 | label_authentication: Authentification | |
508 | label_auth_source: Mode d'authentification |
|
509 | label_auth_source: Mode d'authentification | |
509 | label_auth_source_new: Nouveau mode d'authentification |
|
510 | label_auth_source_new: Nouveau mode d'authentification | |
510 | label_auth_source_plural: Modes d'authentification |
|
511 | label_auth_source_plural: Modes d'authentification | |
511 | label_subproject_plural: Sous-projets |
|
512 | label_subproject_plural: Sous-projets | |
512 | label_subproject_new: Nouveau sous-projet |
|
513 | label_subproject_new: Nouveau sous-projet | |
513 | label_and_its_subprojects: "%{value} et ses sous-projets" |
|
514 | label_and_its_subprojects: "%{value} et ses sous-projets" | |
514 | label_min_max_length: Longueurs mini - maxi |
|
515 | label_min_max_length: Longueurs mini - maxi | |
515 | label_list: Liste |
|
516 | label_list: Liste | |
516 | label_date: Date |
|
517 | label_date: Date | |
517 | label_integer: Entier |
|
518 | label_integer: Entier | |
518 | label_float: Nombre dΓ©cimal |
|
519 | label_float: Nombre dΓ©cimal | |
519 | label_boolean: BoolΓ©en |
|
520 | label_boolean: BoolΓ©en | |
520 | label_string: Texte |
|
521 | label_string: Texte | |
521 | label_text: Texte long |
|
522 | label_text: Texte long | |
522 | label_attribute: Attribut |
|
523 | label_attribute: Attribut | |
523 | label_attribute_plural: Attributs |
|
524 | label_attribute_plural: Attributs | |
524 | label_download: "%{count} tΓ©lΓ©chargement" |
|
525 | label_download: "%{count} tΓ©lΓ©chargement" | |
525 | label_download_plural: "%{count} tΓ©lΓ©chargements" |
|
526 | label_download_plural: "%{count} tΓ©lΓ©chargements" | |
526 | label_no_data: Aucune donnΓ©e Γ afficher |
|
527 | label_no_data: Aucune donnΓ©e Γ afficher | |
527 | label_change_status: Changer le statut |
|
528 | label_change_status: Changer le statut | |
528 | label_history: Historique |
|
529 | label_history: Historique | |
529 | label_attachment: Fichier |
|
530 | label_attachment: Fichier | |
530 | label_attachment_new: Nouveau fichier |
|
531 | label_attachment_new: Nouveau fichier | |
531 | label_attachment_delete: Supprimer le fichier |
|
532 | label_attachment_delete: Supprimer le fichier | |
532 | label_attachment_plural: Fichiers |
|
533 | label_attachment_plural: Fichiers | |
533 | label_file_added: Fichier ajoutΓ© |
|
534 | label_file_added: Fichier ajoutΓ© | |
534 | label_report: Rapport |
|
535 | label_report: Rapport | |
535 | label_report_plural: Rapports |
|
536 | label_report_plural: Rapports | |
536 | label_news: Annonce |
|
537 | label_news: Annonce | |
537 | label_news_new: Nouvelle annonce |
|
538 | label_news_new: Nouvelle annonce | |
538 | label_news_plural: Annonces |
|
539 | label_news_plural: Annonces | |
539 | label_news_latest: Dernières annonces |
|
540 | label_news_latest: Dernières annonces | |
540 | label_news_view_all: Voir toutes les annonces |
|
541 | label_news_view_all: Voir toutes les annonces | |
541 | label_news_added: Annonce ajoutΓ©e |
|
542 | label_news_added: Annonce ajoutΓ©e | |
542 | label_settings: Configuration |
|
543 | label_settings: Configuration | |
543 | label_overview: AperΓ§u |
|
544 | label_overview: AperΓ§u | |
544 | label_version: Version |
|
545 | label_version: Version | |
545 | label_version_new: Nouvelle version |
|
546 | label_version_new: Nouvelle version | |
546 | label_version_plural: Versions |
|
547 | label_version_plural: Versions | |
547 | label_confirmation: Confirmation |
|
548 | label_confirmation: Confirmation | |
548 | label_export_to: 'Formats disponibles :' |
|
549 | label_export_to: 'Formats disponibles :' | |
549 | label_read: Lire... |
|
550 | label_read: Lire... | |
550 | label_public_projects: Projets publics |
|
551 | label_public_projects: Projets publics | |
551 | label_open_issues: ouvert |
|
552 | label_open_issues: ouvert | |
552 | label_open_issues_plural: ouverts |
|
553 | label_open_issues_plural: ouverts | |
553 | label_closed_issues: fermΓ© |
|
554 | label_closed_issues: fermΓ© | |
554 | label_closed_issues_plural: fermΓ©s |
|
555 | label_closed_issues_plural: fermΓ©s | |
555 | label_x_open_issues_abbr_on_total: |
|
556 | label_x_open_issues_abbr_on_total: | |
556 | zero: 0 ouvert sur %{total} |
|
557 | zero: 0 ouvert sur %{total} | |
557 | one: 1 ouvert sur %{total} |
|
558 | one: 1 ouvert sur %{total} | |
558 | other: "%{count} ouverts sur %{total}" |
|
559 | other: "%{count} ouverts sur %{total}" | |
559 | label_x_open_issues_abbr: |
|
560 | label_x_open_issues_abbr: | |
560 | zero: 0 ouvert |
|
561 | zero: 0 ouvert | |
561 | one: 1 ouvert |
|
562 | one: 1 ouvert | |
562 | other: "%{count} ouverts" |
|
563 | other: "%{count} ouverts" | |
563 | label_x_closed_issues_abbr: |
|
564 | label_x_closed_issues_abbr: | |
564 | zero: 0 fermΓ© |
|
565 | zero: 0 fermΓ© | |
565 | one: 1 fermΓ© |
|
566 | one: 1 fermΓ© | |
566 | other: "%{count} fermΓ©s" |
|
567 | other: "%{count} fermΓ©s" | |
567 | label_total: Total |
|
568 | label_total: Total | |
568 | label_permissions: Permissions |
|
569 | label_permissions: Permissions | |
569 | label_current_status: Statut actuel |
|
570 | label_current_status: Statut actuel | |
570 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s |
|
571 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s | |
571 | label_all: tous |
|
572 | label_all: tous | |
572 | label_none: aucun |
|
573 | label_none: aucun | |
573 | label_nobody: personne |
|
574 | label_nobody: personne | |
574 | label_next: Suivant |
|
575 | label_next: Suivant | |
575 | label_previous: PrΓ©cΓ©dent |
|
576 | label_previous: PrΓ©cΓ©dent | |
576 | label_used_by: UtilisΓ© par |
|
577 | label_used_by: UtilisΓ© par | |
577 | label_details: DΓ©tails |
|
578 | label_details: DΓ©tails | |
578 | label_add_note: Ajouter une note |
|
579 | label_add_note: Ajouter une note | |
579 | label_per_page: Par page |
|
580 | label_per_page: Par page | |
580 | label_calendar: Calendrier |
|
581 | label_calendar: Calendrier | |
581 | label_months_from: mois depuis |
|
582 | label_months_from: mois depuis | |
582 | label_gantt: Gantt |
|
583 | label_gantt: Gantt | |
583 | label_internal: Interne |
|
584 | label_internal: Interne | |
584 | label_last_changes: "%{count} derniers changements" |
|
585 | label_last_changes: "%{count} derniers changements" | |
585 | label_change_view_all: Voir tous les changements |
|
586 | label_change_view_all: Voir tous les changements | |
586 | label_personalize_page: Personnaliser cette page |
|
587 | label_personalize_page: Personnaliser cette page | |
587 | label_comment: Commentaire |
|
588 | label_comment: Commentaire | |
588 | label_comment_plural: Commentaires |
|
589 | label_comment_plural: Commentaires | |
589 | label_x_comments: |
|
590 | label_x_comments: | |
590 | zero: aucun commentaire |
|
591 | zero: aucun commentaire | |
591 | one: un commentaire |
|
592 | one: un commentaire | |
592 | other: "%{count} commentaires" |
|
593 | other: "%{count} commentaires" | |
593 | label_comment_add: Ajouter un commentaire |
|
594 | label_comment_add: Ajouter un commentaire | |
594 | label_comment_added: Commentaire ajoutΓ© |
|
595 | label_comment_added: Commentaire ajoutΓ© | |
595 | label_comment_delete: Supprimer les commentaires |
|
596 | label_comment_delete: Supprimer les commentaires | |
596 | label_query: Rapport personnalisΓ© |
|
597 | label_query: Rapport personnalisΓ© | |
597 | label_query_plural: Rapports personnalisΓ©s |
|
598 | label_query_plural: Rapports personnalisΓ©s | |
598 | label_query_new: Nouveau rapport |
|
599 | label_query_new: Nouveau rapport | |
599 | label_filter_add: "Ajouter le filtre " |
|
600 | label_filter_add: "Ajouter le filtre " | |
600 | label_filter_plural: Filtres |
|
601 | label_filter_plural: Filtres | |
601 | label_equals: Γ©gal |
|
602 | label_equals: Γ©gal | |
602 | label_not_equals: diffΓ©rent |
|
603 | label_not_equals: diffΓ©rent | |
603 | label_in_less_than: dans moins de |
|
604 | label_in_less_than: dans moins de | |
604 | label_in_more_than: dans plus de |
|
605 | label_in_more_than: dans plus de | |
605 | label_in: dans |
|
606 | label_in: dans | |
606 | label_today: aujourd'hui |
|
607 | label_today: aujourd'hui | |
607 | label_all_time: toute la pΓ©riode |
|
608 | label_all_time: toute la pΓ©riode | |
608 | label_yesterday: hier |
|
609 | label_yesterday: hier | |
609 | label_this_week: cette semaine |
|
610 | label_this_week: cette semaine | |
610 | label_last_week: la semaine dernière |
|
611 | label_last_week: la semaine dernière | |
611 | label_last_n_days: "les %{count} derniers jours" |
|
612 | label_last_n_days: "les %{count} derniers jours" | |
612 | label_this_month: ce mois-ci |
|
613 | label_this_month: ce mois-ci | |
613 | label_last_month: le mois dernier |
|
614 | label_last_month: le mois dernier | |
614 | label_this_year: cette annΓ©e |
|
615 | label_this_year: cette annΓ©e | |
615 | label_date_range: PΓ©riode |
|
616 | label_date_range: PΓ©riode | |
616 | label_less_than_ago: il y a moins de |
|
617 | label_less_than_ago: il y a moins de | |
617 | label_more_than_ago: il y a plus de |
|
618 | label_more_than_ago: il y a plus de | |
618 | label_ago: il y a |
|
619 | label_ago: il y a | |
619 | label_contains: contient |
|
620 | label_contains: contient | |
620 | label_not_contains: ne contient pas |
|
621 | label_not_contains: ne contient pas | |
621 | label_day_plural: jours |
|
622 | label_day_plural: jours | |
622 | label_repository: DΓ©pΓ΄t |
|
623 | label_repository: DΓ©pΓ΄t | |
623 | label_repository_plural: DΓ©pΓ΄ts |
|
624 | label_repository_plural: DΓ©pΓ΄ts | |
624 | label_browse: Parcourir |
|
625 | label_browse: Parcourir | |
625 | label_modification: "%{count} modification" |
|
626 | label_modification: "%{count} modification" | |
626 | label_modification_plural: "%{count} modifications" |
|
627 | label_modification_plural: "%{count} modifications" | |
627 | label_revision: "RΓ©vision " |
|
628 | label_revision: "RΓ©vision " | |
628 | label_revision_plural: RΓ©visions |
|
629 | label_revision_plural: RΓ©visions | |
629 | label_associated_revisions: RΓ©visions associΓ©es |
|
630 | label_associated_revisions: RΓ©visions associΓ©es | |
630 | label_added: ajoutΓ© |
|
631 | label_added: ajoutΓ© | |
631 | label_modified: modifiΓ© |
|
632 | label_modified: modifiΓ© | |
632 | label_copied: copiΓ© |
|
633 | label_copied: copiΓ© | |
633 | label_renamed: renommΓ© |
|
634 | label_renamed: renommΓ© | |
634 | label_deleted: supprimΓ© |
|
635 | label_deleted: supprimΓ© | |
635 | label_latest_revision: Dernière révision |
|
636 | label_latest_revision: Dernière révision | |
636 | label_latest_revision_plural: Dernières révisions |
|
637 | label_latest_revision_plural: Dernières révisions | |
637 | label_view_revisions: Voir les rΓ©visions |
|
638 | label_view_revisions: Voir les rΓ©visions | |
638 | label_max_size: Taille maximale |
|
639 | label_max_size: Taille maximale | |
639 | label_sort_highest: Remonter en premier |
|
640 | label_sort_highest: Remonter en premier | |
640 | label_sort_higher: Remonter |
|
641 | label_sort_higher: Remonter | |
641 | label_sort_lower: Descendre |
|
642 | label_sort_lower: Descendre | |
642 | label_sort_lowest: Descendre en dernier |
|
643 | label_sort_lowest: Descendre en dernier | |
643 | label_roadmap: Roadmap |
|
644 | label_roadmap: Roadmap | |
644 | label_roadmap_due_in: "ΓchΓ©ance dans %{value}" |
|
645 | label_roadmap_due_in: "ΓchΓ©ance dans %{value}" | |
645 | label_roadmap_overdue: "En retard de %{value}" |
|
646 | label_roadmap_overdue: "En retard de %{value}" | |
646 | label_roadmap_no_issues: Aucune demande pour cette version |
|
647 | label_roadmap_no_issues: Aucune demande pour cette version | |
647 | label_search: "Recherche " |
|
648 | label_search: "Recherche " | |
648 | label_result_plural: RΓ©sultats |
|
649 | label_result_plural: RΓ©sultats | |
649 | label_all_words: Tous les mots |
|
650 | label_all_words: Tous les mots | |
650 | label_wiki: Wiki |
|
651 | label_wiki: Wiki | |
651 | label_wiki_edit: RΓ©vision wiki |
|
652 | label_wiki_edit: RΓ©vision wiki | |
652 | label_wiki_edit_plural: RΓ©visions wiki |
|
653 | label_wiki_edit_plural: RΓ©visions wiki | |
653 | label_wiki_page: Page wiki |
|
654 | label_wiki_page: Page wiki | |
654 | label_wiki_page_plural: Pages wiki |
|
655 | label_wiki_page_plural: Pages wiki | |
655 | label_index_by_title: Index par titre |
|
656 | label_index_by_title: Index par titre | |
656 | label_index_by_date: Index par date |
|
657 | label_index_by_date: Index par date | |
657 | label_current_version: Version actuelle |
|
658 | label_current_version: Version actuelle | |
658 | label_preview: PrΓ©visualisation |
|
659 | label_preview: PrΓ©visualisation | |
659 | label_feed_plural: Flux RSS |
|
660 | label_feed_plural: Flux RSS | |
660 | label_changes_details: DΓ©tails de tous les changements |
|
661 | label_changes_details: DΓ©tails de tous les changements | |
661 | label_issue_tracking: Suivi des demandes |
|
662 | label_issue_tracking: Suivi des demandes | |
662 | label_spent_time: Temps passΓ© |
|
663 | label_spent_time: Temps passΓ© | |
663 | label_f_hour: "%{value} heure" |
|
664 | label_f_hour: "%{value} heure" | |
664 | label_f_hour_plural: "%{value} heures" |
|
665 | label_f_hour_plural: "%{value} heures" | |
665 | label_time_tracking: Suivi du temps |
|
666 | label_time_tracking: Suivi du temps | |
666 | label_change_plural: Changements |
|
667 | label_change_plural: Changements | |
667 | label_statistics: Statistiques |
|
668 | label_statistics: Statistiques | |
668 | label_commits_per_month: Commits par mois |
|
669 | label_commits_per_month: Commits par mois | |
669 | label_commits_per_author: Commits par auteur |
|
670 | label_commits_per_author: Commits par auteur | |
670 | label_view_diff: Voir les diffΓ©rences |
|
671 | label_view_diff: Voir les diffΓ©rences | |
671 | label_diff_inline: en ligne |
|
672 | label_diff_inline: en ligne | |
672 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te |
|
673 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te | |
673 | label_options: Options |
|
674 | label_options: Options | |
674 | label_copy_workflow_from: Copier le workflow de |
|
675 | label_copy_workflow_from: Copier le workflow de | |
675 | label_permissions_report: Synthèse des permissions |
|
676 | label_permissions_report: Synthèse des permissions | |
676 | label_watched_issues: Demandes surveillΓ©es |
|
677 | label_watched_issues: Demandes surveillΓ©es | |
677 | label_related_issues: Demandes liΓ©es |
|
678 | label_related_issues: Demandes liΓ©es | |
678 | label_applied_status: Statut appliquΓ© |
|
679 | label_applied_status: Statut appliquΓ© | |
679 | label_loading: Chargement... |
|
680 | label_loading: Chargement... | |
680 | label_relation_new: Nouvelle relation |
|
681 | label_relation_new: Nouvelle relation | |
681 | label_relation_delete: Supprimer la relation |
|
682 | label_relation_delete: Supprimer la relation | |
682 | label_relates_to: liΓ© Γ |
|
683 | label_relates_to: liΓ© Γ | |
683 | label_duplicates: duplique |
|
684 | label_duplicates: duplique | |
684 | label_duplicated_by: dupliquΓ© par |
|
685 | label_duplicated_by: dupliquΓ© par | |
685 | label_blocks: bloque |
|
686 | label_blocks: bloque | |
686 | label_blocked_by: bloquΓ© par |
|
687 | label_blocked_by: bloquΓ© par | |
687 | label_precedes: précède |
|
688 | label_precedes: précède | |
688 | label_follows: suit |
|
689 | label_follows: suit | |
689 | label_end_to_start: fin Γ dΓ©but |
|
690 | label_end_to_start: fin Γ dΓ©but | |
690 | label_end_to_end: fin Γ fin |
|
691 | label_end_to_end: fin Γ fin | |
691 | label_start_to_start: dΓ©but Γ dΓ©but |
|
692 | label_start_to_start: dΓ©but Γ dΓ©but | |
692 | label_start_to_end: dΓ©but Γ fin |
|
693 | label_start_to_end: dΓ©but Γ fin | |
693 | label_stay_logged_in: Rester connectΓ© |
|
694 | label_stay_logged_in: Rester connectΓ© | |
694 | label_disabled: dΓ©sactivΓ© |
|
695 | label_disabled: dΓ©sactivΓ© | |
695 | label_show_completed_versions: Voir les versions passΓ©es |
|
696 | label_show_completed_versions: Voir les versions passΓ©es | |
696 | label_me: moi |
|
697 | label_me: moi | |
697 | label_board: Forum |
|
698 | label_board: Forum | |
698 | label_board_new: Nouveau forum |
|
699 | label_board_new: Nouveau forum | |
699 | label_board_plural: Forums |
|
700 | label_board_plural: Forums | |
700 | label_topic_plural: Discussions |
|
701 | label_topic_plural: Discussions | |
701 | label_message_plural: Messages |
|
702 | label_message_plural: Messages | |
702 | label_message_last: Dernier message |
|
703 | label_message_last: Dernier message | |
703 | label_message_new: Nouveau message |
|
704 | label_message_new: Nouveau message | |
704 | label_message_posted: Message ajoutΓ© |
|
705 | label_message_posted: Message ajoutΓ© | |
705 | label_reply_plural: RΓ©ponses |
|
706 | label_reply_plural: RΓ©ponses | |
706 | label_send_information: Envoyer les informations Γ l'utilisateur |
|
707 | label_send_information: Envoyer les informations Γ l'utilisateur | |
707 | label_year: AnnΓ©e |
|
708 | label_year: AnnΓ©e | |
708 | label_month: Mois |
|
709 | label_month: Mois | |
709 | label_week: Semaine |
|
710 | label_week: Semaine | |
710 | label_date_from: Du |
|
711 | label_date_from: Du | |
711 | label_date_to: Au |
|
712 | label_date_to: Au | |
712 | label_language_based: BasΓ© sur la langue de l'utilisateur |
|
713 | label_language_based: BasΓ© sur la langue de l'utilisateur | |
713 | label_sort_by: "Trier par %{value}" |
|
714 | label_sort_by: "Trier par %{value}" | |
714 | label_send_test_email: Envoyer un email de test |
|
715 | label_send_test_email: Envoyer un email de test | |
715 | label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a %{value}" |
|
716 | label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a %{value}" | |
716 | label_module_plural: Modules |
|
717 | label_module_plural: Modules | |
717 | label_added_time_by: "AjoutΓ© par %{author} il y a %{age}" |
|
718 | label_added_time_by: "AjoutΓ© par %{author} il y a %{age}" | |
718 | label_updated_time_by: "Mis Γ jour par %{author} il y a %{age}" |
|
719 | label_updated_time_by: "Mis Γ jour par %{author} il y a %{age}" | |
719 | label_updated_time: "Mis Γ jour il y a %{value}" |
|
720 | label_updated_time: "Mis Γ jour il y a %{value}" | |
720 | label_jump_to_a_project: Aller Γ un projet... |
|
721 | label_jump_to_a_project: Aller Γ un projet... | |
721 | label_file_plural: Fichiers |
|
722 | label_file_plural: Fichiers | |
722 | label_changeset_plural: RΓ©visions |
|
723 | label_changeset_plural: RΓ©visions | |
723 | label_default_columns: Colonnes par dΓ©faut |
|
724 | label_default_columns: Colonnes par dΓ©faut | |
724 | label_no_change_option: (Pas de changement) |
|
725 | label_no_change_option: (Pas de changement) | |
725 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es |
|
726 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es | |
726 | label_theme: Thème |
|
727 | label_theme: Thème | |
727 | label_default: DΓ©faut |
|
728 | label_default: DΓ©faut | |
728 | label_search_titles_only: Uniquement dans les titres |
|
729 | label_search_titles_only: Uniquement dans les titres | |
729 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" |
|
730 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" | |
730 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." |
|
731 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." | |
731 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" |
|
732 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" | |
732 | label_registration_activation_by_email: activation du compte par email |
|
733 | label_registration_activation_by_email: activation du compte par email | |
733 | label_registration_manual_activation: activation manuelle du compte |
|
734 | label_registration_manual_activation: activation manuelle du compte | |
734 | label_registration_automatic_activation: activation automatique du compte |
|
735 | label_registration_automatic_activation: activation automatique du compte | |
735 | label_display_per_page: "Par page : %{value}" |
|
736 | label_display_per_page: "Par page : %{value}" | |
736 | label_age: Γge |
|
737 | label_age: Γge | |
737 | label_change_properties: Changer les propriΓ©tΓ©s |
|
738 | label_change_properties: Changer les propriΓ©tΓ©s | |
738 | label_general: GΓ©nΓ©ral |
|
739 | label_general: GΓ©nΓ©ral | |
739 | label_more: Plus |
|
740 | label_more: Plus | |
740 | label_scm: SCM |
|
741 | label_scm: SCM | |
741 | label_plugins: Plugins |
|
742 | label_plugins: Plugins | |
742 | label_ldap_authentication: Authentification LDAP |
|
743 | label_ldap_authentication: Authentification LDAP | |
743 | label_downloads_abbr: D/L |
|
744 | label_downloads_abbr: D/L | |
744 | label_optional_description: Description facultative |
|
745 | label_optional_description: Description facultative | |
745 | label_add_another_file: Ajouter un autre fichier |
|
746 | label_add_another_file: Ajouter un autre fichier | |
746 | label_preferences: PrΓ©fΓ©rences |
|
747 | label_preferences: PrΓ©fΓ©rences | |
747 | label_chronological_order: Dans l'ordre chronologique |
|
748 | label_chronological_order: Dans l'ordre chronologique | |
748 | label_reverse_chronological_order: Dans l'ordre chronologique inverse |
|
749 | label_reverse_chronological_order: Dans l'ordre chronologique inverse | |
749 | label_planning: Planning |
|
750 | label_planning: Planning | |
750 | label_incoming_emails: Emails entrants |
|
751 | label_incoming_emails: Emails entrants | |
751 | label_generate_key: GΓ©nΓ©rer une clΓ© |
|
752 | label_generate_key: GΓ©nΓ©rer une clΓ© | |
752 | label_issue_watchers: Observateurs |
|
753 | label_issue_watchers: Observateurs | |
753 | label_example: Exemple |
|
754 | label_example: Exemple | |
754 | label_display: Affichage |
|
755 | label_display: Affichage | |
755 | label_sort: Tri |
|
756 | label_sort: Tri | |
756 | label_ascending: Croissant |
|
757 | label_ascending: Croissant | |
757 | label_descending: DΓ©croissant |
|
758 | label_descending: DΓ©croissant | |
758 | label_date_from_to: Du %{start} au %{end} |
|
759 | label_date_from_to: Du %{start} au %{end} | |
759 | label_wiki_content_added: Page wiki ajoutΓ©e |
|
760 | label_wiki_content_added: Page wiki ajoutΓ©e | |
760 | label_wiki_content_updated: Page wiki mise Γ jour |
|
761 | label_wiki_content_updated: Page wiki mise Γ jour | |
761 | label_group_plural: Groupes |
|
762 | label_group_plural: Groupes | |
762 | label_group: Groupe |
|
763 | label_group: Groupe | |
763 | label_group_new: Nouveau groupe |
|
764 | label_group_new: Nouveau groupe | |
764 | label_time_entry_plural: Temps passΓ© |
|
765 | label_time_entry_plural: Temps passΓ© | |
765 | label_version_sharing_none: Non partagΓ© |
|
766 | label_version_sharing_none: Non partagΓ© | |
766 | label_version_sharing_descendants: Avec les sous-projets |
|
767 | label_version_sharing_descendants: Avec les sous-projets | |
767 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie |
|
768 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie | |
768 | label_version_sharing_tree: Avec tout l'arbre |
|
769 | label_version_sharing_tree: Avec tout l'arbre | |
769 | label_version_sharing_system: Avec tous les projets |
|
770 | label_version_sharing_system: Avec tous les projets | |
770 | label_copy_source: Source |
|
771 | label_copy_source: Source | |
771 | label_copy_target: Cible |
|
772 | label_copy_target: Cible | |
772 | label_copy_same_as_target: Comme la cible |
|
773 | label_copy_same_as_target: Comme la cible | |
773 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes |
|
774 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes | |
774 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker |
|
775 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker | |
775 | label_api_access_key: Clé d'accès API |
|
776 | label_api_access_key: Clé d'accès API | |
776 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} |
|
777 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} | |
777 | label_feeds_access_key: Clé d'accès RSS |
|
778 | label_feeds_access_key: Clé d'accès RSS | |
778 | label_missing_api_access_key: Clé d'accès API manquante |
|
779 | label_missing_api_access_key: Clé d'accès API manquante | |
779 | label_missing_feeds_access_key: Clé d'accès RSS manquante |
|
780 | label_missing_feeds_access_key: Clé d'accès RSS manquante | |
780 | label_close_versions: Fermer les versions terminΓ©es |
|
781 | label_close_versions: Fermer les versions terminΓ©es | |
781 | label_revision_id: Revision %{value} |
|
782 | label_revision_id: Revision %{value} | |
782 | label_profile: Profil |
|
783 | label_profile: Profil | |
783 | label_subtask_plural: Sous-tΓ’ches |
|
784 | label_subtask_plural: Sous-tΓ’ches | |
784 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet |
|
785 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet | |
785 | label_principal_search: "Rechercher un utilisateur ou un groupe :" |
|
786 | label_principal_search: "Rechercher un utilisateur ou un groupe :" | |
786 | label_user_search: "Rechercher un utilisateur :" |
|
787 | label_user_search: "Rechercher un utilisateur :" | |
787 |
|
788 | |||
788 | button_login: Connexion |
|
789 | button_login: Connexion | |
789 | button_submit: Soumettre |
|
790 | button_submit: Soumettre | |
790 | button_save: Sauvegarder |
|
791 | button_save: Sauvegarder | |
791 | button_check_all: Tout cocher |
|
792 | button_check_all: Tout cocher | |
792 | button_uncheck_all: Tout dΓ©cocher |
|
793 | button_uncheck_all: Tout dΓ©cocher | |
793 | button_delete: Supprimer |
|
794 | button_delete: Supprimer | |
794 | button_create: CrΓ©er |
|
795 | button_create: CrΓ©er | |
795 | button_create_and_continue: CrΓ©er et continuer |
|
796 | button_create_and_continue: CrΓ©er et continuer | |
796 | button_test: Tester |
|
797 | button_test: Tester | |
797 | button_edit: Modifier |
|
798 | button_edit: Modifier | |
798 | button_add: Ajouter |
|
799 | button_add: Ajouter | |
799 | button_change: Changer |
|
800 | button_change: Changer | |
800 | button_apply: Appliquer |
|
801 | button_apply: Appliquer | |
801 | button_clear: Effacer |
|
802 | button_clear: Effacer | |
802 | button_lock: Verrouiller |
|
803 | button_lock: Verrouiller | |
803 | button_unlock: DΓ©verrouiller |
|
804 | button_unlock: DΓ©verrouiller | |
804 | button_download: TΓ©lΓ©charger |
|
805 | button_download: TΓ©lΓ©charger | |
805 | button_list: Lister |
|
806 | button_list: Lister | |
806 | button_view: Voir |
|
807 | button_view: Voir | |
807 | button_move: DΓ©placer |
|
808 | button_move: DΓ©placer | |
808 | button_move_and_follow: DΓ©placer et suivre |
|
809 | button_move_and_follow: DΓ©placer et suivre | |
809 | button_back: Retour |
|
810 | button_back: Retour | |
810 | button_cancel: Annuler |
|
811 | button_cancel: Annuler | |
811 | button_activate: Activer |
|
812 | button_activate: Activer | |
812 | button_sort: Trier |
|
813 | button_sort: Trier | |
813 | button_log_time: Saisir temps |
|
814 | button_log_time: Saisir temps | |
814 | button_rollback: Revenir Γ cette version |
|
815 | button_rollback: Revenir Γ cette version | |
815 | button_watch: Surveiller |
|
816 | button_watch: Surveiller | |
816 | button_unwatch: Ne plus surveiller |
|
817 | button_unwatch: Ne plus surveiller | |
817 | button_reply: RΓ©pondre |
|
818 | button_reply: RΓ©pondre | |
818 | button_archive: Archiver |
|
819 | button_archive: Archiver | |
819 | button_unarchive: DΓ©sarchiver |
|
820 | button_unarchive: DΓ©sarchiver | |
820 | button_reset: RΓ©initialiser |
|
821 | button_reset: RΓ©initialiser | |
821 | button_rename: Renommer |
|
822 | button_rename: Renommer | |
822 | button_change_password: Changer de mot de passe |
|
823 | button_change_password: Changer de mot de passe | |
823 | button_copy: Copier |
|
824 | button_copy: Copier | |
824 | button_copy_and_follow: Copier et suivre |
|
825 | button_copy_and_follow: Copier et suivre | |
825 | button_annotate: Annoter |
|
826 | button_annotate: Annoter | |
826 | button_update: Mettre Γ jour |
|
827 | button_update: Mettre Γ jour | |
827 | button_configure: Configurer |
|
828 | button_configure: Configurer | |
828 | button_quote: Citer |
|
829 | button_quote: Citer | |
829 | button_duplicate: Dupliquer |
|
830 | button_duplicate: Dupliquer | |
830 | button_show: Afficher |
|
831 | button_show: Afficher | |
831 |
|
832 | |||
832 | status_active: actif |
|
833 | status_active: actif | |
833 | status_registered: enregistrΓ© |
|
834 | status_registered: enregistrΓ© | |
834 | status_locked: verrouillΓ© |
|
835 | status_locked: verrouillΓ© | |
835 |
|
836 | |||
836 | version_status_open: ouvert |
|
837 | version_status_open: ouvert | |
837 | version_status_locked: verrouillΓ© |
|
838 | version_status_locked: verrouillΓ© | |
838 | version_status_closed: fermΓ© |
|
839 | version_status_closed: fermΓ© | |
839 |
|
840 | |||
840 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e |
|
841 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e | |
841 | text_regexp_info: ex. ^[A-Z0-9]+$ |
|
842 | text_regexp_info: ex. ^[A-Z0-9]+$ | |
842 | text_min_max_length_info: 0 pour aucune restriction |
|
843 | text_min_max_length_info: 0 pour aucune restriction | |
843 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? |
|
844 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? | |
844 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s." |
|
845 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s." | |
845 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow |
|
846 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow | |
846 | text_are_you_sure: Γtes-vous sΓ»r ? |
|
847 | text_are_you_sure: Γtes-vous sΓ»r ? | |
847 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour |
|
848 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour | |
848 | text_tip_issue_end_day: tΓ’che finissant ce jour |
|
849 | text_tip_issue_end_day: tΓ’che finissant ce jour | |
849 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour |
|
850 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour | |
850 | 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Γ©.' |
|
851 | 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Γ©.' | |
851 | text_caracters_maximum: "%{count} caractères maximum." |
|
852 | text_caracters_maximum: "%{count} caractères maximum." | |
852 | text_caracters_minimum: "%{count} caractères minimum." |
|
853 | text_caracters_minimum: "%{count} caractères minimum." | |
853 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." |
|
854 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." | |
854 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker |
|
855 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker | |
855 | text_unallowed_characters: Caractères non autorisés |
|
856 | text_unallowed_characters: Caractères non autorisés | |
856 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). |
|
857 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). | |
857 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). |
|
858 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). | |
858 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits |
|
859 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits | |
859 | text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}." |
|
860 | text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}." | |
860 | text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ jour par %{author}." |
|
861 | text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ jour par %{author}." | |
861 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? |
|
862 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? | |
862 | text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ cette catΓ©gorie. Que voulez-vous faire ?" |
|
863 | text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ cette catΓ©gorie. Que voulez-vous faire ?" | |
863 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie |
|
864 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie | |
864 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie |
|
865 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie | |
865 | 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)." |
|
866 | 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)." | |
866 | 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Γ©." |
|
867 | 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Γ©." | |
867 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut |
|
868 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut | |
868 | text_status_changed_by_changeset: "AppliquΓ© par commit %{value}." |
|
869 | text_status_changed_by_changeset: "AppliquΓ© par commit %{value}." | |
869 | text_time_logged_by_changeset: "AppliquΓ© par commit %{value}" |
|
870 | text_time_logged_by_changeset: "AppliquΓ© par commit %{value}" | |
870 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer le(s) demandes(s) selectionnΓ©e(s) ?' |
|
871 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer le(s) demandes(s) selectionnΓ©e(s) ?' | |
871 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' |
|
872 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' | |
872 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© |
|
873 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© | |
873 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture |
|
874 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture | |
874 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture |
|
875 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture | |
875 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) |
|
876 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) | |
876 | text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" |
|
877 | text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" | |
877 | text_destroy_time_entries: Supprimer les heures |
|
878 | text_destroy_time_entries: Supprimer les heures | |
878 | text_assign_time_entries_to_project: Reporter les heures sur le projet |
|
879 | text_assign_time_entries_to_project: Reporter les heures sur le projet | |
879 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' |
|
880 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' | |
880 | text_user_wrote: "%{value} a Γ©crit :" |
|
881 | text_user_wrote: "%{value} a Γ©crit :" | |
881 | text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ %{count} objets." |
|
882 | text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ %{count} objets." | |
882 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' |
|
883 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' | |
883 | text_email_delivery_not_configured: "L'envoi de mail n'est pas configurΓ©, les notifications sont dΓ©sactivΓ©es.\nConfigurez votre serveur SMTP dans config/configuration.yml et redΓ©marrez l'application pour les activer." |
|
884 | text_email_delivery_not_configured: "L'envoi de mail n'est pas configurΓ©, les notifications sont dΓ©sactivΓ©es.\nConfigurez votre serveur SMTP dans config/configuration.yml et redΓ©marrez l'application pour les activer." | |
884 | 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." |
|
885 | 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." | |
885 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' |
|
886 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' | |
886 | text_custom_field_possible_values_info: 'Une ligne par valeur' |
|
887 | text_custom_field_possible_values_info: 'Une ligne par valeur' | |
887 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" |
|
888 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" | |
888 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" |
|
889 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" | |
889 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" |
|
890 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" | |
890 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" |
|
891 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" | |
891 | 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 ?" |
|
892 | 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 ?" | |
|
893 | text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page." | |||
892 |
|
894 | |||
893 | default_role_manager: "Manager " |
|
895 | default_role_manager: "Manager " | |
894 | default_role_developer: "DΓ©veloppeur " |
|
896 | default_role_developer: "DΓ©veloppeur " | |
895 | default_role_reporter: "Rapporteur " |
|
897 | default_role_reporter: "Rapporteur " | |
896 | default_tracker_bug: Anomalie |
|
898 | default_tracker_bug: Anomalie | |
897 | default_tracker_feature: Evolution |
|
899 | default_tracker_feature: Evolution | |
898 | default_tracker_support: Assistance |
|
900 | default_tracker_support: Assistance | |
899 | default_issue_status_new: Nouveau |
|
901 | default_issue_status_new: Nouveau | |
900 | default_issue_status_in_progress: En cours |
|
902 | default_issue_status_in_progress: En cours | |
901 | default_issue_status_resolved: RΓ©solu |
|
903 | default_issue_status_resolved: RΓ©solu | |
902 | default_issue_status_feedback: Commentaire |
|
904 | default_issue_status_feedback: Commentaire | |
903 | default_issue_status_closed: FermΓ© |
|
905 | default_issue_status_closed: FermΓ© | |
904 | default_issue_status_rejected: RejetΓ© |
|
906 | default_issue_status_rejected: RejetΓ© | |
905 | default_doc_category_user: Documentation utilisateur |
|
907 | default_doc_category_user: Documentation utilisateur | |
906 | default_doc_category_tech: Documentation technique |
|
908 | default_doc_category_tech: Documentation technique | |
907 | default_priority_low: Bas |
|
909 | default_priority_low: Bas | |
908 | default_priority_normal: Normal |
|
910 | default_priority_normal: Normal | |
909 | default_priority_high: Haut |
|
911 | default_priority_high: Haut | |
910 | default_priority_urgent: Urgent |
|
912 | default_priority_urgent: Urgent | |
911 | default_priority_immediate: ImmΓ©diat |
|
913 | default_priority_immediate: ImmΓ©diat | |
912 | default_activity_design: Conception |
|
914 | default_activity_design: Conception | |
913 | default_activity_development: DΓ©veloppement |
|
915 | default_activity_development: DΓ©veloppement | |
914 |
|
916 | |||
915 | enumeration_issue_priorities: PrioritΓ©s des demandes |
|
917 | enumeration_issue_priorities: PrioritΓ©s des demandes | |
916 | enumeration_doc_categories: CatΓ©gories des documents |
|
918 | enumeration_doc_categories: CatΓ©gories des documents | |
917 | enumeration_activities: ActivitΓ©s (suivi du temps) |
|
919 | enumeration_activities: ActivitΓ©s (suivi du temps) | |
918 | label_greater_or_equal: ">=" |
|
920 | label_greater_or_equal: ">=" | |
919 | label_less_or_equal: "<=" |
|
921 | label_less_or_equal: "<=" | |
920 | label_view_all_revisions: Voir toutes les rΓ©visions |
|
922 | label_view_all_revisions: Voir toutes les rΓ©visions | |
921 | label_tag: Tag |
|
923 | label_tag: Tag | |
922 | label_branch: Branche |
|
924 | label_branch: Branche | |
923 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." |
|
925 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." | |
924 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." |
|
926 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." | |
925 | text_journal_changed: "%{label} changΓ© de %{old} Γ %{new}" |
|
927 | text_journal_changed: "%{label} changΓ© de %{old} Γ %{new}" | |
926 | text_journal_set_to: "%{label} mis Γ %{value}" |
|
928 | text_journal_set_to: "%{label} mis Γ %{value}" | |
927 | text_journal_deleted: "%{label} %{old} supprimΓ©" |
|
929 | text_journal_deleted: "%{label} %{old} supprimΓ©" | |
928 | text_journal_added: "%{label} %{value} ajoutΓ©" |
|
930 | text_journal_added: "%{label} %{value} ajoutΓ©" | |
929 | enumeration_system_activity: Activité système |
|
931 | enumeration_system_activity: Activité système | |
930 | label_board_sticky: Sticky |
|
932 | label_board_sticky: Sticky | |
931 | label_board_locked: VerrouillΓ© |
|
933 | label_board_locked: VerrouillΓ© | |
932 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande |
|
934 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande | |
933 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© |
|
935 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© | |
934 | error_unable_to_connect: Connexion impossible (%{value}) |
|
936 | error_unable_to_connect: Connexion impossible (%{value}) | |
935 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. |
|
937 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. | |
936 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. |
|
938 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. | |
937 | field_principal: Principal |
|
939 | field_principal: Principal | |
938 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." |
|
940 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." | |
939 | text_zoom_out: Zoom arrière |
|
941 | text_zoom_out: Zoom arrière | |
940 | text_zoom_in: Zoom avant |
|
942 | text_zoom_in: Zoom avant | |
941 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. |
|
943 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. | |
942 | label_overall_spent_time: Temps passΓ© global |
|
944 | label_overall_spent_time: Temps passΓ© global | |
943 | field_time_entries: Log time |
|
945 | field_time_entries: Log time | |
944 | project_module_gantt: Gantt |
|
946 | project_module_gantt: Gantt | |
945 | project_module_calendar: Calendrier |
|
947 | project_module_calendar: Calendrier | |
946 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}" |
|
948 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}" | |
947 | text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ? |
|
949 | text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ? | |
948 | field_text: Champ texte |
|
950 | field_text: Champ texte | |
949 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé |
|
951 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé | |
950 | setting_default_notification_option: Option de notification par dΓ©faut |
|
952 | setting_default_notification_option: Option de notification par dΓ©faut | |
951 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille |
|
953 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille | |
952 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© |
|
954 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© | |
953 | label_user_mail_option_none: Aucune notification |
|
955 | label_user_mail_option_none: Aucune notification | |
954 | field_member_of_group: Groupe de l'assignΓ© |
|
956 | field_member_of_group: Groupe de l'assignΓ© | |
955 | field_assigned_to_role: RΓ΄le de l'assignΓ© |
|
957 | field_assigned_to_role: RΓ΄le de l'assignΓ© | |
956 | setting_emails_header: Emails header |
|
958 | setting_emails_header: Emails header |
@@ -1,279 +1,322 | |||||
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 | function checkAll (id, checked) { |
|
4 | function checkAll (id, checked) { | |
5 | var els = Element.descendants(id); |
|
5 | var els = Element.descendants(id); | |
6 | for (var i = 0; i < els.length; i++) { |
|
6 | for (var i = 0; i < els.length; i++) { | |
7 | if (els[i].disabled==false) { |
|
7 | if (els[i].disabled==false) { | |
8 | els[i].checked = checked; |
|
8 | els[i].checked = checked; | |
9 | } |
|
9 | } | |
10 | } |
|
10 | } | |
11 | } |
|
11 | } | |
12 |
|
12 | |||
13 | function toggleCheckboxesBySelector(selector) { |
|
13 | function toggleCheckboxesBySelector(selector) { | |
14 | boxes = $$(selector); |
|
14 | boxes = $$(selector); | |
15 | var all_checked = true; |
|
15 | var all_checked = true; | |
16 | for (i = 0; i < boxes.length; i++) { if (boxes[i].checked == false) { all_checked = false; } } |
|
16 | for (i = 0; i < boxes.length; i++) { if (boxes[i].checked == false) { all_checked = false; } } | |
17 | for (i = 0; i < boxes.length; i++) { boxes[i].checked = !all_checked; } |
|
17 | for (i = 0; i < boxes.length; i++) { boxes[i].checked = !all_checked; } | |
18 | } |
|
18 | } | |
19 |
|
19 | |||
20 | function setCheckboxesBySelector(checked, selector) { |
|
20 | function setCheckboxesBySelector(checked, selector) { | |
21 | var boxes = $$(selector); |
|
21 | var boxes = $$(selector); | |
22 | boxes.each(function(ele) { |
|
22 | boxes.each(function(ele) { | |
23 | ele.checked = checked; |
|
23 | ele.checked = checked; | |
24 | }); |
|
24 | }); | |
25 | } |
|
25 | } | |
26 |
|
26 | |||
27 | function showAndScrollTo(id, focus) { |
|
27 | function showAndScrollTo(id, focus) { | |
28 | Element.show(id); |
|
28 | Element.show(id); | |
29 | if (focus!=null) { Form.Element.focus(focus); } |
|
29 | if (focus!=null) { Form.Element.focus(focus); } | |
30 | Element.scrollTo(id); |
|
30 | Element.scrollTo(id); | |
31 | } |
|
31 | } | |
32 |
|
32 | |||
33 | function toggleRowGroup(el) { |
|
33 | function toggleRowGroup(el) { | |
34 | var tr = Element.up(el, 'tr'); |
|
34 | var tr = Element.up(el, 'tr'); | |
35 | var n = Element.next(tr); |
|
35 | var n = Element.next(tr); | |
36 | tr.toggleClassName('open'); |
|
36 | tr.toggleClassName('open'); | |
37 | while (n != undefined && !n.hasClassName('group')) { |
|
37 | while (n != undefined && !n.hasClassName('group')) { | |
38 | Element.toggle(n); |
|
38 | Element.toggle(n); | |
39 | n = Element.next(n); |
|
39 | n = Element.next(n); | |
40 | } |
|
40 | } | |
41 | } |
|
41 | } | |
42 |
|
42 | |||
43 | function toggleFieldset(el) { |
|
43 | function toggleFieldset(el) { | |
44 | var fieldset = Element.up(el, 'fieldset'); |
|
44 | var fieldset = Element.up(el, 'fieldset'); | |
45 | fieldset.toggleClassName('collapsed'); |
|
45 | fieldset.toggleClassName('collapsed'); | |
46 | Effect.toggle(fieldset.down('div'), 'slide', {duration:0.2}); |
|
46 | Effect.toggle(fieldset.down('div'), 'slide', {duration:0.2}); | |
47 | } |
|
47 | } | |
48 |
|
48 | |||
49 | function hideFieldset(el) { |
|
49 | function hideFieldset(el) { | |
50 | var fieldset = Element.up(el, 'fieldset'); |
|
50 | var fieldset = Element.up(el, 'fieldset'); | |
51 | fieldset.toggleClassName('collapsed'); |
|
51 | fieldset.toggleClassName('collapsed'); | |
52 | fieldset.down('div').hide(); |
|
52 | fieldset.down('div').hide(); | |
53 | } |
|
53 | } | |
54 |
|
54 | |||
55 | var fileFieldCount = 1; |
|
55 | var fileFieldCount = 1; | |
56 |
|
56 | |||
57 | function addFileField() { |
|
57 | function addFileField() { | |
58 | if (fileFieldCount >= 10) return false |
|
58 | if (fileFieldCount >= 10) return false | |
59 | fileFieldCount++; |
|
59 | fileFieldCount++; | |
60 | var f = document.createElement("input"); |
|
60 | var f = document.createElement("input"); | |
61 | f.type = "file"; |
|
61 | f.type = "file"; | |
62 | f.name = "attachments[" + fileFieldCount + "][file]"; |
|
62 | f.name = "attachments[" + fileFieldCount + "][file]"; | |
63 | f.size = 30; |
|
63 | f.size = 30; | |
64 | var d = document.createElement("input"); |
|
64 | var d = document.createElement("input"); | |
65 | d.type = "text"; |
|
65 | d.type = "text"; | |
66 | d.name = "attachments[" + fileFieldCount + "][description]"; |
|
66 | d.name = "attachments[" + fileFieldCount + "][description]"; | |
67 | d.size = 60; |
|
67 | d.size = 60; | |
68 | var dLabel = new Element('label'); |
|
68 | var dLabel = new Element('label'); | |
69 | dLabel.addClassName('inline'); |
|
69 | dLabel.addClassName('inline'); | |
70 | // Pulls the languge value used for Optional Description |
|
70 | // Pulls the languge value used for Optional Description | |
71 | dLabel.update($('attachment_description_label_content').innerHTML) |
|
71 | dLabel.update($('attachment_description_label_content').innerHTML) | |
72 | p = document.getElementById("attachments_fields"); |
|
72 | p = document.getElementById("attachments_fields"); | |
73 | p.appendChild(document.createElement("br")); |
|
73 | p.appendChild(document.createElement("br")); | |
74 | p.appendChild(f); |
|
74 | p.appendChild(f); | |
75 | p.appendChild(dLabel); |
|
75 | p.appendChild(dLabel); | |
76 | dLabel.appendChild(d); |
|
76 | dLabel.appendChild(d); | |
77 |
|
77 | |||
78 | } |
|
78 | } | |
79 |
|
79 | |||
80 | function showTab(name) { |
|
80 | function showTab(name) { | |
81 | var f = $$('div#content .tab-content'); |
|
81 | var f = $$('div#content .tab-content'); | |
82 | for(var i=0; i<f.length; i++){ |
|
82 | for(var i=0; i<f.length; i++){ | |
83 | Element.hide(f[i]); |
|
83 | Element.hide(f[i]); | |
84 | } |
|
84 | } | |
85 | var f = $$('div.tabs a'); |
|
85 | var f = $$('div.tabs a'); | |
86 | for(var i=0; i<f.length; i++){ |
|
86 | for(var i=0; i<f.length; i++){ | |
87 | Element.removeClassName(f[i], "selected"); |
|
87 | Element.removeClassName(f[i], "selected"); | |
88 | } |
|
88 | } | |
89 | Element.show('tab-content-' + name); |
|
89 | Element.show('tab-content-' + name); | |
90 | Element.addClassName('tab-' + name, "selected"); |
|
90 | Element.addClassName('tab-' + name, "selected"); | |
91 | return false; |
|
91 | return false; | |
92 | } |
|
92 | } | |
93 |
|
93 | |||
94 | function moveTabRight(el) { |
|
94 | function moveTabRight(el) { | |
95 | var lis = Element.up(el, 'div.tabs').down('ul').childElements(); |
|
95 | var lis = Element.up(el, 'div.tabs').down('ul').childElements(); | |
96 | var tabsWidth = 0; |
|
96 | var tabsWidth = 0; | |
97 | var i; |
|
97 | var i; | |
98 | for (i=0; i<lis.length; i++) { |
|
98 | for (i=0; i<lis.length; i++) { | |
99 | if (lis[i].visible()) { |
|
99 | if (lis[i].visible()) { | |
100 | tabsWidth += lis[i].getWidth() + 6; |
|
100 | tabsWidth += lis[i].getWidth() + 6; | |
101 | } |
|
101 | } | |
102 | } |
|
102 | } | |
103 | if (tabsWidth < Element.up(el, 'div.tabs').getWidth() - 60) { |
|
103 | if (tabsWidth < Element.up(el, 'div.tabs').getWidth() - 60) { | |
104 | return; |
|
104 | return; | |
105 | } |
|
105 | } | |
106 | i=0; |
|
106 | i=0; | |
107 | while (i<lis.length && !lis[i].visible()) { |
|
107 | while (i<lis.length && !lis[i].visible()) { | |
108 | i++; |
|
108 | i++; | |
109 | } |
|
109 | } | |
110 | lis[i].hide(); |
|
110 | lis[i].hide(); | |
111 | } |
|
111 | } | |
112 |
|
112 | |||
113 | function moveTabLeft(el) { |
|
113 | function moveTabLeft(el) { | |
114 | var lis = Element.up(el, 'div.tabs').down('ul').childElements(); |
|
114 | var lis = Element.up(el, 'div.tabs').down('ul').childElements(); | |
115 | var i = 0; |
|
115 | var i = 0; | |
116 | while (i<lis.length && !lis[i].visible()) { |
|
116 | while (i<lis.length && !lis[i].visible()) { | |
117 | i++; |
|
117 | i++; | |
118 | } |
|
118 | } | |
119 | if (i>0) { |
|
119 | if (i>0) { | |
120 | lis[i-1].show(); |
|
120 | lis[i-1].show(); | |
121 | } |
|
121 | } | |
122 | } |
|
122 | } | |
123 |
|
123 | |||
124 | function displayTabsButtons() { |
|
124 | function displayTabsButtons() { | |
125 | var lis; |
|
125 | var lis; | |
126 | var tabsWidth = 0; |
|
126 | var tabsWidth = 0; | |
127 | var i; |
|
127 | var i; | |
128 | $$('div.tabs').each(function(el) { |
|
128 | $$('div.tabs').each(function(el) { | |
129 | lis = el.down('ul').childElements(); |
|
129 | lis = el.down('ul').childElements(); | |
130 | for (i=0; i<lis.length; i++) { |
|
130 | for (i=0; i<lis.length; i++) { | |
131 | if (lis[i].visible()) { |
|
131 | if (lis[i].visible()) { | |
132 | tabsWidth += lis[i].getWidth() + 6; |
|
132 | tabsWidth += lis[i].getWidth() + 6; | |
133 | } |
|
133 | } | |
134 | } |
|
134 | } | |
135 | if ((tabsWidth < el.getWidth() - 60) && (lis[0].visible())) { |
|
135 | if ((tabsWidth < el.getWidth() - 60) && (lis[0].visible())) { | |
136 | el.down('div.tabs-buttons').hide(); |
|
136 | el.down('div.tabs-buttons').hide(); | |
137 | } else { |
|
137 | } else { | |
138 | el.down('div.tabs-buttons').show(); |
|
138 | el.down('div.tabs-buttons').show(); | |
139 | } |
|
139 | } | |
140 | }); |
|
140 | }); | |
141 | } |
|
141 | } | |
142 |
|
142 | |||
143 | function setPredecessorFieldsVisibility() { |
|
143 | function setPredecessorFieldsVisibility() { | |
144 | relationType = $('relation_relation_type'); |
|
144 | relationType = $('relation_relation_type'); | |
145 | if (relationType && (relationType.value == "precedes" || relationType.value == "follows")) { |
|
145 | if (relationType && (relationType.value == "precedes" || relationType.value == "follows")) { | |
146 | Element.show('predecessor_fields'); |
|
146 | Element.show('predecessor_fields'); | |
147 | } else { |
|
147 | } else { | |
148 | Element.hide('predecessor_fields'); |
|
148 | Element.hide('predecessor_fields'); | |
149 | } |
|
149 | } | |
150 | } |
|
150 | } | |
151 |
|
151 | |||
152 | function promptToRemote(text, param, url) { |
|
152 | function promptToRemote(text, param, url) { | |
153 | value = prompt(text + ':'); |
|
153 | value = prompt(text + ':'); | |
154 | if (value) { |
|
154 | if (value) { | |
155 | new Ajax.Request(url + '?' + param + '=' + encodeURIComponent(value), {asynchronous:true, evalScripts:true}); |
|
155 | new Ajax.Request(url + '?' + param + '=' + encodeURIComponent(value), {asynchronous:true, evalScripts:true}); | |
156 | return false; |
|
156 | return false; | |
157 | } |
|
157 | } | |
158 | } |
|
158 | } | |
159 |
|
159 | |||
160 | function collapseScmEntry(id) { |
|
160 | function collapseScmEntry(id) { | |
161 | var els = document.getElementsByClassName(id, 'browser'); |
|
161 | var els = document.getElementsByClassName(id, 'browser'); | |
162 | for (var i = 0; i < els.length; i++) { |
|
162 | for (var i = 0; i < els.length; i++) { | |
163 | if (els[i].hasClassName('open')) { |
|
163 | if (els[i].hasClassName('open')) { | |
164 | collapseScmEntry(els[i].id); |
|
164 | collapseScmEntry(els[i].id); | |
165 | } |
|
165 | } | |
166 | Element.hide(els[i]); |
|
166 | Element.hide(els[i]); | |
167 | } |
|
167 | } | |
168 | $(id).removeClassName('open'); |
|
168 | $(id).removeClassName('open'); | |
169 | } |
|
169 | } | |
170 |
|
170 | |||
171 | function expandScmEntry(id) { |
|
171 | function expandScmEntry(id) { | |
172 | var els = document.getElementsByClassName(id, 'browser'); |
|
172 | var els = document.getElementsByClassName(id, 'browser'); | |
173 | for (var i = 0; i < els.length; i++) { |
|
173 | for (var i = 0; i < els.length; i++) { | |
174 | Element.show(els[i]); |
|
174 | Element.show(els[i]); | |
175 | if (els[i].hasClassName('loaded') && !els[i].hasClassName('collapsed')) { |
|
175 | if (els[i].hasClassName('loaded') && !els[i].hasClassName('collapsed')) { | |
176 | expandScmEntry(els[i].id); |
|
176 | expandScmEntry(els[i].id); | |
177 | } |
|
177 | } | |
178 | } |
|
178 | } | |
179 | $(id).addClassName('open'); |
|
179 | $(id).addClassName('open'); | |
180 | } |
|
180 | } | |
181 |
|
181 | |||
182 | function scmEntryClick(id) { |
|
182 | function scmEntryClick(id) { | |
183 | el = $(id); |
|
183 | el = $(id); | |
184 | if (el.hasClassName('open')) { |
|
184 | if (el.hasClassName('open')) { | |
185 | collapseScmEntry(id); |
|
185 | collapseScmEntry(id); | |
186 | el.addClassName('collapsed'); |
|
186 | el.addClassName('collapsed'); | |
187 | return false; |
|
187 | return false; | |
188 | } else if (el.hasClassName('loaded')) { |
|
188 | } else if (el.hasClassName('loaded')) { | |
189 | expandScmEntry(id); |
|
189 | expandScmEntry(id); | |
190 | el.removeClassName('collapsed'); |
|
190 | el.removeClassName('collapsed'); | |
191 | return false; |
|
191 | return false; | |
192 | } |
|
192 | } | |
193 | if (el.hasClassName('loading')) { |
|
193 | if (el.hasClassName('loading')) { | |
194 | return false; |
|
194 | return false; | |
195 | } |
|
195 | } | |
196 | el.addClassName('loading'); |
|
196 | el.addClassName('loading'); | |
197 | return true; |
|
197 | return true; | |
198 | } |
|
198 | } | |
199 |
|
199 | |||
200 | function scmEntryLoaded(id) { |
|
200 | function scmEntryLoaded(id) { | |
201 | Element.addClassName(id, 'open'); |
|
201 | Element.addClassName(id, 'open'); | |
202 | Element.addClassName(id, 'loaded'); |
|
202 | Element.addClassName(id, 'loaded'); | |
203 | Element.removeClassName(id, 'loading'); |
|
203 | Element.removeClassName(id, 'loading'); | |
204 | } |
|
204 | } | |
205 |
|
205 | |||
206 | function randomKey(size) { |
|
206 | function randomKey(size) { | |
207 | var chars = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'); |
|
207 | var chars = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'); | |
208 | var key = ''; |
|
208 | var key = ''; | |
209 | for (i = 0; i < size; i++) { |
|
209 | for (i = 0; i < size; i++) { | |
210 | key += chars[Math.floor(Math.random() * chars.length)]; |
|
210 | key += chars[Math.floor(Math.random() * chars.length)]; | |
211 | } |
|
211 | } | |
212 | return key; |
|
212 | return key; | |
213 | } |
|
213 | } | |
214 |
|
214 | |||
215 | function observeParentIssueField(url) { |
|
215 | function observeParentIssueField(url) { | |
216 | new Ajax.Autocompleter('issue_parent_issue_id', |
|
216 | new Ajax.Autocompleter('issue_parent_issue_id', | |
217 | 'parent_issue_candidates', |
|
217 | 'parent_issue_candidates', | |
218 | url, |
|
218 | url, | |
219 | { minChars: 3, |
|
219 | { minChars: 3, | |
220 | frequency: 0.5, |
|
220 | frequency: 0.5, | |
221 | paramName: 'q', |
|
221 | paramName: 'q', | |
222 | updateElement: function(value) { |
|
222 | updateElement: function(value) { | |
223 | document.getElementById('issue_parent_issue_id').value = value.id; |
|
223 | document.getElementById('issue_parent_issue_id').value = value.id; | |
224 | }}); |
|
224 | }}); | |
225 | } |
|
225 | } | |
226 |
|
226 | |||
227 | function observeRelatedIssueField(url) { |
|
227 | function observeRelatedIssueField(url) { | |
228 | new Ajax.Autocompleter('relation_issue_to_id', |
|
228 | new Ajax.Autocompleter('relation_issue_to_id', | |
229 | 'related_issue_candidates', |
|
229 | 'related_issue_candidates', | |
230 | url, |
|
230 | url, | |
231 | { minChars: 3, |
|
231 | { minChars: 3, | |
232 | frequency: 0.5, |
|
232 | frequency: 0.5, | |
233 | paramName: 'q', |
|
233 | paramName: 'q', | |
234 | updateElement: function(value) { |
|
234 | updateElement: function(value) { | |
235 | document.getElementById('relation_issue_to_id').value = value.id; |
|
235 | document.getElementById('relation_issue_to_id').value = value.id; | |
236 | }, |
|
236 | }, | |
237 | parameters: 'scope=all' |
|
237 | parameters: 'scope=all' | |
238 | }); |
|
238 | }); | |
239 | } |
|
239 | } | |
240 |
|
240 | |||
241 | function setVisible(id, visible) { |
|
241 | function setVisible(id, visible) { | |
242 | var el = $(id); |
|
242 | var el = $(id); | |
243 | if (el) {if (visible) {el.show();} else {el.hide();}} |
|
243 | if (el) {if (visible) {el.show();} else {el.hide();}} | |
244 | } |
|
244 | } | |
245 |
|
245 | |||
246 | function observeProjectModules() { |
|
246 | function observeProjectModules() { | |
247 | var f = function() { |
|
247 | var f = function() { | |
248 | /* Hides trackers and issues custom fields on the new project form when issue_tracking module is disabled */ |
|
248 | /* Hides trackers and issues custom fields on the new project form when issue_tracking module is disabled */ | |
249 | var c = ($('project_enabled_module_names_issue_tracking').checked == true); |
|
249 | var c = ($('project_enabled_module_names_issue_tracking').checked == true); | |
250 | setVisible('project_trackers', c); |
|
250 | setVisible('project_trackers', c); | |
251 | setVisible('project_issue_custom_fields', c); |
|
251 | setVisible('project_issue_custom_fields', c); | |
252 | }; |
|
252 | }; | |
253 |
|
253 | |||
254 | Event.observe(window, 'load', f); |
|
254 | Event.observe(window, 'load', f); | |
255 | Event.observe('project_enabled_module_names_issue_tracking', 'change', f); |
|
255 | Event.observe('project_enabled_module_names_issue_tracking', 'change', f); | |
256 | } |
|
256 | } | |
257 |
|
257 | |||
|
258 | /* | |||
|
259 | * Class used to warn user when leaving a page with unsaved textarea | |||
|
260 | * Author: mathias.fischer@berlinonline.de | |||
|
261 | */ | |||
|
262 | ||||
|
263 | var WarnLeavingUnsaved = Class.create({ | |||
|
264 | observedForms: false, | |||
|
265 | observedElements: false, | |||
|
266 | changedForms: false, | |||
|
267 | message: null, | |||
|
268 | ||||
|
269 | initialize: function(message){ | |||
|
270 | this.observedForms = $$('form'); | |||
|
271 | this.observedElements = $$('textarea'); | |||
|
272 | this.message = message; | |||
|
273 | ||||
|
274 | this.observedElements.each(this.observeChange.bind(this)); | |||
|
275 | this.observedForms.each(this.submitAction.bind(this)); | |||
|
276 | ||||
|
277 | window.onbeforeunload = this.unload.bind(this); | |||
|
278 | }, | |||
|
279 | ||||
|
280 | unload: function(){ | |||
|
281 | if(this.changedForms) | |||
|
282 | return this.message; | |||
|
283 | }, | |||
|
284 | ||||
|
285 | setChanged: function(){ | |||
|
286 | this.changedForms = true; | |||
|
287 | }, | |||
|
288 | ||||
|
289 | setUnchanged: function(){ | |||
|
290 | this.changedForms = false; | |||
|
291 | }, | |||
|
292 | ||||
|
293 | observeChange: function(element){ | |||
|
294 | element.observe('change',this.setChanged.bindAsEventListener(this)); | |||
|
295 | }, | |||
|
296 | ||||
|
297 | submitAction: function(element){ | |||
|
298 | element.observe('submit',this.setUnchanged.bindAsEventListener(this)); | |||
|
299 | } | |||
|
300 | }); | |||
258 |
|
301 | |||
259 |
|
|
302 | /* shows and hides ajax indicator */ | |
260 | Ajax.Responders.register({ |
|
303 | Ajax.Responders.register({ | |
261 | onCreate: function(){ |
|
304 | onCreate: function(){ | |
262 | if ($('ajax-indicator') && Ajax.activeRequestCount > 0) { |
|
305 | if ($('ajax-indicator') && Ajax.activeRequestCount > 0) { | |
263 | Element.show('ajax-indicator'); |
|
306 | Element.show('ajax-indicator'); | |
264 | } |
|
307 | } | |
265 | }, |
|
308 | }, | |
266 | onComplete: function(){ |
|
309 | onComplete: function(){ | |
267 | if ($('ajax-indicator') && Ajax.activeRequestCount == 0) { |
|
310 | if ($('ajax-indicator') && Ajax.activeRequestCount == 0) { | |
268 | Element.hide('ajax-indicator'); |
|
311 | Element.hide('ajax-indicator'); | |
269 | } |
|
312 | } | |
270 | } |
|
313 | } | |
271 | }); |
|
314 | }); | |
272 |
|
315 | |||
273 | function hideOnLoad() { |
|
316 | function hideOnLoad() { | |
274 | $$('.hol').each(function(el) { |
|
317 | $$('.hol').each(function(el) { | |
275 | el.hide(); |
|
318 | el.hide(); | |
276 | }); |
|
319 | }); | |
277 | } |
|
320 | } | |
278 |
|
321 | |||
279 | Event.observe(window, 'load', hideOnLoad); |
|
322 | Event.observe(window, 'load', hideOnLoad); |
@@ -1,70 +1,94 | |||||
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 | require File.expand_path('../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../test_helper', __FILE__) | |
19 | require 'welcome_controller' |
|
19 | require 'welcome_controller' | |
20 |
|
20 | |||
21 | # Re-raise errors caught by the controller. |
|
21 | # Re-raise errors caught by the controller. | |
22 | class WelcomeController; def rescue_action(e) raise e end; end |
|
22 | class WelcomeController; def rescue_action(e) raise e end; end | |
23 |
|
23 | |||
24 | class WelcomeControllerTest < ActionController::TestCase |
|
24 | class WelcomeControllerTest < ActionController::TestCase | |
25 | fixtures :projects, :news |
|
25 | fixtures :projects, :news | |
26 |
|
26 | |||
27 | def setup |
|
27 | def setup | |
28 | @controller = WelcomeController.new |
|
28 | @controller = WelcomeController.new | |
29 | @request = ActionController::TestRequest.new |
|
29 | @request = ActionController::TestRequest.new | |
30 | @response = ActionController::TestResponse.new |
|
30 | @response = ActionController::TestResponse.new | |
31 | User.current = nil |
|
31 | User.current = nil | |
32 | end |
|
32 | end | |
33 |
|
33 | |||
34 | def test_index |
|
34 | def test_index | |
35 | get :index |
|
35 | get :index | |
36 | assert_response :success |
|
36 | assert_response :success | |
37 | assert_template 'index' |
|
37 | assert_template 'index' | |
38 | assert_not_nil assigns(:news) |
|
38 | assert_not_nil assigns(:news) | |
39 | assert_not_nil assigns(:projects) |
|
39 | assert_not_nil assigns(:projects) | |
40 | assert !assigns(:projects).include?(Project.find(:first, :conditions => {:is_public => false})) |
|
40 | assert !assigns(:projects).include?(Project.find(:first, :conditions => {:is_public => false})) | |
41 | end |
|
41 | end | |
42 |
|
42 | |||
43 | def test_browser_language |
|
43 | def test_browser_language | |
44 | Setting.default_language = 'en' |
|
44 | Setting.default_language = 'en' | |
45 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' |
|
45 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' | |
46 | get :index |
|
46 | get :index | |
47 | assert_equal :fr, @controller.current_language |
|
47 | assert_equal :fr, @controller.current_language | |
48 | end |
|
48 | end | |
49 |
|
49 | |||
50 | def test_browser_language_alternate |
|
50 | def test_browser_language_alternate | |
51 | Setting.default_language = 'en' |
|
51 | Setting.default_language = 'en' | |
52 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'zh-TW' |
|
52 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'zh-TW' | |
53 | get :index |
|
53 | get :index | |
54 | assert_equal :"zh-TW", @controller.current_language |
|
54 | assert_equal :"zh-TW", @controller.current_language | |
55 | end |
|
55 | end | |
56 |
|
56 | |||
57 | def test_browser_language_alternate_not_valid |
|
57 | def test_browser_language_alternate_not_valid | |
58 | Setting.default_language = 'en' |
|
58 | Setting.default_language = 'en' | |
59 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr-CA' |
|
59 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr-CA' | |
60 | get :index |
|
60 | get :index | |
61 | assert_equal :fr, @controller.current_language |
|
61 | assert_equal :fr, @controller.current_language | |
62 | end |
|
62 | end | |
63 |
|
63 | |||
64 | def test_robots |
|
64 | def test_robots | |
65 | get :robots |
|
65 | get :robots | |
66 | assert_response :success |
|
66 | assert_response :success | |
67 | assert_equal 'text/plain', @response.content_type |
|
67 | assert_equal 'text/plain', @response.content_type | |
68 | assert @response.body.match(%r{^Disallow: /projects/ecookbook/issues\r?$}) |
|
68 | assert @response.body.match(%r{^Disallow: /projects/ecookbook/issues\r?$}) | |
69 | end |
|
69 | end | |
|
70 | ||||
|
71 | def test_warn_on_leaving_unsaved_turn_on | |||
|
72 | user = User.find(2) | |||
|
73 | user.pref.warn_on_leaving_unsaved = '1' | |||
|
74 | user.pref.save! | |||
|
75 | @request.session[:user_id] = 2 | |||
|
76 | ||||
|
77 | get :index | |||
|
78 | assert_tag 'script', | |||
|
79 | :attributes => {:type => "text/javascript"}, | |||
|
80 | :content => %r{new WarnLeavingUnsaved} | |||
|
81 | end | |||
|
82 | ||||
|
83 | def test_warn_on_leaving_unsaved_turn_off | |||
|
84 | user = User.find(2) | |||
|
85 | user.pref.warn_on_leaving_unsaved = '0' | |||
|
86 | user.pref.save! | |||
|
87 | @request.session[:user_id] = 2 | |||
|
88 | ||||
|
89 | get :index | |||
|
90 | assert_no_tag 'script', | |||
|
91 | :attributes => {:type => "text/javascript"}, | |||
|
92 | :content => %r{new WarnLeavingUnsaved} | |||
|
93 | end | |||
70 | end |
|
94 | end |
General Comments 0
You need to be logged in to leave comments.
Login now