@@ -1,304 +1,343 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2013 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 AccountController < ApplicationController |
|
18 | class AccountController < ApplicationController | |
19 | helper :custom_fields |
|
19 | helper :custom_fields | |
20 | include CustomFieldsHelper |
|
20 | include CustomFieldsHelper | |
21 |
|
21 | |||
22 | # prevents login action to be filtered by check_if_login_required application scope filter |
|
22 | # prevents login action to be filtered by check_if_login_required application scope filter | |
23 | skip_before_filter :check_if_login_required |
|
23 | skip_before_filter :check_if_login_required | |
24 |
|
24 | |||
25 | # Login request and validation |
|
25 | # Login request and validation | |
26 | def login |
|
26 | def login | |
27 | if request.get? |
|
27 | if request.get? | |
28 | if User.current.logged? |
|
28 | if User.current.logged? | |
29 | redirect_to home_url |
|
29 | redirect_to home_url | |
30 | end |
|
30 | end | |
31 | else |
|
31 | else | |
32 | authenticate_user |
|
32 | authenticate_user | |
33 | end |
|
33 | end | |
34 | rescue AuthSourceException => e |
|
34 | rescue AuthSourceException => e | |
35 | logger.error "An error occured when authenticating #{params[:username]}: #{e.message}" |
|
35 | logger.error "An error occured when authenticating #{params[:username]}: #{e.message}" | |
36 | render_error :message => e.message |
|
36 | render_error :message => e.message | |
37 | end |
|
37 | end | |
38 |
|
38 | |||
39 | # Log out current user and redirect to welcome page |
|
39 | # Log out current user and redirect to welcome page | |
40 | def logout |
|
40 | def logout | |
41 | if User.current.anonymous? |
|
41 | if User.current.anonymous? | |
42 | redirect_to home_url |
|
42 | redirect_to home_url | |
43 | elsif request.post? |
|
43 | elsif request.post? | |
44 | logout_user |
|
44 | logout_user | |
45 | redirect_to home_url |
|
45 | redirect_to home_url | |
46 | end |
|
46 | end | |
47 | # display the logout form |
|
47 | # display the logout form | |
48 | end |
|
48 | end | |
49 |
|
49 | |||
50 | # Lets user choose a new password |
|
50 | # Lets user choose a new password | |
51 | def lost_password |
|
51 | def lost_password | |
52 | (redirect_to(home_url); return) unless Setting.lost_password? |
|
52 | (redirect_to(home_url); return) unless Setting.lost_password? | |
53 | if params[:token] |
|
53 | if params[:token] | |
54 | @token = Token.find_token("recovery", params[:token].to_s) |
|
54 | @token = Token.find_token("recovery", params[:token].to_s) | |
55 | if @token.nil? || @token.expired? |
|
55 | if @token.nil? || @token.expired? | |
56 | redirect_to home_url |
|
56 | redirect_to home_url | |
57 | return |
|
57 | return | |
58 | end |
|
58 | end | |
59 | @user = @token.user |
|
59 | @user = @token.user | |
60 | unless @user && @user.active? |
|
60 | unless @user && @user.active? | |
61 | redirect_to home_url |
|
61 | redirect_to home_url | |
62 | return |
|
62 | return | |
63 | end |
|
63 | end | |
64 | if request.post? |
|
64 | if request.post? | |
65 | @user.password, @user.password_confirmation = params[:new_password], params[:new_password_confirmation] |
|
65 | @user.password, @user.password_confirmation = params[:new_password], params[:new_password_confirmation] | |
66 | if @user.save |
|
66 | if @user.save | |
67 | @token.destroy |
|
67 | @token.destroy | |
68 | flash[:notice] = l(:notice_account_password_updated) |
|
68 | flash[:notice] = l(:notice_account_password_updated) | |
69 | redirect_to signin_path |
|
69 | redirect_to signin_path | |
70 | return |
|
70 | return | |
71 | end |
|
71 | end | |
72 | end |
|
72 | end | |
73 | render :template => "account/password_recovery" |
|
73 | render :template => "account/password_recovery" | |
74 | return |
|
74 | return | |
75 | else |
|
75 | else | |
76 | if request.post? |
|
76 | if request.post? | |
77 | user = User.find_by_mail(params[:mail].to_s) |
|
77 | user = User.find_by_mail(params[:mail].to_s) | |
78 |
# user not found |
|
78 | # user not found | |
79 |
unless user |
|
79 | unless user | |
80 | flash.now[:error] = l(:notice_account_unknown_email) |
|
80 | flash.now[:error] = l(:notice_account_unknown_email) | |
81 | return |
|
81 | return | |
82 | end |
|
82 | end | |
|
83 | unless user.active? | |||
|
84 | handle_inactive_user(user, lost_password_path) | |||
|
85 | return | |||
|
86 | end | |||
83 | # user cannot change its password |
|
87 | # user cannot change its password | |
84 | unless user.change_password_allowed? |
|
88 | unless user.change_password_allowed? | |
85 | flash.now[:error] = l(:notice_can_t_change_password) |
|
89 | flash.now[:error] = l(:notice_can_t_change_password) | |
86 | return |
|
90 | return | |
87 | end |
|
91 | end | |
88 | # create a new token for password recovery |
|
92 | # create a new token for password recovery | |
89 | token = Token.new(:user => user, :action => "recovery") |
|
93 | token = Token.new(:user => user, :action => "recovery") | |
90 | if token.save |
|
94 | if token.save | |
91 | Mailer.lost_password(token).deliver |
|
95 | Mailer.lost_password(token).deliver | |
92 | flash[:notice] = l(:notice_account_lost_email_sent) |
|
96 | flash[:notice] = l(:notice_account_lost_email_sent) | |
93 | redirect_to signin_path |
|
97 | redirect_to signin_path | |
94 | return |
|
98 | return | |
95 | end |
|
99 | end | |
96 | end |
|
100 | end | |
97 | end |
|
101 | end | |
98 | end |
|
102 | end | |
99 |
|
103 | |||
100 | # User self-registration |
|
104 | # User self-registration | |
101 | def register |
|
105 | def register | |
102 | (redirect_to(home_url); return) unless Setting.self_registration? || session[:auth_source_registration] |
|
106 | (redirect_to(home_url); return) unless Setting.self_registration? || session[:auth_source_registration] | |
103 | if request.get? |
|
107 | if request.get? | |
104 | session[:auth_source_registration] = nil |
|
108 | session[:auth_source_registration] = nil | |
105 | @user = User.new(:language => current_language.to_s) |
|
109 | @user = User.new(:language => current_language.to_s) | |
106 | else |
|
110 | else | |
107 | user_params = params[:user] || {} |
|
111 | user_params = params[:user] || {} | |
108 | @user = User.new |
|
112 | @user = User.new | |
109 | @user.safe_attributes = user_params |
|
113 | @user.safe_attributes = user_params | |
110 | @user.admin = false |
|
114 | @user.admin = false | |
111 | @user.register |
|
115 | @user.register | |
112 | if session[:auth_source_registration] |
|
116 | if session[:auth_source_registration] | |
113 | @user.activate |
|
117 | @user.activate | |
114 | @user.login = session[:auth_source_registration][:login] |
|
118 | @user.login = session[:auth_source_registration][:login] | |
115 | @user.auth_source_id = session[:auth_source_registration][:auth_source_id] |
|
119 | @user.auth_source_id = session[:auth_source_registration][:auth_source_id] | |
116 | if @user.save |
|
120 | if @user.save | |
117 | session[:auth_source_registration] = nil |
|
121 | session[:auth_source_registration] = nil | |
118 | self.logged_user = @user |
|
122 | self.logged_user = @user | |
119 | flash[:notice] = l(:notice_account_activated) |
|
123 | flash[:notice] = l(:notice_account_activated) | |
120 | redirect_to my_account_path |
|
124 | redirect_to my_account_path | |
121 | end |
|
125 | end | |
122 | else |
|
126 | else | |
123 | @user.login = params[:user][:login] |
|
127 | @user.login = params[:user][:login] | |
124 | unless user_params[:identity_url].present? && user_params[:password].blank? && user_params[:password_confirmation].blank? |
|
128 | unless user_params[:identity_url].present? && user_params[:password].blank? && user_params[:password_confirmation].blank? | |
125 | @user.password, @user.password_confirmation = user_params[:password], user_params[:password_confirmation] |
|
129 | @user.password, @user.password_confirmation = user_params[:password], user_params[:password_confirmation] | |
126 | end |
|
130 | end | |
127 |
|
131 | |||
128 | case Setting.self_registration |
|
132 | case Setting.self_registration | |
129 | when '1' |
|
133 | when '1' | |
130 | register_by_email_activation(@user) |
|
134 | register_by_email_activation(@user) | |
131 | when '3' |
|
135 | when '3' | |
132 | register_automatically(@user) |
|
136 | register_automatically(@user) | |
133 | else |
|
137 | else | |
134 | register_manually_by_administrator(@user) |
|
138 | register_manually_by_administrator(@user) | |
135 | end |
|
139 | end | |
136 | end |
|
140 | end | |
137 | end |
|
141 | end | |
138 | end |
|
142 | end | |
139 |
|
143 | |||
140 | # Token based account activation |
|
144 | # Token based account activation | |
141 | def activate |
|
145 | def activate | |
142 | (redirect_to(home_url); return) unless Setting.self_registration? && params[:token].present? |
|
146 | (redirect_to(home_url); return) unless Setting.self_registration? && params[:token].present? | |
143 | token = Token.find_token('register', params[:token].to_s) |
|
147 | token = Token.find_token('register', params[:token].to_s) | |
144 | (redirect_to(home_url); return) unless token and !token.expired? |
|
148 | (redirect_to(home_url); return) unless token and !token.expired? | |
145 | user = token.user |
|
149 | user = token.user | |
146 | (redirect_to(home_url); return) unless user.registered? |
|
150 | (redirect_to(home_url); return) unless user.registered? | |
147 | user.activate |
|
151 | user.activate | |
148 | if user.save |
|
152 | if user.save | |
149 | token.destroy |
|
153 | token.destroy | |
150 | flash[:notice] = l(:notice_account_activated) |
|
154 | flash[:notice] = l(:notice_account_activated) | |
151 | end |
|
155 | end | |
152 | redirect_to signin_path |
|
156 | redirect_to signin_path | |
153 | end |
|
157 | end | |
154 |
|
158 | |||
|
159 | # Sends a new account activation email | |||
|
160 | def activation_email | |||
|
161 | if session[:registered_user_id] && Setting.self_registration == '1' | |||
|
162 | user_id = session.delete(:registered_user_id).to_i | |||
|
163 | user = User.find_by_id(user_id) | |||
|
164 | if user && user.registered? | |||
|
165 | register_by_email_activation(user) | |||
|
166 | return | |||
|
167 | end | |||
|
168 | end | |||
|
169 | redirect_to(home_url) | |||
|
170 | end | |||
|
171 | ||||
155 | private |
|
172 | private | |
156 |
|
173 | |||
157 | def authenticate_user |
|
174 | def authenticate_user | |
158 | if Setting.openid? && using_open_id? |
|
175 | if Setting.openid? && using_open_id? | |
159 | open_id_authenticate(params[:openid_url]) |
|
176 | open_id_authenticate(params[:openid_url]) | |
160 | else |
|
177 | else | |
161 | password_authentication |
|
178 | password_authentication | |
162 | end |
|
179 | end | |
163 | end |
|
180 | end | |
164 |
|
181 | |||
165 | def password_authentication |
|
182 | def password_authentication | |
166 | user = User.try_to_login(params[:username], params[:password]) |
|
183 | user = User.try_to_login(params[:username], params[:password], false) | |
167 |
|
184 | |||
168 | if user.nil? |
|
185 | if user.nil? | |
169 | invalid_credentials |
|
186 | invalid_credentials | |
170 | elsif user.new_record? |
|
187 | elsif user.new_record? | |
171 | onthefly_creation_failed(user, {:login => user.login, :auth_source_id => user.auth_source_id }) |
|
188 | onthefly_creation_failed(user, {:login => user.login, :auth_source_id => user.auth_source_id }) | |
172 | else |
|
189 | else | |
173 | # Valid user |
|
190 | # Valid user | |
174 | successful_authentication(user) |
|
191 | if user.active? | |
|
192 | successful_authentication(user) | |||
|
193 | else | |||
|
194 | handle_inactive_user(user) | |||
|
195 | end | |||
175 | end |
|
196 | end | |
176 | end |
|
197 | end | |
177 |
|
198 | |||
178 | def open_id_authenticate(openid_url) |
|
199 | def open_id_authenticate(openid_url) | |
179 | back_url = signin_url(:autologin => params[:autologin]) |
|
200 | back_url = signin_url(:autologin => params[:autologin]) | |
180 | authenticate_with_open_id( |
|
201 | authenticate_with_open_id( | |
181 | openid_url, :required => [:nickname, :fullname, :email], |
|
202 | openid_url, :required => [:nickname, :fullname, :email], | |
182 | :return_to => back_url, :method => :post |
|
203 | :return_to => back_url, :method => :post | |
183 | ) do |result, identity_url, registration| |
|
204 | ) do |result, identity_url, registration| | |
184 | if result.successful? |
|
205 | if result.successful? | |
185 | user = User.find_or_initialize_by_identity_url(identity_url) |
|
206 | user = User.find_or_initialize_by_identity_url(identity_url) | |
186 | if user.new_record? |
|
207 | if user.new_record? | |
187 | # Self-registration off |
|
208 | # Self-registration off | |
188 | (redirect_to(home_url); return) unless Setting.self_registration? |
|
209 | (redirect_to(home_url); return) unless Setting.self_registration? | |
189 | # Create on the fly |
|
210 | # Create on the fly | |
190 | user.login = registration['nickname'] unless registration['nickname'].nil? |
|
211 | user.login = registration['nickname'] unless registration['nickname'].nil? | |
191 | user.mail = registration['email'] unless registration['email'].nil? |
|
212 | user.mail = registration['email'] unless registration['email'].nil? | |
192 | user.firstname, user.lastname = registration['fullname'].split(' ') unless registration['fullname'].nil? |
|
213 | user.firstname, user.lastname = registration['fullname'].split(' ') unless registration['fullname'].nil? | |
193 | user.random_password |
|
214 | user.random_password | |
194 | user.register |
|
215 | user.register | |
195 | case Setting.self_registration |
|
216 | case Setting.self_registration | |
196 | when '1' |
|
217 | when '1' | |
197 | register_by_email_activation(user) do |
|
218 | register_by_email_activation(user) do | |
198 | onthefly_creation_failed(user) |
|
219 | onthefly_creation_failed(user) | |
199 | end |
|
220 | end | |
200 | when '3' |
|
221 | when '3' | |
201 | register_automatically(user) do |
|
222 | register_automatically(user) do | |
202 | onthefly_creation_failed(user) |
|
223 | onthefly_creation_failed(user) | |
203 | end |
|
224 | end | |
204 | else |
|
225 | else | |
205 | register_manually_by_administrator(user) do |
|
226 | register_manually_by_administrator(user) do | |
206 | onthefly_creation_failed(user) |
|
227 | onthefly_creation_failed(user) | |
207 | end |
|
228 | end | |
208 | end |
|
229 | end | |
209 | else |
|
230 | else | |
210 | # Existing record |
|
231 | # Existing record | |
211 | if user.active? |
|
232 | if user.active? | |
212 | successful_authentication(user) |
|
233 | successful_authentication(user) | |
213 | else |
|
234 | else | |
214 | account_pending |
|
235 | handle_inactive_user(user) | |
215 | end |
|
236 | end | |
216 | end |
|
237 | end | |
217 | end |
|
238 | end | |
218 | end |
|
239 | end | |
219 | end |
|
240 | end | |
220 |
|
241 | |||
221 | def successful_authentication(user) |
|
242 | def successful_authentication(user) | |
222 | logger.info "Successful authentication for '#{user.login}' from #{request.remote_ip} at #{Time.now.utc}" |
|
243 | logger.info "Successful authentication for '#{user.login}' from #{request.remote_ip} at #{Time.now.utc}" | |
223 | # Valid user |
|
244 | # Valid user | |
224 | self.logged_user = user |
|
245 | self.logged_user = user | |
225 | # generate a key and set cookie if autologin |
|
246 | # generate a key and set cookie if autologin | |
226 | if params[:autologin] && Setting.autologin? |
|
247 | if params[:autologin] && Setting.autologin? | |
227 | set_autologin_cookie(user) |
|
248 | set_autologin_cookie(user) | |
228 | end |
|
249 | end | |
229 | call_hook(:controller_account_success_authentication_after, {:user => user }) |
|
250 | call_hook(:controller_account_success_authentication_after, {:user => user }) | |
230 | redirect_back_or_default my_page_path |
|
251 | redirect_back_or_default my_page_path | |
231 | end |
|
252 | end | |
232 |
|
253 | |||
233 | def set_autologin_cookie(user) |
|
254 | def set_autologin_cookie(user) | |
234 | token = Token.create(:user => user, :action => 'autologin') |
|
255 | token = Token.create(:user => user, :action => 'autologin') | |
235 | cookie_options = { |
|
256 | cookie_options = { | |
236 | :value => token.value, |
|
257 | :value => token.value, | |
237 | :expires => 1.year.from_now, |
|
258 | :expires => 1.year.from_now, | |
238 | :path => (Redmine::Configuration['autologin_cookie_path'] || '/'), |
|
259 | :path => (Redmine::Configuration['autologin_cookie_path'] || '/'), | |
239 | :secure => (Redmine::Configuration['autologin_cookie_secure'] ? true : false), |
|
260 | :secure => (Redmine::Configuration['autologin_cookie_secure'] ? true : false), | |
240 | :httponly => true |
|
261 | :httponly => true | |
241 | } |
|
262 | } | |
242 | cookies[autologin_cookie_name] = cookie_options |
|
263 | cookies[autologin_cookie_name] = cookie_options | |
243 | end |
|
264 | end | |
244 |
|
265 | |||
245 | # Onthefly creation failed, display the registration form to fill/fix attributes |
|
266 | # Onthefly creation failed, display the registration form to fill/fix attributes | |
246 | def onthefly_creation_failed(user, auth_source_options = { }) |
|
267 | def onthefly_creation_failed(user, auth_source_options = { }) | |
247 | @user = user |
|
268 | @user = user | |
248 | session[:auth_source_registration] = auth_source_options unless auth_source_options.empty? |
|
269 | session[:auth_source_registration] = auth_source_options unless auth_source_options.empty? | |
249 | render :action => 'register' |
|
270 | render :action => 'register' | |
250 | end |
|
271 | end | |
251 |
|
272 | |||
252 | def invalid_credentials |
|
273 | def invalid_credentials | |
253 | logger.warn "Failed login for '#{params[:username]}' from #{request.remote_ip} at #{Time.now.utc}" |
|
274 | logger.warn "Failed login for '#{params[:username]}' from #{request.remote_ip} at #{Time.now.utc}" | |
254 | flash.now[:error] = l(:notice_account_invalid_creditentials) |
|
275 | flash.now[:error] = l(:notice_account_invalid_creditentials) | |
255 | end |
|
276 | end | |
256 |
|
277 | |||
257 | # Register a user for email activation. |
|
278 | # Register a user for email activation. | |
258 | # |
|
279 | # | |
259 | # Pass a block for behavior when a user fails to save |
|
280 | # Pass a block for behavior when a user fails to save | |
260 | def register_by_email_activation(user, &block) |
|
281 | def register_by_email_activation(user, &block) | |
261 | token = Token.new(:user => user, :action => "register") |
|
282 | token = Token.new(:user => user, :action => "register") | |
262 | if user.save and token.save |
|
283 | if user.save and token.save | |
263 | Mailer.register(token).deliver |
|
284 | Mailer.register(token).deliver | |
264 | flash[:notice] = l(:notice_account_register_done) |
|
285 | flash[:notice] = l(:notice_account_register_done) | |
265 | redirect_to signin_path |
|
286 | redirect_to signin_path | |
266 | else |
|
287 | else | |
267 | yield if block_given? |
|
288 | yield if block_given? | |
268 | end |
|
289 | end | |
269 | end |
|
290 | end | |
270 |
|
291 | |||
271 | # Automatically register a user |
|
292 | # Automatically register a user | |
272 | # |
|
293 | # | |
273 | # Pass a block for behavior when a user fails to save |
|
294 | # Pass a block for behavior when a user fails to save | |
274 | def register_automatically(user, &block) |
|
295 | def register_automatically(user, &block) | |
275 | # Automatic activation |
|
296 | # Automatic activation | |
276 | user.activate |
|
297 | user.activate | |
277 | user.last_login_on = Time.now |
|
298 | user.last_login_on = Time.now | |
278 | if user.save |
|
299 | if user.save | |
279 | self.logged_user = user |
|
300 | self.logged_user = user | |
280 | flash[:notice] = l(:notice_account_activated) |
|
301 | flash[:notice] = l(:notice_account_activated) | |
281 | redirect_to my_account_path |
|
302 | redirect_to my_account_path | |
282 | else |
|
303 | else | |
283 | yield if block_given? |
|
304 | yield if block_given? | |
284 | end |
|
305 | end | |
285 | end |
|
306 | end | |
286 |
|
307 | |||
287 | # Manual activation by the administrator |
|
308 | # Manual activation by the administrator | |
288 | # |
|
309 | # | |
289 | # Pass a block for behavior when a user fails to save |
|
310 | # Pass a block for behavior when a user fails to save | |
290 | def register_manually_by_administrator(user, &block) |
|
311 | def register_manually_by_administrator(user, &block) | |
291 | if user.save |
|
312 | if user.save | |
292 | # Sends an email to the administrators |
|
313 | # Sends an email to the administrators | |
293 | Mailer.account_activation_request(user).deliver |
|
314 | Mailer.account_activation_request(user).deliver | |
294 | account_pending |
|
315 | account_pending(user) | |
295 | else |
|
316 | else | |
296 | yield if block_given? |
|
317 | yield if block_given? | |
297 | end |
|
318 | end | |
298 | end |
|
319 | end | |
299 |
|
320 | |||
300 | def account_pending |
|
321 | def handle_inactive_user(user, redirect_path=signin_path) | |
301 | flash[:notice] = l(:notice_account_pending) |
|
322 | if user.registered? | |
302 | redirect_to signin_path |
|
323 | account_pending(user, redirect_path) | |
|
324 | else | |||
|
325 | account_locked(user, redirect_path) | |||
|
326 | end | |||
|
327 | end | |||
|
328 | ||||
|
329 | def account_pending(user, redirect_path=signin_path) | |||
|
330 | if Setting.self_registration == '1' | |||
|
331 | flash[:error] = l(:notice_account_not_activated_yet, :url => activation_email_path) | |||
|
332 | session[:registered_user_id] = user.id | |||
|
333 | else | |||
|
334 | flash[:error] = l(:notice_account_pending) | |||
|
335 | end | |||
|
336 | redirect_to redirect_path | |||
|
337 | end | |||
|
338 | ||||
|
339 | def account_locked(user, redirect_path=signin_path) | |||
|
340 | flash[:error] = l(:notice_account_locked) | |||
|
341 | redirect_to redirect_path | |||
303 | end |
|
342 | end | |
304 | end |
|
343 | end |
@@ -1,727 +1,727 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2013 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 "digest/sha1" |
|
18 | require "digest/sha1" | |
19 |
|
19 | |||
20 | class User < Principal |
|
20 | class User < Principal | |
21 | include Redmine::SafeAttributes |
|
21 | include Redmine::SafeAttributes | |
22 |
|
22 | |||
23 | # Different ways of displaying/sorting users |
|
23 | # Different ways of displaying/sorting users | |
24 | USER_FORMATS = { |
|
24 | USER_FORMATS = { | |
25 | :firstname_lastname => { |
|
25 | :firstname_lastname => { | |
26 | :string => '#{firstname} #{lastname}', |
|
26 | :string => '#{firstname} #{lastname}', | |
27 | :order => %w(firstname lastname id), |
|
27 | :order => %w(firstname lastname id), | |
28 | :setting_order => 1 |
|
28 | :setting_order => 1 | |
29 | }, |
|
29 | }, | |
30 | :firstname_lastinitial => { |
|
30 | :firstname_lastinitial => { | |
31 | :string => '#{firstname} #{lastname.to_s.chars.first}.', |
|
31 | :string => '#{firstname} #{lastname.to_s.chars.first}.', | |
32 | :order => %w(firstname lastname id), |
|
32 | :order => %w(firstname lastname id), | |
33 | :setting_order => 2 |
|
33 | :setting_order => 2 | |
34 | }, |
|
34 | }, | |
35 | :firstname => { |
|
35 | :firstname => { | |
36 | :string => '#{firstname}', |
|
36 | :string => '#{firstname}', | |
37 | :order => %w(firstname id), |
|
37 | :order => %w(firstname id), | |
38 | :setting_order => 3 |
|
38 | :setting_order => 3 | |
39 | }, |
|
39 | }, | |
40 | :lastname_firstname => { |
|
40 | :lastname_firstname => { | |
41 | :string => '#{lastname} #{firstname}', |
|
41 | :string => '#{lastname} #{firstname}', | |
42 | :order => %w(lastname firstname id), |
|
42 | :order => %w(lastname firstname id), | |
43 | :setting_order => 4 |
|
43 | :setting_order => 4 | |
44 | }, |
|
44 | }, | |
45 | :lastname_coma_firstname => { |
|
45 | :lastname_coma_firstname => { | |
46 | :string => '#{lastname}, #{firstname}', |
|
46 | :string => '#{lastname}, #{firstname}', | |
47 | :order => %w(lastname firstname id), |
|
47 | :order => %w(lastname firstname id), | |
48 | :setting_order => 5 |
|
48 | :setting_order => 5 | |
49 | }, |
|
49 | }, | |
50 | :lastname => { |
|
50 | :lastname => { | |
51 | :string => '#{lastname}', |
|
51 | :string => '#{lastname}', | |
52 | :order => %w(lastname id), |
|
52 | :order => %w(lastname id), | |
53 | :setting_order => 6 |
|
53 | :setting_order => 6 | |
54 | }, |
|
54 | }, | |
55 | :username => { |
|
55 | :username => { | |
56 | :string => '#{login}', |
|
56 | :string => '#{login}', | |
57 | :order => %w(login id), |
|
57 | :order => %w(login id), | |
58 | :setting_order => 7 |
|
58 | :setting_order => 7 | |
59 | }, |
|
59 | }, | |
60 | } |
|
60 | } | |
61 |
|
61 | |||
62 | MAIL_NOTIFICATION_OPTIONS = [ |
|
62 | MAIL_NOTIFICATION_OPTIONS = [ | |
63 | ['all', :label_user_mail_option_all], |
|
63 | ['all', :label_user_mail_option_all], | |
64 | ['selected', :label_user_mail_option_selected], |
|
64 | ['selected', :label_user_mail_option_selected], | |
65 | ['only_my_events', :label_user_mail_option_only_my_events], |
|
65 | ['only_my_events', :label_user_mail_option_only_my_events], | |
66 | ['only_assigned', :label_user_mail_option_only_assigned], |
|
66 | ['only_assigned', :label_user_mail_option_only_assigned], | |
67 | ['only_owner', :label_user_mail_option_only_owner], |
|
67 | ['only_owner', :label_user_mail_option_only_owner], | |
68 | ['none', :label_user_mail_option_none] |
|
68 | ['none', :label_user_mail_option_none] | |
69 | ] |
|
69 | ] | |
70 |
|
70 | |||
71 | has_and_belongs_to_many :groups, :after_add => Proc.new {|user, group| group.user_added(user)}, |
|
71 | has_and_belongs_to_many :groups, :after_add => Proc.new {|user, group| group.user_added(user)}, | |
72 | :after_remove => Proc.new {|user, group| group.user_removed(user)} |
|
72 | :after_remove => Proc.new {|user, group| group.user_removed(user)} | |
73 | has_many :changesets, :dependent => :nullify |
|
73 | has_many :changesets, :dependent => :nullify | |
74 | has_one :preference, :dependent => :destroy, :class_name => 'UserPreference' |
|
74 | has_one :preference, :dependent => :destroy, :class_name => 'UserPreference' | |
75 | has_one :rss_token, :class_name => 'Token', :conditions => "action='feeds'" |
|
75 | has_one :rss_token, :class_name => 'Token', :conditions => "action='feeds'" | |
76 | has_one :api_token, :class_name => 'Token', :conditions => "action='api'" |
|
76 | has_one :api_token, :class_name => 'Token', :conditions => "action='api'" | |
77 | belongs_to :auth_source |
|
77 | belongs_to :auth_source | |
78 |
|
78 | |||
79 | scope :logged, lambda { where("#{User.table_name}.status <> #{STATUS_ANONYMOUS}") } |
|
79 | scope :logged, lambda { where("#{User.table_name}.status <> #{STATUS_ANONYMOUS}") } | |
80 | scope :status, lambda {|arg| where(arg.blank? ? nil : {:status => arg.to_i}) } |
|
80 | scope :status, lambda {|arg| where(arg.blank? ? nil : {:status => arg.to_i}) } | |
81 |
|
81 | |||
82 | acts_as_customizable |
|
82 | acts_as_customizable | |
83 |
|
83 | |||
84 | attr_accessor :password, :password_confirmation, :generate_password |
|
84 | attr_accessor :password, :password_confirmation, :generate_password | |
85 | attr_accessor :last_before_login_on |
|
85 | attr_accessor :last_before_login_on | |
86 | # Prevents unauthorized assignments |
|
86 | # Prevents unauthorized assignments | |
87 | attr_protected :login, :admin, :password, :password_confirmation, :hashed_password |
|
87 | attr_protected :login, :admin, :password, :password_confirmation, :hashed_password | |
88 |
|
88 | |||
89 | LOGIN_LENGTH_LIMIT = 60 |
|
89 | LOGIN_LENGTH_LIMIT = 60 | |
90 | MAIL_LENGTH_LIMIT = 60 |
|
90 | MAIL_LENGTH_LIMIT = 60 | |
91 |
|
91 | |||
92 | validates_presence_of :login, :firstname, :lastname, :mail, :if => Proc.new { |user| !user.is_a?(AnonymousUser) } |
|
92 | validates_presence_of :login, :firstname, :lastname, :mail, :if => Proc.new { |user| !user.is_a?(AnonymousUser) } | |
93 | validates_uniqueness_of :login, :if => Proc.new { |user| user.login_changed? && user.login.present? }, :case_sensitive => false |
|
93 | validates_uniqueness_of :login, :if => Proc.new { |user| user.login_changed? && user.login.present? }, :case_sensitive => false | |
94 | validates_uniqueness_of :mail, :if => Proc.new { |user| user.mail_changed? && user.mail.present? }, :case_sensitive => false |
|
94 | validates_uniqueness_of :mail, :if => Proc.new { |user| user.mail_changed? && user.mail.present? }, :case_sensitive => false | |
95 | # Login must contain letters, numbers, underscores only |
|
95 | # Login must contain letters, numbers, underscores only | |
96 | validates_format_of :login, :with => /\A[a-z0-9_\-@\.]*\z/i |
|
96 | validates_format_of :login, :with => /\A[a-z0-9_\-@\.]*\z/i | |
97 | validates_length_of :login, :maximum => LOGIN_LENGTH_LIMIT |
|
97 | validates_length_of :login, :maximum => LOGIN_LENGTH_LIMIT | |
98 | validates_length_of :firstname, :lastname, :maximum => 30 |
|
98 | validates_length_of :firstname, :lastname, :maximum => 30 | |
99 | validates_format_of :mail, :with => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i, :allow_blank => true |
|
99 | validates_format_of :mail, :with => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\z/i, :allow_blank => true | |
100 | validates_length_of :mail, :maximum => MAIL_LENGTH_LIMIT, :allow_nil => true |
|
100 | validates_length_of :mail, :maximum => MAIL_LENGTH_LIMIT, :allow_nil => true | |
101 | validates_confirmation_of :password, :allow_nil => true |
|
101 | validates_confirmation_of :password, :allow_nil => true | |
102 | validates_inclusion_of :mail_notification, :in => MAIL_NOTIFICATION_OPTIONS.collect(&:first), :allow_blank => true |
|
102 | validates_inclusion_of :mail_notification, :in => MAIL_NOTIFICATION_OPTIONS.collect(&:first), :allow_blank => true | |
103 | validate :validate_password_length |
|
103 | validate :validate_password_length | |
104 |
|
104 | |||
105 | before_create :set_mail_notification |
|
105 | before_create :set_mail_notification | |
106 | before_save :generate_password_if_needed, :update_hashed_password |
|
106 | before_save :generate_password_if_needed, :update_hashed_password | |
107 | before_destroy :remove_references_before_destroy |
|
107 | before_destroy :remove_references_before_destroy | |
108 | after_save :update_notified_project_ids |
|
108 | after_save :update_notified_project_ids | |
109 |
|
109 | |||
110 | scope :in_group, lambda {|group| |
|
110 | scope :in_group, lambda {|group| | |
111 | group_id = group.is_a?(Group) ? group.id : group.to_i |
|
111 | group_id = group.is_a?(Group) ? group.id : group.to_i | |
112 | where("#{User.table_name}.id IN (SELECT gu.user_id FROM #{table_name_prefix}groups_users#{table_name_suffix} gu WHERE gu.group_id = ?)", group_id) |
|
112 | where("#{User.table_name}.id IN (SELECT gu.user_id FROM #{table_name_prefix}groups_users#{table_name_suffix} gu WHERE gu.group_id = ?)", group_id) | |
113 | } |
|
113 | } | |
114 | scope :not_in_group, lambda {|group| |
|
114 | scope :not_in_group, lambda {|group| | |
115 | group_id = group.is_a?(Group) ? group.id : group.to_i |
|
115 | group_id = group.is_a?(Group) ? group.id : group.to_i | |
116 | where("#{User.table_name}.id NOT IN (SELECT gu.user_id FROM #{table_name_prefix}groups_users#{table_name_suffix} gu WHERE gu.group_id = ?)", group_id) |
|
116 | where("#{User.table_name}.id NOT IN (SELECT gu.user_id FROM #{table_name_prefix}groups_users#{table_name_suffix} gu WHERE gu.group_id = ?)", group_id) | |
117 | } |
|
117 | } | |
118 | scope :sorted, lambda { order(*User.fields_for_order_statement)} |
|
118 | scope :sorted, lambda { order(*User.fields_for_order_statement)} | |
119 |
|
119 | |||
120 | def set_mail_notification |
|
120 | def set_mail_notification | |
121 | self.mail_notification = Setting.default_notification_option if self.mail_notification.blank? |
|
121 | self.mail_notification = Setting.default_notification_option if self.mail_notification.blank? | |
122 | true |
|
122 | true | |
123 | end |
|
123 | end | |
124 |
|
124 | |||
125 | def update_hashed_password |
|
125 | def update_hashed_password | |
126 | # update hashed_password if password was set |
|
126 | # update hashed_password if password was set | |
127 | if self.password && self.auth_source_id.blank? |
|
127 | if self.password && self.auth_source_id.blank? | |
128 | salt_password(password) |
|
128 | salt_password(password) | |
129 | end |
|
129 | end | |
130 | end |
|
130 | end | |
131 |
|
131 | |||
132 | alias :base_reload :reload |
|
132 | alias :base_reload :reload | |
133 | def reload(*args) |
|
133 | def reload(*args) | |
134 | @name = nil |
|
134 | @name = nil | |
135 | @projects_by_role = nil |
|
135 | @projects_by_role = nil | |
136 | @membership_by_project_id = nil |
|
136 | @membership_by_project_id = nil | |
137 | @notified_projects_ids = nil |
|
137 | @notified_projects_ids = nil | |
138 | @notified_projects_ids_changed = false |
|
138 | @notified_projects_ids_changed = false | |
139 | base_reload(*args) |
|
139 | base_reload(*args) | |
140 | end |
|
140 | end | |
141 |
|
141 | |||
142 | def mail=(arg) |
|
142 | def mail=(arg) | |
143 | write_attribute(:mail, arg.to_s.strip) |
|
143 | write_attribute(:mail, arg.to_s.strip) | |
144 | end |
|
144 | end | |
145 |
|
145 | |||
146 | def identity_url=(url) |
|
146 | def identity_url=(url) | |
147 | if url.blank? |
|
147 | if url.blank? | |
148 | write_attribute(:identity_url, '') |
|
148 | write_attribute(:identity_url, '') | |
149 | else |
|
149 | else | |
150 | begin |
|
150 | begin | |
151 | write_attribute(:identity_url, OpenIdAuthentication.normalize_identifier(url)) |
|
151 | write_attribute(:identity_url, OpenIdAuthentication.normalize_identifier(url)) | |
152 | rescue OpenIdAuthentication::InvalidOpenId |
|
152 | rescue OpenIdAuthentication::InvalidOpenId | |
153 | # Invalid url, don't save |
|
153 | # Invalid url, don't save | |
154 | end |
|
154 | end | |
155 | end |
|
155 | end | |
156 | self.read_attribute(:identity_url) |
|
156 | self.read_attribute(:identity_url) | |
157 | end |
|
157 | end | |
158 |
|
158 | |||
159 | # Returns the user that matches provided login and password, or nil |
|
159 | # Returns the user that matches provided login and password, or nil | |
160 | def self.try_to_login(login, password) |
|
160 | def self.try_to_login(login, password, active_only=true) | |
161 | login = login.to_s |
|
161 | login = login.to_s | |
162 | password = password.to_s |
|
162 | password = password.to_s | |
163 |
|
163 | |||
164 | # Make sure no one can sign in with an empty login or password |
|
164 | # Make sure no one can sign in with an empty login or password | |
165 | return nil if login.empty? || password.empty? |
|
165 | return nil if login.empty? || password.empty? | |
166 | user = find_by_login(login) |
|
166 | user = find_by_login(login) | |
167 | if user |
|
167 | if user | |
168 | # user is already in local database |
|
168 | # user is already in local database | |
169 | return nil unless user.active? |
|
|||
170 | return nil unless user.check_password?(password) |
|
169 | return nil unless user.check_password?(password) | |
|
170 | return nil if !user.active? && active_only | |||
171 | else |
|
171 | else | |
172 | # user is not yet registered, try to authenticate with available sources |
|
172 | # user is not yet registered, try to authenticate with available sources | |
173 | attrs = AuthSource.authenticate(login, password) |
|
173 | attrs = AuthSource.authenticate(login, password) | |
174 | if attrs |
|
174 | if attrs | |
175 | user = new(attrs) |
|
175 | user = new(attrs) | |
176 | user.login = login |
|
176 | user.login = login | |
177 | user.language = Setting.default_language |
|
177 | user.language = Setting.default_language | |
178 | if user.save |
|
178 | if user.save | |
179 | user.reload |
|
179 | user.reload | |
180 | logger.info("User '#{user.login}' created from external auth source: #{user.auth_source.type} - #{user.auth_source.name}") if logger && user.auth_source |
|
180 | logger.info("User '#{user.login}' created from external auth source: #{user.auth_source.type} - #{user.auth_source.name}") if logger && user.auth_source | |
181 | end |
|
181 | end | |
182 | end |
|
182 | end | |
183 | end |
|
183 | end | |
184 | user.update_column(:last_login_on, Time.now) if user && !user.new_record? |
|
184 | user.update_column(:last_login_on, Time.now) if user && !user.new_record? && user.active? | |
185 | user |
|
185 | user | |
186 | rescue => text |
|
186 | rescue => text | |
187 | raise text |
|
187 | raise text | |
188 | end |
|
188 | end | |
189 |
|
189 | |||
190 | # Returns the user who matches the given autologin +key+ or nil |
|
190 | # Returns the user who matches the given autologin +key+ or nil | |
191 | def self.try_to_autologin(key) |
|
191 | def self.try_to_autologin(key) | |
192 | user = Token.find_active_user('autologin', key, Setting.autologin.to_i) |
|
192 | user = Token.find_active_user('autologin', key, Setting.autologin.to_i) | |
193 | if user |
|
193 | if user | |
194 | user.update_column(:last_login_on, Time.now) |
|
194 | user.update_column(:last_login_on, Time.now) | |
195 | user |
|
195 | user | |
196 | end |
|
196 | end | |
197 | end |
|
197 | end | |
198 |
|
198 | |||
199 | def self.name_formatter(formatter = nil) |
|
199 | def self.name_formatter(formatter = nil) | |
200 | USER_FORMATS[formatter || Setting.user_format] || USER_FORMATS[:firstname_lastname] |
|
200 | USER_FORMATS[formatter || Setting.user_format] || USER_FORMATS[:firstname_lastname] | |
201 | end |
|
201 | end | |
202 |
|
202 | |||
203 | # Returns an array of fields names than can be used to make an order statement for users |
|
203 | # Returns an array of fields names than can be used to make an order statement for users | |
204 | # according to how user names are displayed |
|
204 | # according to how user names are displayed | |
205 | # Examples: |
|
205 | # Examples: | |
206 | # |
|
206 | # | |
207 | # User.fields_for_order_statement => ['users.login', 'users.id'] |
|
207 | # User.fields_for_order_statement => ['users.login', 'users.id'] | |
208 | # User.fields_for_order_statement('authors') => ['authors.login', 'authors.id'] |
|
208 | # User.fields_for_order_statement('authors') => ['authors.login', 'authors.id'] | |
209 | def self.fields_for_order_statement(table=nil) |
|
209 | def self.fields_for_order_statement(table=nil) | |
210 | table ||= table_name |
|
210 | table ||= table_name | |
211 | name_formatter[:order].map {|field| "#{table}.#{field}"} |
|
211 | name_formatter[:order].map {|field| "#{table}.#{field}"} | |
212 | end |
|
212 | end | |
213 |
|
213 | |||
214 | # Return user's full name for display |
|
214 | # Return user's full name for display | |
215 | def name(formatter = nil) |
|
215 | def name(formatter = nil) | |
216 | f = self.class.name_formatter(formatter) |
|
216 | f = self.class.name_formatter(formatter) | |
217 | if formatter |
|
217 | if formatter | |
218 | eval('"' + f[:string] + '"') |
|
218 | eval('"' + f[:string] + '"') | |
219 | else |
|
219 | else | |
220 | @name ||= eval('"' + f[:string] + '"') |
|
220 | @name ||= eval('"' + f[:string] + '"') | |
221 | end |
|
221 | end | |
222 | end |
|
222 | end | |
223 |
|
223 | |||
224 | def active? |
|
224 | def active? | |
225 | self.status == STATUS_ACTIVE |
|
225 | self.status == STATUS_ACTIVE | |
226 | end |
|
226 | end | |
227 |
|
227 | |||
228 | def registered? |
|
228 | def registered? | |
229 | self.status == STATUS_REGISTERED |
|
229 | self.status == STATUS_REGISTERED | |
230 | end |
|
230 | end | |
231 |
|
231 | |||
232 | def locked? |
|
232 | def locked? | |
233 | self.status == STATUS_LOCKED |
|
233 | self.status == STATUS_LOCKED | |
234 | end |
|
234 | end | |
235 |
|
235 | |||
236 | def activate |
|
236 | def activate | |
237 | self.status = STATUS_ACTIVE |
|
237 | self.status = STATUS_ACTIVE | |
238 | end |
|
238 | end | |
239 |
|
239 | |||
240 | def register |
|
240 | def register | |
241 | self.status = STATUS_REGISTERED |
|
241 | self.status = STATUS_REGISTERED | |
242 | end |
|
242 | end | |
243 |
|
243 | |||
244 | def lock |
|
244 | def lock | |
245 | self.status = STATUS_LOCKED |
|
245 | self.status = STATUS_LOCKED | |
246 | end |
|
246 | end | |
247 |
|
247 | |||
248 | def activate! |
|
248 | def activate! | |
249 | update_attribute(:status, STATUS_ACTIVE) |
|
249 | update_attribute(:status, STATUS_ACTIVE) | |
250 | end |
|
250 | end | |
251 |
|
251 | |||
252 | def register! |
|
252 | def register! | |
253 | update_attribute(:status, STATUS_REGISTERED) |
|
253 | update_attribute(:status, STATUS_REGISTERED) | |
254 | end |
|
254 | end | |
255 |
|
255 | |||
256 | def lock! |
|
256 | def lock! | |
257 | update_attribute(:status, STATUS_LOCKED) |
|
257 | update_attribute(:status, STATUS_LOCKED) | |
258 | end |
|
258 | end | |
259 |
|
259 | |||
260 | # Returns true if +clear_password+ is the correct user's password, otherwise false |
|
260 | # Returns true if +clear_password+ is the correct user's password, otherwise false | |
261 | def check_password?(clear_password) |
|
261 | def check_password?(clear_password) | |
262 | if auth_source_id.present? |
|
262 | if auth_source_id.present? | |
263 | auth_source.authenticate(self.login, clear_password) |
|
263 | auth_source.authenticate(self.login, clear_password) | |
264 | else |
|
264 | else | |
265 | User.hash_password("#{salt}#{User.hash_password clear_password}") == hashed_password |
|
265 | User.hash_password("#{salt}#{User.hash_password clear_password}") == hashed_password | |
266 | end |
|
266 | end | |
267 | end |
|
267 | end | |
268 |
|
268 | |||
269 | # Generates a random salt and computes hashed_password for +clear_password+ |
|
269 | # Generates a random salt and computes hashed_password for +clear_password+ | |
270 | # The hashed password is stored in the following form: SHA1(salt + SHA1(password)) |
|
270 | # The hashed password is stored in the following form: SHA1(salt + SHA1(password)) | |
271 | def salt_password(clear_password) |
|
271 | def salt_password(clear_password) | |
272 | self.salt = User.generate_salt |
|
272 | self.salt = User.generate_salt | |
273 | self.hashed_password = User.hash_password("#{salt}#{User.hash_password clear_password}") |
|
273 | self.hashed_password = User.hash_password("#{salt}#{User.hash_password clear_password}") | |
274 | end |
|
274 | end | |
275 |
|
275 | |||
276 | # Does the backend storage allow this user to change their password? |
|
276 | # Does the backend storage allow this user to change their password? | |
277 | def change_password_allowed? |
|
277 | def change_password_allowed? | |
278 | return true if auth_source.nil? |
|
278 | return true if auth_source.nil? | |
279 | return auth_source.allow_password_changes? |
|
279 | return auth_source.allow_password_changes? | |
280 | end |
|
280 | end | |
281 |
|
281 | |||
282 | def generate_password? |
|
282 | def generate_password? | |
283 | generate_password == '1' || generate_password == true |
|
283 | generate_password == '1' || generate_password == true | |
284 | end |
|
284 | end | |
285 |
|
285 | |||
286 | # Generate and set a random password on given length |
|
286 | # Generate and set a random password on given length | |
287 | def random_password(length=40) |
|
287 | def random_password(length=40) | |
288 | chars = ("a".."z").to_a + ("A".."Z").to_a + ("0".."9").to_a |
|
288 | chars = ("a".."z").to_a + ("A".."Z").to_a + ("0".."9").to_a | |
289 | chars -= %w(0 O 1 l) |
|
289 | chars -= %w(0 O 1 l) | |
290 | password = '' |
|
290 | password = '' | |
291 | length.times {|i| password << chars[SecureRandom.random_number(chars.size)] } |
|
291 | length.times {|i| password << chars[SecureRandom.random_number(chars.size)] } | |
292 | self.password = password |
|
292 | self.password = password | |
293 | self.password_confirmation = password |
|
293 | self.password_confirmation = password | |
294 | self |
|
294 | self | |
295 | end |
|
295 | end | |
296 |
|
296 | |||
297 | def pref |
|
297 | def pref | |
298 | self.preference ||= UserPreference.new(:user => self) |
|
298 | self.preference ||= UserPreference.new(:user => self) | |
299 | end |
|
299 | end | |
300 |
|
300 | |||
301 | def time_zone |
|
301 | def time_zone | |
302 | @time_zone ||= (self.pref.time_zone.blank? ? nil : ActiveSupport::TimeZone[self.pref.time_zone]) |
|
302 | @time_zone ||= (self.pref.time_zone.blank? ? nil : ActiveSupport::TimeZone[self.pref.time_zone]) | |
303 | end |
|
303 | end | |
304 |
|
304 | |||
305 | def wants_comments_in_reverse_order? |
|
305 | def wants_comments_in_reverse_order? | |
306 | self.pref[:comments_sorting] == 'desc' |
|
306 | self.pref[:comments_sorting] == 'desc' | |
307 | end |
|
307 | end | |
308 |
|
308 | |||
309 | # Return user's RSS key (a 40 chars long string), used to access feeds |
|
309 | # Return user's RSS key (a 40 chars long string), used to access feeds | |
310 | def rss_key |
|
310 | def rss_key | |
311 | if rss_token.nil? |
|
311 | if rss_token.nil? | |
312 | create_rss_token(:action => 'feeds') |
|
312 | create_rss_token(:action => 'feeds') | |
313 | end |
|
313 | end | |
314 | rss_token.value |
|
314 | rss_token.value | |
315 | end |
|
315 | end | |
316 |
|
316 | |||
317 | # Return user's API key (a 40 chars long string), used to access the API |
|
317 | # Return user's API key (a 40 chars long string), used to access the API | |
318 | def api_key |
|
318 | def api_key | |
319 | if api_token.nil? |
|
319 | if api_token.nil? | |
320 | create_api_token(:action => 'api') |
|
320 | create_api_token(:action => 'api') | |
321 | end |
|
321 | end | |
322 | api_token.value |
|
322 | api_token.value | |
323 | end |
|
323 | end | |
324 |
|
324 | |||
325 | # Return an array of project ids for which the user has explicitly turned mail notifications on |
|
325 | # Return an array of project ids for which the user has explicitly turned mail notifications on | |
326 | def notified_projects_ids |
|
326 | def notified_projects_ids | |
327 | @notified_projects_ids ||= memberships.select {|m| m.mail_notification?}.collect(&:project_id) |
|
327 | @notified_projects_ids ||= memberships.select {|m| m.mail_notification?}.collect(&:project_id) | |
328 | end |
|
328 | end | |
329 |
|
329 | |||
330 | def notified_project_ids=(ids) |
|
330 | def notified_project_ids=(ids) | |
331 | @notified_projects_ids_changed = true |
|
331 | @notified_projects_ids_changed = true | |
332 | @notified_projects_ids = ids |
|
332 | @notified_projects_ids = ids | |
333 | end |
|
333 | end | |
334 |
|
334 | |||
335 | # Updates per project notifications (after_save callback) |
|
335 | # Updates per project notifications (after_save callback) | |
336 | def update_notified_project_ids |
|
336 | def update_notified_project_ids | |
337 | if @notified_projects_ids_changed |
|
337 | if @notified_projects_ids_changed | |
338 | ids = (mail_notification == 'selected' ? Array.wrap(notified_projects_ids).reject(&:blank?) : []) |
|
338 | ids = (mail_notification == 'selected' ? Array.wrap(notified_projects_ids).reject(&:blank?) : []) | |
339 | members.update_all(:mail_notification => false) |
|
339 | members.update_all(:mail_notification => false) | |
340 | members.where(:project_id => ids).update_all(:mail_notification => true) if ids.any? |
|
340 | members.where(:project_id => ids).update_all(:mail_notification => true) if ids.any? | |
341 | end |
|
341 | end | |
342 | end |
|
342 | end | |
343 | private :update_notified_project_ids |
|
343 | private :update_notified_project_ids | |
344 |
|
344 | |||
345 | def valid_notification_options |
|
345 | def valid_notification_options | |
346 | self.class.valid_notification_options(self) |
|
346 | self.class.valid_notification_options(self) | |
347 | end |
|
347 | end | |
348 |
|
348 | |||
349 | # Only users that belong to more than 1 project can select projects for which they are notified |
|
349 | # Only users that belong to more than 1 project can select projects for which they are notified | |
350 | def self.valid_notification_options(user=nil) |
|
350 | def self.valid_notification_options(user=nil) | |
351 | # Note that @user.membership.size would fail since AR ignores |
|
351 | # Note that @user.membership.size would fail since AR ignores | |
352 | # :include association option when doing a count |
|
352 | # :include association option when doing a count | |
353 | if user.nil? || user.memberships.length < 1 |
|
353 | if user.nil? || user.memberships.length < 1 | |
354 | MAIL_NOTIFICATION_OPTIONS.reject {|option| option.first == 'selected'} |
|
354 | MAIL_NOTIFICATION_OPTIONS.reject {|option| option.first == 'selected'} | |
355 | else |
|
355 | else | |
356 | MAIL_NOTIFICATION_OPTIONS |
|
356 | MAIL_NOTIFICATION_OPTIONS | |
357 | end |
|
357 | end | |
358 | end |
|
358 | end | |
359 |
|
359 | |||
360 | # Find a user account by matching the exact login and then a case-insensitive |
|
360 | # Find a user account by matching the exact login and then a case-insensitive | |
361 | # version. Exact matches will be given priority. |
|
361 | # version. Exact matches will be given priority. | |
362 | def self.find_by_login(login) |
|
362 | def self.find_by_login(login) | |
363 | if login.present? |
|
363 | if login.present? | |
364 | login = login.to_s |
|
364 | login = login.to_s | |
365 | # First look for an exact match |
|
365 | # First look for an exact match | |
366 | user = where(:login => login).all.detect {|u| u.login == login} |
|
366 | user = where(:login => login).all.detect {|u| u.login == login} | |
367 | unless user |
|
367 | unless user | |
368 | # Fail over to case-insensitive if none was found |
|
368 | # Fail over to case-insensitive if none was found | |
369 | user = where("LOWER(login) = ?", login.downcase).first |
|
369 | user = where("LOWER(login) = ?", login.downcase).first | |
370 | end |
|
370 | end | |
371 | user |
|
371 | user | |
372 | end |
|
372 | end | |
373 | end |
|
373 | end | |
374 |
|
374 | |||
375 | def self.find_by_rss_key(key) |
|
375 | def self.find_by_rss_key(key) | |
376 | Token.find_active_user('feeds', key) |
|
376 | Token.find_active_user('feeds', key) | |
377 | end |
|
377 | end | |
378 |
|
378 | |||
379 | def self.find_by_api_key(key) |
|
379 | def self.find_by_api_key(key) | |
380 | Token.find_active_user('api', key) |
|
380 | Token.find_active_user('api', key) | |
381 | end |
|
381 | end | |
382 |
|
382 | |||
383 | # Makes find_by_mail case-insensitive |
|
383 | # Makes find_by_mail case-insensitive | |
384 | def self.find_by_mail(mail) |
|
384 | def self.find_by_mail(mail) | |
385 | where("LOWER(mail) = ?", mail.to_s.downcase).first |
|
385 | where("LOWER(mail) = ?", mail.to_s.downcase).first | |
386 | end |
|
386 | end | |
387 |
|
387 | |||
388 | # Returns true if the default admin account can no longer be used |
|
388 | # Returns true if the default admin account can no longer be used | |
389 | def self.default_admin_account_changed? |
|
389 | def self.default_admin_account_changed? | |
390 | !User.active.find_by_login("admin").try(:check_password?, "admin") |
|
390 | !User.active.find_by_login("admin").try(:check_password?, "admin") | |
391 | end |
|
391 | end | |
392 |
|
392 | |||
393 | def to_s |
|
393 | def to_s | |
394 | name |
|
394 | name | |
395 | end |
|
395 | end | |
396 |
|
396 | |||
397 | CSS_CLASS_BY_STATUS = { |
|
397 | CSS_CLASS_BY_STATUS = { | |
398 | STATUS_ANONYMOUS => 'anon', |
|
398 | STATUS_ANONYMOUS => 'anon', | |
399 | STATUS_ACTIVE => 'active', |
|
399 | STATUS_ACTIVE => 'active', | |
400 | STATUS_REGISTERED => 'registered', |
|
400 | STATUS_REGISTERED => 'registered', | |
401 | STATUS_LOCKED => 'locked' |
|
401 | STATUS_LOCKED => 'locked' | |
402 | } |
|
402 | } | |
403 |
|
403 | |||
404 | def css_classes |
|
404 | def css_classes | |
405 | "user #{CSS_CLASS_BY_STATUS[status]}" |
|
405 | "user #{CSS_CLASS_BY_STATUS[status]}" | |
406 | end |
|
406 | end | |
407 |
|
407 | |||
408 | # Returns the current day according to user's time zone |
|
408 | # Returns the current day according to user's time zone | |
409 | def today |
|
409 | def today | |
410 | if time_zone.nil? |
|
410 | if time_zone.nil? | |
411 | Date.today |
|
411 | Date.today | |
412 | else |
|
412 | else | |
413 | Time.now.in_time_zone(time_zone).to_date |
|
413 | Time.now.in_time_zone(time_zone).to_date | |
414 | end |
|
414 | end | |
415 | end |
|
415 | end | |
416 |
|
416 | |||
417 | # Returns the day of +time+ according to user's time zone |
|
417 | # Returns the day of +time+ according to user's time zone | |
418 | def time_to_date(time) |
|
418 | def time_to_date(time) | |
419 | if time_zone.nil? |
|
419 | if time_zone.nil? | |
420 | time.to_date |
|
420 | time.to_date | |
421 | else |
|
421 | else | |
422 | time.in_time_zone(time_zone).to_date |
|
422 | time.in_time_zone(time_zone).to_date | |
423 | end |
|
423 | end | |
424 | end |
|
424 | end | |
425 |
|
425 | |||
426 | def logged? |
|
426 | def logged? | |
427 | true |
|
427 | true | |
428 | end |
|
428 | end | |
429 |
|
429 | |||
430 | def anonymous? |
|
430 | def anonymous? | |
431 | !logged? |
|
431 | !logged? | |
432 | end |
|
432 | end | |
433 |
|
433 | |||
434 | # Returns user's membership for the given project |
|
434 | # Returns user's membership for the given project | |
435 | # or nil if the user is not a member of project |
|
435 | # or nil if the user is not a member of project | |
436 | def membership(project) |
|
436 | def membership(project) | |
437 | project_id = project.is_a?(Project) ? project.id : project |
|
437 | project_id = project.is_a?(Project) ? project.id : project | |
438 |
|
438 | |||
439 | @membership_by_project_id ||= Hash.new {|h, project_id| |
|
439 | @membership_by_project_id ||= Hash.new {|h, project_id| | |
440 | h[project_id] = memberships.where(:project_id => project_id).first |
|
440 | h[project_id] = memberships.where(:project_id => project_id).first | |
441 | } |
|
441 | } | |
442 | @membership_by_project_id[project_id] |
|
442 | @membership_by_project_id[project_id] | |
443 | end |
|
443 | end | |
444 |
|
444 | |||
445 | # Return user's roles for project |
|
445 | # Return user's roles for project | |
446 | def roles_for_project(project) |
|
446 | def roles_for_project(project) | |
447 | roles = [] |
|
447 | roles = [] | |
448 | # No role on archived projects |
|
448 | # No role on archived projects | |
449 | return roles if project.nil? || project.archived? |
|
449 | return roles if project.nil? || project.archived? | |
450 | if logged? |
|
450 | if logged? | |
451 | # Find project membership |
|
451 | # Find project membership | |
452 | membership = membership(project) |
|
452 | membership = membership(project) | |
453 | if membership |
|
453 | if membership | |
454 | roles = membership.roles |
|
454 | roles = membership.roles | |
455 | else |
|
455 | else | |
456 | @role_non_member ||= Role.non_member |
|
456 | @role_non_member ||= Role.non_member | |
457 | roles << @role_non_member |
|
457 | roles << @role_non_member | |
458 | end |
|
458 | end | |
459 | else |
|
459 | else | |
460 | @role_anonymous ||= Role.anonymous |
|
460 | @role_anonymous ||= Role.anonymous | |
461 | roles << @role_anonymous |
|
461 | roles << @role_anonymous | |
462 | end |
|
462 | end | |
463 | roles |
|
463 | roles | |
464 | end |
|
464 | end | |
465 |
|
465 | |||
466 | # Return true if the user is a member of project |
|
466 | # Return true if the user is a member of project | |
467 | def member_of?(project) |
|
467 | def member_of?(project) | |
468 | projects.to_a.include?(project) |
|
468 | projects.to_a.include?(project) | |
469 | end |
|
469 | end | |
470 |
|
470 | |||
471 | # Returns a hash of user's projects grouped by roles |
|
471 | # Returns a hash of user's projects grouped by roles | |
472 | def projects_by_role |
|
472 | def projects_by_role | |
473 | return @projects_by_role if @projects_by_role |
|
473 | return @projects_by_role if @projects_by_role | |
474 |
|
474 | |||
475 | @projects_by_role = Hash.new([]) |
|
475 | @projects_by_role = Hash.new([]) | |
476 | memberships.each do |membership| |
|
476 | memberships.each do |membership| | |
477 | if membership.project |
|
477 | if membership.project | |
478 | membership.roles.each do |role| |
|
478 | membership.roles.each do |role| | |
479 | @projects_by_role[role] = [] unless @projects_by_role.key?(role) |
|
479 | @projects_by_role[role] = [] unless @projects_by_role.key?(role) | |
480 | @projects_by_role[role] << membership.project |
|
480 | @projects_by_role[role] << membership.project | |
481 | end |
|
481 | end | |
482 | end |
|
482 | end | |
483 | end |
|
483 | end | |
484 | @projects_by_role.each do |role, projects| |
|
484 | @projects_by_role.each do |role, projects| | |
485 | projects.uniq! |
|
485 | projects.uniq! | |
486 | end |
|
486 | end | |
487 |
|
487 | |||
488 | @projects_by_role |
|
488 | @projects_by_role | |
489 | end |
|
489 | end | |
490 |
|
490 | |||
491 | # Returns true if user is arg or belongs to arg |
|
491 | # Returns true if user is arg or belongs to arg | |
492 | def is_or_belongs_to?(arg) |
|
492 | def is_or_belongs_to?(arg) | |
493 | if arg.is_a?(User) |
|
493 | if arg.is_a?(User) | |
494 | self == arg |
|
494 | self == arg | |
495 | elsif arg.is_a?(Group) |
|
495 | elsif arg.is_a?(Group) | |
496 | arg.users.include?(self) |
|
496 | arg.users.include?(self) | |
497 | else |
|
497 | else | |
498 | false |
|
498 | false | |
499 | end |
|
499 | end | |
500 | end |
|
500 | end | |
501 |
|
501 | |||
502 | # Return true if the user is allowed to do the specified action on a specific context |
|
502 | # Return true if the user is allowed to do the specified action on a specific context | |
503 | # Action can be: |
|
503 | # Action can be: | |
504 | # * a parameter-like Hash (eg. :controller => 'projects', :action => 'edit') |
|
504 | # * a parameter-like Hash (eg. :controller => 'projects', :action => 'edit') | |
505 | # * a permission Symbol (eg. :edit_project) |
|
505 | # * a permission Symbol (eg. :edit_project) | |
506 | # Context can be: |
|
506 | # Context can be: | |
507 | # * a project : returns true if user is allowed to do the specified action on this project |
|
507 | # * a project : returns true if user is allowed to do the specified action on this project | |
508 | # * an array of projects : returns true if user is allowed on every project |
|
508 | # * an array of projects : returns true if user is allowed on every project | |
509 | # * nil with options[:global] set : check if user has at least one role allowed for this action, |
|
509 | # * nil with options[:global] set : check if user has at least one role allowed for this action, | |
510 | # or falls back to Non Member / Anonymous permissions depending if the user is logged |
|
510 | # or falls back to Non Member / Anonymous permissions depending if the user is logged | |
511 | def allowed_to?(action, context, options={}, &block) |
|
511 | def allowed_to?(action, context, options={}, &block) | |
512 | if context && context.is_a?(Project) |
|
512 | if context && context.is_a?(Project) | |
513 | return false unless context.allows_to?(action) |
|
513 | return false unless context.allows_to?(action) | |
514 | # Admin users are authorized for anything else |
|
514 | # Admin users are authorized for anything else | |
515 | return true if admin? |
|
515 | return true if admin? | |
516 |
|
516 | |||
517 | roles = roles_for_project(context) |
|
517 | roles = roles_for_project(context) | |
518 | return false unless roles |
|
518 | return false unless roles | |
519 | roles.any? {|role| |
|
519 | roles.any? {|role| | |
520 | (context.is_public? || role.member?) && |
|
520 | (context.is_public? || role.member?) && | |
521 | role.allowed_to?(action) && |
|
521 | role.allowed_to?(action) && | |
522 | (block_given? ? yield(role, self) : true) |
|
522 | (block_given? ? yield(role, self) : true) | |
523 | } |
|
523 | } | |
524 | elsif context && context.is_a?(Array) |
|
524 | elsif context && context.is_a?(Array) | |
525 | if context.empty? |
|
525 | if context.empty? | |
526 | false |
|
526 | false | |
527 | else |
|
527 | else | |
528 | # Authorize if user is authorized on every element of the array |
|
528 | # Authorize if user is authorized on every element of the array | |
529 | context.map {|project| allowed_to?(action, project, options, &block)}.reduce(:&) |
|
529 | context.map {|project| allowed_to?(action, project, options, &block)}.reduce(:&) | |
530 | end |
|
530 | end | |
531 | elsif options[:global] |
|
531 | elsif options[:global] | |
532 | # Admin users are always authorized |
|
532 | # Admin users are always authorized | |
533 | return true if admin? |
|
533 | return true if admin? | |
534 |
|
534 | |||
535 | # authorize if user has at least one role that has this permission |
|
535 | # authorize if user has at least one role that has this permission | |
536 | roles = memberships.collect {|m| m.roles}.flatten.uniq |
|
536 | roles = memberships.collect {|m| m.roles}.flatten.uniq | |
537 | roles << (self.logged? ? Role.non_member : Role.anonymous) |
|
537 | roles << (self.logged? ? Role.non_member : Role.anonymous) | |
538 | roles.any? {|role| |
|
538 | roles.any? {|role| | |
539 | role.allowed_to?(action) && |
|
539 | role.allowed_to?(action) && | |
540 | (block_given? ? yield(role, self) : true) |
|
540 | (block_given? ? yield(role, self) : true) | |
541 | } |
|
541 | } | |
542 | else |
|
542 | else | |
543 | false |
|
543 | false | |
544 | end |
|
544 | end | |
545 | end |
|
545 | end | |
546 |
|
546 | |||
547 | # Is the user allowed to do the specified action on any project? |
|
547 | # Is the user allowed to do the specified action on any project? | |
548 | # See allowed_to? for the actions and valid options. |
|
548 | # See allowed_to? for the actions and valid options. | |
549 | def allowed_to_globally?(action, options, &block) |
|
549 | def allowed_to_globally?(action, options, &block) | |
550 | allowed_to?(action, nil, options.reverse_merge(:global => true), &block) |
|
550 | allowed_to?(action, nil, options.reverse_merge(:global => true), &block) | |
551 | end |
|
551 | end | |
552 |
|
552 | |||
553 | # Returns true if the user is allowed to delete his own account |
|
553 | # Returns true if the user is allowed to delete his own account | |
554 | def own_account_deletable? |
|
554 | def own_account_deletable? | |
555 | Setting.unsubscribe? && |
|
555 | Setting.unsubscribe? && | |
556 | (!admin? || User.active.where("admin = ? AND id <> ?", true, id).exists?) |
|
556 | (!admin? || User.active.where("admin = ? AND id <> ?", true, id).exists?) | |
557 | end |
|
557 | end | |
558 |
|
558 | |||
559 | safe_attributes 'login', |
|
559 | safe_attributes 'login', | |
560 | 'firstname', |
|
560 | 'firstname', | |
561 | 'lastname', |
|
561 | 'lastname', | |
562 | 'mail', |
|
562 | 'mail', | |
563 | 'mail_notification', |
|
563 | 'mail_notification', | |
564 | 'notified_project_ids', |
|
564 | 'notified_project_ids', | |
565 | 'language', |
|
565 | 'language', | |
566 | 'custom_field_values', |
|
566 | 'custom_field_values', | |
567 | 'custom_fields', |
|
567 | 'custom_fields', | |
568 | 'identity_url' |
|
568 | 'identity_url' | |
569 |
|
569 | |||
570 | safe_attributes 'status', |
|
570 | safe_attributes 'status', | |
571 | 'auth_source_id', |
|
571 | 'auth_source_id', | |
572 | 'generate_password', |
|
572 | 'generate_password', | |
573 | :if => lambda {|user, current_user| current_user.admin?} |
|
573 | :if => lambda {|user, current_user| current_user.admin?} | |
574 |
|
574 | |||
575 | safe_attributes 'group_ids', |
|
575 | safe_attributes 'group_ids', | |
576 | :if => lambda {|user, current_user| current_user.admin? && !user.new_record?} |
|
576 | :if => lambda {|user, current_user| current_user.admin? && !user.new_record?} | |
577 |
|
577 | |||
578 | # Utility method to help check if a user should be notified about an |
|
578 | # Utility method to help check if a user should be notified about an | |
579 | # event. |
|
579 | # event. | |
580 | # |
|
580 | # | |
581 | # TODO: only supports Issue events currently |
|
581 | # TODO: only supports Issue events currently | |
582 | def notify_about?(object) |
|
582 | def notify_about?(object) | |
583 | if mail_notification == 'all' |
|
583 | if mail_notification == 'all' | |
584 | true |
|
584 | true | |
585 | elsif mail_notification.blank? || mail_notification == 'none' |
|
585 | elsif mail_notification.blank? || mail_notification == 'none' | |
586 | false |
|
586 | false | |
587 | else |
|
587 | else | |
588 | case object |
|
588 | case object | |
589 | when Issue |
|
589 | when Issue | |
590 | case mail_notification |
|
590 | case mail_notification | |
591 | when 'selected', 'only_my_events' |
|
591 | when 'selected', 'only_my_events' | |
592 | # user receives notifications for created/assigned issues on unselected projects |
|
592 | # user receives notifications for created/assigned issues on unselected projects | |
593 | object.author == self || is_or_belongs_to?(object.assigned_to) || is_or_belongs_to?(object.assigned_to_was) |
|
593 | object.author == self || is_or_belongs_to?(object.assigned_to) || is_or_belongs_to?(object.assigned_to_was) | |
594 | when 'only_assigned' |
|
594 | when 'only_assigned' | |
595 | is_or_belongs_to?(object.assigned_to) || is_or_belongs_to?(object.assigned_to_was) |
|
595 | is_or_belongs_to?(object.assigned_to) || is_or_belongs_to?(object.assigned_to_was) | |
596 | when 'only_owner' |
|
596 | when 'only_owner' | |
597 | object.author == self |
|
597 | object.author == self | |
598 | end |
|
598 | end | |
599 | when News |
|
599 | when News | |
600 | # always send to project members except when mail_notification is set to 'none' |
|
600 | # always send to project members except when mail_notification is set to 'none' | |
601 | true |
|
601 | true | |
602 | end |
|
602 | end | |
603 | end |
|
603 | end | |
604 | end |
|
604 | end | |
605 |
|
605 | |||
606 | def self.current=(user) |
|
606 | def self.current=(user) | |
607 | Thread.current[:current_user] = user |
|
607 | Thread.current[:current_user] = user | |
608 | end |
|
608 | end | |
609 |
|
609 | |||
610 | def self.current |
|
610 | def self.current | |
611 | Thread.current[:current_user] ||= User.anonymous |
|
611 | Thread.current[:current_user] ||= User.anonymous | |
612 | end |
|
612 | end | |
613 |
|
613 | |||
614 | # Returns the anonymous user. If the anonymous user does not exist, it is created. There can be only |
|
614 | # Returns the anonymous user. If the anonymous user does not exist, it is created. There can be only | |
615 | # one anonymous user per database. |
|
615 | # one anonymous user per database. | |
616 | def self.anonymous |
|
616 | def self.anonymous | |
617 | anonymous_user = AnonymousUser.first |
|
617 | anonymous_user = AnonymousUser.first | |
618 | if anonymous_user.nil? |
|
618 | if anonymous_user.nil? | |
619 | anonymous_user = AnonymousUser.create(:lastname => 'Anonymous', :firstname => '', :mail => '', :login => '', :status => 0) |
|
619 | anonymous_user = AnonymousUser.create(:lastname => 'Anonymous', :firstname => '', :mail => '', :login => '', :status => 0) | |
620 | raise 'Unable to create the anonymous user.' if anonymous_user.new_record? |
|
620 | raise 'Unable to create the anonymous user.' if anonymous_user.new_record? | |
621 | end |
|
621 | end | |
622 | anonymous_user |
|
622 | anonymous_user | |
623 | end |
|
623 | end | |
624 |
|
624 | |||
625 | # Salts all existing unsalted passwords |
|
625 | # Salts all existing unsalted passwords | |
626 | # It changes password storage scheme from SHA1(password) to SHA1(salt + SHA1(password)) |
|
626 | # It changes password storage scheme from SHA1(password) to SHA1(salt + SHA1(password)) | |
627 | # This method is used in the SaltPasswords migration and is to be kept as is |
|
627 | # This method is used in the SaltPasswords migration and is to be kept as is | |
628 | def self.salt_unsalted_passwords! |
|
628 | def self.salt_unsalted_passwords! | |
629 | transaction do |
|
629 | transaction do | |
630 | User.where("salt IS NULL OR salt = ''").find_each do |user| |
|
630 | User.where("salt IS NULL OR salt = ''").find_each do |user| | |
631 | next if user.hashed_password.blank? |
|
631 | next if user.hashed_password.blank? | |
632 | salt = User.generate_salt |
|
632 | salt = User.generate_salt | |
633 | hashed_password = User.hash_password("#{salt}#{user.hashed_password}") |
|
633 | hashed_password = User.hash_password("#{salt}#{user.hashed_password}") | |
634 | User.where(:id => user.id).update_all(:salt => salt, :hashed_password => hashed_password) |
|
634 | User.where(:id => user.id).update_all(:salt => salt, :hashed_password => hashed_password) | |
635 | end |
|
635 | end | |
636 | end |
|
636 | end | |
637 | end |
|
637 | end | |
638 |
|
638 | |||
639 | protected |
|
639 | protected | |
640 |
|
640 | |||
641 | def validate_password_length |
|
641 | def validate_password_length | |
642 | return if password.blank? && generate_password? |
|
642 | return if password.blank? && generate_password? | |
643 | # Password length validation based on setting |
|
643 | # Password length validation based on setting | |
644 | if !password.nil? && password.size < Setting.password_min_length.to_i |
|
644 | if !password.nil? && password.size < Setting.password_min_length.to_i | |
645 | errors.add(:password, :too_short, :count => Setting.password_min_length.to_i) |
|
645 | errors.add(:password, :too_short, :count => Setting.password_min_length.to_i) | |
646 | end |
|
646 | end | |
647 | end |
|
647 | end | |
648 |
|
648 | |||
649 | private |
|
649 | private | |
650 |
|
650 | |||
651 | def generate_password_if_needed |
|
651 | def generate_password_if_needed | |
652 | if generate_password? && auth_source.nil? |
|
652 | if generate_password? && auth_source.nil? | |
653 | length = [Setting.password_min_length.to_i + 2, 10].max |
|
653 | length = [Setting.password_min_length.to_i + 2, 10].max | |
654 | random_password(length) |
|
654 | random_password(length) | |
655 | end |
|
655 | end | |
656 | end |
|
656 | end | |
657 |
|
657 | |||
658 | # Removes references that are not handled by associations |
|
658 | # Removes references that are not handled by associations | |
659 | # Things that are not deleted are reassociated with the anonymous user |
|
659 | # Things that are not deleted are reassociated with the anonymous user | |
660 | def remove_references_before_destroy |
|
660 | def remove_references_before_destroy | |
661 | return if self.id.nil? |
|
661 | return if self.id.nil? | |
662 |
|
662 | |||
663 | substitute = User.anonymous |
|
663 | substitute = User.anonymous | |
664 | Attachment.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] |
|
664 | Attachment.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] | |
665 | Comment.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] |
|
665 | Comment.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] | |
666 | Issue.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] |
|
666 | Issue.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] | |
667 | Issue.update_all 'assigned_to_id = NULL', ['assigned_to_id = ?', id] |
|
667 | Issue.update_all 'assigned_to_id = NULL', ['assigned_to_id = ?', id] | |
668 | Journal.update_all ['user_id = ?', substitute.id], ['user_id = ?', id] |
|
668 | Journal.update_all ['user_id = ?', substitute.id], ['user_id = ?', id] | |
669 | JournalDetail.update_all ['old_value = ?', substitute.id.to_s], ["property = 'attr' AND prop_key = 'assigned_to_id' AND old_value = ?", id.to_s] |
|
669 | JournalDetail.update_all ['old_value = ?', substitute.id.to_s], ["property = 'attr' AND prop_key = 'assigned_to_id' AND old_value = ?", id.to_s] | |
670 | JournalDetail.update_all ['value = ?', substitute.id.to_s], ["property = 'attr' AND prop_key = 'assigned_to_id' AND value = ?", id.to_s] |
|
670 | JournalDetail.update_all ['value = ?', substitute.id.to_s], ["property = 'attr' AND prop_key = 'assigned_to_id' AND value = ?", id.to_s] | |
671 | Message.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] |
|
671 | Message.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] | |
672 | News.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] |
|
672 | News.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] | |
673 | # Remove private queries and keep public ones |
|
673 | # Remove private queries and keep public ones | |
674 | ::Query.delete_all ['user_id = ? AND is_public = ?', id, false] |
|
674 | ::Query.delete_all ['user_id = ? AND is_public = ?', id, false] | |
675 | ::Query.update_all ['user_id = ?', substitute.id], ['user_id = ?', id] |
|
675 | ::Query.update_all ['user_id = ?', substitute.id], ['user_id = ?', id] | |
676 | TimeEntry.update_all ['user_id = ?', substitute.id], ['user_id = ?', id] |
|
676 | TimeEntry.update_all ['user_id = ?', substitute.id], ['user_id = ?', id] | |
677 | Token.delete_all ['user_id = ?', id] |
|
677 | Token.delete_all ['user_id = ?', id] | |
678 | Watcher.delete_all ['user_id = ?', id] |
|
678 | Watcher.delete_all ['user_id = ?', id] | |
679 | WikiContent.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] |
|
679 | WikiContent.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] | |
680 | WikiContent::Version.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] |
|
680 | WikiContent::Version.update_all ['author_id = ?', substitute.id], ['author_id = ?', id] | |
681 | end |
|
681 | end | |
682 |
|
682 | |||
683 | # Return password digest |
|
683 | # Return password digest | |
684 | def self.hash_password(clear_password) |
|
684 | def self.hash_password(clear_password) | |
685 | Digest::SHA1.hexdigest(clear_password || "") |
|
685 | Digest::SHA1.hexdigest(clear_password || "") | |
686 | end |
|
686 | end | |
687 |
|
687 | |||
688 | # Returns a 128bits random salt as a hex string (32 chars long) |
|
688 | # Returns a 128bits random salt as a hex string (32 chars long) | |
689 | def self.generate_salt |
|
689 | def self.generate_salt | |
690 | Redmine::Utils.random_hex(16) |
|
690 | Redmine::Utils.random_hex(16) | |
691 | end |
|
691 | end | |
692 |
|
692 | |||
693 | end |
|
693 | end | |
694 |
|
694 | |||
695 | class AnonymousUser < User |
|
695 | class AnonymousUser < User | |
696 | validate :validate_anonymous_uniqueness, :on => :create |
|
696 | validate :validate_anonymous_uniqueness, :on => :create | |
697 |
|
697 | |||
698 | def validate_anonymous_uniqueness |
|
698 | def validate_anonymous_uniqueness | |
699 | # There should be only one AnonymousUser in the database |
|
699 | # There should be only one AnonymousUser in the database | |
700 | errors.add :base, 'An anonymous user already exists.' if AnonymousUser.exists? |
|
700 | errors.add :base, 'An anonymous user already exists.' if AnonymousUser.exists? | |
701 | end |
|
701 | end | |
702 |
|
702 | |||
703 | def available_custom_fields |
|
703 | def available_custom_fields | |
704 | [] |
|
704 | [] | |
705 | end |
|
705 | end | |
706 |
|
706 | |||
707 | # Overrides a few properties |
|
707 | # Overrides a few properties | |
708 | def logged?; false end |
|
708 | def logged?; false end | |
709 | def admin; false end |
|
709 | def admin; false end | |
710 | def name(*args); I18n.t(:label_user_anonymous) end |
|
710 | def name(*args); I18n.t(:label_user_anonymous) end | |
711 | def mail; nil end |
|
711 | def mail; nil end | |
712 | def time_zone; nil end |
|
712 | def time_zone; nil end | |
713 | def rss_key; nil end |
|
713 | def rss_key; nil end | |
714 |
|
714 | |||
715 | def pref |
|
715 | def pref | |
716 | UserPreference.new(:user => self) |
|
716 | UserPreference.new(:user => self) | |
717 | end |
|
717 | end | |
718 |
|
718 | |||
719 | def member_of?(project) |
|
719 | def member_of?(project) | |
720 | false |
|
720 | false | |
721 | end |
|
721 | end | |
722 |
|
722 | |||
723 | # Anonymous user can not be destroyed |
|
723 | # Anonymous user can not be destroyed | |
724 | def destroy |
|
724 | def destroy | |
725 | false |
|
725 | false | |
726 | end |
|
726 | end | |
727 | end |
|
727 | end |
@@ -1,1086 +1,1088 | |||||
1 | en: |
|
1 | en: | |
2 | # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl) |
|
2 | # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl) | |
3 | direction: ltr |
|
3 | direction: ltr | |
4 | date: |
|
4 | date: | |
5 | formats: |
|
5 | formats: | |
6 | # Use the strftime parameters for formats. |
|
6 | # Use the strftime parameters for formats. | |
7 | # When no format has been given, it uses default. |
|
7 | # When no format has been given, it uses default. | |
8 | # You can provide other formats here if you like! |
|
8 | # You can provide other formats here if you like! | |
9 | default: "%m/%d/%Y" |
|
9 | default: "%m/%d/%Y" | |
10 | short: "%b %d" |
|
10 | short: "%b %d" | |
11 | long: "%B %d, %Y" |
|
11 | long: "%B %d, %Y" | |
12 |
|
12 | |||
13 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] |
|
13 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] | |
14 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] |
|
14 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] | |
15 |
|
15 | |||
16 | # Don't forget the nil at the beginning; there's no such thing as a 0th month |
|
16 | # Don't forget the nil at the beginning; there's no such thing as a 0th month | |
17 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] |
|
17 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] | |
18 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] |
|
18 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] | |
19 | # Used in date_select and datime_select. |
|
19 | # Used in date_select and datime_select. | |
20 | order: |
|
20 | order: | |
21 | - :year |
|
21 | - :year | |
22 | - :month |
|
22 | - :month | |
23 | - :day |
|
23 | - :day | |
24 |
|
24 | |||
25 | time: |
|
25 | time: | |
26 | formats: |
|
26 | formats: | |
27 | default: "%m/%d/%Y %I:%M %p" |
|
27 | default: "%m/%d/%Y %I:%M %p" | |
28 | time: "%I:%M %p" |
|
28 | time: "%I:%M %p" | |
29 | short: "%d %b %H:%M" |
|
29 | short: "%d %b %H:%M" | |
30 | long: "%B %d, %Y %H:%M" |
|
30 | long: "%B %d, %Y %H:%M" | |
31 | am: "am" |
|
31 | am: "am" | |
32 | pm: "pm" |
|
32 | pm: "pm" | |
33 |
|
33 | |||
34 | datetime: |
|
34 | datetime: | |
35 | distance_in_words: |
|
35 | distance_in_words: | |
36 | half_a_minute: "half a minute" |
|
36 | half_a_minute: "half a minute" | |
37 | less_than_x_seconds: |
|
37 | less_than_x_seconds: | |
38 | one: "less than 1 second" |
|
38 | one: "less than 1 second" | |
39 | other: "less than %{count} seconds" |
|
39 | other: "less than %{count} seconds" | |
40 | x_seconds: |
|
40 | x_seconds: | |
41 | one: "1 second" |
|
41 | one: "1 second" | |
42 | other: "%{count} seconds" |
|
42 | other: "%{count} seconds" | |
43 | less_than_x_minutes: |
|
43 | less_than_x_minutes: | |
44 | one: "less than a minute" |
|
44 | one: "less than a minute" | |
45 | other: "less than %{count} minutes" |
|
45 | other: "less than %{count} minutes" | |
46 | x_minutes: |
|
46 | x_minutes: | |
47 | one: "1 minute" |
|
47 | one: "1 minute" | |
48 | other: "%{count} minutes" |
|
48 | other: "%{count} minutes" | |
49 | about_x_hours: |
|
49 | about_x_hours: | |
50 | one: "about 1 hour" |
|
50 | one: "about 1 hour" | |
51 | other: "about %{count} hours" |
|
51 | other: "about %{count} hours" | |
52 | x_hours: |
|
52 | x_hours: | |
53 | one: "1 hour" |
|
53 | one: "1 hour" | |
54 | other: "%{count} hours" |
|
54 | other: "%{count} hours" | |
55 | x_days: |
|
55 | x_days: | |
56 | one: "1 day" |
|
56 | one: "1 day" | |
57 | other: "%{count} days" |
|
57 | other: "%{count} days" | |
58 | about_x_months: |
|
58 | about_x_months: | |
59 | one: "about 1 month" |
|
59 | one: "about 1 month" | |
60 | other: "about %{count} months" |
|
60 | other: "about %{count} months" | |
61 | x_months: |
|
61 | x_months: | |
62 | one: "1 month" |
|
62 | one: "1 month" | |
63 | other: "%{count} months" |
|
63 | other: "%{count} months" | |
64 | about_x_years: |
|
64 | about_x_years: | |
65 | one: "about 1 year" |
|
65 | one: "about 1 year" | |
66 | other: "about %{count} years" |
|
66 | other: "about %{count} years" | |
67 | over_x_years: |
|
67 | over_x_years: | |
68 | one: "over 1 year" |
|
68 | one: "over 1 year" | |
69 | other: "over %{count} years" |
|
69 | other: "over %{count} years" | |
70 | almost_x_years: |
|
70 | almost_x_years: | |
71 | one: "almost 1 year" |
|
71 | one: "almost 1 year" | |
72 | other: "almost %{count} years" |
|
72 | other: "almost %{count} years" | |
73 |
|
73 | |||
74 | number: |
|
74 | number: | |
75 | format: |
|
75 | format: | |
76 | separator: "." |
|
76 | separator: "." | |
77 | delimiter: "" |
|
77 | delimiter: "" | |
78 | precision: 3 |
|
78 | precision: 3 | |
79 |
|
79 | |||
80 | human: |
|
80 | human: | |
81 | format: |
|
81 | format: | |
82 | delimiter: "" |
|
82 | delimiter: "" | |
83 | precision: 3 |
|
83 | precision: 3 | |
84 | storage_units: |
|
84 | storage_units: | |
85 | format: "%n %u" |
|
85 | format: "%n %u" | |
86 | units: |
|
86 | units: | |
87 | byte: |
|
87 | byte: | |
88 | one: "Byte" |
|
88 | one: "Byte" | |
89 | other: "Bytes" |
|
89 | other: "Bytes" | |
90 | kb: "KB" |
|
90 | kb: "KB" | |
91 | mb: "MB" |
|
91 | mb: "MB" | |
92 | gb: "GB" |
|
92 | gb: "GB" | |
93 | tb: "TB" |
|
93 | tb: "TB" | |
94 |
|
94 | |||
95 | # Used in array.to_sentence. |
|
95 | # Used in array.to_sentence. | |
96 | support: |
|
96 | support: | |
97 | array: |
|
97 | array: | |
98 | sentence_connector: "and" |
|
98 | sentence_connector: "and" | |
99 | skip_last_comma: false |
|
99 | skip_last_comma: false | |
100 |
|
100 | |||
101 | activerecord: |
|
101 | activerecord: | |
102 | errors: |
|
102 | errors: | |
103 | template: |
|
103 | template: | |
104 | header: |
|
104 | header: | |
105 | one: "1 error prohibited this %{model} from being saved" |
|
105 | one: "1 error prohibited this %{model} from being saved" | |
106 | other: "%{count} errors prohibited this %{model} from being saved" |
|
106 | other: "%{count} errors prohibited this %{model} from being saved" | |
107 | messages: |
|
107 | messages: | |
108 | inclusion: "is not included in the list" |
|
108 | inclusion: "is not included in the list" | |
109 | exclusion: "is reserved" |
|
109 | exclusion: "is reserved" | |
110 | invalid: "is invalid" |
|
110 | invalid: "is invalid" | |
111 | confirmation: "doesn't match confirmation" |
|
111 | confirmation: "doesn't match confirmation" | |
112 | accepted: "must be accepted" |
|
112 | accepted: "must be accepted" | |
113 | empty: "can't be empty" |
|
113 | empty: "can't be empty" | |
114 | blank: "can't be blank" |
|
114 | blank: "can't be blank" | |
115 | too_long: "is too long (maximum is %{count} characters)" |
|
115 | too_long: "is too long (maximum is %{count} characters)" | |
116 | too_short: "is too short (minimum is %{count} characters)" |
|
116 | too_short: "is too short (minimum is %{count} characters)" | |
117 | wrong_length: "is the wrong length (should be %{count} characters)" |
|
117 | wrong_length: "is the wrong length (should be %{count} characters)" | |
118 | taken: "has already been taken" |
|
118 | taken: "has already been taken" | |
119 | not_a_number: "is not a number" |
|
119 | not_a_number: "is not a number" | |
120 | not_a_date: "is not a valid date" |
|
120 | not_a_date: "is not a valid date" | |
121 | greater_than: "must be greater than %{count}" |
|
121 | greater_than: "must be greater than %{count}" | |
122 | greater_than_or_equal_to: "must be greater than or equal to %{count}" |
|
122 | greater_than_or_equal_to: "must be greater than or equal to %{count}" | |
123 | equal_to: "must be equal to %{count}" |
|
123 | equal_to: "must be equal to %{count}" | |
124 | less_than: "must be less than %{count}" |
|
124 | less_than: "must be less than %{count}" | |
125 | less_than_or_equal_to: "must be less than or equal to %{count}" |
|
125 | less_than_or_equal_to: "must be less than or equal to %{count}" | |
126 | odd: "must be odd" |
|
126 | odd: "must be odd" | |
127 | even: "must be even" |
|
127 | even: "must be even" | |
128 | greater_than_start_date: "must be greater than start date" |
|
128 | greater_than_start_date: "must be greater than start date" | |
129 | not_same_project: "doesn't belong to the same project" |
|
129 | not_same_project: "doesn't belong to the same project" | |
130 | circular_dependency: "This relation would create a circular dependency" |
|
130 | circular_dependency: "This relation would create a circular dependency" | |
131 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" |
|
131 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" | |
132 | earlier_than_minimum_start_date: "cannot be earlier than %{date} because of preceding issues" |
|
132 | earlier_than_minimum_start_date: "cannot be earlier than %{date} because of preceding issues" | |
133 |
|
133 | |||
134 | actionview_instancetag_blank_option: Please select |
|
134 | actionview_instancetag_blank_option: Please select | |
135 |
|
135 | |||
136 | general_text_No: 'No' |
|
136 | general_text_No: 'No' | |
137 | general_text_Yes: 'Yes' |
|
137 | general_text_Yes: 'Yes' | |
138 | general_text_no: 'no' |
|
138 | general_text_no: 'no' | |
139 | general_text_yes: 'yes' |
|
139 | general_text_yes: 'yes' | |
140 | general_lang_name: 'English' |
|
140 | general_lang_name: 'English' | |
141 | general_csv_separator: ',' |
|
141 | general_csv_separator: ',' | |
142 | general_csv_decimal_separator: '.' |
|
142 | general_csv_decimal_separator: '.' | |
143 | general_csv_encoding: ISO-8859-1 |
|
143 | general_csv_encoding: ISO-8859-1 | |
144 | general_pdf_encoding: UTF-8 |
|
144 | general_pdf_encoding: UTF-8 | |
145 | general_first_day_of_week: '7' |
|
145 | general_first_day_of_week: '7' | |
146 |
|
146 | |||
147 | notice_account_updated: Account was successfully updated. |
|
147 | notice_account_updated: Account was successfully updated. | |
148 | notice_account_invalid_creditentials: Invalid user or password |
|
148 | notice_account_invalid_creditentials: Invalid user or password | |
149 | notice_account_password_updated: Password was successfully updated. |
|
149 | notice_account_password_updated: Password was successfully updated. | |
150 | notice_account_wrong_password: Wrong password |
|
150 | notice_account_wrong_password: Wrong password | |
151 | notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you. |
|
151 | notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you. | |
152 | notice_account_unknown_email: Unknown user. |
|
152 | notice_account_unknown_email: Unknown user. | |
|
153 | notice_account_not_activated_yet: You haven't activated your account yet. If you want to receive a new activation email, please <a href="%{url}">click this link</a>. | |||
|
154 | notice_account_locked: Your account is locked. | |||
153 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. |
|
155 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. | |
154 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. |
|
156 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. | |
155 | notice_account_activated: Your account has been activated. You can now log in. |
|
157 | notice_account_activated: Your account has been activated. You can now log in. | |
156 | notice_successful_create: Successful creation. |
|
158 | notice_successful_create: Successful creation. | |
157 | notice_successful_update: Successful update. |
|
159 | notice_successful_update: Successful update. | |
158 | notice_successful_delete: Successful deletion. |
|
160 | notice_successful_delete: Successful deletion. | |
159 | notice_successful_connection: Successful connection. |
|
161 | notice_successful_connection: Successful connection. | |
160 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. |
|
162 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. | |
161 | notice_locking_conflict: Data has been updated by another user. |
|
163 | notice_locking_conflict: Data has been updated by another user. | |
162 | notice_not_authorized: You are not authorized to access this page. |
|
164 | notice_not_authorized: You are not authorized to access this page. | |
163 | notice_not_authorized_archived_project: The project you're trying to access has been archived. |
|
165 | notice_not_authorized_archived_project: The project you're trying to access has been archived. | |
164 | notice_email_sent: "An email was sent to %{value}" |
|
166 | notice_email_sent: "An email was sent to %{value}" | |
165 | notice_email_error: "An error occurred while sending mail (%{value})" |
|
167 | notice_email_error: "An error occurred while sending mail (%{value})" | |
166 | notice_feeds_access_key_reseted: Your Atom access key was reset. |
|
168 | notice_feeds_access_key_reseted: Your Atom access key was reset. | |
167 | notice_api_access_key_reseted: Your API access key was reset. |
|
169 | notice_api_access_key_reseted: Your API access key was reset. | |
168 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." |
|
170 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." | |
169 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." |
|
171 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." | |
170 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." |
|
172 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." | |
171 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." |
|
173 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." | |
172 | notice_account_pending: "Your account was created and is now pending administrator approval." |
|
174 | notice_account_pending: "Your account was created and is now pending administrator approval." | |
173 | notice_default_data_loaded: Default configuration successfully loaded. |
|
175 | notice_default_data_loaded: Default configuration successfully loaded. | |
174 | notice_unable_delete_version: Unable to delete version. |
|
176 | notice_unable_delete_version: Unable to delete version. | |
175 | notice_unable_delete_time_entry: Unable to delete time log entry. |
|
177 | notice_unable_delete_time_entry: Unable to delete time log entry. | |
176 | notice_issue_done_ratios_updated: Issue done ratios updated. |
|
178 | notice_issue_done_ratios_updated: Issue done ratios updated. | |
177 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" |
|
179 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" | |
178 | notice_issue_successful_create: "Issue %{id} created." |
|
180 | notice_issue_successful_create: "Issue %{id} created." | |
179 | notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it." |
|
181 | notice_issue_update_conflict: "The issue has been updated by an other user while you were editing it." | |
180 | notice_account_deleted: "Your account has been permanently deleted." |
|
182 | notice_account_deleted: "Your account has been permanently deleted." | |
181 | notice_user_successful_create: "User %{id} created." |
|
183 | notice_user_successful_create: "User %{id} created." | |
182 |
|
184 | |||
183 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" |
|
185 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" | |
184 | error_scm_not_found: "The entry or revision was not found in the repository." |
|
186 | error_scm_not_found: "The entry or revision was not found in the repository." | |
185 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" |
|
187 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" | |
186 | error_scm_annotate: "The entry does not exist or cannot be annotated." |
|
188 | error_scm_annotate: "The entry does not exist or cannot be annotated." | |
187 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." |
|
189 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." | |
188 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' |
|
190 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' | |
189 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' |
|
191 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' | |
190 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' |
|
192 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' | |
191 | error_can_not_delete_custom_field: Unable to delete custom field |
|
193 | error_can_not_delete_custom_field: Unable to delete custom field | |
192 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." |
|
194 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." | |
193 | error_can_not_remove_role: "This role is in use and cannot be deleted." |
|
195 | error_can_not_remove_role: "This role is in use and cannot be deleted." | |
194 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' |
|
196 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' | |
195 | error_can_not_archive_project: This project cannot be archived |
|
197 | error_can_not_archive_project: This project cannot be archived | |
196 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." |
|
198 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." | |
197 | error_workflow_copy_source: 'Please select a source tracker or role' |
|
199 | error_workflow_copy_source: 'Please select a source tracker or role' | |
198 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' |
|
200 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' | |
199 | error_unable_delete_issue_status: 'Unable to delete issue status' |
|
201 | error_unable_delete_issue_status: 'Unable to delete issue status' | |
200 | error_unable_to_connect: "Unable to connect (%{value})" |
|
202 | error_unable_to_connect: "Unable to connect (%{value})" | |
201 | error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})" |
|
203 | error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})" | |
202 | error_session_expired: "Your session has expired. Please login again." |
|
204 | error_session_expired: "Your session has expired. Please login again." | |
203 | warning_attachments_not_saved: "%{count} file(s) could not be saved." |
|
205 | warning_attachments_not_saved: "%{count} file(s) could not be saved." | |
204 |
|
206 | |||
205 | mail_subject_lost_password: "Your %{value} password" |
|
207 | mail_subject_lost_password: "Your %{value} password" | |
206 | mail_body_lost_password: 'To change your password, click on the following link:' |
|
208 | mail_body_lost_password: 'To change your password, click on the following link:' | |
207 | mail_subject_register: "Your %{value} account activation" |
|
209 | mail_subject_register: "Your %{value} account activation" | |
208 | mail_body_register: 'To activate your account, click on the following link:' |
|
210 | mail_body_register: 'To activate your account, click on the following link:' | |
209 | mail_body_account_information_external: "You can use your %{value} account to log in." |
|
211 | mail_body_account_information_external: "You can use your %{value} account to log in." | |
210 | mail_body_account_information: Your account information |
|
212 | mail_body_account_information: Your account information | |
211 | mail_subject_account_activation_request: "%{value} account activation request" |
|
213 | mail_subject_account_activation_request: "%{value} account activation request" | |
212 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" |
|
214 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" | |
213 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" |
|
215 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" | |
214 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" |
|
216 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" | |
215 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" |
|
217 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" | |
216 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." |
|
218 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." | |
217 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" |
|
219 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" | |
218 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." |
|
220 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." | |
219 |
|
221 | |||
220 | field_name: Name |
|
222 | field_name: Name | |
221 | field_description: Description |
|
223 | field_description: Description | |
222 | field_summary: Summary |
|
224 | field_summary: Summary | |
223 | field_is_required: Required |
|
225 | field_is_required: Required | |
224 | field_firstname: First name |
|
226 | field_firstname: First name | |
225 | field_lastname: Last name |
|
227 | field_lastname: Last name | |
226 | field_mail: Email |
|
228 | field_mail: Email | |
227 | field_filename: File |
|
229 | field_filename: File | |
228 | field_filesize: Size |
|
230 | field_filesize: Size | |
229 | field_downloads: Downloads |
|
231 | field_downloads: Downloads | |
230 | field_author: Author |
|
232 | field_author: Author | |
231 | field_created_on: Created |
|
233 | field_created_on: Created | |
232 | field_updated_on: Updated |
|
234 | field_updated_on: Updated | |
233 | field_closed_on: Closed |
|
235 | field_closed_on: Closed | |
234 | field_field_format: Format |
|
236 | field_field_format: Format | |
235 | field_is_for_all: For all projects |
|
237 | field_is_for_all: For all projects | |
236 | field_possible_values: Possible values |
|
238 | field_possible_values: Possible values | |
237 | field_regexp: Regular expression |
|
239 | field_regexp: Regular expression | |
238 | field_min_length: Minimum length |
|
240 | field_min_length: Minimum length | |
239 | field_max_length: Maximum length |
|
241 | field_max_length: Maximum length | |
240 | field_value: Value |
|
242 | field_value: Value | |
241 | field_category: Category |
|
243 | field_category: Category | |
242 | field_title: Title |
|
244 | field_title: Title | |
243 | field_project: Project |
|
245 | field_project: Project | |
244 | field_issue: Issue |
|
246 | field_issue: Issue | |
245 | field_status: Status |
|
247 | field_status: Status | |
246 | field_notes: Notes |
|
248 | field_notes: Notes | |
247 | field_is_closed: Issue closed |
|
249 | field_is_closed: Issue closed | |
248 | field_is_default: Default value |
|
250 | field_is_default: Default value | |
249 | field_tracker: Tracker |
|
251 | field_tracker: Tracker | |
250 | field_subject: Subject |
|
252 | field_subject: Subject | |
251 | field_due_date: Due date |
|
253 | field_due_date: Due date | |
252 | field_assigned_to: Assignee |
|
254 | field_assigned_to: Assignee | |
253 | field_priority: Priority |
|
255 | field_priority: Priority | |
254 | field_fixed_version: Target version |
|
256 | field_fixed_version: Target version | |
255 | field_user: User |
|
257 | field_user: User | |
256 | field_principal: Principal |
|
258 | field_principal: Principal | |
257 | field_role: Role |
|
259 | field_role: Role | |
258 | field_homepage: Homepage |
|
260 | field_homepage: Homepage | |
259 | field_is_public: Public |
|
261 | field_is_public: Public | |
260 | field_parent: Subproject of |
|
262 | field_parent: Subproject of | |
261 | field_is_in_roadmap: Issues displayed in roadmap |
|
263 | field_is_in_roadmap: Issues displayed in roadmap | |
262 | field_login: Login |
|
264 | field_login: Login | |
263 | field_mail_notification: Email notifications |
|
265 | field_mail_notification: Email notifications | |
264 | field_admin: Administrator |
|
266 | field_admin: Administrator | |
265 | field_last_login_on: Last connection |
|
267 | field_last_login_on: Last connection | |
266 | field_language: Language |
|
268 | field_language: Language | |
267 | field_effective_date: Date |
|
269 | field_effective_date: Date | |
268 | field_password: Password |
|
270 | field_password: Password | |
269 | field_new_password: New password |
|
271 | field_new_password: New password | |
270 | field_password_confirmation: Confirmation |
|
272 | field_password_confirmation: Confirmation | |
271 | field_version: Version |
|
273 | field_version: Version | |
272 | field_type: Type |
|
274 | field_type: Type | |
273 | field_host: Host |
|
275 | field_host: Host | |
274 | field_port: Port |
|
276 | field_port: Port | |
275 | field_account: Account |
|
277 | field_account: Account | |
276 | field_base_dn: Base DN |
|
278 | field_base_dn: Base DN | |
277 | field_attr_login: Login attribute |
|
279 | field_attr_login: Login attribute | |
278 | field_attr_firstname: Firstname attribute |
|
280 | field_attr_firstname: Firstname attribute | |
279 | field_attr_lastname: Lastname attribute |
|
281 | field_attr_lastname: Lastname attribute | |
280 | field_attr_mail: Email attribute |
|
282 | field_attr_mail: Email attribute | |
281 | field_onthefly: On-the-fly user creation |
|
283 | field_onthefly: On-the-fly user creation | |
282 | field_start_date: Start date |
|
284 | field_start_date: Start date | |
283 | field_done_ratio: "% Done" |
|
285 | field_done_ratio: "% Done" | |
284 | field_auth_source: Authentication mode |
|
286 | field_auth_source: Authentication mode | |
285 | field_hide_mail: Hide my email address |
|
287 | field_hide_mail: Hide my email address | |
286 | field_comments: Comment |
|
288 | field_comments: Comment | |
287 | field_url: URL |
|
289 | field_url: URL | |
288 | field_start_page: Start page |
|
290 | field_start_page: Start page | |
289 | field_subproject: Subproject |
|
291 | field_subproject: Subproject | |
290 | field_hours: Hours |
|
292 | field_hours: Hours | |
291 | field_activity: Activity |
|
293 | field_activity: Activity | |
292 | field_spent_on: Date |
|
294 | field_spent_on: Date | |
293 | field_identifier: Identifier |
|
295 | field_identifier: Identifier | |
294 | field_is_filter: Used as a filter |
|
296 | field_is_filter: Used as a filter | |
295 | field_issue_to: Related issue |
|
297 | field_issue_to: Related issue | |
296 | field_delay: Delay |
|
298 | field_delay: Delay | |
297 | field_assignable: Issues can be assigned to this role |
|
299 | field_assignable: Issues can be assigned to this role | |
298 | field_redirect_existing_links: Redirect existing links |
|
300 | field_redirect_existing_links: Redirect existing links | |
299 | field_estimated_hours: Estimated time |
|
301 | field_estimated_hours: Estimated time | |
300 | field_column_names: Columns |
|
302 | field_column_names: Columns | |
301 | field_time_entries: Log time |
|
303 | field_time_entries: Log time | |
302 | field_time_zone: Time zone |
|
304 | field_time_zone: Time zone | |
303 | field_searchable: Searchable |
|
305 | field_searchable: Searchable | |
304 | field_default_value: Default value |
|
306 | field_default_value: Default value | |
305 | field_comments_sorting: Display comments |
|
307 | field_comments_sorting: Display comments | |
306 | field_parent_title: Parent page |
|
308 | field_parent_title: Parent page | |
307 | field_editable: Editable |
|
309 | field_editable: Editable | |
308 | field_watcher: Watcher |
|
310 | field_watcher: Watcher | |
309 | field_identity_url: OpenID URL |
|
311 | field_identity_url: OpenID URL | |
310 | field_content: Content |
|
312 | field_content: Content | |
311 | field_group_by: Group results by |
|
313 | field_group_by: Group results by | |
312 | field_sharing: Sharing |
|
314 | field_sharing: Sharing | |
313 | field_parent_issue: Parent task |
|
315 | field_parent_issue: Parent task | |
314 | field_member_of_group: "Assignee's group" |
|
316 | field_member_of_group: "Assignee's group" | |
315 | field_assigned_to_role: "Assignee's role" |
|
317 | field_assigned_to_role: "Assignee's role" | |
316 | field_text: Text field |
|
318 | field_text: Text field | |
317 | field_visible: Visible |
|
319 | field_visible: Visible | |
318 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" |
|
320 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" | |
319 | field_issues_visibility: Issues visibility |
|
321 | field_issues_visibility: Issues visibility | |
320 | field_is_private: Private |
|
322 | field_is_private: Private | |
321 | field_commit_logs_encoding: Commit messages encoding |
|
323 | field_commit_logs_encoding: Commit messages encoding | |
322 | field_scm_path_encoding: Path encoding |
|
324 | field_scm_path_encoding: Path encoding | |
323 | field_path_to_repository: Path to repository |
|
325 | field_path_to_repository: Path to repository | |
324 | field_root_directory: Root directory |
|
326 | field_root_directory: Root directory | |
325 | field_cvsroot: CVSROOT |
|
327 | field_cvsroot: CVSROOT | |
326 | field_cvs_module: Module |
|
328 | field_cvs_module: Module | |
327 | field_repository_is_default: Main repository |
|
329 | field_repository_is_default: Main repository | |
328 | field_multiple: Multiple values |
|
330 | field_multiple: Multiple values | |
329 | field_auth_source_ldap_filter: LDAP filter |
|
331 | field_auth_source_ldap_filter: LDAP filter | |
330 | field_core_fields: Standard fields |
|
332 | field_core_fields: Standard fields | |
331 | field_timeout: "Timeout (in seconds)" |
|
333 | field_timeout: "Timeout (in seconds)" | |
332 | field_board_parent: Parent forum |
|
334 | field_board_parent: Parent forum | |
333 | field_private_notes: Private notes |
|
335 | field_private_notes: Private notes | |
334 | field_inherit_members: Inherit members |
|
336 | field_inherit_members: Inherit members | |
335 | field_generate_password: Generate password |
|
337 | field_generate_password: Generate password | |
336 |
|
338 | |||
337 | setting_app_title: Application title |
|
339 | setting_app_title: Application title | |
338 | setting_app_subtitle: Application subtitle |
|
340 | setting_app_subtitle: Application subtitle | |
339 | setting_welcome_text: Welcome text |
|
341 | setting_welcome_text: Welcome text | |
340 | setting_default_language: Default language |
|
342 | setting_default_language: Default language | |
341 | setting_login_required: Authentication required |
|
343 | setting_login_required: Authentication required | |
342 | setting_self_registration: Self-registration |
|
344 | setting_self_registration: Self-registration | |
343 | setting_attachment_max_size: Maximum attachment size |
|
345 | setting_attachment_max_size: Maximum attachment size | |
344 | setting_issues_export_limit: Issues export limit |
|
346 | setting_issues_export_limit: Issues export limit | |
345 | setting_mail_from: Emission email address |
|
347 | setting_mail_from: Emission email address | |
346 | setting_bcc_recipients: Blind carbon copy recipients (bcc) |
|
348 | setting_bcc_recipients: Blind carbon copy recipients (bcc) | |
347 | setting_plain_text_mail: Plain text mail (no HTML) |
|
349 | setting_plain_text_mail: Plain text mail (no HTML) | |
348 | setting_host_name: Host name and path |
|
350 | setting_host_name: Host name and path | |
349 | setting_text_formatting: Text formatting |
|
351 | setting_text_formatting: Text formatting | |
350 | setting_wiki_compression: Wiki history compression |
|
352 | setting_wiki_compression: Wiki history compression | |
351 | setting_feeds_limit: Maximum number of items in Atom feeds |
|
353 | setting_feeds_limit: Maximum number of items in Atom feeds | |
352 | setting_default_projects_public: New projects are public by default |
|
354 | setting_default_projects_public: New projects are public by default | |
353 | setting_autofetch_changesets: Fetch commits automatically |
|
355 | setting_autofetch_changesets: Fetch commits automatically | |
354 | setting_sys_api_enabled: Enable WS for repository management |
|
356 | setting_sys_api_enabled: Enable WS for repository management | |
355 | setting_commit_ref_keywords: Referencing keywords |
|
357 | setting_commit_ref_keywords: Referencing keywords | |
356 | setting_commit_fix_keywords: Fixing keywords |
|
358 | setting_commit_fix_keywords: Fixing keywords | |
357 | setting_autologin: Autologin |
|
359 | setting_autologin: Autologin | |
358 | setting_date_format: Date format |
|
360 | setting_date_format: Date format | |
359 | setting_time_format: Time format |
|
361 | setting_time_format: Time format | |
360 | setting_cross_project_issue_relations: Allow cross-project issue relations |
|
362 | setting_cross_project_issue_relations: Allow cross-project issue relations | |
361 | setting_cross_project_subtasks: Allow cross-project subtasks |
|
363 | setting_cross_project_subtasks: Allow cross-project subtasks | |
362 | setting_issue_list_default_columns: Default columns displayed on the issue list |
|
364 | setting_issue_list_default_columns: Default columns displayed on the issue list | |
363 | setting_repositories_encodings: Attachments and repositories encodings |
|
365 | setting_repositories_encodings: Attachments and repositories encodings | |
364 | setting_emails_header: Email header |
|
366 | setting_emails_header: Email header | |
365 | setting_emails_footer: Email footer |
|
367 | setting_emails_footer: Email footer | |
366 | setting_protocol: Protocol |
|
368 | setting_protocol: Protocol | |
367 | setting_per_page_options: Objects per page options |
|
369 | setting_per_page_options: Objects per page options | |
368 | setting_user_format: Users display format |
|
370 | setting_user_format: Users display format | |
369 | setting_activity_days_default: Days displayed on project activity |
|
371 | setting_activity_days_default: Days displayed on project activity | |
370 | setting_display_subprojects_issues: Display subprojects issues on main projects by default |
|
372 | setting_display_subprojects_issues: Display subprojects issues on main projects by default | |
371 | setting_enabled_scm: Enabled SCM |
|
373 | setting_enabled_scm: Enabled SCM | |
372 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" |
|
374 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" | |
373 | setting_mail_handler_api_enabled: Enable WS for incoming emails |
|
375 | setting_mail_handler_api_enabled: Enable WS for incoming emails | |
374 | setting_mail_handler_api_key: API key |
|
376 | setting_mail_handler_api_key: API key | |
375 | setting_sequential_project_identifiers: Generate sequential project identifiers |
|
377 | setting_sequential_project_identifiers: Generate sequential project identifiers | |
376 | setting_gravatar_enabled: Use Gravatar user icons |
|
378 | setting_gravatar_enabled: Use Gravatar user icons | |
377 | setting_gravatar_default: Default Gravatar image |
|
379 | setting_gravatar_default: Default Gravatar image | |
378 | setting_diff_max_lines_displayed: Maximum number of diff lines displayed |
|
380 | setting_diff_max_lines_displayed: Maximum number of diff lines displayed | |
379 | setting_file_max_size_displayed: Maximum size of text files displayed inline |
|
381 | setting_file_max_size_displayed: Maximum size of text files displayed inline | |
380 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log |
|
382 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log | |
381 | setting_openid: Allow OpenID login and registration |
|
383 | setting_openid: Allow OpenID login and registration | |
382 | setting_password_min_length: Minimum password length |
|
384 | setting_password_min_length: Minimum password length | |
383 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project |
|
385 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project | |
384 | setting_default_projects_modules: Default enabled modules for new projects |
|
386 | setting_default_projects_modules: Default enabled modules for new projects | |
385 | setting_issue_done_ratio: Calculate the issue done ratio with |
|
387 | setting_issue_done_ratio: Calculate the issue done ratio with | |
386 | setting_issue_done_ratio_issue_field: Use the issue field |
|
388 | setting_issue_done_ratio_issue_field: Use the issue field | |
387 | setting_issue_done_ratio_issue_status: Use the issue status |
|
389 | setting_issue_done_ratio_issue_status: Use the issue status | |
388 | setting_start_of_week: Start calendars on |
|
390 | setting_start_of_week: Start calendars on | |
389 | setting_rest_api_enabled: Enable REST web service |
|
391 | setting_rest_api_enabled: Enable REST web service | |
390 | setting_cache_formatted_text: Cache formatted text |
|
392 | setting_cache_formatted_text: Cache formatted text | |
391 | setting_default_notification_option: Default notification option |
|
393 | setting_default_notification_option: Default notification option | |
392 | setting_commit_logtime_enabled: Enable time logging |
|
394 | setting_commit_logtime_enabled: Enable time logging | |
393 | setting_commit_logtime_activity_id: Activity for logged time |
|
395 | setting_commit_logtime_activity_id: Activity for logged time | |
394 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart |
|
396 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart | |
395 | setting_issue_group_assignment: Allow issue assignment to groups |
|
397 | setting_issue_group_assignment: Allow issue assignment to groups | |
396 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues |
|
398 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues | |
397 | setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed |
|
399 | setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed | |
398 | setting_unsubscribe: Allow users to delete their own account |
|
400 | setting_unsubscribe: Allow users to delete their own account | |
399 | setting_session_lifetime: Session maximum lifetime |
|
401 | setting_session_lifetime: Session maximum lifetime | |
400 | setting_session_timeout: Session inactivity timeout |
|
402 | setting_session_timeout: Session inactivity timeout | |
401 | setting_thumbnails_enabled: Display attachment thumbnails |
|
403 | setting_thumbnails_enabled: Display attachment thumbnails | |
402 | setting_thumbnails_size: Thumbnails size (in pixels) |
|
404 | setting_thumbnails_size: Thumbnails size (in pixels) | |
403 | setting_non_working_week_days: Non-working days |
|
405 | setting_non_working_week_days: Non-working days | |
404 | setting_jsonp_enabled: Enable JSONP support |
|
406 | setting_jsonp_enabled: Enable JSONP support | |
405 | setting_default_projects_tracker_ids: Default trackers for new projects |
|
407 | setting_default_projects_tracker_ids: Default trackers for new projects | |
406 |
|
408 | |||
407 | permission_add_project: Create project |
|
409 | permission_add_project: Create project | |
408 | permission_add_subprojects: Create subprojects |
|
410 | permission_add_subprojects: Create subprojects | |
409 | permission_edit_project: Edit project |
|
411 | permission_edit_project: Edit project | |
410 | permission_close_project: Close / reopen the project |
|
412 | permission_close_project: Close / reopen the project | |
411 | permission_select_project_modules: Select project modules |
|
413 | permission_select_project_modules: Select project modules | |
412 | permission_manage_members: Manage members |
|
414 | permission_manage_members: Manage members | |
413 | permission_manage_project_activities: Manage project activities |
|
415 | permission_manage_project_activities: Manage project activities | |
414 | permission_manage_versions: Manage versions |
|
416 | permission_manage_versions: Manage versions | |
415 | permission_manage_categories: Manage issue categories |
|
417 | permission_manage_categories: Manage issue categories | |
416 | permission_view_issues: View Issues |
|
418 | permission_view_issues: View Issues | |
417 | permission_add_issues: Add issues |
|
419 | permission_add_issues: Add issues | |
418 | permission_edit_issues: Edit issues |
|
420 | permission_edit_issues: Edit issues | |
419 | permission_manage_issue_relations: Manage issue relations |
|
421 | permission_manage_issue_relations: Manage issue relations | |
420 | permission_set_issues_private: Set issues public or private |
|
422 | permission_set_issues_private: Set issues public or private | |
421 | permission_set_own_issues_private: Set own issues public or private |
|
423 | permission_set_own_issues_private: Set own issues public or private | |
422 | permission_add_issue_notes: Add notes |
|
424 | permission_add_issue_notes: Add notes | |
423 | permission_edit_issue_notes: Edit notes |
|
425 | permission_edit_issue_notes: Edit notes | |
424 | permission_edit_own_issue_notes: Edit own notes |
|
426 | permission_edit_own_issue_notes: Edit own notes | |
425 | permission_view_private_notes: View private notes |
|
427 | permission_view_private_notes: View private notes | |
426 | permission_set_notes_private: Set notes as private |
|
428 | permission_set_notes_private: Set notes as private | |
427 | permission_move_issues: Move issues |
|
429 | permission_move_issues: Move issues | |
428 | permission_delete_issues: Delete issues |
|
430 | permission_delete_issues: Delete issues | |
429 | permission_manage_public_queries: Manage public queries |
|
431 | permission_manage_public_queries: Manage public queries | |
430 | permission_save_queries: Save queries |
|
432 | permission_save_queries: Save queries | |
431 | permission_view_gantt: View gantt chart |
|
433 | permission_view_gantt: View gantt chart | |
432 | permission_view_calendar: View calendar |
|
434 | permission_view_calendar: View calendar | |
433 | permission_view_issue_watchers: View watchers list |
|
435 | permission_view_issue_watchers: View watchers list | |
434 | permission_add_issue_watchers: Add watchers |
|
436 | permission_add_issue_watchers: Add watchers | |
435 | permission_delete_issue_watchers: Delete watchers |
|
437 | permission_delete_issue_watchers: Delete watchers | |
436 | permission_log_time: Log spent time |
|
438 | permission_log_time: Log spent time | |
437 | permission_view_time_entries: View spent time |
|
439 | permission_view_time_entries: View spent time | |
438 | permission_edit_time_entries: Edit time logs |
|
440 | permission_edit_time_entries: Edit time logs | |
439 | permission_edit_own_time_entries: Edit own time logs |
|
441 | permission_edit_own_time_entries: Edit own time logs | |
440 | permission_manage_news: Manage news |
|
442 | permission_manage_news: Manage news | |
441 | permission_comment_news: Comment news |
|
443 | permission_comment_news: Comment news | |
442 | permission_view_documents: View documents |
|
444 | permission_view_documents: View documents | |
443 | permission_add_documents: Add documents |
|
445 | permission_add_documents: Add documents | |
444 | permission_edit_documents: Edit documents |
|
446 | permission_edit_documents: Edit documents | |
445 | permission_delete_documents: Delete documents |
|
447 | permission_delete_documents: Delete documents | |
446 | permission_manage_files: Manage files |
|
448 | permission_manage_files: Manage files | |
447 | permission_view_files: View files |
|
449 | permission_view_files: View files | |
448 | permission_manage_wiki: Manage wiki |
|
450 | permission_manage_wiki: Manage wiki | |
449 | permission_rename_wiki_pages: Rename wiki pages |
|
451 | permission_rename_wiki_pages: Rename wiki pages | |
450 | permission_delete_wiki_pages: Delete wiki pages |
|
452 | permission_delete_wiki_pages: Delete wiki pages | |
451 | permission_view_wiki_pages: View wiki |
|
453 | permission_view_wiki_pages: View wiki | |
452 | permission_view_wiki_edits: View wiki history |
|
454 | permission_view_wiki_edits: View wiki history | |
453 | permission_edit_wiki_pages: Edit wiki pages |
|
455 | permission_edit_wiki_pages: Edit wiki pages | |
454 | permission_delete_wiki_pages_attachments: Delete attachments |
|
456 | permission_delete_wiki_pages_attachments: Delete attachments | |
455 | permission_protect_wiki_pages: Protect wiki pages |
|
457 | permission_protect_wiki_pages: Protect wiki pages | |
456 | permission_manage_repository: Manage repository |
|
458 | permission_manage_repository: Manage repository | |
457 | permission_browse_repository: Browse repository |
|
459 | permission_browse_repository: Browse repository | |
458 | permission_view_changesets: View changesets |
|
460 | permission_view_changesets: View changesets | |
459 | permission_commit_access: Commit access |
|
461 | permission_commit_access: Commit access | |
460 | permission_manage_boards: Manage forums |
|
462 | permission_manage_boards: Manage forums | |
461 | permission_view_messages: View messages |
|
463 | permission_view_messages: View messages | |
462 | permission_add_messages: Post messages |
|
464 | permission_add_messages: Post messages | |
463 | permission_edit_messages: Edit messages |
|
465 | permission_edit_messages: Edit messages | |
464 | permission_edit_own_messages: Edit own messages |
|
466 | permission_edit_own_messages: Edit own messages | |
465 | permission_delete_messages: Delete messages |
|
467 | permission_delete_messages: Delete messages | |
466 | permission_delete_own_messages: Delete own messages |
|
468 | permission_delete_own_messages: Delete own messages | |
467 | permission_export_wiki_pages: Export wiki pages |
|
469 | permission_export_wiki_pages: Export wiki pages | |
468 | permission_manage_subtasks: Manage subtasks |
|
470 | permission_manage_subtasks: Manage subtasks | |
469 | permission_manage_related_issues: Manage related issues |
|
471 | permission_manage_related_issues: Manage related issues | |
470 |
|
472 | |||
471 | project_module_issue_tracking: Issue tracking |
|
473 | project_module_issue_tracking: Issue tracking | |
472 | project_module_time_tracking: Time tracking |
|
474 | project_module_time_tracking: Time tracking | |
473 | project_module_news: News |
|
475 | project_module_news: News | |
474 | project_module_documents: Documents |
|
476 | project_module_documents: Documents | |
475 | project_module_files: Files |
|
477 | project_module_files: Files | |
476 | project_module_wiki: Wiki |
|
478 | project_module_wiki: Wiki | |
477 | project_module_repository: Repository |
|
479 | project_module_repository: Repository | |
478 | project_module_boards: Forums |
|
480 | project_module_boards: Forums | |
479 | project_module_calendar: Calendar |
|
481 | project_module_calendar: Calendar | |
480 | project_module_gantt: Gantt |
|
482 | project_module_gantt: Gantt | |
481 |
|
483 | |||
482 | label_user: User |
|
484 | label_user: User | |
483 | label_user_plural: Users |
|
485 | label_user_plural: Users | |
484 | label_user_new: New user |
|
486 | label_user_new: New user | |
485 | label_user_anonymous: Anonymous |
|
487 | label_user_anonymous: Anonymous | |
486 | label_project: Project |
|
488 | label_project: Project | |
487 | label_project_new: New project |
|
489 | label_project_new: New project | |
488 | label_project_plural: Projects |
|
490 | label_project_plural: Projects | |
489 | label_x_projects: |
|
491 | label_x_projects: | |
490 | zero: no projects |
|
492 | zero: no projects | |
491 | one: 1 project |
|
493 | one: 1 project | |
492 | other: "%{count} projects" |
|
494 | other: "%{count} projects" | |
493 | label_project_all: All Projects |
|
495 | label_project_all: All Projects | |
494 | label_project_latest: Latest projects |
|
496 | label_project_latest: Latest projects | |
495 | label_issue: Issue |
|
497 | label_issue: Issue | |
496 | label_issue_new: New issue |
|
498 | label_issue_new: New issue | |
497 | label_issue_plural: Issues |
|
499 | label_issue_plural: Issues | |
498 | label_issue_view_all: View all issues |
|
500 | label_issue_view_all: View all issues | |
499 | label_issues_by: "Issues by %{value}" |
|
501 | label_issues_by: "Issues by %{value}" | |
500 | label_issue_added: Issue added |
|
502 | label_issue_added: Issue added | |
501 | label_issue_updated: Issue updated |
|
503 | label_issue_updated: Issue updated | |
502 | label_issue_note_added: Note added |
|
504 | label_issue_note_added: Note added | |
503 | label_issue_status_updated: Status updated |
|
505 | label_issue_status_updated: Status updated | |
504 | label_issue_priority_updated: Priority updated |
|
506 | label_issue_priority_updated: Priority updated | |
505 | label_document: Document |
|
507 | label_document: Document | |
506 | label_document_new: New document |
|
508 | label_document_new: New document | |
507 | label_document_plural: Documents |
|
509 | label_document_plural: Documents | |
508 | label_document_added: Document added |
|
510 | label_document_added: Document added | |
509 | label_role: Role |
|
511 | label_role: Role | |
510 | label_role_plural: Roles |
|
512 | label_role_plural: Roles | |
511 | label_role_new: New role |
|
513 | label_role_new: New role | |
512 | label_role_and_permissions: Roles and permissions |
|
514 | label_role_and_permissions: Roles and permissions | |
513 | label_role_anonymous: Anonymous |
|
515 | label_role_anonymous: Anonymous | |
514 | label_role_non_member: Non member |
|
516 | label_role_non_member: Non member | |
515 | label_member: Member |
|
517 | label_member: Member | |
516 | label_member_new: New member |
|
518 | label_member_new: New member | |
517 | label_member_plural: Members |
|
519 | label_member_plural: Members | |
518 | label_tracker: Tracker |
|
520 | label_tracker: Tracker | |
519 | label_tracker_plural: Trackers |
|
521 | label_tracker_plural: Trackers | |
520 | label_tracker_new: New tracker |
|
522 | label_tracker_new: New tracker | |
521 | label_workflow: Workflow |
|
523 | label_workflow: Workflow | |
522 | label_issue_status: Issue status |
|
524 | label_issue_status: Issue status | |
523 | label_issue_status_plural: Issue statuses |
|
525 | label_issue_status_plural: Issue statuses | |
524 | label_issue_status_new: New status |
|
526 | label_issue_status_new: New status | |
525 | label_issue_category: Issue category |
|
527 | label_issue_category: Issue category | |
526 | label_issue_category_plural: Issue categories |
|
528 | label_issue_category_plural: Issue categories | |
527 | label_issue_category_new: New category |
|
529 | label_issue_category_new: New category | |
528 | label_custom_field: Custom field |
|
530 | label_custom_field: Custom field | |
529 | label_custom_field_plural: Custom fields |
|
531 | label_custom_field_plural: Custom fields | |
530 | label_custom_field_new: New custom field |
|
532 | label_custom_field_new: New custom field | |
531 | label_enumerations: Enumerations |
|
533 | label_enumerations: Enumerations | |
532 | label_enumeration_new: New value |
|
534 | label_enumeration_new: New value | |
533 | label_information: Information |
|
535 | label_information: Information | |
534 | label_information_plural: Information |
|
536 | label_information_plural: Information | |
535 | label_please_login: Please log in |
|
537 | label_please_login: Please log in | |
536 | label_register: Register |
|
538 | label_register: Register | |
537 | label_login_with_open_id_option: or login with OpenID |
|
539 | label_login_with_open_id_option: or login with OpenID | |
538 | label_password_lost: Lost password |
|
540 | label_password_lost: Lost password | |
539 | label_home: Home |
|
541 | label_home: Home | |
540 | label_my_page: My page |
|
542 | label_my_page: My page | |
541 | label_my_account: My account |
|
543 | label_my_account: My account | |
542 | label_my_projects: My projects |
|
544 | label_my_projects: My projects | |
543 | label_my_page_block: My page block |
|
545 | label_my_page_block: My page block | |
544 | label_administration: Administration |
|
546 | label_administration: Administration | |
545 | label_login: Sign in |
|
547 | label_login: Sign in | |
546 | label_logout: Sign out |
|
548 | label_logout: Sign out | |
547 | label_help: Help |
|
549 | label_help: Help | |
548 | label_reported_issues: Reported issues |
|
550 | label_reported_issues: Reported issues | |
549 | label_assigned_to_me_issues: Issues assigned to me |
|
551 | label_assigned_to_me_issues: Issues assigned to me | |
550 | label_last_login: Last connection |
|
552 | label_last_login: Last connection | |
551 | label_registered_on: Registered on |
|
553 | label_registered_on: Registered on | |
552 | label_activity: Activity |
|
554 | label_activity: Activity | |
553 | label_overall_activity: Overall activity |
|
555 | label_overall_activity: Overall activity | |
554 | label_user_activity: "%{value}'s activity" |
|
556 | label_user_activity: "%{value}'s activity" | |
555 | label_new: New |
|
557 | label_new: New | |
556 | label_logged_as: Logged in as |
|
558 | label_logged_as: Logged in as | |
557 | label_environment: Environment |
|
559 | label_environment: Environment | |
558 | label_authentication: Authentication |
|
560 | label_authentication: Authentication | |
559 | label_auth_source: Authentication mode |
|
561 | label_auth_source: Authentication mode | |
560 | label_auth_source_new: New authentication mode |
|
562 | label_auth_source_new: New authentication mode | |
561 | label_auth_source_plural: Authentication modes |
|
563 | label_auth_source_plural: Authentication modes | |
562 | label_subproject_plural: Subprojects |
|
564 | label_subproject_plural: Subprojects | |
563 | label_subproject_new: New subproject |
|
565 | label_subproject_new: New subproject | |
564 | label_and_its_subprojects: "%{value} and its subprojects" |
|
566 | label_and_its_subprojects: "%{value} and its subprojects" | |
565 | label_min_max_length: Min - Max length |
|
567 | label_min_max_length: Min - Max length | |
566 | label_list: List |
|
568 | label_list: List | |
567 | label_date: Date |
|
569 | label_date: Date | |
568 | label_integer: Integer |
|
570 | label_integer: Integer | |
569 | label_float: Float |
|
571 | label_float: Float | |
570 | label_boolean: Boolean |
|
572 | label_boolean: Boolean | |
571 | label_string: Text |
|
573 | label_string: Text | |
572 | label_text: Long text |
|
574 | label_text: Long text | |
573 | label_attribute: Attribute |
|
575 | label_attribute: Attribute | |
574 | label_attribute_plural: Attributes |
|
576 | label_attribute_plural: Attributes | |
575 | label_no_data: No data to display |
|
577 | label_no_data: No data to display | |
576 | label_change_status: Change status |
|
578 | label_change_status: Change status | |
577 | label_history: History |
|
579 | label_history: History | |
578 | label_attachment: File |
|
580 | label_attachment: File | |
579 | label_attachment_new: New file |
|
581 | label_attachment_new: New file | |
580 | label_attachment_delete: Delete file |
|
582 | label_attachment_delete: Delete file | |
581 | label_attachment_plural: Files |
|
583 | label_attachment_plural: Files | |
582 | label_file_added: File added |
|
584 | label_file_added: File added | |
583 | label_report: Report |
|
585 | label_report: Report | |
584 | label_report_plural: Reports |
|
586 | label_report_plural: Reports | |
585 | label_news: News |
|
587 | label_news: News | |
586 | label_news_new: Add news |
|
588 | label_news_new: Add news | |
587 | label_news_plural: News |
|
589 | label_news_plural: News | |
588 | label_news_latest: Latest news |
|
590 | label_news_latest: Latest news | |
589 | label_news_view_all: View all news |
|
591 | label_news_view_all: View all news | |
590 | label_news_added: News added |
|
592 | label_news_added: News added | |
591 | label_news_comment_added: Comment added to a news |
|
593 | label_news_comment_added: Comment added to a news | |
592 | label_settings: Settings |
|
594 | label_settings: Settings | |
593 | label_overview: Overview |
|
595 | label_overview: Overview | |
594 | label_version: Version |
|
596 | label_version: Version | |
595 | label_version_new: New version |
|
597 | label_version_new: New version | |
596 | label_version_plural: Versions |
|
598 | label_version_plural: Versions | |
597 | label_close_versions: Close completed versions |
|
599 | label_close_versions: Close completed versions | |
598 | label_confirmation: Confirmation |
|
600 | label_confirmation: Confirmation | |
599 | label_export_to: 'Also available in:' |
|
601 | label_export_to: 'Also available in:' | |
600 | label_read: Read... |
|
602 | label_read: Read... | |
601 | label_public_projects: Public projects |
|
603 | label_public_projects: Public projects | |
602 | label_open_issues: open |
|
604 | label_open_issues: open | |
603 | label_open_issues_plural: open |
|
605 | label_open_issues_plural: open | |
604 | label_closed_issues: closed |
|
606 | label_closed_issues: closed | |
605 | label_closed_issues_plural: closed |
|
607 | label_closed_issues_plural: closed | |
606 | label_x_open_issues_abbr_on_total: |
|
608 | label_x_open_issues_abbr_on_total: | |
607 | zero: 0 open / %{total} |
|
609 | zero: 0 open / %{total} | |
608 | one: 1 open / %{total} |
|
610 | one: 1 open / %{total} | |
609 | other: "%{count} open / %{total}" |
|
611 | other: "%{count} open / %{total}" | |
610 | label_x_open_issues_abbr: |
|
612 | label_x_open_issues_abbr: | |
611 | zero: 0 open |
|
613 | zero: 0 open | |
612 | one: 1 open |
|
614 | one: 1 open | |
613 | other: "%{count} open" |
|
615 | other: "%{count} open" | |
614 | label_x_closed_issues_abbr: |
|
616 | label_x_closed_issues_abbr: | |
615 | zero: 0 closed |
|
617 | zero: 0 closed | |
616 | one: 1 closed |
|
618 | one: 1 closed | |
617 | other: "%{count} closed" |
|
619 | other: "%{count} closed" | |
618 | label_x_issues: |
|
620 | label_x_issues: | |
619 | zero: 0 issues |
|
621 | zero: 0 issues | |
620 | one: 1 issue |
|
622 | one: 1 issue | |
621 | other: "%{count} issues" |
|
623 | other: "%{count} issues" | |
622 | label_total: Total |
|
624 | label_total: Total | |
623 | label_total_time: Total time |
|
625 | label_total_time: Total time | |
624 | label_permissions: Permissions |
|
626 | label_permissions: Permissions | |
625 | label_current_status: Current status |
|
627 | label_current_status: Current status | |
626 | label_new_statuses_allowed: New statuses allowed |
|
628 | label_new_statuses_allowed: New statuses allowed | |
627 | label_all: all |
|
629 | label_all: all | |
628 | label_any: any |
|
630 | label_any: any | |
629 | label_none: none |
|
631 | label_none: none | |
630 | label_nobody: nobody |
|
632 | label_nobody: nobody | |
631 | label_next: Next |
|
633 | label_next: Next | |
632 | label_previous: Previous |
|
634 | label_previous: Previous | |
633 | label_used_by: Used by |
|
635 | label_used_by: Used by | |
634 | label_details: Details |
|
636 | label_details: Details | |
635 | label_add_note: Add a note |
|
637 | label_add_note: Add a note | |
636 | label_per_page: Per page |
|
638 | label_per_page: Per page | |
637 | label_calendar: Calendar |
|
639 | label_calendar: Calendar | |
638 | label_months_from: months from |
|
640 | label_months_from: months from | |
639 | label_gantt: Gantt |
|
641 | label_gantt: Gantt | |
640 | label_internal: Internal |
|
642 | label_internal: Internal | |
641 | label_last_changes: "last %{count} changes" |
|
643 | label_last_changes: "last %{count} changes" | |
642 | label_change_view_all: View all changes |
|
644 | label_change_view_all: View all changes | |
643 | label_personalize_page: Personalize this page |
|
645 | label_personalize_page: Personalize this page | |
644 | label_comment: Comment |
|
646 | label_comment: Comment | |
645 | label_comment_plural: Comments |
|
647 | label_comment_plural: Comments | |
646 | label_x_comments: |
|
648 | label_x_comments: | |
647 | zero: no comments |
|
649 | zero: no comments | |
648 | one: 1 comment |
|
650 | one: 1 comment | |
649 | other: "%{count} comments" |
|
651 | other: "%{count} comments" | |
650 | label_comment_add: Add a comment |
|
652 | label_comment_add: Add a comment | |
651 | label_comment_added: Comment added |
|
653 | label_comment_added: Comment added | |
652 | label_comment_delete: Delete comments |
|
654 | label_comment_delete: Delete comments | |
653 | label_query: Custom query |
|
655 | label_query: Custom query | |
654 | label_query_plural: Custom queries |
|
656 | label_query_plural: Custom queries | |
655 | label_query_new: New query |
|
657 | label_query_new: New query | |
656 | label_my_queries: My custom queries |
|
658 | label_my_queries: My custom queries | |
657 | label_filter_add: Add filter |
|
659 | label_filter_add: Add filter | |
658 | label_filter_plural: Filters |
|
660 | label_filter_plural: Filters | |
659 | label_equals: is |
|
661 | label_equals: is | |
660 | label_not_equals: is not |
|
662 | label_not_equals: is not | |
661 | label_in_less_than: in less than |
|
663 | label_in_less_than: in less than | |
662 | label_in_more_than: in more than |
|
664 | label_in_more_than: in more than | |
663 | label_in_the_next_days: in the next |
|
665 | label_in_the_next_days: in the next | |
664 | label_in_the_past_days: in the past |
|
666 | label_in_the_past_days: in the past | |
665 | label_greater_or_equal: '>=' |
|
667 | label_greater_or_equal: '>=' | |
666 | label_less_or_equal: '<=' |
|
668 | label_less_or_equal: '<=' | |
667 | label_between: between |
|
669 | label_between: between | |
668 | label_in: in |
|
670 | label_in: in | |
669 | label_today: today |
|
671 | label_today: today | |
670 | label_all_time: all time |
|
672 | label_all_time: all time | |
671 | label_yesterday: yesterday |
|
673 | label_yesterday: yesterday | |
672 | label_this_week: this week |
|
674 | label_this_week: this week | |
673 | label_last_week: last week |
|
675 | label_last_week: last week | |
674 | label_last_n_weeks: "last %{count} weeks" |
|
676 | label_last_n_weeks: "last %{count} weeks" | |
675 | label_last_n_days: "last %{count} days" |
|
677 | label_last_n_days: "last %{count} days" | |
676 | label_this_month: this month |
|
678 | label_this_month: this month | |
677 | label_last_month: last month |
|
679 | label_last_month: last month | |
678 | label_this_year: this year |
|
680 | label_this_year: this year | |
679 | label_date_range: Date range |
|
681 | label_date_range: Date range | |
680 | label_less_than_ago: less than days ago |
|
682 | label_less_than_ago: less than days ago | |
681 | label_more_than_ago: more than days ago |
|
683 | label_more_than_ago: more than days ago | |
682 | label_ago: days ago |
|
684 | label_ago: days ago | |
683 | label_contains: contains |
|
685 | label_contains: contains | |
684 | label_not_contains: doesn't contain |
|
686 | label_not_contains: doesn't contain | |
685 | label_any_issues_in_project: any issues in project |
|
687 | label_any_issues_in_project: any issues in project | |
686 | label_any_issues_not_in_project: any issues not in project |
|
688 | label_any_issues_not_in_project: any issues not in project | |
687 | label_no_issues_in_project: no issues in project |
|
689 | label_no_issues_in_project: no issues in project | |
688 | label_day_plural: days |
|
690 | label_day_plural: days | |
689 | label_repository: Repository |
|
691 | label_repository: Repository | |
690 | label_repository_new: New repository |
|
692 | label_repository_new: New repository | |
691 | label_repository_plural: Repositories |
|
693 | label_repository_plural: Repositories | |
692 | label_browse: Browse |
|
694 | label_browse: Browse | |
693 | label_branch: Branch |
|
695 | label_branch: Branch | |
694 | label_tag: Tag |
|
696 | label_tag: Tag | |
695 | label_revision: Revision |
|
697 | label_revision: Revision | |
696 | label_revision_plural: Revisions |
|
698 | label_revision_plural: Revisions | |
697 | label_revision_id: "Revision %{value}" |
|
699 | label_revision_id: "Revision %{value}" | |
698 | label_associated_revisions: Associated revisions |
|
700 | label_associated_revisions: Associated revisions | |
699 | label_added: added |
|
701 | label_added: added | |
700 | label_modified: modified |
|
702 | label_modified: modified | |
701 | label_copied: copied |
|
703 | label_copied: copied | |
702 | label_renamed: renamed |
|
704 | label_renamed: renamed | |
703 | label_deleted: deleted |
|
705 | label_deleted: deleted | |
704 | label_latest_revision: Latest revision |
|
706 | label_latest_revision: Latest revision | |
705 | label_latest_revision_plural: Latest revisions |
|
707 | label_latest_revision_plural: Latest revisions | |
706 | label_view_revisions: View revisions |
|
708 | label_view_revisions: View revisions | |
707 | label_view_all_revisions: View all revisions |
|
709 | label_view_all_revisions: View all revisions | |
708 | label_max_size: Maximum size |
|
710 | label_max_size: Maximum size | |
709 | label_sort_highest: Move to top |
|
711 | label_sort_highest: Move to top | |
710 | label_sort_higher: Move up |
|
712 | label_sort_higher: Move up | |
711 | label_sort_lower: Move down |
|
713 | label_sort_lower: Move down | |
712 | label_sort_lowest: Move to bottom |
|
714 | label_sort_lowest: Move to bottom | |
713 | label_roadmap: Roadmap |
|
715 | label_roadmap: Roadmap | |
714 | label_roadmap_due_in: "Due in %{value}" |
|
716 | label_roadmap_due_in: "Due in %{value}" | |
715 | label_roadmap_overdue: "%{value} late" |
|
717 | label_roadmap_overdue: "%{value} late" | |
716 | label_roadmap_no_issues: No issues for this version |
|
718 | label_roadmap_no_issues: No issues for this version | |
717 | label_search: Search |
|
719 | label_search: Search | |
718 | label_result_plural: Results |
|
720 | label_result_plural: Results | |
719 | label_all_words: All words |
|
721 | label_all_words: All words | |
720 | label_wiki: Wiki |
|
722 | label_wiki: Wiki | |
721 | label_wiki_edit: Wiki edit |
|
723 | label_wiki_edit: Wiki edit | |
722 | label_wiki_edit_plural: Wiki edits |
|
724 | label_wiki_edit_plural: Wiki edits | |
723 | label_wiki_page: Wiki page |
|
725 | label_wiki_page: Wiki page | |
724 | label_wiki_page_plural: Wiki pages |
|
726 | label_wiki_page_plural: Wiki pages | |
725 | label_index_by_title: Index by title |
|
727 | label_index_by_title: Index by title | |
726 | label_index_by_date: Index by date |
|
728 | label_index_by_date: Index by date | |
727 | label_current_version: Current version |
|
729 | label_current_version: Current version | |
728 | label_preview: Preview |
|
730 | label_preview: Preview | |
729 | label_feed_plural: Feeds |
|
731 | label_feed_plural: Feeds | |
730 | label_changes_details: Details of all changes |
|
732 | label_changes_details: Details of all changes | |
731 | label_issue_tracking: Issue tracking |
|
733 | label_issue_tracking: Issue tracking | |
732 | label_spent_time: Spent time |
|
734 | label_spent_time: Spent time | |
733 | label_overall_spent_time: Overall spent time |
|
735 | label_overall_spent_time: Overall spent time | |
734 | label_f_hour: "%{value} hour" |
|
736 | label_f_hour: "%{value} hour" | |
735 | label_f_hour_plural: "%{value} hours" |
|
737 | label_f_hour_plural: "%{value} hours" | |
736 | label_time_tracking: Time tracking |
|
738 | label_time_tracking: Time tracking | |
737 | label_change_plural: Changes |
|
739 | label_change_plural: Changes | |
738 | label_statistics: Statistics |
|
740 | label_statistics: Statistics | |
739 | label_commits_per_month: Commits per month |
|
741 | label_commits_per_month: Commits per month | |
740 | label_commits_per_author: Commits per author |
|
742 | label_commits_per_author: Commits per author | |
741 | label_diff: diff |
|
743 | label_diff: diff | |
742 | label_view_diff: View differences |
|
744 | label_view_diff: View differences | |
743 | label_diff_inline: inline |
|
745 | label_diff_inline: inline | |
744 | label_diff_side_by_side: side by side |
|
746 | label_diff_side_by_side: side by side | |
745 | label_options: Options |
|
747 | label_options: Options | |
746 | label_copy_workflow_from: Copy workflow from |
|
748 | label_copy_workflow_from: Copy workflow from | |
747 | label_permissions_report: Permissions report |
|
749 | label_permissions_report: Permissions report | |
748 | label_watched_issues: Watched issues |
|
750 | label_watched_issues: Watched issues | |
749 | label_related_issues: Related issues |
|
751 | label_related_issues: Related issues | |
750 | label_applied_status: Applied status |
|
752 | label_applied_status: Applied status | |
751 | label_loading: Loading... |
|
753 | label_loading: Loading... | |
752 | label_relation_new: New relation |
|
754 | label_relation_new: New relation | |
753 | label_relation_delete: Delete relation |
|
755 | label_relation_delete: Delete relation | |
754 | label_relates_to: Related to |
|
756 | label_relates_to: Related to | |
755 | label_duplicates: Duplicates |
|
757 | label_duplicates: Duplicates | |
756 | label_duplicated_by: Duplicated by |
|
758 | label_duplicated_by: Duplicated by | |
757 | label_blocks: Blocks |
|
759 | label_blocks: Blocks | |
758 | label_blocked_by: Blocked by |
|
760 | label_blocked_by: Blocked by | |
759 | label_precedes: Precedes |
|
761 | label_precedes: Precedes | |
760 | label_follows: Follows |
|
762 | label_follows: Follows | |
761 | label_copied_to: Copied to |
|
763 | label_copied_to: Copied to | |
762 | label_copied_from: Copied from |
|
764 | label_copied_from: Copied from | |
763 | label_end_to_start: end to start |
|
765 | label_end_to_start: end to start | |
764 | label_end_to_end: end to end |
|
766 | label_end_to_end: end to end | |
765 | label_start_to_start: start to start |
|
767 | label_start_to_start: start to start | |
766 | label_start_to_end: start to end |
|
768 | label_start_to_end: start to end | |
767 | label_stay_logged_in: Stay logged in |
|
769 | label_stay_logged_in: Stay logged in | |
768 | label_disabled: disabled |
|
770 | label_disabled: disabled | |
769 | label_show_completed_versions: Show completed versions |
|
771 | label_show_completed_versions: Show completed versions | |
770 | label_me: me |
|
772 | label_me: me | |
771 | label_board: Forum |
|
773 | label_board: Forum | |
772 | label_board_new: New forum |
|
774 | label_board_new: New forum | |
773 | label_board_plural: Forums |
|
775 | label_board_plural: Forums | |
774 | label_board_locked: Locked |
|
776 | label_board_locked: Locked | |
775 | label_board_sticky: Sticky |
|
777 | label_board_sticky: Sticky | |
776 | label_topic_plural: Topics |
|
778 | label_topic_plural: Topics | |
777 | label_message_plural: Messages |
|
779 | label_message_plural: Messages | |
778 | label_message_last: Last message |
|
780 | label_message_last: Last message | |
779 | label_message_new: New message |
|
781 | label_message_new: New message | |
780 | label_message_posted: Message added |
|
782 | label_message_posted: Message added | |
781 | label_reply_plural: Replies |
|
783 | label_reply_plural: Replies | |
782 | label_send_information: Send account information to the user |
|
784 | label_send_information: Send account information to the user | |
783 | label_year: Year |
|
785 | label_year: Year | |
784 | label_month: Month |
|
786 | label_month: Month | |
785 | label_week: Week |
|
787 | label_week: Week | |
786 | label_date_from: From |
|
788 | label_date_from: From | |
787 | label_date_to: To |
|
789 | label_date_to: To | |
788 | label_language_based: Based on user's language |
|
790 | label_language_based: Based on user's language | |
789 | label_sort_by: "Sort by %{value}" |
|
791 | label_sort_by: "Sort by %{value}" | |
790 | label_send_test_email: Send a test email |
|
792 | label_send_test_email: Send a test email | |
791 | label_feeds_access_key: Atom access key |
|
793 | label_feeds_access_key: Atom access key | |
792 | label_missing_feeds_access_key: Missing a Atom access key |
|
794 | label_missing_feeds_access_key: Missing a Atom access key | |
793 | label_feeds_access_key_created_on: "Atom access key created %{value} ago" |
|
795 | label_feeds_access_key_created_on: "Atom access key created %{value} ago" | |
794 | label_module_plural: Modules |
|
796 | label_module_plural: Modules | |
795 | label_added_time_by: "Added by %{author} %{age} ago" |
|
797 | label_added_time_by: "Added by %{author} %{age} ago" | |
796 | label_updated_time_by: "Updated by %{author} %{age} ago" |
|
798 | label_updated_time_by: "Updated by %{author} %{age} ago" | |
797 | label_updated_time: "Updated %{value} ago" |
|
799 | label_updated_time: "Updated %{value} ago" | |
798 | label_jump_to_a_project: Jump to a project... |
|
800 | label_jump_to_a_project: Jump to a project... | |
799 | label_file_plural: Files |
|
801 | label_file_plural: Files | |
800 | label_changeset_plural: Changesets |
|
802 | label_changeset_plural: Changesets | |
801 | label_default_columns: Default columns |
|
803 | label_default_columns: Default columns | |
802 | label_no_change_option: (No change) |
|
804 | label_no_change_option: (No change) | |
803 | label_bulk_edit_selected_issues: Bulk edit selected issues |
|
805 | label_bulk_edit_selected_issues: Bulk edit selected issues | |
804 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries |
|
806 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries | |
805 | label_theme: Theme |
|
807 | label_theme: Theme | |
806 | label_default: Default |
|
808 | label_default: Default | |
807 | label_search_titles_only: Search titles only |
|
809 | label_search_titles_only: Search titles only | |
808 | label_user_mail_option_all: "For any event on all my projects" |
|
810 | label_user_mail_option_all: "For any event on all my projects" | |
809 | label_user_mail_option_selected: "For any event on the selected projects only..." |
|
811 | label_user_mail_option_selected: "For any event on the selected projects only..." | |
810 | label_user_mail_option_none: "No events" |
|
812 | label_user_mail_option_none: "No events" | |
811 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" |
|
813 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" | |
812 | label_user_mail_option_only_assigned: "Only for things I am assigned to" |
|
814 | label_user_mail_option_only_assigned: "Only for things I am assigned to" | |
813 | label_user_mail_option_only_owner: "Only for things I am the owner of" |
|
815 | label_user_mail_option_only_owner: "Only for things I am the owner of" | |
814 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" |
|
816 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" | |
815 | label_registration_activation_by_email: account activation by email |
|
817 | label_registration_activation_by_email: account activation by email | |
816 | label_registration_manual_activation: manual account activation |
|
818 | label_registration_manual_activation: manual account activation | |
817 | label_registration_automatic_activation: automatic account activation |
|
819 | label_registration_automatic_activation: automatic account activation | |
818 | label_display_per_page: "Per page: %{value}" |
|
820 | label_display_per_page: "Per page: %{value}" | |
819 | label_age: Age |
|
821 | label_age: Age | |
820 | label_change_properties: Change properties |
|
822 | label_change_properties: Change properties | |
821 | label_general: General |
|
823 | label_general: General | |
822 | label_more: More |
|
824 | label_more: More | |
823 | label_scm: SCM |
|
825 | label_scm: SCM | |
824 | label_plugins: Plugins |
|
826 | label_plugins: Plugins | |
825 | label_ldap_authentication: LDAP authentication |
|
827 | label_ldap_authentication: LDAP authentication | |
826 | label_downloads_abbr: D/L |
|
828 | label_downloads_abbr: D/L | |
827 | label_optional_description: Optional description |
|
829 | label_optional_description: Optional description | |
828 | label_add_another_file: Add another file |
|
830 | label_add_another_file: Add another file | |
829 | label_preferences: Preferences |
|
831 | label_preferences: Preferences | |
830 | label_chronological_order: In chronological order |
|
832 | label_chronological_order: In chronological order | |
831 | label_reverse_chronological_order: In reverse chronological order |
|
833 | label_reverse_chronological_order: In reverse chronological order | |
832 | label_planning: Planning |
|
834 | label_planning: Planning | |
833 | label_incoming_emails: Incoming emails |
|
835 | label_incoming_emails: Incoming emails | |
834 | label_generate_key: Generate a key |
|
836 | label_generate_key: Generate a key | |
835 | label_issue_watchers: Watchers |
|
837 | label_issue_watchers: Watchers | |
836 | label_example: Example |
|
838 | label_example: Example | |
837 | label_display: Display |
|
839 | label_display: Display | |
838 | label_sort: Sort |
|
840 | label_sort: Sort | |
839 | label_ascending: Ascending |
|
841 | label_ascending: Ascending | |
840 | label_descending: Descending |
|
842 | label_descending: Descending | |
841 | label_date_from_to: From %{start} to %{end} |
|
843 | label_date_from_to: From %{start} to %{end} | |
842 | label_wiki_content_added: Wiki page added |
|
844 | label_wiki_content_added: Wiki page added | |
843 | label_wiki_content_updated: Wiki page updated |
|
845 | label_wiki_content_updated: Wiki page updated | |
844 | label_group: Group |
|
846 | label_group: Group | |
845 | label_group_plural: Groups |
|
847 | label_group_plural: Groups | |
846 | label_group_new: New group |
|
848 | label_group_new: New group | |
847 | label_time_entry_plural: Spent time |
|
849 | label_time_entry_plural: Spent time | |
848 | label_version_sharing_none: Not shared |
|
850 | label_version_sharing_none: Not shared | |
849 | label_version_sharing_descendants: With subprojects |
|
851 | label_version_sharing_descendants: With subprojects | |
850 | label_version_sharing_hierarchy: With project hierarchy |
|
852 | label_version_sharing_hierarchy: With project hierarchy | |
851 | label_version_sharing_tree: With project tree |
|
853 | label_version_sharing_tree: With project tree | |
852 | label_version_sharing_system: With all projects |
|
854 | label_version_sharing_system: With all projects | |
853 | label_update_issue_done_ratios: Update issue done ratios |
|
855 | label_update_issue_done_ratios: Update issue done ratios | |
854 | label_copy_source: Source |
|
856 | label_copy_source: Source | |
855 | label_copy_target: Target |
|
857 | label_copy_target: Target | |
856 | label_copy_same_as_target: Same as target |
|
858 | label_copy_same_as_target: Same as target | |
857 | label_display_used_statuses_only: Only display statuses that are used by this tracker |
|
859 | label_display_used_statuses_only: Only display statuses that are used by this tracker | |
858 | label_api_access_key: API access key |
|
860 | label_api_access_key: API access key | |
859 | label_missing_api_access_key: Missing an API access key |
|
861 | label_missing_api_access_key: Missing an API access key | |
860 | label_api_access_key_created_on: "API access key created %{value} ago" |
|
862 | label_api_access_key_created_on: "API access key created %{value} ago" | |
861 | label_profile: Profile |
|
863 | label_profile: Profile | |
862 | label_subtask_plural: Subtasks |
|
864 | label_subtask_plural: Subtasks | |
863 | label_project_copy_notifications: Send email notifications during the project copy |
|
865 | label_project_copy_notifications: Send email notifications during the project copy | |
864 | label_principal_search: "Search for user or group:" |
|
866 | label_principal_search: "Search for user or group:" | |
865 | label_user_search: "Search for user:" |
|
867 | label_user_search: "Search for user:" | |
866 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author |
|
868 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author | |
867 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee |
|
869 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee | |
868 | label_issues_visibility_all: All issues |
|
870 | label_issues_visibility_all: All issues | |
869 | label_issues_visibility_public: All non private issues |
|
871 | label_issues_visibility_public: All non private issues | |
870 | label_issues_visibility_own: Issues created by or assigned to the user |
|
872 | label_issues_visibility_own: Issues created by or assigned to the user | |
871 | label_git_report_last_commit: Report last commit for files and directories |
|
873 | label_git_report_last_commit: Report last commit for files and directories | |
872 | label_parent_revision: Parent |
|
874 | label_parent_revision: Parent | |
873 | label_child_revision: Child |
|
875 | label_child_revision: Child | |
874 | label_export_options: "%{export_format} export options" |
|
876 | label_export_options: "%{export_format} export options" | |
875 | label_copy_attachments: Copy attachments |
|
877 | label_copy_attachments: Copy attachments | |
876 | label_copy_subtasks: Copy subtasks |
|
878 | label_copy_subtasks: Copy subtasks | |
877 | label_item_position: "%{position} of %{count}" |
|
879 | label_item_position: "%{position} of %{count}" | |
878 | label_completed_versions: Completed versions |
|
880 | label_completed_versions: Completed versions | |
879 | label_search_for_watchers: Search for watchers to add |
|
881 | label_search_for_watchers: Search for watchers to add | |
880 | label_session_expiration: Session expiration |
|
882 | label_session_expiration: Session expiration | |
881 | label_show_closed_projects: View closed projects |
|
883 | label_show_closed_projects: View closed projects | |
882 | label_status_transitions: Status transitions |
|
884 | label_status_transitions: Status transitions | |
883 | label_fields_permissions: Fields permissions |
|
885 | label_fields_permissions: Fields permissions | |
884 | label_readonly: Read-only |
|
886 | label_readonly: Read-only | |
885 | label_required: Required |
|
887 | label_required: Required | |
886 | label_attribute_of_project: "Project's %{name}" |
|
888 | label_attribute_of_project: "Project's %{name}" | |
887 | label_attribute_of_issue: "Issue's %{name}" |
|
889 | label_attribute_of_issue: "Issue's %{name}" | |
888 | label_attribute_of_author: "Author's %{name}" |
|
890 | label_attribute_of_author: "Author's %{name}" | |
889 | label_attribute_of_assigned_to: "Assignee's %{name}" |
|
891 | label_attribute_of_assigned_to: "Assignee's %{name}" | |
890 | label_attribute_of_user: "User's %{name}" |
|
892 | label_attribute_of_user: "User's %{name}" | |
891 | label_attribute_of_fixed_version: "Target version's %{name}" |
|
893 | label_attribute_of_fixed_version: "Target version's %{name}" | |
892 | label_cross_project_descendants: With subprojects |
|
894 | label_cross_project_descendants: With subprojects | |
893 | label_cross_project_tree: With project tree |
|
895 | label_cross_project_tree: With project tree | |
894 | label_cross_project_hierarchy: With project hierarchy |
|
896 | label_cross_project_hierarchy: With project hierarchy | |
895 | label_cross_project_system: With all projects |
|
897 | label_cross_project_system: With all projects | |
896 | label_gantt_progress_line: Progress line |
|
898 | label_gantt_progress_line: Progress line | |
897 |
|
899 | |||
898 | button_login: Login |
|
900 | button_login: Login | |
899 | button_submit: Submit |
|
901 | button_submit: Submit | |
900 | button_save: Save |
|
902 | button_save: Save | |
901 | button_check_all: Check all |
|
903 | button_check_all: Check all | |
902 | button_uncheck_all: Uncheck all |
|
904 | button_uncheck_all: Uncheck all | |
903 | button_collapse_all: Collapse all |
|
905 | button_collapse_all: Collapse all | |
904 | button_expand_all: Expand all |
|
906 | button_expand_all: Expand all | |
905 | button_delete: Delete |
|
907 | button_delete: Delete | |
906 | button_create: Create |
|
908 | button_create: Create | |
907 | button_create_and_continue: Create and continue |
|
909 | button_create_and_continue: Create and continue | |
908 | button_test: Test |
|
910 | button_test: Test | |
909 | button_edit: Edit |
|
911 | button_edit: Edit | |
910 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" |
|
912 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" | |
911 | button_add: Add |
|
913 | button_add: Add | |
912 | button_change: Change |
|
914 | button_change: Change | |
913 | button_apply: Apply |
|
915 | button_apply: Apply | |
914 | button_clear: Clear |
|
916 | button_clear: Clear | |
915 | button_lock: Lock |
|
917 | button_lock: Lock | |
916 | button_unlock: Unlock |
|
918 | button_unlock: Unlock | |
917 | button_download: Download |
|
919 | button_download: Download | |
918 | button_list: List |
|
920 | button_list: List | |
919 | button_view: View |
|
921 | button_view: View | |
920 | button_move: Move |
|
922 | button_move: Move | |
921 | button_move_and_follow: Move and follow |
|
923 | button_move_and_follow: Move and follow | |
922 | button_back: Back |
|
924 | button_back: Back | |
923 | button_cancel: Cancel |
|
925 | button_cancel: Cancel | |
924 | button_activate: Activate |
|
926 | button_activate: Activate | |
925 | button_sort: Sort |
|
927 | button_sort: Sort | |
926 | button_log_time: Log time |
|
928 | button_log_time: Log time | |
927 | button_rollback: Rollback to this version |
|
929 | button_rollback: Rollback to this version | |
928 | button_watch: Watch |
|
930 | button_watch: Watch | |
929 | button_unwatch: Unwatch |
|
931 | button_unwatch: Unwatch | |
930 | button_reply: Reply |
|
932 | button_reply: Reply | |
931 | button_archive: Archive |
|
933 | button_archive: Archive | |
932 | button_unarchive: Unarchive |
|
934 | button_unarchive: Unarchive | |
933 | button_reset: Reset |
|
935 | button_reset: Reset | |
934 | button_rename: Rename |
|
936 | button_rename: Rename | |
935 | button_change_password: Change password |
|
937 | button_change_password: Change password | |
936 | button_copy: Copy |
|
938 | button_copy: Copy | |
937 | button_copy_and_follow: Copy and follow |
|
939 | button_copy_and_follow: Copy and follow | |
938 | button_annotate: Annotate |
|
940 | button_annotate: Annotate | |
939 | button_update: Update |
|
941 | button_update: Update | |
940 | button_configure: Configure |
|
942 | button_configure: Configure | |
941 | button_quote: Quote |
|
943 | button_quote: Quote | |
942 | button_duplicate: Duplicate |
|
944 | button_duplicate: Duplicate | |
943 | button_show: Show |
|
945 | button_show: Show | |
944 | button_hide: Hide |
|
946 | button_hide: Hide | |
945 | button_edit_section: Edit this section |
|
947 | button_edit_section: Edit this section | |
946 | button_export: Export |
|
948 | button_export: Export | |
947 | button_delete_my_account: Delete my account |
|
949 | button_delete_my_account: Delete my account | |
948 | button_close: Close |
|
950 | button_close: Close | |
949 | button_reopen: Reopen |
|
951 | button_reopen: Reopen | |
950 |
|
952 | |||
951 | status_active: active |
|
953 | status_active: active | |
952 | status_registered: registered |
|
954 | status_registered: registered | |
953 | status_locked: locked |
|
955 | status_locked: locked | |
954 |
|
956 | |||
955 | project_status_active: active |
|
957 | project_status_active: active | |
956 | project_status_closed: closed |
|
958 | project_status_closed: closed | |
957 | project_status_archived: archived |
|
959 | project_status_archived: archived | |
958 |
|
960 | |||
959 | version_status_open: open |
|
961 | version_status_open: open | |
960 | version_status_locked: locked |
|
962 | version_status_locked: locked | |
961 | version_status_closed: closed |
|
963 | version_status_closed: closed | |
962 |
|
964 | |||
963 | field_active: Active |
|
965 | field_active: Active | |
964 |
|
966 | |||
965 | text_select_mail_notifications: Select actions for which email notifications should be sent. |
|
967 | text_select_mail_notifications: Select actions for which email notifications should be sent. | |
966 | text_regexp_info: eg. ^[A-Z0-9]+$ |
|
968 | text_regexp_info: eg. ^[A-Z0-9]+$ | |
967 | text_min_max_length_info: 0 means no restriction |
|
969 | text_min_max_length_info: 0 means no restriction | |
968 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? |
|
970 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? | |
969 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." |
|
971 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." | |
970 | text_workflow_edit: Select a role and a tracker to edit the workflow |
|
972 | text_workflow_edit: Select a role and a tracker to edit the workflow | |
971 | text_are_you_sure: Are you sure? |
|
973 | text_are_you_sure: Are you sure? | |
972 | text_journal_changed: "%{label} changed from %{old} to %{new}" |
|
974 | text_journal_changed: "%{label} changed from %{old} to %{new}" | |
973 | text_journal_changed_no_detail: "%{label} updated" |
|
975 | text_journal_changed_no_detail: "%{label} updated" | |
974 | text_journal_set_to: "%{label} set to %{value}" |
|
976 | text_journal_set_to: "%{label} set to %{value}" | |
975 | text_journal_deleted: "%{label} deleted (%{old})" |
|
977 | text_journal_deleted: "%{label} deleted (%{old})" | |
976 | text_journal_added: "%{label} %{value} added" |
|
978 | text_journal_added: "%{label} %{value} added" | |
977 | text_tip_issue_begin_day: issue beginning this day |
|
979 | text_tip_issue_begin_day: issue beginning this day | |
978 | text_tip_issue_end_day: issue ending this day |
|
980 | text_tip_issue_end_day: issue ending this day | |
979 | text_tip_issue_begin_end_day: issue beginning and ending this day |
|
981 | text_tip_issue_begin_end_day: issue beginning and ending this day | |
980 | text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter.<br />Once saved, the identifier cannot be changed.' |
|
982 | text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter.<br />Once saved, the identifier cannot be changed.' | |
981 | text_caracters_maximum: "%{count} characters maximum." |
|
983 | text_caracters_maximum: "%{count} characters maximum." | |
982 | text_caracters_minimum: "Must be at least %{count} characters long." |
|
984 | text_caracters_minimum: "Must be at least %{count} characters long." | |
983 | text_length_between: "Length between %{min} and %{max} characters." |
|
985 | text_length_between: "Length between %{min} and %{max} characters." | |
984 | text_tracker_no_workflow: No workflow defined for this tracker |
|
986 | text_tracker_no_workflow: No workflow defined for this tracker | |
985 | text_unallowed_characters: Unallowed characters |
|
987 | text_unallowed_characters: Unallowed characters | |
986 | text_comma_separated: Multiple values allowed (comma separated). |
|
988 | text_comma_separated: Multiple values allowed (comma separated). | |
987 | text_line_separated: Multiple values allowed (one line for each value). |
|
989 | text_line_separated: Multiple values allowed (one line for each value). | |
988 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages |
|
990 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages | |
989 | text_issue_added: "Issue %{id} has been reported by %{author}." |
|
991 | text_issue_added: "Issue %{id} has been reported by %{author}." | |
990 | text_issue_updated: "Issue %{id} has been updated by %{author}." |
|
992 | text_issue_updated: "Issue %{id} has been updated by %{author}." | |
991 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? |
|
993 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? | |
992 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" |
|
994 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" | |
993 | text_issue_category_destroy_assignments: Remove category assignments |
|
995 | text_issue_category_destroy_assignments: Remove category assignments | |
994 | text_issue_category_reassign_to: Reassign issues to this category |
|
996 | text_issue_category_reassign_to: Reassign issues to this category | |
995 | 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)." |
|
997 | 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)." | |
996 | 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." |
|
998 | 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." | |
997 | text_load_default_configuration: Load the default configuration |
|
999 | text_load_default_configuration: Load the default configuration | |
998 | text_status_changed_by_changeset: "Applied in changeset %{value}." |
|
1000 | text_status_changed_by_changeset: "Applied in changeset %{value}." | |
999 | text_time_logged_by_changeset: "Applied in changeset %{value}." |
|
1001 | text_time_logged_by_changeset: "Applied in changeset %{value}." | |
1000 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' |
|
1002 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' | |
1001 | text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)." |
|
1003 | text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)." | |
1002 | text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?' |
|
1004 | text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?' | |
1003 | text_select_project_modules: 'Select modules to enable for this project:' |
|
1005 | text_select_project_modules: 'Select modules to enable for this project:' | |
1004 | text_default_administrator_account_changed: Default administrator account changed |
|
1006 | text_default_administrator_account_changed: Default administrator account changed | |
1005 | text_file_repository_writable: Attachments directory writable |
|
1007 | text_file_repository_writable: Attachments directory writable | |
1006 | text_plugin_assets_writable: Plugin assets directory writable |
|
1008 | text_plugin_assets_writable: Plugin assets directory writable | |
1007 | text_rmagick_available: RMagick available (optional) |
|
1009 | text_rmagick_available: RMagick available (optional) | |
1008 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" |
|
1010 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" | |
1009 | text_destroy_time_entries: Delete reported hours |
|
1011 | text_destroy_time_entries: Delete reported hours | |
1010 | text_assign_time_entries_to_project: Assign reported hours to the project |
|
1012 | text_assign_time_entries_to_project: Assign reported hours to the project | |
1011 | text_reassign_time_entries: 'Reassign reported hours to this issue:' |
|
1013 | text_reassign_time_entries: 'Reassign reported hours to this issue:' | |
1012 | text_user_wrote: "%{value} wrote:" |
|
1014 | text_user_wrote: "%{value} wrote:" | |
1013 | text_enumeration_destroy_question: "%{count} objects are assigned to this value." |
|
1015 | text_enumeration_destroy_question: "%{count} objects are assigned to this value." | |
1014 | text_enumeration_category_reassign_to: 'Reassign them to this value:' |
|
1016 | text_enumeration_category_reassign_to: 'Reassign them to this value:' | |
1015 | 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." |
|
1017 | 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." | |
1016 | 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." |
|
1018 | 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." | |
1017 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' |
|
1019 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' | |
1018 | text_custom_field_possible_values_info: 'One line for each value' |
|
1020 | text_custom_field_possible_values_info: 'One line for each value' | |
1019 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" |
|
1021 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" | |
1020 | text_wiki_page_nullify_children: "Keep child pages as root pages" |
|
1022 | text_wiki_page_nullify_children: "Keep child pages as root pages" | |
1021 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" |
|
1023 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" | |
1022 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" |
|
1024 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" | |
1023 | 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?" |
|
1025 | 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?" | |
1024 | text_zoom_in: Zoom in |
|
1026 | text_zoom_in: Zoom in | |
1025 | text_zoom_out: Zoom out |
|
1027 | text_zoom_out: Zoom out | |
1026 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." |
|
1028 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." | |
1027 | text_scm_path_encoding_note: "Default: UTF-8" |
|
1029 | text_scm_path_encoding_note: "Default: UTF-8" | |
1028 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
1030 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) | |
1029 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) |
|
1031 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) | |
1030 | text_scm_command: Command |
|
1032 | text_scm_command: Command | |
1031 | text_scm_command_version: Version |
|
1033 | text_scm_command_version: Version | |
1032 | text_scm_config: You can configure your SCM commands in config/configuration.yml. Please restart the application after editing it. |
|
1034 | text_scm_config: You can configure your SCM commands in config/configuration.yml. Please restart the application after editing it. | |
1033 | text_scm_command_not_available: SCM command is not available. Please check settings on the administration panel. |
|
1035 | text_scm_command_not_available: SCM command is not available. Please check settings on the administration panel. | |
1034 | text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)" |
|
1036 | text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)" | |
1035 | text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes" |
|
1037 | text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes" | |
1036 | text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}" |
|
1038 | text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}" | |
1037 | text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it." |
|
1039 | text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it." | |
1038 | text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours." |
|
1040 | text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours." | |
1039 | text_project_closed: This project is closed and read-only. |
|
1041 | text_project_closed: This project is closed and read-only. | |
1040 | text_turning_multiple_off: "If you disable multiple values, multiple values will be removed in order to preserve only one value per item." |
|
1042 | text_turning_multiple_off: "If you disable multiple values, multiple values will be removed in order to preserve only one value per item." | |
1041 |
|
1043 | |||
1042 | default_role_manager: Manager |
|
1044 | default_role_manager: Manager | |
1043 | default_role_developer: Developer |
|
1045 | default_role_developer: Developer | |
1044 | default_role_reporter: Reporter |
|
1046 | default_role_reporter: Reporter | |
1045 | default_tracker_bug: Bug |
|
1047 | default_tracker_bug: Bug | |
1046 | default_tracker_feature: Feature |
|
1048 | default_tracker_feature: Feature | |
1047 | default_tracker_support: Support |
|
1049 | default_tracker_support: Support | |
1048 | default_issue_status_new: New |
|
1050 | default_issue_status_new: New | |
1049 | default_issue_status_in_progress: In Progress |
|
1051 | default_issue_status_in_progress: In Progress | |
1050 | default_issue_status_resolved: Resolved |
|
1052 | default_issue_status_resolved: Resolved | |
1051 | default_issue_status_feedback: Feedback |
|
1053 | default_issue_status_feedback: Feedback | |
1052 | default_issue_status_closed: Closed |
|
1054 | default_issue_status_closed: Closed | |
1053 | default_issue_status_rejected: Rejected |
|
1055 | default_issue_status_rejected: Rejected | |
1054 | default_doc_category_user: User documentation |
|
1056 | default_doc_category_user: User documentation | |
1055 | default_doc_category_tech: Technical documentation |
|
1057 | default_doc_category_tech: Technical documentation | |
1056 | default_priority_low: Low |
|
1058 | default_priority_low: Low | |
1057 | default_priority_normal: Normal |
|
1059 | default_priority_normal: Normal | |
1058 | default_priority_high: High |
|
1060 | default_priority_high: High | |
1059 | default_priority_urgent: Urgent |
|
1061 | default_priority_urgent: Urgent | |
1060 | default_priority_immediate: Immediate |
|
1062 | default_priority_immediate: Immediate | |
1061 | default_activity_design: Design |
|
1063 | default_activity_design: Design | |
1062 | default_activity_development: Development |
|
1064 | default_activity_development: Development | |
1063 |
|
1065 | |||
1064 | enumeration_issue_priorities: Issue priorities |
|
1066 | enumeration_issue_priorities: Issue priorities | |
1065 | enumeration_doc_categories: Document categories |
|
1067 | enumeration_doc_categories: Document categories | |
1066 | enumeration_activities: Activities (time tracking) |
|
1068 | enumeration_activities: Activities (time tracking) | |
1067 | enumeration_system_activity: System Activity |
|
1069 | enumeration_system_activity: System Activity | |
1068 | description_filter: Filter |
|
1070 | description_filter: Filter | |
1069 | description_search: Searchfield |
|
1071 | description_search: Searchfield | |
1070 | description_choose_project: Projects |
|
1072 | description_choose_project: Projects | |
1071 | description_project_scope: Search scope |
|
1073 | description_project_scope: Search scope | |
1072 | description_notes: Notes |
|
1074 | description_notes: Notes | |
1073 | description_message_content: Message content |
|
1075 | description_message_content: Message content | |
1074 | description_query_sort_criteria_attribute: Sort attribute |
|
1076 | description_query_sort_criteria_attribute: Sort attribute | |
1075 | description_query_sort_criteria_direction: Sort direction |
|
1077 | description_query_sort_criteria_direction: Sort direction | |
1076 | description_user_mail_notification: Mail notification settings |
|
1078 | description_user_mail_notification: Mail notification settings | |
1077 | description_available_columns: Available Columns |
|
1079 | description_available_columns: Available Columns | |
1078 | description_selected_columns: Selected Columns |
|
1080 | description_selected_columns: Selected Columns | |
1079 | description_all_columns: All Columns |
|
1081 | description_all_columns: All Columns | |
1080 | description_issue_category_reassign: Choose issue category |
|
1082 | description_issue_category_reassign: Choose issue category | |
1081 | description_wiki_subpages_reassign: Choose new parent page |
|
1083 | description_wiki_subpages_reassign: Choose new parent page | |
1082 | description_date_range_list: Choose range from list |
|
1084 | description_date_range_list: Choose range from list | |
1083 | description_date_range_interval: Choose range by selecting start and end date |
|
1085 | description_date_range_interval: Choose range by selecting start and end date | |
1084 | description_date_from: Enter start date |
|
1086 | description_date_from: Enter start date | |
1085 | description_date_to: Enter end date |
|
1087 | description_date_to: Enter end date | |
1086 | text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.' |
|
1088 | text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.' |
@@ -1,1104 +1,1106 | |||||
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: |
|
20 | order: | |
21 | - :day |
|
21 | - :day | |
22 | - :month |
|
22 | - :month | |
23 | - :year |
|
23 | - :year | |
24 |
|
24 | |||
25 | time: |
|
25 | time: | |
26 | formats: |
|
26 | formats: | |
27 | default: "%d/%m/%Y %H:%M" |
|
27 | default: "%d/%m/%Y %H:%M" | |
28 | time: "%H:%M" |
|
28 | time: "%H:%M" | |
29 | short: "%d %b %H:%M" |
|
29 | short: "%d %b %H:%M" | |
30 | long: "%A %d %B %Y %H:%M:%S %Z" |
|
30 | long: "%A %d %B %Y %H:%M:%S %Z" | |
31 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" |
|
31 | long_ordinal: "%A %d %B %Y %H:%M:%S %Z" | |
32 | only_second: "%S" |
|
32 | only_second: "%S" | |
33 | am: 'am' |
|
33 | am: 'am' | |
34 | pm: 'pm' |
|
34 | pm: 'pm' | |
35 |
|
35 | |||
36 | datetime: |
|
36 | datetime: | |
37 | distance_in_words: |
|
37 | distance_in_words: | |
38 | half_a_minute: "30 secondes" |
|
38 | half_a_minute: "30 secondes" | |
39 | less_than_x_seconds: |
|
39 | less_than_x_seconds: | |
40 | zero: "moins d'une seconde" |
|
40 | zero: "moins d'une seconde" | |
41 | one: "moins d'uneΒ seconde" |
|
41 | one: "moins d'uneΒ seconde" | |
42 | other: "moins de %{count}Β secondes" |
|
42 | other: "moins de %{count}Β secondes" | |
43 | x_seconds: |
|
43 | x_seconds: | |
44 | one: "1Β seconde" |
|
44 | one: "1Β seconde" | |
45 | other: "%{count}Β secondes" |
|
45 | other: "%{count}Β secondes" | |
46 | less_than_x_minutes: |
|
46 | less_than_x_minutes: | |
47 | zero: "moins d'une minute" |
|
47 | zero: "moins d'une minute" | |
48 | one: "moins d'uneΒ minute" |
|
48 | one: "moins d'uneΒ minute" | |
49 | other: "moins de %{count}Β minutes" |
|
49 | other: "moins de %{count}Β minutes" | |
50 | x_minutes: |
|
50 | x_minutes: | |
51 | one: "1Β minute" |
|
51 | one: "1Β minute" | |
52 | other: "%{count}Β minutes" |
|
52 | other: "%{count}Β minutes" | |
53 | about_x_hours: |
|
53 | about_x_hours: | |
54 | one: "environ une heure" |
|
54 | one: "environ une heure" | |
55 | other: "environ %{count}Β heures" |
|
55 | other: "environ %{count}Β heures" | |
56 | x_hours: |
|
56 | x_hours: | |
57 | one: "une heure" |
|
57 | one: "une heure" | |
58 | other: "%{count}Β heures" |
|
58 | other: "%{count}Β heures" | |
59 | x_days: |
|
59 | x_days: | |
60 | one: "unΒ jour" |
|
60 | one: "unΒ jour" | |
61 | other: "%{count}Β jours" |
|
61 | other: "%{count}Β jours" | |
62 | about_x_months: |
|
62 | about_x_months: | |
63 | one: "environ un mois" |
|
63 | one: "environ un mois" | |
64 | other: "environ %{count}Β mois" |
|
64 | other: "environ %{count}Β mois" | |
65 | x_months: |
|
65 | x_months: | |
66 | one: "unΒ mois" |
|
66 | one: "unΒ mois" | |
67 | other: "%{count}Β mois" |
|
67 | other: "%{count}Β mois" | |
68 | about_x_years: |
|
68 | about_x_years: | |
69 | one: "environ un an" |
|
69 | one: "environ un an" | |
70 | other: "environ %{count}Β ans" |
|
70 | other: "environ %{count}Β ans" | |
71 | over_x_years: |
|
71 | over_x_years: | |
72 | one: "plus d'un an" |
|
72 | one: "plus d'un an" | |
73 | other: "plus de %{count}Β ans" |
|
73 | other: "plus de %{count}Β ans" | |
74 | almost_x_years: |
|
74 | almost_x_years: | |
75 | one: "presqu'un an" |
|
75 | one: "presqu'un an" | |
76 | other: "presque %{count} ans" |
|
76 | other: "presque %{count} ans" | |
77 | prompts: |
|
77 | prompts: | |
78 | year: "AnnΓ©e" |
|
78 | year: "AnnΓ©e" | |
79 | month: "Mois" |
|
79 | month: "Mois" | |
80 | day: "Jour" |
|
80 | day: "Jour" | |
81 | hour: "Heure" |
|
81 | hour: "Heure" | |
82 | minute: "Minute" |
|
82 | minute: "Minute" | |
83 | second: "Seconde" |
|
83 | second: "Seconde" | |
84 |
|
84 | |||
85 | number: |
|
85 | number: | |
86 | format: |
|
86 | format: | |
87 | precision: 3 |
|
87 | precision: 3 | |
88 | separator: ',' |
|
88 | separator: ',' | |
89 | delimiter: 'Β ' |
|
89 | delimiter: 'Β ' | |
90 | currency: |
|
90 | currency: | |
91 | format: |
|
91 | format: | |
92 | unit: 'β¬' |
|
92 | unit: 'β¬' | |
93 | precision: 2 |
|
93 | precision: 2 | |
94 | format: '%nΒ %u' |
|
94 | format: '%nΒ %u' | |
95 | human: |
|
95 | human: | |
96 | format: |
|
96 | format: | |
97 | precision: 3 |
|
97 | precision: 3 | |
98 | storage_units: |
|
98 | storage_units: | |
99 | format: "%n %u" |
|
99 | format: "%n %u" | |
100 | units: |
|
100 | units: | |
101 | byte: |
|
101 | byte: | |
102 | one: "octet" |
|
102 | one: "octet" | |
103 | other: "octet" |
|
103 | other: "octet" | |
104 | kb: "ko" |
|
104 | kb: "ko" | |
105 | mb: "Mo" |
|
105 | mb: "Mo" | |
106 | gb: "Go" |
|
106 | gb: "Go" | |
107 | tb: "To" |
|
107 | tb: "To" | |
108 |
|
108 | |||
109 | support: |
|
109 | support: | |
110 | array: |
|
110 | array: | |
111 | sentence_connector: 'et' |
|
111 | sentence_connector: 'et' | |
112 | skip_last_comma: true |
|
112 | skip_last_comma: true | |
113 | word_connector: ", " |
|
113 | word_connector: ", " | |
114 | two_words_connector: " et " |
|
114 | two_words_connector: " et " | |
115 | last_word_connector: " et " |
|
115 | last_word_connector: " et " | |
116 |
|
116 | |||
117 | activerecord: |
|
117 | activerecord: | |
118 | errors: |
|
118 | errors: | |
119 | template: |
|
119 | template: | |
120 | header: |
|
120 | header: | |
121 | one: "Impossible d'enregistrer %{model} : une erreur" |
|
121 | one: "Impossible d'enregistrer %{model} : une erreur" | |
122 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." |
|
122 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." | |
123 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" |
|
123 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" | |
124 | messages: |
|
124 | messages: | |
125 | inclusion: "n'est pas inclus(e) dans la liste" |
|
125 | inclusion: "n'est pas inclus(e) dans la liste" | |
126 | exclusion: "n'est pas disponible" |
|
126 | exclusion: "n'est pas disponible" | |
127 | invalid: "n'est pas valide" |
|
127 | invalid: "n'est pas valide" | |
128 | confirmation: "ne concorde pas avec la confirmation" |
|
128 | confirmation: "ne concorde pas avec la confirmation" | |
129 | accepted: "doit Γͺtre acceptΓ©(e)" |
|
129 | accepted: "doit Γͺtre acceptΓ©(e)" | |
130 | empty: "doit Γͺtre renseignΓ©(e)" |
|
130 | empty: "doit Γͺtre renseignΓ©(e)" | |
131 | blank: "doit Γͺtre renseignΓ©(e)" |
|
131 | blank: "doit Γͺtre renseignΓ©(e)" | |
132 | too_long: "est trop long (pas plus de %{count} caractères)" |
|
132 | too_long: "est trop long (pas plus de %{count} caractères)" | |
133 | too_short: "est trop court (au moins %{count} caractères)" |
|
133 | too_short: "est trop court (au moins %{count} caractères)" | |
134 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" |
|
134 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" | |
135 | taken: "est dΓ©jΓ utilisΓ©" |
|
135 | taken: "est dΓ©jΓ utilisΓ©" | |
136 | not_a_number: "n'est pas un nombre" |
|
136 | not_a_number: "n'est pas un nombre" | |
137 | not_a_date: "n'est pas une date valide" |
|
137 | not_a_date: "n'est pas une date valide" | |
138 | greater_than: "doit Γͺtre supΓ©rieur Γ %{count}" |
|
138 | greater_than: "doit Γͺtre supΓ©rieur Γ %{count}" | |
139 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ %{count}" |
|
139 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ %{count}" | |
140 | equal_to: "doit Γͺtre Γ©gal Γ %{count}" |
|
140 | equal_to: "doit Γͺtre Γ©gal Γ %{count}" | |
141 | less_than: "doit Γͺtre infΓ©rieur Γ %{count}" |
|
141 | less_than: "doit Γͺtre infΓ©rieur Γ %{count}" | |
142 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ %{count}" |
|
142 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ %{count}" | |
143 | odd: "doit Γͺtre impair" |
|
143 | odd: "doit Γͺtre impair" | |
144 | even: "doit Γͺtre pair" |
|
144 | even: "doit Γͺtre pair" | |
145 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" |
|
145 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" | |
146 | not_same_project: "n'appartient pas au mΓͺme projet" |
|
146 | not_same_project: "n'appartient pas au mΓͺme projet" | |
147 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" |
|
147 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" | |
148 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" |
|
148 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" | |
149 | earlier_than_minimum_start_date: "ne peut pas Γͺtre antΓ©rieure au %{date} Γ cause des demandes qui prΓ©cΓ©dent" |
|
149 | earlier_than_minimum_start_date: "ne peut pas Γͺtre antΓ©rieure au %{date} Γ cause des demandes qui prΓ©cΓ©dent" | |
150 |
|
150 | |||
151 | actionview_instancetag_blank_option: Choisir |
|
151 | actionview_instancetag_blank_option: Choisir | |
152 |
|
152 | |||
153 | general_text_No: 'Non' |
|
153 | general_text_No: 'Non' | |
154 | general_text_Yes: 'Oui' |
|
154 | general_text_Yes: 'Oui' | |
155 | general_text_no: 'non' |
|
155 | general_text_no: 'non' | |
156 | general_text_yes: 'oui' |
|
156 | general_text_yes: 'oui' | |
157 | general_lang_name: 'FranΓ§ais' |
|
157 | general_lang_name: 'FranΓ§ais' | |
158 | general_csv_separator: ';' |
|
158 | general_csv_separator: ';' | |
159 | general_csv_decimal_separator: ',' |
|
159 | general_csv_decimal_separator: ',' | |
160 | general_csv_encoding: ISO-8859-1 |
|
160 | general_csv_encoding: ISO-8859-1 | |
161 | general_pdf_encoding: UTF-8 |
|
161 | general_pdf_encoding: UTF-8 | |
162 | general_first_day_of_week: '1' |
|
162 | general_first_day_of_week: '1' | |
163 |
|
163 | |||
164 | notice_account_updated: Le compte a été mis à jour avec succès. |
|
164 | notice_account_updated: Le compte a été mis à jour avec succès. | |
165 | notice_account_invalid_creditentials: Identifiant ou mot de passe invalide. |
|
165 | notice_account_invalid_creditentials: Identifiant ou mot de passe invalide. | |
166 | notice_account_password_updated: Mot de passe mis à jour avec succès. |
|
166 | notice_account_password_updated: Mot de passe mis à jour avec succès. | |
167 | notice_account_wrong_password: Mot de passe incorrect |
|
167 | notice_account_wrong_password: Mot de passe incorrect | |
168 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©. |
|
168 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©. | |
169 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. |
|
169 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. | |
|
170 | notice_account_not_activated_yet: Vous n'avez pas encore activΓ© votre compte. Si vous voulez recevoir un nouveau message d'activation, veuillez <a href="%{url}">cliquer sur ce lien</a>. | |||
|
171 | notice_account_locked: Votre compte est verrouillΓ©. | |||
170 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. |
|
172 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. | |
171 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. |
|
173 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. | |
172 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. |
|
174 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. | |
173 | notice_successful_create: Création effectuée avec succès. |
|
175 | notice_successful_create: Création effectuée avec succès. | |
174 | notice_successful_update: Mise à jour effectuée avec succès. |
|
176 | notice_successful_update: Mise à jour effectuée avec succès. | |
175 | notice_successful_delete: Suppression effectuée avec succès. |
|
177 | notice_successful_delete: Suppression effectuée avec succès. | |
176 | notice_successful_connection: Connexion rΓ©ussie. |
|
178 | notice_successful_connection: Connexion rΓ©ussie. | |
177 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." |
|
179 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." | |
178 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. |
|
180 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. | |
179 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ accΓ©der Γ cette page." |
|
181 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ accΓ©der Γ cette page." | |
180 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. |
|
182 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. | |
181 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ %{value}" |
|
183 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ %{value}" | |
182 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" |
|
184 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" | |
183 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux Atom a été réinitialisée." |
|
185 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux Atom a été réinitialisée." | |
184 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : %{ids}." |
|
186 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : %{ids}." | |
185 | notice_failed_to_save_time_entries: "%{count} temps passΓ©(s) sur les %{total} sΓ©lectionnΓ©s n'ont pas pu Γͺtre mis Γ jour: %{ids}." |
|
187 | notice_failed_to_save_time_entries: "%{count} temps passΓ©(s) sur les %{total} sΓ©lectionnΓ©s n'ont pas pu Γͺtre mis Γ jour: %{ids}." | |
186 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." |
|
188 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." | |
187 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." |
|
189 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." | |
188 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. |
|
190 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. | |
189 | notice_unable_delete_version: Impossible de supprimer cette version. |
|
191 | notice_unable_delete_version: Impossible de supprimer cette version. | |
190 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. |
|
192 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. | |
191 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. |
|
193 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. | |
192 | notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})" |
|
194 | notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})" | |
193 | notice_issue_successful_create: "Demande %{id} créée." |
|
195 | notice_issue_successful_create: "Demande %{id} créée." | |
194 | notice_issue_update_conflict: "La demande a Γ©tΓ© mise Γ jour par un autre utilisateur pendant que vous la modifiez." |
|
196 | notice_issue_update_conflict: "La demande a Γ©tΓ© mise Γ jour par un autre utilisateur pendant que vous la modifiez." | |
195 | notice_account_deleted: "Votre compte a Γ©tΓ© dΓ©finitivement supprimΓ©." |
|
197 | notice_account_deleted: "Votre compte a Γ©tΓ© dΓ©finitivement supprimΓ©." | |
196 | notice_user_successful_create: "Utilisateur %{id} créé." |
|
198 | notice_user_successful_create: "Utilisateur %{id} créé." | |
197 |
|
199 | |||
198 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}" |
|
200 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}" | |
199 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." |
|
201 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." | |
200 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" |
|
202 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" | |
201 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." |
|
203 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." | |
202 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" |
|
204 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" | |
203 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' |
|
205 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' | |
204 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" |
|
206 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" | |
205 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' |
|
207 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' | |
206 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' |
|
208 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' | |
207 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. |
|
209 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. | |
208 | error_attachment_too_big: Ce fichier ne peut pas Γͺtre attachΓ© car il excΓ¨de la taille maximale autorisΓ©e (%{max_size}) |
|
210 | error_attachment_too_big: Ce fichier ne peut pas Γͺtre attachΓ© car il excΓ¨de la taille maximale autorisΓ©e (%{max_size}) | |
209 | error_session_expired: "Votre session a expirΓ©. Veuillez vous reconnecter." |
|
211 | error_session_expired: "Votre session a expirΓ©. Veuillez vous reconnecter." | |
210 |
|
212 | |||
211 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." |
|
213 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." | |
212 |
|
214 | |||
213 | mail_subject_lost_password: "Votre mot de passe %{value}" |
|
215 | mail_subject_lost_password: "Votre mot de passe %{value}" | |
214 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' |
|
216 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' | |
215 | mail_subject_register: "Activation de votre compte %{value}" |
|
217 | mail_subject_register: "Activation de votre compte %{value}" | |
216 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' |
|
218 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' | |
217 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." |
|
219 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." | |
218 | mail_body_account_information: Paramètres de connexion de votre compte |
|
220 | mail_body_account_information: Paramètres de connexion de votre compte | |
219 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" |
|
221 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" | |
220 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :" |
|
222 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :" | |
221 | mail_subject_reminder: "%{count} demande(s) arrivent Γ Γ©chΓ©ance (%{days})" |
|
223 | mail_subject_reminder: "%{count} demande(s) arrivent Γ Γ©chΓ©ance (%{days})" | |
222 | mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les %{days} prochains jours :" |
|
224 | mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les %{days} prochains jours :" | |
223 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e" |
|
225 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e" | |
224 | mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}." |
|
226 | mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}." | |
225 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ jour" |
|
227 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ jour" | |
226 | mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ jour par %{author}." |
|
228 | mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ jour par %{author}." | |
227 |
|
229 | |||
228 |
|
230 | |||
229 | field_name: Nom |
|
231 | field_name: Nom | |
230 | field_description: Description |
|
232 | field_description: Description | |
231 | field_summary: RΓ©sumΓ© |
|
233 | field_summary: RΓ©sumΓ© | |
232 | field_is_required: Obligatoire |
|
234 | field_is_required: Obligatoire | |
233 | field_firstname: PrΓ©nom |
|
235 | field_firstname: PrΓ©nom | |
234 | field_lastname: Nom |
|
236 | field_lastname: Nom | |
235 | field_mail: "Email " |
|
237 | field_mail: "Email " | |
236 | field_filename: Fichier |
|
238 | field_filename: Fichier | |
237 | field_filesize: Taille |
|
239 | field_filesize: Taille | |
238 | field_downloads: TΓ©lΓ©chargements |
|
240 | field_downloads: TΓ©lΓ©chargements | |
239 | field_author: Auteur |
|
241 | field_author: Auteur | |
240 | field_created_on: "Créé " |
|
242 | field_created_on: "Créé " | |
241 | field_updated_on: "Mis-Γ -jour " |
|
243 | field_updated_on: "Mis-Γ -jour " | |
242 | field_closed_on: FermΓ© |
|
244 | field_closed_on: FermΓ© | |
243 | field_field_format: Format |
|
245 | field_field_format: Format | |
244 | field_is_for_all: Pour tous les projets |
|
246 | field_is_for_all: Pour tous les projets | |
245 | field_possible_values: Valeurs possibles |
|
247 | field_possible_values: Valeurs possibles | |
246 | field_regexp: Expression régulière |
|
248 | field_regexp: Expression régulière | |
247 | field_min_length: Longueur minimum |
|
249 | field_min_length: Longueur minimum | |
248 | field_max_length: Longueur maximum |
|
250 | field_max_length: Longueur maximum | |
249 | field_value: Valeur |
|
251 | field_value: Valeur | |
250 | field_category: CatΓ©gorie |
|
252 | field_category: CatΓ©gorie | |
251 | field_title: Titre |
|
253 | field_title: Titre | |
252 | field_project: Projet |
|
254 | field_project: Projet | |
253 | field_issue: Demande |
|
255 | field_issue: Demande | |
254 | field_status: Statut |
|
256 | field_status: Statut | |
255 | field_notes: Notes |
|
257 | field_notes: Notes | |
256 | field_is_closed: Demande fermΓ©e |
|
258 | field_is_closed: Demande fermΓ©e | |
257 | field_is_default: Valeur par dΓ©faut |
|
259 | field_is_default: Valeur par dΓ©faut | |
258 | field_tracker: Tracker |
|
260 | field_tracker: Tracker | |
259 | field_subject: Sujet |
|
261 | field_subject: Sujet | |
260 | field_due_date: EchΓ©ance |
|
262 | field_due_date: EchΓ©ance | |
261 | field_assigned_to: AssignΓ© Γ |
|
263 | field_assigned_to: AssignΓ© Γ | |
262 | field_priority: PrioritΓ© |
|
264 | field_priority: PrioritΓ© | |
263 | field_fixed_version: Version cible |
|
265 | field_fixed_version: Version cible | |
264 | field_user: Utilisateur |
|
266 | field_user: Utilisateur | |
265 | field_role: RΓ΄le |
|
267 | field_role: RΓ΄le | |
266 | field_homepage: "Site web " |
|
268 | field_homepage: "Site web " | |
267 | field_is_public: Public |
|
269 | field_is_public: Public | |
268 | field_parent: Sous-projet de |
|
270 | field_parent: Sous-projet de | |
269 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap |
|
271 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap | |
270 | field_login: "Identifiant " |
|
272 | field_login: "Identifiant " | |
271 | field_mail_notification: Notifications par mail |
|
273 | field_mail_notification: Notifications par mail | |
272 | field_admin: Administrateur |
|
274 | field_admin: Administrateur | |
273 | field_last_login_on: "Dernière connexion " |
|
275 | field_last_login_on: "Dernière connexion " | |
274 | field_language: Langue |
|
276 | field_language: Langue | |
275 | field_effective_date: Date |
|
277 | field_effective_date: Date | |
276 | field_password: Mot de passe |
|
278 | field_password: Mot de passe | |
277 | field_new_password: Nouveau mot de passe |
|
279 | field_new_password: Nouveau mot de passe | |
278 | field_password_confirmation: Confirmation |
|
280 | field_password_confirmation: Confirmation | |
279 | field_version: Version |
|
281 | field_version: Version | |
280 | field_type: Type |
|
282 | field_type: Type | |
281 | field_host: HΓ΄te |
|
283 | field_host: HΓ΄te | |
282 | field_port: Port |
|
284 | field_port: Port | |
283 | field_account: Compte |
|
285 | field_account: Compte | |
284 | field_base_dn: Base DN |
|
286 | field_base_dn: Base DN | |
285 | field_attr_login: Attribut Identifiant |
|
287 | field_attr_login: Attribut Identifiant | |
286 | field_attr_firstname: Attribut PrΓ©nom |
|
288 | field_attr_firstname: Attribut PrΓ©nom | |
287 | field_attr_lastname: Attribut Nom |
|
289 | field_attr_lastname: Attribut Nom | |
288 | field_attr_mail: Attribut Email |
|
290 | field_attr_mail: Attribut Email | |
289 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e |
|
291 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e | |
290 | field_start_date: DΓ©but |
|
292 | field_start_date: DΓ©but | |
291 | field_done_ratio: "% rΓ©alisΓ©" |
|
293 | field_done_ratio: "% rΓ©alisΓ©" | |
292 | field_auth_source: Mode d'authentification |
|
294 | field_auth_source: Mode d'authentification | |
293 | field_hide_mail: Cacher mon adresse mail |
|
295 | field_hide_mail: Cacher mon adresse mail | |
294 | field_comments: Commentaire |
|
296 | field_comments: Commentaire | |
295 | field_url: URL |
|
297 | field_url: URL | |
296 | field_start_page: Page de dΓ©marrage |
|
298 | field_start_page: Page de dΓ©marrage | |
297 | field_subproject: Sous-projet |
|
299 | field_subproject: Sous-projet | |
298 | field_hours: Heures |
|
300 | field_hours: Heures | |
299 | field_activity: ActivitΓ© |
|
301 | field_activity: ActivitΓ© | |
300 | field_spent_on: Date |
|
302 | field_spent_on: Date | |
301 | field_identifier: Identifiant |
|
303 | field_identifier: Identifiant | |
302 | field_is_filter: UtilisΓ© comme filtre |
|
304 | field_is_filter: UtilisΓ© comme filtre | |
303 | field_issue_to: Demande liΓ©e |
|
305 | field_issue_to: Demande liΓ©e | |
304 | field_delay: Retard |
|
306 | field_delay: Retard | |
305 | field_assignable: Demandes assignables Γ ce rΓ΄le |
|
307 | field_assignable: Demandes assignables Γ ce rΓ΄le | |
306 | field_redirect_existing_links: Rediriger les liens existants |
|
308 | field_redirect_existing_links: Rediriger les liens existants | |
307 | field_estimated_hours: Temps estimΓ© |
|
309 | field_estimated_hours: Temps estimΓ© | |
308 | field_column_names: Colonnes |
|
310 | field_column_names: Colonnes | |
309 | field_time_zone: Fuseau horaire |
|
311 | field_time_zone: Fuseau horaire | |
310 | field_searchable: UtilisΓ© pour les recherches |
|
312 | field_searchable: UtilisΓ© pour les recherches | |
311 | field_default_value: Valeur par dΓ©faut |
|
313 | field_default_value: Valeur par dΓ©faut | |
312 | field_comments_sorting: Afficher les commentaires |
|
314 | field_comments_sorting: Afficher les commentaires | |
313 | field_parent_title: Page parent |
|
315 | field_parent_title: Page parent | |
314 | field_editable: Modifiable |
|
316 | field_editable: Modifiable | |
315 | field_watcher: Observateur |
|
317 | field_watcher: Observateur | |
316 | field_identity_url: URL OpenID |
|
318 | field_identity_url: URL OpenID | |
317 | field_content: Contenu |
|
319 | field_content: Contenu | |
318 | field_group_by: Grouper par |
|
320 | field_group_by: Grouper par | |
319 | field_sharing: Partage |
|
321 | field_sharing: Partage | |
320 | field_active: Actif |
|
322 | field_active: Actif | |
321 | field_parent_issue: TΓ’che parente |
|
323 | field_parent_issue: TΓ’che parente | |
322 | field_visible: Visible |
|
324 | field_visible: Visible | |
323 | field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©" |
|
325 | field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©" | |
324 | field_issues_visibility: VisibilitΓ© des demandes |
|
326 | field_issues_visibility: VisibilitΓ© des demandes | |
325 | field_is_private: PrivΓ©e |
|
327 | field_is_private: PrivΓ©e | |
326 | field_commit_logs_encoding: Encodage des messages de commit |
|
328 | field_commit_logs_encoding: Encodage des messages de commit | |
327 | field_repository_is_default: DΓ©pΓ΄t principal |
|
329 | field_repository_is_default: DΓ©pΓ΄t principal | |
328 | field_multiple: Valeurs multiples |
|
330 | field_multiple: Valeurs multiples | |
329 | field_auth_source_ldap_filter: Filtre LDAP |
|
331 | field_auth_source_ldap_filter: Filtre LDAP | |
330 | field_core_fields: Champs standards |
|
332 | field_core_fields: Champs standards | |
331 | field_timeout: "Timeout (en secondes)" |
|
333 | field_timeout: "Timeout (en secondes)" | |
332 | field_board_parent: Forum parent |
|
334 | field_board_parent: Forum parent | |
333 | field_private_notes: Notes privΓ©es |
|
335 | field_private_notes: Notes privΓ©es | |
334 | field_inherit_members: HΓ©riter les membres |
|
336 | field_inherit_members: HΓ©riter les membres | |
335 | field_generate_password: GΓ©nΓ©rer un mot de passe |
|
337 | field_generate_password: GΓ©nΓ©rer un mot de passe | |
336 |
|
338 | |||
337 | setting_app_title: Titre de l'application |
|
339 | setting_app_title: Titre de l'application | |
338 | setting_app_subtitle: Sous-titre de l'application |
|
340 | setting_app_subtitle: Sous-titre de l'application | |
339 | setting_welcome_text: Texte d'accueil |
|
341 | setting_welcome_text: Texte d'accueil | |
340 | setting_default_language: Langue par dΓ©faut |
|
342 | setting_default_language: Langue par dΓ©faut | |
341 | setting_login_required: Authentification obligatoire |
|
343 | setting_login_required: Authentification obligatoire | |
342 | setting_self_registration: Inscription des nouveaux utilisateurs |
|
344 | setting_self_registration: Inscription des nouveaux utilisateurs | |
343 | setting_attachment_max_size: Taille maximale des fichiers |
|
345 | setting_attachment_max_size: Taille maximale des fichiers | |
344 | setting_issues_export_limit: Limite d'exportation des demandes |
|
346 | setting_issues_export_limit: Limite d'exportation des demandes | |
345 | setting_mail_from: Adresse d'Γ©mission |
|
347 | setting_mail_from: Adresse d'Γ©mission | |
346 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) |
|
348 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) | |
347 | setting_plain_text_mail: Mail en texte brut (non HTML) |
|
349 | setting_plain_text_mail: Mail en texte brut (non HTML) | |
348 | setting_host_name: Nom d'hΓ΄te et chemin |
|
350 | setting_host_name: Nom d'hΓ΄te et chemin | |
349 | setting_text_formatting: Formatage du texte |
|
351 | setting_text_formatting: Formatage du texte | |
350 | setting_wiki_compression: Compression de l'historique des pages wiki |
|
352 | setting_wiki_compression: Compression de l'historique des pages wiki | |
351 | setting_feeds_limit: Nombre maximal d'Γ©lΓ©ments dans les flux Atom |
|
353 | setting_feeds_limit: Nombre maximal d'Γ©lΓ©ments dans les flux Atom | |
352 | setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut |
|
354 | setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut | |
353 | setting_autofetch_changesets: RΓ©cupΓ©ration automatique des commits |
|
355 | setting_autofetch_changesets: RΓ©cupΓ©ration automatique des commits | |
354 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts |
|
356 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts | |
355 | setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement |
|
357 | setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement | |
356 | setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution |
|
358 | setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution | |
357 | setting_autologin: DurΓ©e maximale de connexion automatique |
|
359 | setting_autologin: DurΓ©e maximale de connexion automatique | |
358 | setting_date_format: Format de date |
|
360 | setting_date_format: Format de date | |
359 | setting_time_format: Format d'heure |
|
361 | setting_time_format: Format d'heure | |
360 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets |
|
362 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets | |
361 | setting_cross_project_subtasks: Autoriser les sous-tΓ’ches dans des projets diffΓ©rents |
|
363 | setting_cross_project_subtasks: Autoriser les sous-tΓ’ches dans des projets diffΓ©rents | |
362 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes |
|
364 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes | |
363 | setting_emails_footer: Pied-de-page des emails |
|
365 | setting_emails_footer: Pied-de-page des emails | |
364 | setting_protocol: Protocole |
|
366 | setting_protocol: Protocole | |
365 | setting_per_page_options: Options d'objets affichΓ©s par page |
|
367 | setting_per_page_options: Options d'objets affichΓ©s par page | |
366 | setting_user_format: Format d'affichage des utilisateurs |
|
368 | setting_user_format: Format d'affichage des utilisateurs | |
367 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets |
|
369 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets | |
368 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux |
|
370 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux | |
369 | setting_enabled_scm: SCM activΓ©s |
|
371 | setting_enabled_scm: SCM activΓ©s | |
370 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" |
|
372 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" | |
371 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" |
|
373 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" | |
372 | setting_mail_handler_api_key: ClΓ© de protection de l'API |
|
374 | setting_mail_handler_api_key: ClΓ© de protection de l'API | |
373 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels |
|
375 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels | |
374 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs |
|
376 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs | |
375 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es |
|
377 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es | |
376 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne |
|
378 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne | |
377 | setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier" |
|
379 | setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier" | |
378 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" |
|
380 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" | |
379 | setting_password_min_length: Longueur minimum des mots de passe |
|
381 | setting_password_min_length: Longueur minimum des mots de passe | |
380 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet |
|
382 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet | |
381 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets |
|
383 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets | |
382 | setting_issue_done_ratio: Calcul de l'avancement des demandes |
|
384 | setting_issue_done_ratio: Calcul de l'avancement des demandes | |
383 | setting_issue_done_ratio_issue_status: Utiliser le statut |
|
385 | setting_issue_done_ratio_issue_status: Utiliser le statut | |
384 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' |
|
386 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' | |
385 | setting_rest_api_enabled: Activer l'API REST |
|
387 | setting_rest_api_enabled: Activer l'API REST | |
386 | setting_gravatar_default: Image Gravatar par dΓ©faut |
|
388 | setting_gravatar_default: Image Gravatar par dΓ©faut | |
387 | setting_start_of_week: Jour de dΓ©but des calendriers |
|
389 | setting_start_of_week: Jour de dΓ©but des calendriers | |
388 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© |
|
390 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© | |
389 | setting_commit_logtime_enabled: Permettre la saisie de temps |
|
391 | setting_commit_logtime_enabled: Permettre la saisie de temps | |
390 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi |
|
392 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi | |
391 | setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt |
|
393 | setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt | |
392 | setting_issue_group_assignment: Permettre l'assignement des demandes aux groupes |
|
394 | setting_issue_group_assignment: Permettre l'assignement des demandes aux groupes | |
393 | setting_default_issue_start_date_to_creation_date: Donner Γ la date de dΓ©but d'une nouvelle demande la valeur de la date du jour |
|
395 | setting_default_issue_start_date_to_creation_date: Donner Γ la date de dΓ©but d'une nouvelle demande la valeur de la date du jour | |
394 | setting_commit_cross_project_ref: Permettre le rΓ©fΓ©rencement et la rΓ©solution des demandes de tous les autres projets |
|
396 | setting_commit_cross_project_ref: Permettre le rΓ©fΓ©rencement et la rΓ©solution des demandes de tous les autres projets | |
395 | setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte |
|
397 | setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte | |
396 | setting_session_lifetime: DurΓ©e de vie maximale des sessions |
|
398 | setting_session_lifetime: DurΓ©e de vie maximale des sessions | |
397 | setting_session_timeout: DurΓ©e maximale d'inactivitΓ© |
|
399 | setting_session_timeout: DurΓ©e maximale d'inactivitΓ© | |
398 | setting_thumbnails_enabled: Afficher les vignettes des images |
|
400 | setting_thumbnails_enabled: Afficher les vignettes des images | |
399 | setting_thumbnails_size: Taille des vignettes (en pixels) |
|
401 | setting_thumbnails_size: Taille des vignettes (en pixels) | |
400 | setting_non_working_week_days: Jours non travaillΓ©s |
|
402 | setting_non_working_week_days: Jours non travaillΓ©s | |
401 | setting_jsonp_enabled: Activer le support JSONP |
|
403 | setting_jsonp_enabled: Activer le support JSONP | |
402 | setting_default_projects_tracker_ids: Trackers par dΓ©faut pour les nouveaux projets |
|
404 | setting_default_projects_tracker_ids: Trackers par dΓ©faut pour les nouveaux projets | |
403 |
|
405 | |||
404 | permission_add_project: CrΓ©er un projet |
|
406 | permission_add_project: CrΓ©er un projet | |
405 | permission_add_subprojects: CrΓ©er des sous-projets |
|
407 | permission_add_subprojects: CrΓ©er des sous-projets | |
406 | permission_edit_project: Modifier le projet |
|
408 | permission_edit_project: Modifier le projet | |
407 | permission_close_project: Fermer / rΓ©ouvrir le projet |
|
409 | permission_close_project: Fermer / rΓ©ouvrir le projet | |
408 | permission_select_project_modules: Choisir les modules |
|
410 | permission_select_project_modules: Choisir les modules | |
409 | permission_manage_members: GΓ©rer les membres |
|
411 | permission_manage_members: GΓ©rer les membres | |
410 | permission_manage_versions: GΓ©rer les versions |
|
412 | permission_manage_versions: GΓ©rer les versions | |
411 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes |
|
413 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes | |
412 | permission_view_issues: Voir les demandes |
|
414 | permission_view_issues: Voir les demandes | |
413 | permission_add_issues: CrΓ©er des demandes |
|
415 | permission_add_issues: CrΓ©er des demandes | |
414 | permission_edit_issues: Modifier les demandes |
|
416 | permission_edit_issues: Modifier les demandes | |
415 | permission_manage_issue_relations: GΓ©rer les relations |
|
417 | permission_manage_issue_relations: GΓ©rer les relations | |
416 | permission_set_issues_private: Rendre les demandes publiques ou privΓ©es |
|
418 | permission_set_issues_private: Rendre les demandes publiques ou privΓ©es | |
417 | permission_set_own_issues_private: Rendre ses propres demandes publiques ou privΓ©es |
|
419 | permission_set_own_issues_private: Rendre ses propres demandes publiques ou privΓ©es | |
418 | permission_add_issue_notes: Ajouter des notes |
|
420 | permission_add_issue_notes: Ajouter des notes | |
419 | permission_edit_issue_notes: Modifier les notes |
|
421 | permission_edit_issue_notes: Modifier les notes | |
420 | permission_edit_own_issue_notes: Modifier ses propres notes |
|
422 | permission_edit_own_issue_notes: Modifier ses propres notes | |
421 | permission_view_private_notes: Voir les notes privΓ©es |
|
423 | permission_view_private_notes: Voir les notes privΓ©es | |
422 | permission_set_notes_private: Rendre les notes privΓ©es |
|
424 | permission_set_notes_private: Rendre les notes privΓ©es | |
423 | permission_move_issues: DΓ©placer les demandes |
|
425 | permission_move_issues: DΓ©placer les demandes | |
424 | permission_delete_issues: Supprimer les demandes |
|
426 | permission_delete_issues: Supprimer les demandes | |
425 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques |
|
427 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques | |
426 | permission_save_queries: Sauvegarder les requΓͺtes |
|
428 | permission_save_queries: Sauvegarder les requΓͺtes | |
427 | permission_view_gantt: Voir le gantt |
|
429 | permission_view_gantt: Voir le gantt | |
428 | permission_view_calendar: Voir le calendrier |
|
430 | permission_view_calendar: Voir le calendrier | |
429 | permission_view_issue_watchers: Voir la liste des observateurs |
|
431 | permission_view_issue_watchers: Voir la liste des observateurs | |
430 | permission_add_issue_watchers: Ajouter des observateurs |
|
432 | permission_add_issue_watchers: Ajouter des observateurs | |
431 | permission_delete_issue_watchers: Supprimer des observateurs |
|
433 | permission_delete_issue_watchers: Supprimer des observateurs | |
432 | permission_log_time: Saisir le temps passΓ© |
|
434 | permission_log_time: Saisir le temps passΓ© | |
433 | permission_view_time_entries: Voir le temps passΓ© |
|
435 | permission_view_time_entries: Voir le temps passΓ© | |
434 | permission_edit_time_entries: Modifier les temps passΓ©s |
|
436 | permission_edit_time_entries: Modifier les temps passΓ©s | |
435 | permission_edit_own_time_entries: Modifier son propre temps passΓ© |
|
437 | permission_edit_own_time_entries: Modifier son propre temps passΓ© | |
436 | permission_manage_news: GΓ©rer les annonces |
|
438 | permission_manage_news: GΓ©rer les annonces | |
437 | permission_comment_news: Commenter les annonces |
|
439 | permission_comment_news: Commenter les annonces | |
438 | permission_view_documents: Voir les documents |
|
440 | permission_view_documents: Voir les documents | |
439 | permission_add_documents: Ajouter des documents |
|
441 | permission_add_documents: Ajouter des documents | |
440 | permission_edit_documents: Modifier les documents |
|
442 | permission_edit_documents: Modifier les documents | |
441 | permission_delete_documents: Supprimer les documents |
|
443 | permission_delete_documents: Supprimer les documents | |
442 | permission_manage_files: GΓ©rer les fichiers |
|
444 | permission_manage_files: GΓ©rer les fichiers | |
443 | permission_view_files: Voir les fichiers |
|
445 | permission_view_files: Voir les fichiers | |
444 | permission_manage_wiki: GΓ©rer le wiki |
|
446 | permission_manage_wiki: GΓ©rer le wiki | |
445 | permission_rename_wiki_pages: Renommer les pages |
|
447 | permission_rename_wiki_pages: Renommer les pages | |
446 | permission_delete_wiki_pages: Supprimer les pages |
|
448 | permission_delete_wiki_pages: Supprimer les pages | |
447 | permission_view_wiki_pages: Voir le wiki |
|
449 | permission_view_wiki_pages: Voir le wiki | |
448 | permission_view_wiki_edits: "Voir l'historique des modifications" |
|
450 | permission_view_wiki_edits: "Voir l'historique des modifications" | |
449 | permission_edit_wiki_pages: Modifier les pages |
|
451 | permission_edit_wiki_pages: Modifier les pages | |
450 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints |
|
452 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints | |
451 | permission_protect_wiki_pages: ProtΓ©ger les pages |
|
453 | permission_protect_wiki_pages: ProtΓ©ger les pages | |
452 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources |
|
454 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources | |
453 | permission_browse_repository: Parcourir les sources |
|
455 | permission_browse_repository: Parcourir les sources | |
454 | permission_view_changesets: Voir les rΓ©visions |
|
456 | permission_view_changesets: Voir les rΓ©visions | |
455 | permission_commit_access: Droit de commit |
|
457 | permission_commit_access: Droit de commit | |
456 | permission_manage_boards: GΓ©rer les forums |
|
458 | permission_manage_boards: GΓ©rer les forums | |
457 | permission_view_messages: Voir les messages |
|
459 | permission_view_messages: Voir les messages | |
458 | permission_add_messages: Poster un message |
|
460 | permission_add_messages: Poster un message | |
459 | permission_edit_messages: Modifier les messages |
|
461 | permission_edit_messages: Modifier les messages | |
460 | permission_edit_own_messages: Modifier ses propres messages |
|
462 | permission_edit_own_messages: Modifier ses propres messages | |
461 | permission_delete_messages: Supprimer les messages |
|
463 | permission_delete_messages: Supprimer les messages | |
462 | permission_delete_own_messages: Supprimer ses propres messages |
|
464 | permission_delete_own_messages: Supprimer ses propres messages | |
463 | permission_export_wiki_pages: Exporter les pages |
|
465 | permission_export_wiki_pages: Exporter les pages | |
464 | permission_manage_project_activities: GΓ©rer les activitΓ©s |
|
466 | permission_manage_project_activities: GΓ©rer les activitΓ©s | |
465 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches |
|
467 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches | |
466 | permission_manage_related_issues: GΓ©rer les demandes associΓ©es |
|
468 | permission_manage_related_issues: GΓ©rer les demandes associΓ©es | |
467 |
|
469 | |||
468 | project_module_issue_tracking: Suivi des demandes |
|
470 | project_module_issue_tracking: Suivi des demandes | |
469 | project_module_time_tracking: Suivi du temps passΓ© |
|
471 | project_module_time_tracking: Suivi du temps passΓ© | |
470 | project_module_news: Publication d'annonces |
|
472 | project_module_news: Publication d'annonces | |
471 | project_module_documents: Publication de documents |
|
473 | project_module_documents: Publication de documents | |
472 | project_module_files: Publication de fichiers |
|
474 | project_module_files: Publication de fichiers | |
473 | project_module_wiki: Wiki |
|
475 | project_module_wiki: Wiki | |
474 | project_module_repository: DΓ©pΓ΄t de sources |
|
476 | project_module_repository: DΓ©pΓ΄t de sources | |
475 | project_module_boards: Forums de discussion |
|
477 | project_module_boards: Forums de discussion | |
476 |
|
478 | |||
477 | label_user: Utilisateur |
|
479 | label_user: Utilisateur | |
478 | label_user_plural: Utilisateurs |
|
480 | label_user_plural: Utilisateurs | |
479 | label_user_new: Nouvel utilisateur |
|
481 | label_user_new: Nouvel utilisateur | |
480 | label_user_anonymous: Anonyme |
|
482 | label_user_anonymous: Anonyme | |
481 | label_project: Projet |
|
483 | label_project: Projet | |
482 | label_project_new: Nouveau projet |
|
484 | label_project_new: Nouveau projet | |
483 | label_project_plural: Projets |
|
485 | label_project_plural: Projets | |
484 | label_x_projects: |
|
486 | label_x_projects: | |
485 | zero: aucun projet |
|
487 | zero: aucun projet | |
486 | one: un projet |
|
488 | one: un projet | |
487 | other: "%{count} projets" |
|
489 | other: "%{count} projets" | |
488 | label_project_all: Tous les projets |
|
490 | label_project_all: Tous les projets | |
489 | label_project_latest: Derniers projets |
|
491 | label_project_latest: Derniers projets | |
490 | label_issue: Demande |
|
492 | label_issue: Demande | |
491 | label_issue_new: Nouvelle demande |
|
493 | label_issue_new: Nouvelle demande | |
492 | label_issue_plural: Demandes |
|
494 | label_issue_plural: Demandes | |
493 | label_issue_view_all: Voir toutes les demandes |
|
495 | label_issue_view_all: Voir toutes les demandes | |
494 | label_issue_added: Demande ajoutΓ©e |
|
496 | label_issue_added: Demande ajoutΓ©e | |
495 | label_issue_updated: Demande mise Γ jour |
|
497 | label_issue_updated: Demande mise Γ jour | |
496 | label_issue_note_added: Note ajoutΓ©e |
|
498 | label_issue_note_added: Note ajoutΓ©e | |
497 | label_issue_status_updated: Statut changΓ© |
|
499 | label_issue_status_updated: Statut changΓ© | |
498 | label_issue_priority_updated: PrioritΓ© changΓ©e |
|
500 | label_issue_priority_updated: PrioritΓ© changΓ©e | |
499 | label_issues_by: "Demandes par %{value}" |
|
501 | label_issues_by: "Demandes par %{value}" | |
500 | label_document: Document |
|
502 | label_document: Document | |
501 | label_document_new: Nouveau document |
|
503 | label_document_new: Nouveau document | |
502 | label_document_plural: Documents |
|
504 | label_document_plural: Documents | |
503 | label_document_added: Document ajoutΓ© |
|
505 | label_document_added: Document ajoutΓ© | |
504 | label_role: RΓ΄le |
|
506 | label_role: RΓ΄le | |
505 | label_role_plural: RΓ΄les |
|
507 | label_role_plural: RΓ΄les | |
506 | label_role_new: Nouveau rΓ΄le |
|
508 | label_role_new: Nouveau rΓ΄le | |
507 | label_role_and_permissions: RΓ΄les et permissions |
|
509 | label_role_and_permissions: RΓ΄les et permissions | |
508 | label_role_anonymous: Anonyme |
|
510 | label_role_anonymous: Anonyme | |
509 | label_role_non_member: Non membre |
|
511 | label_role_non_member: Non membre | |
510 | label_member: Membre |
|
512 | label_member: Membre | |
511 | label_member_new: Nouveau membre |
|
513 | label_member_new: Nouveau membre | |
512 | label_member_plural: Membres |
|
514 | label_member_plural: Membres | |
513 | label_tracker: Tracker |
|
515 | label_tracker: Tracker | |
514 | label_tracker_plural: Trackers |
|
516 | label_tracker_plural: Trackers | |
515 | label_tracker_new: Nouveau tracker |
|
517 | label_tracker_new: Nouveau tracker | |
516 | label_workflow: Workflow |
|
518 | label_workflow: Workflow | |
517 | label_issue_status: Statut de demandes |
|
519 | label_issue_status: Statut de demandes | |
518 | label_issue_status_plural: Statuts de demandes |
|
520 | label_issue_status_plural: Statuts de demandes | |
519 | label_issue_status_new: Nouveau statut |
|
521 | label_issue_status_new: Nouveau statut | |
520 | label_issue_category: CatΓ©gorie de demandes |
|
522 | label_issue_category: CatΓ©gorie de demandes | |
521 | label_issue_category_plural: CatΓ©gories de demandes |
|
523 | label_issue_category_plural: CatΓ©gories de demandes | |
522 | label_issue_category_new: Nouvelle catΓ©gorie |
|
524 | label_issue_category_new: Nouvelle catΓ©gorie | |
523 | label_custom_field: Champ personnalisΓ© |
|
525 | label_custom_field: Champ personnalisΓ© | |
524 | label_custom_field_plural: Champs personnalisΓ©s |
|
526 | label_custom_field_plural: Champs personnalisΓ©s | |
525 | label_custom_field_new: Nouveau champ personnalisΓ© |
|
527 | label_custom_field_new: Nouveau champ personnalisΓ© | |
526 | label_enumerations: Listes de valeurs |
|
528 | label_enumerations: Listes de valeurs | |
527 | label_enumeration_new: Nouvelle valeur |
|
529 | label_enumeration_new: Nouvelle valeur | |
528 | label_information: Information |
|
530 | label_information: Information | |
529 | label_information_plural: Informations |
|
531 | label_information_plural: Informations | |
530 | label_please_login: Identification |
|
532 | label_please_login: Identification | |
531 | label_register: S'enregistrer |
|
533 | label_register: S'enregistrer | |
532 | label_login_with_open_id_option: S'authentifier avec OpenID |
|
534 | label_login_with_open_id_option: S'authentifier avec OpenID | |
533 | label_password_lost: Mot de passe perdu |
|
535 | label_password_lost: Mot de passe perdu | |
534 | label_home: Accueil |
|
536 | label_home: Accueil | |
535 | label_my_page: Ma page |
|
537 | label_my_page: Ma page | |
536 | label_my_account: Mon compte |
|
538 | label_my_account: Mon compte | |
537 | label_my_projects: Mes projets |
|
539 | label_my_projects: Mes projets | |
538 | label_my_page_block: Blocs disponibles |
|
540 | label_my_page_block: Blocs disponibles | |
539 | label_administration: Administration |
|
541 | label_administration: Administration | |
540 | label_login: Connexion |
|
542 | label_login: Connexion | |
541 | label_logout: DΓ©connexion |
|
543 | label_logout: DΓ©connexion | |
542 | label_help: Aide |
|
544 | label_help: Aide | |
543 | label_reported_issues: "Demandes soumises " |
|
545 | label_reported_issues: "Demandes soumises " | |
544 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es |
|
546 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es | |
545 | label_last_login: "Dernière connexion " |
|
547 | label_last_login: "Dernière connexion " | |
546 | label_registered_on: "Inscrit le " |
|
548 | label_registered_on: "Inscrit le " | |
547 | label_activity: ActivitΓ© |
|
549 | label_activity: ActivitΓ© | |
548 | label_overall_activity: ActivitΓ© globale |
|
550 | label_overall_activity: ActivitΓ© globale | |
549 | label_user_activity: "ActivitΓ© de %{value}" |
|
551 | label_user_activity: "ActivitΓ© de %{value}" | |
550 | label_new: Nouveau |
|
552 | label_new: Nouveau | |
551 | label_logged_as: ConnectΓ© en tant que |
|
553 | label_logged_as: ConnectΓ© en tant que | |
552 | label_environment: Environnement |
|
554 | label_environment: Environnement | |
553 | label_authentication: Authentification |
|
555 | label_authentication: Authentification | |
554 | label_auth_source: Mode d'authentification |
|
556 | label_auth_source: Mode d'authentification | |
555 | label_auth_source_new: Nouveau mode d'authentification |
|
557 | label_auth_source_new: Nouveau mode d'authentification | |
556 | label_auth_source_plural: Modes d'authentification |
|
558 | label_auth_source_plural: Modes d'authentification | |
557 | label_subproject_plural: Sous-projets |
|
559 | label_subproject_plural: Sous-projets | |
558 | label_subproject_new: Nouveau sous-projet |
|
560 | label_subproject_new: Nouveau sous-projet | |
559 | label_and_its_subprojects: "%{value} et ses sous-projets" |
|
561 | label_and_its_subprojects: "%{value} et ses sous-projets" | |
560 | label_min_max_length: Longueurs mini - maxi |
|
562 | label_min_max_length: Longueurs mini - maxi | |
561 | label_list: Liste |
|
563 | label_list: Liste | |
562 | label_date: Date |
|
564 | label_date: Date | |
563 | label_integer: Entier |
|
565 | label_integer: Entier | |
564 | label_float: Nombre dΓ©cimal |
|
566 | label_float: Nombre dΓ©cimal | |
565 | label_boolean: BoolΓ©en |
|
567 | label_boolean: BoolΓ©en | |
566 | label_string: Texte |
|
568 | label_string: Texte | |
567 | label_text: Texte long |
|
569 | label_text: Texte long | |
568 | label_attribute: Attribut |
|
570 | label_attribute: Attribut | |
569 | label_attribute_plural: Attributs |
|
571 | label_attribute_plural: Attributs | |
570 | label_no_data: Aucune donnΓ©e Γ afficher |
|
572 | label_no_data: Aucune donnΓ©e Γ afficher | |
571 | label_change_status: Changer le statut |
|
573 | label_change_status: Changer le statut | |
572 | label_history: Historique |
|
574 | label_history: Historique | |
573 | label_attachment: Fichier |
|
575 | label_attachment: Fichier | |
574 | label_attachment_new: Nouveau fichier |
|
576 | label_attachment_new: Nouveau fichier | |
575 | label_attachment_delete: Supprimer le fichier |
|
577 | label_attachment_delete: Supprimer le fichier | |
576 | label_attachment_plural: Fichiers |
|
578 | label_attachment_plural: Fichiers | |
577 | label_file_added: Fichier ajoutΓ© |
|
579 | label_file_added: Fichier ajoutΓ© | |
578 | label_report: Rapport |
|
580 | label_report: Rapport | |
579 | label_report_plural: Rapports |
|
581 | label_report_plural: Rapports | |
580 | label_news: Annonce |
|
582 | label_news: Annonce | |
581 | label_news_new: Nouvelle annonce |
|
583 | label_news_new: Nouvelle annonce | |
582 | label_news_plural: Annonces |
|
584 | label_news_plural: Annonces | |
583 | label_news_latest: Dernières annonces |
|
585 | label_news_latest: Dernières annonces | |
584 | label_news_view_all: Voir toutes les annonces |
|
586 | label_news_view_all: Voir toutes les annonces | |
585 | label_news_added: Annonce ajoutΓ©e |
|
587 | label_news_added: Annonce ajoutΓ©e | |
586 | label_news_comment_added: Commentaire ajoutΓ© Γ une annonce |
|
588 | label_news_comment_added: Commentaire ajoutΓ© Γ une annonce | |
587 | label_settings: Configuration |
|
589 | label_settings: Configuration | |
588 | label_overview: AperΓ§u |
|
590 | label_overview: AperΓ§u | |
589 | label_version: Version |
|
591 | label_version: Version | |
590 | label_version_new: Nouvelle version |
|
592 | label_version_new: Nouvelle version | |
591 | label_version_plural: Versions |
|
593 | label_version_plural: Versions | |
592 | label_confirmation: Confirmation |
|
594 | label_confirmation: Confirmation | |
593 | label_export_to: 'Formats disponibles :' |
|
595 | label_export_to: 'Formats disponibles :' | |
594 | label_read: Lire... |
|
596 | label_read: Lire... | |
595 | label_public_projects: Projets publics |
|
597 | label_public_projects: Projets publics | |
596 | label_open_issues: ouvert |
|
598 | label_open_issues: ouvert | |
597 | label_open_issues_plural: ouverts |
|
599 | label_open_issues_plural: ouverts | |
598 | label_closed_issues: fermΓ© |
|
600 | label_closed_issues: fermΓ© | |
599 | label_closed_issues_plural: fermΓ©s |
|
601 | label_closed_issues_plural: fermΓ©s | |
600 | label_x_open_issues_abbr_on_total: |
|
602 | label_x_open_issues_abbr_on_total: | |
601 | zero: 0 ouverte sur %{total} |
|
603 | zero: 0 ouverte sur %{total} | |
602 | one: 1 ouverte sur %{total} |
|
604 | one: 1 ouverte sur %{total} | |
603 | other: "%{count} ouvertes sur %{total}" |
|
605 | other: "%{count} ouvertes sur %{total}" | |
604 | label_x_open_issues_abbr: |
|
606 | label_x_open_issues_abbr: | |
605 | zero: 0 ouverte |
|
607 | zero: 0 ouverte | |
606 | one: 1 ouverte |
|
608 | one: 1 ouverte | |
607 | other: "%{count} ouvertes" |
|
609 | other: "%{count} ouvertes" | |
608 | label_x_closed_issues_abbr: |
|
610 | label_x_closed_issues_abbr: | |
609 | zero: 0 fermΓ©e |
|
611 | zero: 0 fermΓ©e | |
610 | one: 1 fermΓ©e |
|
612 | one: 1 fermΓ©e | |
611 | other: "%{count} fermΓ©es" |
|
613 | other: "%{count} fermΓ©es" | |
612 | label_x_issues: |
|
614 | label_x_issues: | |
613 | zero: 0 demande |
|
615 | zero: 0 demande | |
614 | one: 1 demande |
|
616 | one: 1 demande | |
615 | other: "%{count} demandes" |
|
617 | other: "%{count} demandes" | |
616 | label_total: Total |
|
618 | label_total: Total | |
617 | label_total_time: Temps total |
|
619 | label_total_time: Temps total | |
618 | label_permissions: Permissions |
|
620 | label_permissions: Permissions | |
619 | label_current_status: Statut actuel |
|
621 | label_current_status: Statut actuel | |
620 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s |
|
622 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s | |
621 | label_all: tous |
|
623 | label_all: tous | |
622 | label_any: tous |
|
624 | label_any: tous | |
623 | label_none: aucun |
|
625 | label_none: aucun | |
624 | label_nobody: personne |
|
626 | label_nobody: personne | |
625 | label_next: Suivant |
|
627 | label_next: Suivant | |
626 | label_previous: PrΓ©cΓ©dent |
|
628 | label_previous: PrΓ©cΓ©dent | |
627 | label_used_by: UtilisΓ© par |
|
629 | label_used_by: UtilisΓ© par | |
628 | label_details: DΓ©tails |
|
630 | label_details: DΓ©tails | |
629 | label_add_note: Ajouter une note |
|
631 | label_add_note: Ajouter une note | |
630 | label_per_page: Par page |
|
632 | label_per_page: Par page | |
631 | label_calendar: Calendrier |
|
633 | label_calendar: Calendrier | |
632 | label_months_from: mois depuis |
|
634 | label_months_from: mois depuis | |
633 | label_gantt: Gantt |
|
635 | label_gantt: Gantt | |
634 | label_internal: Interne |
|
636 | label_internal: Interne | |
635 | label_last_changes: "%{count} derniers changements" |
|
637 | label_last_changes: "%{count} derniers changements" | |
636 | label_change_view_all: Voir tous les changements |
|
638 | label_change_view_all: Voir tous les changements | |
637 | label_personalize_page: Personnaliser cette page |
|
639 | label_personalize_page: Personnaliser cette page | |
638 | label_comment: Commentaire |
|
640 | label_comment: Commentaire | |
639 | label_comment_plural: Commentaires |
|
641 | label_comment_plural: Commentaires | |
640 | label_x_comments: |
|
642 | label_x_comments: | |
641 | zero: aucun commentaire |
|
643 | zero: aucun commentaire | |
642 | one: un commentaire |
|
644 | one: un commentaire | |
643 | other: "%{count} commentaires" |
|
645 | other: "%{count} commentaires" | |
644 | label_comment_add: Ajouter un commentaire |
|
646 | label_comment_add: Ajouter un commentaire | |
645 | label_comment_added: Commentaire ajoutΓ© |
|
647 | label_comment_added: Commentaire ajoutΓ© | |
646 | label_comment_delete: Supprimer les commentaires |
|
648 | label_comment_delete: Supprimer les commentaires | |
647 | label_query: Rapport personnalisΓ© |
|
649 | label_query: Rapport personnalisΓ© | |
648 | label_query_plural: Rapports personnalisΓ©s |
|
650 | label_query_plural: Rapports personnalisΓ©s | |
649 | label_query_new: Nouveau rapport |
|
651 | label_query_new: Nouveau rapport | |
650 | label_my_queries: Mes rapports personnalisΓ©s |
|
652 | label_my_queries: Mes rapports personnalisΓ©s | |
651 | label_filter_add: "Ajouter le filtre " |
|
653 | label_filter_add: "Ajouter le filtre " | |
652 | label_filter_plural: Filtres |
|
654 | label_filter_plural: Filtres | |
653 | label_equals: Γ©gal |
|
655 | label_equals: Γ©gal | |
654 | label_not_equals: diffΓ©rent |
|
656 | label_not_equals: diffΓ©rent | |
655 | label_in_less_than: dans moins de |
|
657 | label_in_less_than: dans moins de | |
656 | label_in_more_than: dans plus de |
|
658 | label_in_more_than: dans plus de | |
657 | label_in_the_next_days: dans les prochains jours |
|
659 | label_in_the_next_days: dans les prochains jours | |
658 | label_in_the_past_days: dans les derniers jours |
|
660 | label_in_the_past_days: dans les derniers jours | |
659 | label_in: dans |
|
661 | label_in: dans | |
660 | label_today: aujourd'hui |
|
662 | label_today: aujourd'hui | |
661 | label_all_time: toute la pΓ©riode |
|
663 | label_all_time: toute la pΓ©riode | |
662 | label_yesterday: hier |
|
664 | label_yesterday: hier | |
663 | label_this_week: cette semaine |
|
665 | label_this_week: cette semaine | |
664 | label_last_week: la semaine dernière |
|
666 | label_last_week: la semaine dernière | |
665 | label_last_n_weeks: "les %{count} dernières semaines" |
|
667 | label_last_n_weeks: "les %{count} dernières semaines" | |
666 | label_last_n_days: "les %{count} derniers jours" |
|
668 | label_last_n_days: "les %{count} derniers jours" | |
667 | label_this_month: ce mois-ci |
|
669 | label_this_month: ce mois-ci | |
668 | label_last_month: le mois dernier |
|
670 | label_last_month: le mois dernier | |
669 | label_this_year: cette annΓ©e |
|
671 | label_this_year: cette annΓ©e | |
670 | label_date_range: PΓ©riode |
|
672 | label_date_range: PΓ©riode | |
671 | label_less_than_ago: il y a moins de |
|
673 | label_less_than_ago: il y a moins de | |
672 | label_more_than_ago: il y a plus de |
|
674 | label_more_than_ago: il y a plus de | |
673 | label_ago: il y a |
|
675 | label_ago: il y a | |
674 | label_contains: contient |
|
676 | label_contains: contient | |
675 | label_not_contains: ne contient pas |
|
677 | label_not_contains: ne contient pas | |
676 | label_any_issues_in_project: une demande du projet |
|
678 | label_any_issues_in_project: une demande du projet | |
677 | label_any_issues_not_in_project: une demande hors du projet |
|
679 | label_any_issues_not_in_project: une demande hors du projet | |
678 | label_no_issues_in_project: aucune demande du projet |
|
680 | label_no_issues_in_project: aucune demande du projet | |
679 | label_day_plural: jours |
|
681 | label_day_plural: jours | |
680 | label_repository: DΓ©pΓ΄t |
|
682 | label_repository: DΓ©pΓ΄t | |
681 | label_repository_new: Nouveau dΓ©pΓ΄t |
|
683 | label_repository_new: Nouveau dΓ©pΓ΄t | |
682 | label_repository_plural: DΓ©pΓ΄ts |
|
684 | label_repository_plural: DΓ©pΓ΄ts | |
683 | label_browse: Parcourir |
|
685 | label_browse: Parcourir | |
684 | label_revision: "RΓ©vision " |
|
686 | label_revision: "RΓ©vision " | |
685 | label_revision_plural: RΓ©visions |
|
687 | label_revision_plural: RΓ©visions | |
686 | label_associated_revisions: RΓ©visions associΓ©es |
|
688 | label_associated_revisions: RΓ©visions associΓ©es | |
687 | label_added: ajoutΓ© |
|
689 | label_added: ajoutΓ© | |
688 | label_modified: modifiΓ© |
|
690 | label_modified: modifiΓ© | |
689 | label_copied: copiΓ© |
|
691 | label_copied: copiΓ© | |
690 | label_renamed: renommΓ© |
|
692 | label_renamed: renommΓ© | |
691 | label_deleted: supprimΓ© |
|
693 | label_deleted: supprimΓ© | |
692 | label_latest_revision: Dernière révision |
|
694 | label_latest_revision: Dernière révision | |
693 | label_latest_revision_plural: Dernières révisions |
|
695 | label_latest_revision_plural: Dernières révisions | |
694 | label_view_revisions: Voir les rΓ©visions |
|
696 | label_view_revisions: Voir les rΓ©visions | |
695 | label_max_size: Taille maximale |
|
697 | label_max_size: Taille maximale | |
696 | label_sort_highest: Remonter en premier |
|
698 | label_sort_highest: Remonter en premier | |
697 | label_sort_higher: Remonter |
|
699 | label_sort_higher: Remonter | |
698 | label_sort_lower: Descendre |
|
700 | label_sort_lower: Descendre | |
699 | label_sort_lowest: Descendre en dernier |
|
701 | label_sort_lowest: Descendre en dernier | |
700 | label_roadmap: Roadmap |
|
702 | label_roadmap: Roadmap | |
701 | label_roadmap_due_in: "ΓchΓ©ance dans %{value}" |
|
703 | label_roadmap_due_in: "ΓchΓ©ance dans %{value}" | |
702 | label_roadmap_overdue: "En retard de %{value}" |
|
704 | label_roadmap_overdue: "En retard de %{value}" | |
703 | label_roadmap_no_issues: Aucune demande pour cette version |
|
705 | label_roadmap_no_issues: Aucune demande pour cette version | |
704 | label_search: "Recherche " |
|
706 | label_search: "Recherche " | |
705 | label_result_plural: RΓ©sultats |
|
707 | label_result_plural: RΓ©sultats | |
706 | label_all_words: Tous les mots |
|
708 | label_all_words: Tous les mots | |
707 | label_wiki: Wiki |
|
709 | label_wiki: Wiki | |
708 | label_wiki_edit: RΓ©vision wiki |
|
710 | label_wiki_edit: RΓ©vision wiki | |
709 | label_wiki_edit_plural: RΓ©visions wiki |
|
711 | label_wiki_edit_plural: RΓ©visions wiki | |
710 | label_wiki_page: Page wiki |
|
712 | label_wiki_page: Page wiki | |
711 | label_wiki_page_plural: Pages wiki |
|
713 | label_wiki_page_plural: Pages wiki | |
712 | label_index_by_title: Index par titre |
|
714 | label_index_by_title: Index par titre | |
713 | label_index_by_date: Index par date |
|
715 | label_index_by_date: Index par date | |
714 | label_current_version: Version actuelle |
|
716 | label_current_version: Version actuelle | |
715 | label_preview: PrΓ©visualisation |
|
717 | label_preview: PrΓ©visualisation | |
716 | label_feed_plural: Flux Atom |
|
718 | label_feed_plural: Flux Atom | |
717 | label_changes_details: DΓ©tails de tous les changements |
|
719 | label_changes_details: DΓ©tails de tous les changements | |
718 | label_issue_tracking: Suivi des demandes |
|
720 | label_issue_tracking: Suivi des demandes | |
719 | label_spent_time: Temps passΓ© |
|
721 | label_spent_time: Temps passΓ© | |
720 | label_f_hour: "%{value} heure" |
|
722 | label_f_hour: "%{value} heure" | |
721 | label_f_hour_plural: "%{value} heures" |
|
723 | label_f_hour_plural: "%{value} heures" | |
722 | label_time_tracking: Suivi du temps |
|
724 | label_time_tracking: Suivi du temps | |
723 | label_change_plural: Changements |
|
725 | label_change_plural: Changements | |
724 | label_statistics: Statistiques |
|
726 | label_statistics: Statistiques | |
725 | label_commits_per_month: Commits par mois |
|
727 | label_commits_per_month: Commits par mois | |
726 | label_commits_per_author: Commits par auteur |
|
728 | label_commits_per_author: Commits par auteur | |
727 | label_view_diff: Voir les diffΓ©rences |
|
729 | label_view_diff: Voir les diffΓ©rences | |
728 | label_diff_inline: en ligne |
|
730 | label_diff_inline: en ligne | |
729 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te |
|
731 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te | |
730 | label_options: Options |
|
732 | label_options: Options | |
731 | label_copy_workflow_from: Copier le workflow de |
|
733 | label_copy_workflow_from: Copier le workflow de | |
732 | label_permissions_report: Synthèse des permissions |
|
734 | label_permissions_report: Synthèse des permissions | |
733 | label_watched_issues: Demandes surveillΓ©es |
|
735 | label_watched_issues: Demandes surveillΓ©es | |
734 | label_related_issues: Demandes liΓ©es |
|
736 | label_related_issues: Demandes liΓ©es | |
735 | label_applied_status: Statut appliquΓ© |
|
737 | label_applied_status: Statut appliquΓ© | |
736 | label_loading: Chargement... |
|
738 | label_loading: Chargement... | |
737 | label_relation_new: Nouvelle relation |
|
739 | label_relation_new: Nouvelle relation | |
738 | label_relation_delete: Supprimer la relation |
|
740 | label_relation_delete: Supprimer la relation | |
739 | label_relates_to: LiΓ© Γ |
|
741 | label_relates_to: LiΓ© Γ | |
740 | label_duplicates: Duplique |
|
742 | label_duplicates: Duplique | |
741 | label_duplicated_by: DupliquΓ© par |
|
743 | label_duplicated_by: DupliquΓ© par | |
742 | label_blocks: Bloque |
|
744 | label_blocks: Bloque | |
743 | label_blocked_by: BloquΓ© par |
|
745 | label_blocked_by: BloquΓ© par | |
744 | label_precedes: Précède |
|
746 | label_precedes: Précède | |
745 | label_follows: Suit |
|
747 | label_follows: Suit | |
746 | label_copied_to: CopiΓ© vers |
|
748 | label_copied_to: CopiΓ© vers | |
747 | label_copied_from: CopiΓ© depuis |
|
749 | label_copied_from: CopiΓ© depuis | |
748 | label_end_to_start: fin Γ dΓ©but |
|
750 | label_end_to_start: fin Γ dΓ©but | |
749 | label_end_to_end: fin Γ fin |
|
751 | label_end_to_end: fin Γ fin | |
750 | label_start_to_start: dΓ©but Γ dΓ©but |
|
752 | label_start_to_start: dΓ©but Γ dΓ©but | |
751 | label_start_to_end: dΓ©but Γ fin |
|
753 | label_start_to_end: dΓ©but Γ fin | |
752 | label_stay_logged_in: Rester connectΓ© |
|
754 | label_stay_logged_in: Rester connectΓ© | |
753 | label_disabled: dΓ©sactivΓ© |
|
755 | label_disabled: dΓ©sactivΓ© | |
754 | label_show_completed_versions: Voir les versions passΓ©es |
|
756 | label_show_completed_versions: Voir les versions passΓ©es | |
755 | label_me: moi |
|
757 | label_me: moi | |
756 | label_board: Forum |
|
758 | label_board: Forum | |
757 | label_board_new: Nouveau forum |
|
759 | label_board_new: Nouveau forum | |
758 | label_board_plural: Forums |
|
760 | label_board_plural: Forums | |
759 | label_topic_plural: Discussions |
|
761 | label_topic_plural: Discussions | |
760 | label_message_plural: Messages |
|
762 | label_message_plural: Messages | |
761 | label_message_last: Dernier message |
|
763 | label_message_last: Dernier message | |
762 | label_message_new: Nouveau message |
|
764 | label_message_new: Nouveau message | |
763 | label_message_posted: Message ajoutΓ© |
|
765 | label_message_posted: Message ajoutΓ© | |
764 | label_reply_plural: RΓ©ponses |
|
766 | label_reply_plural: RΓ©ponses | |
765 | label_send_information: Envoyer les informations Γ l'utilisateur |
|
767 | label_send_information: Envoyer les informations Γ l'utilisateur | |
766 | label_year: AnnΓ©e |
|
768 | label_year: AnnΓ©e | |
767 | label_month: Mois |
|
769 | label_month: Mois | |
768 | label_week: Semaine |
|
770 | label_week: Semaine | |
769 | label_date_from: Du |
|
771 | label_date_from: Du | |
770 | label_date_to: Au |
|
772 | label_date_to: Au | |
771 | label_language_based: BasΓ© sur la langue de l'utilisateur |
|
773 | label_language_based: BasΓ© sur la langue de l'utilisateur | |
772 | label_sort_by: "Trier par %{value}" |
|
774 | label_sort_by: "Trier par %{value}" | |
773 | label_send_test_email: Envoyer un email de test |
|
775 | label_send_test_email: Envoyer un email de test | |
774 | label_feeds_access_key_created_on: "Clé d'accès Atom créée il y a %{value}" |
|
776 | label_feeds_access_key_created_on: "Clé d'accès Atom créée il y a %{value}" | |
775 | label_module_plural: Modules |
|
777 | label_module_plural: Modules | |
776 | label_added_time_by: "AjoutΓ© par %{author} il y a %{age}" |
|
778 | label_added_time_by: "AjoutΓ© par %{author} il y a %{age}" | |
777 | label_updated_time_by: "Mis Γ jour par %{author} il y a %{age}" |
|
779 | label_updated_time_by: "Mis Γ jour par %{author} il y a %{age}" | |
778 | label_updated_time: "Mis Γ jour il y a %{value}" |
|
780 | label_updated_time: "Mis Γ jour il y a %{value}" | |
779 | label_jump_to_a_project: Aller Γ un projet... |
|
781 | label_jump_to_a_project: Aller Γ un projet... | |
780 | label_file_plural: Fichiers |
|
782 | label_file_plural: Fichiers | |
781 | label_changeset_plural: RΓ©visions |
|
783 | label_changeset_plural: RΓ©visions | |
782 | label_default_columns: Colonnes par dΓ©faut |
|
784 | label_default_columns: Colonnes par dΓ©faut | |
783 | label_no_change_option: (Pas de changement) |
|
785 | label_no_change_option: (Pas de changement) | |
784 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es |
|
786 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es | |
785 | label_theme: Thème |
|
787 | label_theme: Thème | |
786 | label_default: DΓ©faut |
|
788 | label_default: DΓ©faut | |
787 | label_search_titles_only: Uniquement dans les titres |
|
789 | label_search_titles_only: Uniquement dans les titres | |
788 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" |
|
790 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" | |
789 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." |
|
791 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." | |
790 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" |
|
792 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" | |
791 | label_registration_activation_by_email: activation du compte par email |
|
793 | label_registration_activation_by_email: activation du compte par email | |
792 | label_registration_manual_activation: activation manuelle du compte |
|
794 | label_registration_manual_activation: activation manuelle du compte | |
793 | label_registration_automatic_activation: activation automatique du compte |
|
795 | label_registration_automatic_activation: activation automatique du compte | |
794 | label_display_per_page: "Par page : %{value}" |
|
796 | label_display_per_page: "Par page : %{value}" | |
795 | label_age: Γge |
|
797 | label_age: Γge | |
796 | label_change_properties: Changer les propriΓ©tΓ©s |
|
798 | label_change_properties: Changer les propriΓ©tΓ©s | |
797 | label_general: GΓ©nΓ©ral |
|
799 | label_general: GΓ©nΓ©ral | |
798 | label_more: Plus |
|
800 | label_more: Plus | |
799 | label_scm: SCM |
|
801 | label_scm: SCM | |
800 | label_plugins: Plugins |
|
802 | label_plugins: Plugins | |
801 | label_ldap_authentication: Authentification LDAP |
|
803 | label_ldap_authentication: Authentification LDAP | |
802 | label_downloads_abbr: D/L |
|
804 | label_downloads_abbr: D/L | |
803 | label_optional_description: Description facultative |
|
805 | label_optional_description: Description facultative | |
804 | label_add_another_file: Ajouter un autre fichier |
|
806 | label_add_another_file: Ajouter un autre fichier | |
805 | label_preferences: PrΓ©fΓ©rences |
|
807 | label_preferences: PrΓ©fΓ©rences | |
806 | label_chronological_order: Dans l'ordre chronologique |
|
808 | label_chronological_order: Dans l'ordre chronologique | |
807 | label_reverse_chronological_order: Dans l'ordre chronologique inverse |
|
809 | label_reverse_chronological_order: Dans l'ordre chronologique inverse | |
808 | label_planning: Planning |
|
810 | label_planning: Planning | |
809 | label_incoming_emails: Emails entrants |
|
811 | label_incoming_emails: Emails entrants | |
810 | label_generate_key: GΓ©nΓ©rer une clΓ© |
|
812 | label_generate_key: GΓ©nΓ©rer une clΓ© | |
811 | label_issue_watchers: Observateurs |
|
813 | label_issue_watchers: Observateurs | |
812 | label_example: Exemple |
|
814 | label_example: Exemple | |
813 | label_display: Affichage |
|
815 | label_display: Affichage | |
814 | label_sort: Tri |
|
816 | label_sort: Tri | |
815 | label_ascending: Croissant |
|
817 | label_ascending: Croissant | |
816 | label_descending: DΓ©croissant |
|
818 | label_descending: DΓ©croissant | |
817 | label_date_from_to: Du %{start} au %{end} |
|
819 | label_date_from_to: Du %{start} au %{end} | |
818 | label_wiki_content_added: Page wiki ajoutΓ©e |
|
820 | label_wiki_content_added: Page wiki ajoutΓ©e | |
819 | label_wiki_content_updated: Page wiki mise Γ jour |
|
821 | label_wiki_content_updated: Page wiki mise Γ jour | |
820 | label_group_plural: Groupes |
|
822 | label_group_plural: Groupes | |
821 | label_group: Groupe |
|
823 | label_group: Groupe | |
822 | label_group_new: Nouveau groupe |
|
824 | label_group_new: Nouveau groupe | |
823 | label_time_entry_plural: Temps passΓ© |
|
825 | label_time_entry_plural: Temps passΓ© | |
824 | label_version_sharing_none: Non partagΓ© |
|
826 | label_version_sharing_none: Non partagΓ© | |
825 | label_version_sharing_descendants: Avec les sous-projets |
|
827 | label_version_sharing_descendants: Avec les sous-projets | |
826 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie |
|
828 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie | |
827 | label_version_sharing_tree: Avec tout l'arbre |
|
829 | label_version_sharing_tree: Avec tout l'arbre | |
828 | label_version_sharing_system: Avec tous les projets |
|
830 | label_version_sharing_system: Avec tous les projets | |
829 | label_copy_source: Source |
|
831 | label_copy_source: Source | |
830 | label_copy_target: Cible |
|
832 | label_copy_target: Cible | |
831 | label_copy_same_as_target: Comme la cible |
|
833 | label_copy_same_as_target: Comme la cible | |
832 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes |
|
834 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes | |
833 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker |
|
835 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker | |
834 | label_api_access_key: Clé d'accès API |
|
836 | label_api_access_key: Clé d'accès API | |
835 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} |
|
837 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} | |
836 | label_feeds_access_key: Clé d'accès Atom |
|
838 | label_feeds_access_key: Clé d'accès Atom | |
837 | label_missing_api_access_key: Clé d'accès API manquante |
|
839 | label_missing_api_access_key: Clé d'accès API manquante | |
838 | label_missing_feeds_access_key: Clé d'accès Atom manquante |
|
840 | label_missing_feeds_access_key: Clé d'accès Atom manquante | |
839 | label_close_versions: Fermer les versions terminΓ©es |
|
841 | label_close_versions: Fermer les versions terminΓ©es | |
840 | label_revision_id: RΓ©vision %{value} |
|
842 | label_revision_id: RΓ©vision %{value} | |
841 | label_profile: Profil |
|
843 | label_profile: Profil | |
842 | label_subtask_plural: Sous-tΓ’ches |
|
844 | label_subtask_plural: Sous-tΓ’ches | |
843 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet |
|
845 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet | |
844 | label_principal_search: "Rechercher un utilisateur ou un groupe :" |
|
846 | label_principal_search: "Rechercher un utilisateur ou un groupe :" | |
845 | label_user_search: "Rechercher un utilisateur :" |
|
847 | label_user_search: "Rechercher un utilisateur :" | |
846 | label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande |
|
848 | label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande | |
847 | label_additional_workflow_transitions_for_assignee: Autorisations supplΓ©mentaires lorsque la demande est assignΓ©e Γ l'utilisateur |
|
849 | label_additional_workflow_transitions_for_assignee: Autorisations supplΓ©mentaires lorsque la demande est assignΓ©e Γ l'utilisateur | |
848 | label_issues_visibility_all: Toutes les demandes |
|
850 | label_issues_visibility_all: Toutes les demandes | |
849 | label_issues_visibility_public: Toutes les demandes non privΓ©es |
|
851 | label_issues_visibility_public: Toutes les demandes non privΓ©es | |
850 | label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur |
|
852 | label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur | |
851 | label_export_options: Options d'exportation %{export_format} |
|
853 | label_export_options: Options d'exportation %{export_format} | |
852 | label_copy_attachments: Copier les fichiers |
|
854 | label_copy_attachments: Copier les fichiers | |
853 | label_copy_subtasks: Copier les sous-tΓ’ches |
|
855 | label_copy_subtasks: Copier les sous-tΓ’ches | |
854 | label_item_position: "%{position} sur %{count}" |
|
856 | label_item_position: "%{position} sur %{count}" | |
855 | label_completed_versions: Versions passΓ©es |
|
857 | label_completed_versions: Versions passΓ©es | |
856 | label_session_expiration: Expiration des sessions |
|
858 | label_session_expiration: Expiration des sessions | |
857 | label_show_closed_projects: Voir les projets fermΓ©s |
|
859 | label_show_closed_projects: Voir les projets fermΓ©s | |
858 | label_status_transitions: Changements de statut |
|
860 | label_status_transitions: Changements de statut | |
859 | label_fields_permissions: Permissions sur les champs |
|
861 | label_fields_permissions: Permissions sur les champs | |
860 | label_readonly: Lecture |
|
862 | label_readonly: Lecture | |
861 | label_required: Obligatoire |
|
863 | label_required: Obligatoire | |
862 | label_attribute_of_project: "%{name} du projet" |
|
864 | label_attribute_of_project: "%{name} du projet" | |
863 | label_attribute_of_issue: "%{name} de la demande" |
|
865 | label_attribute_of_issue: "%{name} de la demande" | |
864 | label_attribute_of_author: "%{name} de l'auteur" |
|
866 | label_attribute_of_author: "%{name} de l'auteur" | |
865 | label_attribute_of_assigned_to: "%{name} de l'assignΓ©" |
|
867 | label_attribute_of_assigned_to: "%{name} de l'assignΓ©" | |
866 | label_attribute_of_user: "%{name} de l'utilisateur" |
|
868 | label_attribute_of_user: "%{name} de l'utilisateur" | |
867 | label_attribute_of_fixed_version: "%{name} de la version cible" |
|
869 | label_attribute_of_fixed_version: "%{name} de la version cible" | |
868 | label_cross_project_descendants: Avec les sous-projets |
|
870 | label_cross_project_descendants: Avec les sous-projets | |
869 | label_cross_project_tree: Avec tout l'arbre |
|
871 | label_cross_project_tree: Avec tout l'arbre | |
870 | label_cross_project_hierarchy: Avec toute la hiΓ©rarchie |
|
872 | label_cross_project_hierarchy: Avec toute la hiΓ©rarchie | |
871 | label_cross_project_system: Avec tous les projets |
|
873 | label_cross_project_system: Avec tous les projets | |
872 | label_gantt_progress_line: Ligne de progression |
|
874 | label_gantt_progress_line: Ligne de progression | |
873 |
|
875 | |||
874 | button_login: Connexion |
|
876 | button_login: Connexion | |
875 | button_submit: Soumettre |
|
877 | button_submit: Soumettre | |
876 | button_save: Sauvegarder |
|
878 | button_save: Sauvegarder | |
877 | button_check_all: Tout cocher |
|
879 | button_check_all: Tout cocher | |
878 | button_uncheck_all: Tout dΓ©cocher |
|
880 | button_uncheck_all: Tout dΓ©cocher | |
879 | button_collapse_all: Plier tout |
|
881 | button_collapse_all: Plier tout | |
880 | button_expand_all: DΓ©plier tout |
|
882 | button_expand_all: DΓ©plier tout | |
881 | button_delete: Supprimer |
|
883 | button_delete: Supprimer | |
882 | button_create: CrΓ©er |
|
884 | button_create: CrΓ©er | |
883 | button_create_and_continue: CrΓ©er et continuer |
|
885 | button_create_and_continue: CrΓ©er et continuer | |
884 | button_test: Tester |
|
886 | button_test: Tester | |
885 | button_edit: Modifier |
|
887 | button_edit: Modifier | |
886 | button_add: Ajouter |
|
888 | button_add: Ajouter | |
887 | button_change: Changer |
|
889 | button_change: Changer | |
888 | button_apply: Appliquer |
|
890 | button_apply: Appliquer | |
889 | button_clear: Effacer |
|
891 | button_clear: Effacer | |
890 | button_lock: Verrouiller |
|
892 | button_lock: Verrouiller | |
891 | button_unlock: DΓ©verrouiller |
|
893 | button_unlock: DΓ©verrouiller | |
892 | button_download: TΓ©lΓ©charger |
|
894 | button_download: TΓ©lΓ©charger | |
893 | button_list: Lister |
|
895 | button_list: Lister | |
894 | button_view: Voir |
|
896 | button_view: Voir | |
895 | button_move: DΓ©placer |
|
897 | button_move: DΓ©placer | |
896 | button_move_and_follow: DΓ©placer et suivre |
|
898 | button_move_and_follow: DΓ©placer et suivre | |
897 | button_back: Retour |
|
899 | button_back: Retour | |
898 | button_cancel: Annuler |
|
900 | button_cancel: Annuler | |
899 | button_activate: Activer |
|
901 | button_activate: Activer | |
900 | button_sort: Trier |
|
902 | button_sort: Trier | |
901 | button_log_time: Saisir temps |
|
903 | button_log_time: Saisir temps | |
902 | button_rollback: Revenir Γ cette version |
|
904 | button_rollback: Revenir Γ cette version | |
903 | button_watch: Surveiller |
|
905 | button_watch: Surveiller | |
904 | button_unwatch: Ne plus surveiller |
|
906 | button_unwatch: Ne plus surveiller | |
905 | button_reply: RΓ©pondre |
|
907 | button_reply: RΓ©pondre | |
906 | button_archive: Archiver |
|
908 | button_archive: Archiver | |
907 | button_unarchive: DΓ©sarchiver |
|
909 | button_unarchive: DΓ©sarchiver | |
908 | button_reset: RΓ©initialiser |
|
910 | button_reset: RΓ©initialiser | |
909 | button_rename: Renommer |
|
911 | button_rename: Renommer | |
910 | button_change_password: Changer de mot de passe |
|
912 | button_change_password: Changer de mot de passe | |
911 | button_copy: Copier |
|
913 | button_copy: Copier | |
912 | button_copy_and_follow: Copier et suivre |
|
914 | button_copy_and_follow: Copier et suivre | |
913 | button_annotate: Annoter |
|
915 | button_annotate: Annoter | |
914 | button_update: Mettre Γ jour |
|
916 | button_update: Mettre Γ jour | |
915 | button_configure: Configurer |
|
917 | button_configure: Configurer | |
916 | button_quote: Citer |
|
918 | button_quote: Citer | |
917 | button_duplicate: Dupliquer |
|
919 | button_duplicate: Dupliquer | |
918 | button_show: Afficher |
|
920 | button_show: Afficher | |
919 | button_hide: Cacher |
|
921 | button_hide: Cacher | |
920 | button_edit_section: Modifier cette section |
|
922 | button_edit_section: Modifier cette section | |
921 | button_export: Exporter |
|
923 | button_export: Exporter | |
922 | button_delete_my_account: Supprimer mon compte |
|
924 | button_delete_my_account: Supprimer mon compte | |
923 | button_close: Fermer |
|
925 | button_close: Fermer | |
924 | button_reopen: RΓ©ouvrir |
|
926 | button_reopen: RΓ©ouvrir | |
925 |
|
927 | |||
926 | status_active: actif |
|
928 | status_active: actif | |
927 | status_registered: enregistrΓ© |
|
929 | status_registered: enregistrΓ© | |
928 | status_locked: verrouillΓ© |
|
930 | status_locked: verrouillΓ© | |
929 |
|
931 | |||
930 | project_status_active: actif |
|
932 | project_status_active: actif | |
931 | project_status_closed: fermΓ© |
|
933 | project_status_closed: fermΓ© | |
932 | project_status_archived: archivΓ© |
|
934 | project_status_archived: archivΓ© | |
933 |
|
935 | |||
934 | version_status_open: ouvert |
|
936 | version_status_open: ouvert | |
935 | version_status_locked: verrouillΓ© |
|
937 | version_status_locked: verrouillΓ© | |
936 | version_status_closed: fermΓ© |
|
938 | version_status_closed: fermΓ© | |
937 |
|
939 | |||
938 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e |
|
940 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e | |
939 | text_regexp_info: ex. ^[A-Z0-9]+$ |
|
941 | text_regexp_info: ex. ^[A-Z0-9]+$ | |
940 | text_min_max_length_info: 0 pour aucune restriction |
|
942 | text_min_max_length_info: 0 pour aucune restriction | |
941 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? |
|
943 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? | |
942 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s." |
|
944 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s." | |
943 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow |
|
945 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow | |
944 | text_are_you_sure: Γtes-vous sΓ»r ? |
|
946 | text_are_you_sure: Γtes-vous sΓ»r ? | |
945 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour |
|
947 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour | |
946 | text_tip_issue_end_day: tΓ’che finissant ce jour |
|
948 | text_tip_issue_end_day: tΓ’che finissant ce jour | |
947 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour |
|
949 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour | |
948 | text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et underscore sont autorisΓ©s, doit commencer par une minuscule.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.' |
|
950 | text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et underscore sont autorisΓ©s, doit commencer par une minuscule.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.' | |
949 | text_caracters_maximum: "%{count} caractères maximum." |
|
951 | text_caracters_maximum: "%{count} caractères maximum." | |
950 | text_caracters_minimum: "%{count} caractères minimum." |
|
952 | text_caracters_minimum: "%{count} caractères minimum." | |
951 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." |
|
953 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." | |
952 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker |
|
954 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker | |
953 | text_unallowed_characters: Caractères non autorisés |
|
955 | text_unallowed_characters: Caractères non autorisés | |
954 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). |
|
956 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). | |
955 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). |
|
957 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). | |
956 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits |
|
958 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits | |
957 | text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}." |
|
959 | text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}." | |
958 | text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ jour par %{author}." |
|
960 | text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ jour par %{author}." | |
959 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? |
|
961 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? | |
960 | text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ cette catΓ©gorie. Que voulez-vous faire ?" |
|
962 | text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ cette catΓ©gorie. Que voulez-vous faire ?" | |
961 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie |
|
963 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie | |
962 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie |
|
964 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie | |
963 | 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)." |
|
965 | 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)." | |
964 | 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Γ©." |
|
966 | 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Γ©." | |
965 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut |
|
967 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut | |
966 | text_status_changed_by_changeset: "AppliquΓ© par commit %{value}." |
|
968 | text_status_changed_by_changeset: "AppliquΓ© par commit %{value}." | |
967 | text_time_logged_by_changeset: "AppliquΓ© par commit %{value}" |
|
969 | text_time_logged_by_changeset: "AppliquΓ© par commit %{value}" | |
968 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer la ou les demandes(s) selectionnΓ©e(s) ?' |
|
970 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer la ou les demandes(s) selectionnΓ©e(s) ?' | |
969 | text_issues_destroy_descendants_confirmation: "Cela entrainera Γ©galement la suppression de %{count} sous-tΓ’che(s)." |
|
971 | text_issues_destroy_descendants_confirmation: "Cela entrainera Γ©galement la suppression de %{count} sous-tΓ’che(s)." | |
970 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' |
|
972 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' | |
971 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© |
|
973 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© | |
972 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture |
|
974 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture | |
973 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture |
|
975 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture | |
974 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) |
|
976 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) | |
975 | text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" |
|
977 | text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" | |
976 | text_destroy_time_entries: Supprimer les heures |
|
978 | text_destroy_time_entries: Supprimer les heures | |
977 | text_assign_time_entries_to_project: Reporter les heures sur le projet |
|
979 | text_assign_time_entries_to_project: Reporter les heures sur le projet | |
978 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' |
|
980 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' | |
979 | text_user_wrote: "%{value} a Γ©crit :" |
|
981 | text_user_wrote: "%{value} a Γ©crit :" | |
980 | text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ %{count} objets." |
|
982 | text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ %{count} objets." | |
981 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' |
|
983 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' | |
982 | 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." |
|
984 | 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." | |
983 | 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." |
|
985 | 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." | |
984 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' |
|
986 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' | |
985 | text_custom_field_possible_values_info: 'Une ligne par valeur' |
|
987 | text_custom_field_possible_values_info: 'Une ligne par valeur' | |
986 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" |
|
988 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" | |
987 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" |
|
989 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" | |
988 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" |
|
990 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" | |
989 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" |
|
991 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" | |
990 | 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 ?" |
|
992 | 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 ?" | |
991 | text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page." |
|
993 | text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page." | |
992 | text_issue_conflict_resolution_overwrite: "Appliquer quand mΓͺme ma mise Γ jour (les notes prΓ©cΓ©dentes seront conservΓ©es mais des changements pourront Γͺtre Γ©crasΓ©s)" |
|
994 | text_issue_conflict_resolution_overwrite: "Appliquer quand mΓͺme ma mise Γ jour (les notes prΓ©cΓ©dentes seront conservΓ©es mais des changements pourront Γͺtre Γ©crasΓ©s)" | |
993 | text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements" |
|
995 | text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements" | |
994 | text_issue_conflict_resolution_cancel: "Annuler ma mise Γ jour et rΓ©afficher %{link}" |
|
996 | text_issue_conflict_resolution_cancel: "Annuler ma mise Γ jour et rΓ©afficher %{link}" | |
995 | text_account_destroy_confirmation: "Γtes-vous sΓ»r de vouloir continuer ?\nVotre compte sera dΓ©finitivement supprimΓ©, sans aucune possibilitΓ© de le rΓ©activer." |
|
997 | text_account_destroy_confirmation: "Γtes-vous sΓ»r de vouloir continuer ?\nVotre compte sera dΓ©finitivement supprimΓ©, sans aucune possibilitΓ© de le rΓ©activer." | |
996 | text_session_expiration_settings: "Attention : le changement de ces paramètres peut entrainer l'expiration des sessions utilisateurs en cours, y compris la vôtre." |
|
998 | text_session_expiration_settings: "Attention : le changement de ces paramètres peut entrainer l'expiration des sessions utilisateurs en cours, y compris la vôtre." | |
997 | text_project_closed: Ce projet est fermΓ© et accessible en lecture seule. |
|
999 | text_project_closed: Ce projet est fermΓ© et accessible en lecture seule. | |
998 | text_turning_multiple_off: "Si vous dΓ©sactivez les valeurs multiples, les valeurs multiples seront supprimΓ©es pour n'en conserver qu'une par objet." |
|
1000 | text_turning_multiple_off: "Si vous dΓ©sactivez les valeurs multiples, les valeurs multiples seront supprimΓ©es pour n'en conserver qu'une par objet." | |
999 |
|
1001 | |||
1000 | default_role_manager: "Manager " |
|
1002 | default_role_manager: "Manager " | |
1001 | default_role_developer: "DΓ©veloppeur " |
|
1003 | default_role_developer: "DΓ©veloppeur " | |
1002 | default_role_reporter: "Rapporteur " |
|
1004 | default_role_reporter: "Rapporteur " | |
1003 | default_tracker_bug: Anomalie |
|
1005 | default_tracker_bug: Anomalie | |
1004 | default_tracker_feature: Evolution |
|
1006 | default_tracker_feature: Evolution | |
1005 | default_tracker_support: Assistance |
|
1007 | default_tracker_support: Assistance | |
1006 | default_issue_status_new: Nouveau |
|
1008 | default_issue_status_new: Nouveau | |
1007 | default_issue_status_in_progress: En cours |
|
1009 | default_issue_status_in_progress: En cours | |
1008 | default_issue_status_resolved: RΓ©solu |
|
1010 | default_issue_status_resolved: RΓ©solu | |
1009 | default_issue_status_feedback: Commentaire |
|
1011 | default_issue_status_feedback: Commentaire | |
1010 | default_issue_status_closed: FermΓ© |
|
1012 | default_issue_status_closed: FermΓ© | |
1011 | default_issue_status_rejected: RejetΓ© |
|
1013 | default_issue_status_rejected: RejetΓ© | |
1012 | default_doc_category_user: Documentation utilisateur |
|
1014 | default_doc_category_user: Documentation utilisateur | |
1013 | default_doc_category_tech: Documentation technique |
|
1015 | default_doc_category_tech: Documentation technique | |
1014 | default_priority_low: Bas |
|
1016 | default_priority_low: Bas | |
1015 | default_priority_normal: Normal |
|
1017 | default_priority_normal: Normal | |
1016 | default_priority_high: Haut |
|
1018 | default_priority_high: Haut | |
1017 | default_priority_urgent: Urgent |
|
1019 | default_priority_urgent: Urgent | |
1018 | default_priority_immediate: ImmΓ©diat |
|
1020 | default_priority_immediate: ImmΓ©diat | |
1019 | default_activity_design: Conception |
|
1021 | default_activity_design: Conception | |
1020 | default_activity_development: DΓ©veloppement |
|
1022 | default_activity_development: DΓ©veloppement | |
1021 |
|
1023 | |||
1022 | enumeration_issue_priorities: PrioritΓ©s des demandes |
|
1024 | enumeration_issue_priorities: PrioritΓ©s des demandes | |
1023 | enumeration_doc_categories: CatΓ©gories des documents |
|
1025 | enumeration_doc_categories: CatΓ©gories des documents | |
1024 | enumeration_activities: ActivitΓ©s (suivi du temps) |
|
1026 | enumeration_activities: ActivitΓ©s (suivi du temps) | |
1025 | label_greater_or_equal: ">=" |
|
1027 | label_greater_or_equal: ">=" | |
1026 | label_less_or_equal: "<=" |
|
1028 | label_less_or_equal: "<=" | |
1027 | label_between: entre |
|
1029 | label_between: entre | |
1028 | label_view_all_revisions: Voir toutes les rΓ©visions |
|
1030 | label_view_all_revisions: Voir toutes les rΓ©visions | |
1029 | label_tag: Tag |
|
1031 | label_tag: Tag | |
1030 | label_branch: Branche |
|
1032 | label_branch: Branche | |
1031 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." |
|
1033 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." | |
1032 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." |
|
1034 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." | |
1033 | text_journal_changed: "%{label} changΓ© de %{old} Γ %{new}" |
|
1035 | text_journal_changed: "%{label} changΓ© de %{old} Γ %{new}" | |
1034 | text_journal_changed_no_detail: "%{label} mis Γ jour" |
|
1036 | text_journal_changed_no_detail: "%{label} mis Γ jour" | |
1035 | text_journal_set_to: "%{label} mis Γ %{value}" |
|
1037 | text_journal_set_to: "%{label} mis Γ %{value}" | |
1036 | text_journal_deleted: "%{label} %{old} supprimΓ©" |
|
1038 | text_journal_deleted: "%{label} %{old} supprimΓ©" | |
1037 | text_journal_added: "%{label} %{value} ajoutΓ©" |
|
1039 | text_journal_added: "%{label} %{value} ajoutΓ©" | |
1038 | enumeration_system_activity: Activité système |
|
1040 | enumeration_system_activity: Activité système | |
1039 | label_board_sticky: Sticky |
|
1041 | label_board_sticky: Sticky | |
1040 | label_board_locked: VerrouillΓ© |
|
1042 | label_board_locked: VerrouillΓ© | |
1041 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande |
|
1043 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande | |
1042 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© |
|
1044 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© | |
1043 | error_unable_to_connect: Connexion impossible (%{value}) |
|
1045 | error_unable_to_connect: Connexion impossible (%{value}) | |
1044 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. |
|
1046 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. | |
1045 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. |
|
1047 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. | |
1046 | field_principal: Principal |
|
1048 | field_principal: Principal | |
1047 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." |
|
1049 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." | |
1048 | text_zoom_out: Zoom arrière |
|
1050 | text_zoom_out: Zoom arrière | |
1049 | text_zoom_in: Zoom avant |
|
1051 | text_zoom_in: Zoom avant | |
1050 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. |
|
1052 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. | |
1051 | label_overall_spent_time: Temps passΓ© global |
|
1053 | label_overall_spent_time: Temps passΓ© global | |
1052 | field_time_entries: Temps passΓ© |
|
1054 | field_time_entries: Temps passΓ© | |
1053 | project_module_gantt: Gantt |
|
1055 | project_module_gantt: Gantt | |
1054 | project_module_calendar: Calendrier |
|
1056 | project_module_calendar: Calendrier | |
1055 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}" |
|
1057 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}" | |
1056 | field_text: Champ texte |
|
1058 | field_text: Champ texte | |
1057 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé |
|
1059 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé | |
1058 | setting_default_notification_option: Option de notification par dΓ©faut |
|
1060 | setting_default_notification_option: Option de notification par dΓ©faut | |
1059 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille |
|
1061 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille | |
1060 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© |
|
1062 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© | |
1061 | label_user_mail_option_none: Aucune notification |
|
1063 | label_user_mail_option_none: Aucune notification | |
1062 | field_member_of_group: Groupe de l'assignΓ© |
|
1064 | field_member_of_group: Groupe de l'assignΓ© | |
1063 | field_assigned_to_role: RΓ΄le de l'assignΓ© |
|
1065 | field_assigned_to_role: RΓ΄le de l'assignΓ© | |
1064 | setting_emails_header: En-tΓͺte des emails |
|
1066 | setting_emails_header: En-tΓͺte des emails | |
1065 | label_bulk_edit_selected_time_entries: Modifier les temps passΓ©s sΓ©lectionnΓ©s |
|
1067 | label_bulk_edit_selected_time_entries: Modifier les temps passΓ©s sΓ©lectionnΓ©s | |
1066 | text_time_entries_destroy_confirmation: "Etes-vous sΓ»r de vouloir supprimer les temps passΓ©s sΓ©lectionnΓ©s ?" |
|
1068 | text_time_entries_destroy_confirmation: "Etes-vous sΓ»r de vouloir supprimer les temps passΓ©s sΓ©lectionnΓ©s ?" | |
1067 | field_scm_path_encoding: Encodage des chemins |
|
1069 | field_scm_path_encoding: Encodage des chemins | |
1068 | text_scm_path_encoding_note: "DΓ©faut : UTF-8" |
|
1070 | text_scm_path_encoding_note: "DΓ©faut : UTF-8" | |
1069 | field_path_to_repository: Chemin du dΓ©pΓ΄t |
|
1071 | field_path_to_repository: Chemin du dΓ©pΓ΄t | |
1070 | field_root_directory: RΓ©pertoire racine |
|
1072 | field_root_directory: RΓ©pertoire racine | |
1071 | field_cvs_module: Module |
|
1073 | field_cvs_module: Module | |
1072 | field_cvsroot: CVSROOT |
|
1074 | field_cvsroot: CVSROOT | |
1073 | text_mercurial_repository_note: "DΓ©pΓ΄t local (exemples : /hgrepo, c:\\hgrepo)" |
|
1075 | text_mercurial_repository_note: "DΓ©pΓ΄t local (exemples : /hgrepo, c:\\hgrepo)" | |
1074 | text_scm_command: Commande |
|
1076 | text_scm_command: Commande | |
1075 | text_scm_command_version: Version |
|
1077 | text_scm_command_version: Version | |
1076 | label_git_report_last_commit: Afficher le dernier commit des fichiers et rΓ©pertoires |
|
1078 | label_git_report_last_commit: Afficher le dernier commit des fichiers et rΓ©pertoires | |
1077 | text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification. |
|
1079 | text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification. | |
1078 | text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration. |
|
1080 | text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration. | |
1079 | label_diff: diff |
|
1081 | label_diff: diff | |
1080 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
1082 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) | |
1081 | description_query_sort_criteria_direction: Ordre de tri |
|
1083 | description_query_sort_criteria_direction: Ordre de tri | |
1082 | description_project_scope: Périmètre de recherche |
|
1084 | description_project_scope: Périmètre de recherche | |
1083 | description_filter: Filtre |
|
1085 | description_filter: Filtre | |
1084 | description_user_mail_notification: Option de notification |
|
1086 | description_user_mail_notification: Option de notification | |
1085 | description_date_from: Date de dΓ©but |
|
1087 | description_date_from: Date de dΓ©but | |
1086 | description_message_content: Contenu du message |
|
1088 | description_message_content: Contenu du message | |
1087 | description_available_columns: Colonnes disponibles |
|
1089 | description_available_columns: Colonnes disponibles | |
1088 | description_all_columns: Toutes les colonnes |
|
1090 | description_all_columns: Toutes les colonnes | |
1089 | description_date_range_interval: Choisir une pΓ©riode |
|
1091 | description_date_range_interval: Choisir une pΓ©riode | |
1090 | description_issue_category_reassign: Choisir une catΓ©gorie |
|
1092 | description_issue_category_reassign: Choisir une catΓ©gorie | |
1091 | description_search: Champ de recherche |
|
1093 | description_search: Champ de recherche | |
1092 | description_notes: Notes |
|
1094 | description_notes: Notes | |
1093 | description_date_range_list: Choisir une pΓ©riode prΓ©dΓ©finie |
|
1095 | description_date_range_list: Choisir une pΓ©riode prΓ©dΓ©finie | |
1094 | description_choose_project: Projets |
|
1096 | description_choose_project: Projets | |
1095 | description_date_to: Date de fin |
|
1097 | description_date_to: Date de fin | |
1096 | description_query_sort_criteria_attribute: Critère de tri |
|
1098 | description_query_sort_criteria_attribute: Critère de tri | |
1097 | description_wiki_subpages_reassign: Choisir une nouvelle page parent |
|
1099 | description_wiki_subpages_reassign: Choisir une nouvelle page parent | |
1098 | description_selected_columns: Colonnes sΓ©lectionnΓ©es |
|
1100 | description_selected_columns: Colonnes sΓ©lectionnΓ©es | |
1099 | label_parent_revision: Parent |
|
1101 | label_parent_revision: Parent | |
1100 | label_child_revision: Enfant |
|
1102 | label_child_revision: Enfant | |
1101 | error_scm_annotate_big_text_file: Cette entrΓ©e ne peut pas Γͺtre annotΓ©e car elle excΓ¨de la taille maximale. |
|
1103 | error_scm_annotate_big_text_file: Cette entrΓ©e ne peut pas Γͺtre annotΓ©e car elle excΓ¨de la taille maximale. | |
1102 | setting_repositories_encodings: Encodages des fichiers et des dΓ©pΓ΄ts |
|
1104 | setting_repositories_encodings: Encodages des fichiers et des dΓ©pΓ΄ts | |
1103 | label_search_for_watchers: Rechercher des observateurs |
|
1105 | label_search_for_watchers: Rechercher des observateurs | |
1104 | text_repository_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et underscore sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.' |
|
1106 | text_repository_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et underscore sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.' |
@@ -1,355 +1,356 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2013 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 | RedmineApp::Application.routes.draw do |
|
18 | RedmineApp::Application.routes.draw do | |
19 | root :to => 'welcome#index', :as => 'home' |
|
19 | root :to => 'welcome#index', :as => 'home' | |
20 |
|
20 | |||
21 | match 'login', :to => 'account#login', :as => 'signin', :via => [:get, :post] |
|
21 | match 'login', :to => 'account#login', :as => 'signin', :via => [:get, :post] | |
22 | match 'logout', :to => 'account#logout', :as => 'signout', :via => [:get, :post] |
|
22 | match 'logout', :to => 'account#logout', :as => 'signout', :via => [:get, :post] | |
23 | match 'account/register', :to => 'account#register', :via => [:get, :post], :as => 'register' |
|
23 | match 'account/register', :to => 'account#register', :via => [:get, :post], :as => 'register' | |
24 | match 'account/lost_password', :to => 'account#lost_password', :via => [:get, :post], :as => 'lost_password' |
|
24 | match 'account/lost_password', :to => 'account#lost_password', :via => [:get, :post], :as => 'lost_password' | |
25 | match 'account/activate', :to => 'account#activate', :via => :get |
|
25 | match 'account/activate', :to => 'account#activate', :via => :get | |
|
26 | get 'account/activation_email', :to => 'account#activation_email', :as => 'activation_email' | |||
26 |
|
27 | |||
27 | match '/news/preview', :controller => 'previews', :action => 'news', :as => 'preview_news', :via => [:get, :post, :put] |
|
28 | match '/news/preview', :controller => 'previews', :action => 'news', :as => 'preview_news', :via => [:get, :post, :put] | |
28 | match '/issues/preview/new/:project_id', :to => 'previews#issue', :as => 'preview_new_issue', :via => [:get, :post, :put] |
|
29 | match '/issues/preview/new/:project_id', :to => 'previews#issue', :as => 'preview_new_issue', :via => [:get, :post, :put] | |
29 | match '/issues/preview/edit/:id', :to => 'previews#issue', :as => 'preview_edit_issue', :via => [:get, :post, :put] |
|
30 | match '/issues/preview/edit/:id', :to => 'previews#issue', :as => 'preview_edit_issue', :via => [:get, :post, :put] | |
30 | match '/issues/preview', :to => 'previews#issue', :as => 'preview_issue', :via => [:get, :post, :put] |
|
31 | match '/issues/preview', :to => 'previews#issue', :as => 'preview_issue', :via => [:get, :post, :put] | |
31 |
|
32 | |||
32 | match 'projects/:id/wiki', :to => 'wikis#edit', :via => :post |
|
33 | match 'projects/:id/wiki', :to => 'wikis#edit', :via => :post | |
33 | match 'projects/:id/wiki/destroy', :to => 'wikis#destroy', :via => [:get, :post] |
|
34 | match 'projects/:id/wiki/destroy', :to => 'wikis#destroy', :via => [:get, :post] | |
34 |
|
35 | |||
35 | match 'boards/:board_id/topics/new', :to => 'messages#new', :via => [:get, :post], :as => 'new_board_message' |
|
36 | match 'boards/:board_id/topics/new', :to => 'messages#new', :via => [:get, :post], :as => 'new_board_message' | |
36 | get 'boards/:board_id/topics/:id', :to => 'messages#show', :as => 'board_message' |
|
37 | get 'boards/:board_id/topics/:id', :to => 'messages#show', :as => 'board_message' | |
37 | match 'boards/:board_id/topics/quote/:id', :to => 'messages#quote', :via => [:get, :post] |
|
38 | match 'boards/:board_id/topics/quote/:id', :to => 'messages#quote', :via => [:get, :post] | |
38 | get 'boards/:board_id/topics/:id/edit', :to => 'messages#edit' |
|
39 | get 'boards/:board_id/topics/:id/edit', :to => 'messages#edit' | |
39 |
|
40 | |||
40 | post 'boards/:board_id/topics/preview', :to => 'messages#preview', :as => 'preview_board_message' |
|
41 | post 'boards/:board_id/topics/preview', :to => 'messages#preview', :as => 'preview_board_message' | |
41 | post 'boards/:board_id/topics/:id/replies', :to => 'messages#reply' |
|
42 | post 'boards/:board_id/topics/:id/replies', :to => 'messages#reply' | |
42 | post 'boards/:board_id/topics/:id/edit', :to => 'messages#edit' |
|
43 | post 'boards/:board_id/topics/:id/edit', :to => 'messages#edit' | |
43 | post 'boards/:board_id/topics/:id/destroy', :to => 'messages#destroy' |
|
44 | post 'boards/:board_id/topics/:id/destroy', :to => 'messages#destroy' | |
44 |
|
45 | |||
45 | # Misc issue routes. TODO: move into resources |
|
46 | # Misc issue routes. TODO: move into resources | |
46 | match '/issues/auto_complete', :to => 'auto_completes#issues', :via => :get, :as => 'auto_complete_issues' |
|
47 | match '/issues/auto_complete', :to => 'auto_completes#issues', :via => :get, :as => 'auto_complete_issues' | |
47 | match '/issues/context_menu', :to => 'context_menus#issues', :as => 'issues_context_menu', :via => [:get, :post] |
|
48 | match '/issues/context_menu', :to => 'context_menus#issues', :as => 'issues_context_menu', :via => [:get, :post] | |
48 | match '/issues/changes', :to => 'journals#index', :as => 'issue_changes', :via => :get |
|
49 | match '/issues/changes', :to => 'journals#index', :as => 'issue_changes', :via => :get | |
49 | match '/issues/:id/quoted', :to => 'journals#new', :id => /\d+/, :via => :post, :as => 'quoted_issue' |
|
50 | match '/issues/:id/quoted', :to => 'journals#new', :id => /\d+/, :via => :post, :as => 'quoted_issue' | |
50 |
|
51 | |||
51 | match '/journals/diff/:id', :to => 'journals#diff', :id => /\d+/, :via => :get |
|
52 | match '/journals/diff/:id', :to => 'journals#diff', :id => /\d+/, :via => :get | |
52 | match '/journals/edit/:id', :to => 'journals#edit', :id => /\d+/, :via => [:get, :post] |
|
53 | match '/journals/edit/:id', :to => 'journals#edit', :id => /\d+/, :via => [:get, :post] | |
53 |
|
54 | |||
54 | get '/projects/:project_id/issues/gantt', :to => 'gantts#show', :as => 'project_gantt' |
|
55 | get '/projects/:project_id/issues/gantt', :to => 'gantts#show', :as => 'project_gantt' | |
55 | get '/issues/gantt', :to => 'gantts#show' |
|
56 | get '/issues/gantt', :to => 'gantts#show' | |
56 |
|
57 | |||
57 | get '/projects/:project_id/issues/calendar', :to => 'calendars#show', :as => 'project_calendar' |
|
58 | get '/projects/:project_id/issues/calendar', :to => 'calendars#show', :as => 'project_calendar' | |
58 | get '/issues/calendar', :to => 'calendars#show' |
|
59 | get '/issues/calendar', :to => 'calendars#show' | |
59 |
|
60 | |||
60 | get 'projects/:id/issues/report', :to => 'reports#issue_report', :as => 'project_issues_report' |
|
61 | get 'projects/:id/issues/report', :to => 'reports#issue_report', :as => 'project_issues_report' | |
61 | get 'projects/:id/issues/report/:detail', :to => 'reports#issue_report_details', :as => 'project_issues_report_details' |
|
62 | get 'projects/:id/issues/report/:detail', :to => 'reports#issue_report_details', :as => 'project_issues_report_details' | |
62 |
|
63 | |||
63 | match 'my/account', :controller => 'my', :action => 'account', :via => [:get, :post] |
|
64 | match 'my/account', :controller => 'my', :action => 'account', :via => [:get, :post] | |
64 | match 'my/account/destroy', :controller => 'my', :action => 'destroy', :via => [:get, :post] |
|
65 | match 'my/account/destroy', :controller => 'my', :action => 'destroy', :via => [:get, :post] | |
65 | match 'my/page', :controller => 'my', :action => 'page', :via => :get |
|
66 | match 'my/page', :controller => 'my', :action => 'page', :via => :get | |
66 | match 'my', :controller => 'my', :action => 'index', :via => :get # Redirects to my/page |
|
67 | match 'my', :controller => 'my', :action => 'index', :via => :get # Redirects to my/page | |
67 | match 'my/reset_rss_key', :controller => 'my', :action => 'reset_rss_key', :via => :post |
|
68 | match 'my/reset_rss_key', :controller => 'my', :action => 'reset_rss_key', :via => :post | |
68 | match 'my/reset_api_key', :controller => 'my', :action => 'reset_api_key', :via => :post |
|
69 | match 'my/reset_api_key', :controller => 'my', :action => 'reset_api_key', :via => :post | |
69 | match 'my/password', :controller => 'my', :action => 'password', :via => [:get, :post] |
|
70 | match 'my/password', :controller => 'my', :action => 'password', :via => [:get, :post] | |
70 | match 'my/page_layout', :controller => 'my', :action => 'page_layout', :via => :get |
|
71 | match 'my/page_layout', :controller => 'my', :action => 'page_layout', :via => :get | |
71 | match 'my/add_block', :controller => 'my', :action => 'add_block', :via => :post |
|
72 | match 'my/add_block', :controller => 'my', :action => 'add_block', :via => :post | |
72 | match 'my/remove_block', :controller => 'my', :action => 'remove_block', :via => :post |
|
73 | match 'my/remove_block', :controller => 'my', :action => 'remove_block', :via => :post | |
73 | match 'my/order_blocks', :controller => 'my', :action => 'order_blocks', :via => :post |
|
74 | match 'my/order_blocks', :controller => 'my', :action => 'order_blocks', :via => :post | |
74 |
|
75 | |||
75 | resources :users |
|
76 | resources :users | |
76 | match 'users/:id/memberships/:membership_id', :to => 'users#edit_membership', :via => :put, :as => 'user_membership' |
|
77 | match 'users/:id/memberships/:membership_id', :to => 'users#edit_membership', :via => :put, :as => 'user_membership' | |
77 | match 'users/:id/memberships/:membership_id', :to => 'users#destroy_membership', :via => :delete |
|
78 | match 'users/:id/memberships/:membership_id', :to => 'users#destroy_membership', :via => :delete | |
78 | match 'users/:id/memberships', :to => 'users#edit_membership', :via => :post, :as => 'user_memberships' |
|
79 | match 'users/:id/memberships', :to => 'users#edit_membership', :via => :post, :as => 'user_memberships' | |
79 |
|
80 | |||
80 | post 'watchers/watch', :to => 'watchers#watch', :as => 'watch' |
|
81 | post 'watchers/watch', :to => 'watchers#watch', :as => 'watch' | |
81 | delete 'watchers/watch', :to => 'watchers#unwatch' |
|
82 | delete 'watchers/watch', :to => 'watchers#unwatch' | |
82 | get 'watchers/new', :to => 'watchers#new' |
|
83 | get 'watchers/new', :to => 'watchers#new' | |
83 | post 'watchers', :to => 'watchers#create' |
|
84 | post 'watchers', :to => 'watchers#create' | |
84 | post 'watchers/append', :to => 'watchers#append' |
|
85 | post 'watchers/append', :to => 'watchers#append' | |
85 | delete 'watchers', :to => 'watchers#destroy' |
|
86 | delete 'watchers', :to => 'watchers#destroy' | |
86 | get 'watchers/autocomplete_for_user', :to => 'watchers#autocomplete_for_user' |
|
87 | get 'watchers/autocomplete_for_user', :to => 'watchers#autocomplete_for_user' | |
87 | # Specific routes for issue watchers API |
|
88 | # Specific routes for issue watchers API | |
88 | post 'issues/:object_id/watchers', :to => 'watchers#create', :object_type => 'issue' |
|
89 | post 'issues/:object_id/watchers', :to => 'watchers#create', :object_type => 'issue' | |
89 | delete 'issues/:object_id/watchers/:user_id' => 'watchers#destroy', :object_type => 'issue' |
|
90 | delete 'issues/:object_id/watchers/:user_id' => 'watchers#destroy', :object_type => 'issue' | |
90 |
|
91 | |||
91 | resources :projects do |
|
92 | resources :projects do | |
92 | member do |
|
93 | member do | |
93 | get 'settings(/:tab)', :action => 'settings', :as => 'settings' |
|
94 | get 'settings(/:tab)', :action => 'settings', :as => 'settings' | |
94 | post 'modules' |
|
95 | post 'modules' | |
95 | post 'archive' |
|
96 | post 'archive' | |
96 | post 'unarchive' |
|
97 | post 'unarchive' | |
97 | post 'close' |
|
98 | post 'close' | |
98 | post 'reopen' |
|
99 | post 'reopen' | |
99 | match 'copy', :via => [:get, :post] |
|
100 | match 'copy', :via => [:get, :post] | |
100 | end |
|
101 | end | |
101 |
|
102 | |||
102 | shallow do |
|
103 | shallow do | |
103 | resources :memberships, :controller => 'members', :only => [:index, :show, :new, :create, :update, :destroy] do |
|
104 | resources :memberships, :controller => 'members', :only => [:index, :show, :new, :create, :update, :destroy] do | |
104 | collection do |
|
105 | collection do | |
105 | get 'autocomplete' |
|
106 | get 'autocomplete' | |
106 | end |
|
107 | end | |
107 | end |
|
108 | end | |
108 | end |
|
109 | end | |
109 |
|
110 | |||
110 | resource :enumerations, :controller => 'project_enumerations', :only => [:update, :destroy] |
|
111 | resource :enumerations, :controller => 'project_enumerations', :only => [:update, :destroy] | |
111 |
|
112 | |||
112 | get 'issues/:copy_from/copy', :to => 'issues#new', :as => 'copy_issue' |
|
113 | get 'issues/:copy_from/copy', :to => 'issues#new', :as => 'copy_issue' | |
113 | resources :issues, :only => [:index, :new, :create] do |
|
114 | resources :issues, :only => [:index, :new, :create] do | |
114 | resources :time_entries, :controller => 'timelog' do |
|
115 | resources :time_entries, :controller => 'timelog' do | |
115 | collection do |
|
116 | collection do | |
116 | get 'report' |
|
117 | get 'report' | |
117 | end |
|
118 | end | |
118 | end |
|
119 | end | |
119 | end |
|
120 | end | |
120 | # issue form update |
|
121 | # issue form update | |
121 | match 'issues/update_form', :controller => 'issues', :action => 'update_form', :via => [:put, :post], :as => 'issue_form' |
|
122 | match 'issues/update_form', :controller => 'issues', :action => 'update_form', :via => [:put, :post], :as => 'issue_form' | |
122 |
|
123 | |||
123 | resources :files, :only => [:index, :new, :create] |
|
124 | resources :files, :only => [:index, :new, :create] | |
124 |
|
125 | |||
125 | resources :versions, :except => [:index, :show, :edit, :update, :destroy] do |
|
126 | resources :versions, :except => [:index, :show, :edit, :update, :destroy] do | |
126 | collection do |
|
127 | collection do | |
127 | put 'close_completed' |
|
128 | put 'close_completed' | |
128 | end |
|
129 | end | |
129 | end |
|
130 | end | |
130 | get 'versions.:format', :to => 'versions#index' |
|
131 | get 'versions.:format', :to => 'versions#index' | |
131 | get 'roadmap', :to => 'versions#index', :format => false |
|
132 | get 'roadmap', :to => 'versions#index', :format => false | |
132 | get 'versions', :to => 'versions#index' |
|
133 | get 'versions', :to => 'versions#index' | |
133 |
|
134 | |||
134 | resources :news, :except => [:show, :edit, :update, :destroy] |
|
135 | resources :news, :except => [:show, :edit, :update, :destroy] | |
135 | resources :time_entries, :controller => 'timelog' do |
|
136 | resources :time_entries, :controller => 'timelog' do | |
136 | get 'report', :on => :collection |
|
137 | get 'report', :on => :collection | |
137 | end |
|
138 | end | |
138 | resources :queries, :only => [:new, :create] |
|
139 | resources :queries, :only => [:new, :create] | |
139 | shallow do |
|
140 | shallow do | |
140 | resources :issue_categories |
|
141 | resources :issue_categories | |
141 | end |
|
142 | end | |
142 | resources :documents, :except => [:show, :edit, :update, :destroy] |
|
143 | resources :documents, :except => [:show, :edit, :update, :destroy] | |
143 | resources :boards |
|
144 | resources :boards | |
144 | shallow do |
|
145 | shallow do | |
145 | resources :repositories, :except => [:index, :show] do |
|
146 | resources :repositories, :except => [:index, :show] do | |
146 | member do |
|
147 | member do | |
147 | match 'committers', :via => [:get, :post] |
|
148 | match 'committers', :via => [:get, :post] | |
148 | end |
|
149 | end | |
149 | end |
|
150 | end | |
150 | end |
|
151 | end | |
151 |
|
152 | |||
152 | match 'wiki/index', :controller => 'wiki', :action => 'index', :via => :get |
|
153 | match 'wiki/index', :controller => 'wiki', :action => 'index', :via => :get | |
153 | resources :wiki, :except => [:index, :new, :create], :as => 'wiki_page' do |
|
154 | resources :wiki, :except => [:index, :new, :create], :as => 'wiki_page' do | |
154 | member do |
|
155 | member do | |
155 | get 'rename' |
|
156 | get 'rename' | |
156 | post 'rename' |
|
157 | post 'rename' | |
157 | get 'history' |
|
158 | get 'history' | |
158 | get 'diff' |
|
159 | get 'diff' | |
159 | match 'preview', :via => [:post, :put] |
|
160 | match 'preview', :via => [:post, :put] | |
160 | post 'protect' |
|
161 | post 'protect' | |
161 | post 'add_attachment' |
|
162 | post 'add_attachment' | |
162 | end |
|
163 | end | |
163 | collection do |
|
164 | collection do | |
164 | get 'export' |
|
165 | get 'export' | |
165 | get 'date_index' |
|
166 | get 'date_index' | |
166 | end |
|
167 | end | |
167 | end |
|
168 | end | |
168 | match 'wiki', :controller => 'wiki', :action => 'show', :via => :get |
|
169 | match 'wiki', :controller => 'wiki', :action => 'show', :via => :get | |
169 | get 'wiki/:id/:version', :to => 'wiki#show', :constraints => {:version => /\d+/} |
|
170 | get 'wiki/:id/:version', :to => 'wiki#show', :constraints => {:version => /\d+/} | |
170 | delete 'wiki/:id/:version', :to => 'wiki#destroy_version' |
|
171 | delete 'wiki/:id/:version', :to => 'wiki#destroy_version' | |
171 | get 'wiki/:id/:version/annotate', :to => 'wiki#annotate' |
|
172 | get 'wiki/:id/:version/annotate', :to => 'wiki#annotate' | |
172 | get 'wiki/:id/:version/diff', :to => 'wiki#diff' |
|
173 | get 'wiki/:id/:version/diff', :to => 'wiki#diff' | |
173 | end |
|
174 | end | |
174 |
|
175 | |||
175 | resources :issues do |
|
176 | resources :issues do | |
176 | collection do |
|
177 | collection do | |
177 | match 'bulk_edit', :via => [:get, :post] |
|
178 | match 'bulk_edit', :via => [:get, :post] | |
178 | post 'bulk_update' |
|
179 | post 'bulk_update' | |
179 | end |
|
180 | end | |
180 | resources :time_entries, :controller => 'timelog' do |
|
181 | resources :time_entries, :controller => 'timelog' do | |
181 | collection do |
|
182 | collection do | |
182 | get 'report' |
|
183 | get 'report' | |
183 | end |
|
184 | end | |
184 | end |
|
185 | end | |
185 | shallow do |
|
186 | shallow do | |
186 | resources :relations, :controller => 'issue_relations', :only => [:index, :show, :create, :destroy] |
|
187 | resources :relations, :controller => 'issue_relations', :only => [:index, :show, :create, :destroy] | |
187 | end |
|
188 | end | |
188 | end |
|
189 | end | |
189 | match '/issues', :controller => 'issues', :action => 'destroy', :via => :delete |
|
190 | match '/issues', :controller => 'issues', :action => 'destroy', :via => :delete | |
190 |
|
191 | |||
191 | resources :queries, :except => [:show] |
|
192 | resources :queries, :except => [:show] | |
192 |
|
193 | |||
193 | resources :news, :only => [:index, :show, :edit, :update, :destroy] |
|
194 | resources :news, :only => [:index, :show, :edit, :update, :destroy] | |
194 | match '/news/:id/comments', :to => 'comments#create', :via => :post |
|
195 | match '/news/:id/comments', :to => 'comments#create', :via => :post | |
195 | match '/news/:id/comments/:comment_id', :to => 'comments#destroy', :via => :delete |
|
196 | match '/news/:id/comments/:comment_id', :to => 'comments#destroy', :via => :delete | |
196 |
|
197 | |||
197 | resources :versions, :only => [:show, :edit, :update, :destroy] do |
|
198 | resources :versions, :only => [:show, :edit, :update, :destroy] do | |
198 | post 'status_by', :on => :member |
|
199 | post 'status_by', :on => :member | |
199 | end |
|
200 | end | |
200 |
|
201 | |||
201 | resources :documents, :only => [:show, :edit, :update, :destroy] do |
|
202 | resources :documents, :only => [:show, :edit, :update, :destroy] do | |
202 | post 'add_attachment', :on => :member |
|
203 | post 'add_attachment', :on => :member | |
203 | end |
|
204 | end | |
204 |
|
205 | |||
205 | match '/time_entries/context_menu', :to => 'context_menus#time_entries', :as => :time_entries_context_menu, :via => [:get, :post] |
|
206 | match '/time_entries/context_menu', :to => 'context_menus#time_entries', :as => :time_entries_context_menu, :via => [:get, :post] | |
206 |
|
207 | |||
207 | resources :time_entries, :controller => 'timelog', :except => :destroy do |
|
208 | resources :time_entries, :controller => 'timelog', :except => :destroy do | |
208 | collection do |
|
209 | collection do | |
209 | get 'report' |
|
210 | get 'report' | |
210 | get 'bulk_edit' |
|
211 | get 'bulk_edit' | |
211 | post 'bulk_update' |
|
212 | post 'bulk_update' | |
212 | end |
|
213 | end | |
213 | end |
|
214 | end | |
214 | match '/time_entries/:id', :to => 'timelog#destroy', :via => :delete, :id => /\d+/ |
|
215 | match '/time_entries/:id', :to => 'timelog#destroy', :via => :delete, :id => /\d+/ | |
215 | # TODO: delete /time_entries for bulk deletion |
|
216 | # TODO: delete /time_entries for bulk deletion | |
216 | match '/time_entries/destroy', :to => 'timelog#destroy', :via => :delete |
|
217 | match '/time_entries/destroy', :to => 'timelog#destroy', :via => :delete | |
217 |
|
218 | |||
218 | get 'projects/:id/activity', :to => 'activities#index' |
|
219 | get 'projects/:id/activity', :to => 'activities#index' | |
219 | get 'projects/:id/activity.:format', :to => 'activities#index' |
|
220 | get 'projects/:id/activity.:format', :to => 'activities#index' | |
220 | get 'activity', :to => 'activities#index' |
|
221 | get 'activity', :to => 'activities#index' | |
221 |
|
222 | |||
222 | # repositories routes |
|
223 | # repositories routes | |
223 | get 'projects/:id/repository/:repository_id/statistics', :to => 'repositories#stats' |
|
224 | get 'projects/:id/repository/:repository_id/statistics', :to => 'repositories#stats' | |
224 | get 'projects/:id/repository/:repository_id/graph', :to => 'repositories#graph' |
|
225 | get 'projects/:id/repository/:repository_id/graph', :to => 'repositories#graph' | |
225 |
|
226 | |||
226 | get 'projects/:id/repository/:repository_id/changes(/*path(.:ext))', |
|
227 | get 'projects/:id/repository/:repository_id/changes(/*path(.:ext))', | |
227 | :to => 'repositories#changes' |
|
228 | :to => 'repositories#changes' | |
228 |
|
229 | |||
229 | get 'projects/:id/repository/:repository_id/revisions/:rev', :to => 'repositories#revision' |
|
230 | get 'projects/:id/repository/:repository_id/revisions/:rev', :to => 'repositories#revision' | |
230 | get 'projects/:id/repository/:repository_id/revision', :to => 'repositories#revision' |
|
231 | get 'projects/:id/repository/:repository_id/revision', :to => 'repositories#revision' | |
231 | post 'projects/:id/repository/:repository_id/revisions/:rev/issues', :to => 'repositories#add_related_issue' |
|
232 | post 'projects/:id/repository/:repository_id/revisions/:rev/issues', :to => 'repositories#add_related_issue' | |
232 | delete 'projects/:id/repository/:repository_id/revisions/:rev/issues/:issue_id', :to => 'repositories#remove_related_issue' |
|
233 | delete 'projects/:id/repository/:repository_id/revisions/:rev/issues/:issue_id', :to => 'repositories#remove_related_issue' | |
233 | get 'projects/:id/repository/:repository_id/revisions', :to => 'repositories#revisions' |
|
234 | get 'projects/:id/repository/:repository_id/revisions', :to => 'repositories#revisions' | |
234 | get 'projects/:id/repository/:repository_id/revisions/:rev/:action(/*path(.:ext))', |
|
235 | get 'projects/:id/repository/:repository_id/revisions/:rev/:action(/*path(.:ext))', | |
235 | :controller => 'repositories', |
|
236 | :controller => 'repositories', | |
236 | :format => false, |
|
237 | :format => false, | |
237 | :constraints => { |
|
238 | :constraints => { | |
238 | :action => /(browse|show|entry|raw|annotate|diff)/, |
|
239 | :action => /(browse|show|entry|raw|annotate|diff)/, | |
239 | :rev => /[a-z0-9\.\-_]+/ |
|
240 | :rev => /[a-z0-9\.\-_]+/ | |
240 | } |
|
241 | } | |
241 |
|
242 | |||
242 | get 'projects/:id/repository/statistics', :to => 'repositories#stats' |
|
243 | get 'projects/:id/repository/statistics', :to => 'repositories#stats' | |
243 | get 'projects/:id/repository/graph', :to => 'repositories#graph' |
|
244 | get 'projects/:id/repository/graph', :to => 'repositories#graph' | |
244 |
|
245 | |||
245 | get 'projects/:id/repository/changes(/*path(.:ext))', |
|
246 | get 'projects/:id/repository/changes(/*path(.:ext))', | |
246 | :to => 'repositories#changes' |
|
247 | :to => 'repositories#changes' | |
247 |
|
248 | |||
248 | get 'projects/:id/repository/revisions', :to => 'repositories#revisions' |
|
249 | get 'projects/:id/repository/revisions', :to => 'repositories#revisions' | |
249 | get 'projects/:id/repository/revisions/:rev', :to => 'repositories#revision' |
|
250 | get 'projects/:id/repository/revisions/:rev', :to => 'repositories#revision' | |
250 | get 'projects/:id/repository/revision', :to => 'repositories#revision' |
|
251 | get 'projects/:id/repository/revision', :to => 'repositories#revision' | |
251 | post 'projects/:id/repository/revisions/:rev/issues', :to => 'repositories#add_related_issue' |
|
252 | post 'projects/:id/repository/revisions/:rev/issues', :to => 'repositories#add_related_issue' | |
252 | delete 'projects/:id/repository/revisions/:rev/issues/:issue_id', :to => 'repositories#remove_related_issue' |
|
253 | delete 'projects/:id/repository/revisions/:rev/issues/:issue_id', :to => 'repositories#remove_related_issue' | |
253 | get 'projects/:id/repository/revisions/:rev/:action(/*path(.:ext))', |
|
254 | get 'projects/:id/repository/revisions/:rev/:action(/*path(.:ext))', | |
254 | :controller => 'repositories', |
|
255 | :controller => 'repositories', | |
255 | :format => false, |
|
256 | :format => false, | |
256 | :constraints => { |
|
257 | :constraints => { | |
257 | :action => /(browse|show|entry|raw|annotate|diff)/, |
|
258 | :action => /(browse|show|entry|raw|annotate|diff)/, | |
258 | :rev => /[a-z0-9\.\-_]+/ |
|
259 | :rev => /[a-z0-9\.\-_]+/ | |
259 | } |
|
260 | } | |
260 | get 'projects/:id/repository/:repository_id/:action(/*path(.:ext))', |
|
261 | get 'projects/:id/repository/:repository_id/:action(/*path(.:ext))', | |
261 | :controller => 'repositories', |
|
262 | :controller => 'repositories', | |
262 | :action => /(browse|show|entry|raw|changes|annotate|diff)/ |
|
263 | :action => /(browse|show|entry|raw|changes|annotate|diff)/ | |
263 | get 'projects/:id/repository/:action(/*path(.:ext))', |
|
264 | get 'projects/:id/repository/:action(/*path(.:ext))', | |
264 | :controller => 'repositories', |
|
265 | :controller => 'repositories', | |
265 | :action => /(browse|show|entry|raw|changes|annotate|diff)/ |
|
266 | :action => /(browse|show|entry|raw|changes|annotate|diff)/ | |
266 |
|
267 | |||
267 | get 'projects/:id/repository/:repository_id', :to => 'repositories#show', :path => nil |
|
268 | get 'projects/:id/repository/:repository_id', :to => 'repositories#show', :path => nil | |
268 | get 'projects/:id/repository', :to => 'repositories#show', :path => nil |
|
269 | get 'projects/:id/repository', :to => 'repositories#show', :path => nil | |
269 |
|
270 | |||
270 | # additional routes for having the file name at the end of url |
|
271 | # additional routes for having the file name at the end of url | |
271 | get 'attachments/:id/:filename', :to => 'attachments#show', :id => /\d+/, :filename => /.*/, :as => 'named_attachment' |
|
272 | get 'attachments/:id/:filename', :to => 'attachments#show', :id => /\d+/, :filename => /.*/, :as => 'named_attachment' | |
272 | get 'attachments/download/:id/:filename', :to => 'attachments#download', :id => /\d+/, :filename => /.*/, :as => 'download_named_attachment' |
|
273 | get 'attachments/download/:id/:filename', :to => 'attachments#download', :id => /\d+/, :filename => /.*/, :as => 'download_named_attachment' | |
273 | get 'attachments/download/:id', :to => 'attachments#download', :id => /\d+/ |
|
274 | get 'attachments/download/:id', :to => 'attachments#download', :id => /\d+/ | |
274 | get 'attachments/thumbnail/:id(/:size)', :to => 'attachments#thumbnail', :id => /\d+/, :size => /\d+/, :as => 'thumbnail' |
|
275 | get 'attachments/thumbnail/:id(/:size)', :to => 'attachments#thumbnail', :id => /\d+/, :size => /\d+/, :as => 'thumbnail' | |
275 | resources :attachments, :only => [:show, :destroy] |
|
276 | resources :attachments, :only => [:show, :destroy] | |
276 |
|
277 | |||
277 | resources :groups do |
|
278 | resources :groups do | |
278 | member do |
|
279 | member do | |
279 | get 'autocomplete_for_user' |
|
280 | get 'autocomplete_for_user' | |
280 | end |
|
281 | end | |
281 | end |
|
282 | end | |
282 |
|
283 | |||
283 | match 'groups/:id/users', :controller => 'groups', :action => 'add_users', :id => /\d+/, :via => :post, :as => 'group_users' |
|
284 | match 'groups/:id/users', :controller => 'groups', :action => 'add_users', :id => /\d+/, :via => :post, :as => 'group_users' | |
284 | match 'groups/:id/users/:user_id', :controller => 'groups', :action => 'remove_user', :id => /\d+/, :via => :delete, :as => 'group_user' |
|
285 | match 'groups/:id/users/:user_id', :controller => 'groups', :action => 'remove_user', :id => /\d+/, :via => :delete, :as => 'group_user' | |
285 | match 'groups/destroy_membership/:id', :controller => 'groups', :action => 'destroy_membership', :id => /\d+/, :via => :post |
|
286 | match 'groups/destroy_membership/:id', :controller => 'groups', :action => 'destroy_membership', :id => /\d+/, :via => :post | |
286 | match 'groups/edit_membership/:id', :controller => 'groups', :action => 'edit_membership', :id => /\d+/, :via => :post |
|
287 | match 'groups/edit_membership/:id', :controller => 'groups', :action => 'edit_membership', :id => /\d+/, :via => :post | |
287 |
|
288 | |||
288 | resources :trackers, :except => :show do |
|
289 | resources :trackers, :except => :show do | |
289 | collection do |
|
290 | collection do | |
290 | match 'fields', :via => [:get, :post] |
|
291 | match 'fields', :via => [:get, :post] | |
291 | end |
|
292 | end | |
292 | end |
|
293 | end | |
293 | resources :issue_statuses, :except => :show do |
|
294 | resources :issue_statuses, :except => :show do | |
294 | collection do |
|
295 | collection do | |
295 | post 'update_issue_done_ratio' |
|
296 | post 'update_issue_done_ratio' | |
296 | end |
|
297 | end | |
297 | end |
|
298 | end | |
298 | resources :custom_fields, :except => :show |
|
299 | resources :custom_fields, :except => :show | |
299 | resources :roles do |
|
300 | resources :roles do | |
300 | collection do |
|
301 | collection do | |
301 | match 'permissions', :via => [:get, :post] |
|
302 | match 'permissions', :via => [:get, :post] | |
302 | end |
|
303 | end | |
303 | end |
|
304 | end | |
304 | resources :enumerations, :except => :show |
|
305 | resources :enumerations, :except => :show | |
305 | match 'enumerations/:type', :to => 'enumerations#index', :via => :get |
|
306 | match 'enumerations/:type', :to => 'enumerations#index', :via => :get | |
306 |
|
307 | |||
307 | get 'projects/:id/search', :controller => 'search', :action => 'index' |
|
308 | get 'projects/:id/search', :controller => 'search', :action => 'index' | |
308 | get 'search', :controller => 'search', :action => 'index' |
|
309 | get 'search', :controller => 'search', :action => 'index' | |
309 |
|
310 | |||
310 | match 'mail_handler', :controller => 'mail_handler', :action => 'index', :via => :post |
|
311 | match 'mail_handler', :controller => 'mail_handler', :action => 'index', :via => :post | |
311 |
|
312 | |||
312 | match 'admin', :controller => 'admin', :action => 'index', :via => :get |
|
313 | match 'admin', :controller => 'admin', :action => 'index', :via => :get | |
313 | match 'admin/projects', :controller => 'admin', :action => 'projects', :via => :get |
|
314 | match 'admin/projects', :controller => 'admin', :action => 'projects', :via => :get | |
314 | match 'admin/plugins', :controller => 'admin', :action => 'plugins', :via => :get |
|
315 | match 'admin/plugins', :controller => 'admin', :action => 'plugins', :via => :get | |
315 | match 'admin/info', :controller => 'admin', :action => 'info', :via => :get |
|
316 | match 'admin/info', :controller => 'admin', :action => 'info', :via => :get | |
316 | match 'admin/test_email', :controller => 'admin', :action => 'test_email', :via => :get |
|
317 | match 'admin/test_email', :controller => 'admin', :action => 'test_email', :via => :get | |
317 | match 'admin/default_configuration', :controller => 'admin', :action => 'default_configuration', :via => :post |
|
318 | match 'admin/default_configuration', :controller => 'admin', :action => 'default_configuration', :via => :post | |
318 |
|
319 | |||
319 | resources :auth_sources do |
|
320 | resources :auth_sources do | |
320 | member do |
|
321 | member do | |
321 | get 'test_connection', :as => 'try_connection' |
|
322 | get 'test_connection', :as => 'try_connection' | |
322 | end |
|
323 | end | |
323 | collection do |
|
324 | collection do | |
324 | get 'autocomplete_for_new_user' |
|
325 | get 'autocomplete_for_new_user' | |
325 | end |
|
326 | end | |
326 | end |
|
327 | end | |
327 |
|
328 | |||
328 | match 'workflows', :controller => 'workflows', :action => 'index', :via => :get |
|
329 | match 'workflows', :controller => 'workflows', :action => 'index', :via => :get | |
329 | match 'workflows/edit', :controller => 'workflows', :action => 'edit', :via => [:get, :post] |
|
330 | match 'workflows/edit', :controller => 'workflows', :action => 'edit', :via => [:get, :post] | |
330 | match 'workflows/permissions', :controller => 'workflows', :action => 'permissions', :via => [:get, :post] |
|
331 | match 'workflows/permissions', :controller => 'workflows', :action => 'permissions', :via => [:get, :post] | |
331 | match 'workflows/copy', :controller => 'workflows', :action => 'copy', :via => [:get, :post] |
|
332 | match 'workflows/copy', :controller => 'workflows', :action => 'copy', :via => [:get, :post] | |
332 | match 'settings', :controller => 'settings', :action => 'index', :via => :get |
|
333 | match 'settings', :controller => 'settings', :action => 'index', :via => :get | |
333 | match 'settings/edit', :controller => 'settings', :action => 'edit', :via => [:get, :post] |
|
334 | match 'settings/edit', :controller => 'settings', :action => 'edit', :via => [:get, :post] | |
334 | match 'settings/plugin/:id', :controller => 'settings', :action => 'plugin', :via => [:get, :post], :as => 'plugin_settings' |
|
335 | match 'settings/plugin/:id', :controller => 'settings', :action => 'plugin', :via => [:get, :post], :as => 'plugin_settings' | |
335 |
|
336 | |||
336 | match 'sys/projects', :to => 'sys#projects', :via => :get |
|
337 | match 'sys/projects', :to => 'sys#projects', :via => :get | |
337 | match 'sys/projects/:id/repository', :to => 'sys#create_project_repository', :via => :post |
|
338 | match 'sys/projects/:id/repository', :to => 'sys#create_project_repository', :via => :post | |
338 | match 'sys/fetch_changesets', :to => 'sys#fetch_changesets', :via => :get |
|
339 | match 'sys/fetch_changesets', :to => 'sys#fetch_changesets', :via => :get | |
339 |
|
340 | |||
340 | match 'uploads', :to => 'attachments#upload', :via => :post |
|
341 | match 'uploads', :to => 'attachments#upload', :via => :post | |
341 |
|
342 | |||
342 | get 'robots.txt', :to => 'welcome#robots' |
|
343 | get 'robots.txt', :to => 'welcome#robots' | |
343 |
|
344 | |||
344 | Dir.glob File.expand_path("plugins/*", Rails.root) do |plugin_dir| |
|
345 | Dir.glob File.expand_path("plugins/*", Rails.root) do |plugin_dir| | |
345 | file = File.join(plugin_dir, "config/routes.rb") |
|
346 | file = File.join(plugin_dir, "config/routes.rb") | |
346 | if File.exists?(file) |
|
347 | if File.exists?(file) | |
347 | begin |
|
348 | begin | |
348 | instance_eval File.read(file) |
|
349 | instance_eval File.read(file) | |
349 | rescue Exception => e |
|
350 | rescue Exception => e | |
350 | puts "An error occurred while loading the routes definition of #{File.basename(plugin_dir)} plugin (#{file}): #{e.message}." |
|
351 | puts "An error occurred while loading the routes definition of #{File.basename(plugin_dir)} plugin (#{file}): #{e.message}." | |
351 | exit 1 |
|
352 | exit 1 | |
352 | end |
|
353 | end | |
353 | end |
|
354 | end | |
354 | end |
|
355 | end | |
355 | end |
|
356 | end |
@@ -1,277 +1,319 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2013 Jean-Philippe Lang | |
3 | # |
|
3 | # | |
4 | # This program is free software; you can redistribute it and/or |
|
4 | # This program is free software; you can redistribute it and/or | |
5 | # modify it under the terms of the GNU General Public License |
|
5 | # modify it under the terms of the GNU General Public License | |
6 | # as published by the Free Software Foundation; either version 2 |
|
6 | # as published by the Free Software Foundation; either version 2 | |
7 | # of the License, or (at your option) any later version. |
|
7 | # of the License, or (at your option) any later version. | |
8 | # |
|
8 | # | |
9 | # This program is distributed in the hope that it will be useful, |
|
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. |
|
12 | # GNU General Public License for more details. | |
13 | # |
|
13 | # | |
14 | # You should have received a copy of the GNU General Public License |
|
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software |
|
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
17 |
|
17 | |||
18 | require File.expand_path('../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 | class AccountControllerTest < ActionController::TestCase |
|
20 | class AccountControllerTest < ActionController::TestCase | |
21 | fixtures :users, :roles |
|
21 | fixtures :users, :roles | |
22 |
|
22 | |||
23 | def setup |
|
23 | def setup | |
24 | User.current = nil |
|
24 | User.current = nil | |
25 | end |
|
25 | end | |
26 |
|
26 | |||
27 | def test_get_login |
|
27 | def test_get_login | |
28 | get :login |
|
28 | get :login | |
29 | assert_response :success |
|
29 | assert_response :success | |
30 | assert_template 'login' |
|
30 | assert_template 'login' | |
31 |
|
31 | |||
32 | assert_select 'input[name=username]' |
|
32 | assert_select 'input[name=username]' | |
33 | assert_select 'input[name=password]' |
|
33 | assert_select 'input[name=password]' | |
34 | end |
|
34 | end | |
35 |
|
35 | |||
36 | def test_get_login_while_logged_in_should_redirect_to_home |
|
36 | def test_get_login_while_logged_in_should_redirect_to_home | |
37 | @request.session[:user_id] = 2 |
|
37 | @request.session[:user_id] = 2 | |
38 |
|
38 | |||
39 | get :login |
|
39 | get :login | |
40 | assert_redirected_to '/' |
|
40 | assert_redirected_to '/' | |
41 | assert_equal 2, @request.session[:user_id] |
|
41 | assert_equal 2, @request.session[:user_id] | |
42 | end |
|
42 | end | |
43 |
|
43 | |||
44 | def test_login_should_redirect_to_back_url_param |
|
44 | def test_login_should_redirect_to_back_url_param | |
45 | # request.uri is "test.host" in test environment |
|
45 | # request.uri is "test.host" in test environment | |
46 | post :login, :username => 'jsmith', :password => 'jsmith', :back_url => 'http://test.host/issues/show/1' |
|
46 | post :login, :username => 'jsmith', :password => 'jsmith', :back_url => 'http://test.host/issues/show/1' | |
47 | assert_redirected_to '/issues/show/1' |
|
47 | assert_redirected_to '/issues/show/1' | |
48 | end |
|
48 | end | |
49 |
|
49 | |||
50 | def test_login_should_not_redirect_to_another_host |
|
50 | def test_login_should_not_redirect_to_another_host | |
51 | post :login, :username => 'jsmith', :password => 'jsmith', :back_url => 'http://test.foo/fake' |
|
51 | post :login, :username => 'jsmith', :password => 'jsmith', :back_url => 'http://test.foo/fake' | |
52 | assert_redirected_to '/my/page' |
|
52 | assert_redirected_to '/my/page' | |
53 | end |
|
53 | end | |
54 |
|
54 | |||
55 | def test_login_with_wrong_password |
|
55 | def test_login_with_wrong_password | |
56 | post :login, :username => 'admin', :password => 'bad' |
|
56 | post :login, :username => 'admin', :password => 'bad' | |
57 | assert_response :success |
|
57 | assert_response :success | |
58 | assert_template 'login' |
|
58 | assert_template 'login' | |
59 |
|
59 | |||
60 | assert_select 'div.flash.error', :text => /Invalid user or password/ |
|
60 | assert_select 'div.flash.error', :text => /Invalid user or password/ | |
61 | assert_select 'input[name=username][value=admin]' |
|
61 | assert_select 'input[name=username][value=admin]' | |
62 | assert_select 'input[name=password]' |
|
62 | assert_select 'input[name=password]' | |
63 | assert_select 'input[name=password][value]', 0 |
|
63 | assert_select 'input[name=password][value]', 0 | |
64 | end |
|
64 | end | |
65 |
|
65 | |||
|
66 | def test_login_with_locked_account_should_fail | |||
|
67 | User.find(2).update_attribute :status, User::STATUS_LOCKED | |||
|
68 | ||||
|
69 | post :login, :username => 'jsmith', :password => 'jsmith' | |||
|
70 | assert_redirected_to '/login' | |||
|
71 | assert_include 'locked', flash[:error] | |||
|
72 | assert_nil @request.session[:user_id] | |||
|
73 | end | |||
|
74 | ||||
|
75 | def test_login_as_registered_user_with_manual_activation_should_inform_user | |||
|
76 | User.find(2).update_attribute :status, User::STATUS_REGISTERED | |||
|
77 | ||||
|
78 | with_settings :self_registration => '2', :default_language => 'en' do | |||
|
79 | post :login, :username => 'jsmith', :password => 'jsmith' | |||
|
80 | assert_redirected_to '/login' | |||
|
81 | assert_include 'pending administrator approval', flash[:error] | |||
|
82 | end | |||
|
83 | end | |||
|
84 | ||||
|
85 | def test_login_as_registered_user_with_email_activation_should_propose_new_activation_email | |||
|
86 | User.find(2).update_attribute :status, User::STATUS_REGISTERED | |||
|
87 | ||||
|
88 | with_settings :self_registration => '1', :default_language => 'en' do | |||
|
89 | post :login, :username => 'jsmith', :password => 'jsmith' | |||
|
90 | assert_redirected_to '/login' | |||
|
91 | assert_equal 2, @request.session[:registered_user_id] | |||
|
92 | assert_include 'new activation email', flash[:error] | |||
|
93 | end | |||
|
94 | end | |||
|
95 | ||||
66 | def test_login_should_rescue_auth_source_exception |
|
96 | def test_login_should_rescue_auth_source_exception | |
67 | source = AuthSource.create!(:name => 'Test') |
|
97 | source = AuthSource.create!(:name => 'Test') | |
68 | User.find(2).update_attribute :auth_source_id, source.id |
|
98 | User.find(2).update_attribute :auth_source_id, source.id | |
69 | AuthSource.any_instance.stubs(:authenticate).raises(AuthSourceException.new("Something wrong")) |
|
99 | AuthSource.any_instance.stubs(:authenticate).raises(AuthSourceException.new("Something wrong")) | |
70 |
|
100 | |||
71 | post :login, :username => 'jsmith', :password => 'jsmith' |
|
101 | post :login, :username => 'jsmith', :password => 'jsmith' | |
72 | assert_response 500 |
|
102 | assert_response 500 | |
73 | assert_error_tag :content => /Something wrong/ |
|
103 | assert_error_tag :content => /Something wrong/ | |
74 | end |
|
104 | end | |
75 |
|
105 | |||
76 | def test_login_should_reset_session |
|
106 | def test_login_should_reset_session | |
77 | @controller.expects(:reset_session).once |
|
107 | @controller.expects(:reset_session).once | |
78 |
|
108 | |||
79 | post :login, :username => 'jsmith', :password => 'jsmith' |
|
109 | post :login, :username => 'jsmith', :password => 'jsmith' | |
80 | assert_response 302 |
|
110 | assert_response 302 | |
81 | end |
|
111 | end | |
82 |
|
112 | |||
83 | def test_get_logout_should_not_logout |
|
113 | def test_get_logout_should_not_logout | |
84 | @request.session[:user_id] = 2 |
|
114 | @request.session[:user_id] = 2 | |
85 | get :logout |
|
115 | get :logout | |
86 | assert_response :success |
|
116 | assert_response :success | |
87 | assert_template 'logout' |
|
117 | assert_template 'logout' | |
88 |
|
118 | |||
89 | assert_equal 2, @request.session[:user_id] |
|
119 | assert_equal 2, @request.session[:user_id] | |
90 | end |
|
120 | end | |
91 |
|
121 | |||
92 | def test_logout |
|
122 | def test_logout | |
93 | @request.session[:user_id] = 2 |
|
123 | @request.session[:user_id] = 2 | |
94 | post :logout |
|
124 | post :logout | |
95 | assert_redirected_to '/' |
|
125 | assert_redirected_to '/' | |
96 | assert_nil @request.session[:user_id] |
|
126 | assert_nil @request.session[:user_id] | |
97 | end |
|
127 | end | |
98 |
|
128 | |||
99 | def test_logout_should_reset_session |
|
129 | def test_logout_should_reset_session | |
100 | @controller.expects(:reset_session).once |
|
130 | @controller.expects(:reset_session).once | |
101 |
|
131 | |||
102 | @request.session[:user_id] = 2 |
|
132 | @request.session[:user_id] = 2 | |
103 | post :logout |
|
133 | post :logout | |
104 | assert_response 302 |
|
134 | assert_response 302 | |
105 | end |
|
135 | end | |
106 |
|
136 | |||
107 | def test_get_register_with_registration_on |
|
137 | def test_get_register_with_registration_on | |
108 | with_settings :self_registration => '3' do |
|
138 | with_settings :self_registration => '3' do | |
109 | get :register |
|
139 | get :register | |
110 | assert_response :success |
|
140 | assert_response :success | |
111 | assert_template 'register' |
|
141 | assert_template 'register' | |
112 | assert_not_nil assigns(:user) |
|
142 | assert_not_nil assigns(:user) | |
113 |
|
143 | |||
114 | assert_select 'input[name=?]', 'user[password]' |
|
144 | assert_select 'input[name=?]', 'user[password]' | |
115 | assert_select 'input[name=?]', 'user[password_confirmation]' |
|
145 | assert_select 'input[name=?]', 'user[password_confirmation]' | |
116 | end |
|
146 | end | |
117 | end |
|
147 | end | |
118 |
|
148 | |||
119 | def test_get_register_should_detect_user_language |
|
149 | def test_get_register_should_detect_user_language | |
120 | with_settings :self_registration => '3' do |
|
150 | with_settings :self_registration => '3' do | |
121 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' |
|
151 | @request.env['HTTP_ACCEPT_LANGUAGE'] = 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3' | |
122 | get :register |
|
152 | get :register | |
123 | assert_response :success |
|
153 | assert_response :success | |
124 | assert_not_nil assigns(:user) |
|
154 | assert_not_nil assigns(:user) | |
125 | assert_equal 'fr', assigns(:user).language |
|
155 | assert_equal 'fr', assigns(:user).language | |
126 | assert_select 'select[name=?]', 'user[language]' do |
|
156 | assert_select 'select[name=?]', 'user[language]' do | |
127 | assert_select 'option[value=fr][selected=selected]' |
|
157 | assert_select 'option[value=fr][selected=selected]' | |
128 | end |
|
158 | end | |
129 | end |
|
159 | end | |
130 | end |
|
160 | end | |
131 |
|
161 | |||
132 | def test_get_register_with_registration_off_should_redirect |
|
162 | def test_get_register_with_registration_off_should_redirect | |
133 | with_settings :self_registration => '0' do |
|
163 | with_settings :self_registration => '0' do | |
134 | get :register |
|
164 | get :register | |
135 | assert_redirected_to '/' |
|
165 | assert_redirected_to '/' | |
136 | end |
|
166 | end | |
137 | end |
|
167 | end | |
138 |
|
168 | |||
139 | # See integration/account_test.rb for the full test |
|
169 | # See integration/account_test.rb for the full test | |
140 | def test_post_register_with_registration_on |
|
170 | def test_post_register_with_registration_on | |
141 | with_settings :self_registration => '3' do |
|
171 | with_settings :self_registration => '3' do | |
142 | assert_difference 'User.count' do |
|
172 | assert_difference 'User.count' do | |
143 | post :register, :user => { |
|
173 | post :register, :user => { | |
144 | :login => 'register', |
|
174 | :login => 'register', | |
145 | :password => 'secret123', |
|
175 | :password => 'secret123', | |
146 | :password_confirmation => 'secret123', |
|
176 | :password_confirmation => 'secret123', | |
147 | :firstname => 'John', |
|
177 | :firstname => 'John', | |
148 | :lastname => 'Doe', |
|
178 | :lastname => 'Doe', | |
149 | :mail => 'register@example.com' |
|
179 | :mail => 'register@example.com' | |
150 | } |
|
180 | } | |
151 | assert_redirected_to '/my/account' |
|
181 | assert_redirected_to '/my/account' | |
152 | end |
|
182 | end | |
153 | user = User.first(:order => 'id DESC') |
|
183 | user = User.first(:order => 'id DESC') | |
154 | assert_equal 'register', user.login |
|
184 | assert_equal 'register', user.login | |
155 | assert_equal 'John', user.firstname |
|
185 | assert_equal 'John', user.firstname | |
156 | assert_equal 'Doe', user.lastname |
|
186 | assert_equal 'Doe', user.lastname | |
157 | assert_equal 'register@example.com', user.mail |
|
187 | assert_equal 'register@example.com', user.mail | |
158 | assert user.check_password?('secret123') |
|
188 | assert user.check_password?('secret123') | |
159 | assert user.active? |
|
189 | assert user.active? | |
160 | end |
|
190 | end | |
161 | end |
|
191 | end | |
162 |
|
192 | |||
163 | def test_post_register_with_registration_off_should_redirect |
|
193 | def test_post_register_with_registration_off_should_redirect | |
164 | with_settings :self_registration => '0' do |
|
194 | with_settings :self_registration => '0' do | |
165 | assert_no_difference 'User.count' do |
|
195 | assert_no_difference 'User.count' do | |
166 | post :register, :user => { |
|
196 | post :register, :user => { | |
167 | :login => 'register', |
|
197 | :login => 'register', | |
168 | :password => 'test', |
|
198 | :password => 'test', | |
169 | :password_confirmation => 'test', |
|
199 | :password_confirmation => 'test', | |
170 | :firstname => 'John', |
|
200 | :firstname => 'John', | |
171 | :lastname => 'Doe', |
|
201 | :lastname => 'Doe', | |
172 | :mail => 'register@example.com' |
|
202 | :mail => 'register@example.com' | |
173 | } |
|
203 | } | |
174 | assert_redirected_to '/' |
|
204 | assert_redirected_to '/' | |
175 | end |
|
205 | end | |
176 | end |
|
206 | end | |
177 | end |
|
207 | end | |
178 |
|
208 | |||
179 | def test_get_lost_password_should_display_lost_password_form |
|
209 | def test_get_lost_password_should_display_lost_password_form | |
180 | get :lost_password |
|
210 | get :lost_password | |
181 | assert_response :success |
|
211 | assert_response :success | |
182 | assert_select 'input[name=mail]' |
|
212 | assert_select 'input[name=mail]' | |
183 | end |
|
213 | end | |
184 |
|
214 | |||
185 | def test_lost_password_for_active_user_should_create_a_token |
|
215 | def test_lost_password_for_active_user_should_create_a_token | |
186 | Token.delete_all |
|
216 | Token.delete_all | |
187 | ActionMailer::Base.deliveries.clear |
|
217 | ActionMailer::Base.deliveries.clear | |
188 | assert_difference 'ActionMailer::Base.deliveries.size' do |
|
218 | assert_difference 'ActionMailer::Base.deliveries.size' do | |
189 | assert_difference 'Token.count' do |
|
219 | assert_difference 'Token.count' do | |
190 | with_settings :host_name => 'mydomain.foo', :protocol => 'http' do |
|
220 | with_settings :host_name => 'mydomain.foo', :protocol => 'http' do | |
191 | post :lost_password, :mail => 'JSmith@somenet.foo' |
|
221 | post :lost_password, :mail => 'JSmith@somenet.foo' | |
192 | assert_redirected_to '/login' |
|
222 | assert_redirected_to '/login' | |
193 | end |
|
223 | end | |
194 | end |
|
224 | end | |
195 | end |
|
225 | end | |
196 |
|
226 | |||
197 | token = Token.order('id DESC').first |
|
227 | token = Token.order('id DESC').first | |
198 | assert_equal User.find(2), token.user |
|
228 | assert_equal User.find(2), token.user | |
199 | assert_equal 'recovery', token.action |
|
229 | assert_equal 'recovery', token.action | |
200 |
|
230 | |||
201 | assert_select_email do |
|
231 | assert_select_email do | |
202 | assert_select "a[href=?]", "http://mydomain.foo/account/lost_password?token=#{token.value}" |
|
232 | assert_select "a[href=?]", "http://mydomain.foo/account/lost_password?token=#{token.value}" | |
203 | end |
|
233 | end | |
204 | end |
|
234 | end | |
205 |
|
235 | |||
206 | def test_lost_password_for_unknown_user_should_fail |
|
236 | def test_lost_password_for_unknown_user_should_fail | |
207 | Token.delete_all |
|
237 | Token.delete_all | |
208 | assert_no_difference 'Token.count' do |
|
238 | assert_no_difference 'Token.count' do | |
209 | post :lost_password, :mail => 'invalid@somenet.foo' |
|
239 | post :lost_password, :mail => 'invalid@somenet.foo' | |
210 | assert_response :success |
|
240 | assert_response :success | |
211 | end |
|
241 | end | |
212 | end |
|
242 | end | |
213 |
|
243 | |||
214 | def test_lost_password_for_non_active_user_should_fail |
|
244 | def test_lost_password_for_non_active_user_should_fail | |
215 | Token.delete_all |
|
245 | Token.delete_all | |
216 | assert User.find(2).lock! |
|
246 | assert User.find(2).lock! | |
217 |
|
247 | |||
218 | assert_no_difference 'Token.count' do |
|
248 | assert_no_difference 'Token.count' do | |
219 | post :lost_password, :mail => 'JSmith@somenet.foo' |
|
249 | post :lost_password, :mail => 'JSmith@somenet.foo' | |
220 | assert_response :success |
|
250 | assert_redirected_to '/account/lost_password' | |
221 | end |
|
251 | end | |
222 | end |
|
252 | end | |
223 |
|
253 | |||
224 | def test_get_lost_password_with_token_should_display_the_password_recovery_form |
|
254 | def test_get_lost_password_with_token_should_display_the_password_recovery_form | |
225 | user = User.find(2) |
|
255 | user = User.find(2) | |
226 | token = Token.create!(:action => 'recovery', :user => user) |
|
256 | token = Token.create!(:action => 'recovery', :user => user) | |
227 |
|
257 | |||
228 | get :lost_password, :token => token.value |
|
258 | get :lost_password, :token => token.value | |
229 | assert_response :success |
|
259 | assert_response :success | |
230 | assert_template 'password_recovery' |
|
260 | assert_template 'password_recovery' | |
231 |
|
261 | |||
232 | assert_select 'input[type=hidden][name=token][value=?]', token.value |
|
262 | assert_select 'input[type=hidden][name=token][value=?]', token.value | |
233 | end |
|
263 | end | |
234 |
|
264 | |||
235 | def test_get_lost_password_with_invalid_token_should_redirect |
|
265 | def test_get_lost_password_with_invalid_token_should_redirect | |
236 | get :lost_password, :token => "abcdef" |
|
266 | get :lost_password, :token => "abcdef" | |
237 | assert_redirected_to '/' |
|
267 | assert_redirected_to '/' | |
238 | end |
|
268 | end | |
239 |
|
269 | |||
240 | def test_post_lost_password_with_token_should_change_the_user_password |
|
270 | def test_post_lost_password_with_token_should_change_the_user_password | |
241 | user = User.find(2) |
|
271 | user = User.find(2) | |
242 | token = Token.create!(:action => 'recovery', :user => user) |
|
272 | token = Token.create!(:action => 'recovery', :user => user) | |
243 |
|
273 | |||
244 | post :lost_password, :token => token.value, :new_password => 'newpass123', :new_password_confirmation => 'newpass123' |
|
274 | post :lost_password, :token => token.value, :new_password => 'newpass123', :new_password_confirmation => 'newpass123' | |
245 | assert_redirected_to '/login' |
|
275 | assert_redirected_to '/login' | |
246 | user.reload |
|
276 | user.reload | |
247 | assert user.check_password?('newpass123') |
|
277 | assert user.check_password?('newpass123') | |
248 | assert_nil Token.find_by_id(token.id), "Token was not deleted" |
|
278 | assert_nil Token.find_by_id(token.id), "Token was not deleted" | |
249 | end |
|
279 | end | |
250 |
|
280 | |||
251 | def test_post_lost_password_with_token_for_non_active_user_should_fail |
|
281 | def test_post_lost_password_with_token_for_non_active_user_should_fail | |
252 | user = User.find(2) |
|
282 | user = User.find(2) | |
253 | token = Token.create!(:action => 'recovery', :user => user) |
|
283 | token = Token.create!(:action => 'recovery', :user => user) | |
254 | user.lock! |
|
284 | user.lock! | |
255 |
|
285 | |||
256 | post :lost_password, :token => token.value, :new_password => 'newpass123', :new_password_confirmation => 'newpass123' |
|
286 | post :lost_password, :token => token.value, :new_password => 'newpass123', :new_password_confirmation => 'newpass123' | |
257 | assert_redirected_to '/' |
|
287 | assert_redirected_to '/' | |
258 | assert ! user.check_password?('newpass123') |
|
288 | assert ! user.check_password?('newpass123') | |
259 | end |
|
289 | end | |
260 |
|
290 | |||
261 | def test_post_lost_password_with_token_and_password_confirmation_failure_should_redisplay_the_form |
|
291 | def test_post_lost_password_with_token_and_password_confirmation_failure_should_redisplay_the_form | |
262 | user = User.find(2) |
|
292 | user = User.find(2) | |
263 | token = Token.create!(:action => 'recovery', :user => user) |
|
293 | token = Token.create!(:action => 'recovery', :user => user) | |
264 |
|
294 | |||
265 | post :lost_password, :token => token.value, :new_password => 'newpass', :new_password_confirmation => 'wrongpass' |
|
295 | post :lost_password, :token => token.value, :new_password => 'newpass', :new_password_confirmation => 'wrongpass' | |
266 | assert_response :success |
|
296 | assert_response :success | |
267 | assert_template 'password_recovery' |
|
297 | assert_template 'password_recovery' | |
268 | assert_not_nil Token.find_by_id(token.id), "Token was deleted" |
|
298 | assert_not_nil Token.find_by_id(token.id), "Token was deleted" | |
269 |
|
299 | |||
270 | assert_select 'input[type=hidden][name=token][value=?]', token.value |
|
300 | assert_select 'input[type=hidden][name=token][value=?]', token.value | |
271 | end |
|
301 | end | |
272 |
|
302 | |||
273 | def test_post_lost_password_with_invalid_token_should_redirect |
|
303 | def test_post_lost_password_with_invalid_token_should_redirect | |
274 | post :lost_password, :token => "abcdef", :new_password => 'newpass', :new_password_confirmation => 'newpass' |
|
304 | post :lost_password, :token => "abcdef", :new_password => 'newpass', :new_password_confirmation => 'newpass' | |
275 | assert_redirected_to '/' |
|
305 | assert_redirected_to '/' | |
276 | end |
|
306 | end | |
|
307 | ||||
|
308 | def test_activation_email_should_send_an_activation_email | |||
|
309 | User.find(2).update_attribute :status, User::STATUS_REGISTERED | |||
|
310 | @request.session[:registered_user_id] = 2 | |||
|
311 | ||||
|
312 | with_settings :self_registration => '1' do | |||
|
313 | assert_difference 'ActionMailer::Base.deliveries.size' do | |||
|
314 | get :activation_email | |||
|
315 | assert_redirected_to '/login' | |||
|
316 | end | |||
|
317 | end | |||
|
318 | end | |||
277 | end |
|
319 | end |
@@ -1,224 +1,269 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2013 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2013 Jean-Philippe Lang | |
3 | # |
|
3 | # | |
4 | # This program is free software; you can redistribute it and/or |
|
4 | # This program is free software; you can redistribute it and/or | |
5 | # modify it under the terms of the GNU General Public License |
|
5 | # modify it under the terms of the GNU General Public License | |
6 | # as published by the Free Software Foundation; either version 2 |
|
6 | # as published by the Free Software Foundation; either version 2 | |
7 | # of the License, or (at your option) any later version. |
|
7 | # of the License, or (at your option) any later version. | |
8 | # |
|
8 | # | |
9 | # This program is distributed in the hope that it will be useful, |
|
9 | # This program is distributed in the hope that it will be useful, | |
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | # GNU General Public License for more details. |
|
12 | # GNU General Public License for more details. | |
13 | # |
|
13 | # | |
14 | # You should have received a copy of the GNU General Public License |
|
14 | # You should have received a copy of the GNU General Public License | |
15 | # along with this program; if not, write to the Free Software |
|
15 | # along with this program; if not, write to the Free Software | |
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
17 |
|
17 | |||
18 | require File.expand_path('../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 | begin |
|
20 | begin | |
21 | require 'mocha/setup' |
|
21 | require 'mocha/setup' | |
22 | rescue |
|
22 | rescue | |
23 | # Won't run some tests |
|
23 | # Won't run some tests | |
24 | end |
|
24 | end | |
25 |
|
25 | |||
26 | class AccountTest < ActionController::IntegrationTest |
|
26 | class AccountTest < ActionController::IntegrationTest | |
27 | fixtures :users, :roles |
|
27 | fixtures :users, :roles | |
28 |
|
28 | |||
29 | # Replace this with your real tests. |
|
29 | # Replace this with your real tests. | |
30 | def test_login |
|
30 | def test_login | |
31 | get "my/page" |
|
31 | get "my/page" | |
32 | assert_redirected_to "/login?back_url=http%3A%2F%2Fwww.example.com%2Fmy%2Fpage" |
|
32 | assert_redirected_to "/login?back_url=http%3A%2F%2Fwww.example.com%2Fmy%2Fpage" | |
33 | log_user('jsmith', 'jsmith') |
|
33 | log_user('jsmith', 'jsmith') | |
34 |
|
34 | |||
35 | get "my/account" |
|
35 | get "my/account" | |
36 | assert_response :success |
|
36 | assert_response :success | |
37 | assert_template "my/account" |
|
37 | assert_template "my/account" | |
38 | end |
|
38 | end | |
39 |
|
39 | |||
40 | def test_autologin |
|
40 | def test_autologin | |
41 | user = User.find(1) |
|
41 | user = User.find(1) | |
42 | Setting.autologin = "7" |
|
42 | Setting.autologin = "7" | |
43 | Token.delete_all |
|
43 | Token.delete_all | |
44 |
|
44 | |||
45 | # User logs in with 'autologin' checked |
|
45 | # User logs in with 'autologin' checked | |
46 | post '/login', :username => user.login, :password => 'admin', :autologin => 1 |
|
46 | post '/login', :username => user.login, :password => 'admin', :autologin => 1 | |
47 | assert_redirected_to '/my/page' |
|
47 | assert_redirected_to '/my/page' | |
48 | token = Token.first |
|
48 | token = Token.first | |
49 | assert_not_nil token |
|
49 | assert_not_nil token | |
50 | assert_equal user, token.user |
|
50 | assert_equal user, token.user | |
51 | assert_equal 'autologin', token.action |
|
51 | assert_equal 'autologin', token.action | |
52 | assert_equal user.id, session[:user_id] |
|
52 | assert_equal user.id, session[:user_id] | |
53 | assert_equal token.value, cookies['autologin'] |
|
53 | assert_equal token.value, cookies['autologin'] | |
54 |
|
54 | |||
55 | # Session is cleared |
|
55 | # Session is cleared | |
56 | reset! |
|
56 | reset! | |
57 | User.current = nil |
|
57 | User.current = nil | |
58 | # Clears user's last login timestamp |
|
58 | # Clears user's last login timestamp | |
59 | user.update_attribute :last_login_on, nil |
|
59 | user.update_attribute :last_login_on, nil | |
60 | assert_nil user.reload.last_login_on |
|
60 | assert_nil user.reload.last_login_on | |
61 |
|
61 | |||
62 | # User comes back with his autologin cookie |
|
62 | # User comes back with his autologin cookie | |
63 | cookies[:autologin] = token.value |
|
63 | cookies[:autologin] = token.value | |
64 | get '/my/page' |
|
64 | get '/my/page' | |
65 | assert_response :success |
|
65 | assert_response :success | |
66 | assert_template 'my/page' |
|
66 | assert_template 'my/page' | |
67 | assert_equal user.id, session[:user_id] |
|
67 | assert_equal user.id, session[:user_id] | |
68 | assert_not_nil user.reload.last_login_on |
|
68 | assert_not_nil user.reload.last_login_on | |
69 | end |
|
69 | end | |
70 |
|
70 | |||
71 | def test_autologin_should_use_autologin_cookie_name |
|
71 | def test_autologin_should_use_autologin_cookie_name | |
72 | Token.delete_all |
|
72 | Token.delete_all | |
73 | Redmine::Configuration.stubs(:[]).with('autologin_cookie_name').returns('custom_autologin') |
|
73 | Redmine::Configuration.stubs(:[]).with('autologin_cookie_name').returns('custom_autologin') | |
74 | Redmine::Configuration.stubs(:[]).with('autologin_cookie_path').returns('/') |
|
74 | Redmine::Configuration.stubs(:[]).with('autologin_cookie_path').returns('/') | |
75 | Redmine::Configuration.stubs(:[]).with('autologin_cookie_secure').returns(false) |
|
75 | Redmine::Configuration.stubs(:[]).with('autologin_cookie_secure').returns(false) | |
76 |
|
76 | |||
77 | with_settings :autologin => '7' do |
|
77 | with_settings :autologin => '7' do | |
78 | assert_difference 'Token.count' do |
|
78 | assert_difference 'Token.count' do | |
79 | post '/login', :username => 'admin', :password => 'admin', :autologin => 1 |
|
79 | post '/login', :username => 'admin', :password => 'admin', :autologin => 1 | |
80 | end |
|
80 | end | |
81 | assert_response 302 |
|
81 | assert_response 302 | |
82 | assert cookies['custom_autologin'].present? |
|
82 | assert cookies['custom_autologin'].present? | |
83 | token = cookies['custom_autologin'] |
|
83 | token = cookies['custom_autologin'] | |
84 |
|
84 | |||
85 | # Session is cleared |
|
85 | # Session is cleared | |
86 | reset! |
|
86 | reset! | |
87 | cookies['custom_autologin'] = token |
|
87 | cookies['custom_autologin'] = token | |
88 | get '/my/page' |
|
88 | get '/my/page' | |
89 | assert_response :success |
|
89 | assert_response :success | |
90 |
|
90 | |||
91 | assert_difference 'Token.count', -1 do |
|
91 | assert_difference 'Token.count', -1 do | |
92 | post '/logout' |
|
92 | post '/logout' | |
93 | end |
|
93 | end | |
94 | assert cookies['custom_autologin'].blank? |
|
94 | assert cookies['custom_autologin'].blank? | |
95 | end |
|
95 | end | |
96 | end |
|
96 | end | |
97 |
|
97 | |||
98 | def test_lost_password |
|
98 | def test_lost_password | |
99 | Token.delete_all |
|
99 | Token.delete_all | |
100 |
|
100 | |||
101 | get "account/lost_password" |
|
101 | get "account/lost_password" | |
102 | assert_response :success |
|
102 | assert_response :success | |
103 | assert_template "account/lost_password" |
|
103 | assert_template "account/lost_password" | |
104 | assert_select 'input[name=mail]' |
|
104 | assert_select 'input[name=mail]' | |
105 |
|
105 | |||
106 | post "account/lost_password", :mail => 'jSmith@somenet.foo' |
|
106 | post "account/lost_password", :mail => 'jSmith@somenet.foo' | |
107 | assert_redirected_to "/login" |
|
107 | assert_redirected_to "/login" | |
108 |
|
108 | |||
109 | token = Token.first |
|
109 | token = Token.first | |
110 | assert_equal 'recovery', token.action |
|
110 | assert_equal 'recovery', token.action | |
111 | assert_equal 'jsmith@somenet.foo', token.user.mail |
|
111 | assert_equal 'jsmith@somenet.foo', token.user.mail | |
112 | assert !token.expired? |
|
112 | assert !token.expired? | |
113 |
|
113 | |||
114 | get "account/lost_password", :token => token.value |
|
114 | get "account/lost_password", :token => token.value | |
115 | assert_response :success |
|
115 | assert_response :success | |
116 | assert_template "account/password_recovery" |
|
116 | assert_template "account/password_recovery" | |
117 | assert_select 'input[type=hidden][name=token][value=?]', token.value |
|
117 | assert_select 'input[type=hidden][name=token][value=?]', token.value | |
118 | assert_select 'input[name=new_password]' |
|
118 | assert_select 'input[name=new_password]' | |
119 | assert_select 'input[name=new_password_confirmation]' |
|
119 | assert_select 'input[name=new_password_confirmation]' | |
120 |
|
120 | |||
121 | post "account/lost_password", |
|
121 | post "account/lost_password", | |
122 | :token => token.value, :new_password => 'newpass123', |
|
122 | :token => token.value, :new_password => 'newpass123', | |
123 | :new_password_confirmation => 'newpass123' |
|
123 | :new_password_confirmation => 'newpass123' | |
124 | assert_redirected_to "/login" |
|
124 | assert_redirected_to "/login" | |
125 | assert_equal 'Password was successfully updated.', flash[:notice] |
|
125 | assert_equal 'Password was successfully updated.', flash[:notice] | |
126 |
|
126 | |||
127 | log_user('jsmith', 'newpass123') |
|
127 | log_user('jsmith', 'newpass123') | |
128 | assert_equal 0, Token.count |
|
128 | assert_equal 0, Token.count | |
129 | end |
|
129 | end | |
130 |
|
130 | |||
131 | def test_register_with_automatic_activation |
|
131 | def test_register_with_automatic_activation | |
132 | Setting.self_registration = '3' |
|
132 | Setting.self_registration = '3' | |
133 |
|
133 | |||
134 | get 'account/register' |
|
134 | get 'account/register' | |
135 | assert_response :success |
|
135 | assert_response :success | |
136 | assert_template 'account/register' |
|
136 | assert_template 'account/register' | |
137 |
|
137 | |||
138 | post 'account/register', |
|
138 | post 'account/register', | |
139 | :user => {:login => "newuser", :language => "en", |
|
139 | :user => {:login => "newuser", :language => "en", | |
140 | :firstname => "New", :lastname => "User", :mail => "newuser@foo.bar", |
|
140 | :firstname => "New", :lastname => "User", :mail => "newuser@foo.bar", | |
141 | :password => "newpass123", :password_confirmation => "newpass123"} |
|
141 | :password => "newpass123", :password_confirmation => "newpass123"} | |
142 | assert_redirected_to '/my/account' |
|
142 | assert_redirected_to '/my/account' | |
143 | follow_redirect! |
|
143 | follow_redirect! | |
144 | assert_response :success |
|
144 | assert_response :success | |
145 | assert_template 'my/account' |
|
145 | assert_template 'my/account' | |
146 |
|
146 | |||
147 | user = User.find_by_login('newuser') |
|
147 | user = User.find_by_login('newuser') | |
148 | assert_not_nil user |
|
148 | assert_not_nil user | |
149 | assert user.active? |
|
149 | assert user.active? | |
150 | assert_not_nil user.last_login_on |
|
150 | assert_not_nil user.last_login_on | |
151 | end |
|
151 | end | |
152 |
|
152 | |||
153 | def test_register_with_manual_activation |
|
153 | def test_register_with_manual_activation | |
154 | Setting.self_registration = '2' |
|
154 | Setting.self_registration = '2' | |
155 |
|
155 | |||
156 | post 'account/register', |
|
156 | post 'account/register', | |
157 | :user => {:login => "newuser", :language => "en", |
|
157 | :user => {:login => "newuser", :language => "en", | |
158 | :firstname => "New", :lastname => "User", :mail => "newuser@foo.bar", |
|
158 | :firstname => "New", :lastname => "User", :mail => "newuser@foo.bar", | |
159 | :password => "newpass123", :password_confirmation => "newpass123"} |
|
159 | :password => "newpass123", :password_confirmation => "newpass123"} | |
160 | assert_redirected_to '/login' |
|
160 | assert_redirected_to '/login' | |
161 | assert !User.find_by_login('newuser').active? |
|
161 | assert !User.find_by_login('newuser').active? | |
162 | end |
|
162 | end | |
163 |
|
163 | |||
164 | def test_register_with_email_activation |
|
164 | def test_register_with_email_activation | |
165 | Setting.self_registration = '1' |
|
165 | Setting.self_registration = '1' | |
166 | Token.delete_all |
|
166 | Token.delete_all | |
167 |
|
167 | |||
168 | post 'account/register', |
|
168 | post 'account/register', | |
169 | :user => {:login => "newuser", :language => "en", |
|
169 | :user => {:login => "newuser", :language => "en", | |
170 | :firstname => "New", :lastname => "User", :mail => "newuser@foo.bar", |
|
170 | :firstname => "New", :lastname => "User", :mail => "newuser@foo.bar", | |
171 | :password => "newpass123", :password_confirmation => "newpass123"} |
|
171 | :password => "newpass123", :password_confirmation => "newpass123"} | |
172 | assert_redirected_to '/login' |
|
172 | assert_redirected_to '/login' | |
173 | assert !User.find_by_login('newuser').active? |
|
173 | assert !User.find_by_login('newuser').active? | |
174 |
|
174 | |||
175 | token = Token.first |
|
175 | token = Token.first | |
176 | assert_equal 'register', token.action |
|
176 | assert_equal 'register', token.action | |
177 | assert_equal 'newuser@foo.bar', token.user.mail |
|
177 | assert_equal 'newuser@foo.bar', token.user.mail | |
178 | assert !token.expired? |
|
178 | assert !token.expired? | |
179 |
|
179 | |||
180 | get 'account/activate', :token => token.value |
|
180 | get 'account/activate', :token => token.value | |
181 | assert_redirected_to '/login' |
|
181 | assert_redirected_to '/login' | |
182 | log_user('newuser', 'newpass123') |
|
182 | log_user('newuser', 'newpass123') | |
183 | end |
|
183 | end | |
184 |
|
184 | |||
185 | def test_onthefly_registration |
|
185 | def test_onthefly_registration | |
186 | # disable registration |
|
186 | # disable registration | |
187 | Setting.self_registration = '0' |
|
187 | Setting.self_registration = '0' | |
188 | AuthSource.expects(:authenticate).returns( |
|
188 | AuthSource.expects(:authenticate).returns( | |
189 | {:login => 'foo', :firstname => 'Foo', :lastname => 'Smith', |
|
189 | {:login => 'foo', :firstname => 'Foo', :lastname => 'Smith', | |
190 | :mail => 'foo@bar.com', :auth_source_id => 66}) |
|
190 | :mail => 'foo@bar.com', :auth_source_id => 66}) | |
191 |
|
191 | |||
192 | post '/login', :username => 'foo', :password => 'bar' |
|
192 | post '/login', :username => 'foo', :password => 'bar' | |
193 | assert_redirected_to '/my/page' |
|
193 | assert_redirected_to '/my/page' | |
194 |
|
194 | |||
195 | user = User.find_by_login('foo') |
|
195 | user = User.find_by_login('foo') | |
196 | assert user.is_a?(User) |
|
196 | assert user.is_a?(User) | |
197 | assert_equal 66, user.auth_source_id |
|
197 | assert_equal 66, user.auth_source_id | |
198 | assert user.hashed_password.blank? |
|
198 | assert user.hashed_password.blank? | |
199 | end |
|
199 | end | |
200 |
|
200 | |||
201 | def test_onthefly_registration_with_invalid_attributes |
|
201 | def test_onthefly_registration_with_invalid_attributes | |
202 | # disable registration |
|
202 | # disable registration | |
203 | Setting.self_registration = '0' |
|
203 | Setting.self_registration = '0' | |
204 | AuthSource.expects(:authenticate).returns( |
|
204 | AuthSource.expects(:authenticate).returns( | |
205 | {:login => 'foo', :lastname => 'Smith', :auth_source_id => 66}) |
|
205 | {:login => 'foo', :lastname => 'Smith', :auth_source_id => 66}) | |
206 |
|
206 | |||
207 | post '/login', :username => 'foo', :password => 'bar' |
|
207 | post '/login', :username => 'foo', :password => 'bar' | |
208 | assert_response :success |
|
208 | assert_response :success | |
209 | assert_template 'account/register' |
|
209 | assert_template 'account/register' | |
210 | assert_tag :input, :attributes => { :name => 'user[firstname]', :value => '' } |
|
210 | assert_tag :input, :attributes => { :name => 'user[firstname]', :value => '' } | |
211 | assert_tag :input, :attributes => { :name => 'user[lastname]', :value => 'Smith' } |
|
211 | assert_tag :input, :attributes => { :name => 'user[lastname]', :value => 'Smith' } | |
212 | assert_no_tag :input, :attributes => { :name => 'user[login]' } |
|
212 | assert_no_tag :input, :attributes => { :name => 'user[login]' } | |
213 | assert_no_tag :input, :attributes => { :name => 'user[password]' } |
|
213 | assert_no_tag :input, :attributes => { :name => 'user[password]' } | |
214 |
|
214 | |||
215 | post 'account/register', |
|
215 | post 'account/register', | |
216 | :user => {:firstname => 'Foo', :lastname => 'Smith', :mail => 'foo@bar.com'} |
|
216 | :user => {:firstname => 'Foo', :lastname => 'Smith', :mail => 'foo@bar.com'} | |
217 | assert_redirected_to '/my/account' |
|
217 | assert_redirected_to '/my/account' | |
218 |
|
218 | |||
219 | user = User.find_by_login('foo') |
|
219 | user = User.find_by_login('foo') | |
220 | assert user.is_a?(User) |
|
220 | assert user.is_a?(User) | |
221 | assert_equal 66, user.auth_source_id |
|
221 | assert_equal 66, user.auth_source_id | |
222 | assert user.hashed_password.blank? |
|
222 | assert user.hashed_password.blank? | |
223 | end |
|
223 | end | |
|
224 | ||||
|
225 | def test_registered_user_should_be_able_to_get_a_new_activation_email | |||
|
226 | Token.delete_all | |||
|
227 | ||||
|
228 | with_settings :self_registration => '1', :default_language => 'en' do | |||
|
229 | # register a new account | |||
|
230 | assert_difference 'User.count' do | |||
|
231 | assert_difference 'Token.count' do | |||
|
232 | post 'account/register', | |||
|
233 | :user => {:login => "newuser", :language => "en", | |||
|
234 | :firstname => "New", :lastname => "User", :mail => "newuser@foo.bar", | |||
|
235 | :password => "newpass123", :password_confirmation => "newpass123"} | |||
|
236 | end | |||
|
237 | end | |||
|
238 | user = User.order('id desc').first | |||
|
239 | assert_equal User::STATUS_REGISTERED, user.status | |||
|
240 | reset! | |||
|
241 | ||||
|
242 | # try to use "lost password" | |||
|
243 | assert_no_difference 'ActionMailer::Base.deliveries.size' do | |||
|
244 | post '/account/lost_password', :mail => 'newuser@foo.bar' | |||
|
245 | end | |||
|
246 | assert_redirected_to '/account/lost_password' | |||
|
247 | follow_redirect! | |||
|
248 | assert_response :success | |||
|
249 | assert_select 'div.flash', :text => /new activation email/ | |||
|
250 | assert_select 'div.flash a[href=/account/activation_email]' | |||
|
251 | ||||
|
252 | # request a new action activation email | |||
|
253 | assert_difference 'ActionMailer::Base.deliveries.size' do | |||
|
254 | get '/account/activation_email' | |||
|
255 | end | |||
|
256 | assert_redirected_to '/login' | |||
|
257 | token = Token.order('id desc').first | |||
|
258 | activation_path = "/account/activate?token=#{token.value}" | |||
|
259 | assert_include activation_path, mail_body(ActionMailer::Base.deliveries.last) | |||
|
260 | ||||
|
261 | # activate the account | |||
|
262 | get activation_path | |||
|
263 | assert_redirected_to '/login' | |||
|
264 | ||||
|
265 | post '/login', :username => 'newuser', :password => 'newpass123' | |||
|
266 | assert_redirected_to '/my/page' | |||
|
267 | end | |||
|
268 | end | |||
224 | end |
|
269 | end |
General Comments 0
You need to be logged in to leave comments.
Login now