@@ -1,900 +1,900 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2011 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2011 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 Project < ActiveRecord::Base |
|
18 | class Project < ActiveRecord::Base | |
19 | include Redmine::SafeAttributes |
|
19 | include Redmine::SafeAttributes | |
20 |
|
20 | |||
21 | # Project statuses |
|
21 | # Project statuses | |
22 | STATUS_ACTIVE = 1 |
|
22 | STATUS_ACTIVE = 1 | |
23 | STATUS_ARCHIVED = 9 |
|
23 | STATUS_ARCHIVED = 9 | |
24 |
|
24 | |||
25 | # Maximum length for project identifiers |
|
25 | # Maximum length for project identifiers | |
26 | IDENTIFIER_MAX_LENGTH = 100 |
|
26 | IDENTIFIER_MAX_LENGTH = 100 | |
27 |
|
27 | |||
28 | # Specific overidden Activities |
|
28 | # Specific overidden Activities | |
29 | has_many :time_entry_activities |
|
29 | has_many :time_entry_activities | |
30 | has_many :members, :include => [:user, :roles], :conditions => "#{User.table_name}.type='User' AND #{User.table_name}.status=#{User::STATUS_ACTIVE}" |
|
30 | has_many :members, :include => [:user, :roles], :conditions => "#{User.table_name}.type='User' AND #{User.table_name}.status=#{User::STATUS_ACTIVE}" | |
31 | has_many :memberships, :class_name => 'Member' |
|
31 | has_many :memberships, :class_name => 'Member' | |
32 | has_many :member_principals, :class_name => 'Member', |
|
32 | has_many :member_principals, :class_name => 'Member', | |
33 | :include => :principal, |
|
33 | :include => :principal, | |
34 | :conditions => "#{Principal.table_name}.type='Group' OR (#{Principal.table_name}.type='User' AND #{Principal.table_name}.status=#{User::STATUS_ACTIVE})" |
|
34 | :conditions => "#{Principal.table_name}.type='Group' OR (#{Principal.table_name}.type='User' AND #{Principal.table_name}.status=#{User::STATUS_ACTIVE})" | |
35 | has_many :users, :through => :members |
|
35 | has_many :users, :through => :members | |
36 | has_many :principals, :through => :member_principals, :source => :principal |
|
36 | has_many :principals, :through => :member_principals, :source => :principal | |
37 |
|
37 | |||
38 | has_many :enabled_modules, :dependent => :delete_all |
|
38 | has_many :enabled_modules, :dependent => :delete_all | |
39 | has_and_belongs_to_many :trackers, :order => "#{Tracker.table_name}.position" |
|
39 | has_and_belongs_to_many :trackers, :order => "#{Tracker.table_name}.position" | |
40 | has_many :issues, :dependent => :destroy, :order => "#{Issue.table_name}.created_on DESC", :include => [:status, :tracker] |
|
40 | has_many :issues, :dependent => :destroy, :order => "#{Issue.table_name}.created_on DESC", :include => [:status, :tracker] | |
41 | has_many :issue_changes, :through => :issues, :source => :journals |
|
41 | has_many :issue_changes, :through => :issues, :source => :journals | |
42 | has_many :versions, :dependent => :destroy, :order => "#{Version.table_name}.effective_date DESC, #{Version.table_name}.name DESC" |
|
42 | has_many :versions, :dependent => :destroy, :order => "#{Version.table_name}.effective_date DESC, #{Version.table_name}.name DESC" | |
43 | has_many :time_entries, :dependent => :delete_all |
|
43 | has_many :time_entries, :dependent => :delete_all | |
44 | has_many :queries, :dependent => :delete_all |
|
44 | has_many :queries, :dependent => :delete_all | |
45 | has_many :documents, :dependent => :destroy |
|
45 | has_many :documents, :dependent => :destroy | |
46 | has_many :news, :dependent => :destroy, :include => :author |
|
46 | has_many :news, :dependent => :destroy, :include => :author | |
47 | has_many :issue_categories, :dependent => :delete_all, :order => "#{IssueCategory.table_name}.name" |
|
47 | has_many :issue_categories, :dependent => :delete_all, :order => "#{IssueCategory.table_name}.name" | |
48 | has_many :boards, :dependent => :destroy, :order => "position ASC" |
|
48 | has_many :boards, :dependent => :destroy, :order => "position ASC" | |
49 | has_one :repository, :conditions => ["is_default = ?", true] |
|
49 | has_one :repository, :conditions => ["is_default = ?", true] | |
50 | has_many :repositories, :dependent => :destroy |
|
50 | has_many :repositories, :dependent => :destroy | |
51 | has_many :changesets, :through => :repository |
|
51 | has_many :changesets, :through => :repository | |
52 | has_one :wiki, :dependent => :destroy |
|
52 | has_one :wiki, :dependent => :destroy | |
53 | # Custom field for the project issues |
|
53 | # Custom field for the project issues | |
54 | has_and_belongs_to_many :issue_custom_fields, |
|
54 | has_and_belongs_to_many :issue_custom_fields, | |
55 | :class_name => 'IssueCustomField', |
|
55 | :class_name => 'IssueCustomField', | |
56 | :order => "#{CustomField.table_name}.position", |
|
56 | :order => "#{CustomField.table_name}.position", | |
57 | :join_table => "#{table_name_prefix}custom_fields_projects#{table_name_suffix}", |
|
57 | :join_table => "#{table_name_prefix}custom_fields_projects#{table_name_suffix}", | |
58 | :association_foreign_key => 'custom_field_id' |
|
58 | :association_foreign_key => 'custom_field_id' | |
59 |
|
59 | |||
60 | acts_as_nested_set :order => 'name', :dependent => :destroy |
|
60 | acts_as_nested_set :order => 'name', :dependent => :destroy | |
61 | acts_as_attachable :view_permission => :view_files, |
|
61 | acts_as_attachable :view_permission => :view_files, | |
62 | :delete_permission => :manage_files |
|
62 | :delete_permission => :manage_files | |
63 |
|
63 | |||
64 | acts_as_customizable |
|
64 | acts_as_customizable | |
65 | acts_as_searchable :columns => ['name', 'identifier', 'description'], :project_key => 'id', :permission => nil |
|
65 | acts_as_searchable :columns => ['name', 'identifier', 'description'], :project_key => 'id', :permission => nil | |
66 | acts_as_event :title => Proc.new {|o| "#{l(:label_project)}: #{o.name}"}, |
|
66 | acts_as_event :title => Proc.new {|o| "#{l(:label_project)}: #{o.name}"}, | |
67 | :url => Proc.new {|o| {:controller => 'projects', :action => 'show', :id => o}}, |
|
67 | :url => Proc.new {|o| {:controller => 'projects', :action => 'show', :id => o}}, | |
68 | :author => nil |
|
68 | :author => nil | |
69 |
|
69 | |||
70 | attr_protected :status |
|
70 | attr_protected :status | |
71 |
|
71 | |||
72 | validates_presence_of :name, :identifier |
|
72 | validates_presence_of :name, :identifier | |
73 | validates_uniqueness_of :identifier |
|
73 | validates_uniqueness_of :identifier | |
74 | validates_associated :repository, :wiki |
|
74 | validates_associated :repository, :wiki | |
75 | validates_length_of :name, :maximum => 255 |
|
75 | validates_length_of :name, :maximum => 255 | |
76 | validates_length_of :homepage, :maximum => 255 |
|
76 | validates_length_of :homepage, :maximum => 255 | |
77 | validates_length_of :identifier, :in => 1..IDENTIFIER_MAX_LENGTH |
|
77 | validates_length_of :identifier, :in => 1..IDENTIFIER_MAX_LENGTH | |
78 | # donwcase letters, digits, dashes but not digits only |
|
78 | # donwcase letters, digits, dashes but not digits only | |
79 | validates_format_of :identifier, :with => /^(?!\d+$)[a-z0-9\-]*$/, :if => Proc.new { |p| p.identifier_changed? } |
|
79 | validates_format_of :identifier, :with => /^(?!\d+$)[a-z0-9\-_]*$/, :if => Proc.new { |p| p.identifier_changed? } | |
80 | # reserved words |
|
80 | # reserved words | |
81 | validates_exclusion_of :identifier, :in => %w( new ) |
|
81 | validates_exclusion_of :identifier, :in => %w( new ) | |
82 |
|
82 | |||
83 | before_destroy :delete_all_members |
|
83 | before_destroy :delete_all_members | |
84 |
|
84 | |||
85 | named_scope :has_module, lambda { |mod| { :conditions => ["#{Project.table_name}.id IN (SELECT em.project_id FROM #{EnabledModule.table_name} em WHERE em.name=?)", mod.to_s] } } |
|
85 | named_scope :has_module, lambda { |mod| { :conditions => ["#{Project.table_name}.id IN (SELECT em.project_id FROM #{EnabledModule.table_name} em WHERE em.name=?)", mod.to_s] } } | |
86 | named_scope :active, { :conditions => "#{Project.table_name}.status = #{STATUS_ACTIVE}"} |
|
86 | named_scope :active, { :conditions => "#{Project.table_name}.status = #{STATUS_ACTIVE}"} | |
87 | named_scope :status, lambda {|arg| arg.blank? ? {} : {:conditions => {:status => arg.to_i}} } |
|
87 | named_scope :status, lambda {|arg| arg.blank? ? {} : {:conditions => {:status => arg.to_i}} } | |
88 | named_scope :all_public, { :conditions => { :is_public => true } } |
|
88 | named_scope :all_public, { :conditions => { :is_public => true } } | |
89 | named_scope :visible, lambda {|*args| {:conditions => Project.visible_condition(args.shift || User.current, *args) }} |
|
89 | named_scope :visible, lambda {|*args| {:conditions => Project.visible_condition(args.shift || User.current, *args) }} | |
90 | named_scope :allowed_to, lambda {|*args| |
|
90 | named_scope :allowed_to, lambda {|*args| | |
91 | user = User.current |
|
91 | user = User.current | |
92 | permission = nil |
|
92 | permission = nil | |
93 | if args.first.is_a?(Symbol) |
|
93 | if args.first.is_a?(Symbol) | |
94 | permission = args.shift |
|
94 | permission = args.shift | |
95 | else |
|
95 | else | |
96 | user = args.shift |
|
96 | user = args.shift | |
97 | permission = args.shift |
|
97 | permission = args.shift | |
98 | end |
|
98 | end | |
99 | { :conditions => Project.allowed_to_condition(user, permission, *args) } |
|
99 | { :conditions => Project.allowed_to_condition(user, permission, *args) } | |
100 | } |
|
100 | } | |
101 | named_scope :like, lambda {|arg| |
|
101 | named_scope :like, lambda {|arg| | |
102 | if arg.blank? |
|
102 | if arg.blank? | |
103 | {} |
|
103 | {} | |
104 | else |
|
104 | else | |
105 | pattern = "%#{arg.to_s.strip.downcase}%" |
|
105 | pattern = "%#{arg.to_s.strip.downcase}%" | |
106 | {:conditions => ["LOWER(identifier) LIKE :p OR LOWER(name) LIKE :p", {:p => pattern}]} |
|
106 | {:conditions => ["LOWER(identifier) LIKE :p OR LOWER(name) LIKE :p", {:p => pattern}]} | |
107 | end |
|
107 | end | |
108 | } |
|
108 | } | |
109 |
|
109 | |||
110 | def initialize(attributes=nil, *args) |
|
110 | def initialize(attributes=nil, *args) | |
111 | super |
|
111 | super | |
112 |
|
112 | |||
113 | initialized = (attributes || {}).stringify_keys |
|
113 | initialized = (attributes || {}).stringify_keys | |
114 | if !initialized.key?('identifier') && Setting.sequential_project_identifiers? |
|
114 | if !initialized.key?('identifier') && Setting.sequential_project_identifiers? | |
115 | self.identifier = Project.next_identifier |
|
115 | self.identifier = Project.next_identifier | |
116 | end |
|
116 | end | |
117 | if !initialized.key?('is_public') |
|
117 | if !initialized.key?('is_public') | |
118 | self.is_public = Setting.default_projects_public? |
|
118 | self.is_public = Setting.default_projects_public? | |
119 | end |
|
119 | end | |
120 | if !initialized.key?('enabled_module_names') |
|
120 | if !initialized.key?('enabled_module_names') | |
121 | self.enabled_module_names = Setting.default_projects_modules |
|
121 | self.enabled_module_names = Setting.default_projects_modules | |
122 | end |
|
122 | end | |
123 | if !initialized.key?('trackers') && !initialized.key?('tracker_ids') |
|
123 | if !initialized.key?('trackers') && !initialized.key?('tracker_ids') | |
124 | self.trackers = Tracker.all |
|
124 | self.trackers = Tracker.all | |
125 | end |
|
125 | end | |
126 | end |
|
126 | end | |
127 |
|
127 | |||
128 | def identifier=(identifier) |
|
128 | def identifier=(identifier) | |
129 | super unless identifier_frozen? |
|
129 | super unless identifier_frozen? | |
130 | end |
|
130 | end | |
131 |
|
131 | |||
132 | def identifier_frozen? |
|
132 | def identifier_frozen? | |
133 | errors[:identifier].nil? && !(new_record? || identifier.blank?) |
|
133 | errors[:identifier].nil? && !(new_record? || identifier.blank?) | |
134 | end |
|
134 | end | |
135 |
|
135 | |||
136 | # returns latest created projects |
|
136 | # returns latest created projects | |
137 | # non public projects will be returned only if user is a member of those |
|
137 | # non public projects will be returned only if user is a member of those | |
138 | def self.latest(user=nil, count=5) |
|
138 | def self.latest(user=nil, count=5) | |
139 | visible(user).find(:all, :limit => count, :order => "created_on DESC") |
|
139 | visible(user).find(:all, :limit => count, :order => "created_on DESC") | |
140 | end |
|
140 | end | |
141 |
|
141 | |||
142 | # Returns true if the project is visible to +user+ or to the current user. |
|
142 | # Returns true if the project is visible to +user+ or to the current user. | |
143 | def visible?(user=User.current) |
|
143 | def visible?(user=User.current) | |
144 | user.allowed_to?(:view_project, self) |
|
144 | user.allowed_to?(:view_project, self) | |
145 | end |
|
145 | end | |
146 |
|
146 | |||
147 | # Returns a SQL conditions string used to find all projects visible by the specified user. |
|
147 | # Returns a SQL conditions string used to find all projects visible by the specified user. | |
148 | # |
|
148 | # | |
149 | # Examples: |
|
149 | # Examples: | |
150 | # Project.visible_condition(admin) => "projects.status = 1" |
|
150 | # Project.visible_condition(admin) => "projects.status = 1" | |
151 | # Project.visible_condition(normal_user) => "((projects.status = 1) AND (projects.is_public = 1 OR projects.id IN (1,3,4)))" |
|
151 | # Project.visible_condition(normal_user) => "((projects.status = 1) AND (projects.is_public = 1 OR projects.id IN (1,3,4)))" | |
152 | # Project.visible_condition(anonymous) => "((projects.status = 1) AND (projects.is_public = 1))" |
|
152 | # Project.visible_condition(anonymous) => "((projects.status = 1) AND (projects.is_public = 1))" | |
153 | def self.visible_condition(user, options={}) |
|
153 | def self.visible_condition(user, options={}) | |
154 | allowed_to_condition(user, :view_project, options) |
|
154 | allowed_to_condition(user, :view_project, options) | |
155 | end |
|
155 | end | |
156 |
|
156 | |||
157 | # Returns a SQL conditions string used to find all projects for which +user+ has the given +permission+ |
|
157 | # Returns a SQL conditions string used to find all projects for which +user+ has the given +permission+ | |
158 | # |
|
158 | # | |
159 | # Valid options: |
|
159 | # Valid options: | |
160 | # * :project => limit the condition to project |
|
160 | # * :project => limit the condition to project | |
161 | # * :with_subprojects => limit the condition to project and its subprojects |
|
161 | # * :with_subprojects => limit the condition to project and its subprojects | |
162 | # * :member => limit the condition to the user projects |
|
162 | # * :member => limit the condition to the user projects | |
163 | def self.allowed_to_condition(user, permission, options={}) |
|
163 | def self.allowed_to_condition(user, permission, options={}) | |
164 | base_statement = "#{Project.table_name}.status=#{Project::STATUS_ACTIVE}" |
|
164 | base_statement = "#{Project.table_name}.status=#{Project::STATUS_ACTIVE}" | |
165 | if perm = Redmine::AccessControl.permission(permission) |
|
165 | if perm = Redmine::AccessControl.permission(permission) | |
166 | unless perm.project_module.nil? |
|
166 | unless perm.project_module.nil? | |
167 | # If the permission belongs to a project module, make sure the module is enabled |
|
167 | # If the permission belongs to a project module, make sure the module is enabled | |
168 | base_statement << " AND #{Project.table_name}.id IN (SELECT em.project_id FROM #{EnabledModule.table_name} em WHERE em.name='#{perm.project_module}')" |
|
168 | base_statement << " AND #{Project.table_name}.id IN (SELECT em.project_id FROM #{EnabledModule.table_name} em WHERE em.name='#{perm.project_module}')" | |
169 | end |
|
169 | end | |
170 | end |
|
170 | end | |
171 | if options[:project] |
|
171 | if options[:project] | |
172 | project_statement = "#{Project.table_name}.id = #{options[:project].id}" |
|
172 | project_statement = "#{Project.table_name}.id = #{options[:project].id}" | |
173 | project_statement << " OR (#{Project.table_name}.lft > #{options[:project].lft} AND #{Project.table_name}.rgt < #{options[:project].rgt})" if options[:with_subprojects] |
|
173 | project_statement << " OR (#{Project.table_name}.lft > #{options[:project].lft} AND #{Project.table_name}.rgt < #{options[:project].rgt})" if options[:with_subprojects] | |
174 | base_statement = "(#{project_statement}) AND (#{base_statement})" |
|
174 | base_statement = "(#{project_statement}) AND (#{base_statement})" | |
175 | end |
|
175 | end | |
176 |
|
176 | |||
177 | if user.admin? |
|
177 | if user.admin? | |
178 | base_statement |
|
178 | base_statement | |
179 | else |
|
179 | else | |
180 | statement_by_role = {} |
|
180 | statement_by_role = {} | |
181 | unless options[:member] |
|
181 | unless options[:member] | |
182 | role = user.logged? ? Role.non_member : Role.anonymous |
|
182 | role = user.logged? ? Role.non_member : Role.anonymous | |
183 | if role.allowed_to?(permission) |
|
183 | if role.allowed_to?(permission) | |
184 | statement_by_role[role] = "#{Project.table_name}.is_public = #{connection.quoted_true}" |
|
184 | statement_by_role[role] = "#{Project.table_name}.is_public = #{connection.quoted_true}" | |
185 | end |
|
185 | end | |
186 | end |
|
186 | end | |
187 | if user.logged? |
|
187 | if user.logged? | |
188 | user.projects_by_role.each do |role, projects| |
|
188 | user.projects_by_role.each do |role, projects| | |
189 | if role.allowed_to?(permission) |
|
189 | if role.allowed_to?(permission) | |
190 | statement_by_role[role] = "#{Project.table_name}.id IN (#{projects.collect(&:id).join(',')})" |
|
190 | statement_by_role[role] = "#{Project.table_name}.id IN (#{projects.collect(&:id).join(',')})" | |
191 | end |
|
191 | end | |
192 | end |
|
192 | end | |
193 | end |
|
193 | end | |
194 | if statement_by_role.empty? |
|
194 | if statement_by_role.empty? | |
195 | "1=0" |
|
195 | "1=0" | |
196 | else |
|
196 | else | |
197 | if block_given? |
|
197 | if block_given? | |
198 | statement_by_role.each do |role, statement| |
|
198 | statement_by_role.each do |role, statement| | |
199 | if s = yield(role, user) |
|
199 | if s = yield(role, user) | |
200 | statement_by_role[role] = "(#{statement} AND (#{s}))" |
|
200 | statement_by_role[role] = "(#{statement} AND (#{s}))" | |
201 | end |
|
201 | end | |
202 | end |
|
202 | end | |
203 | end |
|
203 | end | |
204 | "((#{base_statement}) AND (#{statement_by_role.values.join(' OR ')}))" |
|
204 | "((#{base_statement}) AND (#{statement_by_role.values.join(' OR ')}))" | |
205 | end |
|
205 | end | |
206 | end |
|
206 | end | |
207 | end |
|
207 | end | |
208 |
|
208 | |||
209 | # Returns the Systemwide and project specific activities |
|
209 | # Returns the Systemwide and project specific activities | |
210 | def activities(include_inactive=false) |
|
210 | def activities(include_inactive=false) | |
211 | if include_inactive |
|
211 | if include_inactive | |
212 | return all_activities |
|
212 | return all_activities | |
213 | else |
|
213 | else | |
214 | return active_activities |
|
214 | return active_activities | |
215 | end |
|
215 | end | |
216 | end |
|
216 | end | |
217 |
|
217 | |||
218 | # Will create a new Project specific Activity or update an existing one |
|
218 | # Will create a new Project specific Activity or update an existing one | |
219 | # |
|
219 | # | |
220 | # This will raise a ActiveRecord::Rollback if the TimeEntryActivity |
|
220 | # This will raise a ActiveRecord::Rollback if the TimeEntryActivity | |
221 | # does not successfully save. |
|
221 | # does not successfully save. | |
222 | def update_or_create_time_entry_activity(id, activity_hash) |
|
222 | def update_or_create_time_entry_activity(id, activity_hash) | |
223 | if activity_hash.respond_to?(:has_key?) && activity_hash.has_key?('parent_id') |
|
223 | if activity_hash.respond_to?(:has_key?) && activity_hash.has_key?('parent_id') | |
224 | self.create_time_entry_activity_if_needed(activity_hash) |
|
224 | self.create_time_entry_activity_if_needed(activity_hash) | |
225 | else |
|
225 | else | |
226 | activity = project.time_entry_activities.find_by_id(id.to_i) |
|
226 | activity = project.time_entry_activities.find_by_id(id.to_i) | |
227 | activity.update_attributes(activity_hash) if activity |
|
227 | activity.update_attributes(activity_hash) if activity | |
228 | end |
|
228 | end | |
229 | end |
|
229 | end | |
230 |
|
230 | |||
231 | # Create a new TimeEntryActivity if it overrides a system TimeEntryActivity |
|
231 | # Create a new TimeEntryActivity if it overrides a system TimeEntryActivity | |
232 | # |
|
232 | # | |
233 | # This will raise a ActiveRecord::Rollback if the TimeEntryActivity |
|
233 | # This will raise a ActiveRecord::Rollback if the TimeEntryActivity | |
234 | # does not successfully save. |
|
234 | # does not successfully save. | |
235 | def create_time_entry_activity_if_needed(activity) |
|
235 | def create_time_entry_activity_if_needed(activity) | |
236 | if activity['parent_id'] |
|
236 | if activity['parent_id'] | |
237 |
|
237 | |||
238 | parent_activity = TimeEntryActivity.find(activity['parent_id']) |
|
238 | parent_activity = TimeEntryActivity.find(activity['parent_id']) | |
239 | activity['name'] = parent_activity.name |
|
239 | activity['name'] = parent_activity.name | |
240 | activity['position'] = parent_activity.position |
|
240 | activity['position'] = parent_activity.position | |
241 |
|
241 | |||
242 | if Enumeration.overridding_change?(activity, parent_activity) |
|
242 | if Enumeration.overridding_change?(activity, parent_activity) | |
243 | project_activity = self.time_entry_activities.create(activity) |
|
243 | project_activity = self.time_entry_activities.create(activity) | |
244 |
|
244 | |||
245 | if project_activity.new_record? |
|
245 | if project_activity.new_record? | |
246 | raise ActiveRecord::Rollback, "Overridding TimeEntryActivity was not successfully saved" |
|
246 | raise ActiveRecord::Rollback, "Overridding TimeEntryActivity was not successfully saved" | |
247 | else |
|
247 | else | |
248 | self.time_entries.update_all("activity_id = #{project_activity.id}", ["activity_id = ?", parent_activity.id]) |
|
248 | self.time_entries.update_all("activity_id = #{project_activity.id}", ["activity_id = ?", parent_activity.id]) | |
249 | end |
|
249 | end | |
250 | end |
|
250 | end | |
251 | end |
|
251 | end | |
252 | end |
|
252 | end | |
253 |
|
253 | |||
254 | # Returns a :conditions SQL string that can be used to find the issues associated with this project. |
|
254 | # Returns a :conditions SQL string that can be used to find the issues associated with this project. | |
255 | # |
|
255 | # | |
256 | # Examples: |
|
256 | # Examples: | |
257 | # project.project_condition(true) => "(projects.id = 1 OR (projects.lft > 1 AND projects.rgt < 10))" |
|
257 | # project.project_condition(true) => "(projects.id = 1 OR (projects.lft > 1 AND projects.rgt < 10))" | |
258 | # project.project_condition(false) => "projects.id = 1" |
|
258 | # project.project_condition(false) => "projects.id = 1" | |
259 | def project_condition(with_subprojects) |
|
259 | def project_condition(with_subprojects) | |
260 | cond = "#{Project.table_name}.id = #{id}" |
|
260 | cond = "#{Project.table_name}.id = #{id}" | |
261 | cond = "(#{cond} OR (#{Project.table_name}.lft > #{lft} AND #{Project.table_name}.rgt < #{rgt}))" if with_subprojects |
|
261 | cond = "(#{cond} OR (#{Project.table_name}.lft > #{lft} AND #{Project.table_name}.rgt < #{rgt}))" if with_subprojects | |
262 | cond |
|
262 | cond | |
263 | end |
|
263 | end | |
264 |
|
264 | |||
265 | def self.find(*args) |
|
265 | def self.find(*args) | |
266 | if args.first && args.first.is_a?(String) && !args.first.match(/^\d*$/) |
|
266 | if args.first && args.first.is_a?(String) && !args.first.match(/^\d*$/) | |
267 | project = find_by_identifier(*args) |
|
267 | project = find_by_identifier(*args) | |
268 | raise ActiveRecord::RecordNotFound, "Couldn't find Project with identifier=#{args.first}" if project.nil? |
|
268 | raise ActiveRecord::RecordNotFound, "Couldn't find Project with identifier=#{args.first}" if project.nil? | |
269 | project |
|
269 | project | |
270 | else |
|
270 | else | |
271 | super |
|
271 | super | |
272 | end |
|
272 | end | |
273 | end |
|
273 | end | |
274 |
|
274 | |||
275 | def to_param |
|
275 | def to_param | |
276 | # id is used for projects with a numeric identifier (compatibility) |
|
276 | # id is used for projects with a numeric identifier (compatibility) | |
277 | @to_param ||= (identifier.to_s =~ %r{^\d*$} ? id : identifier) |
|
277 | @to_param ||= (identifier.to_s =~ %r{^\d*$} ? id : identifier) | |
278 | end |
|
278 | end | |
279 |
|
279 | |||
280 | def active? |
|
280 | def active? | |
281 | self.status == STATUS_ACTIVE |
|
281 | self.status == STATUS_ACTIVE | |
282 | end |
|
282 | end | |
283 |
|
283 | |||
284 | def archived? |
|
284 | def archived? | |
285 | self.status == STATUS_ARCHIVED |
|
285 | self.status == STATUS_ARCHIVED | |
286 | end |
|
286 | end | |
287 |
|
287 | |||
288 | # Archives the project and its descendants |
|
288 | # Archives the project and its descendants | |
289 | def archive |
|
289 | def archive | |
290 | # Check that there is no issue of a non descendant project that is assigned |
|
290 | # Check that there is no issue of a non descendant project that is assigned | |
291 | # to one of the project or descendant versions |
|
291 | # to one of the project or descendant versions | |
292 | v_ids = self_and_descendants.collect {|p| p.version_ids}.flatten |
|
292 | v_ids = self_and_descendants.collect {|p| p.version_ids}.flatten | |
293 | if v_ids.any? && Issue.find(:first, :include => :project, |
|
293 | if v_ids.any? && Issue.find(:first, :include => :project, | |
294 | :conditions => ["(#{Project.table_name}.lft < ? OR #{Project.table_name}.rgt > ?)" + |
|
294 | :conditions => ["(#{Project.table_name}.lft < ? OR #{Project.table_name}.rgt > ?)" + | |
295 | " AND #{Issue.table_name}.fixed_version_id IN (?)", lft, rgt, v_ids]) |
|
295 | " AND #{Issue.table_name}.fixed_version_id IN (?)", lft, rgt, v_ids]) | |
296 | return false |
|
296 | return false | |
297 | end |
|
297 | end | |
298 | Project.transaction do |
|
298 | Project.transaction do | |
299 | archive! |
|
299 | archive! | |
300 | end |
|
300 | end | |
301 | true |
|
301 | true | |
302 | end |
|
302 | end | |
303 |
|
303 | |||
304 | # Unarchives the project |
|
304 | # Unarchives the project | |
305 | # All its ancestors must be active |
|
305 | # All its ancestors must be active | |
306 | def unarchive |
|
306 | def unarchive | |
307 | return false if ancestors.detect {|a| !a.active?} |
|
307 | return false if ancestors.detect {|a| !a.active?} | |
308 | update_attribute :status, STATUS_ACTIVE |
|
308 | update_attribute :status, STATUS_ACTIVE | |
309 | end |
|
309 | end | |
310 |
|
310 | |||
311 | # Returns an array of projects the project can be moved to |
|
311 | # Returns an array of projects the project can be moved to | |
312 | # by the current user |
|
312 | # by the current user | |
313 | def allowed_parents |
|
313 | def allowed_parents | |
314 | return @allowed_parents if @allowed_parents |
|
314 | return @allowed_parents if @allowed_parents | |
315 | @allowed_parents = Project.find(:all, :conditions => Project.allowed_to_condition(User.current, :add_subprojects)) |
|
315 | @allowed_parents = Project.find(:all, :conditions => Project.allowed_to_condition(User.current, :add_subprojects)) | |
316 | @allowed_parents = @allowed_parents - self_and_descendants |
|
316 | @allowed_parents = @allowed_parents - self_and_descendants | |
317 | if User.current.allowed_to?(:add_project, nil, :global => true) || (!new_record? && parent.nil?) |
|
317 | if User.current.allowed_to?(:add_project, nil, :global => true) || (!new_record? && parent.nil?) | |
318 | @allowed_parents << nil |
|
318 | @allowed_parents << nil | |
319 | end |
|
319 | end | |
320 | unless parent.nil? || @allowed_parents.empty? || @allowed_parents.include?(parent) |
|
320 | unless parent.nil? || @allowed_parents.empty? || @allowed_parents.include?(parent) | |
321 | @allowed_parents << parent |
|
321 | @allowed_parents << parent | |
322 | end |
|
322 | end | |
323 | @allowed_parents |
|
323 | @allowed_parents | |
324 | end |
|
324 | end | |
325 |
|
325 | |||
326 | # Sets the parent of the project with authorization check |
|
326 | # Sets the parent of the project with authorization check | |
327 | def set_allowed_parent!(p) |
|
327 | def set_allowed_parent!(p) | |
328 | unless p.nil? || p.is_a?(Project) |
|
328 | unless p.nil? || p.is_a?(Project) | |
329 | if p.to_s.blank? |
|
329 | if p.to_s.blank? | |
330 | p = nil |
|
330 | p = nil | |
331 | else |
|
331 | else | |
332 | p = Project.find_by_id(p) |
|
332 | p = Project.find_by_id(p) | |
333 | return false unless p |
|
333 | return false unless p | |
334 | end |
|
334 | end | |
335 | end |
|
335 | end | |
336 | if p.nil? |
|
336 | if p.nil? | |
337 | if !new_record? && allowed_parents.empty? |
|
337 | if !new_record? && allowed_parents.empty? | |
338 | return false |
|
338 | return false | |
339 | end |
|
339 | end | |
340 | elsif !allowed_parents.include?(p) |
|
340 | elsif !allowed_parents.include?(p) | |
341 | return false |
|
341 | return false | |
342 | end |
|
342 | end | |
343 | set_parent!(p) |
|
343 | set_parent!(p) | |
344 | end |
|
344 | end | |
345 |
|
345 | |||
346 | # Sets the parent of the project |
|
346 | # Sets the parent of the project | |
347 | # Argument can be either a Project, a String, a Fixnum or nil |
|
347 | # Argument can be either a Project, a String, a Fixnum or nil | |
348 | def set_parent!(p) |
|
348 | def set_parent!(p) | |
349 | unless p.nil? || p.is_a?(Project) |
|
349 | unless p.nil? || p.is_a?(Project) | |
350 | if p.to_s.blank? |
|
350 | if p.to_s.blank? | |
351 | p = nil |
|
351 | p = nil | |
352 | else |
|
352 | else | |
353 | p = Project.find_by_id(p) |
|
353 | p = Project.find_by_id(p) | |
354 | return false unless p |
|
354 | return false unless p | |
355 | end |
|
355 | end | |
356 | end |
|
356 | end | |
357 | if p == parent && !p.nil? |
|
357 | if p == parent && !p.nil? | |
358 | # Nothing to do |
|
358 | # Nothing to do | |
359 | true |
|
359 | true | |
360 | elsif p.nil? || (p.active? && move_possible?(p)) |
|
360 | elsif p.nil? || (p.active? && move_possible?(p)) | |
361 | # Insert the project so that target's children or root projects stay alphabetically sorted |
|
361 | # Insert the project so that target's children or root projects stay alphabetically sorted | |
362 | sibs = (p.nil? ? self.class.roots : p.children) |
|
362 | sibs = (p.nil? ? self.class.roots : p.children) | |
363 | to_be_inserted_before = sibs.detect {|c| c.name.to_s.downcase > name.to_s.downcase } |
|
363 | to_be_inserted_before = sibs.detect {|c| c.name.to_s.downcase > name.to_s.downcase } | |
364 | if to_be_inserted_before |
|
364 | if to_be_inserted_before | |
365 | move_to_left_of(to_be_inserted_before) |
|
365 | move_to_left_of(to_be_inserted_before) | |
366 | elsif p.nil? |
|
366 | elsif p.nil? | |
367 | if sibs.empty? |
|
367 | if sibs.empty? | |
368 | # move_to_root adds the project in first (ie. left) position |
|
368 | # move_to_root adds the project in first (ie. left) position | |
369 | move_to_root |
|
369 | move_to_root | |
370 | else |
|
370 | else | |
371 | move_to_right_of(sibs.last) unless self == sibs.last |
|
371 | move_to_right_of(sibs.last) unless self == sibs.last | |
372 | end |
|
372 | end | |
373 | else |
|
373 | else | |
374 | # move_to_child_of adds the project in last (ie.right) position |
|
374 | # move_to_child_of adds the project in last (ie.right) position | |
375 | move_to_child_of(p) |
|
375 | move_to_child_of(p) | |
376 | end |
|
376 | end | |
377 | Issue.update_versions_from_hierarchy_change(self) |
|
377 | Issue.update_versions_from_hierarchy_change(self) | |
378 | true |
|
378 | true | |
379 | else |
|
379 | else | |
380 | # Can not move to the given target |
|
380 | # Can not move to the given target | |
381 | false |
|
381 | false | |
382 | end |
|
382 | end | |
383 | end |
|
383 | end | |
384 |
|
384 | |||
385 | # Returns an array of the trackers used by the project and its active sub projects |
|
385 | # Returns an array of the trackers used by the project and its active sub projects | |
386 | def rolled_up_trackers |
|
386 | def rolled_up_trackers | |
387 | @rolled_up_trackers ||= |
|
387 | @rolled_up_trackers ||= | |
388 | Tracker.find(:all, :joins => :projects, |
|
388 | Tracker.find(:all, :joins => :projects, | |
389 | :select => "DISTINCT #{Tracker.table_name}.*", |
|
389 | :select => "DISTINCT #{Tracker.table_name}.*", | |
390 | :conditions => ["#{Project.table_name}.lft >= ? AND #{Project.table_name}.rgt <= ? AND #{Project.table_name}.status = #{STATUS_ACTIVE}", lft, rgt], |
|
390 | :conditions => ["#{Project.table_name}.lft >= ? AND #{Project.table_name}.rgt <= ? AND #{Project.table_name}.status = #{STATUS_ACTIVE}", lft, rgt], | |
391 | :order => "#{Tracker.table_name}.position") |
|
391 | :order => "#{Tracker.table_name}.position") | |
392 | end |
|
392 | end | |
393 |
|
393 | |||
394 | # Closes open and locked project versions that are completed |
|
394 | # Closes open and locked project versions that are completed | |
395 | def close_completed_versions |
|
395 | def close_completed_versions | |
396 | Version.transaction do |
|
396 | Version.transaction do | |
397 | versions.find(:all, :conditions => {:status => %w(open locked)}).each do |version| |
|
397 | versions.find(:all, :conditions => {:status => %w(open locked)}).each do |version| | |
398 | if version.completed? |
|
398 | if version.completed? | |
399 | version.update_attribute(:status, 'closed') |
|
399 | version.update_attribute(:status, 'closed') | |
400 | end |
|
400 | end | |
401 | end |
|
401 | end | |
402 | end |
|
402 | end | |
403 | end |
|
403 | end | |
404 |
|
404 | |||
405 | # Returns a scope of the Versions on subprojects |
|
405 | # Returns a scope of the Versions on subprojects | |
406 | def rolled_up_versions |
|
406 | def rolled_up_versions | |
407 | @rolled_up_versions ||= |
|
407 | @rolled_up_versions ||= | |
408 | Version.scoped(:include => :project, |
|
408 | Version.scoped(:include => :project, | |
409 | :conditions => ["#{Project.table_name}.lft >= ? AND #{Project.table_name}.rgt <= ? AND #{Project.table_name}.status = #{STATUS_ACTIVE}", lft, rgt]) |
|
409 | :conditions => ["#{Project.table_name}.lft >= ? AND #{Project.table_name}.rgt <= ? AND #{Project.table_name}.status = #{STATUS_ACTIVE}", lft, rgt]) | |
410 | end |
|
410 | end | |
411 |
|
411 | |||
412 | # Returns a scope of the Versions used by the project |
|
412 | # Returns a scope of the Versions used by the project | |
413 | def shared_versions |
|
413 | def shared_versions | |
414 | @shared_versions ||= begin |
|
414 | @shared_versions ||= begin | |
415 | r = root? ? self : root |
|
415 | r = root? ? self : root | |
416 | Version.scoped(:include => :project, |
|
416 | Version.scoped(:include => :project, | |
417 | :conditions => "#{Project.table_name}.id = #{id}" + |
|
417 | :conditions => "#{Project.table_name}.id = #{id}" + | |
418 | " OR (#{Project.table_name}.status = #{Project::STATUS_ACTIVE} AND (" + |
|
418 | " OR (#{Project.table_name}.status = #{Project::STATUS_ACTIVE} AND (" + | |
419 | " #{Version.table_name}.sharing = 'system'" + |
|
419 | " #{Version.table_name}.sharing = 'system'" + | |
420 | " OR (#{Project.table_name}.lft >= #{r.lft} AND #{Project.table_name}.rgt <= #{r.rgt} AND #{Version.table_name}.sharing = 'tree')" + |
|
420 | " OR (#{Project.table_name}.lft >= #{r.lft} AND #{Project.table_name}.rgt <= #{r.rgt} AND #{Version.table_name}.sharing = 'tree')" + | |
421 | " OR (#{Project.table_name}.lft < #{lft} AND #{Project.table_name}.rgt > #{rgt} AND #{Version.table_name}.sharing IN ('hierarchy', 'descendants'))" + |
|
421 | " OR (#{Project.table_name}.lft < #{lft} AND #{Project.table_name}.rgt > #{rgt} AND #{Version.table_name}.sharing IN ('hierarchy', 'descendants'))" + | |
422 | " OR (#{Project.table_name}.lft > #{lft} AND #{Project.table_name}.rgt < #{rgt} AND #{Version.table_name}.sharing = 'hierarchy')" + |
|
422 | " OR (#{Project.table_name}.lft > #{lft} AND #{Project.table_name}.rgt < #{rgt} AND #{Version.table_name}.sharing = 'hierarchy')" + | |
423 | "))") |
|
423 | "))") | |
424 | end |
|
424 | end | |
425 | end |
|
425 | end | |
426 |
|
426 | |||
427 | # Returns a hash of project users grouped by role |
|
427 | # Returns a hash of project users grouped by role | |
428 | def users_by_role |
|
428 | def users_by_role | |
429 | members.find(:all, :include => [:user, :roles]).inject({}) do |h, m| |
|
429 | members.find(:all, :include => [:user, :roles]).inject({}) do |h, m| | |
430 | m.roles.each do |r| |
|
430 | m.roles.each do |r| | |
431 | h[r] ||= [] |
|
431 | h[r] ||= [] | |
432 | h[r] << m.user |
|
432 | h[r] << m.user | |
433 | end |
|
433 | end | |
434 | h |
|
434 | h | |
435 | end |
|
435 | end | |
436 | end |
|
436 | end | |
437 |
|
437 | |||
438 | # Deletes all project's members |
|
438 | # Deletes all project's members | |
439 | def delete_all_members |
|
439 | def delete_all_members | |
440 | me, mr = Member.table_name, MemberRole.table_name |
|
440 | me, mr = Member.table_name, MemberRole.table_name | |
441 | connection.delete("DELETE FROM #{mr} WHERE #{mr}.member_id IN (SELECT #{me}.id FROM #{me} WHERE #{me}.project_id = #{id})") |
|
441 | connection.delete("DELETE FROM #{mr} WHERE #{mr}.member_id IN (SELECT #{me}.id FROM #{me} WHERE #{me}.project_id = #{id})") | |
442 | Member.delete_all(['project_id = ?', id]) |
|
442 | Member.delete_all(['project_id = ?', id]) | |
443 | end |
|
443 | end | |
444 |
|
444 | |||
445 | # Users/groups issues can be assigned to |
|
445 | # Users/groups issues can be assigned to | |
446 | def assignable_users |
|
446 | def assignable_users | |
447 | assignable = Setting.issue_group_assignment? ? member_principals : members |
|
447 | assignable = Setting.issue_group_assignment? ? member_principals : members | |
448 | assignable.select {|m| m.roles.detect {|role| role.assignable?}}.collect {|m| m.principal}.sort |
|
448 | assignable.select {|m| m.roles.detect {|role| role.assignable?}}.collect {|m| m.principal}.sort | |
449 | end |
|
449 | end | |
450 |
|
450 | |||
451 | # Returns the mail adresses of users that should be always notified on project events |
|
451 | # Returns the mail adresses of users that should be always notified on project events | |
452 | def recipients |
|
452 | def recipients | |
453 | notified_users.collect {|user| user.mail} |
|
453 | notified_users.collect {|user| user.mail} | |
454 | end |
|
454 | end | |
455 |
|
455 | |||
456 | # Returns the users that should be notified on project events |
|
456 | # Returns the users that should be notified on project events | |
457 | def notified_users |
|
457 | def notified_users | |
458 | # TODO: User part should be extracted to User#notify_about? |
|
458 | # TODO: User part should be extracted to User#notify_about? | |
459 | members.select {|m| m.mail_notification? || m.user.mail_notification == 'all'}.collect {|m| m.user} |
|
459 | members.select {|m| m.mail_notification? || m.user.mail_notification == 'all'}.collect {|m| m.user} | |
460 | end |
|
460 | end | |
461 |
|
461 | |||
462 | # Returns an array of all custom fields enabled for project issues |
|
462 | # Returns an array of all custom fields enabled for project issues | |
463 | # (explictly associated custom fields and custom fields enabled for all projects) |
|
463 | # (explictly associated custom fields and custom fields enabled for all projects) | |
464 | def all_issue_custom_fields |
|
464 | def all_issue_custom_fields | |
465 | @all_issue_custom_fields ||= (IssueCustomField.for_all + issue_custom_fields).uniq.sort |
|
465 | @all_issue_custom_fields ||= (IssueCustomField.for_all + issue_custom_fields).uniq.sort | |
466 | end |
|
466 | end | |
467 |
|
467 | |||
468 | # Returns an array of all custom fields enabled for project time entries |
|
468 | # Returns an array of all custom fields enabled for project time entries | |
469 | # (explictly associated custom fields and custom fields enabled for all projects) |
|
469 | # (explictly associated custom fields and custom fields enabled for all projects) | |
470 | def all_time_entry_custom_fields |
|
470 | def all_time_entry_custom_fields | |
471 | @all_time_entry_custom_fields ||= (TimeEntryCustomField.for_all + time_entry_custom_fields).uniq.sort |
|
471 | @all_time_entry_custom_fields ||= (TimeEntryCustomField.for_all + time_entry_custom_fields).uniq.sort | |
472 | end |
|
472 | end | |
473 |
|
473 | |||
474 | def project |
|
474 | def project | |
475 | self |
|
475 | self | |
476 | end |
|
476 | end | |
477 |
|
477 | |||
478 | def <=>(project) |
|
478 | def <=>(project) | |
479 | name.downcase <=> project.name.downcase |
|
479 | name.downcase <=> project.name.downcase | |
480 | end |
|
480 | end | |
481 |
|
481 | |||
482 | def to_s |
|
482 | def to_s | |
483 | name |
|
483 | name | |
484 | end |
|
484 | end | |
485 |
|
485 | |||
486 | # Returns a short description of the projects (first lines) |
|
486 | # Returns a short description of the projects (first lines) | |
487 | def short_description(length = 255) |
|
487 | def short_description(length = 255) | |
488 | description.gsub(/^(.{#{length}}[^\n\r]*).*$/m, '\1...').strip if description |
|
488 | description.gsub(/^(.{#{length}}[^\n\r]*).*$/m, '\1...').strip if description | |
489 | end |
|
489 | end | |
490 |
|
490 | |||
491 | def css_classes |
|
491 | def css_classes | |
492 | s = 'project' |
|
492 | s = 'project' | |
493 | s << ' root' if root? |
|
493 | s << ' root' if root? | |
494 | s << ' child' if child? |
|
494 | s << ' child' if child? | |
495 | s << (leaf? ? ' leaf' : ' parent') |
|
495 | s << (leaf? ? ' leaf' : ' parent') | |
496 | s |
|
496 | s | |
497 | end |
|
497 | end | |
498 |
|
498 | |||
499 | # The earliest start date of a project, based on it's issues and versions |
|
499 | # The earliest start date of a project, based on it's issues and versions | |
500 | def start_date |
|
500 | def start_date | |
501 | [ |
|
501 | [ | |
502 | issues.minimum('start_date'), |
|
502 | issues.minimum('start_date'), | |
503 | shared_versions.collect(&:effective_date), |
|
503 | shared_versions.collect(&:effective_date), | |
504 | shared_versions.collect(&:start_date) |
|
504 | shared_versions.collect(&:start_date) | |
505 | ].flatten.compact.min |
|
505 | ].flatten.compact.min | |
506 | end |
|
506 | end | |
507 |
|
507 | |||
508 | # The latest due date of an issue or version |
|
508 | # The latest due date of an issue or version | |
509 | def due_date |
|
509 | def due_date | |
510 | [ |
|
510 | [ | |
511 | issues.maximum('due_date'), |
|
511 | issues.maximum('due_date'), | |
512 | shared_versions.collect(&:effective_date), |
|
512 | shared_versions.collect(&:effective_date), | |
513 | shared_versions.collect {|v| v.fixed_issues.maximum('due_date')} |
|
513 | shared_versions.collect {|v| v.fixed_issues.maximum('due_date')} | |
514 | ].flatten.compact.max |
|
514 | ].flatten.compact.max | |
515 | end |
|
515 | end | |
516 |
|
516 | |||
517 | def overdue? |
|
517 | def overdue? | |
518 | active? && !due_date.nil? && (due_date < Date.today) |
|
518 | active? && !due_date.nil? && (due_date < Date.today) | |
519 | end |
|
519 | end | |
520 |
|
520 | |||
521 | # Returns the percent completed for this project, based on the |
|
521 | # Returns the percent completed for this project, based on the | |
522 | # progress on it's versions. |
|
522 | # progress on it's versions. | |
523 | def completed_percent(options={:include_subprojects => false}) |
|
523 | def completed_percent(options={:include_subprojects => false}) | |
524 | if options.delete(:include_subprojects) |
|
524 | if options.delete(:include_subprojects) | |
525 | total = self_and_descendants.collect(&:completed_percent).sum |
|
525 | total = self_and_descendants.collect(&:completed_percent).sum | |
526 |
|
526 | |||
527 | total / self_and_descendants.count |
|
527 | total / self_and_descendants.count | |
528 | else |
|
528 | else | |
529 | if versions.count > 0 |
|
529 | if versions.count > 0 | |
530 | total = versions.collect(&:completed_pourcent).sum |
|
530 | total = versions.collect(&:completed_pourcent).sum | |
531 |
|
531 | |||
532 | total / versions.count |
|
532 | total / versions.count | |
533 | else |
|
533 | else | |
534 | 100 |
|
534 | 100 | |
535 | end |
|
535 | end | |
536 | end |
|
536 | end | |
537 | end |
|
537 | end | |
538 |
|
538 | |||
539 | # Return true if this project is allowed to do the specified action. |
|
539 | # Return true if this project is allowed to do the specified action. | |
540 | # action can be: |
|
540 | # action can be: | |
541 | # * a parameter-like Hash (eg. :controller => 'projects', :action => 'edit') |
|
541 | # * a parameter-like Hash (eg. :controller => 'projects', :action => 'edit') | |
542 | # * a permission Symbol (eg. :edit_project) |
|
542 | # * a permission Symbol (eg. :edit_project) | |
543 | def allows_to?(action) |
|
543 | def allows_to?(action) | |
544 | if action.is_a? Hash |
|
544 | if action.is_a? Hash | |
545 | allowed_actions.include? "#{action[:controller]}/#{action[:action]}" |
|
545 | allowed_actions.include? "#{action[:controller]}/#{action[:action]}" | |
546 | else |
|
546 | else | |
547 | allowed_permissions.include? action |
|
547 | allowed_permissions.include? action | |
548 | end |
|
548 | end | |
549 | end |
|
549 | end | |
550 |
|
550 | |||
551 | def module_enabled?(module_name) |
|
551 | def module_enabled?(module_name) | |
552 | module_name = module_name.to_s |
|
552 | module_name = module_name.to_s | |
553 | enabled_modules.detect {|m| m.name == module_name} |
|
553 | enabled_modules.detect {|m| m.name == module_name} | |
554 | end |
|
554 | end | |
555 |
|
555 | |||
556 | def enabled_module_names=(module_names) |
|
556 | def enabled_module_names=(module_names) | |
557 | if module_names && module_names.is_a?(Array) |
|
557 | if module_names && module_names.is_a?(Array) | |
558 | module_names = module_names.collect(&:to_s).reject(&:blank?) |
|
558 | module_names = module_names.collect(&:to_s).reject(&:blank?) | |
559 | self.enabled_modules = module_names.collect {|name| enabled_modules.detect {|mod| mod.name == name} || EnabledModule.new(:name => name)} |
|
559 | self.enabled_modules = module_names.collect {|name| enabled_modules.detect {|mod| mod.name == name} || EnabledModule.new(:name => name)} | |
560 | else |
|
560 | else | |
561 | enabled_modules.clear |
|
561 | enabled_modules.clear | |
562 | end |
|
562 | end | |
563 | end |
|
563 | end | |
564 |
|
564 | |||
565 | # Returns an array of the enabled modules names |
|
565 | # Returns an array of the enabled modules names | |
566 | def enabled_module_names |
|
566 | def enabled_module_names | |
567 | enabled_modules.collect(&:name) |
|
567 | enabled_modules.collect(&:name) | |
568 | end |
|
568 | end | |
569 |
|
569 | |||
570 | # Enable a specific module |
|
570 | # Enable a specific module | |
571 | # |
|
571 | # | |
572 | # Examples: |
|
572 | # Examples: | |
573 | # project.enable_module!(:issue_tracking) |
|
573 | # project.enable_module!(:issue_tracking) | |
574 | # project.enable_module!("issue_tracking") |
|
574 | # project.enable_module!("issue_tracking") | |
575 | def enable_module!(name) |
|
575 | def enable_module!(name) | |
576 | enabled_modules << EnabledModule.new(:name => name.to_s) unless module_enabled?(name) |
|
576 | enabled_modules << EnabledModule.new(:name => name.to_s) unless module_enabled?(name) | |
577 | end |
|
577 | end | |
578 |
|
578 | |||
579 | # Disable a module if it exists |
|
579 | # Disable a module if it exists | |
580 | # |
|
580 | # | |
581 | # Examples: |
|
581 | # Examples: | |
582 | # project.disable_module!(:issue_tracking) |
|
582 | # project.disable_module!(:issue_tracking) | |
583 | # project.disable_module!("issue_tracking") |
|
583 | # project.disable_module!("issue_tracking") | |
584 | # project.disable_module!(project.enabled_modules.first) |
|
584 | # project.disable_module!(project.enabled_modules.first) | |
585 | def disable_module!(target) |
|
585 | def disable_module!(target) | |
586 | target = enabled_modules.detect{|mod| target.to_s == mod.name} unless enabled_modules.include?(target) |
|
586 | target = enabled_modules.detect{|mod| target.to_s == mod.name} unless enabled_modules.include?(target) | |
587 | target.destroy unless target.blank? |
|
587 | target.destroy unless target.blank? | |
588 | end |
|
588 | end | |
589 |
|
589 | |||
590 | safe_attributes 'name', |
|
590 | safe_attributes 'name', | |
591 | 'description', |
|
591 | 'description', | |
592 | 'homepage', |
|
592 | 'homepage', | |
593 | 'is_public', |
|
593 | 'is_public', | |
594 | 'identifier', |
|
594 | 'identifier', | |
595 | 'custom_field_values', |
|
595 | 'custom_field_values', | |
596 | 'custom_fields', |
|
596 | 'custom_fields', | |
597 | 'tracker_ids', |
|
597 | 'tracker_ids', | |
598 | 'issue_custom_field_ids' |
|
598 | 'issue_custom_field_ids' | |
599 |
|
599 | |||
600 | safe_attributes 'enabled_module_names', |
|
600 | safe_attributes 'enabled_module_names', | |
601 | :if => lambda {|project, user| project.new_record? || user.allowed_to?(:select_project_modules, project) } |
|
601 | :if => lambda {|project, user| project.new_record? || user.allowed_to?(:select_project_modules, project) } | |
602 |
|
602 | |||
603 | # Returns an array of projects that are in this project's hierarchy |
|
603 | # Returns an array of projects that are in this project's hierarchy | |
604 | # |
|
604 | # | |
605 | # Example: parents, children, siblings |
|
605 | # Example: parents, children, siblings | |
606 | def hierarchy |
|
606 | def hierarchy | |
607 | parents = project.self_and_ancestors || [] |
|
607 | parents = project.self_and_ancestors || [] | |
608 | descendants = project.descendants || [] |
|
608 | descendants = project.descendants || [] | |
609 | project_hierarchy = parents | descendants # Set union |
|
609 | project_hierarchy = parents | descendants # Set union | |
610 | end |
|
610 | end | |
611 |
|
611 | |||
612 | # Returns an auto-generated project identifier based on the last identifier used |
|
612 | # Returns an auto-generated project identifier based on the last identifier used | |
613 | def self.next_identifier |
|
613 | def self.next_identifier | |
614 | p = Project.find(:first, :order => 'created_on DESC') |
|
614 | p = Project.find(:first, :order => 'created_on DESC') | |
615 | p.nil? ? nil : p.identifier.to_s.succ |
|
615 | p.nil? ? nil : p.identifier.to_s.succ | |
616 | end |
|
616 | end | |
617 |
|
617 | |||
618 | # Copies and saves the Project instance based on the +project+. |
|
618 | # Copies and saves the Project instance based on the +project+. | |
619 | # Duplicates the source project's: |
|
619 | # Duplicates the source project's: | |
620 | # * Wiki |
|
620 | # * Wiki | |
621 | # * Versions |
|
621 | # * Versions | |
622 | # * Categories |
|
622 | # * Categories | |
623 | # * Issues |
|
623 | # * Issues | |
624 | # * Members |
|
624 | # * Members | |
625 | # * Queries |
|
625 | # * Queries | |
626 | # |
|
626 | # | |
627 | # Accepts an +options+ argument to specify what to copy |
|
627 | # Accepts an +options+ argument to specify what to copy | |
628 | # |
|
628 | # | |
629 | # Examples: |
|
629 | # Examples: | |
630 | # project.copy(1) # => copies everything |
|
630 | # project.copy(1) # => copies everything | |
631 | # project.copy(1, :only => 'members') # => copies members only |
|
631 | # project.copy(1, :only => 'members') # => copies members only | |
632 | # project.copy(1, :only => ['members', 'versions']) # => copies members and versions |
|
632 | # project.copy(1, :only => ['members', 'versions']) # => copies members and versions | |
633 | def copy(project, options={}) |
|
633 | def copy(project, options={}) | |
634 | project = project.is_a?(Project) ? project : Project.find(project) |
|
634 | project = project.is_a?(Project) ? project : Project.find(project) | |
635 |
|
635 | |||
636 | to_be_copied = %w(wiki versions issue_categories issues members queries boards) |
|
636 | to_be_copied = %w(wiki versions issue_categories issues members queries boards) | |
637 | to_be_copied = to_be_copied & options[:only].to_a unless options[:only].nil? |
|
637 | to_be_copied = to_be_copied & options[:only].to_a unless options[:only].nil? | |
638 |
|
638 | |||
639 | Project.transaction do |
|
639 | Project.transaction do | |
640 | if save |
|
640 | if save | |
641 | reload |
|
641 | reload | |
642 | to_be_copied.each do |name| |
|
642 | to_be_copied.each do |name| | |
643 | send "copy_#{name}", project |
|
643 | send "copy_#{name}", project | |
644 | end |
|
644 | end | |
645 | Redmine::Hook.call_hook(:model_project_copy_before_save, :source_project => project, :destination_project => self) |
|
645 | Redmine::Hook.call_hook(:model_project_copy_before_save, :source_project => project, :destination_project => self) | |
646 | save |
|
646 | save | |
647 | end |
|
647 | end | |
648 | end |
|
648 | end | |
649 | end |
|
649 | end | |
650 |
|
650 | |||
651 |
|
651 | |||
652 | # Copies +project+ and returns the new instance. This will not save |
|
652 | # Copies +project+ and returns the new instance. This will not save | |
653 | # the copy |
|
653 | # the copy | |
654 | def self.copy_from(project) |
|
654 | def self.copy_from(project) | |
655 | begin |
|
655 | begin | |
656 | project = project.is_a?(Project) ? project : Project.find(project) |
|
656 | project = project.is_a?(Project) ? project : Project.find(project) | |
657 | if project |
|
657 | if project | |
658 | # clear unique attributes |
|
658 | # clear unique attributes | |
659 | attributes = project.attributes.dup.except('id', 'name', 'identifier', 'status', 'parent_id', 'lft', 'rgt') |
|
659 | attributes = project.attributes.dup.except('id', 'name', 'identifier', 'status', 'parent_id', 'lft', 'rgt') | |
660 | copy = Project.new(attributes) |
|
660 | copy = Project.new(attributes) | |
661 | copy.enabled_modules = project.enabled_modules |
|
661 | copy.enabled_modules = project.enabled_modules | |
662 | copy.trackers = project.trackers |
|
662 | copy.trackers = project.trackers | |
663 | copy.custom_values = project.custom_values.collect {|v| v.clone} |
|
663 | copy.custom_values = project.custom_values.collect {|v| v.clone} | |
664 | copy.issue_custom_fields = project.issue_custom_fields |
|
664 | copy.issue_custom_fields = project.issue_custom_fields | |
665 | return copy |
|
665 | return copy | |
666 | else |
|
666 | else | |
667 | return nil |
|
667 | return nil | |
668 | end |
|
668 | end | |
669 | rescue ActiveRecord::RecordNotFound |
|
669 | rescue ActiveRecord::RecordNotFound | |
670 | return nil |
|
670 | return nil | |
671 | end |
|
671 | end | |
672 | end |
|
672 | end | |
673 |
|
673 | |||
674 | # Yields the given block for each project with its level in the tree |
|
674 | # Yields the given block for each project with its level in the tree | |
675 | def self.project_tree(projects, &block) |
|
675 | def self.project_tree(projects, &block) | |
676 | ancestors = [] |
|
676 | ancestors = [] | |
677 | projects.sort_by(&:lft).each do |project| |
|
677 | projects.sort_by(&:lft).each do |project| | |
678 | while (ancestors.any? && !project.is_descendant_of?(ancestors.last)) |
|
678 | while (ancestors.any? && !project.is_descendant_of?(ancestors.last)) | |
679 | ancestors.pop |
|
679 | ancestors.pop | |
680 | end |
|
680 | end | |
681 | yield project, ancestors.size |
|
681 | yield project, ancestors.size | |
682 | ancestors << project |
|
682 | ancestors << project | |
683 | end |
|
683 | end | |
684 | end |
|
684 | end | |
685 |
|
685 | |||
686 | private |
|
686 | private | |
687 |
|
687 | |||
688 | # Copies wiki from +project+ |
|
688 | # Copies wiki from +project+ | |
689 | def copy_wiki(project) |
|
689 | def copy_wiki(project) | |
690 | # Check that the source project has a wiki first |
|
690 | # Check that the source project has a wiki first | |
691 | unless project.wiki.nil? |
|
691 | unless project.wiki.nil? | |
692 | self.wiki ||= Wiki.new |
|
692 | self.wiki ||= Wiki.new | |
693 | wiki.attributes = project.wiki.attributes.dup.except("id", "project_id") |
|
693 | wiki.attributes = project.wiki.attributes.dup.except("id", "project_id") | |
694 | wiki_pages_map = {} |
|
694 | wiki_pages_map = {} | |
695 | project.wiki.pages.each do |page| |
|
695 | project.wiki.pages.each do |page| | |
696 | # Skip pages without content |
|
696 | # Skip pages without content | |
697 | next if page.content.nil? |
|
697 | next if page.content.nil? | |
698 | new_wiki_content = WikiContent.new(page.content.attributes.dup.except("id", "page_id", "updated_on")) |
|
698 | new_wiki_content = WikiContent.new(page.content.attributes.dup.except("id", "page_id", "updated_on")) | |
699 | new_wiki_page = WikiPage.new(page.attributes.dup.except("id", "wiki_id", "created_on", "parent_id")) |
|
699 | new_wiki_page = WikiPage.new(page.attributes.dup.except("id", "wiki_id", "created_on", "parent_id")) | |
700 | new_wiki_page.content = new_wiki_content |
|
700 | new_wiki_page.content = new_wiki_content | |
701 | wiki.pages << new_wiki_page |
|
701 | wiki.pages << new_wiki_page | |
702 | wiki_pages_map[page.id] = new_wiki_page |
|
702 | wiki_pages_map[page.id] = new_wiki_page | |
703 | end |
|
703 | end | |
704 | wiki.save |
|
704 | wiki.save | |
705 | # Reproduce page hierarchy |
|
705 | # Reproduce page hierarchy | |
706 | project.wiki.pages.each do |page| |
|
706 | project.wiki.pages.each do |page| | |
707 | if page.parent_id && wiki_pages_map[page.id] |
|
707 | if page.parent_id && wiki_pages_map[page.id] | |
708 | wiki_pages_map[page.id].parent = wiki_pages_map[page.parent_id] |
|
708 | wiki_pages_map[page.id].parent = wiki_pages_map[page.parent_id] | |
709 | wiki_pages_map[page.id].save |
|
709 | wiki_pages_map[page.id].save | |
710 | end |
|
710 | end | |
711 | end |
|
711 | end | |
712 | end |
|
712 | end | |
713 | end |
|
713 | end | |
714 |
|
714 | |||
715 | # Copies versions from +project+ |
|
715 | # Copies versions from +project+ | |
716 | def copy_versions(project) |
|
716 | def copy_versions(project) | |
717 | project.versions.each do |version| |
|
717 | project.versions.each do |version| | |
718 | new_version = Version.new |
|
718 | new_version = Version.new | |
719 | new_version.attributes = version.attributes.dup.except("id", "project_id", "created_on", "updated_on") |
|
719 | new_version.attributes = version.attributes.dup.except("id", "project_id", "created_on", "updated_on") | |
720 | self.versions << new_version |
|
720 | self.versions << new_version | |
721 | end |
|
721 | end | |
722 | end |
|
722 | end | |
723 |
|
723 | |||
724 | # Copies issue categories from +project+ |
|
724 | # Copies issue categories from +project+ | |
725 | def copy_issue_categories(project) |
|
725 | def copy_issue_categories(project) | |
726 | project.issue_categories.each do |issue_category| |
|
726 | project.issue_categories.each do |issue_category| | |
727 | new_issue_category = IssueCategory.new |
|
727 | new_issue_category = IssueCategory.new | |
728 | new_issue_category.attributes = issue_category.attributes.dup.except("id", "project_id") |
|
728 | new_issue_category.attributes = issue_category.attributes.dup.except("id", "project_id") | |
729 | self.issue_categories << new_issue_category |
|
729 | self.issue_categories << new_issue_category | |
730 | end |
|
730 | end | |
731 | end |
|
731 | end | |
732 |
|
732 | |||
733 | # Copies issues from +project+ |
|
733 | # Copies issues from +project+ | |
734 | # Note: issues assigned to a closed version won't be copied due to validation rules |
|
734 | # Note: issues assigned to a closed version won't be copied due to validation rules | |
735 | def copy_issues(project) |
|
735 | def copy_issues(project) | |
736 | # Stores the source issue id as a key and the copied issues as the |
|
736 | # Stores the source issue id as a key and the copied issues as the | |
737 | # value. Used to map the two togeather for issue relations. |
|
737 | # value. Used to map the two togeather for issue relations. | |
738 | issues_map = {} |
|
738 | issues_map = {} | |
739 |
|
739 | |||
740 | # Get issues sorted by root_id, lft so that parent issues |
|
740 | # Get issues sorted by root_id, lft so that parent issues | |
741 | # get copied before their children |
|
741 | # get copied before their children | |
742 | project.issues.find(:all, :order => 'root_id, lft').each do |issue| |
|
742 | project.issues.find(:all, :order => 'root_id, lft').each do |issue| | |
743 | new_issue = Issue.new |
|
743 | new_issue = Issue.new | |
744 | new_issue.copy_from(issue) |
|
744 | new_issue.copy_from(issue) | |
745 | new_issue.project = self |
|
745 | new_issue.project = self | |
746 | # Reassign fixed_versions by name, since names are unique per |
|
746 | # Reassign fixed_versions by name, since names are unique per | |
747 | # project and the versions for self are not yet saved |
|
747 | # project and the versions for self are not yet saved | |
748 | if issue.fixed_version |
|
748 | if issue.fixed_version | |
749 | new_issue.fixed_version = self.versions.select {|v| v.name == issue.fixed_version.name}.first |
|
749 | new_issue.fixed_version = self.versions.select {|v| v.name == issue.fixed_version.name}.first | |
750 | end |
|
750 | end | |
751 | # Reassign the category by name, since names are unique per |
|
751 | # Reassign the category by name, since names are unique per | |
752 | # project and the categories for self are not yet saved |
|
752 | # project and the categories for self are not yet saved | |
753 | if issue.category |
|
753 | if issue.category | |
754 | new_issue.category = self.issue_categories.select {|c| c.name == issue.category.name}.first |
|
754 | new_issue.category = self.issue_categories.select {|c| c.name == issue.category.name}.first | |
755 | end |
|
755 | end | |
756 | # Parent issue |
|
756 | # Parent issue | |
757 | if issue.parent_id |
|
757 | if issue.parent_id | |
758 | if copied_parent = issues_map[issue.parent_id] |
|
758 | if copied_parent = issues_map[issue.parent_id] | |
759 | new_issue.parent_issue_id = copied_parent.id |
|
759 | new_issue.parent_issue_id = copied_parent.id | |
760 | end |
|
760 | end | |
761 | end |
|
761 | end | |
762 |
|
762 | |||
763 | self.issues << new_issue |
|
763 | self.issues << new_issue | |
764 | if new_issue.new_record? |
|
764 | if new_issue.new_record? | |
765 | logger.info "Project#copy_issues: issue ##{issue.id} could not be copied: #{new_issue.errors.full_messages}" if logger && logger.info |
|
765 | logger.info "Project#copy_issues: issue ##{issue.id} could not be copied: #{new_issue.errors.full_messages}" if logger && logger.info | |
766 | else |
|
766 | else | |
767 | issues_map[issue.id] = new_issue unless new_issue.new_record? |
|
767 | issues_map[issue.id] = new_issue unless new_issue.new_record? | |
768 | end |
|
768 | end | |
769 | end |
|
769 | end | |
770 |
|
770 | |||
771 | # Relations after in case issues related each other |
|
771 | # Relations after in case issues related each other | |
772 | project.issues.each do |issue| |
|
772 | project.issues.each do |issue| | |
773 | new_issue = issues_map[issue.id] |
|
773 | new_issue = issues_map[issue.id] | |
774 | unless new_issue |
|
774 | unless new_issue | |
775 | # Issue was not copied |
|
775 | # Issue was not copied | |
776 | next |
|
776 | next | |
777 | end |
|
777 | end | |
778 |
|
778 | |||
779 | # Relations |
|
779 | # Relations | |
780 | issue.relations_from.each do |source_relation| |
|
780 | issue.relations_from.each do |source_relation| | |
781 | new_issue_relation = IssueRelation.new |
|
781 | new_issue_relation = IssueRelation.new | |
782 | new_issue_relation.attributes = source_relation.attributes.dup.except("id", "issue_from_id", "issue_to_id") |
|
782 | new_issue_relation.attributes = source_relation.attributes.dup.except("id", "issue_from_id", "issue_to_id") | |
783 | new_issue_relation.issue_to = issues_map[source_relation.issue_to_id] |
|
783 | new_issue_relation.issue_to = issues_map[source_relation.issue_to_id] | |
784 | if new_issue_relation.issue_to.nil? && Setting.cross_project_issue_relations? |
|
784 | if new_issue_relation.issue_to.nil? && Setting.cross_project_issue_relations? | |
785 | new_issue_relation.issue_to = source_relation.issue_to |
|
785 | new_issue_relation.issue_to = source_relation.issue_to | |
786 | end |
|
786 | end | |
787 | new_issue.relations_from << new_issue_relation |
|
787 | new_issue.relations_from << new_issue_relation | |
788 | end |
|
788 | end | |
789 |
|
789 | |||
790 | issue.relations_to.each do |source_relation| |
|
790 | issue.relations_to.each do |source_relation| | |
791 | new_issue_relation = IssueRelation.new |
|
791 | new_issue_relation = IssueRelation.new | |
792 | new_issue_relation.attributes = source_relation.attributes.dup.except("id", "issue_from_id", "issue_to_id") |
|
792 | new_issue_relation.attributes = source_relation.attributes.dup.except("id", "issue_from_id", "issue_to_id") | |
793 | new_issue_relation.issue_from = issues_map[source_relation.issue_from_id] |
|
793 | new_issue_relation.issue_from = issues_map[source_relation.issue_from_id] | |
794 | if new_issue_relation.issue_from.nil? && Setting.cross_project_issue_relations? |
|
794 | if new_issue_relation.issue_from.nil? && Setting.cross_project_issue_relations? | |
795 | new_issue_relation.issue_from = source_relation.issue_from |
|
795 | new_issue_relation.issue_from = source_relation.issue_from | |
796 | end |
|
796 | end | |
797 | new_issue.relations_to << new_issue_relation |
|
797 | new_issue.relations_to << new_issue_relation | |
798 | end |
|
798 | end | |
799 | end |
|
799 | end | |
800 | end |
|
800 | end | |
801 |
|
801 | |||
802 | # Copies members from +project+ |
|
802 | # Copies members from +project+ | |
803 | def copy_members(project) |
|
803 | def copy_members(project) | |
804 | # Copy users first, then groups to handle members with inherited and given roles |
|
804 | # Copy users first, then groups to handle members with inherited and given roles | |
805 | members_to_copy = [] |
|
805 | members_to_copy = [] | |
806 | members_to_copy += project.memberships.select {|m| m.principal.is_a?(User)} |
|
806 | members_to_copy += project.memberships.select {|m| m.principal.is_a?(User)} | |
807 | members_to_copy += project.memberships.select {|m| !m.principal.is_a?(User)} |
|
807 | members_to_copy += project.memberships.select {|m| !m.principal.is_a?(User)} | |
808 |
|
808 | |||
809 | members_to_copy.each do |member| |
|
809 | members_to_copy.each do |member| | |
810 | new_member = Member.new |
|
810 | new_member = Member.new | |
811 | new_member.attributes = member.attributes.dup.except("id", "project_id", "created_on") |
|
811 | new_member.attributes = member.attributes.dup.except("id", "project_id", "created_on") | |
812 | # only copy non inherited roles |
|
812 | # only copy non inherited roles | |
813 | # inherited roles will be added when copying the group membership |
|
813 | # inherited roles will be added when copying the group membership | |
814 | role_ids = member.member_roles.reject(&:inherited?).collect(&:role_id) |
|
814 | role_ids = member.member_roles.reject(&:inherited?).collect(&:role_id) | |
815 | next if role_ids.empty? |
|
815 | next if role_ids.empty? | |
816 | new_member.role_ids = role_ids |
|
816 | new_member.role_ids = role_ids | |
817 | new_member.project = self |
|
817 | new_member.project = self | |
818 | self.members << new_member |
|
818 | self.members << new_member | |
819 | end |
|
819 | end | |
820 | end |
|
820 | end | |
821 |
|
821 | |||
822 | # Copies queries from +project+ |
|
822 | # Copies queries from +project+ | |
823 | def copy_queries(project) |
|
823 | def copy_queries(project) | |
824 | project.queries.each do |query| |
|
824 | project.queries.each do |query| | |
825 | new_query = ::Query.new |
|
825 | new_query = ::Query.new | |
826 | new_query.attributes = query.attributes.dup.except("id", "project_id", "sort_criteria") |
|
826 | new_query.attributes = query.attributes.dup.except("id", "project_id", "sort_criteria") | |
827 | new_query.sort_criteria = query.sort_criteria if query.sort_criteria |
|
827 | new_query.sort_criteria = query.sort_criteria if query.sort_criteria | |
828 | new_query.project = self |
|
828 | new_query.project = self | |
829 | new_query.user_id = query.user_id |
|
829 | new_query.user_id = query.user_id | |
830 | self.queries << new_query |
|
830 | self.queries << new_query | |
831 | end |
|
831 | end | |
832 | end |
|
832 | end | |
833 |
|
833 | |||
834 | # Copies boards from +project+ |
|
834 | # Copies boards from +project+ | |
835 | def copy_boards(project) |
|
835 | def copy_boards(project) | |
836 | project.boards.each do |board| |
|
836 | project.boards.each do |board| | |
837 | new_board = Board.new |
|
837 | new_board = Board.new | |
838 | new_board.attributes = board.attributes.dup.except("id", "project_id", "topics_count", "messages_count", "last_message_id") |
|
838 | new_board.attributes = board.attributes.dup.except("id", "project_id", "topics_count", "messages_count", "last_message_id") | |
839 | new_board.project = self |
|
839 | new_board.project = self | |
840 | self.boards << new_board |
|
840 | self.boards << new_board | |
841 | end |
|
841 | end | |
842 | end |
|
842 | end | |
843 |
|
843 | |||
844 | def allowed_permissions |
|
844 | def allowed_permissions | |
845 | @allowed_permissions ||= begin |
|
845 | @allowed_permissions ||= begin | |
846 | module_names = enabled_modules.all(:select => :name).collect {|m| m.name} |
|
846 | module_names = enabled_modules.all(:select => :name).collect {|m| m.name} | |
847 | Redmine::AccessControl.modules_permissions(module_names).collect {|p| p.name} |
|
847 | Redmine::AccessControl.modules_permissions(module_names).collect {|p| p.name} | |
848 | end |
|
848 | end | |
849 | end |
|
849 | end | |
850 |
|
850 | |||
851 | def allowed_actions |
|
851 | def allowed_actions | |
852 | @actions_allowed ||= allowed_permissions.inject([]) { |actions, permission| actions += Redmine::AccessControl.allowed_actions(permission) }.flatten |
|
852 | @actions_allowed ||= allowed_permissions.inject([]) { |actions, permission| actions += Redmine::AccessControl.allowed_actions(permission) }.flatten | |
853 | end |
|
853 | end | |
854 |
|
854 | |||
855 | # Returns all the active Systemwide and project specific activities |
|
855 | # Returns all the active Systemwide and project specific activities | |
856 | def active_activities |
|
856 | def active_activities | |
857 | overridden_activity_ids = self.time_entry_activities.collect(&:parent_id) |
|
857 | overridden_activity_ids = self.time_entry_activities.collect(&:parent_id) | |
858 |
|
858 | |||
859 | if overridden_activity_ids.empty? |
|
859 | if overridden_activity_ids.empty? | |
860 | return TimeEntryActivity.shared.active |
|
860 | return TimeEntryActivity.shared.active | |
861 | else |
|
861 | else | |
862 | return system_activities_and_project_overrides |
|
862 | return system_activities_and_project_overrides | |
863 | end |
|
863 | end | |
864 | end |
|
864 | end | |
865 |
|
865 | |||
866 | # Returns all the Systemwide and project specific activities |
|
866 | # Returns all the Systemwide and project specific activities | |
867 | # (inactive and active) |
|
867 | # (inactive and active) | |
868 | def all_activities |
|
868 | def all_activities | |
869 | overridden_activity_ids = self.time_entry_activities.collect(&:parent_id) |
|
869 | overridden_activity_ids = self.time_entry_activities.collect(&:parent_id) | |
870 |
|
870 | |||
871 | if overridden_activity_ids.empty? |
|
871 | if overridden_activity_ids.empty? | |
872 | return TimeEntryActivity.shared |
|
872 | return TimeEntryActivity.shared | |
873 | else |
|
873 | else | |
874 | return system_activities_and_project_overrides(true) |
|
874 | return system_activities_and_project_overrides(true) | |
875 | end |
|
875 | end | |
876 | end |
|
876 | end | |
877 |
|
877 | |||
878 | # Returns the systemwide active activities merged with the project specific overrides |
|
878 | # Returns the systemwide active activities merged with the project specific overrides | |
879 | def system_activities_and_project_overrides(include_inactive=false) |
|
879 | def system_activities_and_project_overrides(include_inactive=false) | |
880 | if include_inactive |
|
880 | if include_inactive | |
881 | return TimeEntryActivity.shared. |
|
881 | return TimeEntryActivity.shared. | |
882 | find(:all, |
|
882 | find(:all, | |
883 | :conditions => ["id NOT IN (?)", self.time_entry_activities.collect(&:parent_id)]) + |
|
883 | :conditions => ["id NOT IN (?)", self.time_entry_activities.collect(&:parent_id)]) + | |
884 | self.time_entry_activities |
|
884 | self.time_entry_activities | |
885 | else |
|
885 | else | |
886 | return TimeEntryActivity.shared.active. |
|
886 | return TimeEntryActivity.shared.active. | |
887 | find(:all, |
|
887 | find(:all, | |
888 | :conditions => ["id NOT IN (?)", self.time_entry_activities.collect(&:parent_id)]) + |
|
888 | :conditions => ["id NOT IN (?)", self.time_entry_activities.collect(&:parent_id)]) + | |
889 | self.time_entry_activities.active |
|
889 | self.time_entry_activities.active | |
890 | end |
|
890 | end | |
891 | end |
|
891 | end | |
892 |
|
892 | |||
893 | # Archives subprojects recursively |
|
893 | # Archives subprojects recursively | |
894 | def archive! |
|
894 | def archive! | |
895 | children.each do |subproject| |
|
895 | children.each do |subproject| | |
896 | subproject.send :archive! |
|
896 | subproject.send :archive! | |
897 | end |
|
897 | end | |
898 | update_attribute :status, STATUS_ARCHIVED |
|
898 | update_attribute :status, STATUS_ARCHIVED | |
899 | end |
|
899 | end | |
900 | end |
|
900 | end |
@@ -1,1020 +1,1020 | |||||
1 | en-GB: |
|
1 | en-GB: | |
2 | direction: ltr |
|
2 | direction: ltr | |
3 | date: |
|
3 | date: | |
4 | formats: |
|
4 | formats: | |
5 | # Use the strftime parameters for formats. |
|
5 | # Use the strftime parameters for formats. | |
6 | # When no format has been given, it uses default. |
|
6 | # When no format has been given, it uses default. | |
7 | # You can provide other formats here if you like! |
|
7 | # You can provide other formats here if you like! | |
8 | default: "%d/%m/%Y" |
|
8 | default: "%d/%m/%Y" | |
9 | short: "%d %b" |
|
9 | short: "%d %b" | |
10 | long: "%d %B, %Y" |
|
10 | long: "%d %B, %Y" | |
11 |
|
11 | |||
12 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] |
|
12 | day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday] | |
13 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] |
|
13 | abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat] | |
14 |
|
14 | |||
15 | # Don't forget the nil at the beginning; there's no such thing as a 0th month |
|
15 | # Don't forget the nil at the beginning; there's no such thing as a 0th month | |
16 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] |
|
16 | month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December] | |
17 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] |
|
17 | abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] | |
18 | # Used in date_select and datime_select. |
|
18 | # Used in date_select and datime_select. | |
19 | order: |
|
19 | order: | |
20 | - :year |
|
20 | - :year | |
21 | - :month |
|
21 | - :month | |
22 | - :day |
|
22 | - :day | |
23 |
|
23 | |||
24 | time: |
|
24 | time: | |
25 | formats: |
|
25 | formats: | |
26 | default: "%d/%m/%Y %I:%M %p" |
|
26 | default: "%d/%m/%Y %I:%M %p" | |
27 | time: "%I:%M %p" |
|
27 | time: "%I:%M %p" | |
28 | short: "%d %b %H:%M" |
|
28 | short: "%d %b %H:%M" | |
29 | long: "%d %B, %Y %H:%M" |
|
29 | long: "%d %B, %Y %H:%M" | |
30 | am: "am" |
|
30 | am: "am" | |
31 | pm: "pm" |
|
31 | pm: "pm" | |
32 |
|
32 | |||
33 | datetime: |
|
33 | datetime: | |
34 | distance_in_words: |
|
34 | distance_in_words: | |
35 | half_a_minute: "half a minute" |
|
35 | half_a_minute: "half a minute" | |
36 | less_than_x_seconds: |
|
36 | less_than_x_seconds: | |
37 | one: "less than 1 second" |
|
37 | one: "less than 1 second" | |
38 | other: "less than %{count} seconds" |
|
38 | other: "less than %{count} seconds" | |
39 | x_seconds: |
|
39 | x_seconds: | |
40 | one: "1 second" |
|
40 | one: "1 second" | |
41 | other: "%{count} seconds" |
|
41 | other: "%{count} seconds" | |
42 | less_than_x_minutes: |
|
42 | less_than_x_minutes: | |
43 | one: "less than a minute" |
|
43 | one: "less than a minute" | |
44 | other: "less than %{count} minutes" |
|
44 | other: "less than %{count} minutes" | |
45 | x_minutes: |
|
45 | x_minutes: | |
46 | one: "1 minute" |
|
46 | one: "1 minute" | |
47 | other: "%{count} minutes" |
|
47 | other: "%{count} minutes" | |
48 | about_x_hours: |
|
48 | about_x_hours: | |
49 | one: "about 1 hour" |
|
49 | one: "about 1 hour" | |
50 | other: "about %{count} hours" |
|
50 | other: "about %{count} hours" | |
51 | x_days: |
|
51 | x_days: | |
52 | one: "1 day" |
|
52 | one: "1 day" | |
53 | other: "%{count} days" |
|
53 | other: "%{count} days" | |
54 | about_x_months: |
|
54 | about_x_months: | |
55 | one: "about 1 month" |
|
55 | one: "about 1 month" | |
56 | other: "about %{count} months" |
|
56 | other: "about %{count} months" | |
57 | x_months: |
|
57 | x_months: | |
58 | one: "1 month" |
|
58 | one: "1 month" | |
59 | other: "%{count} months" |
|
59 | other: "%{count} months" | |
60 | about_x_years: |
|
60 | about_x_years: | |
61 | one: "about 1 year" |
|
61 | one: "about 1 year" | |
62 | other: "about %{count} years" |
|
62 | other: "about %{count} years" | |
63 | over_x_years: |
|
63 | over_x_years: | |
64 | one: "over 1 year" |
|
64 | one: "over 1 year" | |
65 | other: "over %{count} years" |
|
65 | other: "over %{count} years" | |
66 | almost_x_years: |
|
66 | almost_x_years: | |
67 | one: "almost 1 year" |
|
67 | one: "almost 1 year" | |
68 | other: "almost %{count} years" |
|
68 | other: "almost %{count} years" | |
69 |
|
69 | |||
70 | number: |
|
70 | number: | |
71 | format: |
|
71 | format: | |
72 | separator: "." |
|
72 | separator: "." | |
73 | delimiter: " " |
|
73 | delimiter: " " | |
74 | precision: 3 |
|
74 | precision: 3 | |
75 |
|
75 | |||
76 | currency: |
|
76 | currency: | |
77 | format: |
|
77 | format: | |
78 | format: "%u%n" |
|
78 | format: "%u%n" | |
79 | unit: "Β£" |
|
79 | unit: "Β£" | |
80 |
|
80 | |||
81 | human: |
|
81 | human: | |
82 | format: |
|
82 | format: | |
83 | delimiter: "" |
|
83 | delimiter: "" | |
84 | precision: 1 |
|
84 | precision: 1 | |
85 | storage_units: |
|
85 | storage_units: | |
86 | format: "%n %u" |
|
86 | format: "%n %u" | |
87 | units: |
|
87 | units: | |
88 | byte: |
|
88 | byte: | |
89 | one: "Byte" |
|
89 | one: "Byte" | |
90 | other: "Bytes" |
|
90 | other: "Bytes" | |
91 | kb: "kB" |
|
91 | kb: "kB" | |
92 | mb: "MB" |
|
92 | mb: "MB" | |
93 | gb: "GB" |
|
93 | gb: "GB" | |
94 | tb: "TB" |
|
94 | tb: "TB" | |
95 |
|
95 | |||
96 | # Used in array.to_sentence. |
|
96 | # Used in array.to_sentence. | |
97 | support: |
|
97 | support: | |
98 | array: |
|
98 | array: | |
99 | sentence_connector: "and" |
|
99 | sentence_connector: "and" | |
100 | skip_last_comma: false |
|
100 | skip_last_comma: false | |
101 |
|
101 | |||
102 | activerecord: |
|
102 | activerecord: | |
103 | errors: |
|
103 | errors: | |
104 | template: |
|
104 | template: | |
105 | header: |
|
105 | header: | |
106 | one: "1 error prohibited this %{model} from being saved" |
|
106 | one: "1 error prohibited this %{model} from being saved" | |
107 | other: "%{count} errors prohibited this %{model} from being saved" |
|
107 | other: "%{count} errors prohibited this %{model} from being saved" | |
108 | messages: |
|
108 | messages: | |
109 | inclusion: "is not included in the list" |
|
109 | inclusion: "is not included in the list" | |
110 | exclusion: "is reserved" |
|
110 | exclusion: "is reserved" | |
111 | invalid: "is invalid" |
|
111 | invalid: "is invalid" | |
112 | confirmation: "doesn't match confirmation" |
|
112 | confirmation: "doesn't match confirmation" | |
113 | accepted: "must be accepted" |
|
113 | accepted: "must be accepted" | |
114 | empty: "can't be empty" |
|
114 | empty: "can't be empty" | |
115 | blank: "can't be blank" |
|
115 | blank: "can't be blank" | |
116 | too_long: "is too long (maximum is %{count} characters)" |
|
116 | too_long: "is too long (maximum is %{count} characters)" | |
117 | too_short: "is too short (minimum is %{count} characters)" |
|
117 | too_short: "is too short (minimum is %{count} characters)" | |
118 | wrong_length: "is the wrong length (should be %{count} characters)" |
|
118 | wrong_length: "is the wrong length (should be %{count} characters)" | |
119 | taken: "has already been taken" |
|
119 | taken: "has already been taken" | |
120 | not_a_number: "is not a number" |
|
120 | not_a_number: "is not a number" | |
121 | not_a_date: "is not a valid date" |
|
121 | not_a_date: "is not a valid date" | |
122 | greater_than: "must be greater than %{count}" |
|
122 | greater_than: "must be greater than %{count}" | |
123 | greater_than_or_equal_to: "must be greater than or equal to %{count}" |
|
123 | greater_than_or_equal_to: "must be greater than or equal to %{count}" | |
124 | equal_to: "must be equal to %{count}" |
|
124 | equal_to: "must be equal to %{count}" | |
125 | less_than: "must be less than %{count}" |
|
125 | less_than: "must be less than %{count}" | |
126 | less_than_or_equal_to: "must be less than or equal to %{count}" |
|
126 | less_than_or_equal_to: "must be less than or equal to %{count}" | |
127 | odd: "must be odd" |
|
127 | odd: "must be odd" | |
128 | even: "must be even" |
|
128 | even: "must be even" | |
129 | greater_than_start_date: "must be greater than start date" |
|
129 | greater_than_start_date: "must be greater than start date" | |
130 | not_same_project: "doesn't belong to the same project" |
|
130 | not_same_project: "doesn't belong to the same project" | |
131 | circular_dependency: "This relation would create a circular dependency" |
|
131 | circular_dependency: "This relation would create a circular dependency" | |
132 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" |
|
132 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" | |
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 (British)' |
|
140 | general_lang_name: 'English (British)' | |
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: '1' |
|
145 | general_first_day_of_week: '1' | |
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_can_t_change_password: This account uses an external authentication source. Impossible to change the password. |
|
153 | 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. |
|
154 | 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. |
|
155 | notice_account_activated: Your account has been activated. You can now log in. | |
156 | notice_successful_create: Successful creation. |
|
156 | notice_successful_create: Successful creation. | |
157 | notice_successful_update: Successful update. |
|
157 | notice_successful_update: Successful update. | |
158 | notice_successful_delete: Successful deletion. |
|
158 | notice_successful_delete: Successful deletion. | |
159 | notice_successful_connection: Successful connection. |
|
159 | notice_successful_connection: Successful connection. | |
160 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. |
|
160 | 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. |
|
161 | notice_locking_conflict: Data has been updated by another user. | |
162 | notice_not_authorized: You are not authorised to access this page. |
|
162 | notice_not_authorized: You are not authorised to access this page. | |
163 | notice_not_authorized_archived_project: The project you're trying to access has been archived. |
|
163 | 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}" |
|
164 | notice_email_sent: "An email was sent to %{value}" | |
165 | notice_email_error: "An error occurred while sending mail (%{value})" |
|
165 | notice_email_error: "An error occurred while sending mail (%{value})" | |
166 | notice_feeds_access_key_reseted: Your RSS access key was reset. |
|
166 | notice_feeds_access_key_reseted: Your RSS access key was reset. | |
167 | notice_api_access_key_reseted: Your API access key was reset. |
|
167 | 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}." |
|
168 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." | |
169 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." |
|
169 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." | |
170 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." |
|
170 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." | |
171 | notice_account_pending: "Your account was created and is now pending administrator approval." |
|
171 | notice_account_pending: "Your account was created and is now pending administrator approval." | |
172 | notice_default_data_loaded: Default configuration successfully loaded. |
|
172 | notice_default_data_loaded: Default configuration successfully loaded. | |
173 | notice_unable_delete_version: Unable to delete version. |
|
173 | notice_unable_delete_version: Unable to delete version. | |
174 | notice_unable_delete_time_entry: Unable to delete time log entry. |
|
174 | notice_unable_delete_time_entry: Unable to delete time log entry. | |
175 | notice_issue_done_ratios_updated: Issue done ratios updated. |
|
175 | notice_issue_done_ratios_updated: Issue done ratios updated. | |
176 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" |
|
176 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" | |
177 |
|
177 | |||
178 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" |
|
178 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" | |
179 | error_scm_not_found: "The entry or revision was not found in the repository." |
|
179 | error_scm_not_found: "The entry or revision was not found in the repository." | |
180 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" |
|
180 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" | |
181 | error_scm_annotate: "The entry does not exist or cannot be annotated." |
|
181 | error_scm_annotate: "The entry does not exist or cannot be annotated." | |
182 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." |
|
182 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." | |
183 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' |
|
183 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' | |
184 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' |
|
184 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' | |
185 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' |
|
185 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' | |
186 | error_can_not_delete_custom_field: Unable to delete custom field |
|
186 | error_can_not_delete_custom_field: Unable to delete custom field | |
187 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." |
|
187 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." | |
188 | error_can_not_remove_role: "This role is in use and cannot be deleted." |
|
188 | error_can_not_remove_role: "This role is in use and cannot be deleted." | |
189 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' |
|
189 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' | |
190 | error_can_not_archive_project: This project cannot be archived |
|
190 | error_can_not_archive_project: This project cannot be archived | |
191 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." |
|
191 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." | |
192 | error_workflow_copy_source: 'Please select a source tracker or role' |
|
192 | error_workflow_copy_source: 'Please select a source tracker or role' | |
193 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' |
|
193 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' | |
194 | error_unable_delete_issue_status: 'Unable to delete issue status' |
|
194 | error_unable_delete_issue_status: 'Unable to delete issue status' | |
195 | error_unable_to_connect: "Unable to connect (%{value})" |
|
195 | error_unable_to_connect: "Unable to connect (%{value})" | |
196 | warning_attachments_not_saved: "%{count} file(s) could not be saved." |
|
196 | warning_attachments_not_saved: "%{count} file(s) could not be saved." | |
197 |
|
197 | |||
198 | mail_subject_lost_password: "Your %{value} password" |
|
198 | mail_subject_lost_password: "Your %{value} password" | |
199 | mail_body_lost_password: 'To change your password, click on the following link:' |
|
199 | mail_body_lost_password: 'To change your password, click on the following link:' | |
200 | mail_subject_register: "Your %{value} account activation" |
|
200 | mail_subject_register: "Your %{value} account activation" | |
201 | mail_body_register: 'To activate your account, click on the following link:' |
|
201 | mail_body_register: 'To activate your account, click on the following link:' | |
202 | mail_body_account_information_external: "You can use your %{value} account to log in." |
|
202 | mail_body_account_information_external: "You can use your %{value} account to log in." | |
203 | mail_body_account_information: Your account information |
|
203 | mail_body_account_information: Your account information | |
204 | mail_subject_account_activation_request: "%{value} account activation request" |
|
204 | mail_subject_account_activation_request: "%{value} account activation request" | |
205 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" |
|
205 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" | |
206 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" |
|
206 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" | |
207 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" |
|
207 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" | |
208 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" |
|
208 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" | |
209 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." |
|
209 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." | |
210 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" |
|
210 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" | |
211 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." |
|
211 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." | |
212 |
|
212 | |||
213 | gui_validation_error: 1 error |
|
213 | gui_validation_error: 1 error | |
214 | gui_validation_error_plural: "%{count} errors" |
|
214 | gui_validation_error_plural: "%{count} errors" | |
215 |
|
215 | |||
216 | field_name: Name |
|
216 | field_name: Name | |
217 | field_description: Description |
|
217 | field_description: Description | |
218 | field_summary: Summary |
|
218 | field_summary: Summary | |
219 | field_is_required: Required |
|
219 | field_is_required: Required | |
220 | field_firstname: First name |
|
220 | field_firstname: First name | |
221 | field_lastname: Last name |
|
221 | field_lastname: Last name | |
222 | field_mail: Email |
|
222 | field_mail: Email | |
223 | field_filename: File |
|
223 | field_filename: File | |
224 | field_filesize: Size |
|
224 | field_filesize: Size | |
225 | field_downloads: Downloads |
|
225 | field_downloads: Downloads | |
226 | field_author: Author |
|
226 | field_author: Author | |
227 | field_created_on: Created |
|
227 | field_created_on: Created | |
228 | field_updated_on: Updated |
|
228 | field_updated_on: Updated | |
229 | field_field_format: Format |
|
229 | field_field_format: Format | |
230 | field_is_for_all: For all projects |
|
230 | field_is_for_all: For all projects | |
231 | field_possible_values: Possible values |
|
231 | field_possible_values: Possible values | |
232 | field_regexp: Regular expression |
|
232 | field_regexp: Regular expression | |
233 | field_min_length: Minimum length |
|
233 | field_min_length: Minimum length | |
234 | field_max_length: Maximum length |
|
234 | field_max_length: Maximum length | |
235 | field_value: Value |
|
235 | field_value: Value | |
236 | field_category: Category |
|
236 | field_category: Category | |
237 | field_title: Title |
|
237 | field_title: Title | |
238 | field_project: Project |
|
238 | field_project: Project | |
239 | field_issue: Issue |
|
239 | field_issue: Issue | |
240 | field_status: Status |
|
240 | field_status: Status | |
241 | field_notes: Notes |
|
241 | field_notes: Notes | |
242 | field_is_closed: Issue closed |
|
242 | field_is_closed: Issue closed | |
243 | field_is_default: Default value |
|
243 | field_is_default: Default value | |
244 | field_tracker: Tracker |
|
244 | field_tracker: Tracker | |
245 | field_subject: Subject |
|
245 | field_subject: Subject | |
246 | field_due_date: Due date |
|
246 | field_due_date: Due date | |
247 | field_assigned_to: Assignee |
|
247 | field_assigned_to: Assignee | |
248 | field_priority: Priority |
|
248 | field_priority: Priority | |
249 | field_fixed_version: Target version |
|
249 | field_fixed_version: Target version | |
250 | field_user: User |
|
250 | field_user: User | |
251 | field_principal: Principal |
|
251 | field_principal: Principal | |
252 | field_role: Role |
|
252 | field_role: Role | |
253 | field_homepage: Homepage |
|
253 | field_homepage: Homepage | |
254 | field_is_public: Public |
|
254 | field_is_public: Public | |
255 | field_parent: Subproject of |
|
255 | field_parent: Subproject of | |
256 | field_is_in_roadmap: Issues displayed in roadmap |
|
256 | field_is_in_roadmap: Issues displayed in roadmap | |
257 | field_login: Login |
|
257 | field_login: Login | |
258 | field_mail_notification: Email notifications |
|
258 | field_mail_notification: Email notifications | |
259 | field_admin: Administrator |
|
259 | field_admin: Administrator | |
260 | field_last_login_on: Last connection |
|
260 | field_last_login_on: Last connection | |
261 | field_language: Language |
|
261 | field_language: Language | |
262 | field_effective_date: Date |
|
262 | field_effective_date: Date | |
263 | field_password: Password |
|
263 | field_password: Password | |
264 | field_new_password: New password |
|
264 | field_new_password: New password | |
265 | field_password_confirmation: Confirmation |
|
265 | field_password_confirmation: Confirmation | |
266 | field_version: Version |
|
266 | field_version: Version | |
267 | field_type: Type |
|
267 | field_type: Type | |
268 | field_host: Host |
|
268 | field_host: Host | |
269 | field_port: Port |
|
269 | field_port: Port | |
270 | field_account: Account |
|
270 | field_account: Account | |
271 | field_base_dn: Base DN |
|
271 | field_base_dn: Base DN | |
272 | field_attr_login: Login attribute |
|
272 | field_attr_login: Login attribute | |
273 | field_attr_firstname: Firstname attribute |
|
273 | field_attr_firstname: Firstname attribute | |
274 | field_attr_lastname: Lastname attribute |
|
274 | field_attr_lastname: Lastname attribute | |
275 | field_attr_mail: Email attribute |
|
275 | field_attr_mail: Email attribute | |
276 | field_onthefly: On-the-fly user creation |
|
276 | field_onthefly: On-the-fly user creation | |
277 | field_start_date: Start date |
|
277 | field_start_date: Start date | |
278 | field_done_ratio: "% Done" |
|
278 | field_done_ratio: "% Done" | |
279 | field_auth_source: Authentication mode |
|
279 | field_auth_source: Authentication mode | |
280 | field_hide_mail: Hide my email address |
|
280 | field_hide_mail: Hide my email address | |
281 | field_comments: Comment |
|
281 | field_comments: Comment | |
282 | field_url: URL |
|
282 | field_url: URL | |
283 | field_start_page: Start page |
|
283 | field_start_page: Start page | |
284 | field_subproject: Subproject |
|
284 | field_subproject: Subproject | |
285 | field_hours: Hours |
|
285 | field_hours: Hours | |
286 | field_activity: Activity |
|
286 | field_activity: Activity | |
287 | field_spent_on: Date |
|
287 | field_spent_on: Date | |
288 | field_identifier: Identifier |
|
288 | field_identifier: Identifier | |
289 | field_is_filter: Used as a filter |
|
289 | field_is_filter: Used as a filter | |
290 | field_issue_to: Related issue |
|
290 | field_issue_to: Related issue | |
291 | field_delay: Delay |
|
291 | field_delay: Delay | |
292 | field_assignable: Issues can be assigned to this role |
|
292 | field_assignable: Issues can be assigned to this role | |
293 | field_redirect_existing_links: Redirect existing links |
|
293 | field_redirect_existing_links: Redirect existing links | |
294 | field_estimated_hours: Estimated time |
|
294 | field_estimated_hours: Estimated time | |
295 | field_column_names: Columns |
|
295 | field_column_names: Columns | |
296 | field_time_entries: Log time |
|
296 | field_time_entries: Log time | |
297 | field_time_zone: Time zone |
|
297 | field_time_zone: Time zone | |
298 | field_searchable: Searchable |
|
298 | field_searchable: Searchable | |
299 | field_default_value: Default value |
|
299 | field_default_value: Default value | |
300 | field_comments_sorting: Display comments |
|
300 | field_comments_sorting: Display comments | |
301 | field_parent_title: Parent page |
|
301 | field_parent_title: Parent page | |
302 | field_editable: Editable |
|
302 | field_editable: Editable | |
303 | field_watcher: Watcher |
|
303 | field_watcher: Watcher | |
304 | field_identity_url: OpenID URL |
|
304 | field_identity_url: OpenID URL | |
305 | field_content: Content |
|
305 | field_content: Content | |
306 | field_group_by: Group results by |
|
306 | field_group_by: Group results by | |
307 | field_sharing: Sharing |
|
307 | field_sharing: Sharing | |
308 | field_parent_issue: Parent task |
|
308 | field_parent_issue: Parent task | |
309 | field_member_of_group: "Assignee's group" |
|
309 | field_member_of_group: "Assignee's group" | |
310 | field_assigned_to_role: "Assignee's role" |
|
310 | field_assigned_to_role: "Assignee's role" | |
311 | field_text: Text field |
|
311 | field_text: Text field | |
312 | field_visible: Visible |
|
312 | field_visible: Visible | |
313 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" |
|
313 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" | |
314 |
|
314 | |||
315 | setting_app_title: Application title |
|
315 | setting_app_title: Application title | |
316 | setting_app_subtitle: Application subtitle |
|
316 | setting_app_subtitle: Application subtitle | |
317 | setting_welcome_text: Welcome text |
|
317 | setting_welcome_text: Welcome text | |
318 | setting_default_language: Default language |
|
318 | setting_default_language: Default language | |
319 | setting_login_required: Authentication required |
|
319 | setting_login_required: Authentication required | |
320 | setting_self_registration: Self-registration |
|
320 | setting_self_registration: Self-registration | |
321 | setting_attachment_max_size: Attachment max. size |
|
321 | setting_attachment_max_size: Attachment max. size | |
322 | setting_issues_export_limit: Issues export limit |
|
322 | setting_issues_export_limit: Issues export limit | |
323 | setting_mail_from: Emission email address |
|
323 | setting_mail_from: Emission email address | |
324 | setting_bcc_recipients: Blind carbon copy recipients (bcc) |
|
324 | setting_bcc_recipients: Blind carbon copy recipients (bcc) | |
325 | setting_plain_text_mail: Plain text mail (no HTML) |
|
325 | setting_plain_text_mail: Plain text mail (no HTML) | |
326 | setting_host_name: Host name and path |
|
326 | setting_host_name: Host name and path | |
327 | setting_text_formatting: Text formatting |
|
327 | setting_text_formatting: Text formatting | |
328 | setting_wiki_compression: Wiki history compression |
|
328 | setting_wiki_compression: Wiki history compression | |
329 | setting_feeds_limit: Feed content limit |
|
329 | setting_feeds_limit: Feed content limit | |
330 | setting_default_projects_public: New projects are public by default |
|
330 | setting_default_projects_public: New projects are public by default | |
331 | setting_autofetch_changesets: Autofetch commits |
|
331 | setting_autofetch_changesets: Autofetch commits | |
332 | setting_sys_api_enabled: Enable WS for repository management |
|
332 | setting_sys_api_enabled: Enable WS for repository management | |
333 | setting_commit_ref_keywords: Referencing keywords |
|
333 | setting_commit_ref_keywords: Referencing keywords | |
334 | setting_commit_fix_keywords: Fixing keywords |
|
334 | setting_commit_fix_keywords: Fixing keywords | |
335 | setting_autologin: Autologin |
|
335 | setting_autologin: Autologin | |
336 | setting_date_format: Date format |
|
336 | setting_date_format: Date format | |
337 | setting_time_format: Time format |
|
337 | setting_time_format: Time format | |
338 | setting_cross_project_issue_relations: Allow cross-project issue relations |
|
338 | setting_cross_project_issue_relations: Allow cross-project issue relations | |
339 | setting_issue_list_default_columns: Default columns displayed on the issue list |
|
339 | setting_issue_list_default_columns: Default columns displayed on the issue list | |
340 | setting_emails_header: Emails header |
|
340 | setting_emails_header: Emails header | |
341 | setting_emails_footer: Emails footer |
|
341 | setting_emails_footer: Emails footer | |
342 | setting_protocol: Protocol |
|
342 | setting_protocol: Protocol | |
343 | setting_per_page_options: Objects per page options |
|
343 | setting_per_page_options: Objects per page options | |
344 | setting_user_format: Users display format |
|
344 | setting_user_format: Users display format | |
345 | setting_activity_days_default: Days displayed on project activity |
|
345 | setting_activity_days_default: Days displayed on project activity | |
346 | setting_display_subprojects_issues: Display subprojects issues on main projects by default |
|
346 | setting_display_subprojects_issues: Display subprojects issues on main projects by default | |
347 | setting_enabled_scm: Enabled SCM |
|
347 | setting_enabled_scm: Enabled SCM | |
348 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" |
|
348 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" | |
349 | setting_mail_handler_api_enabled: Enable WS for incoming emails |
|
349 | setting_mail_handler_api_enabled: Enable WS for incoming emails | |
350 | setting_mail_handler_api_key: API key |
|
350 | setting_mail_handler_api_key: API key | |
351 | setting_sequential_project_identifiers: Generate sequential project identifiers |
|
351 | setting_sequential_project_identifiers: Generate sequential project identifiers | |
352 | setting_gravatar_enabled: Use Gravatar user icons |
|
352 | setting_gravatar_enabled: Use Gravatar user icons | |
353 | setting_gravatar_default: Default Gravatar image |
|
353 | setting_gravatar_default: Default Gravatar image | |
354 | setting_diff_max_lines_displayed: Max number of diff lines displayed |
|
354 | setting_diff_max_lines_displayed: Max number of diff lines displayed | |
355 | setting_file_max_size_displayed: Max size of text files displayed inline |
|
355 | setting_file_max_size_displayed: Max size of text files displayed inline | |
356 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log |
|
356 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log | |
357 | setting_openid: Allow OpenID login and registration |
|
357 | setting_openid: Allow OpenID login and registration | |
358 | setting_password_min_length: Minimum password length |
|
358 | setting_password_min_length: Minimum password length | |
359 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project |
|
359 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project | |
360 | setting_default_projects_modules: Default enabled modules for new projects |
|
360 | setting_default_projects_modules: Default enabled modules for new projects | |
361 | setting_issue_done_ratio: Calculate the issue done ratio with |
|
361 | setting_issue_done_ratio: Calculate the issue done ratio with | |
362 | setting_issue_done_ratio_issue_field: Use the issue field |
|
362 | setting_issue_done_ratio_issue_field: Use the issue field | |
363 | setting_issue_done_ratio_issue_status: Use the issue status |
|
363 | setting_issue_done_ratio_issue_status: Use the issue status | |
364 | setting_start_of_week: Start calendars on |
|
364 | setting_start_of_week: Start calendars on | |
365 | setting_rest_api_enabled: Enable REST web service |
|
365 | setting_rest_api_enabled: Enable REST web service | |
366 | setting_cache_formatted_text: Cache formatted text |
|
366 | setting_cache_formatted_text: Cache formatted text | |
367 | setting_default_notification_option: Default notification option |
|
367 | setting_default_notification_option: Default notification option | |
368 | setting_commit_logtime_enabled: Enable time logging |
|
368 | setting_commit_logtime_enabled: Enable time logging | |
369 | setting_commit_logtime_activity_id: Activity for logged time |
|
369 | setting_commit_logtime_activity_id: Activity for logged time | |
370 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart |
|
370 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart | |
371 | setting_issue_group_assignment: Allow issue assignment to groups |
|
371 | setting_issue_group_assignment: Allow issue assignment to groups | |
372 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues |
|
372 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues | |
373 |
|
373 | |||
374 | permission_add_project: Create project |
|
374 | permission_add_project: Create project | |
375 | permission_add_subprojects: Create subprojects |
|
375 | permission_add_subprojects: Create subprojects | |
376 | permission_edit_project: Edit project |
|
376 | permission_edit_project: Edit project | |
377 | permission_select_project_modules: Select project modules |
|
377 | permission_select_project_modules: Select project modules | |
378 | permission_manage_members: Manage members |
|
378 | permission_manage_members: Manage members | |
379 | permission_manage_project_activities: Manage project activities |
|
379 | permission_manage_project_activities: Manage project activities | |
380 | permission_manage_versions: Manage versions |
|
380 | permission_manage_versions: Manage versions | |
381 | permission_manage_categories: Manage issue categories |
|
381 | permission_manage_categories: Manage issue categories | |
382 | permission_view_issues: View Issues |
|
382 | permission_view_issues: View Issues | |
383 | permission_add_issues: Add issues |
|
383 | permission_add_issues: Add issues | |
384 | permission_edit_issues: Edit issues |
|
384 | permission_edit_issues: Edit issues | |
385 | permission_manage_issue_relations: Manage issue relations |
|
385 | permission_manage_issue_relations: Manage issue relations | |
386 | permission_add_issue_notes: Add notes |
|
386 | permission_add_issue_notes: Add notes | |
387 | permission_edit_issue_notes: Edit notes |
|
387 | permission_edit_issue_notes: Edit notes | |
388 | permission_edit_own_issue_notes: Edit own notes |
|
388 | permission_edit_own_issue_notes: Edit own notes | |
389 | permission_move_issues: Move issues |
|
389 | permission_move_issues: Move issues | |
390 | permission_delete_issues: Delete issues |
|
390 | permission_delete_issues: Delete issues | |
391 | permission_manage_public_queries: Manage public queries |
|
391 | permission_manage_public_queries: Manage public queries | |
392 | permission_save_queries: Save queries |
|
392 | permission_save_queries: Save queries | |
393 | permission_view_gantt: View gantt chart |
|
393 | permission_view_gantt: View gantt chart | |
394 | permission_view_calendar: View calendar |
|
394 | permission_view_calendar: View calendar | |
395 | permission_view_issue_watchers: View watchers list |
|
395 | permission_view_issue_watchers: View watchers list | |
396 | permission_add_issue_watchers: Add watchers |
|
396 | permission_add_issue_watchers: Add watchers | |
397 | permission_delete_issue_watchers: Delete watchers |
|
397 | permission_delete_issue_watchers: Delete watchers | |
398 | permission_log_time: Log spent time |
|
398 | permission_log_time: Log spent time | |
399 | permission_view_time_entries: View spent time |
|
399 | permission_view_time_entries: View spent time | |
400 | permission_edit_time_entries: Edit time logs |
|
400 | permission_edit_time_entries: Edit time logs | |
401 | permission_edit_own_time_entries: Edit own time logs |
|
401 | permission_edit_own_time_entries: Edit own time logs | |
402 | permission_manage_news: Manage news |
|
402 | permission_manage_news: Manage news | |
403 | permission_comment_news: Comment news |
|
403 | permission_comment_news: Comment news | |
404 | permission_manage_documents: Manage documents |
|
404 | permission_manage_documents: Manage documents | |
405 | permission_view_documents: View documents |
|
405 | permission_view_documents: View documents | |
406 | permission_manage_files: Manage files |
|
406 | permission_manage_files: Manage files | |
407 | permission_view_files: View files |
|
407 | permission_view_files: View files | |
408 | permission_manage_wiki: Manage wiki |
|
408 | permission_manage_wiki: Manage wiki | |
409 | permission_rename_wiki_pages: Rename wiki pages |
|
409 | permission_rename_wiki_pages: Rename wiki pages | |
410 | permission_delete_wiki_pages: Delete wiki pages |
|
410 | permission_delete_wiki_pages: Delete wiki pages | |
411 | permission_view_wiki_pages: View wiki |
|
411 | permission_view_wiki_pages: View wiki | |
412 | permission_view_wiki_edits: View wiki history |
|
412 | permission_view_wiki_edits: View wiki history | |
413 | permission_edit_wiki_pages: Edit wiki pages |
|
413 | permission_edit_wiki_pages: Edit wiki pages | |
414 | permission_delete_wiki_pages_attachments: Delete attachments |
|
414 | permission_delete_wiki_pages_attachments: Delete attachments | |
415 | permission_protect_wiki_pages: Protect wiki pages |
|
415 | permission_protect_wiki_pages: Protect wiki pages | |
416 | permission_manage_repository: Manage repository |
|
416 | permission_manage_repository: Manage repository | |
417 | permission_browse_repository: Browse repository |
|
417 | permission_browse_repository: Browse repository | |
418 | permission_view_changesets: View changesets |
|
418 | permission_view_changesets: View changesets | |
419 | permission_commit_access: Commit access |
|
419 | permission_commit_access: Commit access | |
420 | permission_manage_boards: Manage forums |
|
420 | permission_manage_boards: Manage forums | |
421 | permission_view_messages: View messages |
|
421 | permission_view_messages: View messages | |
422 | permission_add_messages: Post messages |
|
422 | permission_add_messages: Post messages | |
423 | permission_edit_messages: Edit messages |
|
423 | permission_edit_messages: Edit messages | |
424 | permission_edit_own_messages: Edit own messages |
|
424 | permission_edit_own_messages: Edit own messages | |
425 | permission_delete_messages: Delete messages |
|
425 | permission_delete_messages: Delete messages | |
426 | permission_delete_own_messages: Delete own messages |
|
426 | permission_delete_own_messages: Delete own messages | |
427 | permission_export_wiki_pages: Export wiki pages |
|
427 | permission_export_wiki_pages: Export wiki pages | |
428 | permission_manage_subtasks: Manage subtasks |
|
428 | permission_manage_subtasks: Manage subtasks | |
429 |
|
429 | |||
430 | project_module_issue_tracking: Issue tracking |
|
430 | project_module_issue_tracking: Issue tracking | |
431 | project_module_time_tracking: Time tracking |
|
431 | project_module_time_tracking: Time tracking | |
432 | project_module_news: News |
|
432 | project_module_news: News | |
433 | project_module_documents: Documents |
|
433 | project_module_documents: Documents | |
434 | project_module_files: Files |
|
434 | project_module_files: Files | |
435 | project_module_wiki: Wiki |
|
435 | project_module_wiki: Wiki | |
436 | project_module_repository: Repository |
|
436 | project_module_repository: Repository | |
437 | project_module_boards: Forums |
|
437 | project_module_boards: Forums | |
438 | project_module_calendar: Calendar |
|
438 | project_module_calendar: Calendar | |
439 | project_module_gantt: Gantt |
|
439 | project_module_gantt: Gantt | |
440 |
|
440 | |||
441 | label_user: User |
|
441 | label_user: User | |
442 | label_user_plural: Users |
|
442 | label_user_plural: Users | |
443 | label_user_new: New user |
|
443 | label_user_new: New user | |
444 | label_user_anonymous: Anonymous |
|
444 | label_user_anonymous: Anonymous | |
445 | label_project: Project |
|
445 | label_project: Project | |
446 | label_project_new: New project |
|
446 | label_project_new: New project | |
447 | label_project_plural: Projects |
|
447 | label_project_plural: Projects | |
448 | label_x_projects: |
|
448 | label_x_projects: | |
449 | zero: no projects |
|
449 | zero: no projects | |
450 | one: 1 project |
|
450 | one: 1 project | |
451 | other: "%{count} projects" |
|
451 | other: "%{count} projects" | |
452 | label_project_all: All Projects |
|
452 | label_project_all: All Projects | |
453 | label_project_latest: Latest projects |
|
453 | label_project_latest: Latest projects | |
454 | label_issue: Issue |
|
454 | label_issue: Issue | |
455 | label_issue_new: New issue |
|
455 | label_issue_new: New issue | |
456 | label_issue_plural: Issues |
|
456 | label_issue_plural: Issues | |
457 | label_issue_view_all: View all issues |
|
457 | label_issue_view_all: View all issues | |
458 | label_issues_by: "Issues by %{value}" |
|
458 | label_issues_by: "Issues by %{value}" | |
459 | label_issue_added: Issue added |
|
459 | label_issue_added: Issue added | |
460 | label_issue_updated: Issue updated |
|
460 | label_issue_updated: Issue updated | |
461 | label_document: Document |
|
461 | label_document: Document | |
462 | label_document_new: New document |
|
462 | label_document_new: New document | |
463 | label_document_plural: Documents |
|
463 | label_document_plural: Documents | |
464 | label_document_added: Document added |
|
464 | label_document_added: Document added | |
465 | label_role: Role |
|
465 | label_role: Role | |
466 | label_role_plural: Roles |
|
466 | label_role_plural: Roles | |
467 | label_role_new: New role |
|
467 | label_role_new: New role | |
468 | label_role_and_permissions: Roles and permissions |
|
468 | label_role_and_permissions: Roles and permissions | |
469 | label_role_anonymous: Anonymous |
|
469 | label_role_anonymous: Anonymous | |
470 | label_role_non_member: Non member |
|
470 | label_role_non_member: Non member | |
471 | label_member: Member |
|
471 | label_member: Member | |
472 | label_member_new: New member |
|
472 | label_member_new: New member | |
473 | label_member_plural: Members |
|
473 | label_member_plural: Members | |
474 | label_tracker: Tracker |
|
474 | label_tracker: Tracker | |
475 | label_tracker_plural: Trackers |
|
475 | label_tracker_plural: Trackers | |
476 | label_tracker_new: New tracker |
|
476 | label_tracker_new: New tracker | |
477 | label_workflow: Workflow |
|
477 | label_workflow: Workflow | |
478 | label_issue_status: Issue status |
|
478 | label_issue_status: Issue status | |
479 | label_issue_status_plural: Issue statuses |
|
479 | label_issue_status_plural: Issue statuses | |
480 | label_issue_status_new: New status |
|
480 | label_issue_status_new: New status | |
481 | label_issue_category: Issue category |
|
481 | label_issue_category: Issue category | |
482 | label_issue_category_plural: Issue categories |
|
482 | label_issue_category_plural: Issue categories | |
483 | label_issue_category_new: New category |
|
483 | label_issue_category_new: New category | |
484 | label_custom_field: Custom field |
|
484 | label_custom_field: Custom field | |
485 | label_custom_field_plural: Custom fields |
|
485 | label_custom_field_plural: Custom fields | |
486 | label_custom_field_new: New custom field |
|
486 | label_custom_field_new: New custom field | |
487 | label_enumerations: Enumerations |
|
487 | label_enumerations: Enumerations | |
488 | label_enumeration_new: New value |
|
488 | label_enumeration_new: New value | |
489 | label_information: Information |
|
489 | label_information: Information | |
490 | label_information_plural: Information |
|
490 | label_information_plural: Information | |
491 | label_please_login: Please log in |
|
491 | label_please_login: Please log in | |
492 | label_register: Register |
|
492 | label_register: Register | |
493 | label_login_with_open_id_option: or login with OpenID |
|
493 | label_login_with_open_id_option: or login with OpenID | |
494 | label_password_lost: Lost password |
|
494 | label_password_lost: Lost password | |
495 | label_home: Home |
|
495 | label_home: Home | |
496 | label_my_page: My page |
|
496 | label_my_page: My page | |
497 | label_my_account: My account |
|
497 | label_my_account: My account | |
498 | label_my_projects: My projects |
|
498 | label_my_projects: My projects | |
499 | label_my_page_block: My page block |
|
499 | label_my_page_block: My page block | |
500 | label_administration: Administration |
|
500 | label_administration: Administration | |
501 | label_login: Sign in |
|
501 | label_login: Sign in | |
502 | label_logout: Sign out |
|
502 | label_logout: Sign out | |
503 | label_help: Help |
|
503 | label_help: Help | |
504 | label_reported_issues: Reported issues |
|
504 | label_reported_issues: Reported issues | |
505 | label_assigned_to_me_issues: Issues assigned to me |
|
505 | label_assigned_to_me_issues: Issues assigned to me | |
506 | label_last_login: Last connection |
|
506 | label_last_login: Last connection | |
507 | label_registered_on: Registered on |
|
507 | label_registered_on: Registered on | |
508 | label_activity: Activity |
|
508 | label_activity: Activity | |
509 | label_overall_activity: Overall activity |
|
509 | label_overall_activity: Overall activity | |
510 | label_user_activity: "%{value}'s activity" |
|
510 | label_user_activity: "%{value}'s activity" | |
511 | label_new: New |
|
511 | label_new: New | |
512 | label_logged_as: Logged in as |
|
512 | label_logged_as: Logged in as | |
513 | label_environment: Environment |
|
513 | label_environment: Environment | |
514 | label_authentication: Authentication |
|
514 | label_authentication: Authentication | |
515 | label_auth_source: Authentication mode |
|
515 | label_auth_source: Authentication mode | |
516 | label_auth_source_new: New authentication mode |
|
516 | label_auth_source_new: New authentication mode | |
517 | label_auth_source_plural: Authentication modes |
|
517 | label_auth_source_plural: Authentication modes | |
518 | label_subproject_plural: Subprojects |
|
518 | label_subproject_plural: Subprojects | |
519 | label_subproject_new: New subproject |
|
519 | label_subproject_new: New subproject | |
520 | label_and_its_subprojects: "%{value} and its subprojects" |
|
520 | label_and_its_subprojects: "%{value} and its subprojects" | |
521 | label_min_max_length: Min - Max length |
|
521 | label_min_max_length: Min - Max length | |
522 | label_list: List |
|
522 | label_list: List | |
523 | label_date: Date |
|
523 | label_date: Date | |
524 | label_integer: Integer |
|
524 | label_integer: Integer | |
525 | label_float: Float |
|
525 | label_float: Float | |
526 | label_boolean: Boolean |
|
526 | label_boolean: Boolean | |
527 | label_string: Text |
|
527 | label_string: Text | |
528 | label_text: Long text |
|
528 | label_text: Long text | |
529 | label_attribute: Attribute |
|
529 | label_attribute: Attribute | |
530 | label_attribute_plural: Attributes |
|
530 | label_attribute_plural: Attributes | |
531 | label_download: "%{count} Download" |
|
531 | label_download: "%{count} Download" | |
532 | label_download_plural: "%{count} Downloads" |
|
532 | label_download_plural: "%{count} Downloads" | |
533 | label_no_data: No data to display |
|
533 | label_no_data: No data to display | |
534 | label_change_status: Change status |
|
534 | label_change_status: Change status | |
535 | label_history: History |
|
535 | label_history: History | |
536 | label_attachment: File |
|
536 | label_attachment: File | |
537 | label_attachment_new: New file |
|
537 | label_attachment_new: New file | |
538 | label_attachment_delete: Delete file |
|
538 | label_attachment_delete: Delete file | |
539 | label_attachment_plural: Files |
|
539 | label_attachment_plural: Files | |
540 | label_file_added: File added |
|
540 | label_file_added: File added | |
541 | label_report: Report |
|
541 | label_report: Report | |
542 | label_report_plural: Reports |
|
542 | label_report_plural: Reports | |
543 | label_news: News |
|
543 | label_news: News | |
544 | label_news_new: Add news |
|
544 | label_news_new: Add news | |
545 | label_news_plural: News |
|
545 | label_news_plural: News | |
546 | label_news_latest: Latest news |
|
546 | label_news_latest: Latest news | |
547 | label_news_view_all: View all news |
|
547 | label_news_view_all: View all news | |
548 | label_news_added: News added |
|
548 | label_news_added: News added | |
549 | label_news_comment_added: Comment added to a news |
|
549 | label_news_comment_added: Comment added to a news | |
550 | label_settings: Settings |
|
550 | label_settings: Settings | |
551 | label_overview: Overview |
|
551 | label_overview: Overview | |
552 | label_version: Version |
|
552 | label_version: Version | |
553 | label_version_new: New version |
|
553 | label_version_new: New version | |
554 | label_version_plural: Versions |
|
554 | label_version_plural: Versions | |
555 | label_close_versions: Close completed versions |
|
555 | label_close_versions: Close completed versions | |
556 | label_confirmation: Confirmation |
|
556 | label_confirmation: Confirmation | |
557 | label_export_to: 'Also available in:' |
|
557 | label_export_to: 'Also available in:' | |
558 | label_read: Read... |
|
558 | label_read: Read... | |
559 | label_public_projects: Public projects |
|
559 | label_public_projects: Public projects | |
560 | label_open_issues: open |
|
560 | label_open_issues: open | |
561 | label_open_issues_plural: open |
|
561 | label_open_issues_plural: open | |
562 | label_closed_issues: closed |
|
562 | label_closed_issues: closed | |
563 | label_closed_issues_plural: closed |
|
563 | label_closed_issues_plural: closed | |
564 | label_x_open_issues_abbr_on_total: |
|
564 | label_x_open_issues_abbr_on_total: | |
565 | zero: 0 open / %{total} |
|
565 | zero: 0 open / %{total} | |
566 | one: 1 open / %{total} |
|
566 | one: 1 open / %{total} | |
567 | other: "%{count} open / %{total}" |
|
567 | other: "%{count} open / %{total}" | |
568 | label_x_open_issues_abbr: |
|
568 | label_x_open_issues_abbr: | |
569 | zero: 0 open |
|
569 | zero: 0 open | |
570 | one: 1 open |
|
570 | one: 1 open | |
571 | other: "%{count} open" |
|
571 | other: "%{count} open" | |
572 | label_x_closed_issues_abbr: |
|
572 | label_x_closed_issues_abbr: | |
573 | zero: 0 closed |
|
573 | zero: 0 closed | |
574 | one: 1 closed |
|
574 | one: 1 closed | |
575 | other: "%{count} closed" |
|
575 | other: "%{count} closed" | |
576 | label_total: Total |
|
576 | label_total: Total | |
577 | label_permissions: Permissions |
|
577 | label_permissions: Permissions | |
578 | label_current_status: Current status |
|
578 | label_current_status: Current status | |
579 | label_new_statuses_allowed: New statuses allowed |
|
579 | label_new_statuses_allowed: New statuses allowed | |
580 | label_all: all |
|
580 | label_all: all | |
581 | label_none: none |
|
581 | label_none: none | |
582 | label_nobody: nobody |
|
582 | label_nobody: nobody | |
583 | label_next: Next |
|
583 | label_next: Next | |
584 | label_previous: Previous |
|
584 | label_previous: Previous | |
585 | label_used_by: Used by |
|
585 | label_used_by: Used by | |
586 | label_details: Details |
|
586 | label_details: Details | |
587 | label_add_note: Add a note |
|
587 | label_add_note: Add a note | |
588 | label_per_page: Per page |
|
588 | label_per_page: Per page | |
589 | label_calendar: Calendar |
|
589 | label_calendar: Calendar | |
590 | label_months_from: months from |
|
590 | label_months_from: months from | |
591 | label_gantt: Gantt |
|
591 | label_gantt: Gantt | |
592 | label_internal: Internal |
|
592 | label_internal: Internal | |
593 | label_last_changes: "last %{count} changes" |
|
593 | label_last_changes: "last %{count} changes" | |
594 | label_change_view_all: View all changes |
|
594 | label_change_view_all: View all changes | |
595 | label_personalize_page: Personalise this page |
|
595 | label_personalize_page: Personalise this page | |
596 | label_comment: Comment |
|
596 | label_comment: Comment | |
597 | label_comment_plural: Comments |
|
597 | label_comment_plural: Comments | |
598 | label_x_comments: |
|
598 | label_x_comments: | |
599 | zero: no comments |
|
599 | zero: no comments | |
600 | one: 1 comment |
|
600 | one: 1 comment | |
601 | other: "%{count} comments" |
|
601 | other: "%{count} comments" | |
602 | label_comment_add: Add a comment |
|
602 | label_comment_add: Add a comment | |
603 | label_comment_added: Comment added |
|
603 | label_comment_added: Comment added | |
604 | label_comment_delete: Delete comments |
|
604 | label_comment_delete: Delete comments | |
605 | label_query: Custom query |
|
605 | label_query: Custom query | |
606 | label_query_plural: Custom queries |
|
606 | label_query_plural: Custom queries | |
607 | label_query_new: New query |
|
607 | label_query_new: New query | |
608 | label_my_queries: My custom queries |
|
608 | label_my_queries: My custom queries | |
609 | label_filter_add: Add filter |
|
609 | label_filter_add: Add filter | |
610 | label_filter_plural: Filters |
|
610 | label_filter_plural: Filters | |
611 | label_equals: is |
|
611 | label_equals: is | |
612 | label_not_equals: is not |
|
612 | label_not_equals: is not | |
613 | label_in_less_than: in less than |
|
613 | label_in_less_than: in less than | |
614 | label_in_more_than: in more than |
|
614 | label_in_more_than: in more than | |
615 | label_greater_or_equal: '>=' |
|
615 | label_greater_or_equal: '>=' | |
616 | label_less_or_equal: '<=' |
|
616 | label_less_or_equal: '<=' | |
617 | label_in: in |
|
617 | label_in: in | |
618 | label_today: today |
|
618 | label_today: today | |
619 | label_all_time: all time |
|
619 | label_all_time: all time | |
620 | label_yesterday: yesterday |
|
620 | label_yesterday: yesterday | |
621 | label_this_week: this week |
|
621 | label_this_week: this week | |
622 | label_last_week: last week |
|
622 | label_last_week: last week | |
623 | label_last_n_days: "last %{count} days" |
|
623 | label_last_n_days: "last %{count} days" | |
624 | label_this_month: this month |
|
624 | label_this_month: this month | |
625 | label_last_month: last month |
|
625 | label_last_month: last month | |
626 | label_this_year: this year |
|
626 | label_this_year: this year | |
627 | label_date_range: Date range |
|
627 | label_date_range: Date range | |
628 | label_less_than_ago: less than days ago |
|
628 | label_less_than_ago: less than days ago | |
629 | label_more_than_ago: more than days ago |
|
629 | label_more_than_ago: more than days ago | |
630 | label_ago: days ago |
|
630 | label_ago: days ago | |
631 | label_contains: contains |
|
631 | label_contains: contains | |
632 | label_not_contains: doesn't contain |
|
632 | label_not_contains: doesn't contain | |
633 | label_day_plural: days |
|
633 | label_day_plural: days | |
634 | label_repository: Repository |
|
634 | label_repository: Repository | |
635 | label_repository_plural: Repositories |
|
635 | label_repository_plural: Repositories | |
636 | label_browse: Browse |
|
636 | label_browse: Browse | |
637 | label_modification: "%{count} change" |
|
637 | label_modification: "%{count} change" | |
638 | label_modification_plural: "%{count} changes" |
|
638 | label_modification_plural: "%{count} changes" | |
639 | label_branch: Branch |
|
639 | label_branch: Branch | |
640 | label_tag: Tag |
|
640 | label_tag: Tag | |
641 | label_revision: Revision |
|
641 | label_revision: Revision | |
642 | label_revision_plural: Revisions |
|
642 | label_revision_plural: Revisions | |
643 | label_revision_id: "Revision %{value}" |
|
643 | label_revision_id: "Revision %{value}" | |
644 | label_associated_revisions: Associated revisions |
|
644 | label_associated_revisions: Associated revisions | |
645 | label_added: added |
|
645 | label_added: added | |
646 | label_modified: modified |
|
646 | label_modified: modified | |
647 | label_copied: copied |
|
647 | label_copied: copied | |
648 | label_renamed: renamed |
|
648 | label_renamed: renamed | |
649 | label_deleted: deleted |
|
649 | label_deleted: deleted | |
650 | label_latest_revision: Latest revision |
|
650 | label_latest_revision: Latest revision | |
651 | label_latest_revision_plural: Latest revisions |
|
651 | label_latest_revision_plural: Latest revisions | |
652 | label_view_revisions: View revisions |
|
652 | label_view_revisions: View revisions | |
653 | label_view_all_revisions: View all revisions |
|
653 | label_view_all_revisions: View all revisions | |
654 | label_max_size: Maximum size |
|
654 | label_max_size: Maximum size | |
655 | label_sort_highest: Move to top |
|
655 | label_sort_highest: Move to top | |
656 | label_sort_higher: Move up |
|
656 | label_sort_higher: Move up | |
657 | label_sort_lower: Move down |
|
657 | label_sort_lower: Move down | |
658 | label_sort_lowest: Move to bottom |
|
658 | label_sort_lowest: Move to bottom | |
659 | label_roadmap: Roadmap |
|
659 | label_roadmap: Roadmap | |
660 | label_roadmap_due_in: "Due in %{value}" |
|
660 | label_roadmap_due_in: "Due in %{value}" | |
661 | label_roadmap_overdue: "%{value} late" |
|
661 | label_roadmap_overdue: "%{value} late" | |
662 | label_roadmap_no_issues: No issues for this version |
|
662 | label_roadmap_no_issues: No issues for this version | |
663 | label_search: Search |
|
663 | label_search: Search | |
664 | label_result_plural: Results |
|
664 | label_result_plural: Results | |
665 | label_all_words: All words |
|
665 | label_all_words: All words | |
666 | label_wiki: Wiki |
|
666 | label_wiki: Wiki | |
667 | label_wiki_edit: Wiki edit |
|
667 | label_wiki_edit: Wiki edit | |
668 | label_wiki_edit_plural: Wiki edits |
|
668 | label_wiki_edit_plural: Wiki edits | |
669 | label_wiki_page: Wiki page |
|
669 | label_wiki_page: Wiki page | |
670 | label_wiki_page_plural: Wiki pages |
|
670 | label_wiki_page_plural: Wiki pages | |
671 | label_index_by_title: Index by title |
|
671 | label_index_by_title: Index by title | |
672 | label_index_by_date: Index by date |
|
672 | label_index_by_date: Index by date | |
673 | label_current_version: Current version |
|
673 | label_current_version: Current version | |
674 | label_preview: Preview |
|
674 | label_preview: Preview | |
675 | label_feed_plural: Feeds |
|
675 | label_feed_plural: Feeds | |
676 | label_changes_details: Details of all changes |
|
676 | label_changes_details: Details of all changes | |
677 | label_issue_tracking: Issue tracking |
|
677 | label_issue_tracking: Issue tracking | |
678 | label_spent_time: Spent time |
|
678 | label_spent_time: Spent time | |
679 | label_overall_spent_time: Overall spent time |
|
679 | label_overall_spent_time: Overall spent time | |
680 | label_f_hour: "%{value} hour" |
|
680 | label_f_hour: "%{value} hour" | |
681 | label_f_hour_plural: "%{value} hours" |
|
681 | label_f_hour_plural: "%{value} hours" | |
682 | label_time_tracking: Time tracking |
|
682 | label_time_tracking: Time tracking | |
683 | label_change_plural: Changes |
|
683 | label_change_plural: Changes | |
684 | label_statistics: Statistics |
|
684 | label_statistics: Statistics | |
685 | label_commits_per_month: Commits per month |
|
685 | label_commits_per_month: Commits per month | |
686 | label_commits_per_author: Commits per author |
|
686 | label_commits_per_author: Commits per author | |
687 | label_view_diff: View differences |
|
687 | label_view_diff: View differences | |
688 | label_diff_inline: inline |
|
688 | label_diff_inline: inline | |
689 | label_diff_side_by_side: side by side |
|
689 | label_diff_side_by_side: side by side | |
690 | label_options: Options |
|
690 | label_options: Options | |
691 | label_copy_workflow_from: Copy workflow from |
|
691 | label_copy_workflow_from: Copy workflow from | |
692 | label_permissions_report: Permissions report |
|
692 | label_permissions_report: Permissions report | |
693 | label_watched_issues: Watched issues |
|
693 | label_watched_issues: Watched issues | |
694 | label_related_issues: Related issues |
|
694 | label_related_issues: Related issues | |
695 | label_applied_status: Applied status |
|
695 | label_applied_status: Applied status | |
696 | label_loading: Loading... |
|
696 | label_loading: Loading... | |
697 | label_relation_new: New relation |
|
697 | label_relation_new: New relation | |
698 | label_relation_delete: Delete relation |
|
698 | label_relation_delete: Delete relation | |
699 | label_relates_to: related to |
|
699 | label_relates_to: related to | |
700 | label_duplicates: duplicates |
|
700 | label_duplicates: duplicates | |
701 | label_duplicated_by: duplicated by |
|
701 | label_duplicated_by: duplicated by | |
702 | label_blocks: blocks |
|
702 | label_blocks: blocks | |
703 | label_blocked_by: blocked by |
|
703 | label_blocked_by: blocked by | |
704 | label_precedes: precedes |
|
704 | label_precedes: precedes | |
705 | label_follows: follows |
|
705 | label_follows: follows | |
706 | label_end_to_start: end to start |
|
706 | label_end_to_start: end to start | |
707 | label_end_to_end: end to end |
|
707 | label_end_to_end: end to end | |
708 | label_start_to_start: start to start |
|
708 | label_start_to_start: start to start | |
709 | label_start_to_end: start to end |
|
709 | label_start_to_end: start to end | |
710 | label_stay_logged_in: Stay logged in |
|
710 | label_stay_logged_in: Stay logged in | |
711 | label_disabled: disabled |
|
711 | label_disabled: disabled | |
712 | label_show_completed_versions: Show completed versions |
|
712 | label_show_completed_versions: Show completed versions | |
713 | label_me: me |
|
713 | label_me: me | |
714 | label_board: Forum |
|
714 | label_board: Forum | |
715 | label_board_new: New forum |
|
715 | label_board_new: New forum | |
716 | label_board_plural: Forums |
|
716 | label_board_plural: Forums | |
717 | label_board_locked: Locked |
|
717 | label_board_locked: Locked | |
718 | label_board_sticky: Sticky |
|
718 | label_board_sticky: Sticky | |
719 | label_topic_plural: Topics |
|
719 | label_topic_plural: Topics | |
720 | label_message_plural: Messages |
|
720 | label_message_plural: Messages | |
721 | label_message_last: Last message |
|
721 | label_message_last: Last message | |
722 | label_message_new: New message |
|
722 | label_message_new: New message | |
723 | label_message_posted: Message added |
|
723 | label_message_posted: Message added | |
724 | label_reply_plural: Replies |
|
724 | label_reply_plural: Replies | |
725 | label_send_information: Send account information to the user |
|
725 | label_send_information: Send account information to the user | |
726 | label_year: Year |
|
726 | label_year: Year | |
727 | label_month: Month |
|
727 | label_month: Month | |
728 | label_week: Week |
|
728 | label_week: Week | |
729 | label_date_from: From |
|
729 | label_date_from: From | |
730 | label_date_to: To |
|
730 | label_date_to: To | |
731 | label_language_based: Based on user's language |
|
731 | label_language_based: Based on user's language | |
732 | label_sort_by: "Sort by %{value}" |
|
732 | label_sort_by: "Sort by %{value}" | |
733 | label_send_test_email: Send a test email |
|
733 | label_send_test_email: Send a test email | |
734 | label_feeds_access_key: RSS access key |
|
734 | label_feeds_access_key: RSS access key | |
735 | label_missing_feeds_access_key: Missing a RSS access key |
|
735 | label_missing_feeds_access_key: Missing a RSS access key | |
736 | label_feeds_access_key_created_on: "RSS access key created %{value} ago" |
|
736 | label_feeds_access_key_created_on: "RSS access key created %{value} ago" | |
737 | label_module_plural: Modules |
|
737 | label_module_plural: Modules | |
738 | label_added_time_by: "Added by %{author} %{age} ago" |
|
738 | label_added_time_by: "Added by %{author} %{age} ago" | |
739 | label_updated_time_by: "Updated by %{author} %{age} ago" |
|
739 | label_updated_time_by: "Updated by %{author} %{age} ago" | |
740 | label_updated_time: "Updated %{value} ago" |
|
740 | label_updated_time: "Updated %{value} ago" | |
741 | label_jump_to_a_project: Jump to a project... |
|
741 | label_jump_to_a_project: Jump to a project... | |
742 | label_file_plural: Files |
|
742 | label_file_plural: Files | |
743 | label_changeset_plural: Changesets |
|
743 | label_changeset_plural: Changesets | |
744 | label_default_columns: Default columns |
|
744 | label_default_columns: Default columns | |
745 | label_no_change_option: (No change) |
|
745 | label_no_change_option: (No change) | |
746 | label_bulk_edit_selected_issues: Bulk edit selected issues |
|
746 | label_bulk_edit_selected_issues: Bulk edit selected issues | |
747 | label_theme: Theme |
|
747 | label_theme: Theme | |
748 | label_default: Default |
|
748 | label_default: Default | |
749 | label_search_titles_only: Search titles only |
|
749 | label_search_titles_only: Search titles only | |
750 | label_user_mail_option_all: "For any event on all my projects" |
|
750 | label_user_mail_option_all: "For any event on all my projects" | |
751 | label_user_mail_option_selected: "For any event on the selected projects only..." |
|
751 | label_user_mail_option_selected: "For any event on the selected projects only..." | |
752 | label_user_mail_option_none: "No events" |
|
752 | label_user_mail_option_none: "No events" | |
753 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" |
|
753 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" | |
754 | label_user_mail_option_only_assigned: "Only for things I am assigned to" |
|
754 | label_user_mail_option_only_assigned: "Only for things I am assigned to" | |
755 | label_user_mail_option_only_owner: "Only for things I am the owner of" |
|
755 | label_user_mail_option_only_owner: "Only for things I am the owner of" | |
756 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" |
|
756 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" | |
757 | label_registration_activation_by_email: account activation by email |
|
757 | label_registration_activation_by_email: account activation by email | |
758 | label_registration_manual_activation: manual account activation |
|
758 | label_registration_manual_activation: manual account activation | |
759 | label_registration_automatic_activation: automatic account activation |
|
759 | label_registration_automatic_activation: automatic account activation | |
760 | label_display_per_page: "Per page: %{value}" |
|
760 | label_display_per_page: "Per page: %{value}" | |
761 | label_age: Age |
|
761 | label_age: Age | |
762 | label_change_properties: Change properties |
|
762 | label_change_properties: Change properties | |
763 | label_general: General |
|
763 | label_general: General | |
764 | label_more: More |
|
764 | label_more: More | |
765 | label_scm: SCM |
|
765 | label_scm: SCM | |
766 | label_plugins: Plugins |
|
766 | label_plugins: Plugins | |
767 | label_ldap_authentication: LDAP authentication |
|
767 | label_ldap_authentication: LDAP authentication | |
768 | label_downloads_abbr: D/L |
|
768 | label_downloads_abbr: D/L | |
769 | label_optional_description: Optional description |
|
769 | label_optional_description: Optional description | |
770 | label_add_another_file: Add another file |
|
770 | label_add_another_file: Add another file | |
771 | label_preferences: Preferences |
|
771 | label_preferences: Preferences | |
772 | label_chronological_order: In chronological order |
|
772 | label_chronological_order: In chronological order | |
773 | label_reverse_chronological_order: In reverse chronological order |
|
773 | label_reverse_chronological_order: In reverse chronological order | |
774 | label_planning: Planning |
|
774 | label_planning: Planning | |
775 | label_incoming_emails: Incoming emails |
|
775 | label_incoming_emails: Incoming emails | |
776 | label_generate_key: Generate a key |
|
776 | label_generate_key: Generate a key | |
777 | label_issue_watchers: Watchers |
|
777 | label_issue_watchers: Watchers | |
778 | label_example: Example |
|
778 | label_example: Example | |
779 | label_display: Display |
|
779 | label_display: Display | |
780 | label_sort: Sort |
|
780 | label_sort: Sort | |
781 | label_ascending: Ascending |
|
781 | label_ascending: Ascending | |
782 | label_descending: Descending |
|
782 | label_descending: Descending | |
783 | label_date_from_to: From %{start} to %{end} |
|
783 | label_date_from_to: From %{start} to %{end} | |
784 | label_wiki_content_added: Wiki page added |
|
784 | label_wiki_content_added: Wiki page added | |
785 | label_wiki_content_updated: Wiki page updated |
|
785 | label_wiki_content_updated: Wiki page updated | |
786 | label_group: Group |
|
786 | label_group: Group | |
787 | label_group_plural: Groups |
|
787 | label_group_plural: Groups | |
788 | label_group_new: New group |
|
788 | label_group_new: New group | |
789 | label_time_entry_plural: Spent time |
|
789 | label_time_entry_plural: Spent time | |
790 | label_version_sharing_none: Not shared |
|
790 | label_version_sharing_none: Not shared | |
791 | label_version_sharing_descendants: With subprojects |
|
791 | label_version_sharing_descendants: With subprojects | |
792 | label_version_sharing_hierarchy: With project hierarchy |
|
792 | label_version_sharing_hierarchy: With project hierarchy | |
793 | label_version_sharing_tree: With project tree |
|
793 | label_version_sharing_tree: With project tree | |
794 | label_version_sharing_system: With all projects |
|
794 | label_version_sharing_system: With all projects | |
795 | label_update_issue_done_ratios: Update issue done ratios |
|
795 | label_update_issue_done_ratios: Update issue done ratios | |
796 | label_copy_source: Source |
|
796 | label_copy_source: Source | |
797 | label_copy_target: Target |
|
797 | label_copy_target: Target | |
798 | label_copy_same_as_target: Same as target |
|
798 | label_copy_same_as_target: Same as target | |
799 | label_display_used_statuses_only: Only display statuses that are used by this tracker |
|
799 | label_display_used_statuses_only: Only display statuses that are used by this tracker | |
800 | label_api_access_key: API access key |
|
800 | label_api_access_key: API access key | |
801 | label_missing_api_access_key: Missing an API access key |
|
801 | label_missing_api_access_key: Missing an API access key | |
802 | label_api_access_key_created_on: "API access key created %{value} ago" |
|
802 | label_api_access_key_created_on: "API access key created %{value} ago" | |
803 | label_profile: Profile |
|
803 | label_profile: Profile | |
804 | label_subtask_plural: Subtasks |
|
804 | label_subtask_plural: Subtasks | |
805 | label_project_copy_notifications: Send email notifications during the project copy |
|
805 | label_project_copy_notifications: Send email notifications during the project copy | |
806 | label_principal_search: "Search for user or group:" |
|
806 | label_principal_search: "Search for user or group:" | |
807 | label_user_search: "Search for user:" |
|
807 | label_user_search: "Search for user:" | |
808 |
|
808 | |||
809 | button_login: Login |
|
809 | button_login: Login | |
810 | button_submit: Submit |
|
810 | button_submit: Submit | |
811 | button_save: Save |
|
811 | button_save: Save | |
812 | button_check_all: Check all |
|
812 | button_check_all: Check all | |
813 | button_uncheck_all: Uncheck all |
|
813 | button_uncheck_all: Uncheck all | |
814 | button_collapse_all: Collapse all |
|
814 | button_collapse_all: Collapse all | |
815 | button_expand_all: Expand all |
|
815 | button_expand_all: Expand all | |
816 | button_delete: Delete |
|
816 | button_delete: Delete | |
817 | button_create: Create |
|
817 | button_create: Create | |
818 | button_create_and_continue: Create and continue |
|
818 | button_create_and_continue: Create and continue | |
819 | button_test: Test |
|
819 | button_test: Test | |
820 | button_edit: Edit |
|
820 | button_edit: Edit | |
821 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" |
|
821 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" | |
822 | button_add: Add |
|
822 | button_add: Add | |
823 | button_change: Change |
|
823 | button_change: Change | |
824 | button_apply: Apply |
|
824 | button_apply: Apply | |
825 | button_clear: Clear |
|
825 | button_clear: Clear | |
826 | button_lock: Lock |
|
826 | button_lock: Lock | |
827 | button_unlock: Unlock |
|
827 | button_unlock: Unlock | |
828 | button_download: Download |
|
828 | button_download: Download | |
829 | button_list: List |
|
829 | button_list: List | |
830 | button_view: View |
|
830 | button_view: View | |
831 | button_move: Move |
|
831 | button_move: Move | |
832 | button_move_and_follow: Move and follow |
|
832 | button_move_and_follow: Move and follow | |
833 | button_back: Back |
|
833 | button_back: Back | |
834 | button_cancel: Cancel |
|
834 | button_cancel: Cancel | |
835 | button_activate: Activate |
|
835 | button_activate: Activate | |
836 | button_sort: Sort |
|
836 | button_sort: Sort | |
837 | button_log_time: Log time |
|
837 | button_log_time: Log time | |
838 | button_rollback: Rollback to this version |
|
838 | button_rollback: Rollback to this version | |
839 | button_watch: Watch |
|
839 | button_watch: Watch | |
840 | button_unwatch: Unwatch |
|
840 | button_unwatch: Unwatch | |
841 | button_reply: Reply |
|
841 | button_reply: Reply | |
842 | button_archive: Archive |
|
842 | button_archive: Archive | |
843 | button_unarchive: Unarchive |
|
843 | button_unarchive: Unarchive | |
844 | button_reset: Reset |
|
844 | button_reset: Reset | |
845 | button_rename: Rename |
|
845 | button_rename: Rename | |
846 | button_change_password: Change password |
|
846 | button_change_password: Change password | |
847 | button_copy: Copy |
|
847 | button_copy: Copy | |
848 | button_copy_and_follow: Copy and follow |
|
848 | button_copy_and_follow: Copy and follow | |
849 | button_annotate: Annotate |
|
849 | button_annotate: Annotate | |
850 | button_update: Update |
|
850 | button_update: Update | |
851 | button_configure: Configure |
|
851 | button_configure: Configure | |
852 | button_quote: Quote |
|
852 | button_quote: Quote | |
853 | button_duplicate: Duplicate |
|
853 | button_duplicate: Duplicate | |
854 | button_show: Show |
|
854 | button_show: Show | |
855 |
|
855 | |||
856 | status_active: active |
|
856 | status_active: active | |
857 | status_registered: registered |
|
857 | status_registered: registered | |
858 | status_locked: locked |
|
858 | status_locked: locked | |
859 |
|
859 | |||
860 | version_status_open: open |
|
860 | version_status_open: open | |
861 | version_status_locked: locked |
|
861 | version_status_locked: locked | |
862 | version_status_closed: closed |
|
862 | version_status_closed: closed | |
863 |
|
863 | |||
864 | field_active: Active |
|
864 | field_active: Active | |
865 |
|
865 | |||
866 | text_select_mail_notifications: Select actions for which email notifications should be sent. |
|
866 | text_select_mail_notifications: Select actions for which email notifications should be sent. | |
867 | text_regexp_info: eg. ^[A-Z0-9]+$ |
|
867 | text_regexp_info: eg. ^[A-Z0-9]+$ | |
868 | text_min_max_length_info: 0 means no restriction |
|
868 | text_min_max_length_info: 0 means no restriction | |
869 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? |
|
869 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? | |
870 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." |
|
870 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." | |
871 | text_workflow_edit: Select a role and a tracker to edit the workflow |
|
871 | text_workflow_edit: Select a role and a tracker to edit the workflow | |
872 | text_are_you_sure: Are you sure? |
|
872 | text_are_you_sure: Are you sure? | |
873 | text_are_you_sure_with_children: "Delete issue and all child issues?" |
|
873 | text_are_you_sure_with_children: "Delete issue and all child issues?" | |
874 | text_journal_changed: "%{label} changed from %{old} to %{new}" |
|
874 | text_journal_changed: "%{label} changed from %{old} to %{new}" | |
875 | text_journal_changed_no_detail: "%{label} updated" |
|
875 | text_journal_changed_no_detail: "%{label} updated" | |
876 | text_journal_set_to: "%{label} set to %{value}" |
|
876 | text_journal_set_to: "%{label} set to %{value}" | |
877 | text_journal_deleted: "%{label} deleted (%{old})" |
|
877 | text_journal_deleted: "%{label} deleted (%{old})" | |
878 | text_journal_added: "%{label} %{value} added" |
|
878 | text_journal_added: "%{label} %{value} added" | |
879 | text_tip_issue_begin_day: task beginning this day |
|
879 | text_tip_issue_begin_day: task beginning this day | |
880 | text_tip_issue_end_day: task ending this day |
|
880 | text_tip_issue_end_day: task ending this day | |
881 | text_tip_issue_begin_end_day: task beginning and ending this day |
|
881 | text_tip_issue_begin_end_day: task beginning and ending this day | |
882 |
text_project_identifier_info: 'Only lower case letters (a-z), numbers and |
|
882 | text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.' | |
883 | text_caracters_maximum: "%{count} characters maximum." |
|
883 | text_caracters_maximum: "%{count} characters maximum." | |
884 | text_caracters_minimum: "Must be at least %{count} characters long." |
|
884 | text_caracters_minimum: "Must be at least %{count} characters long." | |
885 | text_length_between: "Length between %{min} and %{max} characters." |
|
885 | text_length_between: "Length between %{min} and %{max} characters." | |
886 | text_tracker_no_workflow: No workflow defined for this tracker |
|
886 | text_tracker_no_workflow: No workflow defined for this tracker | |
887 | text_unallowed_characters: Unallowed characters |
|
887 | text_unallowed_characters: Unallowed characters | |
888 | text_comma_separated: Multiple values allowed (comma separated). |
|
888 | text_comma_separated: Multiple values allowed (comma separated). | |
889 | text_line_separated: Multiple values allowed (one line for each value). |
|
889 | text_line_separated: Multiple values allowed (one line for each value). | |
890 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages |
|
890 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages | |
891 | text_issue_added: "Issue %{id} has been reported by %{author}." |
|
891 | text_issue_added: "Issue %{id} has been reported by %{author}." | |
892 | text_issue_updated: "Issue %{id} has been updated by %{author}." |
|
892 | text_issue_updated: "Issue %{id} has been updated by %{author}." | |
893 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? |
|
893 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? | |
894 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" |
|
894 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" | |
895 | text_issue_category_destroy_assignments: Remove category assignments |
|
895 | text_issue_category_destroy_assignments: Remove category assignments | |
896 | text_issue_category_reassign_to: Reassign issues to this category |
|
896 | text_issue_category_reassign_to: Reassign issues to this category | |
897 | 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)." |
|
897 | 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)." | |
898 | 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." |
|
898 | 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." | |
899 | text_load_default_configuration: Load the default configuration |
|
899 | text_load_default_configuration: Load the default configuration | |
900 | text_status_changed_by_changeset: "Applied in changeset %{value}." |
|
900 | text_status_changed_by_changeset: "Applied in changeset %{value}." | |
901 | text_time_logged_by_changeset: "Applied in changeset %{value}." |
|
901 | text_time_logged_by_changeset: "Applied in changeset %{value}." | |
902 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' |
|
902 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' | |
903 | text_select_project_modules: 'Select modules to enable for this project:' |
|
903 | text_select_project_modules: 'Select modules to enable for this project:' | |
904 | text_default_administrator_account_changed: Default administrator account changed |
|
904 | text_default_administrator_account_changed: Default administrator account changed | |
905 | text_file_repository_writable: Attachments directory writable |
|
905 | text_file_repository_writable: Attachments directory writable | |
906 | text_plugin_assets_writable: Plugin assets directory writable |
|
906 | text_plugin_assets_writable: Plugin assets directory writable | |
907 | text_rmagick_available: RMagick available (optional) |
|
907 | text_rmagick_available: RMagick available (optional) | |
908 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" |
|
908 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" | |
909 | text_destroy_time_entries: Delete reported hours |
|
909 | text_destroy_time_entries: Delete reported hours | |
910 | text_assign_time_entries_to_project: Assign reported hours to the project |
|
910 | text_assign_time_entries_to_project: Assign reported hours to the project | |
911 | text_reassign_time_entries: 'Reassign reported hours to this issue:' |
|
911 | text_reassign_time_entries: 'Reassign reported hours to this issue:' | |
912 | text_user_wrote: "%{value} wrote:" |
|
912 | text_user_wrote: "%{value} wrote:" | |
913 | text_enumeration_destroy_question: "%{count} objects are assigned to this value." |
|
913 | text_enumeration_destroy_question: "%{count} objects are assigned to this value." | |
914 | text_enumeration_category_reassign_to: 'Reassign them to this value:' |
|
914 | text_enumeration_category_reassign_to: 'Reassign them to this value:' | |
915 | 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." |
|
915 | 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." | |
916 | 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." |
|
916 | 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." | |
917 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' |
|
917 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' | |
918 | text_custom_field_possible_values_info: 'One line for each value' |
|
918 | text_custom_field_possible_values_info: 'One line for each value' | |
919 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" |
|
919 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" | |
920 | text_wiki_page_nullify_children: "Keep child pages as root pages" |
|
920 | text_wiki_page_nullify_children: "Keep child pages as root pages" | |
921 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" |
|
921 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" | |
922 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" |
|
922 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" | |
923 | 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?" |
|
923 | 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?" | |
924 | text_zoom_in: Zoom in |
|
924 | text_zoom_in: Zoom in | |
925 | text_zoom_out: Zoom out |
|
925 | text_zoom_out: Zoom out | |
926 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." |
|
926 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." | |
927 |
|
927 | |||
928 | default_role_manager: Manager |
|
928 | default_role_manager: Manager | |
929 | default_role_developer: Developer |
|
929 | default_role_developer: Developer | |
930 | default_role_reporter: Reporter |
|
930 | default_role_reporter: Reporter | |
931 | default_tracker_bug: Bug |
|
931 | default_tracker_bug: Bug | |
932 | default_tracker_feature: Feature |
|
932 | default_tracker_feature: Feature | |
933 | default_tracker_support: Support |
|
933 | default_tracker_support: Support | |
934 | default_issue_status_new: New |
|
934 | default_issue_status_new: New | |
935 | default_issue_status_in_progress: In Progress |
|
935 | default_issue_status_in_progress: In Progress | |
936 | default_issue_status_resolved: Resolved |
|
936 | default_issue_status_resolved: Resolved | |
937 | default_issue_status_feedback: Feedback |
|
937 | default_issue_status_feedback: Feedback | |
938 | default_issue_status_closed: Closed |
|
938 | default_issue_status_closed: Closed | |
939 | default_issue_status_rejected: Rejected |
|
939 | default_issue_status_rejected: Rejected | |
940 | default_doc_category_user: User documentation |
|
940 | default_doc_category_user: User documentation | |
941 | default_doc_category_tech: Technical documentation |
|
941 | default_doc_category_tech: Technical documentation | |
942 | default_priority_low: Low |
|
942 | default_priority_low: Low | |
943 | default_priority_normal: Normal |
|
943 | default_priority_normal: Normal | |
944 | default_priority_high: High |
|
944 | default_priority_high: High | |
945 | default_priority_urgent: Urgent |
|
945 | default_priority_urgent: Urgent | |
946 | default_priority_immediate: Immediate |
|
946 | default_priority_immediate: Immediate | |
947 | default_activity_design: Design |
|
947 | default_activity_design: Design | |
948 | default_activity_development: Development |
|
948 | default_activity_development: Development | |
949 |
|
949 | |||
950 | enumeration_issue_priorities: Issue priorities |
|
950 | enumeration_issue_priorities: Issue priorities | |
951 | enumeration_doc_categories: Document categories |
|
951 | enumeration_doc_categories: Document categories | |
952 | enumeration_activities: Activities (time tracking) |
|
952 | enumeration_activities: Activities (time tracking) | |
953 | enumeration_system_activity: System Activity |
|
953 | enumeration_system_activity: System Activity | |
954 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee |
|
954 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee | |
955 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author |
|
955 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author | |
956 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries |
|
956 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries | |
957 | text_time_entries_destroy_confirmation: Are you sure you want to delete the selected time entr(y/ies)? |
|
957 | text_time_entries_destroy_confirmation: Are you sure you want to delete the selected time entr(y/ies)? | |
958 | label_issue_note_added: Note added |
|
958 | label_issue_note_added: Note added | |
959 | label_issue_status_updated: Status updated |
|
959 | label_issue_status_updated: Status updated | |
960 | label_issue_priority_updated: Priority updated |
|
960 | label_issue_priority_updated: Priority updated | |
961 | label_issues_visibility_own: Issues created by or assigned to the user |
|
961 | label_issues_visibility_own: Issues created by or assigned to the user | |
962 | field_issues_visibility: Issues visibility |
|
962 | field_issues_visibility: Issues visibility | |
963 | label_issues_visibility_all: All issues |
|
963 | label_issues_visibility_all: All issues | |
964 | permission_set_own_issues_private: Set own issues public or private |
|
964 | permission_set_own_issues_private: Set own issues public or private | |
965 | field_is_private: Private |
|
965 | field_is_private: Private | |
966 | permission_set_issues_private: Set issues public or private |
|
966 | permission_set_issues_private: Set issues public or private | |
967 | label_issues_visibility_public: All non private issues |
|
967 | label_issues_visibility_public: All non private issues | |
968 | text_issues_destroy_descendants_confirmation: This will also delete %{count} subtask(s). |
|
968 | text_issues_destroy_descendants_confirmation: This will also delete %{count} subtask(s). | |
969 | field_commit_logs_encoding: Commit messages encoding |
|
969 | field_commit_logs_encoding: Commit messages encoding | |
970 | field_scm_path_encoding: Path encoding |
|
970 | field_scm_path_encoding: Path encoding | |
971 | text_scm_path_encoding_note: "Default: UTF-8" |
|
971 | text_scm_path_encoding_note: "Default: UTF-8" | |
972 | field_path_to_repository: Path to repository |
|
972 | field_path_to_repository: Path to repository | |
973 | field_root_directory: Root directory |
|
973 | field_root_directory: Root directory | |
974 | field_cvs_module: Module |
|
974 | field_cvs_module: Module | |
975 | field_cvsroot: CVSROOT |
|
975 | field_cvsroot: CVSROOT | |
976 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) |
|
976 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) | |
977 | text_scm_command: Command |
|
977 | text_scm_command: Command | |
978 | text_scm_command_version: Version |
|
978 | text_scm_command_version: Version | |
979 | label_git_report_last_commit: Report last commit for files and directories |
|
979 | label_git_report_last_commit: Report last commit for files and directories | |
980 | text_scm_config: You can configure your scm commands in config/configuration.yml. Please restart the application after editing it. |
|
980 | text_scm_config: You can configure your scm commands in config/configuration.yml. Please restart the application after editing it. | |
981 | text_scm_command_not_available: Scm command is not available. Please check settings on the administration panel. |
|
981 | text_scm_command_not_available: Scm command is not available. Please check settings on the administration panel. | |
982 | notice_issue_successful_create: Issue %{id} created. |
|
982 | notice_issue_successful_create: Issue %{id} created. | |
983 | label_between: between |
|
983 | label_between: between | |
984 | label_diff: diff |
|
984 | label_diff: diff | |
985 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
985 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) | |
986 | description_query_sort_criteria_direction: Sort direction |
|
986 | description_query_sort_criteria_direction: Sort direction | |
987 | description_project_scope: Search scope |
|
987 | description_project_scope: Search scope | |
988 | description_filter: Filter |
|
988 | description_filter: Filter | |
989 | description_user_mail_notification: Mail notification settings |
|
989 | description_user_mail_notification: Mail notification settings | |
990 | description_date_from: Enter start date |
|
990 | description_date_from: Enter start date | |
991 | description_message_content: Message content |
|
991 | description_message_content: Message content | |
992 | description_available_columns: Available Columns |
|
992 | description_available_columns: Available Columns | |
993 | description_date_range_interval: Choose range by selecting start and end date |
|
993 | description_date_range_interval: Choose range by selecting start and end date | |
994 | description_issue_category_reassign: Choose issue category |
|
994 | description_issue_category_reassign: Choose issue category | |
995 | description_search: Searchfield |
|
995 | description_search: Searchfield | |
996 | description_notes: Notes |
|
996 | description_notes: Notes | |
997 | description_date_range_list: Choose range from list |
|
997 | description_date_range_list: Choose range from list | |
998 | description_choose_project: Projects |
|
998 | description_choose_project: Projects | |
999 | description_date_to: Enter end date |
|
999 | description_date_to: Enter end date | |
1000 | description_query_sort_criteria_attribute: Sort attribute |
|
1000 | description_query_sort_criteria_attribute: Sort attribute | |
1001 | description_wiki_subpages_reassign: Choose new parent page |
|
1001 | description_wiki_subpages_reassign: Choose new parent page | |
1002 | description_selected_columns: Selected Columns |
|
1002 | description_selected_columns: Selected Columns | |
1003 | label_parent_revision: Parent |
|
1003 | label_parent_revision: Parent | |
1004 | label_child_revision: Child |
|
1004 | label_child_revision: Child | |
1005 | button_edit_section: Edit this section |
|
1005 | button_edit_section: Edit this section | |
1006 | setting_repositories_encodings: Attachments and repositories encodings |
|
1006 | setting_repositories_encodings: Attachments and repositories encodings | |
1007 | description_all_columns: All Columns |
|
1007 | description_all_columns: All Columns | |
1008 | button_export: Export |
|
1008 | button_export: Export | |
1009 | label_export_options: "%{export_format} export options" |
|
1009 | label_export_options: "%{export_format} export options" | |
1010 | error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size}) |
|
1010 | error_attachment_too_big: This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size}) | |
1011 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." |
|
1011 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." | |
1012 | label_x_issues: |
|
1012 | label_x_issues: | |
1013 | zero: 0 issue |
|
1013 | zero: 0 issue | |
1014 | one: 1 issue |
|
1014 | one: 1 issue | |
1015 | other: "%{count} issues" |
|
1015 | other: "%{count} issues" | |
1016 | label_repository_new: New repository |
|
1016 | label_repository_new: New repository | |
1017 | field_repository_is_default: Main repository |
|
1017 | field_repository_is_default: Main repository | |
1018 | label_copy_attachments: Copy attachments |
|
1018 | label_copy_attachments: Copy attachments | |
1019 | label_item_position: "%{position} of %{count}" |
|
1019 | label_item_position: "%{position} of %{count}" | |
1020 | label_completed_versions: Completed versions |
|
1020 | label_completed_versions: Completed versions |
@@ -1,1016 +1,1016 | |||||
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_days: |
|
52 | x_days: | |
53 | one: "1 day" |
|
53 | one: "1 day" | |
54 | other: "%{count} days" |
|
54 | other: "%{count} days" | |
55 | about_x_months: |
|
55 | about_x_months: | |
56 | one: "about 1 month" |
|
56 | one: "about 1 month" | |
57 | other: "about %{count} months" |
|
57 | other: "about %{count} months" | |
58 | x_months: |
|
58 | x_months: | |
59 | one: "1 month" |
|
59 | one: "1 month" | |
60 | other: "%{count} months" |
|
60 | other: "%{count} months" | |
61 | about_x_years: |
|
61 | about_x_years: | |
62 | one: "about 1 year" |
|
62 | one: "about 1 year" | |
63 | other: "about %{count} years" |
|
63 | other: "about %{count} years" | |
64 | over_x_years: |
|
64 | over_x_years: | |
65 | one: "over 1 year" |
|
65 | one: "over 1 year" | |
66 | other: "over %{count} years" |
|
66 | other: "over %{count} years" | |
67 | almost_x_years: |
|
67 | almost_x_years: | |
68 | one: "almost 1 year" |
|
68 | one: "almost 1 year" | |
69 | other: "almost %{count} years" |
|
69 | other: "almost %{count} years" | |
70 |
|
70 | |||
71 | number: |
|
71 | number: | |
72 | format: |
|
72 | format: | |
73 | separator: "." |
|
73 | separator: "." | |
74 | delimiter: "" |
|
74 | delimiter: "" | |
75 | precision: 3 |
|
75 | precision: 3 | |
76 |
|
76 | |||
77 | human: |
|
77 | human: | |
78 | format: |
|
78 | format: | |
79 | delimiter: "" |
|
79 | delimiter: "" | |
80 | precision: 1 |
|
80 | precision: 1 | |
81 | storage_units: |
|
81 | storage_units: | |
82 | format: "%n %u" |
|
82 | format: "%n %u" | |
83 | units: |
|
83 | units: | |
84 | byte: |
|
84 | byte: | |
85 | one: "Byte" |
|
85 | one: "Byte" | |
86 | other: "Bytes" |
|
86 | other: "Bytes" | |
87 | kb: "kB" |
|
87 | kb: "kB" | |
88 | mb: "MB" |
|
88 | mb: "MB" | |
89 | gb: "GB" |
|
89 | gb: "GB" | |
90 | tb: "TB" |
|
90 | tb: "TB" | |
91 |
|
91 | |||
92 | # Used in array.to_sentence. |
|
92 | # Used in array.to_sentence. | |
93 | support: |
|
93 | support: | |
94 | array: |
|
94 | array: | |
95 | sentence_connector: "and" |
|
95 | sentence_connector: "and" | |
96 | skip_last_comma: false |
|
96 | skip_last_comma: false | |
97 |
|
97 | |||
98 | activerecord: |
|
98 | activerecord: | |
99 | errors: |
|
99 | errors: | |
100 | template: |
|
100 | template: | |
101 | header: |
|
101 | header: | |
102 | one: "1 error prohibited this %{model} from being saved" |
|
102 | one: "1 error prohibited this %{model} from being saved" | |
103 | other: "%{count} errors prohibited this %{model} from being saved" |
|
103 | other: "%{count} errors prohibited this %{model} from being saved" | |
104 | messages: |
|
104 | messages: | |
105 | inclusion: "is not included in the list" |
|
105 | inclusion: "is not included in the list" | |
106 | exclusion: "is reserved" |
|
106 | exclusion: "is reserved" | |
107 | invalid: "is invalid" |
|
107 | invalid: "is invalid" | |
108 | confirmation: "doesn't match confirmation" |
|
108 | confirmation: "doesn't match confirmation" | |
109 | accepted: "must be accepted" |
|
109 | accepted: "must be accepted" | |
110 | empty: "can't be empty" |
|
110 | empty: "can't be empty" | |
111 | blank: "can't be blank" |
|
111 | blank: "can't be blank" | |
112 | too_long: "is too long (maximum is %{count} characters)" |
|
112 | too_long: "is too long (maximum is %{count} characters)" | |
113 | too_short: "is too short (minimum is %{count} characters)" |
|
113 | too_short: "is too short (minimum is %{count} characters)" | |
114 | wrong_length: "is the wrong length (should be %{count} characters)" |
|
114 | wrong_length: "is the wrong length (should be %{count} characters)" | |
115 | taken: "has already been taken" |
|
115 | taken: "has already been taken" | |
116 | not_a_number: "is not a number" |
|
116 | not_a_number: "is not a number" | |
117 | not_a_date: "is not a valid date" |
|
117 | not_a_date: "is not a valid date" | |
118 | greater_than: "must be greater than %{count}" |
|
118 | greater_than: "must be greater than %{count}" | |
119 | greater_than_or_equal_to: "must be greater than or equal to %{count}" |
|
119 | greater_than_or_equal_to: "must be greater than or equal to %{count}" | |
120 | equal_to: "must be equal to %{count}" |
|
120 | equal_to: "must be equal to %{count}" | |
121 | less_than: "must be less than %{count}" |
|
121 | less_than: "must be less than %{count}" | |
122 | less_than_or_equal_to: "must be less than or equal to %{count}" |
|
122 | less_than_or_equal_to: "must be less than or equal to %{count}" | |
123 | odd: "must be odd" |
|
123 | odd: "must be odd" | |
124 | even: "must be even" |
|
124 | even: "must be even" | |
125 | greater_than_start_date: "must be greater than start date" |
|
125 | greater_than_start_date: "must be greater than start date" | |
126 | not_same_project: "doesn't belong to the same project" |
|
126 | not_same_project: "doesn't belong to the same project" | |
127 | circular_dependency: "This relation would create a circular dependency" |
|
127 | circular_dependency: "This relation would create a circular dependency" | |
128 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" |
|
128 | cant_link_an_issue_with_a_descendant: "An issue cannot be linked to one of its subtasks" | |
129 |
|
129 | |||
130 | actionview_instancetag_blank_option: Please select |
|
130 | actionview_instancetag_blank_option: Please select | |
131 |
|
131 | |||
132 | general_text_No: 'No' |
|
132 | general_text_No: 'No' | |
133 | general_text_Yes: 'Yes' |
|
133 | general_text_Yes: 'Yes' | |
134 | general_text_no: 'no' |
|
134 | general_text_no: 'no' | |
135 | general_text_yes: 'yes' |
|
135 | general_text_yes: 'yes' | |
136 | general_lang_name: 'English' |
|
136 | general_lang_name: 'English' | |
137 | general_csv_separator: ',' |
|
137 | general_csv_separator: ',' | |
138 | general_csv_decimal_separator: '.' |
|
138 | general_csv_decimal_separator: '.' | |
139 | general_csv_encoding: ISO-8859-1 |
|
139 | general_csv_encoding: ISO-8859-1 | |
140 | general_pdf_encoding: UTF-8 |
|
140 | general_pdf_encoding: UTF-8 | |
141 | general_first_day_of_week: '7' |
|
141 | general_first_day_of_week: '7' | |
142 |
|
142 | |||
143 | notice_account_updated: Account was successfully updated. |
|
143 | notice_account_updated: Account was successfully updated. | |
144 | notice_account_invalid_creditentials: Invalid user or password |
|
144 | notice_account_invalid_creditentials: Invalid user or password | |
145 | notice_account_password_updated: Password was successfully updated. |
|
145 | notice_account_password_updated: Password was successfully updated. | |
146 | notice_account_wrong_password: Wrong password |
|
146 | notice_account_wrong_password: Wrong password | |
147 | notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you. |
|
147 | notice_account_register_done: Account was successfully created. To activate your account, click on the link that was emailed to you. | |
148 | notice_account_unknown_email: Unknown user. |
|
148 | notice_account_unknown_email: Unknown user. | |
149 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. |
|
149 | notice_can_t_change_password: This account uses an external authentication source. Impossible to change the password. | |
150 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. |
|
150 | notice_account_lost_email_sent: An email with instructions to choose a new password has been sent to you. | |
151 | notice_account_activated: Your account has been activated. You can now log in. |
|
151 | notice_account_activated: Your account has been activated. You can now log in. | |
152 | notice_successful_create: Successful creation. |
|
152 | notice_successful_create: Successful creation. | |
153 | notice_successful_update: Successful update. |
|
153 | notice_successful_update: Successful update. | |
154 | notice_successful_delete: Successful deletion. |
|
154 | notice_successful_delete: Successful deletion. | |
155 | notice_successful_connection: Successful connection. |
|
155 | notice_successful_connection: Successful connection. | |
156 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. |
|
156 | notice_file_not_found: The page you were trying to access doesn't exist or has been removed. | |
157 | notice_locking_conflict: Data has been updated by another user. |
|
157 | notice_locking_conflict: Data has been updated by another user. | |
158 | notice_not_authorized: You are not authorized to access this page. |
|
158 | notice_not_authorized: You are not authorized to access this page. | |
159 | notice_not_authorized_archived_project: The project you're trying to access has been archived. |
|
159 | notice_not_authorized_archived_project: The project you're trying to access has been archived. | |
160 | notice_email_sent: "An email was sent to %{value}" |
|
160 | notice_email_sent: "An email was sent to %{value}" | |
161 | notice_email_error: "An error occurred while sending mail (%{value})" |
|
161 | notice_email_error: "An error occurred while sending mail (%{value})" | |
162 | notice_feeds_access_key_reseted: Your RSS access key was reset. |
|
162 | notice_feeds_access_key_reseted: Your RSS access key was reset. | |
163 | notice_api_access_key_reseted: Your API access key was reset. |
|
163 | notice_api_access_key_reseted: Your API access key was reset. | |
164 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." |
|
164 | notice_failed_to_save_issues: "Failed to save %{count} issue(s) on %{total} selected: %{ids}." | |
165 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." |
|
165 | notice_failed_to_save_time_entries: "Failed to save %{count} time entrie(s) on %{total} selected: %{ids}." | |
166 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." |
|
166 | notice_failed_to_save_members: "Failed to save member(s): %{errors}." | |
167 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." |
|
167 | notice_no_issue_selected: "No issue is selected! Please, check the issues you want to edit." | |
168 | notice_account_pending: "Your account was created and is now pending administrator approval." |
|
168 | notice_account_pending: "Your account was created and is now pending administrator approval." | |
169 | notice_default_data_loaded: Default configuration successfully loaded. |
|
169 | notice_default_data_loaded: Default configuration successfully loaded. | |
170 | notice_unable_delete_version: Unable to delete version. |
|
170 | notice_unable_delete_version: Unable to delete version. | |
171 | notice_unable_delete_time_entry: Unable to delete time log entry. |
|
171 | notice_unable_delete_time_entry: Unable to delete time log entry. | |
172 | notice_issue_done_ratios_updated: Issue done ratios updated. |
|
172 | notice_issue_done_ratios_updated: Issue done ratios updated. | |
173 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" |
|
173 | notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})" | |
174 | notice_issue_successful_create: "Issue %{id} created." |
|
174 | notice_issue_successful_create: "Issue %{id} created." | |
175 |
|
175 | |||
176 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" |
|
176 | error_can_t_load_default_data: "Default configuration could not be loaded: %{value}" | |
177 | error_scm_not_found: "The entry or revision was not found in the repository." |
|
177 | error_scm_not_found: "The entry or revision was not found in the repository." | |
178 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" |
|
178 | error_scm_command_failed: "An error occurred when trying to access the repository: %{value}" | |
179 | error_scm_annotate: "The entry does not exist or cannot be annotated." |
|
179 | error_scm_annotate: "The entry does not exist or cannot be annotated." | |
180 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." |
|
180 | error_scm_annotate_big_text_file: "The entry cannot be annotated, as it exceeds the maximum text file size." | |
181 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' |
|
181 | error_issue_not_found_in_project: 'The issue was not found or does not belong to this project' | |
182 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' |
|
182 | error_no_tracker_in_project: 'No tracker is associated to this project. Please check the Project settings.' | |
183 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' |
|
183 | error_no_default_issue_status: 'No default issue status is defined. Please check your configuration (Go to "Administration -> Issue statuses").' | |
184 | error_can_not_delete_custom_field: Unable to delete custom field |
|
184 | error_can_not_delete_custom_field: Unable to delete custom field | |
185 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." |
|
185 | error_can_not_delete_tracker: "This tracker contains issues and cannot be deleted." | |
186 | error_can_not_remove_role: "This role is in use and cannot be deleted." |
|
186 | error_can_not_remove_role: "This role is in use and cannot be deleted." | |
187 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' |
|
187 | error_can_not_reopen_issue_on_closed_version: 'An issue assigned to a closed version cannot be reopened' | |
188 | error_can_not_archive_project: This project cannot be archived |
|
188 | error_can_not_archive_project: This project cannot be archived | |
189 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." |
|
189 | error_issue_done_ratios_not_updated: "Issue done ratios not updated." | |
190 | error_workflow_copy_source: 'Please select a source tracker or role' |
|
190 | error_workflow_copy_source: 'Please select a source tracker or role' | |
191 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' |
|
191 | error_workflow_copy_target: 'Please select target tracker(s) and role(s)' | |
192 | error_unable_delete_issue_status: 'Unable to delete issue status' |
|
192 | error_unable_delete_issue_status: 'Unable to delete issue status' | |
193 | error_unable_to_connect: "Unable to connect (%{value})" |
|
193 | error_unable_to_connect: "Unable to connect (%{value})" | |
194 | error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})" |
|
194 | error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})" | |
195 | warning_attachments_not_saved: "%{count} file(s) could not be saved." |
|
195 | warning_attachments_not_saved: "%{count} file(s) could not be saved." | |
196 |
|
196 | |||
197 | mail_subject_lost_password: "Your %{value} password" |
|
197 | mail_subject_lost_password: "Your %{value} password" | |
198 | mail_body_lost_password: 'To change your password, click on the following link:' |
|
198 | mail_body_lost_password: 'To change your password, click on the following link:' | |
199 | mail_subject_register: "Your %{value} account activation" |
|
199 | mail_subject_register: "Your %{value} account activation" | |
200 | mail_body_register: 'To activate your account, click on the following link:' |
|
200 | mail_body_register: 'To activate your account, click on the following link:' | |
201 | mail_body_account_information_external: "You can use your %{value} account to log in." |
|
201 | mail_body_account_information_external: "You can use your %{value} account to log in." | |
202 | mail_body_account_information: Your account information |
|
202 | mail_body_account_information: Your account information | |
203 | mail_subject_account_activation_request: "%{value} account activation request" |
|
203 | mail_subject_account_activation_request: "%{value} account activation request" | |
204 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" |
|
204 | mail_body_account_activation_request: "A new user (%{value}) has registered. The account is pending your approval:" | |
205 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" |
|
205 | mail_subject_reminder: "%{count} issue(s) due in the next %{days} days" | |
206 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" |
|
206 | mail_body_reminder: "%{count} issue(s) that are assigned to you are due in the next %{days} days:" | |
207 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" |
|
207 | mail_subject_wiki_content_added: "'%{id}' wiki page has been added" | |
208 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." |
|
208 | mail_body_wiki_content_added: "The '%{id}' wiki page has been added by %{author}." | |
209 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" |
|
209 | mail_subject_wiki_content_updated: "'%{id}' wiki page has been updated" | |
210 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." |
|
210 | mail_body_wiki_content_updated: "The '%{id}' wiki page has been updated by %{author}." | |
211 |
|
211 | |||
212 | gui_validation_error: 1 error |
|
212 | gui_validation_error: 1 error | |
213 | gui_validation_error_plural: "%{count} errors" |
|
213 | gui_validation_error_plural: "%{count} errors" | |
214 |
|
214 | |||
215 | field_name: Name |
|
215 | field_name: Name | |
216 | field_description: Description |
|
216 | field_description: Description | |
217 | field_summary: Summary |
|
217 | field_summary: Summary | |
218 | field_is_required: Required |
|
218 | field_is_required: Required | |
219 | field_firstname: First name |
|
219 | field_firstname: First name | |
220 | field_lastname: Last name |
|
220 | field_lastname: Last name | |
221 | field_mail: Email |
|
221 | field_mail: Email | |
222 | field_filename: File |
|
222 | field_filename: File | |
223 | field_filesize: Size |
|
223 | field_filesize: Size | |
224 | field_downloads: Downloads |
|
224 | field_downloads: Downloads | |
225 | field_author: Author |
|
225 | field_author: Author | |
226 | field_created_on: Created |
|
226 | field_created_on: Created | |
227 | field_updated_on: Updated |
|
227 | field_updated_on: Updated | |
228 | field_field_format: Format |
|
228 | field_field_format: Format | |
229 | field_is_for_all: For all projects |
|
229 | field_is_for_all: For all projects | |
230 | field_possible_values: Possible values |
|
230 | field_possible_values: Possible values | |
231 | field_regexp: Regular expression |
|
231 | field_regexp: Regular expression | |
232 | field_min_length: Minimum length |
|
232 | field_min_length: Minimum length | |
233 | field_max_length: Maximum length |
|
233 | field_max_length: Maximum length | |
234 | field_value: Value |
|
234 | field_value: Value | |
235 | field_category: Category |
|
235 | field_category: Category | |
236 | field_title: Title |
|
236 | field_title: Title | |
237 | field_project: Project |
|
237 | field_project: Project | |
238 | field_issue: Issue |
|
238 | field_issue: Issue | |
239 | field_status: Status |
|
239 | field_status: Status | |
240 | field_notes: Notes |
|
240 | field_notes: Notes | |
241 | field_is_closed: Issue closed |
|
241 | field_is_closed: Issue closed | |
242 | field_is_default: Default value |
|
242 | field_is_default: Default value | |
243 | field_tracker: Tracker |
|
243 | field_tracker: Tracker | |
244 | field_subject: Subject |
|
244 | field_subject: Subject | |
245 | field_due_date: Due date |
|
245 | field_due_date: Due date | |
246 | field_assigned_to: Assignee |
|
246 | field_assigned_to: Assignee | |
247 | field_priority: Priority |
|
247 | field_priority: Priority | |
248 | field_fixed_version: Target version |
|
248 | field_fixed_version: Target version | |
249 | field_user: User |
|
249 | field_user: User | |
250 | field_principal: Principal |
|
250 | field_principal: Principal | |
251 | field_role: Role |
|
251 | field_role: Role | |
252 | field_homepage: Homepage |
|
252 | field_homepage: Homepage | |
253 | field_is_public: Public |
|
253 | field_is_public: Public | |
254 | field_parent: Subproject of |
|
254 | field_parent: Subproject of | |
255 | field_is_in_roadmap: Issues displayed in roadmap |
|
255 | field_is_in_roadmap: Issues displayed in roadmap | |
256 | field_login: Login |
|
256 | field_login: Login | |
257 | field_mail_notification: Email notifications |
|
257 | field_mail_notification: Email notifications | |
258 | field_admin: Administrator |
|
258 | field_admin: Administrator | |
259 | field_last_login_on: Last connection |
|
259 | field_last_login_on: Last connection | |
260 | field_language: Language |
|
260 | field_language: Language | |
261 | field_effective_date: Date |
|
261 | field_effective_date: Date | |
262 | field_password: Password |
|
262 | field_password: Password | |
263 | field_new_password: New password |
|
263 | field_new_password: New password | |
264 | field_password_confirmation: Confirmation |
|
264 | field_password_confirmation: Confirmation | |
265 | field_version: Version |
|
265 | field_version: Version | |
266 | field_type: Type |
|
266 | field_type: Type | |
267 | field_host: Host |
|
267 | field_host: Host | |
268 | field_port: Port |
|
268 | field_port: Port | |
269 | field_account: Account |
|
269 | field_account: Account | |
270 | field_base_dn: Base DN |
|
270 | field_base_dn: Base DN | |
271 | field_attr_login: Login attribute |
|
271 | field_attr_login: Login attribute | |
272 | field_attr_firstname: Firstname attribute |
|
272 | field_attr_firstname: Firstname attribute | |
273 | field_attr_lastname: Lastname attribute |
|
273 | field_attr_lastname: Lastname attribute | |
274 | field_attr_mail: Email attribute |
|
274 | field_attr_mail: Email attribute | |
275 | field_onthefly: On-the-fly user creation |
|
275 | field_onthefly: On-the-fly user creation | |
276 | field_start_date: Start date |
|
276 | field_start_date: Start date | |
277 | field_done_ratio: "% Done" |
|
277 | field_done_ratio: "% Done" | |
278 | field_auth_source: Authentication mode |
|
278 | field_auth_source: Authentication mode | |
279 | field_hide_mail: Hide my email address |
|
279 | field_hide_mail: Hide my email address | |
280 | field_comments: Comment |
|
280 | field_comments: Comment | |
281 | field_url: URL |
|
281 | field_url: URL | |
282 | field_start_page: Start page |
|
282 | field_start_page: Start page | |
283 | field_subproject: Subproject |
|
283 | field_subproject: Subproject | |
284 | field_hours: Hours |
|
284 | field_hours: Hours | |
285 | field_activity: Activity |
|
285 | field_activity: Activity | |
286 | field_spent_on: Date |
|
286 | field_spent_on: Date | |
287 | field_identifier: Identifier |
|
287 | field_identifier: Identifier | |
288 | field_is_filter: Used as a filter |
|
288 | field_is_filter: Used as a filter | |
289 | field_issue_to: Related issue |
|
289 | field_issue_to: Related issue | |
290 | field_delay: Delay |
|
290 | field_delay: Delay | |
291 | field_assignable: Issues can be assigned to this role |
|
291 | field_assignable: Issues can be assigned to this role | |
292 | field_redirect_existing_links: Redirect existing links |
|
292 | field_redirect_existing_links: Redirect existing links | |
293 | field_estimated_hours: Estimated time |
|
293 | field_estimated_hours: Estimated time | |
294 | field_column_names: Columns |
|
294 | field_column_names: Columns | |
295 | field_time_entries: Log time |
|
295 | field_time_entries: Log time | |
296 | field_time_zone: Time zone |
|
296 | field_time_zone: Time zone | |
297 | field_searchable: Searchable |
|
297 | field_searchable: Searchable | |
298 | field_default_value: Default value |
|
298 | field_default_value: Default value | |
299 | field_comments_sorting: Display comments |
|
299 | field_comments_sorting: Display comments | |
300 | field_parent_title: Parent page |
|
300 | field_parent_title: Parent page | |
301 | field_editable: Editable |
|
301 | field_editable: Editable | |
302 | field_watcher: Watcher |
|
302 | field_watcher: Watcher | |
303 | field_identity_url: OpenID URL |
|
303 | field_identity_url: OpenID URL | |
304 | field_content: Content |
|
304 | field_content: Content | |
305 | field_group_by: Group results by |
|
305 | field_group_by: Group results by | |
306 | field_sharing: Sharing |
|
306 | field_sharing: Sharing | |
307 | field_parent_issue: Parent task |
|
307 | field_parent_issue: Parent task | |
308 | field_member_of_group: "Assignee's group" |
|
308 | field_member_of_group: "Assignee's group" | |
309 | field_assigned_to_role: "Assignee's role" |
|
309 | field_assigned_to_role: "Assignee's role" | |
310 | field_text: Text field |
|
310 | field_text: Text field | |
311 | field_visible: Visible |
|
311 | field_visible: Visible | |
312 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" |
|
312 | field_warn_on_leaving_unsaved: "Warn me when leaving a page with unsaved text" | |
313 | field_issues_visibility: Issues visibility |
|
313 | field_issues_visibility: Issues visibility | |
314 | field_is_private: Private |
|
314 | field_is_private: Private | |
315 | field_commit_logs_encoding: Commit messages encoding |
|
315 | field_commit_logs_encoding: Commit messages encoding | |
316 | field_scm_path_encoding: Path encoding |
|
316 | field_scm_path_encoding: Path encoding | |
317 | field_path_to_repository: Path to repository |
|
317 | field_path_to_repository: Path to repository | |
318 | field_root_directory: Root directory |
|
318 | field_root_directory: Root directory | |
319 | field_cvsroot: CVSROOT |
|
319 | field_cvsroot: CVSROOT | |
320 | field_cvs_module: Module |
|
320 | field_cvs_module: Module | |
321 | field_repository_is_default: Main repository |
|
321 | field_repository_is_default: Main repository | |
322 |
|
322 | |||
323 | setting_app_title: Application title |
|
323 | setting_app_title: Application title | |
324 | setting_app_subtitle: Application subtitle |
|
324 | setting_app_subtitle: Application subtitle | |
325 | setting_welcome_text: Welcome text |
|
325 | setting_welcome_text: Welcome text | |
326 | setting_default_language: Default language |
|
326 | setting_default_language: Default language | |
327 | setting_login_required: Authentication required |
|
327 | setting_login_required: Authentication required | |
328 | setting_self_registration: Self-registration |
|
328 | setting_self_registration: Self-registration | |
329 | setting_attachment_max_size: Maximum attachment size |
|
329 | setting_attachment_max_size: Maximum attachment size | |
330 | setting_issues_export_limit: Issues export limit |
|
330 | setting_issues_export_limit: Issues export limit | |
331 | setting_mail_from: Emission email address |
|
331 | setting_mail_from: Emission email address | |
332 | setting_bcc_recipients: Blind carbon copy recipients (bcc) |
|
332 | setting_bcc_recipients: Blind carbon copy recipients (bcc) | |
333 | setting_plain_text_mail: Plain text mail (no HTML) |
|
333 | setting_plain_text_mail: Plain text mail (no HTML) | |
334 | setting_host_name: Host name and path |
|
334 | setting_host_name: Host name and path | |
335 | setting_text_formatting: Text formatting |
|
335 | setting_text_formatting: Text formatting | |
336 | setting_wiki_compression: Wiki history compression |
|
336 | setting_wiki_compression: Wiki history compression | |
337 | setting_feeds_limit: Maximum number of items in Atom feeds |
|
337 | setting_feeds_limit: Maximum number of items in Atom feeds | |
338 | setting_default_projects_public: New projects are public by default |
|
338 | setting_default_projects_public: New projects are public by default | |
339 | setting_autofetch_changesets: Fetch commits automatically |
|
339 | setting_autofetch_changesets: Fetch commits automatically | |
340 | setting_sys_api_enabled: Enable WS for repository management |
|
340 | setting_sys_api_enabled: Enable WS for repository management | |
341 | setting_commit_ref_keywords: Referencing keywords |
|
341 | setting_commit_ref_keywords: Referencing keywords | |
342 | setting_commit_fix_keywords: Fixing keywords |
|
342 | setting_commit_fix_keywords: Fixing keywords | |
343 | setting_autologin: Autologin |
|
343 | setting_autologin: Autologin | |
344 | setting_date_format: Date format |
|
344 | setting_date_format: Date format | |
345 | setting_time_format: Time format |
|
345 | setting_time_format: Time format | |
346 | setting_cross_project_issue_relations: Allow cross-project issue relations |
|
346 | setting_cross_project_issue_relations: Allow cross-project issue relations | |
347 | setting_issue_list_default_columns: Default columns displayed on the issue list |
|
347 | setting_issue_list_default_columns: Default columns displayed on the issue list | |
348 | setting_repositories_encodings: Attachments and repositories encodings |
|
348 | setting_repositories_encodings: Attachments and repositories encodings | |
349 | setting_emails_header: Emails header |
|
349 | setting_emails_header: Emails header | |
350 | setting_emails_footer: Emails footer |
|
350 | setting_emails_footer: Emails footer | |
351 | setting_protocol: Protocol |
|
351 | setting_protocol: Protocol | |
352 | setting_per_page_options: Objects per page options |
|
352 | setting_per_page_options: Objects per page options | |
353 | setting_user_format: Users display format |
|
353 | setting_user_format: Users display format | |
354 | setting_activity_days_default: Days displayed on project activity |
|
354 | setting_activity_days_default: Days displayed on project activity | |
355 | setting_display_subprojects_issues: Display subprojects issues on main projects by default |
|
355 | setting_display_subprojects_issues: Display subprojects issues on main projects by default | |
356 | setting_enabled_scm: Enabled SCM |
|
356 | setting_enabled_scm: Enabled SCM | |
357 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" |
|
357 | setting_mail_handler_body_delimiters: "Truncate emails after one of these lines" | |
358 | setting_mail_handler_api_enabled: Enable WS for incoming emails |
|
358 | setting_mail_handler_api_enabled: Enable WS for incoming emails | |
359 | setting_mail_handler_api_key: API key |
|
359 | setting_mail_handler_api_key: API key | |
360 | setting_sequential_project_identifiers: Generate sequential project identifiers |
|
360 | setting_sequential_project_identifiers: Generate sequential project identifiers | |
361 | setting_gravatar_enabled: Use Gravatar user icons |
|
361 | setting_gravatar_enabled: Use Gravatar user icons | |
362 | setting_gravatar_default: Default Gravatar image |
|
362 | setting_gravatar_default: Default Gravatar image | |
363 | setting_diff_max_lines_displayed: Maximum number of diff lines displayed |
|
363 | setting_diff_max_lines_displayed: Maximum number of diff lines displayed | |
364 | setting_file_max_size_displayed: Maximum size of text files displayed inline |
|
364 | setting_file_max_size_displayed: Maximum size of text files displayed inline | |
365 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log |
|
365 | setting_repository_log_display_limit: Maximum number of revisions displayed on file log | |
366 | setting_openid: Allow OpenID login and registration |
|
366 | setting_openid: Allow OpenID login and registration | |
367 | setting_password_min_length: Minimum password length |
|
367 | setting_password_min_length: Minimum password length | |
368 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project |
|
368 | setting_new_project_user_role_id: Role given to a non-admin user who creates a project | |
369 | setting_default_projects_modules: Default enabled modules for new projects |
|
369 | setting_default_projects_modules: Default enabled modules for new projects | |
370 | setting_issue_done_ratio: Calculate the issue done ratio with |
|
370 | setting_issue_done_ratio: Calculate the issue done ratio with | |
371 | setting_issue_done_ratio_issue_field: Use the issue field |
|
371 | setting_issue_done_ratio_issue_field: Use the issue field | |
372 | setting_issue_done_ratio_issue_status: Use the issue status |
|
372 | setting_issue_done_ratio_issue_status: Use the issue status | |
373 | setting_start_of_week: Start calendars on |
|
373 | setting_start_of_week: Start calendars on | |
374 | setting_rest_api_enabled: Enable REST web service |
|
374 | setting_rest_api_enabled: Enable REST web service | |
375 | setting_cache_formatted_text: Cache formatted text |
|
375 | setting_cache_formatted_text: Cache formatted text | |
376 | setting_default_notification_option: Default notification option |
|
376 | setting_default_notification_option: Default notification option | |
377 | setting_commit_logtime_enabled: Enable time logging |
|
377 | setting_commit_logtime_enabled: Enable time logging | |
378 | setting_commit_logtime_activity_id: Activity for logged time |
|
378 | setting_commit_logtime_activity_id: Activity for logged time | |
379 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart |
|
379 | setting_gantt_items_limit: Maximum number of items displayed on the gantt chart | |
380 | setting_issue_group_assignment: Allow issue assignment to groups |
|
380 | setting_issue_group_assignment: Allow issue assignment to groups | |
381 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues |
|
381 | setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues | |
382 |
|
382 | |||
383 | permission_add_project: Create project |
|
383 | permission_add_project: Create project | |
384 | permission_add_subprojects: Create subprojects |
|
384 | permission_add_subprojects: Create subprojects | |
385 | permission_edit_project: Edit project |
|
385 | permission_edit_project: Edit project | |
386 | permission_select_project_modules: Select project modules |
|
386 | permission_select_project_modules: Select project modules | |
387 | permission_manage_members: Manage members |
|
387 | permission_manage_members: Manage members | |
388 | permission_manage_project_activities: Manage project activities |
|
388 | permission_manage_project_activities: Manage project activities | |
389 | permission_manage_versions: Manage versions |
|
389 | permission_manage_versions: Manage versions | |
390 | permission_manage_categories: Manage issue categories |
|
390 | permission_manage_categories: Manage issue categories | |
391 | permission_view_issues: View Issues |
|
391 | permission_view_issues: View Issues | |
392 | permission_add_issues: Add issues |
|
392 | permission_add_issues: Add issues | |
393 | permission_edit_issues: Edit issues |
|
393 | permission_edit_issues: Edit issues | |
394 | permission_manage_issue_relations: Manage issue relations |
|
394 | permission_manage_issue_relations: Manage issue relations | |
395 | permission_set_issues_private: Set issues public or private |
|
395 | permission_set_issues_private: Set issues public or private | |
396 | permission_set_own_issues_private: Set own issues public or private |
|
396 | permission_set_own_issues_private: Set own issues public or private | |
397 | permission_add_issue_notes: Add notes |
|
397 | permission_add_issue_notes: Add notes | |
398 | permission_edit_issue_notes: Edit notes |
|
398 | permission_edit_issue_notes: Edit notes | |
399 | permission_edit_own_issue_notes: Edit own notes |
|
399 | permission_edit_own_issue_notes: Edit own notes | |
400 | permission_move_issues: Move issues |
|
400 | permission_move_issues: Move issues | |
401 | permission_delete_issues: Delete issues |
|
401 | permission_delete_issues: Delete issues | |
402 | permission_manage_public_queries: Manage public queries |
|
402 | permission_manage_public_queries: Manage public queries | |
403 | permission_save_queries: Save queries |
|
403 | permission_save_queries: Save queries | |
404 | permission_view_gantt: View gantt chart |
|
404 | permission_view_gantt: View gantt chart | |
405 | permission_view_calendar: View calendar |
|
405 | permission_view_calendar: View calendar | |
406 | permission_view_issue_watchers: View watchers list |
|
406 | permission_view_issue_watchers: View watchers list | |
407 | permission_add_issue_watchers: Add watchers |
|
407 | permission_add_issue_watchers: Add watchers | |
408 | permission_delete_issue_watchers: Delete watchers |
|
408 | permission_delete_issue_watchers: Delete watchers | |
409 | permission_log_time: Log spent time |
|
409 | permission_log_time: Log spent time | |
410 | permission_view_time_entries: View spent time |
|
410 | permission_view_time_entries: View spent time | |
411 | permission_edit_time_entries: Edit time logs |
|
411 | permission_edit_time_entries: Edit time logs | |
412 | permission_edit_own_time_entries: Edit own time logs |
|
412 | permission_edit_own_time_entries: Edit own time logs | |
413 | permission_manage_news: Manage news |
|
413 | permission_manage_news: Manage news | |
414 | permission_comment_news: Comment news |
|
414 | permission_comment_news: Comment news | |
415 | permission_manage_documents: Manage documents |
|
415 | permission_manage_documents: Manage documents | |
416 | permission_view_documents: View documents |
|
416 | permission_view_documents: View documents | |
417 | permission_manage_files: Manage files |
|
417 | permission_manage_files: Manage files | |
418 | permission_view_files: View files |
|
418 | permission_view_files: View files | |
419 | permission_manage_wiki: Manage wiki |
|
419 | permission_manage_wiki: Manage wiki | |
420 | permission_rename_wiki_pages: Rename wiki pages |
|
420 | permission_rename_wiki_pages: Rename wiki pages | |
421 | permission_delete_wiki_pages: Delete wiki pages |
|
421 | permission_delete_wiki_pages: Delete wiki pages | |
422 | permission_view_wiki_pages: View wiki |
|
422 | permission_view_wiki_pages: View wiki | |
423 | permission_view_wiki_edits: View wiki history |
|
423 | permission_view_wiki_edits: View wiki history | |
424 | permission_edit_wiki_pages: Edit wiki pages |
|
424 | permission_edit_wiki_pages: Edit wiki pages | |
425 | permission_delete_wiki_pages_attachments: Delete attachments |
|
425 | permission_delete_wiki_pages_attachments: Delete attachments | |
426 | permission_protect_wiki_pages: Protect wiki pages |
|
426 | permission_protect_wiki_pages: Protect wiki pages | |
427 | permission_manage_repository: Manage repository |
|
427 | permission_manage_repository: Manage repository | |
428 | permission_browse_repository: Browse repository |
|
428 | permission_browse_repository: Browse repository | |
429 | permission_view_changesets: View changesets |
|
429 | permission_view_changesets: View changesets | |
430 | permission_commit_access: Commit access |
|
430 | permission_commit_access: Commit access | |
431 | permission_manage_boards: Manage forums |
|
431 | permission_manage_boards: Manage forums | |
432 | permission_view_messages: View messages |
|
432 | permission_view_messages: View messages | |
433 | permission_add_messages: Post messages |
|
433 | permission_add_messages: Post messages | |
434 | permission_edit_messages: Edit messages |
|
434 | permission_edit_messages: Edit messages | |
435 | permission_edit_own_messages: Edit own messages |
|
435 | permission_edit_own_messages: Edit own messages | |
436 | permission_delete_messages: Delete messages |
|
436 | permission_delete_messages: Delete messages | |
437 | permission_delete_own_messages: Delete own messages |
|
437 | permission_delete_own_messages: Delete own messages | |
438 | permission_export_wiki_pages: Export wiki pages |
|
438 | permission_export_wiki_pages: Export wiki pages | |
439 | permission_manage_subtasks: Manage subtasks |
|
439 | permission_manage_subtasks: Manage subtasks | |
440 |
|
440 | |||
441 | project_module_issue_tracking: Issue tracking |
|
441 | project_module_issue_tracking: Issue tracking | |
442 | project_module_time_tracking: Time tracking |
|
442 | project_module_time_tracking: Time tracking | |
443 | project_module_news: News |
|
443 | project_module_news: News | |
444 | project_module_documents: Documents |
|
444 | project_module_documents: Documents | |
445 | project_module_files: Files |
|
445 | project_module_files: Files | |
446 | project_module_wiki: Wiki |
|
446 | project_module_wiki: Wiki | |
447 | project_module_repository: Repository |
|
447 | project_module_repository: Repository | |
448 | project_module_boards: Forums |
|
448 | project_module_boards: Forums | |
449 | project_module_calendar: Calendar |
|
449 | project_module_calendar: Calendar | |
450 | project_module_gantt: Gantt |
|
450 | project_module_gantt: Gantt | |
451 |
|
451 | |||
452 | label_user: User |
|
452 | label_user: User | |
453 | label_user_plural: Users |
|
453 | label_user_plural: Users | |
454 | label_user_new: New user |
|
454 | label_user_new: New user | |
455 | label_user_anonymous: Anonymous |
|
455 | label_user_anonymous: Anonymous | |
456 | label_project: Project |
|
456 | label_project: Project | |
457 | label_project_new: New project |
|
457 | label_project_new: New project | |
458 | label_project_plural: Projects |
|
458 | label_project_plural: Projects | |
459 | label_x_projects: |
|
459 | label_x_projects: | |
460 | zero: no projects |
|
460 | zero: no projects | |
461 | one: 1 project |
|
461 | one: 1 project | |
462 | other: "%{count} projects" |
|
462 | other: "%{count} projects" | |
463 | label_project_all: All Projects |
|
463 | label_project_all: All Projects | |
464 | label_project_latest: Latest projects |
|
464 | label_project_latest: Latest projects | |
465 | label_issue: Issue |
|
465 | label_issue: Issue | |
466 | label_issue_new: New issue |
|
466 | label_issue_new: New issue | |
467 | label_issue_plural: Issues |
|
467 | label_issue_plural: Issues | |
468 | label_issue_view_all: View all issues |
|
468 | label_issue_view_all: View all issues | |
469 | label_issues_by: "Issues by %{value}" |
|
469 | label_issues_by: "Issues by %{value}" | |
470 | label_issue_added: Issue added |
|
470 | label_issue_added: Issue added | |
471 | label_issue_updated: Issue updated |
|
471 | label_issue_updated: Issue updated | |
472 | label_issue_note_added: Note added |
|
472 | label_issue_note_added: Note added | |
473 | label_issue_status_updated: Status updated |
|
473 | label_issue_status_updated: Status updated | |
474 | label_issue_priority_updated: Priority updated |
|
474 | label_issue_priority_updated: Priority updated | |
475 | label_document: Document |
|
475 | label_document: Document | |
476 | label_document_new: New document |
|
476 | label_document_new: New document | |
477 | label_document_plural: Documents |
|
477 | label_document_plural: Documents | |
478 | label_document_added: Document added |
|
478 | label_document_added: Document added | |
479 | label_role: Role |
|
479 | label_role: Role | |
480 | label_role_plural: Roles |
|
480 | label_role_plural: Roles | |
481 | label_role_new: New role |
|
481 | label_role_new: New role | |
482 | label_role_and_permissions: Roles and permissions |
|
482 | label_role_and_permissions: Roles and permissions | |
483 | label_role_anonymous: Anonymous |
|
483 | label_role_anonymous: Anonymous | |
484 | label_role_non_member: Non member |
|
484 | label_role_non_member: Non member | |
485 | label_member: Member |
|
485 | label_member: Member | |
486 | label_member_new: New member |
|
486 | label_member_new: New member | |
487 | label_member_plural: Members |
|
487 | label_member_plural: Members | |
488 | label_tracker: Tracker |
|
488 | label_tracker: Tracker | |
489 | label_tracker_plural: Trackers |
|
489 | label_tracker_plural: Trackers | |
490 | label_tracker_new: New tracker |
|
490 | label_tracker_new: New tracker | |
491 | label_workflow: Workflow |
|
491 | label_workflow: Workflow | |
492 | label_issue_status: Issue status |
|
492 | label_issue_status: Issue status | |
493 | label_issue_status_plural: Issue statuses |
|
493 | label_issue_status_plural: Issue statuses | |
494 | label_issue_status_new: New status |
|
494 | label_issue_status_new: New status | |
495 | label_issue_category: Issue category |
|
495 | label_issue_category: Issue category | |
496 | label_issue_category_plural: Issue categories |
|
496 | label_issue_category_plural: Issue categories | |
497 | label_issue_category_new: New category |
|
497 | label_issue_category_new: New category | |
498 | label_custom_field: Custom field |
|
498 | label_custom_field: Custom field | |
499 | label_custom_field_plural: Custom fields |
|
499 | label_custom_field_plural: Custom fields | |
500 | label_custom_field_new: New custom field |
|
500 | label_custom_field_new: New custom field | |
501 | label_enumerations: Enumerations |
|
501 | label_enumerations: Enumerations | |
502 | label_enumeration_new: New value |
|
502 | label_enumeration_new: New value | |
503 | label_information: Information |
|
503 | label_information: Information | |
504 | label_information_plural: Information |
|
504 | label_information_plural: Information | |
505 | label_please_login: Please log in |
|
505 | label_please_login: Please log in | |
506 | label_register: Register |
|
506 | label_register: Register | |
507 | label_login_with_open_id_option: or login with OpenID |
|
507 | label_login_with_open_id_option: or login with OpenID | |
508 | label_password_lost: Lost password |
|
508 | label_password_lost: Lost password | |
509 | label_home: Home |
|
509 | label_home: Home | |
510 | label_my_page: My page |
|
510 | label_my_page: My page | |
511 | label_my_account: My account |
|
511 | label_my_account: My account | |
512 | label_my_projects: My projects |
|
512 | label_my_projects: My projects | |
513 | label_my_page_block: My page block |
|
513 | label_my_page_block: My page block | |
514 | label_administration: Administration |
|
514 | label_administration: Administration | |
515 | label_login: Sign in |
|
515 | label_login: Sign in | |
516 | label_logout: Sign out |
|
516 | label_logout: Sign out | |
517 | label_help: Help |
|
517 | label_help: Help | |
518 | label_reported_issues: Reported issues |
|
518 | label_reported_issues: Reported issues | |
519 | label_assigned_to_me_issues: Issues assigned to me |
|
519 | label_assigned_to_me_issues: Issues assigned to me | |
520 | label_last_login: Last connection |
|
520 | label_last_login: Last connection | |
521 | label_registered_on: Registered on |
|
521 | label_registered_on: Registered on | |
522 | label_activity: Activity |
|
522 | label_activity: Activity | |
523 | label_overall_activity: Overall activity |
|
523 | label_overall_activity: Overall activity | |
524 | label_user_activity: "%{value}'s activity" |
|
524 | label_user_activity: "%{value}'s activity" | |
525 | label_new: New |
|
525 | label_new: New | |
526 | label_logged_as: Logged in as |
|
526 | label_logged_as: Logged in as | |
527 | label_environment: Environment |
|
527 | label_environment: Environment | |
528 | label_authentication: Authentication |
|
528 | label_authentication: Authentication | |
529 | label_auth_source: Authentication mode |
|
529 | label_auth_source: Authentication mode | |
530 | label_auth_source_new: New authentication mode |
|
530 | label_auth_source_new: New authentication mode | |
531 | label_auth_source_plural: Authentication modes |
|
531 | label_auth_source_plural: Authentication modes | |
532 | label_subproject_plural: Subprojects |
|
532 | label_subproject_plural: Subprojects | |
533 | label_subproject_new: New subproject |
|
533 | label_subproject_new: New subproject | |
534 | label_and_its_subprojects: "%{value} and its subprojects" |
|
534 | label_and_its_subprojects: "%{value} and its subprojects" | |
535 | label_min_max_length: Min - Max length |
|
535 | label_min_max_length: Min - Max length | |
536 | label_list: List |
|
536 | label_list: List | |
537 | label_date: Date |
|
537 | label_date: Date | |
538 | label_integer: Integer |
|
538 | label_integer: Integer | |
539 | label_float: Float |
|
539 | label_float: Float | |
540 | label_boolean: Boolean |
|
540 | label_boolean: Boolean | |
541 | label_string: Text |
|
541 | label_string: Text | |
542 | label_text: Long text |
|
542 | label_text: Long text | |
543 | label_attribute: Attribute |
|
543 | label_attribute: Attribute | |
544 | label_attribute_plural: Attributes |
|
544 | label_attribute_plural: Attributes | |
545 | label_download: "%{count} Download" |
|
545 | label_download: "%{count} Download" | |
546 | label_download_plural: "%{count} Downloads" |
|
546 | label_download_plural: "%{count} Downloads" | |
547 | label_no_data: No data to display |
|
547 | label_no_data: No data to display | |
548 | label_change_status: Change status |
|
548 | label_change_status: Change status | |
549 | label_history: History |
|
549 | label_history: History | |
550 | label_attachment: File |
|
550 | label_attachment: File | |
551 | label_attachment_new: New file |
|
551 | label_attachment_new: New file | |
552 | label_attachment_delete: Delete file |
|
552 | label_attachment_delete: Delete file | |
553 | label_attachment_plural: Files |
|
553 | label_attachment_plural: Files | |
554 | label_file_added: File added |
|
554 | label_file_added: File added | |
555 | label_report: Report |
|
555 | label_report: Report | |
556 | label_report_plural: Reports |
|
556 | label_report_plural: Reports | |
557 | label_news: News |
|
557 | label_news: News | |
558 | label_news_new: Add news |
|
558 | label_news_new: Add news | |
559 | label_news_plural: News |
|
559 | label_news_plural: News | |
560 | label_news_latest: Latest news |
|
560 | label_news_latest: Latest news | |
561 | label_news_view_all: View all news |
|
561 | label_news_view_all: View all news | |
562 | label_news_added: News added |
|
562 | label_news_added: News added | |
563 | label_news_comment_added: Comment added to a news |
|
563 | label_news_comment_added: Comment added to a news | |
564 | label_settings: Settings |
|
564 | label_settings: Settings | |
565 | label_overview: Overview |
|
565 | label_overview: Overview | |
566 | label_version: Version |
|
566 | label_version: Version | |
567 | label_version_new: New version |
|
567 | label_version_new: New version | |
568 | label_version_plural: Versions |
|
568 | label_version_plural: Versions | |
569 | label_close_versions: Close completed versions |
|
569 | label_close_versions: Close completed versions | |
570 | label_confirmation: Confirmation |
|
570 | label_confirmation: Confirmation | |
571 | label_export_to: 'Also available in:' |
|
571 | label_export_to: 'Also available in:' | |
572 | label_read: Read... |
|
572 | label_read: Read... | |
573 | label_public_projects: Public projects |
|
573 | label_public_projects: Public projects | |
574 | label_open_issues: open |
|
574 | label_open_issues: open | |
575 | label_open_issues_plural: open |
|
575 | label_open_issues_plural: open | |
576 | label_closed_issues: closed |
|
576 | label_closed_issues: closed | |
577 | label_closed_issues_plural: closed |
|
577 | label_closed_issues_plural: closed | |
578 | label_x_open_issues_abbr_on_total: |
|
578 | label_x_open_issues_abbr_on_total: | |
579 | zero: 0 open / %{total} |
|
579 | zero: 0 open / %{total} | |
580 | one: 1 open / %{total} |
|
580 | one: 1 open / %{total} | |
581 | other: "%{count} open / %{total}" |
|
581 | other: "%{count} open / %{total}" | |
582 | label_x_open_issues_abbr: |
|
582 | label_x_open_issues_abbr: | |
583 | zero: 0 open |
|
583 | zero: 0 open | |
584 | one: 1 open |
|
584 | one: 1 open | |
585 | other: "%{count} open" |
|
585 | other: "%{count} open" | |
586 | label_x_closed_issues_abbr: |
|
586 | label_x_closed_issues_abbr: | |
587 | zero: 0 closed |
|
587 | zero: 0 closed | |
588 | one: 1 closed |
|
588 | one: 1 closed | |
589 | other: "%{count} closed" |
|
589 | other: "%{count} closed" | |
590 | label_x_issues: |
|
590 | label_x_issues: | |
591 | zero: 0 issues |
|
591 | zero: 0 issues | |
592 | one: 1 issue |
|
592 | one: 1 issue | |
593 | other: "%{count} issues" |
|
593 | other: "%{count} issues" | |
594 | label_total: Total |
|
594 | label_total: Total | |
595 | label_permissions: Permissions |
|
595 | label_permissions: Permissions | |
596 | label_current_status: Current status |
|
596 | label_current_status: Current status | |
597 | label_new_statuses_allowed: New statuses allowed |
|
597 | label_new_statuses_allowed: New statuses allowed | |
598 | label_all: all |
|
598 | label_all: all | |
599 | label_none: none |
|
599 | label_none: none | |
600 | label_nobody: nobody |
|
600 | label_nobody: nobody | |
601 | label_next: Next |
|
601 | label_next: Next | |
602 | label_previous: Previous |
|
602 | label_previous: Previous | |
603 | label_used_by: Used by |
|
603 | label_used_by: Used by | |
604 | label_details: Details |
|
604 | label_details: Details | |
605 | label_add_note: Add a note |
|
605 | label_add_note: Add a note | |
606 | label_per_page: Per page |
|
606 | label_per_page: Per page | |
607 | label_calendar: Calendar |
|
607 | label_calendar: Calendar | |
608 | label_months_from: months from |
|
608 | label_months_from: months from | |
609 | label_gantt: Gantt |
|
609 | label_gantt: Gantt | |
610 | label_internal: Internal |
|
610 | label_internal: Internal | |
611 | label_last_changes: "last %{count} changes" |
|
611 | label_last_changes: "last %{count} changes" | |
612 | label_change_view_all: View all changes |
|
612 | label_change_view_all: View all changes | |
613 | label_personalize_page: Personalize this page |
|
613 | label_personalize_page: Personalize this page | |
614 | label_comment: Comment |
|
614 | label_comment: Comment | |
615 | label_comment_plural: Comments |
|
615 | label_comment_plural: Comments | |
616 | label_x_comments: |
|
616 | label_x_comments: | |
617 | zero: no comments |
|
617 | zero: no comments | |
618 | one: 1 comment |
|
618 | one: 1 comment | |
619 | other: "%{count} comments" |
|
619 | other: "%{count} comments" | |
620 | label_comment_add: Add a comment |
|
620 | label_comment_add: Add a comment | |
621 | label_comment_added: Comment added |
|
621 | label_comment_added: Comment added | |
622 | label_comment_delete: Delete comments |
|
622 | label_comment_delete: Delete comments | |
623 | label_query: Custom query |
|
623 | label_query: Custom query | |
624 | label_query_plural: Custom queries |
|
624 | label_query_plural: Custom queries | |
625 | label_query_new: New query |
|
625 | label_query_new: New query | |
626 | label_my_queries: My custom queries |
|
626 | label_my_queries: My custom queries | |
627 | label_filter_add: Add filter |
|
627 | label_filter_add: Add filter | |
628 | label_filter_plural: Filters |
|
628 | label_filter_plural: Filters | |
629 | label_equals: is |
|
629 | label_equals: is | |
630 | label_not_equals: is not |
|
630 | label_not_equals: is not | |
631 | label_in_less_than: in less than |
|
631 | label_in_less_than: in less than | |
632 | label_in_more_than: in more than |
|
632 | label_in_more_than: in more than | |
633 | label_greater_or_equal: '>=' |
|
633 | label_greater_or_equal: '>=' | |
634 | label_less_or_equal: '<=' |
|
634 | label_less_or_equal: '<=' | |
635 | label_between: between |
|
635 | label_between: between | |
636 | label_in: in |
|
636 | label_in: in | |
637 | label_today: today |
|
637 | label_today: today | |
638 | label_all_time: all time |
|
638 | label_all_time: all time | |
639 | label_yesterday: yesterday |
|
639 | label_yesterday: yesterday | |
640 | label_this_week: this week |
|
640 | label_this_week: this week | |
641 | label_last_week: last week |
|
641 | label_last_week: last week | |
642 | label_last_n_days: "last %{count} days" |
|
642 | label_last_n_days: "last %{count} days" | |
643 | label_this_month: this month |
|
643 | label_this_month: this month | |
644 | label_last_month: last month |
|
644 | label_last_month: last month | |
645 | label_this_year: this year |
|
645 | label_this_year: this year | |
646 | label_date_range: Date range |
|
646 | label_date_range: Date range | |
647 | label_less_than_ago: less than days ago |
|
647 | label_less_than_ago: less than days ago | |
648 | label_more_than_ago: more than days ago |
|
648 | label_more_than_ago: more than days ago | |
649 | label_ago: days ago |
|
649 | label_ago: days ago | |
650 | label_contains: contains |
|
650 | label_contains: contains | |
651 | label_not_contains: doesn't contain |
|
651 | label_not_contains: doesn't contain | |
652 | label_day_plural: days |
|
652 | label_day_plural: days | |
653 | label_repository: Repository |
|
653 | label_repository: Repository | |
654 | label_repository_new: New repository |
|
654 | label_repository_new: New repository | |
655 | label_repository_plural: Repositories |
|
655 | label_repository_plural: Repositories | |
656 | label_browse: Browse |
|
656 | label_browse: Browse | |
657 | label_modification: "%{count} change" |
|
657 | label_modification: "%{count} change" | |
658 | label_modification_plural: "%{count} changes" |
|
658 | label_modification_plural: "%{count} changes" | |
659 | label_branch: Branch |
|
659 | label_branch: Branch | |
660 | label_tag: Tag |
|
660 | label_tag: Tag | |
661 | label_revision: Revision |
|
661 | label_revision: Revision | |
662 | label_revision_plural: Revisions |
|
662 | label_revision_plural: Revisions | |
663 | label_revision_id: "Revision %{value}" |
|
663 | label_revision_id: "Revision %{value}" | |
664 | label_associated_revisions: Associated revisions |
|
664 | label_associated_revisions: Associated revisions | |
665 | label_added: added |
|
665 | label_added: added | |
666 | label_modified: modified |
|
666 | label_modified: modified | |
667 | label_copied: copied |
|
667 | label_copied: copied | |
668 | label_renamed: renamed |
|
668 | label_renamed: renamed | |
669 | label_deleted: deleted |
|
669 | label_deleted: deleted | |
670 | label_latest_revision: Latest revision |
|
670 | label_latest_revision: Latest revision | |
671 | label_latest_revision_plural: Latest revisions |
|
671 | label_latest_revision_plural: Latest revisions | |
672 | label_view_revisions: View revisions |
|
672 | label_view_revisions: View revisions | |
673 | label_view_all_revisions: View all revisions |
|
673 | label_view_all_revisions: View all revisions | |
674 | label_max_size: Maximum size |
|
674 | label_max_size: Maximum size | |
675 | label_sort_highest: Move to top |
|
675 | label_sort_highest: Move to top | |
676 | label_sort_higher: Move up |
|
676 | label_sort_higher: Move up | |
677 | label_sort_lower: Move down |
|
677 | label_sort_lower: Move down | |
678 | label_sort_lowest: Move to bottom |
|
678 | label_sort_lowest: Move to bottom | |
679 | label_roadmap: Roadmap |
|
679 | label_roadmap: Roadmap | |
680 | label_roadmap_due_in: "Due in %{value}" |
|
680 | label_roadmap_due_in: "Due in %{value}" | |
681 | label_roadmap_overdue: "%{value} late" |
|
681 | label_roadmap_overdue: "%{value} late" | |
682 | label_roadmap_no_issues: No issues for this version |
|
682 | label_roadmap_no_issues: No issues for this version | |
683 | label_search: Search |
|
683 | label_search: Search | |
684 | label_result_plural: Results |
|
684 | label_result_plural: Results | |
685 | label_all_words: All words |
|
685 | label_all_words: All words | |
686 | label_wiki: Wiki |
|
686 | label_wiki: Wiki | |
687 | label_wiki_edit: Wiki edit |
|
687 | label_wiki_edit: Wiki edit | |
688 | label_wiki_edit_plural: Wiki edits |
|
688 | label_wiki_edit_plural: Wiki edits | |
689 | label_wiki_page: Wiki page |
|
689 | label_wiki_page: Wiki page | |
690 | label_wiki_page_plural: Wiki pages |
|
690 | label_wiki_page_plural: Wiki pages | |
691 | label_index_by_title: Index by title |
|
691 | label_index_by_title: Index by title | |
692 | label_index_by_date: Index by date |
|
692 | label_index_by_date: Index by date | |
693 | label_current_version: Current version |
|
693 | label_current_version: Current version | |
694 | label_preview: Preview |
|
694 | label_preview: Preview | |
695 | label_feed_plural: Feeds |
|
695 | label_feed_plural: Feeds | |
696 | label_changes_details: Details of all changes |
|
696 | label_changes_details: Details of all changes | |
697 | label_issue_tracking: Issue tracking |
|
697 | label_issue_tracking: Issue tracking | |
698 | label_spent_time: Spent time |
|
698 | label_spent_time: Spent time | |
699 | label_overall_spent_time: Overall spent time |
|
699 | label_overall_spent_time: Overall spent time | |
700 | label_f_hour: "%{value} hour" |
|
700 | label_f_hour: "%{value} hour" | |
701 | label_f_hour_plural: "%{value} hours" |
|
701 | label_f_hour_plural: "%{value} hours" | |
702 | label_time_tracking: Time tracking |
|
702 | label_time_tracking: Time tracking | |
703 | label_change_plural: Changes |
|
703 | label_change_plural: Changes | |
704 | label_statistics: Statistics |
|
704 | label_statistics: Statistics | |
705 | label_commits_per_month: Commits per month |
|
705 | label_commits_per_month: Commits per month | |
706 | label_commits_per_author: Commits per author |
|
706 | label_commits_per_author: Commits per author | |
707 | label_diff: diff |
|
707 | label_diff: diff | |
708 | label_view_diff: View differences |
|
708 | label_view_diff: View differences | |
709 | label_diff_inline: inline |
|
709 | label_diff_inline: inline | |
710 | label_diff_side_by_side: side by side |
|
710 | label_diff_side_by_side: side by side | |
711 | label_options: Options |
|
711 | label_options: Options | |
712 | label_copy_workflow_from: Copy workflow from |
|
712 | label_copy_workflow_from: Copy workflow from | |
713 | label_permissions_report: Permissions report |
|
713 | label_permissions_report: Permissions report | |
714 | label_watched_issues: Watched issues |
|
714 | label_watched_issues: Watched issues | |
715 | label_related_issues: Related issues |
|
715 | label_related_issues: Related issues | |
716 | label_applied_status: Applied status |
|
716 | label_applied_status: Applied status | |
717 | label_loading: Loading... |
|
717 | label_loading: Loading... | |
718 | label_relation_new: New relation |
|
718 | label_relation_new: New relation | |
719 | label_relation_delete: Delete relation |
|
719 | label_relation_delete: Delete relation | |
720 | label_relates_to: related to |
|
720 | label_relates_to: related to | |
721 | label_duplicates: duplicates |
|
721 | label_duplicates: duplicates | |
722 | label_duplicated_by: duplicated by |
|
722 | label_duplicated_by: duplicated by | |
723 | label_blocks: blocks |
|
723 | label_blocks: blocks | |
724 | label_blocked_by: blocked by |
|
724 | label_blocked_by: blocked by | |
725 | label_precedes: precedes |
|
725 | label_precedes: precedes | |
726 | label_follows: follows |
|
726 | label_follows: follows | |
727 | label_end_to_start: end to start |
|
727 | label_end_to_start: end to start | |
728 | label_end_to_end: end to end |
|
728 | label_end_to_end: end to end | |
729 | label_start_to_start: start to start |
|
729 | label_start_to_start: start to start | |
730 | label_start_to_end: start to end |
|
730 | label_start_to_end: start to end | |
731 | label_stay_logged_in: Stay logged in |
|
731 | label_stay_logged_in: Stay logged in | |
732 | label_disabled: disabled |
|
732 | label_disabled: disabled | |
733 | label_show_completed_versions: Show completed versions |
|
733 | label_show_completed_versions: Show completed versions | |
734 | label_me: me |
|
734 | label_me: me | |
735 | label_board: Forum |
|
735 | label_board: Forum | |
736 | label_board_new: New forum |
|
736 | label_board_new: New forum | |
737 | label_board_plural: Forums |
|
737 | label_board_plural: Forums | |
738 | label_board_locked: Locked |
|
738 | label_board_locked: Locked | |
739 | label_board_sticky: Sticky |
|
739 | label_board_sticky: Sticky | |
740 | label_topic_plural: Topics |
|
740 | label_topic_plural: Topics | |
741 | label_message_plural: Messages |
|
741 | label_message_plural: Messages | |
742 | label_message_last: Last message |
|
742 | label_message_last: Last message | |
743 | label_message_new: New message |
|
743 | label_message_new: New message | |
744 | label_message_posted: Message added |
|
744 | label_message_posted: Message added | |
745 | label_reply_plural: Replies |
|
745 | label_reply_plural: Replies | |
746 | label_send_information: Send account information to the user |
|
746 | label_send_information: Send account information to the user | |
747 | label_year: Year |
|
747 | label_year: Year | |
748 | label_month: Month |
|
748 | label_month: Month | |
749 | label_week: Week |
|
749 | label_week: Week | |
750 | label_date_from: From |
|
750 | label_date_from: From | |
751 | label_date_to: To |
|
751 | label_date_to: To | |
752 | label_language_based: Based on user's language |
|
752 | label_language_based: Based on user's language | |
753 | label_sort_by: "Sort by %{value}" |
|
753 | label_sort_by: "Sort by %{value}" | |
754 | label_send_test_email: Send a test email |
|
754 | label_send_test_email: Send a test email | |
755 | label_feeds_access_key: RSS access key |
|
755 | label_feeds_access_key: RSS access key | |
756 | label_missing_feeds_access_key: Missing a RSS access key |
|
756 | label_missing_feeds_access_key: Missing a RSS access key | |
757 | label_feeds_access_key_created_on: "RSS access key created %{value} ago" |
|
757 | label_feeds_access_key_created_on: "RSS access key created %{value} ago" | |
758 | label_module_plural: Modules |
|
758 | label_module_plural: Modules | |
759 | label_added_time_by: "Added by %{author} %{age} ago" |
|
759 | label_added_time_by: "Added by %{author} %{age} ago" | |
760 | label_updated_time_by: "Updated by %{author} %{age} ago" |
|
760 | label_updated_time_by: "Updated by %{author} %{age} ago" | |
761 | label_updated_time: "Updated %{value} ago" |
|
761 | label_updated_time: "Updated %{value} ago" | |
762 | label_jump_to_a_project: Jump to a project... |
|
762 | label_jump_to_a_project: Jump to a project... | |
763 | label_file_plural: Files |
|
763 | label_file_plural: Files | |
764 | label_changeset_plural: Changesets |
|
764 | label_changeset_plural: Changesets | |
765 | label_default_columns: Default columns |
|
765 | label_default_columns: Default columns | |
766 | label_no_change_option: (No change) |
|
766 | label_no_change_option: (No change) | |
767 | label_bulk_edit_selected_issues: Bulk edit selected issues |
|
767 | label_bulk_edit_selected_issues: Bulk edit selected issues | |
768 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries |
|
768 | label_bulk_edit_selected_time_entries: Bulk edit selected time entries | |
769 | label_theme: Theme |
|
769 | label_theme: Theme | |
770 | label_default: Default |
|
770 | label_default: Default | |
771 | label_search_titles_only: Search titles only |
|
771 | label_search_titles_only: Search titles only | |
772 | label_user_mail_option_all: "For any event on all my projects" |
|
772 | label_user_mail_option_all: "For any event on all my projects" | |
773 | label_user_mail_option_selected: "For any event on the selected projects only..." |
|
773 | label_user_mail_option_selected: "For any event on the selected projects only..." | |
774 | label_user_mail_option_none: "No events" |
|
774 | label_user_mail_option_none: "No events" | |
775 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" |
|
775 | label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in" | |
776 | label_user_mail_option_only_assigned: "Only for things I am assigned to" |
|
776 | label_user_mail_option_only_assigned: "Only for things I am assigned to" | |
777 | label_user_mail_option_only_owner: "Only for things I am the owner of" |
|
777 | label_user_mail_option_only_owner: "Only for things I am the owner of" | |
778 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" |
|
778 | label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself" | |
779 | label_registration_activation_by_email: account activation by email |
|
779 | label_registration_activation_by_email: account activation by email | |
780 | label_registration_manual_activation: manual account activation |
|
780 | label_registration_manual_activation: manual account activation | |
781 | label_registration_automatic_activation: automatic account activation |
|
781 | label_registration_automatic_activation: automatic account activation | |
782 | label_display_per_page: "Per page: %{value}" |
|
782 | label_display_per_page: "Per page: %{value}" | |
783 | label_age: Age |
|
783 | label_age: Age | |
784 | label_change_properties: Change properties |
|
784 | label_change_properties: Change properties | |
785 | label_general: General |
|
785 | label_general: General | |
786 | label_more: More |
|
786 | label_more: More | |
787 | label_scm: SCM |
|
787 | label_scm: SCM | |
788 | label_plugins: Plugins |
|
788 | label_plugins: Plugins | |
789 | label_ldap_authentication: LDAP authentication |
|
789 | label_ldap_authentication: LDAP authentication | |
790 | label_downloads_abbr: D/L |
|
790 | label_downloads_abbr: D/L | |
791 | label_optional_description: Optional description |
|
791 | label_optional_description: Optional description | |
792 | label_add_another_file: Add another file |
|
792 | label_add_another_file: Add another file | |
793 | label_preferences: Preferences |
|
793 | label_preferences: Preferences | |
794 | label_chronological_order: In chronological order |
|
794 | label_chronological_order: In chronological order | |
795 | label_reverse_chronological_order: In reverse chronological order |
|
795 | label_reverse_chronological_order: In reverse chronological order | |
796 | label_planning: Planning |
|
796 | label_planning: Planning | |
797 | label_incoming_emails: Incoming emails |
|
797 | label_incoming_emails: Incoming emails | |
798 | label_generate_key: Generate a key |
|
798 | label_generate_key: Generate a key | |
799 | label_issue_watchers: Watchers |
|
799 | label_issue_watchers: Watchers | |
800 | label_example: Example |
|
800 | label_example: Example | |
801 | label_display: Display |
|
801 | label_display: Display | |
802 | label_sort: Sort |
|
802 | label_sort: Sort | |
803 | label_ascending: Ascending |
|
803 | label_ascending: Ascending | |
804 | label_descending: Descending |
|
804 | label_descending: Descending | |
805 | label_date_from_to: From %{start} to %{end} |
|
805 | label_date_from_to: From %{start} to %{end} | |
806 | label_wiki_content_added: Wiki page added |
|
806 | label_wiki_content_added: Wiki page added | |
807 | label_wiki_content_updated: Wiki page updated |
|
807 | label_wiki_content_updated: Wiki page updated | |
808 | label_group: Group |
|
808 | label_group: Group | |
809 | label_group_plural: Groups |
|
809 | label_group_plural: Groups | |
810 | label_group_new: New group |
|
810 | label_group_new: New group | |
811 | label_time_entry_plural: Spent time |
|
811 | label_time_entry_plural: Spent time | |
812 | label_version_sharing_none: Not shared |
|
812 | label_version_sharing_none: Not shared | |
813 | label_version_sharing_descendants: With subprojects |
|
813 | label_version_sharing_descendants: With subprojects | |
814 | label_version_sharing_hierarchy: With project hierarchy |
|
814 | label_version_sharing_hierarchy: With project hierarchy | |
815 | label_version_sharing_tree: With project tree |
|
815 | label_version_sharing_tree: With project tree | |
816 | label_version_sharing_system: With all projects |
|
816 | label_version_sharing_system: With all projects | |
817 | label_update_issue_done_ratios: Update issue done ratios |
|
817 | label_update_issue_done_ratios: Update issue done ratios | |
818 | label_copy_source: Source |
|
818 | label_copy_source: Source | |
819 | label_copy_target: Target |
|
819 | label_copy_target: Target | |
820 | label_copy_same_as_target: Same as target |
|
820 | label_copy_same_as_target: Same as target | |
821 | label_display_used_statuses_only: Only display statuses that are used by this tracker |
|
821 | label_display_used_statuses_only: Only display statuses that are used by this tracker | |
822 | label_api_access_key: API access key |
|
822 | label_api_access_key: API access key | |
823 | label_missing_api_access_key: Missing an API access key |
|
823 | label_missing_api_access_key: Missing an API access key | |
824 | label_api_access_key_created_on: "API access key created %{value} ago" |
|
824 | label_api_access_key_created_on: "API access key created %{value} ago" | |
825 | label_profile: Profile |
|
825 | label_profile: Profile | |
826 | label_subtask_plural: Subtasks |
|
826 | label_subtask_plural: Subtasks | |
827 | label_project_copy_notifications: Send email notifications during the project copy |
|
827 | label_project_copy_notifications: Send email notifications during the project copy | |
828 | label_principal_search: "Search for user or group:" |
|
828 | label_principal_search: "Search for user or group:" | |
829 | label_user_search: "Search for user:" |
|
829 | label_user_search: "Search for user:" | |
830 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author |
|
830 | label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author | |
831 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee |
|
831 | label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee | |
832 | label_issues_visibility_all: All issues |
|
832 | label_issues_visibility_all: All issues | |
833 | label_issues_visibility_public: All non private issues |
|
833 | label_issues_visibility_public: All non private issues | |
834 | label_issues_visibility_own: Issues created by or assigned to the user |
|
834 | label_issues_visibility_own: Issues created by or assigned to the user | |
835 | label_git_report_last_commit: Report last commit for files and directories |
|
835 | label_git_report_last_commit: Report last commit for files and directories | |
836 | label_parent_revision: Parent |
|
836 | label_parent_revision: Parent | |
837 | label_child_revision: Child |
|
837 | label_child_revision: Child | |
838 | label_export_options: "%{export_format} export options" |
|
838 | label_export_options: "%{export_format} export options" | |
839 | label_copy_attachments: Copy attachments |
|
839 | label_copy_attachments: Copy attachments | |
840 | label_item_position: %{position} of %{count} |
|
840 | label_item_position: %{position} of %{count} | |
841 | label_completed_versions: Completed versions |
|
841 | label_completed_versions: Completed versions | |
842 |
|
842 | |||
843 | button_login: Login |
|
843 | button_login: Login | |
844 | button_submit: Submit |
|
844 | button_submit: Submit | |
845 | button_save: Save |
|
845 | button_save: Save | |
846 | button_check_all: Check all |
|
846 | button_check_all: Check all | |
847 | button_uncheck_all: Uncheck all |
|
847 | button_uncheck_all: Uncheck all | |
848 | button_collapse_all: Collapse all |
|
848 | button_collapse_all: Collapse all | |
849 | button_expand_all: Expand all |
|
849 | button_expand_all: Expand all | |
850 | button_delete: Delete |
|
850 | button_delete: Delete | |
851 | button_create: Create |
|
851 | button_create: Create | |
852 | button_create_and_continue: Create and continue |
|
852 | button_create_and_continue: Create and continue | |
853 | button_test: Test |
|
853 | button_test: Test | |
854 | button_edit: Edit |
|
854 | button_edit: Edit | |
855 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" |
|
855 | button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}" | |
856 | button_add: Add |
|
856 | button_add: Add | |
857 | button_change: Change |
|
857 | button_change: Change | |
858 | button_apply: Apply |
|
858 | button_apply: Apply | |
859 | button_clear: Clear |
|
859 | button_clear: Clear | |
860 | button_lock: Lock |
|
860 | button_lock: Lock | |
861 | button_unlock: Unlock |
|
861 | button_unlock: Unlock | |
862 | button_download: Download |
|
862 | button_download: Download | |
863 | button_list: List |
|
863 | button_list: List | |
864 | button_view: View |
|
864 | button_view: View | |
865 | button_move: Move |
|
865 | button_move: Move | |
866 | button_move_and_follow: Move and follow |
|
866 | button_move_and_follow: Move and follow | |
867 | button_back: Back |
|
867 | button_back: Back | |
868 | button_cancel: Cancel |
|
868 | button_cancel: Cancel | |
869 | button_activate: Activate |
|
869 | button_activate: Activate | |
870 | button_sort: Sort |
|
870 | button_sort: Sort | |
871 | button_log_time: Log time |
|
871 | button_log_time: Log time | |
872 | button_rollback: Rollback to this version |
|
872 | button_rollback: Rollback to this version | |
873 | button_watch: Watch |
|
873 | button_watch: Watch | |
874 | button_unwatch: Unwatch |
|
874 | button_unwatch: Unwatch | |
875 | button_reply: Reply |
|
875 | button_reply: Reply | |
876 | button_archive: Archive |
|
876 | button_archive: Archive | |
877 | button_unarchive: Unarchive |
|
877 | button_unarchive: Unarchive | |
878 | button_reset: Reset |
|
878 | button_reset: Reset | |
879 | button_rename: Rename |
|
879 | button_rename: Rename | |
880 | button_change_password: Change password |
|
880 | button_change_password: Change password | |
881 | button_copy: Copy |
|
881 | button_copy: Copy | |
882 | button_copy_and_follow: Copy and follow |
|
882 | button_copy_and_follow: Copy and follow | |
883 | button_annotate: Annotate |
|
883 | button_annotate: Annotate | |
884 | button_update: Update |
|
884 | button_update: Update | |
885 | button_configure: Configure |
|
885 | button_configure: Configure | |
886 | button_quote: Quote |
|
886 | button_quote: Quote | |
887 | button_duplicate: Duplicate |
|
887 | button_duplicate: Duplicate | |
888 | button_show: Show |
|
888 | button_show: Show | |
889 | button_edit_section: Edit this section |
|
889 | button_edit_section: Edit this section | |
890 | button_export: Export |
|
890 | button_export: Export | |
891 |
|
891 | |||
892 | status_active: active |
|
892 | status_active: active | |
893 | status_registered: registered |
|
893 | status_registered: registered | |
894 | status_locked: locked |
|
894 | status_locked: locked | |
895 |
|
895 | |||
896 | version_status_open: open |
|
896 | version_status_open: open | |
897 | version_status_locked: locked |
|
897 | version_status_locked: locked | |
898 | version_status_closed: closed |
|
898 | version_status_closed: closed | |
899 |
|
899 | |||
900 | field_active: Active |
|
900 | field_active: Active | |
901 |
|
901 | |||
902 | text_select_mail_notifications: Select actions for which email notifications should be sent. |
|
902 | text_select_mail_notifications: Select actions for which email notifications should be sent. | |
903 | text_regexp_info: eg. ^[A-Z0-9]+$ |
|
903 | text_regexp_info: eg. ^[A-Z0-9]+$ | |
904 | text_min_max_length_info: 0 means no restriction |
|
904 | text_min_max_length_info: 0 means no restriction | |
905 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? |
|
905 | text_project_destroy_confirmation: Are you sure you want to delete this project and related data? | |
906 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." |
|
906 | text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted." | |
907 | text_workflow_edit: Select a role and a tracker to edit the workflow |
|
907 | text_workflow_edit: Select a role and a tracker to edit the workflow | |
908 | text_are_you_sure: Are you sure? |
|
908 | text_are_you_sure: Are you sure? | |
909 | text_are_you_sure_with_children: "Delete issue and all child issues?" |
|
909 | text_are_you_sure_with_children: "Delete issue and all child issues?" | |
910 | text_journal_changed: "%{label} changed from %{old} to %{new}" |
|
910 | text_journal_changed: "%{label} changed from %{old} to %{new}" | |
911 | text_journal_changed_no_detail: "%{label} updated" |
|
911 | text_journal_changed_no_detail: "%{label} updated" | |
912 | text_journal_set_to: "%{label} set to %{value}" |
|
912 | text_journal_set_to: "%{label} set to %{value}" | |
913 | text_journal_deleted: "%{label} deleted (%{old})" |
|
913 | text_journal_deleted: "%{label} deleted (%{old})" | |
914 | text_journal_added: "%{label} %{value} added" |
|
914 | text_journal_added: "%{label} %{value} added" | |
915 | text_tip_issue_begin_day: issue beginning this day |
|
915 | text_tip_issue_begin_day: issue beginning this day | |
916 | text_tip_issue_end_day: issue ending this day |
|
916 | text_tip_issue_end_day: issue ending this day | |
917 | text_tip_issue_begin_end_day: issue beginning and ending this day |
|
917 | text_tip_issue_begin_end_day: issue beginning and ending this day | |
918 |
text_project_identifier_info: 'Only lower case letters (a-z), numbers and |
|
918 | text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.' | |
919 | text_caracters_maximum: "%{count} characters maximum." |
|
919 | text_caracters_maximum: "%{count} characters maximum." | |
920 | text_caracters_minimum: "Must be at least %{count} characters long." |
|
920 | text_caracters_minimum: "Must be at least %{count} characters long." | |
921 | text_length_between: "Length between %{min} and %{max} characters." |
|
921 | text_length_between: "Length between %{min} and %{max} characters." | |
922 | text_tracker_no_workflow: No workflow defined for this tracker |
|
922 | text_tracker_no_workflow: No workflow defined for this tracker | |
923 | text_unallowed_characters: Unallowed characters |
|
923 | text_unallowed_characters: Unallowed characters | |
924 | text_comma_separated: Multiple values allowed (comma separated). |
|
924 | text_comma_separated: Multiple values allowed (comma separated). | |
925 | text_line_separated: Multiple values allowed (one line for each value). |
|
925 | text_line_separated: Multiple values allowed (one line for each value). | |
926 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages |
|
926 | text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages | |
927 | text_issue_added: "Issue %{id} has been reported by %{author}." |
|
927 | text_issue_added: "Issue %{id} has been reported by %{author}." | |
928 | text_issue_updated: "Issue %{id} has been updated by %{author}." |
|
928 | text_issue_updated: "Issue %{id} has been updated by %{author}." | |
929 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? |
|
929 | text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content? | |
930 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" |
|
930 | text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?" | |
931 | text_issue_category_destroy_assignments: Remove category assignments |
|
931 | text_issue_category_destroy_assignments: Remove category assignments | |
932 | text_issue_category_reassign_to: Reassign issues to this category |
|
932 | text_issue_category_reassign_to: Reassign issues to this category | |
933 | 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)." |
|
933 | 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)." | |
934 | 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." |
|
934 | 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." | |
935 | text_load_default_configuration: Load the default configuration |
|
935 | text_load_default_configuration: Load the default configuration | |
936 | text_status_changed_by_changeset: "Applied in changeset %{value}." |
|
936 | text_status_changed_by_changeset: "Applied in changeset %{value}." | |
937 | text_time_logged_by_changeset: "Applied in changeset %{value}." |
|
937 | text_time_logged_by_changeset: "Applied in changeset %{value}." | |
938 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' |
|
938 | text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?' | |
939 | text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)." |
|
939 | text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)." | |
940 | text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?' |
|
940 | text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?' | |
941 | text_select_project_modules: 'Select modules to enable for this project:' |
|
941 | text_select_project_modules: 'Select modules to enable for this project:' | |
942 | text_default_administrator_account_changed: Default administrator account changed |
|
942 | text_default_administrator_account_changed: Default administrator account changed | |
943 | text_file_repository_writable: Attachments directory writable |
|
943 | text_file_repository_writable: Attachments directory writable | |
944 | text_plugin_assets_writable: Plugin assets directory writable |
|
944 | text_plugin_assets_writable: Plugin assets directory writable | |
945 | text_rmagick_available: RMagick available (optional) |
|
945 | text_rmagick_available: RMagick available (optional) | |
946 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" |
|
946 | text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" | |
947 | text_destroy_time_entries: Delete reported hours |
|
947 | text_destroy_time_entries: Delete reported hours | |
948 | text_assign_time_entries_to_project: Assign reported hours to the project |
|
948 | text_assign_time_entries_to_project: Assign reported hours to the project | |
949 | text_reassign_time_entries: 'Reassign reported hours to this issue:' |
|
949 | text_reassign_time_entries: 'Reassign reported hours to this issue:' | |
950 | text_user_wrote: "%{value} wrote:" |
|
950 | text_user_wrote: "%{value} wrote:" | |
951 | text_enumeration_destroy_question: "%{count} objects are assigned to this value." |
|
951 | text_enumeration_destroy_question: "%{count} objects are assigned to this value." | |
952 | text_enumeration_category_reassign_to: 'Reassign them to this value:' |
|
952 | text_enumeration_category_reassign_to: 'Reassign them to this value:' | |
953 | 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." |
|
953 | 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." | |
954 | 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." |
|
954 | 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." | |
955 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' |
|
955 | text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.' | |
956 | text_custom_field_possible_values_info: 'One line for each value' |
|
956 | text_custom_field_possible_values_info: 'One line for each value' | |
957 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" |
|
957 | text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?" | |
958 | text_wiki_page_nullify_children: "Keep child pages as root pages" |
|
958 | text_wiki_page_nullify_children: "Keep child pages as root pages" | |
959 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" |
|
959 | text_wiki_page_destroy_children: "Delete child pages and all their descendants" | |
960 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" |
|
960 | text_wiki_page_reassign_children: "Reassign child pages to this parent page" | |
961 | 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?" |
|
961 | 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?" | |
962 | text_zoom_in: Zoom in |
|
962 | text_zoom_in: Zoom in | |
963 | text_zoom_out: Zoom out |
|
963 | text_zoom_out: Zoom out | |
964 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." |
|
964 | text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page." | |
965 | text_scm_path_encoding_note: "Default: UTF-8" |
|
965 | text_scm_path_encoding_note: "Default: UTF-8" | |
966 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
966 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) | |
967 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) |
|
967 | text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo) | |
968 | text_scm_command: Command |
|
968 | text_scm_command: Command | |
969 | text_scm_command_version: Version |
|
969 | text_scm_command_version: Version | |
970 | text_scm_config: You can configure your scm commands in config/configuration.yml. Please restart the application after editing it. |
|
970 | text_scm_config: You can configure your scm commands in config/configuration.yml. Please restart the application after editing it. | |
971 | text_scm_command_not_available: Scm command is not available. Please check settings on the administration panel. |
|
971 | text_scm_command_not_available: Scm command is not available. Please check settings on the administration panel. | |
972 |
|
972 | |||
973 | default_role_manager: Manager |
|
973 | default_role_manager: Manager | |
974 | default_role_developer: Developer |
|
974 | default_role_developer: Developer | |
975 | default_role_reporter: Reporter |
|
975 | default_role_reporter: Reporter | |
976 | default_tracker_bug: Bug |
|
976 | default_tracker_bug: Bug | |
977 | default_tracker_feature: Feature |
|
977 | default_tracker_feature: Feature | |
978 | default_tracker_support: Support |
|
978 | default_tracker_support: Support | |
979 | default_issue_status_new: New |
|
979 | default_issue_status_new: New | |
980 | default_issue_status_in_progress: In Progress |
|
980 | default_issue_status_in_progress: In Progress | |
981 | default_issue_status_resolved: Resolved |
|
981 | default_issue_status_resolved: Resolved | |
982 | default_issue_status_feedback: Feedback |
|
982 | default_issue_status_feedback: Feedback | |
983 | default_issue_status_closed: Closed |
|
983 | default_issue_status_closed: Closed | |
984 | default_issue_status_rejected: Rejected |
|
984 | default_issue_status_rejected: Rejected | |
985 | default_doc_category_user: User documentation |
|
985 | default_doc_category_user: User documentation | |
986 | default_doc_category_tech: Technical documentation |
|
986 | default_doc_category_tech: Technical documentation | |
987 | default_priority_low: Low |
|
987 | default_priority_low: Low | |
988 | default_priority_normal: Normal |
|
988 | default_priority_normal: Normal | |
989 | default_priority_high: High |
|
989 | default_priority_high: High | |
990 | default_priority_urgent: Urgent |
|
990 | default_priority_urgent: Urgent | |
991 | default_priority_immediate: Immediate |
|
991 | default_priority_immediate: Immediate | |
992 | default_activity_design: Design |
|
992 | default_activity_design: Design | |
993 | default_activity_development: Development |
|
993 | default_activity_development: Development | |
994 |
|
994 | |||
995 | enumeration_issue_priorities: Issue priorities |
|
995 | enumeration_issue_priorities: Issue priorities | |
996 | enumeration_doc_categories: Document categories |
|
996 | enumeration_doc_categories: Document categories | |
997 | enumeration_activities: Activities (time tracking) |
|
997 | enumeration_activities: Activities (time tracking) | |
998 | enumeration_system_activity: System Activity |
|
998 | enumeration_system_activity: System Activity | |
999 | description_filter: Filter |
|
999 | description_filter: Filter | |
1000 | description_search: Searchfield |
|
1000 | description_search: Searchfield | |
1001 | description_choose_project: Projects |
|
1001 | description_choose_project: Projects | |
1002 | description_project_scope: Search scope |
|
1002 | description_project_scope: Search scope | |
1003 | description_notes: Notes |
|
1003 | description_notes: Notes | |
1004 | description_message_content: Message content |
|
1004 | description_message_content: Message content | |
1005 | description_query_sort_criteria_attribute: Sort attribute |
|
1005 | description_query_sort_criteria_attribute: Sort attribute | |
1006 | description_query_sort_criteria_direction: Sort direction |
|
1006 | description_query_sort_criteria_direction: Sort direction | |
1007 | description_user_mail_notification: Mail notification settings |
|
1007 | description_user_mail_notification: Mail notification settings | |
1008 | description_available_columns: Available Columns |
|
1008 | description_available_columns: Available Columns | |
1009 | description_selected_columns: Selected Columns |
|
1009 | description_selected_columns: Selected Columns | |
1010 | description_all_columns: All Columns |
|
1010 | description_all_columns: All Columns | |
1011 | description_issue_category_reassign: Choose issue category |
|
1011 | description_issue_category_reassign: Choose issue category | |
1012 | description_wiki_subpages_reassign: Choose new parent page |
|
1012 | description_wiki_subpages_reassign: Choose new parent page | |
1013 | description_date_range_list: Choose range from list |
|
1013 | description_date_range_list: Choose range from list | |
1014 | description_date_range_interval: Choose range by selecting start and end date |
|
1014 | description_date_range_interval: Choose range by selecting start and end date | |
1015 | description_date_from: Enter start date |
|
1015 | description_date_from: Enter start date | |
1016 | description_date_to: Enter end date |
|
1016 | description_date_to: Enter end date |
@@ -1,1033 +1,1033 | |||||
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_days: |
|
56 | x_days: | |
57 | one: "unΒ jour" |
|
57 | one: "unΒ jour" | |
58 | other: "%{count}Β jours" |
|
58 | other: "%{count}Β jours" | |
59 | about_x_months: |
|
59 | about_x_months: | |
60 | one: "environ un mois" |
|
60 | one: "environ un mois" | |
61 | other: "environ %{count}Β mois" |
|
61 | other: "environ %{count}Β mois" | |
62 | x_months: |
|
62 | x_months: | |
63 | one: "unΒ mois" |
|
63 | one: "unΒ mois" | |
64 | other: "%{count}Β mois" |
|
64 | other: "%{count}Β mois" | |
65 | about_x_years: |
|
65 | about_x_years: | |
66 | one: "environ un an" |
|
66 | one: "environ un an" | |
67 | other: "environ %{count}Β ans" |
|
67 | other: "environ %{count}Β ans" | |
68 | over_x_years: |
|
68 | over_x_years: | |
69 | one: "plus d'un an" |
|
69 | one: "plus d'un an" | |
70 | other: "plus de %{count}Β ans" |
|
70 | other: "plus de %{count}Β ans" | |
71 | almost_x_years: |
|
71 | almost_x_years: | |
72 | one: "presqu'un an" |
|
72 | one: "presqu'un an" | |
73 | other: "presque %{count} ans" |
|
73 | other: "presque %{count} ans" | |
74 | prompts: |
|
74 | prompts: | |
75 | year: "AnnΓ©e" |
|
75 | year: "AnnΓ©e" | |
76 | month: "Mois" |
|
76 | month: "Mois" | |
77 | day: "Jour" |
|
77 | day: "Jour" | |
78 | hour: "Heure" |
|
78 | hour: "Heure" | |
79 | minute: "Minute" |
|
79 | minute: "Minute" | |
80 | second: "Seconde" |
|
80 | second: "Seconde" | |
81 |
|
81 | |||
82 | number: |
|
82 | number: | |
83 | format: |
|
83 | format: | |
84 | precision: 3 |
|
84 | precision: 3 | |
85 | separator: ',' |
|
85 | separator: ',' | |
86 | delimiter: 'Β ' |
|
86 | delimiter: 'Β ' | |
87 | currency: |
|
87 | currency: | |
88 | format: |
|
88 | format: | |
89 | unit: 'β¬' |
|
89 | unit: 'β¬' | |
90 | precision: 2 |
|
90 | precision: 2 | |
91 | format: '%nΒ %u' |
|
91 | format: '%nΒ %u' | |
92 | human: |
|
92 | human: | |
93 | format: |
|
93 | format: | |
94 | precision: 2 |
|
94 | precision: 2 | |
95 | storage_units: |
|
95 | storage_units: | |
96 | format: "%n %u" |
|
96 | format: "%n %u" | |
97 | units: |
|
97 | units: | |
98 | byte: |
|
98 | byte: | |
99 | one: "octet" |
|
99 | one: "octet" | |
100 | other: "octet" |
|
100 | other: "octet" | |
101 | kb: "ko" |
|
101 | kb: "ko" | |
102 | mb: "Mo" |
|
102 | mb: "Mo" | |
103 | gb: "Go" |
|
103 | gb: "Go" | |
104 | tb: "To" |
|
104 | tb: "To" | |
105 |
|
105 | |||
106 | support: |
|
106 | support: | |
107 | array: |
|
107 | array: | |
108 | sentence_connector: 'et' |
|
108 | sentence_connector: 'et' | |
109 | skip_last_comma: true |
|
109 | skip_last_comma: true | |
110 | word_connector: ", " |
|
110 | word_connector: ", " | |
111 | two_words_connector: " et " |
|
111 | two_words_connector: " et " | |
112 | last_word_connector: " et " |
|
112 | last_word_connector: " et " | |
113 |
|
113 | |||
114 | activerecord: |
|
114 | activerecord: | |
115 | errors: |
|
115 | errors: | |
116 | template: |
|
116 | template: | |
117 | header: |
|
117 | header: | |
118 | one: "Impossible d'enregistrer %{model} : une erreur" |
|
118 | one: "Impossible d'enregistrer %{model} : une erreur" | |
119 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." |
|
119 | other: "Impossible d'enregistrer %{model} : %{count} erreurs." | |
120 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" |
|
120 | body: "Veuillez vΓ©rifier les champs suivantsΒ :" | |
121 | messages: |
|
121 | messages: | |
122 | inclusion: "n'est pas inclus(e) dans la liste" |
|
122 | inclusion: "n'est pas inclus(e) dans la liste" | |
123 | exclusion: "n'est pas disponible" |
|
123 | exclusion: "n'est pas disponible" | |
124 | invalid: "n'est pas valide" |
|
124 | invalid: "n'est pas valide" | |
125 | confirmation: "ne concorde pas avec la confirmation" |
|
125 | confirmation: "ne concorde pas avec la confirmation" | |
126 | accepted: "doit Γͺtre acceptΓ©(e)" |
|
126 | accepted: "doit Γͺtre acceptΓ©(e)" | |
127 | empty: "doit Γͺtre renseignΓ©(e)" |
|
127 | empty: "doit Γͺtre renseignΓ©(e)" | |
128 | blank: "doit Γͺtre renseignΓ©(e)" |
|
128 | blank: "doit Γͺtre renseignΓ©(e)" | |
129 | too_long: "est trop long (pas plus de %{count} caractères)" |
|
129 | too_long: "est trop long (pas plus de %{count} caractères)" | |
130 | too_short: "est trop court (au moins %{count} caractères)" |
|
130 | too_short: "est trop court (au moins %{count} caractères)" | |
131 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" |
|
131 | wrong_length: "ne fait pas la bonne longueur (doit comporter %{count} caractères)" | |
132 | taken: "est dΓ©jΓ utilisΓ©" |
|
132 | taken: "est dΓ©jΓ utilisΓ©" | |
133 | not_a_number: "n'est pas un nombre" |
|
133 | not_a_number: "n'est pas un nombre" | |
134 | not_a_date: "n'est pas une date valide" |
|
134 | not_a_date: "n'est pas une date valide" | |
135 | greater_than: "doit Γͺtre supΓ©rieur Γ %{count}" |
|
135 | greater_than: "doit Γͺtre supΓ©rieur Γ %{count}" | |
136 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ %{count}" |
|
136 | greater_than_or_equal_to: "doit Γͺtre supΓ©rieur ou Γ©gal Γ %{count}" | |
137 | equal_to: "doit Γͺtre Γ©gal Γ %{count}" |
|
137 | equal_to: "doit Γͺtre Γ©gal Γ %{count}" | |
138 | less_than: "doit Γͺtre infΓ©rieur Γ %{count}" |
|
138 | less_than: "doit Γͺtre infΓ©rieur Γ %{count}" | |
139 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ %{count}" |
|
139 | less_than_or_equal_to: "doit Γͺtre infΓ©rieur ou Γ©gal Γ %{count}" | |
140 | odd: "doit Γͺtre impair" |
|
140 | odd: "doit Γͺtre impair" | |
141 | even: "doit Γͺtre pair" |
|
141 | even: "doit Γͺtre pair" | |
142 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" |
|
142 | greater_than_start_date: "doit Γͺtre postΓ©rieure Γ la date de dΓ©but" | |
143 | not_same_project: "n'appartient pas au mΓͺme projet" |
|
143 | not_same_project: "n'appartient pas au mΓͺme projet" | |
144 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" |
|
144 | circular_dependency: "Cette relation crΓ©erait une dΓ©pendance circulaire" | |
145 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" |
|
145 | cant_link_an_issue_with_a_descendant: "Une demande ne peut pas Γͺtre liΓ©e Γ l'une de ses sous-tΓ’ches" | |
146 |
|
146 | |||
147 | actionview_instancetag_blank_option: Choisir |
|
147 | actionview_instancetag_blank_option: Choisir | |
148 |
|
148 | |||
149 | general_text_No: 'Non' |
|
149 | general_text_No: 'Non' | |
150 | general_text_Yes: 'Oui' |
|
150 | general_text_Yes: 'Oui' | |
151 | general_text_no: 'non' |
|
151 | general_text_no: 'non' | |
152 | general_text_yes: 'oui' |
|
152 | general_text_yes: 'oui' | |
153 | general_lang_name: 'FranΓ§ais' |
|
153 | general_lang_name: 'FranΓ§ais' | |
154 | general_csv_separator: ';' |
|
154 | general_csv_separator: ';' | |
155 | general_csv_decimal_separator: ',' |
|
155 | general_csv_decimal_separator: ',' | |
156 | general_csv_encoding: ISO-8859-1 |
|
156 | general_csv_encoding: ISO-8859-1 | |
157 | general_pdf_encoding: UTF-8 |
|
157 | general_pdf_encoding: UTF-8 | |
158 | general_first_day_of_week: '1' |
|
158 | general_first_day_of_week: '1' | |
159 |
|
159 | |||
160 | notice_account_updated: Le compte a été mis à jour avec succès. |
|
160 | notice_account_updated: Le compte a été mis à jour avec succès. | |
161 | notice_account_invalid_creditentials: Identifiant ou mot de passe invalide. |
|
161 | notice_account_invalid_creditentials: Identifiant ou mot de passe invalide. | |
162 | notice_account_password_updated: Mot de passe mis à jour avec succès. |
|
162 | notice_account_password_updated: Mot de passe mis à jour avec succès. | |
163 | notice_account_wrong_password: Mot de passe incorrect |
|
163 | notice_account_wrong_password: Mot de passe incorrect | |
164 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©. |
|
164 | notice_account_register_done: Un message contenant les instructions pour activer votre compte vous a Γ©tΓ© envoyΓ©. | |
165 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. |
|
165 | notice_account_unknown_email: Aucun compte ne correspond Γ cette adresse. | |
166 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. |
|
166 | notice_can_t_change_password: Ce compte utilise une authentification externe. Impossible de changer le mot de passe. | |
167 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. |
|
167 | notice_account_lost_email_sent: Un message contenant les instructions pour choisir un nouveau mot de passe vous a Γ©tΓ© envoyΓ©. | |
168 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. |
|
168 | notice_account_activated: Votre compte a Γ©tΓ© activΓ©. Vous pouvez Γ prΓ©sent vous connecter. | |
169 | notice_successful_create: Création effectuée avec succès. |
|
169 | notice_successful_create: Création effectuée avec succès. | |
170 | notice_successful_update: Mise à jour effectuée avec succès. |
|
170 | notice_successful_update: Mise à jour effectuée avec succès. | |
171 | notice_successful_delete: Suppression effectuée avec succès. |
|
171 | notice_successful_delete: Suppression effectuée avec succès. | |
172 | notice_successful_connection: Connexion rΓ©ussie. |
|
172 | notice_successful_connection: Connexion rΓ©ussie. | |
173 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." |
|
173 | notice_file_not_found: "La page Γ laquelle vous souhaitez accΓ©der n'existe pas ou a Γ©tΓ© supprimΓ©e." | |
174 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. |
|
174 | notice_locking_conflict: Les donnΓ©es ont Γ©tΓ© mises Γ jour par un autre utilisateur. Mise Γ jour impossible. | |
175 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ accΓ©der Γ cette page." |
|
175 | notice_not_authorized: "Vous n'Γͺtes pas autorisΓ© Γ accΓ©der Γ cette page." | |
176 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. |
|
176 | notice_not_authorized_archived_project: Le projet auquel vous tentez d'accΓ©der a Γ©tΓ© archivΓ©. | |
177 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ %{value}" |
|
177 | notice_email_sent: "Un email a Γ©tΓ© envoyΓ© Γ %{value}" | |
178 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" |
|
178 | notice_email_error: "Erreur lors de l'envoi de l'email (%{value})" | |
179 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux RSS a été réinitialisée." |
|
179 | notice_feeds_access_key_reseted: "Votre clé d'accès aux flux RSS a été réinitialisée." | |
180 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : %{ids}." |
|
180 | notice_failed_to_save_issues: "%{count} demande(s) sur les %{total} sΓ©lectionnΓ©es n'ont pas pu Γͺtre mise(s) Γ jour : %{ids}." | |
181 | notice_failed_to_save_time_entries: "%{count} temps passΓ©(s) sur les %{total} sΓ©lectionnΓ©s n'ont pas pu Γͺtre mis Γ jour: %{ids}." |
|
181 | notice_failed_to_save_time_entries: "%{count} temps passΓ©(s) sur les %{total} sΓ©lectionnΓ©s n'ont pas pu Γͺtre mis Γ jour: %{ids}." | |
182 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." |
|
182 | notice_no_issue_selected: "Aucune demande sΓ©lectionnΓ©e ! Cochez les demandes que vous voulez mettre Γ jour." | |
183 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." |
|
183 | notice_account_pending: "Votre compte a été créé et attend l'approbation de l'administrateur." | |
184 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. |
|
184 | notice_default_data_loaded: Paramétrage par défaut chargé avec succès. | |
185 | notice_unable_delete_version: Impossible de supprimer cette version. |
|
185 | notice_unable_delete_version: Impossible de supprimer cette version. | |
186 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. |
|
186 | notice_issue_done_ratios_updated: L'avancement des demandes a Γ©tΓ© mis Γ jour. | |
187 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. |
|
187 | notice_api_access_key_reseted: Votre clé d'accès API a été réinitialisée. | |
188 | notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})" |
|
188 | notice_gantt_chart_truncated: "Le diagramme a Γ©tΓ© tronquΓ© car il excΓ¨de le nombre maximal d'Γ©lΓ©ments pouvant Γͺtre affichΓ©s (%{max})" | |
189 | notice_issue_successful_create: "La demande %{id} a été créée." |
|
189 | notice_issue_successful_create: "La demande %{id} a été créée." | |
190 |
|
190 | |||
191 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}" |
|
191 | error_can_t_load_default_data: "Une erreur s'est produite lors du chargement du paramΓ©trage : %{value}" | |
192 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." |
|
192 | error_scm_not_found: "L'entrΓ©e et/ou la rΓ©vision demandΓ©e n'existe pas dans le dΓ©pΓ΄t." | |
193 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" |
|
193 | error_scm_command_failed: "Une erreur s'est produite lors de l'accès au dépôt : %{value}" | |
194 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." |
|
194 | error_scm_annotate: "L'entrΓ©e n'existe pas ou ne peut pas Γͺtre annotΓ©e." | |
195 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" |
|
195 | error_issue_not_found_in_project: "La demande n'existe pas ou n'appartient pas Γ ce projet" | |
196 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' |
|
196 | error_can_not_reopen_issue_on_closed_version: 'Une demande assignΓ©e Γ une version fermΓ©e ne peut pas Γͺtre rΓ©ouverte' | |
197 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" |
|
197 | error_can_not_archive_project: "Ce projet ne peut pas Γͺtre archivΓ©" | |
198 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' |
|
198 | error_workflow_copy_source: 'Veuillez sΓ©lectionner un tracker et/ou un rΓ΄le source' | |
199 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' |
|
199 | error_workflow_copy_target: 'Veuillez sΓ©lectionner les trackers et rΓ΄les cibles' | |
200 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. |
|
200 | error_issue_done_ratios_not_updated: L'avancement des demandes n'a pas pu Γͺtre mis Γ jour. | |
201 | error_attachment_too_big: Ce fichier ne peut pas Γͺtre attachΓ© car il excΓ¨de la taille maximale autorisΓ©e (%{max_size}) |
|
201 | error_attachment_too_big: Ce fichier ne peut pas Γͺtre attachΓ© car il excΓ¨de la taille maximale autorisΓ©e (%{max_size}) | |
202 |
|
202 | |||
203 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." |
|
203 | warning_attachments_not_saved: "%{count} fichier(s) n'ont pas pu Γͺtre sauvegardΓ©s." | |
204 |
|
204 | |||
205 | mail_subject_lost_password: "Votre mot de passe %{value}" |
|
205 | mail_subject_lost_password: "Votre mot de passe %{value}" | |
206 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' |
|
206 | mail_body_lost_password: 'Pour changer votre mot de passe, cliquez sur le lien suivant :' | |
207 | mail_subject_register: "Activation de votre compte %{value}" |
|
207 | mail_subject_register: "Activation de votre compte %{value}" | |
208 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' |
|
208 | mail_body_register: 'Pour activer votre compte, cliquez sur le lien suivant :' | |
209 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." |
|
209 | mail_body_account_information_external: "Vous pouvez utiliser votre compte %{value} pour vous connecter." | |
210 | mail_body_account_information: Paramètres de connexion de votre compte |
|
210 | mail_body_account_information: Paramètres de connexion de votre compte | |
211 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" |
|
211 | mail_subject_account_activation_request: "Demande d'activation d'un compte %{value}" | |
212 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :" |
|
212 | mail_body_account_activation_request: "Un nouvel utilisateur (%{value}) s'est inscrit. Son compte nΓ©cessite votre approbation :" | |
213 | mail_subject_reminder: "%{count} demande(s) arrivent Γ Γ©chΓ©ance (%{days})" |
|
213 | mail_subject_reminder: "%{count} demande(s) arrivent Γ Γ©chΓ©ance (%{days})" | |
214 | mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les %{days} prochains jours :" |
|
214 | mail_body_reminder: "%{count} demande(s) qui vous sont assignΓ©es arrivent Γ Γ©chΓ©ance dans les %{days} prochains jours :" | |
215 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e" |
|
215 | mail_subject_wiki_content_added: "Page wiki '%{id}' ajoutΓ©e" | |
216 | mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}." |
|
216 | mail_body_wiki_content_added: "La page wiki '%{id}' a Γ©tΓ© ajoutΓ©e par %{author}." | |
217 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ jour" |
|
217 | mail_subject_wiki_content_updated: "Page wiki '%{id}' mise Γ jour" | |
218 | mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ jour par %{author}." |
|
218 | mail_body_wiki_content_updated: "La page wiki '%{id}' a Γ©tΓ© mise Γ jour par %{author}." | |
219 |
|
219 | |||
220 | gui_validation_error: 1 erreur |
|
220 | gui_validation_error: 1 erreur | |
221 | gui_validation_error_plural: "%{count} erreurs" |
|
221 | gui_validation_error_plural: "%{count} erreurs" | |
222 |
|
222 | |||
223 | field_name: Nom |
|
223 | field_name: Nom | |
224 | field_description: Description |
|
224 | field_description: Description | |
225 | field_summary: RΓ©sumΓ© |
|
225 | field_summary: RΓ©sumΓ© | |
226 | field_is_required: Obligatoire |
|
226 | field_is_required: Obligatoire | |
227 | field_firstname: PrΓ©nom |
|
227 | field_firstname: PrΓ©nom | |
228 | field_lastname: Nom |
|
228 | field_lastname: Nom | |
229 | field_mail: "Email " |
|
229 | field_mail: "Email " | |
230 | field_filename: Fichier |
|
230 | field_filename: Fichier | |
231 | field_filesize: Taille |
|
231 | field_filesize: Taille | |
232 | field_downloads: TΓ©lΓ©chargements |
|
232 | field_downloads: TΓ©lΓ©chargements | |
233 | field_author: Auteur |
|
233 | field_author: Auteur | |
234 | field_created_on: "Créé " |
|
234 | field_created_on: "Créé " | |
235 | field_updated_on: "Mis-Γ -jour " |
|
235 | field_updated_on: "Mis-Γ -jour " | |
236 | field_field_format: Format |
|
236 | field_field_format: Format | |
237 | field_is_for_all: Pour tous les projets |
|
237 | field_is_for_all: Pour tous les projets | |
238 | field_possible_values: Valeurs possibles |
|
238 | field_possible_values: Valeurs possibles | |
239 | field_regexp: Expression régulière |
|
239 | field_regexp: Expression régulière | |
240 | field_min_length: Longueur minimum |
|
240 | field_min_length: Longueur minimum | |
241 | field_max_length: Longueur maximum |
|
241 | field_max_length: Longueur maximum | |
242 | field_value: Valeur |
|
242 | field_value: Valeur | |
243 | field_category: CatΓ©gorie |
|
243 | field_category: CatΓ©gorie | |
244 | field_title: Titre |
|
244 | field_title: Titre | |
245 | field_project: Projet |
|
245 | field_project: Projet | |
246 | field_issue: Demande |
|
246 | field_issue: Demande | |
247 | field_status: Statut |
|
247 | field_status: Statut | |
248 | field_notes: Notes |
|
248 | field_notes: Notes | |
249 | field_is_closed: Demande fermΓ©e |
|
249 | field_is_closed: Demande fermΓ©e | |
250 | field_is_default: Valeur par dΓ©faut |
|
250 | field_is_default: Valeur par dΓ©faut | |
251 | field_tracker: Tracker |
|
251 | field_tracker: Tracker | |
252 | field_subject: Sujet |
|
252 | field_subject: Sujet | |
253 | field_due_date: EchΓ©ance |
|
253 | field_due_date: EchΓ©ance | |
254 | field_assigned_to: AssignΓ© Γ |
|
254 | field_assigned_to: AssignΓ© Γ | |
255 | field_priority: PrioritΓ© |
|
255 | field_priority: PrioritΓ© | |
256 | field_fixed_version: Version cible |
|
256 | field_fixed_version: Version cible | |
257 | field_user: Utilisateur |
|
257 | field_user: Utilisateur | |
258 | field_role: RΓ΄le |
|
258 | field_role: RΓ΄le | |
259 | field_homepage: "Site web " |
|
259 | field_homepage: "Site web " | |
260 | field_is_public: Public |
|
260 | field_is_public: Public | |
261 | field_parent: Sous-projet de |
|
261 | field_parent: Sous-projet de | |
262 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap |
|
262 | field_is_in_roadmap: Demandes affichΓ©es dans la roadmap | |
263 | field_login: "Identifiant " |
|
263 | field_login: "Identifiant " | |
264 | field_mail_notification: Notifications par mail |
|
264 | field_mail_notification: Notifications par mail | |
265 | field_admin: Administrateur |
|
265 | field_admin: Administrateur | |
266 | field_last_login_on: "Dernière connexion " |
|
266 | field_last_login_on: "Dernière connexion " | |
267 | field_language: Langue |
|
267 | field_language: Langue | |
268 | field_effective_date: Date |
|
268 | field_effective_date: Date | |
269 | field_password: Mot de passe |
|
269 | field_password: Mot de passe | |
270 | field_new_password: Nouveau mot de passe |
|
270 | field_new_password: Nouveau mot de passe | |
271 | field_password_confirmation: Confirmation |
|
271 | field_password_confirmation: Confirmation | |
272 | field_version: Version |
|
272 | field_version: Version | |
273 | field_type: Type |
|
273 | field_type: Type | |
274 | field_host: HΓ΄te |
|
274 | field_host: HΓ΄te | |
275 | field_port: Port |
|
275 | field_port: Port | |
276 | field_account: Compte |
|
276 | field_account: Compte | |
277 | field_base_dn: Base DN |
|
277 | field_base_dn: Base DN | |
278 | field_attr_login: Attribut Identifiant |
|
278 | field_attr_login: Attribut Identifiant | |
279 | field_attr_firstname: Attribut PrΓ©nom |
|
279 | field_attr_firstname: Attribut PrΓ©nom | |
280 | field_attr_lastname: Attribut Nom |
|
280 | field_attr_lastname: Attribut Nom | |
281 | field_attr_mail: Attribut Email |
|
281 | field_attr_mail: Attribut Email | |
282 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e |
|
282 | field_onthefly: CrΓ©ation des utilisateurs Γ la volΓ©e | |
283 | field_start_date: DΓ©but |
|
283 | field_start_date: DΓ©but | |
284 | field_done_ratio: "% rΓ©alisΓ©" |
|
284 | field_done_ratio: "% rΓ©alisΓ©" | |
285 | field_auth_source: Mode d'authentification |
|
285 | field_auth_source: Mode d'authentification | |
286 | field_hide_mail: Cacher mon adresse mail |
|
286 | field_hide_mail: Cacher mon adresse mail | |
287 | field_comments: Commentaire |
|
287 | field_comments: Commentaire | |
288 | field_url: URL |
|
288 | field_url: URL | |
289 | field_start_page: Page de dΓ©marrage |
|
289 | field_start_page: Page de dΓ©marrage | |
290 | field_subproject: Sous-projet |
|
290 | field_subproject: Sous-projet | |
291 | field_hours: Heures |
|
291 | field_hours: Heures | |
292 | field_activity: ActivitΓ© |
|
292 | field_activity: ActivitΓ© | |
293 | field_spent_on: Date |
|
293 | field_spent_on: Date | |
294 | field_identifier: Identifiant |
|
294 | field_identifier: Identifiant | |
295 | field_is_filter: UtilisΓ© comme filtre |
|
295 | field_is_filter: UtilisΓ© comme filtre | |
296 | field_issue_to: Demande liΓ©e |
|
296 | field_issue_to: Demande liΓ©e | |
297 | field_delay: Retard |
|
297 | field_delay: Retard | |
298 | field_assignable: Demandes assignables Γ ce rΓ΄le |
|
298 | field_assignable: Demandes assignables Γ ce rΓ΄le | |
299 | field_redirect_existing_links: Rediriger les liens existants |
|
299 | field_redirect_existing_links: Rediriger les liens existants | |
300 | field_estimated_hours: Temps estimΓ© |
|
300 | field_estimated_hours: Temps estimΓ© | |
301 | field_column_names: Colonnes |
|
301 | field_column_names: Colonnes | |
302 | field_time_zone: Fuseau horaire |
|
302 | field_time_zone: Fuseau horaire | |
303 | field_searchable: UtilisΓ© pour les recherches |
|
303 | field_searchable: UtilisΓ© pour les recherches | |
304 | field_default_value: Valeur par dΓ©faut |
|
304 | field_default_value: Valeur par dΓ©faut | |
305 | field_comments_sorting: Afficher les commentaires |
|
305 | field_comments_sorting: Afficher les commentaires | |
306 | field_parent_title: Page parent |
|
306 | field_parent_title: Page parent | |
307 | field_editable: Modifiable |
|
307 | field_editable: Modifiable | |
308 | field_watcher: Observateur |
|
308 | field_watcher: Observateur | |
309 | field_identity_url: URL OpenID |
|
309 | field_identity_url: URL OpenID | |
310 | field_content: Contenu |
|
310 | field_content: Contenu | |
311 | field_group_by: Grouper par |
|
311 | field_group_by: Grouper par | |
312 | field_sharing: Partage |
|
312 | field_sharing: Partage | |
313 | field_active: Actif |
|
313 | field_active: Actif | |
314 | field_parent_issue: TΓ’che parente |
|
314 | field_parent_issue: TΓ’che parente | |
315 | field_visible: Visible |
|
315 | field_visible: Visible | |
316 | field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©" |
|
316 | field_warn_on_leaving_unsaved: "M'avertir lorsque je quitte une page contenant du texte non sauvegardΓ©" | |
317 | field_issues_visibility: VisibilitΓ© des demandes |
|
317 | field_issues_visibility: VisibilitΓ© des demandes | |
318 | field_is_private: PrivΓ©e |
|
318 | field_is_private: PrivΓ©e | |
319 | field_commit_logs_encoding: Encodage des messages de commit |
|
319 | field_commit_logs_encoding: Encodage des messages de commit | |
320 | field_repository_is_default: DΓ©pΓ΄t principal |
|
320 | field_repository_is_default: DΓ©pΓ΄t principal | |
321 |
|
321 | |||
322 | setting_app_title: Titre de l'application |
|
322 | setting_app_title: Titre de l'application | |
323 | setting_app_subtitle: Sous-titre de l'application |
|
323 | setting_app_subtitle: Sous-titre de l'application | |
324 | setting_welcome_text: Texte d'accueil |
|
324 | setting_welcome_text: Texte d'accueil | |
325 | setting_default_language: Langue par dΓ©faut |
|
325 | setting_default_language: Langue par dΓ©faut | |
326 | setting_login_required: Authentification obligatoire |
|
326 | setting_login_required: Authentification obligatoire | |
327 | setting_self_registration: Inscription des nouveaux utilisateurs |
|
327 | setting_self_registration: Inscription des nouveaux utilisateurs | |
328 | setting_attachment_max_size: Taille maximale des fichiers |
|
328 | setting_attachment_max_size: Taille maximale des fichiers | |
329 | setting_issues_export_limit: Limite d'exportation des demandes |
|
329 | setting_issues_export_limit: Limite d'exportation des demandes | |
330 | setting_mail_from: Adresse d'Γ©mission |
|
330 | setting_mail_from: Adresse d'Γ©mission | |
331 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) |
|
331 | setting_bcc_recipients: Destinataires en copie cachΓ©e (cci) | |
332 | setting_plain_text_mail: Mail en texte brut (non HTML) |
|
332 | setting_plain_text_mail: Mail en texte brut (non HTML) | |
333 | setting_host_name: Nom d'hΓ΄te et chemin |
|
333 | setting_host_name: Nom d'hΓ΄te et chemin | |
334 | setting_text_formatting: Formatage du texte |
|
334 | setting_text_formatting: Formatage du texte | |
335 | setting_wiki_compression: Compression de l'historique des pages wiki |
|
335 | setting_wiki_compression: Compression de l'historique des pages wiki | |
336 | setting_feeds_limit: Nombre maximal d'Γ©lΓ©ments dans les flux Atom |
|
336 | setting_feeds_limit: Nombre maximal d'Γ©lΓ©ments dans les flux Atom | |
337 | setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut |
|
337 | setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut | |
338 | setting_autofetch_changesets: RΓ©cupΓ©ration automatique des commits |
|
338 | setting_autofetch_changesets: RΓ©cupΓ©ration automatique des commits | |
339 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts |
|
339 | setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts | |
340 | setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement |
|
340 | setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement | |
341 | setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution |
|
341 | setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution | |
342 | setting_autologin: DurΓ©e maximale de connexion automatique |
|
342 | setting_autologin: DurΓ©e maximale de connexion automatique | |
343 | setting_date_format: Format de date |
|
343 | setting_date_format: Format de date | |
344 | setting_time_format: Format d'heure |
|
344 | setting_time_format: Format d'heure | |
345 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets |
|
345 | setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets | |
346 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes |
|
346 | setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes | |
347 | setting_emails_footer: Pied-de-page des emails |
|
347 | setting_emails_footer: Pied-de-page des emails | |
348 | setting_protocol: Protocole |
|
348 | setting_protocol: Protocole | |
349 | setting_per_page_options: Options d'objets affichΓ©s par page |
|
349 | setting_per_page_options: Options d'objets affichΓ©s par page | |
350 | setting_user_format: Format d'affichage des utilisateurs |
|
350 | setting_user_format: Format d'affichage des utilisateurs | |
351 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets |
|
351 | setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets | |
352 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux |
|
352 | setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux | |
353 | setting_enabled_scm: SCM activΓ©s |
|
353 | setting_enabled_scm: SCM activΓ©s | |
354 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" |
|
354 | setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes" | |
355 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" |
|
355 | setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails" | |
356 | setting_mail_handler_api_key: ClΓ© de protection de l'API |
|
356 | setting_mail_handler_api_key: ClΓ© de protection de l'API | |
357 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels |
|
357 | setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels | |
358 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs |
|
358 | setting_gravatar_enabled: Afficher les Gravatar des utilisateurs | |
359 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es |
|
359 | setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es | |
360 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne |
|
360 | setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne | |
361 | setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier" |
|
361 | setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier" | |
362 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" |
|
362 | setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" | |
363 | setting_password_min_length: Longueur minimum des mots de passe |
|
363 | setting_password_min_length: Longueur minimum des mots de passe | |
364 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet |
|
364 | setting_new_project_user_role_id: RΓ΄le donnΓ© Γ un utilisateur non-administrateur qui crΓ©e un projet | |
365 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets |
|
365 | setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets | |
366 | setting_issue_done_ratio: Calcul de l'avancement des demandes |
|
366 | setting_issue_done_ratio: Calcul de l'avancement des demandes | |
367 | setting_issue_done_ratio_issue_status: Utiliser le statut |
|
367 | setting_issue_done_ratio_issue_status: Utiliser le statut | |
368 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' |
|
368 | setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©' | |
369 | setting_rest_api_enabled: Activer l'API REST |
|
369 | setting_rest_api_enabled: Activer l'API REST | |
370 | setting_gravatar_default: Image Gravatar par dΓ©faut |
|
370 | setting_gravatar_default: Image Gravatar par dΓ©faut | |
371 | setting_start_of_week: Jour de dΓ©but des calendriers |
|
371 | setting_start_of_week: Jour de dΓ©but des calendriers | |
372 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© |
|
372 | setting_cache_formatted_text: Mettre en cache le texte formatΓ© | |
373 | setting_commit_logtime_enabled: Permettre la saisie de temps |
|
373 | setting_commit_logtime_enabled: Permettre la saisie de temps | |
374 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi |
|
374 | setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi | |
375 | setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt |
|
375 | setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt | |
376 | setting_issue_group_assignment: Permettre l'assignement des demandes aux groupes |
|
376 | setting_issue_group_assignment: Permettre l'assignement des demandes aux groupes | |
377 | 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 |
|
377 | 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 | |
378 |
|
378 | |||
379 | permission_add_project: CrΓ©er un projet |
|
379 | permission_add_project: CrΓ©er un projet | |
380 | permission_add_subprojects: CrΓ©er des sous-projets |
|
380 | permission_add_subprojects: CrΓ©er des sous-projets | |
381 | permission_edit_project: Modifier le projet |
|
381 | permission_edit_project: Modifier le projet | |
382 | permission_select_project_modules: Choisir les modules |
|
382 | permission_select_project_modules: Choisir les modules | |
383 | permission_manage_members: GΓ©rer les membres |
|
383 | permission_manage_members: GΓ©rer les membres | |
384 | permission_manage_versions: GΓ©rer les versions |
|
384 | permission_manage_versions: GΓ©rer les versions | |
385 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes |
|
385 | permission_manage_categories: GΓ©rer les catΓ©gories de demandes | |
386 | permission_view_issues: Voir les demandes |
|
386 | permission_view_issues: Voir les demandes | |
387 | permission_add_issues: CrΓ©er des demandes |
|
387 | permission_add_issues: CrΓ©er des demandes | |
388 | permission_edit_issues: Modifier les demandes |
|
388 | permission_edit_issues: Modifier les demandes | |
389 | permission_manage_issue_relations: GΓ©rer les relations |
|
389 | permission_manage_issue_relations: GΓ©rer les relations | |
390 | permission_set_issues_private: Rendre les demandes publiques ou privΓ©es |
|
390 | permission_set_issues_private: Rendre les demandes publiques ou privΓ©es | |
391 | permission_set_own_issues_private: Rendre ses propres demandes publiques ou privΓ©es |
|
391 | permission_set_own_issues_private: Rendre ses propres demandes publiques ou privΓ©es | |
392 | permission_add_issue_notes: Ajouter des notes |
|
392 | permission_add_issue_notes: Ajouter des notes | |
393 | permission_edit_issue_notes: Modifier les notes |
|
393 | permission_edit_issue_notes: Modifier les notes | |
394 | permission_edit_own_issue_notes: Modifier ses propres notes |
|
394 | permission_edit_own_issue_notes: Modifier ses propres notes | |
395 | permission_move_issues: DΓ©placer les demandes |
|
395 | permission_move_issues: DΓ©placer les demandes | |
396 | permission_delete_issues: Supprimer les demandes |
|
396 | permission_delete_issues: Supprimer les demandes | |
397 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques |
|
397 | permission_manage_public_queries: GΓ©rer les requΓͺtes publiques | |
398 | permission_save_queries: Sauvegarder les requΓͺtes |
|
398 | permission_save_queries: Sauvegarder les requΓͺtes | |
399 | permission_view_gantt: Voir le gantt |
|
399 | permission_view_gantt: Voir le gantt | |
400 | permission_view_calendar: Voir le calendrier |
|
400 | permission_view_calendar: Voir le calendrier | |
401 | permission_view_issue_watchers: Voir la liste des observateurs |
|
401 | permission_view_issue_watchers: Voir la liste des observateurs | |
402 | permission_add_issue_watchers: Ajouter des observateurs |
|
402 | permission_add_issue_watchers: Ajouter des observateurs | |
403 | permission_delete_issue_watchers: Supprimer des observateurs |
|
403 | permission_delete_issue_watchers: Supprimer des observateurs | |
404 | permission_log_time: Saisir le temps passΓ© |
|
404 | permission_log_time: Saisir le temps passΓ© | |
405 | permission_view_time_entries: Voir le temps passΓ© |
|
405 | permission_view_time_entries: Voir le temps passΓ© | |
406 | permission_edit_time_entries: Modifier les temps passΓ©s |
|
406 | permission_edit_time_entries: Modifier les temps passΓ©s | |
407 | permission_edit_own_time_entries: Modifier son propre temps passΓ© |
|
407 | permission_edit_own_time_entries: Modifier son propre temps passΓ© | |
408 | permission_manage_news: GΓ©rer les annonces |
|
408 | permission_manage_news: GΓ©rer les annonces | |
409 | permission_comment_news: Commenter les annonces |
|
409 | permission_comment_news: Commenter les annonces | |
410 | permission_manage_documents: GΓ©rer les documents |
|
410 | permission_manage_documents: GΓ©rer les documents | |
411 | permission_view_documents: Voir les documents |
|
411 | permission_view_documents: Voir les documents | |
412 | permission_manage_files: GΓ©rer les fichiers |
|
412 | permission_manage_files: GΓ©rer les fichiers | |
413 | permission_view_files: Voir les fichiers |
|
413 | permission_view_files: Voir les fichiers | |
414 | permission_manage_wiki: GΓ©rer le wiki |
|
414 | permission_manage_wiki: GΓ©rer le wiki | |
415 | permission_rename_wiki_pages: Renommer les pages |
|
415 | permission_rename_wiki_pages: Renommer les pages | |
416 | permission_delete_wiki_pages: Supprimer les pages |
|
416 | permission_delete_wiki_pages: Supprimer les pages | |
417 | permission_view_wiki_pages: Voir le wiki |
|
417 | permission_view_wiki_pages: Voir le wiki | |
418 | permission_view_wiki_edits: "Voir l'historique des modifications" |
|
418 | permission_view_wiki_edits: "Voir l'historique des modifications" | |
419 | permission_edit_wiki_pages: Modifier les pages |
|
419 | permission_edit_wiki_pages: Modifier les pages | |
420 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints |
|
420 | permission_delete_wiki_pages_attachments: Supprimer les fichiers joints | |
421 | permission_protect_wiki_pages: ProtΓ©ger les pages |
|
421 | permission_protect_wiki_pages: ProtΓ©ger les pages | |
422 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources |
|
422 | permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources | |
423 | permission_browse_repository: Parcourir les sources |
|
423 | permission_browse_repository: Parcourir les sources | |
424 | permission_view_changesets: Voir les rΓ©visions |
|
424 | permission_view_changesets: Voir les rΓ©visions | |
425 | permission_commit_access: Droit de commit |
|
425 | permission_commit_access: Droit de commit | |
426 | permission_manage_boards: GΓ©rer les forums |
|
426 | permission_manage_boards: GΓ©rer les forums | |
427 | permission_view_messages: Voir les messages |
|
427 | permission_view_messages: Voir les messages | |
428 | permission_add_messages: Poster un message |
|
428 | permission_add_messages: Poster un message | |
429 | permission_edit_messages: Modifier les messages |
|
429 | permission_edit_messages: Modifier les messages | |
430 | permission_edit_own_messages: Modifier ses propres messages |
|
430 | permission_edit_own_messages: Modifier ses propres messages | |
431 | permission_delete_messages: Supprimer les messages |
|
431 | permission_delete_messages: Supprimer les messages | |
432 | permission_delete_own_messages: Supprimer ses propres messages |
|
432 | permission_delete_own_messages: Supprimer ses propres messages | |
433 | permission_export_wiki_pages: Exporter les pages |
|
433 | permission_export_wiki_pages: Exporter les pages | |
434 | permission_manage_project_activities: GΓ©rer les activitΓ©s |
|
434 | permission_manage_project_activities: GΓ©rer les activitΓ©s | |
435 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches |
|
435 | permission_manage_subtasks: GΓ©rer les sous-tΓ’ches | |
436 |
|
436 | |||
437 | project_module_issue_tracking: Suivi des demandes |
|
437 | project_module_issue_tracking: Suivi des demandes | |
438 | project_module_time_tracking: Suivi du temps passΓ© |
|
438 | project_module_time_tracking: Suivi du temps passΓ© | |
439 | project_module_news: Publication d'annonces |
|
439 | project_module_news: Publication d'annonces | |
440 | project_module_documents: Publication de documents |
|
440 | project_module_documents: Publication de documents | |
441 | project_module_files: Publication de fichiers |
|
441 | project_module_files: Publication de fichiers | |
442 | project_module_wiki: Wiki |
|
442 | project_module_wiki: Wiki | |
443 | project_module_repository: DΓ©pΓ΄t de sources |
|
443 | project_module_repository: DΓ©pΓ΄t de sources | |
444 | project_module_boards: Forums de discussion |
|
444 | project_module_boards: Forums de discussion | |
445 |
|
445 | |||
446 | label_user: Utilisateur |
|
446 | label_user: Utilisateur | |
447 | label_user_plural: Utilisateurs |
|
447 | label_user_plural: Utilisateurs | |
448 | label_user_new: Nouvel utilisateur |
|
448 | label_user_new: Nouvel utilisateur | |
449 | label_user_anonymous: Anonyme |
|
449 | label_user_anonymous: Anonyme | |
450 | label_project: Projet |
|
450 | label_project: Projet | |
451 | label_project_new: Nouveau projet |
|
451 | label_project_new: Nouveau projet | |
452 | label_project_plural: Projets |
|
452 | label_project_plural: Projets | |
453 | label_x_projects: |
|
453 | label_x_projects: | |
454 | zero: aucun projet |
|
454 | zero: aucun projet | |
455 | one: un projet |
|
455 | one: un projet | |
456 | other: "%{count} projets" |
|
456 | other: "%{count} projets" | |
457 | label_project_all: Tous les projets |
|
457 | label_project_all: Tous les projets | |
458 | label_project_latest: Derniers projets |
|
458 | label_project_latest: Derniers projets | |
459 | label_issue: Demande |
|
459 | label_issue: Demande | |
460 | label_issue_new: Nouvelle demande |
|
460 | label_issue_new: Nouvelle demande | |
461 | label_issue_plural: Demandes |
|
461 | label_issue_plural: Demandes | |
462 | label_issue_view_all: Voir toutes les demandes |
|
462 | label_issue_view_all: Voir toutes les demandes | |
463 | label_issue_added: Demande ajoutΓ©e |
|
463 | label_issue_added: Demande ajoutΓ©e | |
464 | label_issue_updated: Demande mise Γ jour |
|
464 | label_issue_updated: Demande mise Γ jour | |
465 | label_issue_note_added: Note ajoutΓ©e |
|
465 | label_issue_note_added: Note ajoutΓ©e | |
466 | label_issue_status_updated: Statut changΓ© |
|
466 | label_issue_status_updated: Statut changΓ© | |
467 | label_issue_priority_updated: PrioritΓ© changΓ©e |
|
467 | label_issue_priority_updated: PrioritΓ© changΓ©e | |
468 | label_issues_by: "Demandes par %{value}" |
|
468 | label_issues_by: "Demandes par %{value}" | |
469 | label_document: Document |
|
469 | label_document: Document | |
470 | label_document_new: Nouveau document |
|
470 | label_document_new: Nouveau document | |
471 | label_document_plural: Documents |
|
471 | label_document_plural: Documents | |
472 | label_document_added: Document ajoutΓ© |
|
472 | label_document_added: Document ajoutΓ© | |
473 | label_role: RΓ΄le |
|
473 | label_role: RΓ΄le | |
474 | label_role_plural: RΓ΄les |
|
474 | label_role_plural: RΓ΄les | |
475 | label_role_new: Nouveau rΓ΄le |
|
475 | label_role_new: Nouveau rΓ΄le | |
476 | label_role_and_permissions: RΓ΄les et permissions |
|
476 | label_role_and_permissions: RΓ΄les et permissions | |
477 | label_role_anonymous: Anonyme |
|
477 | label_role_anonymous: Anonyme | |
478 | label_role_non_member: Non membre |
|
478 | label_role_non_member: Non membre | |
479 | label_member: Membre |
|
479 | label_member: Membre | |
480 | label_member_new: Nouveau membre |
|
480 | label_member_new: Nouveau membre | |
481 | label_member_plural: Membres |
|
481 | label_member_plural: Membres | |
482 | label_tracker: Tracker |
|
482 | label_tracker: Tracker | |
483 | label_tracker_plural: Trackers |
|
483 | label_tracker_plural: Trackers | |
484 | label_tracker_new: Nouveau tracker |
|
484 | label_tracker_new: Nouveau tracker | |
485 | label_workflow: Workflow |
|
485 | label_workflow: Workflow | |
486 | label_issue_status: Statut de demandes |
|
486 | label_issue_status: Statut de demandes | |
487 | label_issue_status_plural: Statuts de demandes |
|
487 | label_issue_status_plural: Statuts de demandes | |
488 | label_issue_status_new: Nouveau statut |
|
488 | label_issue_status_new: Nouveau statut | |
489 | label_issue_category: CatΓ©gorie de demandes |
|
489 | label_issue_category: CatΓ©gorie de demandes | |
490 | label_issue_category_plural: CatΓ©gories de demandes |
|
490 | label_issue_category_plural: CatΓ©gories de demandes | |
491 | label_issue_category_new: Nouvelle catΓ©gorie |
|
491 | label_issue_category_new: Nouvelle catΓ©gorie | |
492 | label_custom_field: Champ personnalisΓ© |
|
492 | label_custom_field: Champ personnalisΓ© | |
493 | label_custom_field_plural: Champs personnalisΓ©s |
|
493 | label_custom_field_plural: Champs personnalisΓ©s | |
494 | label_custom_field_new: Nouveau champ personnalisΓ© |
|
494 | label_custom_field_new: Nouveau champ personnalisΓ© | |
495 | label_enumerations: Listes de valeurs |
|
495 | label_enumerations: Listes de valeurs | |
496 | label_enumeration_new: Nouvelle valeur |
|
496 | label_enumeration_new: Nouvelle valeur | |
497 | label_information: Information |
|
497 | label_information: Information | |
498 | label_information_plural: Informations |
|
498 | label_information_plural: Informations | |
499 | label_please_login: Identification |
|
499 | label_please_login: Identification | |
500 | label_register: S'enregistrer |
|
500 | label_register: S'enregistrer | |
501 | label_login_with_open_id_option: S'authentifier avec OpenID |
|
501 | label_login_with_open_id_option: S'authentifier avec OpenID | |
502 | label_password_lost: Mot de passe perdu |
|
502 | label_password_lost: Mot de passe perdu | |
503 | label_home: Accueil |
|
503 | label_home: Accueil | |
504 | label_my_page: Ma page |
|
504 | label_my_page: Ma page | |
505 | label_my_account: Mon compte |
|
505 | label_my_account: Mon compte | |
506 | label_my_projects: Mes projets |
|
506 | label_my_projects: Mes projets | |
507 | label_my_page_block: Blocs disponibles |
|
507 | label_my_page_block: Blocs disponibles | |
508 | label_administration: Administration |
|
508 | label_administration: Administration | |
509 | label_login: Connexion |
|
509 | label_login: Connexion | |
510 | label_logout: DΓ©connexion |
|
510 | label_logout: DΓ©connexion | |
511 | label_help: Aide |
|
511 | label_help: Aide | |
512 | label_reported_issues: "Demandes soumises " |
|
512 | label_reported_issues: "Demandes soumises " | |
513 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es |
|
513 | label_assigned_to_me_issues: Demandes qui me sont assignΓ©es | |
514 | label_last_login: "Dernière connexion " |
|
514 | label_last_login: "Dernière connexion " | |
515 | label_registered_on: "Inscrit le " |
|
515 | label_registered_on: "Inscrit le " | |
516 | label_activity: ActivitΓ© |
|
516 | label_activity: ActivitΓ© | |
517 | label_overall_activity: ActivitΓ© globale |
|
517 | label_overall_activity: ActivitΓ© globale | |
518 | label_user_activity: "ActivitΓ© de %{value}" |
|
518 | label_user_activity: "ActivitΓ© de %{value}" | |
519 | label_new: Nouveau |
|
519 | label_new: Nouveau | |
520 | label_logged_as: ConnectΓ© en tant que |
|
520 | label_logged_as: ConnectΓ© en tant que | |
521 | label_environment: Environnement |
|
521 | label_environment: Environnement | |
522 | label_authentication: Authentification |
|
522 | label_authentication: Authentification | |
523 | label_auth_source: Mode d'authentification |
|
523 | label_auth_source: Mode d'authentification | |
524 | label_auth_source_new: Nouveau mode d'authentification |
|
524 | label_auth_source_new: Nouveau mode d'authentification | |
525 | label_auth_source_plural: Modes d'authentification |
|
525 | label_auth_source_plural: Modes d'authentification | |
526 | label_subproject_plural: Sous-projets |
|
526 | label_subproject_plural: Sous-projets | |
527 | label_subproject_new: Nouveau sous-projet |
|
527 | label_subproject_new: Nouveau sous-projet | |
528 | label_and_its_subprojects: "%{value} et ses sous-projets" |
|
528 | label_and_its_subprojects: "%{value} et ses sous-projets" | |
529 | label_min_max_length: Longueurs mini - maxi |
|
529 | label_min_max_length: Longueurs mini - maxi | |
530 | label_list: Liste |
|
530 | label_list: Liste | |
531 | label_date: Date |
|
531 | label_date: Date | |
532 | label_integer: Entier |
|
532 | label_integer: Entier | |
533 | label_float: Nombre dΓ©cimal |
|
533 | label_float: Nombre dΓ©cimal | |
534 | label_boolean: BoolΓ©en |
|
534 | label_boolean: BoolΓ©en | |
535 | label_string: Texte |
|
535 | label_string: Texte | |
536 | label_text: Texte long |
|
536 | label_text: Texte long | |
537 | label_attribute: Attribut |
|
537 | label_attribute: Attribut | |
538 | label_attribute_plural: Attributs |
|
538 | label_attribute_plural: Attributs | |
539 | label_download: "%{count} tΓ©lΓ©chargement" |
|
539 | label_download: "%{count} tΓ©lΓ©chargement" | |
540 | label_download_plural: "%{count} tΓ©lΓ©chargements" |
|
540 | label_download_plural: "%{count} tΓ©lΓ©chargements" | |
541 | label_no_data: Aucune donnΓ©e Γ afficher |
|
541 | label_no_data: Aucune donnΓ©e Γ afficher | |
542 | label_change_status: Changer le statut |
|
542 | label_change_status: Changer le statut | |
543 | label_history: Historique |
|
543 | label_history: Historique | |
544 | label_attachment: Fichier |
|
544 | label_attachment: Fichier | |
545 | label_attachment_new: Nouveau fichier |
|
545 | label_attachment_new: Nouveau fichier | |
546 | label_attachment_delete: Supprimer le fichier |
|
546 | label_attachment_delete: Supprimer le fichier | |
547 | label_attachment_plural: Fichiers |
|
547 | label_attachment_plural: Fichiers | |
548 | label_file_added: Fichier ajoutΓ© |
|
548 | label_file_added: Fichier ajoutΓ© | |
549 | label_report: Rapport |
|
549 | label_report: Rapport | |
550 | label_report_plural: Rapports |
|
550 | label_report_plural: Rapports | |
551 | label_news: Annonce |
|
551 | label_news: Annonce | |
552 | label_news_new: Nouvelle annonce |
|
552 | label_news_new: Nouvelle annonce | |
553 | label_news_plural: Annonces |
|
553 | label_news_plural: Annonces | |
554 | label_news_latest: Dernières annonces |
|
554 | label_news_latest: Dernières annonces | |
555 | label_news_view_all: Voir toutes les annonces |
|
555 | label_news_view_all: Voir toutes les annonces | |
556 | label_news_added: Annonce ajoutΓ©e |
|
556 | label_news_added: Annonce ajoutΓ©e | |
557 | label_news_comment_added: Commentaire ajoutΓ© Γ une annonce |
|
557 | label_news_comment_added: Commentaire ajoutΓ© Γ une annonce | |
558 | label_settings: Configuration |
|
558 | label_settings: Configuration | |
559 | label_overview: AperΓ§u |
|
559 | label_overview: AperΓ§u | |
560 | label_version: Version |
|
560 | label_version: Version | |
561 | label_version_new: Nouvelle version |
|
561 | label_version_new: Nouvelle version | |
562 | label_version_plural: Versions |
|
562 | label_version_plural: Versions | |
563 | label_confirmation: Confirmation |
|
563 | label_confirmation: Confirmation | |
564 | label_export_to: 'Formats disponibles :' |
|
564 | label_export_to: 'Formats disponibles :' | |
565 | label_read: Lire... |
|
565 | label_read: Lire... | |
566 | label_public_projects: Projets publics |
|
566 | label_public_projects: Projets publics | |
567 | label_open_issues: ouvert |
|
567 | label_open_issues: ouvert | |
568 | label_open_issues_plural: ouverts |
|
568 | label_open_issues_plural: ouverts | |
569 | label_closed_issues: fermΓ© |
|
569 | label_closed_issues: fermΓ© | |
570 | label_closed_issues_plural: fermΓ©s |
|
570 | label_closed_issues_plural: fermΓ©s | |
571 | label_x_open_issues_abbr_on_total: |
|
571 | label_x_open_issues_abbr_on_total: | |
572 | zero: 0 ouverte sur %{total} |
|
572 | zero: 0 ouverte sur %{total} | |
573 | one: 1 ouverte sur %{total} |
|
573 | one: 1 ouverte sur %{total} | |
574 | other: "%{count} ouvertes sur %{total}" |
|
574 | other: "%{count} ouvertes sur %{total}" | |
575 | label_x_open_issues_abbr: |
|
575 | label_x_open_issues_abbr: | |
576 | zero: 0 ouverte |
|
576 | zero: 0 ouverte | |
577 | one: 1 ouverte |
|
577 | one: 1 ouverte | |
578 | other: "%{count} ouvertes" |
|
578 | other: "%{count} ouvertes" | |
579 | label_x_closed_issues_abbr: |
|
579 | label_x_closed_issues_abbr: | |
580 | zero: 0 fermΓ©e |
|
580 | zero: 0 fermΓ©e | |
581 | one: 1 fermΓ©e |
|
581 | one: 1 fermΓ©e | |
582 | other: "%{count} fermΓ©es" |
|
582 | other: "%{count} fermΓ©es" | |
583 | label_x_issues: |
|
583 | label_x_issues: | |
584 | zero: 0 demande |
|
584 | zero: 0 demande | |
585 | one: 1 demande |
|
585 | one: 1 demande | |
586 | other: "%{count} demandes" |
|
586 | other: "%{count} demandes" | |
587 | label_total: Total |
|
587 | label_total: Total | |
588 | label_permissions: Permissions |
|
588 | label_permissions: Permissions | |
589 | label_current_status: Statut actuel |
|
589 | label_current_status: Statut actuel | |
590 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s |
|
590 | label_new_statuses_allowed: Nouveaux statuts autorisΓ©s | |
591 | label_all: tous |
|
591 | label_all: tous | |
592 | label_none: aucun |
|
592 | label_none: aucun | |
593 | label_nobody: personne |
|
593 | label_nobody: personne | |
594 | label_next: Suivant |
|
594 | label_next: Suivant | |
595 | label_previous: PrΓ©cΓ©dent |
|
595 | label_previous: PrΓ©cΓ©dent | |
596 | label_used_by: UtilisΓ© par |
|
596 | label_used_by: UtilisΓ© par | |
597 | label_details: DΓ©tails |
|
597 | label_details: DΓ©tails | |
598 | label_add_note: Ajouter une note |
|
598 | label_add_note: Ajouter une note | |
599 | label_per_page: Par page |
|
599 | label_per_page: Par page | |
600 | label_calendar: Calendrier |
|
600 | label_calendar: Calendrier | |
601 | label_months_from: mois depuis |
|
601 | label_months_from: mois depuis | |
602 | label_gantt: Gantt |
|
602 | label_gantt: Gantt | |
603 | label_internal: Interne |
|
603 | label_internal: Interne | |
604 | label_last_changes: "%{count} derniers changements" |
|
604 | label_last_changes: "%{count} derniers changements" | |
605 | label_change_view_all: Voir tous les changements |
|
605 | label_change_view_all: Voir tous les changements | |
606 | label_personalize_page: Personnaliser cette page |
|
606 | label_personalize_page: Personnaliser cette page | |
607 | label_comment: Commentaire |
|
607 | label_comment: Commentaire | |
608 | label_comment_plural: Commentaires |
|
608 | label_comment_plural: Commentaires | |
609 | label_x_comments: |
|
609 | label_x_comments: | |
610 | zero: aucun commentaire |
|
610 | zero: aucun commentaire | |
611 | one: un commentaire |
|
611 | one: un commentaire | |
612 | other: "%{count} commentaires" |
|
612 | other: "%{count} commentaires" | |
613 | label_comment_add: Ajouter un commentaire |
|
613 | label_comment_add: Ajouter un commentaire | |
614 | label_comment_added: Commentaire ajoutΓ© |
|
614 | label_comment_added: Commentaire ajoutΓ© | |
615 | label_comment_delete: Supprimer les commentaires |
|
615 | label_comment_delete: Supprimer les commentaires | |
616 | label_query: Rapport personnalisΓ© |
|
616 | label_query: Rapport personnalisΓ© | |
617 | label_query_plural: Rapports personnalisΓ©s |
|
617 | label_query_plural: Rapports personnalisΓ©s | |
618 | label_query_new: Nouveau rapport |
|
618 | label_query_new: Nouveau rapport | |
619 | label_my_queries: Mes rapports personnalisΓ©s |
|
619 | label_my_queries: Mes rapports personnalisΓ©s | |
620 | label_filter_add: "Ajouter le filtre " |
|
620 | label_filter_add: "Ajouter le filtre " | |
621 | label_filter_plural: Filtres |
|
621 | label_filter_plural: Filtres | |
622 | label_equals: Γ©gal |
|
622 | label_equals: Γ©gal | |
623 | label_not_equals: diffΓ©rent |
|
623 | label_not_equals: diffΓ©rent | |
624 | label_in_less_than: dans moins de |
|
624 | label_in_less_than: dans moins de | |
625 | label_in_more_than: dans plus de |
|
625 | label_in_more_than: dans plus de | |
626 | label_in: dans |
|
626 | label_in: dans | |
627 | label_today: aujourd'hui |
|
627 | label_today: aujourd'hui | |
628 | label_all_time: toute la pΓ©riode |
|
628 | label_all_time: toute la pΓ©riode | |
629 | label_yesterday: hier |
|
629 | label_yesterday: hier | |
630 | label_this_week: cette semaine |
|
630 | label_this_week: cette semaine | |
631 | label_last_week: la semaine dernière |
|
631 | label_last_week: la semaine dernière | |
632 | label_last_n_days: "les %{count} derniers jours" |
|
632 | label_last_n_days: "les %{count} derniers jours" | |
633 | label_this_month: ce mois-ci |
|
633 | label_this_month: ce mois-ci | |
634 | label_last_month: le mois dernier |
|
634 | label_last_month: le mois dernier | |
635 | label_this_year: cette annΓ©e |
|
635 | label_this_year: cette annΓ©e | |
636 | label_date_range: PΓ©riode |
|
636 | label_date_range: PΓ©riode | |
637 | label_less_than_ago: il y a moins de |
|
637 | label_less_than_ago: il y a moins de | |
638 | label_more_than_ago: il y a plus de |
|
638 | label_more_than_ago: il y a plus de | |
639 | label_ago: il y a |
|
639 | label_ago: il y a | |
640 | label_contains: contient |
|
640 | label_contains: contient | |
641 | label_not_contains: ne contient pas |
|
641 | label_not_contains: ne contient pas | |
642 | label_day_plural: jours |
|
642 | label_day_plural: jours | |
643 | label_repository: DΓ©pΓ΄t |
|
643 | label_repository: DΓ©pΓ΄t | |
644 | label_repository_new: Nouveau dΓ©pΓ΄t |
|
644 | label_repository_new: Nouveau dΓ©pΓ΄t | |
645 | label_repository_plural: DΓ©pΓ΄ts |
|
645 | label_repository_plural: DΓ©pΓ΄ts | |
646 | label_browse: Parcourir |
|
646 | label_browse: Parcourir | |
647 | label_modification: "%{count} modification" |
|
647 | label_modification: "%{count} modification" | |
648 | label_modification_plural: "%{count} modifications" |
|
648 | label_modification_plural: "%{count} modifications" | |
649 | label_revision: "RΓ©vision " |
|
649 | label_revision: "RΓ©vision " | |
650 | label_revision_plural: RΓ©visions |
|
650 | label_revision_plural: RΓ©visions | |
651 | label_associated_revisions: RΓ©visions associΓ©es |
|
651 | label_associated_revisions: RΓ©visions associΓ©es | |
652 | label_added: ajoutΓ© |
|
652 | label_added: ajoutΓ© | |
653 | label_modified: modifiΓ© |
|
653 | label_modified: modifiΓ© | |
654 | label_copied: copiΓ© |
|
654 | label_copied: copiΓ© | |
655 | label_renamed: renommΓ© |
|
655 | label_renamed: renommΓ© | |
656 | label_deleted: supprimΓ© |
|
656 | label_deleted: supprimΓ© | |
657 | label_latest_revision: Dernière révision |
|
657 | label_latest_revision: Dernière révision | |
658 | label_latest_revision_plural: Dernières révisions |
|
658 | label_latest_revision_plural: Dernières révisions | |
659 | label_view_revisions: Voir les rΓ©visions |
|
659 | label_view_revisions: Voir les rΓ©visions | |
660 | label_max_size: Taille maximale |
|
660 | label_max_size: Taille maximale | |
661 | label_sort_highest: Remonter en premier |
|
661 | label_sort_highest: Remonter en premier | |
662 | label_sort_higher: Remonter |
|
662 | label_sort_higher: Remonter | |
663 | label_sort_lower: Descendre |
|
663 | label_sort_lower: Descendre | |
664 | label_sort_lowest: Descendre en dernier |
|
664 | label_sort_lowest: Descendre en dernier | |
665 | label_roadmap: Roadmap |
|
665 | label_roadmap: Roadmap | |
666 | label_roadmap_due_in: "ΓchΓ©ance dans %{value}" |
|
666 | label_roadmap_due_in: "ΓchΓ©ance dans %{value}" | |
667 | label_roadmap_overdue: "En retard de %{value}" |
|
667 | label_roadmap_overdue: "En retard de %{value}" | |
668 | label_roadmap_no_issues: Aucune demande pour cette version |
|
668 | label_roadmap_no_issues: Aucune demande pour cette version | |
669 | label_search: "Recherche " |
|
669 | label_search: "Recherche " | |
670 | label_result_plural: RΓ©sultats |
|
670 | label_result_plural: RΓ©sultats | |
671 | label_all_words: Tous les mots |
|
671 | label_all_words: Tous les mots | |
672 | label_wiki: Wiki |
|
672 | label_wiki: Wiki | |
673 | label_wiki_edit: RΓ©vision wiki |
|
673 | label_wiki_edit: RΓ©vision wiki | |
674 | label_wiki_edit_plural: RΓ©visions wiki |
|
674 | label_wiki_edit_plural: RΓ©visions wiki | |
675 | label_wiki_page: Page wiki |
|
675 | label_wiki_page: Page wiki | |
676 | label_wiki_page_plural: Pages wiki |
|
676 | label_wiki_page_plural: Pages wiki | |
677 | label_index_by_title: Index par titre |
|
677 | label_index_by_title: Index par titre | |
678 | label_index_by_date: Index par date |
|
678 | label_index_by_date: Index par date | |
679 | label_current_version: Version actuelle |
|
679 | label_current_version: Version actuelle | |
680 | label_preview: PrΓ©visualisation |
|
680 | label_preview: PrΓ©visualisation | |
681 | label_feed_plural: Flux RSS |
|
681 | label_feed_plural: Flux RSS | |
682 | label_changes_details: DΓ©tails de tous les changements |
|
682 | label_changes_details: DΓ©tails de tous les changements | |
683 | label_issue_tracking: Suivi des demandes |
|
683 | label_issue_tracking: Suivi des demandes | |
684 | label_spent_time: Temps passΓ© |
|
684 | label_spent_time: Temps passΓ© | |
685 | label_f_hour: "%{value} heure" |
|
685 | label_f_hour: "%{value} heure" | |
686 | label_f_hour_plural: "%{value} heures" |
|
686 | label_f_hour_plural: "%{value} heures" | |
687 | label_time_tracking: Suivi du temps |
|
687 | label_time_tracking: Suivi du temps | |
688 | label_change_plural: Changements |
|
688 | label_change_plural: Changements | |
689 | label_statistics: Statistiques |
|
689 | label_statistics: Statistiques | |
690 | label_commits_per_month: Commits par mois |
|
690 | label_commits_per_month: Commits par mois | |
691 | label_commits_per_author: Commits par auteur |
|
691 | label_commits_per_author: Commits par auteur | |
692 | label_view_diff: Voir les diffΓ©rences |
|
692 | label_view_diff: Voir les diffΓ©rences | |
693 | label_diff_inline: en ligne |
|
693 | label_diff_inline: en ligne | |
694 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te |
|
694 | label_diff_side_by_side: cΓ΄te Γ cΓ΄te | |
695 | label_options: Options |
|
695 | label_options: Options | |
696 | label_copy_workflow_from: Copier le workflow de |
|
696 | label_copy_workflow_from: Copier le workflow de | |
697 | label_permissions_report: Synthèse des permissions |
|
697 | label_permissions_report: Synthèse des permissions | |
698 | label_watched_issues: Demandes surveillΓ©es |
|
698 | label_watched_issues: Demandes surveillΓ©es | |
699 | label_related_issues: Demandes liΓ©es |
|
699 | label_related_issues: Demandes liΓ©es | |
700 | label_applied_status: Statut appliquΓ© |
|
700 | label_applied_status: Statut appliquΓ© | |
701 | label_loading: Chargement... |
|
701 | label_loading: Chargement... | |
702 | label_relation_new: Nouvelle relation |
|
702 | label_relation_new: Nouvelle relation | |
703 | label_relation_delete: Supprimer la relation |
|
703 | label_relation_delete: Supprimer la relation | |
704 | label_relates_to: liΓ© Γ |
|
704 | label_relates_to: liΓ© Γ | |
705 | label_duplicates: duplique |
|
705 | label_duplicates: duplique | |
706 | label_duplicated_by: dupliquΓ© par |
|
706 | label_duplicated_by: dupliquΓ© par | |
707 | label_blocks: bloque |
|
707 | label_blocks: bloque | |
708 | label_blocked_by: bloquΓ© par |
|
708 | label_blocked_by: bloquΓ© par | |
709 | label_precedes: précède |
|
709 | label_precedes: précède | |
710 | label_follows: suit |
|
710 | label_follows: suit | |
711 | label_end_to_start: fin Γ dΓ©but |
|
711 | label_end_to_start: fin Γ dΓ©but | |
712 | label_end_to_end: fin Γ fin |
|
712 | label_end_to_end: fin Γ fin | |
713 | label_start_to_start: dΓ©but Γ dΓ©but |
|
713 | label_start_to_start: dΓ©but Γ dΓ©but | |
714 | label_start_to_end: dΓ©but Γ fin |
|
714 | label_start_to_end: dΓ©but Γ fin | |
715 | label_stay_logged_in: Rester connectΓ© |
|
715 | label_stay_logged_in: Rester connectΓ© | |
716 | label_disabled: dΓ©sactivΓ© |
|
716 | label_disabled: dΓ©sactivΓ© | |
717 | label_show_completed_versions: Voir les versions passΓ©es |
|
717 | label_show_completed_versions: Voir les versions passΓ©es | |
718 | label_me: moi |
|
718 | label_me: moi | |
719 | label_board: Forum |
|
719 | label_board: Forum | |
720 | label_board_new: Nouveau forum |
|
720 | label_board_new: Nouveau forum | |
721 | label_board_plural: Forums |
|
721 | label_board_plural: Forums | |
722 | label_topic_plural: Discussions |
|
722 | label_topic_plural: Discussions | |
723 | label_message_plural: Messages |
|
723 | label_message_plural: Messages | |
724 | label_message_last: Dernier message |
|
724 | label_message_last: Dernier message | |
725 | label_message_new: Nouveau message |
|
725 | label_message_new: Nouveau message | |
726 | label_message_posted: Message ajoutΓ© |
|
726 | label_message_posted: Message ajoutΓ© | |
727 | label_reply_plural: RΓ©ponses |
|
727 | label_reply_plural: RΓ©ponses | |
728 | label_send_information: Envoyer les informations Γ l'utilisateur |
|
728 | label_send_information: Envoyer les informations Γ l'utilisateur | |
729 | label_year: AnnΓ©e |
|
729 | label_year: AnnΓ©e | |
730 | label_month: Mois |
|
730 | label_month: Mois | |
731 | label_week: Semaine |
|
731 | label_week: Semaine | |
732 | label_date_from: Du |
|
732 | label_date_from: Du | |
733 | label_date_to: Au |
|
733 | label_date_to: Au | |
734 | label_language_based: BasΓ© sur la langue de l'utilisateur |
|
734 | label_language_based: BasΓ© sur la langue de l'utilisateur | |
735 | label_sort_by: "Trier par %{value}" |
|
735 | label_sort_by: "Trier par %{value}" | |
736 | label_send_test_email: Envoyer un email de test |
|
736 | label_send_test_email: Envoyer un email de test | |
737 | label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a %{value}" |
|
737 | label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a %{value}" | |
738 | label_module_plural: Modules |
|
738 | label_module_plural: Modules | |
739 | label_added_time_by: "AjoutΓ© par %{author} il y a %{age}" |
|
739 | label_added_time_by: "AjoutΓ© par %{author} il y a %{age}" | |
740 | label_updated_time_by: "Mis Γ jour par %{author} il y a %{age}" |
|
740 | label_updated_time_by: "Mis Γ jour par %{author} il y a %{age}" | |
741 | label_updated_time: "Mis Γ jour il y a %{value}" |
|
741 | label_updated_time: "Mis Γ jour il y a %{value}" | |
742 | label_jump_to_a_project: Aller Γ un projet... |
|
742 | label_jump_to_a_project: Aller Γ un projet... | |
743 | label_file_plural: Fichiers |
|
743 | label_file_plural: Fichiers | |
744 | label_changeset_plural: RΓ©visions |
|
744 | label_changeset_plural: RΓ©visions | |
745 | label_default_columns: Colonnes par dΓ©faut |
|
745 | label_default_columns: Colonnes par dΓ©faut | |
746 | label_no_change_option: (Pas de changement) |
|
746 | label_no_change_option: (Pas de changement) | |
747 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es |
|
747 | label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es | |
748 | label_theme: Thème |
|
748 | label_theme: Thème | |
749 | label_default: DΓ©faut |
|
749 | label_default: DΓ©faut | |
750 | label_search_titles_only: Uniquement dans les titres |
|
750 | label_search_titles_only: Uniquement dans les titres | |
751 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" |
|
751 | label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets" | |
752 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." |
|
752 | label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..." | |
753 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" |
|
753 | label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue" | |
754 | label_registration_activation_by_email: activation du compte par email |
|
754 | label_registration_activation_by_email: activation du compte par email | |
755 | label_registration_manual_activation: activation manuelle du compte |
|
755 | label_registration_manual_activation: activation manuelle du compte | |
756 | label_registration_automatic_activation: activation automatique du compte |
|
756 | label_registration_automatic_activation: activation automatique du compte | |
757 | label_display_per_page: "Par page : %{value}" |
|
757 | label_display_per_page: "Par page : %{value}" | |
758 | label_age: Γge |
|
758 | label_age: Γge | |
759 | label_change_properties: Changer les propriΓ©tΓ©s |
|
759 | label_change_properties: Changer les propriΓ©tΓ©s | |
760 | label_general: GΓ©nΓ©ral |
|
760 | label_general: GΓ©nΓ©ral | |
761 | label_more: Plus |
|
761 | label_more: Plus | |
762 | label_scm: SCM |
|
762 | label_scm: SCM | |
763 | label_plugins: Plugins |
|
763 | label_plugins: Plugins | |
764 | label_ldap_authentication: Authentification LDAP |
|
764 | label_ldap_authentication: Authentification LDAP | |
765 | label_downloads_abbr: D/L |
|
765 | label_downloads_abbr: D/L | |
766 | label_optional_description: Description facultative |
|
766 | label_optional_description: Description facultative | |
767 | label_add_another_file: Ajouter un autre fichier |
|
767 | label_add_another_file: Ajouter un autre fichier | |
768 | label_preferences: PrΓ©fΓ©rences |
|
768 | label_preferences: PrΓ©fΓ©rences | |
769 | label_chronological_order: Dans l'ordre chronologique |
|
769 | label_chronological_order: Dans l'ordre chronologique | |
770 | label_reverse_chronological_order: Dans l'ordre chronologique inverse |
|
770 | label_reverse_chronological_order: Dans l'ordre chronologique inverse | |
771 | label_planning: Planning |
|
771 | label_planning: Planning | |
772 | label_incoming_emails: Emails entrants |
|
772 | label_incoming_emails: Emails entrants | |
773 | label_generate_key: GΓ©nΓ©rer une clΓ© |
|
773 | label_generate_key: GΓ©nΓ©rer une clΓ© | |
774 | label_issue_watchers: Observateurs |
|
774 | label_issue_watchers: Observateurs | |
775 | label_example: Exemple |
|
775 | label_example: Exemple | |
776 | label_display: Affichage |
|
776 | label_display: Affichage | |
777 | label_sort: Tri |
|
777 | label_sort: Tri | |
778 | label_ascending: Croissant |
|
778 | label_ascending: Croissant | |
779 | label_descending: DΓ©croissant |
|
779 | label_descending: DΓ©croissant | |
780 | label_date_from_to: Du %{start} au %{end} |
|
780 | label_date_from_to: Du %{start} au %{end} | |
781 | label_wiki_content_added: Page wiki ajoutΓ©e |
|
781 | label_wiki_content_added: Page wiki ajoutΓ©e | |
782 | label_wiki_content_updated: Page wiki mise Γ jour |
|
782 | label_wiki_content_updated: Page wiki mise Γ jour | |
783 | label_group_plural: Groupes |
|
783 | label_group_plural: Groupes | |
784 | label_group: Groupe |
|
784 | label_group: Groupe | |
785 | label_group_new: Nouveau groupe |
|
785 | label_group_new: Nouveau groupe | |
786 | label_time_entry_plural: Temps passΓ© |
|
786 | label_time_entry_plural: Temps passΓ© | |
787 | label_version_sharing_none: Non partagΓ© |
|
787 | label_version_sharing_none: Non partagΓ© | |
788 | label_version_sharing_descendants: Avec les sous-projets |
|
788 | label_version_sharing_descendants: Avec les sous-projets | |
789 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie |
|
789 | label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie | |
790 | label_version_sharing_tree: Avec tout l'arbre |
|
790 | label_version_sharing_tree: Avec tout l'arbre | |
791 | label_version_sharing_system: Avec tous les projets |
|
791 | label_version_sharing_system: Avec tous les projets | |
792 | label_copy_source: Source |
|
792 | label_copy_source: Source | |
793 | label_copy_target: Cible |
|
793 | label_copy_target: Cible | |
794 | label_copy_same_as_target: Comme la cible |
|
794 | label_copy_same_as_target: Comme la cible | |
795 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes |
|
795 | label_update_issue_done_ratios: Mettre Γ jour l'avancement des demandes | |
796 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker |
|
796 | label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker | |
797 | label_api_access_key: Clé d'accès API |
|
797 | label_api_access_key: Clé d'accès API | |
798 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} |
|
798 | label_api_access_key_created_on: Clé d'accès API créée il y a %{value} | |
799 | label_feeds_access_key: Clé d'accès RSS |
|
799 | label_feeds_access_key: Clé d'accès RSS | |
800 | label_missing_api_access_key: Clé d'accès API manquante |
|
800 | label_missing_api_access_key: Clé d'accès API manquante | |
801 | label_missing_feeds_access_key: Clé d'accès RSS manquante |
|
801 | label_missing_feeds_access_key: Clé d'accès RSS manquante | |
802 | label_close_versions: Fermer les versions terminΓ©es |
|
802 | label_close_versions: Fermer les versions terminΓ©es | |
803 | label_revision_id: RΓ©vision %{value} |
|
803 | label_revision_id: RΓ©vision %{value} | |
804 | label_profile: Profil |
|
804 | label_profile: Profil | |
805 | label_subtask_plural: Sous-tΓ’ches |
|
805 | label_subtask_plural: Sous-tΓ’ches | |
806 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet |
|
806 | label_project_copy_notifications: Envoyer les notifications durant la copie du projet | |
807 | label_principal_search: "Rechercher un utilisateur ou un groupe :" |
|
807 | label_principal_search: "Rechercher un utilisateur ou un groupe :" | |
808 | label_user_search: "Rechercher un utilisateur :" |
|
808 | label_user_search: "Rechercher un utilisateur :" | |
809 | label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande |
|
809 | label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande | |
810 | label_additional_workflow_transitions_for_assignee: Autorisations supplΓ©mentaires lorsque la demande est assignΓ©e Γ l'utilisateur |
|
810 | label_additional_workflow_transitions_for_assignee: Autorisations supplΓ©mentaires lorsque la demande est assignΓ©e Γ l'utilisateur | |
811 | label_issues_visibility_all: Toutes les demandes |
|
811 | label_issues_visibility_all: Toutes les demandes | |
812 | label_issues_visibility_public: Toutes les demandes non privΓ©es |
|
812 | label_issues_visibility_public: Toutes les demandes non privΓ©es | |
813 | label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur |
|
813 | label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur | |
814 | label_export_options: Options d'exportation %{export_format} |
|
814 | label_export_options: Options d'exportation %{export_format} | |
815 | label_copy_attachments: Copier les fichiers |
|
815 | label_copy_attachments: Copier les fichiers | |
816 | label_item_position: %{position} sur %{count} |
|
816 | label_item_position: %{position} sur %{count} | |
817 | label_completed_versions: Versions passΓ©es |
|
817 | label_completed_versions: Versions passΓ©es | |
818 |
|
818 | |||
819 | button_login: Connexion |
|
819 | button_login: Connexion | |
820 | button_submit: Soumettre |
|
820 | button_submit: Soumettre | |
821 | button_save: Sauvegarder |
|
821 | button_save: Sauvegarder | |
822 | button_check_all: Tout cocher |
|
822 | button_check_all: Tout cocher | |
823 | button_uncheck_all: Tout dΓ©cocher |
|
823 | button_uncheck_all: Tout dΓ©cocher | |
824 | button_collapse_all: Plier tout |
|
824 | button_collapse_all: Plier tout | |
825 | button_expand_all: DΓ©plier tout |
|
825 | button_expand_all: DΓ©plier tout | |
826 | button_delete: Supprimer |
|
826 | button_delete: Supprimer | |
827 | button_create: CrΓ©er |
|
827 | button_create: CrΓ©er | |
828 | button_create_and_continue: CrΓ©er et continuer |
|
828 | button_create_and_continue: CrΓ©er et continuer | |
829 | button_test: Tester |
|
829 | button_test: Tester | |
830 | button_edit: Modifier |
|
830 | button_edit: Modifier | |
831 | button_add: Ajouter |
|
831 | button_add: Ajouter | |
832 | button_change: Changer |
|
832 | button_change: Changer | |
833 | button_apply: Appliquer |
|
833 | button_apply: Appliquer | |
834 | button_clear: Effacer |
|
834 | button_clear: Effacer | |
835 | button_lock: Verrouiller |
|
835 | button_lock: Verrouiller | |
836 | button_unlock: DΓ©verrouiller |
|
836 | button_unlock: DΓ©verrouiller | |
837 | button_download: TΓ©lΓ©charger |
|
837 | button_download: TΓ©lΓ©charger | |
838 | button_list: Lister |
|
838 | button_list: Lister | |
839 | button_view: Voir |
|
839 | button_view: Voir | |
840 | button_move: DΓ©placer |
|
840 | button_move: DΓ©placer | |
841 | button_move_and_follow: DΓ©placer et suivre |
|
841 | button_move_and_follow: DΓ©placer et suivre | |
842 | button_back: Retour |
|
842 | button_back: Retour | |
843 | button_cancel: Annuler |
|
843 | button_cancel: Annuler | |
844 | button_activate: Activer |
|
844 | button_activate: Activer | |
845 | button_sort: Trier |
|
845 | button_sort: Trier | |
846 | button_log_time: Saisir temps |
|
846 | button_log_time: Saisir temps | |
847 | button_rollback: Revenir Γ cette version |
|
847 | button_rollback: Revenir Γ cette version | |
848 | button_watch: Surveiller |
|
848 | button_watch: Surveiller | |
849 | button_unwatch: Ne plus surveiller |
|
849 | button_unwatch: Ne plus surveiller | |
850 | button_reply: RΓ©pondre |
|
850 | button_reply: RΓ©pondre | |
851 | button_archive: Archiver |
|
851 | button_archive: Archiver | |
852 | button_unarchive: DΓ©sarchiver |
|
852 | button_unarchive: DΓ©sarchiver | |
853 | button_reset: RΓ©initialiser |
|
853 | button_reset: RΓ©initialiser | |
854 | button_rename: Renommer |
|
854 | button_rename: Renommer | |
855 | button_change_password: Changer de mot de passe |
|
855 | button_change_password: Changer de mot de passe | |
856 | button_copy: Copier |
|
856 | button_copy: Copier | |
857 | button_copy_and_follow: Copier et suivre |
|
857 | button_copy_and_follow: Copier et suivre | |
858 | button_annotate: Annoter |
|
858 | button_annotate: Annoter | |
859 | button_update: Mettre Γ jour |
|
859 | button_update: Mettre Γ jour | |
860 | button_configure: Configurer |
|
860 | button_configure: Configurer | |
861 | button_quote: Citer |
|
861 | button_quote: Citer | |
862 | button_duplicate: Dupliquer |
|
862 | button_duplicate: Dupliquer | |
863 | button_show: Afficher |
|
863 | button_show: Afficher | |
864 | button_edit_section: Modifier cette section |
|
864 | button_edit_section: Modifier cette section | |
865 | button_export: Exporter |
|
865 | button_export: Exporter | |
866 |
|
866 | |||
867 | status_active: actif |
|
867 | status_active: actif | |
868 | status_registered: enregistrΓ© |
|
868 | status_registered: enregistrΓ© | |
869 | status_locked: verrouillΓ© |
|
869 | status_locked: verrouillΓ© | |
870 |
|
870 | |||
871 | version_status_open: ouvert |
|
871 | version_status_open: ouvert | |
872 | version_status_locked: verrouillΓ© |
|
872 | version_status_locked: verrouillΓ© | |
873 | version_status_closed: fermΓ© |
|
873 | version_status_closed: fermΓ© | |
874 |
|
874 | |||
875 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e |
|
875 | text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e | |
876 | text_regexp_info: ex. ^[A-Z0-9]+$ |
|
876 | text_regexp_info: ex. ^[A-Z0-9]+$ | |
877 | text_min_max_length_info: 0 pour aucune restriction |
|
877 | text_min_max_length_info: 0 pour aucune restriction | |
878 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? |
|
878 | text_project_destroy_confirmation: Γtes-vous sΓ»r de vouloir supprimer ce projet et toutes ses donnΓ©es ? | |
879 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s." |
|
879 | text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s." | |
880 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow |
|
880 | text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow | |
881 | text_are_you_sure: Γtes-vous sΓ»r ? |
|
881 | text_are_you_sure: Γtes-vous sΓ»r ? | |
882 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour |
|
882 | text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour | |
883 | text_tip_issue_end_day: tΓ’che finissant ce jour |
|
883 | text_tip_issue_end_day: tΓ’che finissant ce jour | |
884 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour |
|
884 | text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour | |
885 |
text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres et |
|
885 | text_project_identifier_info: 'Seuls les lettres minuscules (a-z), chiffres, tirets et underscore sont autorisΓ©s.<br />Un fois sauvegardΓ©, l''identifiant ne pourra plus Γͺtre modifiΓ©.' | |
886 | text_caracters_maximum: "%{count} caractères maximum." |
|
886 | text_caracters_maximum: "%{count} caractères maximum." | |
887 | text_caracters_minimum: "%{count} caractères minimum." |
|
887 | text_caracters_minimum: "%{count} caractères minimum." | |
888 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." |
|
888 | text_length_between: "Longueur comprise entre %{min} et %{max} caractères." | |
889 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker |
|
889 | text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker | |
890 | text_unallowed_characters: Caractères non autorisés |
|
890 | text_unallowed_characters: Caractères non autorisés | |
891 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). |
|
891 | text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules). | |
892 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). |
|
892 | text_line_separated: Plusieurs valeurs possibles (une valeur par ligne). | |
893 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits |
|
893 | text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits | |
894 | text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}." |
|
894 | text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}." | |
895 | text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ jour par %{author}." |
|
895 | text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ jour par %{author}." | |
896 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? |
|
896 | text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ? | |
897 | text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ cette catΓ©gorie. Que voulez-vous faire ?" |
|
897 | text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ cette catΓ©gorie. Que voulez-vous faire ?" | |
898 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie |
|
898 | text_issue_category_destroy_assignments: N'affecter les demandes Γ aucune autre catΓ©gorie | |
899 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie |
|
899 | text_issue_category_reassign_to: RΓ©affecter les demandes Γ cette catΓ©gorie | |
900 | 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)." |
|
900 | 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)." | |
901 | 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Γ©." |
|
901 | 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Γ©." | |
902 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut |
|
902 | text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut | |
903 | text_status_changed_by_changeset: "AppliquΓ© par commit %{value}." |
|
903 | text_status_changed_by_changeset: "AppliquΓ© par commit %{value}." | |
904 | text_time_logged_by_changeset: "AppliquΓ© par commit %{value}" |
|
904 | text_time_logged_by_changeset: "AppliquΓ© par commit %{value}" | |
905 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer la ou les demandes(s) selectionnΓ©e(s) ?' |
|
905 | text_issues_destroy_confirmation: 'Γtes-vous sΓ»r de vouloir supprimer la ou les demandes(s) selectionnΓ©e(s) ?' | |
906 | text_issues_destroy_descendants_confirmation: "Cela entrainera Γ©galement la suppression de %{count} sous-tΓ’che(s)." |
|
906 | text_issues_destroy_descendants_confirmation: "Cela entrainera Γ©galement la suppression de %{count} sous-tΓ’che(s)." | |
907 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' |
|
907 | text_select_project_modules: 'SΓ©lectionner les modules Γ activer pour ce projet :' | |
908 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© |
|
908 | text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ© | |
909 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture |
|
909 | text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture | |
910 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture |
|
910 | text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture | |
911 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) |
|
911 | text_rmagick_available: Bibliothèque RMagick présente (optionnelle) | |
912 | text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" |
|
912 | text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ supprimer. Que voulez-vous faire ?" | |
913 | text_destroy_time_entries: Supprimer les heures |
|
913 | text_destroy_time_entries: Supprimer les heures | |
914 | text_assign_time_entries_to_project: Reporter les heures sur le projet |
|
914 | text_assign_time_entries_to_project: Reporter les heures sur le projet | |
915 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' |
|
915 | text_reassign_time_entries: 'Reporter les heures sur cette demande:' | |
916 | text_user_wrote: "%{value} a Γ©crit :" |
|
916 | text_user_wrote: "%{value} a Γ©crit :" | |
917 | text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ %{count} objets." |
|
917 | text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ %{count} objets." | |
918 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' |
|
918 | text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ cette valeur:' | |
919 | 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." |
|
919 | 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." | |
920 | 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." |
|
920 | 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." | |
921 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' |
|
921 | text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.' | |
922 | text_custom_field_possible_values_info: 'Une ligne par valeur' |
|
922 | text_custom_field_possible_values_info: 'Une ligne par valeur' | |
923 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" |
|
923 | text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?" | |
924 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" |
|
924 | text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines" | |
925 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" |
|
925 | text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes" | |
926 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" |
|
926 | text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ cette page" | |
927 | 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 ?" |
|
927 | 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 ?" | |
928 | text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page." |
|
928 | text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page." | |
929 |
|
929 | |||
930 | default_role_manager: "Manager " |
|
930 | default_role_manager: "Manager " | |
931 | default_role_developer: "DΓ©veloppeur " |
|
931 | default_role_developer: "DΓ©veloppeur " | |
932 | default_role_reporter: "Rapporteur " |
|
932 | default_role_reporter: "Rapporteur " | |
933 | default_tracker_bug: Anomalie |
|
933 | default_tracker_bug: Anomalie | |
934 | default_tracker_feature: Evolution |
|
934 | default_tracker_feature: Evolution | |
935 | default_tracker_support: Assistance |
|
935 | default_tracker_support: Assistance | |
936 | default_issue_status_new: Nouveau |
|
936 | default_issue_status_new: Nouveau | |
937 | default_issue_status_in_progress: En cours |
|
937 | default_issue_status_in_progress: En cours | |
938 | default_issue_status_resolved: RΓ©solu |
|
938 | default_issue_status_resolved: RΓ©solu | |
939 | default_issue_status_feedback: Commentaire |
|
939 | default_issue_status_feedback: Commentaire | |
940 | default_issue_status_closed: FermΓ© |
|
940 | default_issue_status_closed: FermΓ© | |
941 | default_issue_status_rejected: RejetΓ© |
|
941 | default_issue_status_rejected: RejetΓ© | |
942 | default_doc_category_user: Documentation utilisateur |
|
942 | default_doc_category_user: Documentation utilisateur | |
943 | default_doc_category_tech: Documentation technique |
|
943 | default_doc_category_tech: Documentation technique | |
944 | default_priority_low: Bas |
|
944 | default_priority_low: Bas | |
945 | default_priority_normal: Normal |
|
945 | default_priority_normal: Normal | |
946 | default_priority_high: Haut |
|
946 | default_priority_high: Haut | |
947 | default_priority_urgent: Urgent |
|
947 | default_priority_urgent: Urgent | |
948 | default_priority_immediate: ImmΓ©diat |
|
948 | default_priority_immediate: ImmΓ©diat | |
949 | default_activity_design: Conception |
|
949 | default_activity_design: Conception | |
950 | default_activity_development: DΓ©veloppement |
|
950 | default_activity_development: DΓ©veloppement | |
951 |
|
951 | |||
952 | enumeration_issue_priorities: PrioritΓ©s des demandes |
|
952 | enumeration_issue_priorities: PrioritΓ©s des demandes | |
953 | enumeration_doc_categories: CatΓ©gories des documents |
|
953 | enumeration_doc_categories: CatΓ©gories des documents | |
954 | enumeration_activities: ActivitΓ©s (suivi du temps) |
|
954 | enumeration_activities: ActivitΓ©s (suivi du temps) | |
955 | label_greater_or_equal: ">=" |
|
955 | label_greater_or_equal: ">=" | |
956 | label_less_or_equal: "<=" |
|
956 | label_less_or_equal: "<=" | |
957 | label_between: entre |
|
957 | label_between: entre | |
958 | label_view_all_revisions: Voir toutes les rΓ©visions |
|
958 | label_view_all_revisions: Voir toutes les rΓ©visions | |
959 | label_tag: Tag |
|
959 | label_tag: Tag | |
960 | label_branch: Branche |
|
960 | label_branch: Branche | |
961 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." |
|
961 | error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ ce projet. VΓ©rifier la configuration du projet." | |
962 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." |
|
962 | error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)." | |
963 | text_journal_changed: "%{label} changΓ© de %{old} Γ %{new}" |
|
963 | text_journal_changed: "%{label} changΓ© de %{old} Γ %{new}" | |
964 | text_journal_changed_no_detail: "%{label} mis Γ jour" |
|
964 | text_journal_changed_no_detail: "%{label} mis Γ jour" | |
965 | text_journal_set_to: "%{label} mis Γ %{value}" |
|
965 | text_journal_set_to: "%{label} mis Γ %{value}" | |
966 | text_journal_deleted: "%{label} %{old} supprimΓ©" |
|
966 | text_journal_deleted: "%{label} %{old} supprimΓ©" | |
967 | text_journal_added: "%{label} %{value} ajoutΓ©" |
|
967 | text_journal_added: "%{label} %{value} ajoutΓ©" | |
968 | enumeration_system_activity: Activité système |
|
968 | enumeration_system_activity: Activité système | |
969 | label_board_sticky: Sticky |
|
969 | label_board_sticky: Sticky | |
970 | label_board_locked: VerrouillΓ© |
|
970 | label_board_locked: VerrouillΓ© | |
971 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande |
|
971 | error_unable_delete_issue_status: Impossible de supprimer le statut de demande | |
972 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© |
|
972 | error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ© | |
973 | error_unable_to_connect: Connexion impossible (%{value}) |
|
973 | error_unable_to_connect: Connexion impossible (%{value}) | |
974 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. |
|
974 | error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©. | |
975 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. |
|
975 | error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©. | |
976 | field_principal: Principal |
|
976 | field_principal: Principal | |
977 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." |
|
977 | notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}." | |
978 | text_zoom_out: Zoom arrière |
|
978 | text_zoom_out: Zoom arrière | |
979 | text_zoom_in: Zoom avant |
|
979 | text_zoom_in: Zoom avant | |
980 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. |
|
980 | notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©. | |
981 | label_overall_spent_time: Temps passΓ© global |
|
981 | label_overall_spent_time: Temps passΓ© global | |
982 | field_time_entries: Temps passΓ© |
|
982 | field_time_entries: Temps passΓ© | |
983 | project_module_gantt: Gantt |
|
983 | project_module_gantt: Gantt | |
984 | project_module_calendar: Calendrier |
|
984 | project_module_calendar: Calendrier | |
985 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}" |
|
985 | button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}" | |
986 | text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ? |
|
986 | text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ? | |
987 | field_text: Champ texte |
|
987 | field_text: Champ texte | |
988 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé |
|
988 | label_user_mail_option_only_owner: Seulement pour ce que j'ai créé | |
989 | setting_default_notification_option: Option de notification par dΓ©faut |
|
989 | setting_default_notification_option: Option de notification par dΓ©faut | |
990 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille |
|
990 | label_user_mail_option_only_my_events: Seulement pour ce que je surveille | |
991 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© |
|
991 | label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ© | |
992 | label_user_mail_option_none: Aucune notification |
|
992 | label_user_mail_option_none: Aucune notification | |
993 | field_member_of_group: Groupe de l'assignΓ© |
|
993 | field_member_of_group: Groupe de l'assignΓ© | |
994 | field_assigned_to_role: RΓ΄le de l'assignΓ© |
|
994 | field_assigned_to_role: RΓ΄le de l'assignΓ© | |
995 | setting_emails_header: En-tΓͺte des emails |
|
995 | setting_emails_header: En-tΓͺte des emails | |
996 | label_bulk_edit_selected_time_entries: Modifier les temps passΓ©s sΓ©lectionnΓ©s |
|
996 | label_bulk_edit_selected_time_entries: Modifier les temps passΓ©s sΓ©lectionnΓ©s | |
997 | text_time_entries_destroy_confirmation: "Etes-vous sΓ»r de vouloir supprimer les temps passΓ©s sΓ©lectionnΓ©s ?" |
|
997 | text_time_entries_destroy_confirmation: "Etes-vous sΓ»r de vouloir supprimer les temps passΓ©s sΓ©lectionnΓ©s ?" | |
998 | field_scm_path_encoding: Encodage des chemins |
|
998 | field_scm_path_encoding: Encodage des chemins | |
999 | text_scm_path_encoding_note: "DΓ©faut : UTF-8" |
|
999 | text_scm_path_encoding_note: "DΓ©faut : UTF-8" | |
1000 | field_path_to_repository: Chemin du dΓ©pΓ΄t |
|
1000 | field_path_to_repository: Chemin du dΓ©pΓ΄t | |
1001 | field_root_directory: RΓ©pertoire racine |
|
1001 | field_root_directory: RΓ©pertoire racine | |
1002 | field_cvs_module: Module |
|
1002 | field_cvs_module: Module | |
1003 | field_cvsroot: CVSROOT |
|
1003 | field_cvsroot: CVSROOT | |
1004 | text_mercurial_repository_note: "DΓ©pΓ΄t local (exemples : /hgrepo, c:\\hgrepo)" |
|
1004 | text_mercurial_repository_note: "DΓ©pΓ΄t local (exemples : /hgrepo, c:\\hgrepo)" | |
1005 | text_scm_command: Commande |
|
1005 | text_scm_command: Commande | |
1006 | text_scm_command_version: Version |
|
1006 | text_scm_command_version: Version | |
1007 | label_git_report_last_commit: Afficher le dernier commit des fichiers et rΓ©pertoires |
|
1007 | label_git_report_last_commit: Afficher le dernier commit des fichiers et rΓ©pertoires | |
1008 | text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification. |
|
1008 | text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification. | |
1009 | text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration. |
|
1009 | text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration. | |
1010 | label_diff: diff |
|
1010 | label_diff: diff | |
1011 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) |
|
1011 | text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) | |
1012 | description_query_sort_criteria_direction: Ordre de tri |
|
1012 | description_query_sort_criteria_direction: Ordre de tri | |
1013 | description_project_scope: Périmètre de recherche |
|
1013 | description_project_scope: Périmètre de recherche | |
1014 | description_filter: Filtre |
|
1014 | description_filter: Filtre | |
1015 | description_user_mail_notification: Option de notification |
|
1015 | description_user_mail_notification: Option de notification | |
1016 | description_date_from: Date de dΓ©but |
|
1016 | description_date_from: Date de dΓ©but | |
1017 | description_message_content: Contenu du message |
|
1017 | description_message_content: Contenu du message | |
1018 | description_available_columns: Colonnes disponibles |
|
1018 | description_available_columns: Colonnes disponibles | |
1019 | description_all_columns: Toutes les colonnes |
|
1019 | description_all_columns: Toutes les colonnes | |
1020 | description_date_range_interval: Choisir une pΓ©riode |
|
1020 | description_date_range_interval: Choisir une pΓ©riode | |
1021 | description_issue_category_reassign: Choisir une catΓ©gorie |
|
1021 | description_issue_category_reassign: Choisir une catΓ©gorie | |
1022 | description_search: Champ de recherche |
|
1022 | description_search: Champ de recherche | |
1023 | description_notes: Notes |
|
1023 | description_notes: Notes | |
1024 | description_date_range_list: Choisir une pΓ©riode prΓ©dΓ©finie |
|
1024 | description_date_range_list: Choisir une pΓ©riode prΓ©dΓ©finie | |
1025 | description_choose_project: Projets |
|
1025 | description_choose_project: Projets | |
1026 | description_date_to: Date de fin |
|
1026 | description_date_to: Date de fin | |
1027 | description_query_sort_criteria_attribute: Critère de tri |
|
1027 | description_query_sort_criteria_attribute: Critère de tri | |
1028 | description_wiki_subpages_reassign: Choisir une nouvelle page parent |
|
1028 | description_wiki_subpages_reassign: Choisir une nouvelle page parent | |
1029 | description_selected_columns: Colonnes sΓ©lectionnΓ©es |
|
1029 | description_selected_columns: Colonnes sΓ©lectionnΓ©es | |
1030 | label_parent_revision: Parent |
|
1030 | label_parent_revision: Parent | |
1031 | label_child_revision: Enfant |
|
1031 | label_child_revision: Enfant | |
1032 | error_scm_annotate_big_text_file: Cette entrΓ©e ne peut pas Γͺtre annotΓ©e car elle excΓ¨de la taille maximale. |
|
1032 | error_scm_annotate_big_text_file: Cette entrΓ©e ne peut pas Γͺtre annotΓ©e car elle excΓ¨de la taille maximale. | |
1033 | setting_repositories_encodings: Encodages des fichiers et des dΓ©pΓ΄ts |
|
1033 | setting_repositories_encodings: Encodages des fichiers et des dΓ©pΓ΄ts |
@@ -1,1171 +1,1172 | |||||
1 | # Redmine - project management software |
|
1 | # Redmine - project management software | |
2 | # Copyright (C) 2006-2011 Jean-Philippe Lang |
|
2 | # Copyright (C) 2006-2011 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 ProjectTest < ActiveSupport::TestCase |
|
20 | class ProjectTest < ActiveSupport::TestCase | |
21 | fixtures :projects, :trackers, :issue_statuses, :issues, |
|
21 | fixtures :projects, :trackers, :issue_statuses, :issues, | |
22 | :journals, :journal_details, |
|
22 | :journals, :journal_details, | |
23 | :enumerations, :users, :issue_categories, |
|
23 | :enumerations, :users, :issue_categories, | |
24 | :projects_trackers, |
|
24 | :projects_trackers, | |
25 | :custom_fields, |
|
25 | :custom_fields, | |
26 | :custom_fields_projects, |
|
26 | :custom_fields_projects, | |
27 | :custom_fields_trackers, |
|
27 | :custom_fields_trackers, | |
28 | :custom_values, |
|
28 | :custom_values, | |
29 | :roles, |
|
29 | :roles, | |
30 | :member_roles, |
|
30 | :member_roles, | |
31 | :members, |
|
31 | :members, | |
32 | :enabled_modules, |
|
32 | :enabled_modules, | |
33 | :workflows, |
|
33 | :workflows, | |
34 | :versions, |
|
34 | :versions, | |
35 | :wikis, :wiki_pages, :wiki_contents, :wiki_content_versions, |
|
35 | :wikis, :wiki_pages, :wiki_contents, :wiki_content_versions, | |
36 | :groups_users, |
|
36 | :groups_users, | |
37 | :boards, |
|
37 | :boards, | |
38 | :repositories |
|
38 | :repositories | |
39 |
|
39 | |||
40 | def setup |
|
40 | def setup | |
41 | @ecookbook = Project.find(1) |
|
41 | @ecookbook = Project.find(1) | |
42 | @ecookbook_sub1 = Project.find(3) |
|
42 | @ecookbook_sub1 = Project.find(3) | |
43 | set_tmp_attachments_directory |
|
43 | set_tmp_attachments_directory | |
44 | User.current = nil |
|
44 | User.current = nil | |
45 | end |
|
45 | end | |
46 |
|
46 | |||
47 | should_validate_presence_of :name |
|
47 | should_validate_presence_of :name | |
48 | should_validate_presence_of :identifier |
|
48 | should_validate_presence_of :identifier | |
49 |
|
49 | |||
50 | should_validate_uniqueness_of :identifier |
|
50 | should_validate_uniqueness_of :identifier | |
51 |
|
51 | |||
52 | context "associations" do |
|
52 | context "associations" do | |
53 | should_have_many :members |
|
53 | should_have_many :members | |
54 | should_have_many :users, :through => :members |
|
54 | should_have_many :users, :through => :members | |
55 | should_have_many :member_principals |
|
55 | should_have_many :member_principals | |
56 | should_have_many :principals, :through => :member_principals |
|
56 | should_have_many :principals, :through => :member_principals | |
57 | should_have_many :enabled_modules |
|
57 | should_have_many :enabled_modules | |
58 | should_have_many :issues |
|
58 | should_have_many :issues | |
59 | should_have_many :issue_changes, :through => :issues |
|
59 | should_have_many :issue_changes, :through => :issues | |
60 | should_have_many :versions |
|
60 | should_have_many :versions | |
61 | should_have_many :time_entries |
|
61 | should_have_many :time_entries | |
62 | should_have_many :queries |
|
62 | should_have_many :queries | |
63 | should_have_many :documents |
|
63 | should_have_many :documents | |
64 | should_have_many :news |
|
64 | should_have_many :news | |
65 | should_have_many :issue_categories |
|
65 | should_have_many :issue_categories | |
66 | should_have_many :boards |
|
66 | should_have_many :boards | |
67 | should_have_many :changesets, :through => :repository |
|
67 | should_have_many :changesets, :through => :repository | |
68 |
|
68 | |||
69 | should_have_one :repository |
|
69 | should_have_one :repository | |
70 | should_have_one :wiki |
|
70 | should_have_one :wiki | |
71 |
|
71 | |||
72 | should_have_and_belong_to_many :trackers |
|
72 | should_have_and_belong_to_many :trackers | |
73 | should_have_and_belong_to_many :issue_custom_fields |
|
73 | should_have_and_belong_to_many :issue_custom_fields | |
74 | end |
|
74 | end | |
75 |
|
75 | |||
76 | def test_truth |
|
76 | def test_truth | |
77 | assert_kind_of Project, @ecookbook |
|
77 | assert_kind_of Project, @ecookbook | |
78 | assert_equal "eCookbook", @ecookbook.name |
|
78 | assert_equal "eCookbook", @ecookbook.name | |
79 | end |
|
79 | end | |
80 |
|
80 | |||
81 | def test_default_attributes |
|
81 | def test_default_attributes | |
82 | with_settings :default_projects_public => '1' do |
|
82 | with_settings :default_projects_public => '1' do | |
83 | assert_equal true, Project.new.is_public |
|
83 | assert_equal true, Project.new.is_public | |
84 | assert_equal false, Project.new(:is_public => false).is_public |
|
84 | assert_equal false, Project.new(:is_public => false).is_public | |
85 | end |
|
85 | end | |
86 |
|
86 | |||
87 | with_settings :default_projects_public => '0' do |
|
87 | with_settings :default_projects_public => '0' do | |
88 | assert_equal false, Project.new.is_public |
|
88 | assert_equal false, Project.new.is_public | |
89 | assert_equal true, Project.new(:is_public => true).is_public |
|
89 | assert_equal true, Project.new(:is_public => true).is_public | |
90 | end |
|
90 | end | |
91 |
|
91 | |||
92 | with_settings :sequential_project_identifiers => '1' do |
|
92 | with_settings :sequential_project_identifiers => '1' do | |
93 | assert !Project.new.identifier.blank? |
|
93 | assert !Project.new.identifier.blank? | |
94 | assert Project.new(:identifier => '').identifier.blank? |
|
94 | assert Project.new(:identifier => '').identifier.blank? | |
95 | end |
|
95 | end | |
96 |
|
96 | |||
97 | with_settings :sequential_project_identifiers => '0' do |
|
97 | with_settings :sequential_project_identifiers => '0' do | |
98 | assert Project.new.identifier.blank? |
|
98 | assert Project.new.identifier.blank? | |
99 | assert !Project.new(:identifier => 'test').blank? |
|
99 | assert !Project.new(:identifier => 'test').blank? | |
100 | end |
|
100 | end | |
101 |
|
101 | |||
102 | with_settings :default_projects_modules => ['issue_tracking', 'repository'] do |
|
102 | with_settings :default_projects_modules => ['issue_tracking', 'repository'] do | |
103 | assert_equal ['issue_tracking', 'repository'], Project.new.enabled_module_names |
|
103 | assert_equal ['issue_tracking', 'repository'], Project.new.enabled_module_names | |
104 | end |
|
104 | end | |
105 |
|
105 | |||
106 | assert_equal Tracker.all, Project.new.trackers |
|
106 | assert_equal Tracker.all, Project.new.trackers | |
107 | assert_equal Tracker.find(1, 3), Project.new(:tracker_ids => [1, 3]).trackers |
|
107 | assert_equal Tracker.find(1, 3), Project.new(:tracker_ids => [1, 3]).trackers | |
108 | end |
|
108 | end | |
109 |
|
109 | |||
110 | def test_update |
|
110 | def test_update | |
111 | assert_equal "eCookbook", @ecookbook.name |
|
111 | assert_equal "eCookbook", @ecookbook.name | |
112 | @ecookbook.name = "eCook" |
|
112 | @ecookbook.name = "eCook" | |
113 | assert @ecookbook.save, @ecookbook.errors.full_messages.join("; ") |
|
113 | assert @ecookbook.save, @ecookbook.errors.full_messages.join("; ") | |
114 | @ecookbook.reload |
|
114 | @ecookbook.reload | |
115 | assert_equal "eCook", @ecookbook.name |
|
115 | assert_equal "eCook", @ecookbook.name | |
116 | end |
|
116 | end | |
117 |
|
117 | |||
118 | def test_validate_identifier |
|
118 | def test_validate_identifier | |
119 | to_test = {"abc" => true, |
|
119 | to_test = {"abc" => true, | |
120 | "ab12" => true, |
|
120 | "ab12" => true, | |
121 | "ab-12" => true, |
|
121 | "ab-12" => true, | |
|
122 | "ab_12" => true, | |||
122 | "12" => false, |
|
123 | "12" => false, | |
123 | "new" => false} |
|
124 | "new" => false} | |
124 |
|
125 | |||
125 | to_test.each do |identifier, valid| |
|
126 | to_test.each do |identifier, valid| | |
126 | p = Project.new |
|
127 | p = Project.new | |
127 | p.identifier = identifier |
|
128 | p.identifier = identifier | |
128 | p.valid? |
|
129 | p.valid? | |
129 | if valid |
|
130 | if valid | |
130 | assert p.errors['identifier'].blank?, "identifier #{identifier} was not valid" |
|
131 | assert p.errors['identifier'].blank?, "identifier #{identifier} was not valid" | |
131 | else |
|
132 | else | |
132 | assert p.errors['identifier'].present?, "identifier #{identifier} was valid" |
|
133 | assert p.errors['identifier'].present?, "identifier #{identifier} was valid" | |
133 | end |
|
134 | end | |
134 | end |
|
135 | end | |
135 | end |
|
136 | end | |
136 |
|
137 | |||
137 | def test_members_should_be_active_users |
|
138 | def test_members_should_be_active_users | |
138 | Project.all.each do |project| |
|
139 | Project.all.each do |project| | |
139 | assert_nil project.members.detect {|m| !(m.user.is_a?(User) && m.user.active?) } |
|
140 | assert_nil project.members.detect {|m| !(m.user.is_a?(User) && m.user.active?) } | |
140 | end |
|
141 | end | |
141 | end |
|
142 | end | |
142 |
|
143 | |||
143 | def test_users_should_be_active_users |
|
144 | def test_users_should_be_active_users | |
144 | Project.all.each do |project| |
|
145 | Project.all.each do |project| | |
145 | assert_nil project.users.detect {|u| !(u.is_a?(User) && u.active?) } |
|
146 | assert_nil project.users.detect {|u| !(u.is_a?(User) && u.active?) } | |
146 | end |
|
147 | end | |
147 | end |
|
148 | end | |
148 |
|
149 | |||
149 | def test_archive |
|
150 | def test_archive | |
150 | user = @ecookbook.members.first.user |
|
151 | user = @ecookbook.members.first.user | |
151 | @ecookbook.archive |
|
152 | @ecookbook.archive | |
152 | @ecookbook.reload |
|
153 | @ecookbook.reload | |
153 |
|
154 | |||
154 | assert !@ecookbook.active? |
|
155 | assert !@ecookbook.active? | |
155 | assert @ecookbook.archived? |
|
156 | assert @ecookbook.archived? | |
156 | assert !user.projects.include?(@ecookbook) |
|
157 | assert !user.projects.include?(@ecookbook) | |
157 | # Subproject are also archived |
|
158 | # Subproject are also archived | |
158 | assert !@ecookbook.children.empty? |
|
159 | assert !@ecookbook.children.empty? | |
159 | assert @ecookbook.descendants.active.empty? |
|
160 | assert @ecookbook.descendants.active.empty? | |
160 | end |
|
161 | end | |
161 |
|
162 | |||
162 | def test_archive_should_fail_if_versions_are_used_by_non_descendant_projects |
|
163 | def test_archive_should_fail_if_versions_are_used_by_non_descendant_projects | |
163 | # Assign an issue of a project to a version of a child project |
|
164 | # Assign an issue of a project to a version of a child project | |
164 | Issue.find(4).update_attribute :fixed_version_id, 4 |
|
165 | Issue.find(4).update_attribute :fixed_version_id, 4 | |
165 |
|
166 | |||
166 | assert_no_difference "Project.count(:all, :conditions => 'status = #{Project::STATUS_ARCHIVED}')" do |
|
167 | assert_no_difference "Project.count(:all, :conditions => 'status = #{Project::STATUS_ARCHIVED}')" do | |
167 | assert_equal false, @ecookbook.archive |
|
168 | assert_equal false, @ecookbook.archive | |
168 | end |
|
169 | end | |
169 | @ecookbook.reload |
|
170 | @ecookbook.reload | |
170 | assert @ecookbook.active? |
|
171 | assert @ecookbook.active? | |
171 | end |
|
172 | end | |
172 |
|
173 | |||
173 | def test_unarchive |
|
174 | def test_unarchive | |
174 | user = @ecookbook.members.first.user |
|
175 | user = @ecookbook.members.first.user | |
175 | @ecookbook.archive |
|
176 | @ecookbook.archive | |
176 | # A subproject of an archived project can not be unarchived |
|
177 | # A subproject of an archived project can not be unarchived | |
177 | assert !@ecookbook_sub1.unarchive |
|
178 | assert !@ecookbook_sub1.unarchive | |
178 |
|
179 | |||
179 | # Unarchive project |
|
180 | # Unarchive project | |
180 | assert @ecookbook.unarchive |
|
181 | assert @ecookbook.unarchive | |
181 | @ecookbook.reload |
|
182 | @ecookbook.reload | |
182 | assert @ecookbook.active? |
|
183 | assert @ecookbook.active? | |
183 | assert !@ecookbook.archived? |
|
184 | assert !@ecookbook.archived? | |
184 | assert user.projects.include?(@ecookbook) |
|
185 | assert user.projects.include?(@ecookbook) | |
185 | # Subproject can now be unarchived |
|
186 | # Subproject can now be unarchived | |
186 | @ecookbook_sub1.reload |
|
187 | @ecookbook_sub1.reload | |
187 | assert @ecookbook_sub1.unarchive |
|
188 | assert @ecookbook_sub1.unarchive | |
188 | end |
|
189 | end | |
189 |
|
190 | |||
190 | def test_destroy |
|
191 | def test_destroy | |
191 | # 2 active members |
|
192 | # 2 active members | |
192 | assert_equal 2, @ecookbook.members.size |
|
193 | assert_equal 2, @ecookbook.members.size | |
193 | # and 1 is locked |
|
194 | # and 1 is locked | |
194 | assert_equal 3, Member.find(:all, :conditions => ['project_id = ?', @ecookbook.id]).size |
|
195 | assert_equal 3, Member.find(:all, :conditions => ['project_id = ?', @ecookbook.id]).size | |
195 | # some boards |
|
196 | # some boards | |
196 | assert @ecookbook.boards.any? |
|
197 | assert @ecookbook.boards.any? | |
197 |
|
198 | |||
198 | @ecookbook.destroy |
|
199 | @ecookbook.destroy | |
199 | # make sure that the project non longer exists |
|
200 | # make sure that the project non longer exists | |
200 | assert_raise(ActiveRecord::RecordNotFound) { Project.find(@ecookbook.id) } |
|
201 | assert_raise(ActiveRecord::RecordNotFound) { Project.find(@ecookbook.id) } | |
201 | # make sure related data was removed |
|
202 | # make sure related data was removed | |
202 | assert_nil Member.first(:conditions => {:project_id => @ecookbook.id}) |
|
203 | assert_nil Member.first(:conditions => {:project_id => @ecookbook.id}) | |
203 | assert_nil Board.first(:conditions => {:project_id => @ecookbook.id}) |
|
204 | assert_nil Board.first(:conditions => {:project_id => @ecookbook.id}) | |
204 | assert_nil Issue.first(:conditions => {:project_id => @ecookbook.id}) |
|
205 | assert_nil Issue.first(:conditions => {:project_id => @ecookbook.id}) | |
205 | end |
|
206 | end | |
206 |
|
207 | |||
207 | def test_destroying_root_projects_should_clear_data |
|
208 | def test_destroying_root_projects_should_clear_data | |
208 | Project.roots.each do |root| |
|
209 | Project.roots.each do |root| | |
209 | root.destroy |
|
210 | root.destroy | |
210 | end |
|
211 | end | |
211 |
|
212 | |||
212 | assert_equal 0, Project.count, "Projects were not deleted: #{Project.all.inspect}" |
|
213 | assert_equal 0, Project.count, "Projects were not deleted: #{Project.all.inspect}" | |
213 | assert_equal 0, Member.count, "Members were not deleted: #{Member.all.inspect}" |
|
214 | assert_equal 0, Member.count, "Members were not deleted: #{Member.all.inspect}" | |
214 | assert_equal 0, MemberRole.count |
|
215 | assert_equal 0, MemberRole.count | |
215 | assert_equal 0, Issue.count |
|
216 | assert_equal 0, Issue.count | |
216 | assert_equal 0, Journal.count |
|
217 | assert_equal 0, Journal.count | |
217 | assert_equal 0, JournalDetail.count |
|
218 | assert_equal 0, JournalDetail.count | |
218 | assert_equal 0, Attachment.count |
|
219 | assert_equal 0, Attachment.count | |
219 | assert_equal 0, EnabledModule.count |
|
220 | assert_equal 0, EnabledModule.count | |
220 | assert_equal 0, IssueCategory.count |
|
221 | assert_equal 0, IssueCategory.count | |
221 | assert_equal 0, IssueRelation.count |
|
222 | assert_equal 0, IssueRelation.count | |
222 | assert_equal 0, Board.count |
|
223 | assert_equal 0, Board.count | |
223 | assert_equal 0, Message.count |
|
224 | assert_equal 0, Message.count | |
224 | assert_equal 0, News.count |
|
225 | assert_equal 0, News.count | |
225 | assert_equal 0, Query.count(:conditions => "project_id IS NOT NULL") |
|
226 | assert_equal 0, Query.count(:conditions => "project_id IS NOT NULL") | |
226 | assert_equal 0, Repository.count |
|
227 | assert_equal 0, Repository.count | |
227 | assert_equal 0, Changeset.count |
|
228 | assert_equal 0, Changeset.count | |
228 | assert_equal 0, Change.count |
|
229 | assert_equal 0, Change.count | |
229 | assert_equal 0, Comment.count |
|
230 | assert_equal 0, Comment.count | |
230 | assert_equal 0, TimeEntry.count |
|
231 | assert_equal 0, TimeEntry.count | |
231 | assert_equal 0, Version.count |
|
232 | assert_equal 0, Version.count | |
232 | assert_equal 0, Watcher.count |
|
233 | assert_equal 0, Watcher.count | |
233 | assert_equal 0, Wiki.count |
|
234 | assert_equal 0, Wiki.count | |
234 | assert_equal 0, WikiPage.count |
|
235 | assert_equal 0, WikiPage.count | |
235 | assert_equal 0, WikiContent.count |
|
236 | assert_equal 0, WikiContent.count | |
236 | assert_equal 0, WikiContent::Version.count |
|
237 | assert_equal 0, WikiContent::Version.count | |
237 | assert_equal 0, Project.connection.select_all("SELECT * FROM projects_trackers").size |
|
238 | assert_equal 0, Project.connection.select_all("SELECT * FROM projects_trackers").size | |
238 | assert_equal 0, Project.connection.select_all("SELECT * FROM custom_fields_projects").size |
|
239 | assert_equal 0, Project.connection.select_all("SELECT * FROM custom_fields_projects").size | |
239 | assert_equal 0, CustomValue.count(:conditions => {:customized_type => ['Project', 'Issue', 'TimeEntry', 'Version']}) |
|
240 | assert_equal 0, CustomValue.count(:conditions => {:customized_type => ['Project', 'Issue', 'TimeEntry', 'Version']}) | |
240 | end |
|
241 | end | |
241 |
|
242 | |||
242 | def test_move_an_orphan_project_to_a_root_project |
|
243 | def test_move_an_orphan_project_to_a_root_project | |
243 | sub = Project.find(2) |
|
244 | sub = Project.find(2) | |
244 | sub.set_parent! @ecookbook |
|
245 | sub.set_parent! @ecookbook | |
245 | assert_equal @ecookbook.id, sub.parent.id |
|
246 | assert_equal @ecookbook.id, sub.parent.id | |
246 | @ecookbook.reload |
|
247 | @ecookbook.reload | |
247 | assert_equal 4, @ecookbook.children.size |
|
248 | assert_equal 4, @ecookbook.children.size | |
248 | end |
|
249 | end | |
249 |
|
250 | |||
250 | def test_move_an_orphan_project_to_a_subproject |
|
251 | def test_move_an_orphan_project_to_a_subproject | |
251 | sub = Project.find(2) |
|
252 | sub = Project.find(2) | |
252 | assert sub.set_parent!(@ecookbook_sub1) |
|
253 | assert sub.set_parent!(@ecookbook_sub1) | |
253 | end |
|
254 | end | |
254 |
|
255 | |||
255 | def test_move_a_root_project_to_a_project |
|
256 | def test_move_a_root_project_to_a_project | |
256 | sub = @ecookbook |
|
257 | sub = @ecookbook | |
257 | assert sub.set_parent!(Project.find(2)) |
|
258 | assert sub.set_parent!(Project.find(2)) | |
258 | end |
|
259 | end | |
259 |
|
260 | |||
260 | def test_should_not_move_a_project_to_its_children |
|
261 | def test_should_not_move_a_project_to_its_children | |
261 | sub = @ecookbook |
|
262 | sub = @ecookbook | |
262 | assert !(sub.set_parent!(Project.find(3))) |
|
263 | assert !(sub.set_parent!(Project.find(3))) | |
263 | end |
|
264 | end | |
264 |
|
265 | |||
265 | def test_set_parent_should_add_roots_in_alphabetical_order |
|
266 | def test_set_parent_should_add_roots_in_alphabetical_order | |
266 | ProjectCustomField.delete_all |
|
267 | ProjectCustomField.delete_all | |
267 | Project.delete_all |
|
268 | Project.delete_all | |
268 | Project.create!(:name => 'Project C', :identifier => 'project-c').set_parent!(nil) |
|
269 | Project.create!(:name => 'Project C', :identifier => 'project-c').set_parent!(nil) | |
269 | Project.create!(:name => 'Project B', :identifier => 'project-b').set_parent!(nil) |
|
270 | Project.create!(:name => 'Project B', :identifier => 'project-b').set_parent!(nil) | |
270 | Project.create!(:name => 'Project D', :identifier => 'project-d').set_parent!(nil) |
|
271 | Project.create!(:name => 'Project D', :identifier => 'project-d').set_parent!(nil) | |
271 | Project.create!(:name => 'Project A', :identifier => 'project-a').set_parent!(nil) |
|
272 | Project.create!(:name => 'Project A', :identifier => 'project-a').set_parent!(nil) | |
272 |
|
273 | |||
273 | assert_equal 4, Project.count |
|
274 | assert_equal 4, Project.count | |
274 | assert_equal Project.all.sort_by(&:name), Project.all.sort_by(&:lft) |
|
275 | assert_equal Project.all.sort_by(&:name), Project.all.sort_by(&:lft) | |
275 | end |
|
276 | end | |
276 |
|
277 | |||
277 | def test_set_parent_should_add_children_in_alphabetical_order |
|
278 | def test_set_parent_should_add_children_in_alphabetical_order | |
278 | ProjectCustomField.delete_all |
|
279 | ProjectCustomField.delete_all | |
279 | parent = Project.create!(:name => 'Parent', :identifier => 'parent') |
|
280 | parent = Project.create!(:name => 'Parent', :identifier => 'parent') | |
280 | Project.create!(:name => 'Project C', :identifier => 'project-c').set_parent!(parent) |
|
281 | Project.create!(:name => 'Project C', :identifier => 'project-c').set_parent!(parent) | |
281 | Project.create!(:name => 'Project B', :identifier => 'project-b').set_parent!(parent) |
|
282 | Project.create!(:name => 'Project B', :identifier => 'project-b').set_parent!(parent) | |
282 | Project.create!(:name => 'Project D', :identifier => 'project-d').set_parent!(parent) |
|
283 | Project.create!(:name => 'Project D', :identifier => 'project-d').set_parent!(parent) | |
283 | Project.create!(:name => 'Project A', :identifier => 'project-a').set_parent!(parent) |
|
284 | Project.create!(:name => 'Project A', :identifier => 'project-a').set_parent!(parent) | |
284 |
|
285 | |||
285 | parent.reload |
|
286 | parent.reload | |
286 | assert_equal 4, parent.children.size |
|
287 | assert_equal 4, parent.children.size | |
287 | assert_equal parent.children.all.sort_by(&:name), parent.children.all |
|
288 | assert_equal parent.children.all.sort_by(&:name), parent.children.all | |
288 | end |
|
289 | end | |
289 |
|
290 | |||
290 | def test_rebuild_should_sort_children_alphabetically |
|
291 | def test_rebuild_should_sort_children_alphabetically | |
291 | ProjectCustomField.delete_all |
|
292 | ProjectCustomField.delete_all | |
292 | parent = Project.create!(:name => 'Parent', :identifier => 'parent') |
|
293 | parent = Project.create!(:name => 'Parent', :identifier => 'parent') | |
293 | Project.create!(:name => 'Project C', :identifier => 'project-c').move_to_child_of(parent) |
|
294 | Project.create!(:name => 'Project C', :identifier => 'project-c').move_to_child_of(parent) | |
294 | Project.create!(:name => 'Project B', :identifier => 'project-b').move_to_child_of(parent) |
|
295 | Project.create!(:name => 'Project B', :identifier => 'project-b').move_to_child_of(parent) | |
295 | Project.create!(:name => 'Project D', :identifier => 'project-d').move_to_child_of(parent) |
|
296 | Project.create!(:name => 'Project D', :identifier => 'project-d').move_to_child_of(parent) | |
296 | Project.create!(:name => 'Project A', :identifier => 'project-a').move_to_child_of(parent) |
|
297 | Project.create!(:name => 'Project A', :identifier => 'project-a').move_to_child_of(parent) | |
297 |
|
298 | |||
298 | Project.update_all("lft = NULL, rgt = NULL") |
|
299 | Project.update_all("lft = NULL, rgt = NULL") | |
299 | Project.rebuild! |
|
300 | Project.rebuild! | |
300 |
|
301 | |||
301 | parent.reload |
|
302 | parent.reload | |
302 | assert_equal 4, parent.children.size |
|
303 | assert_equal 4, parent.children.size | |
303 | assert_equal parent.children.all.sort_by(&:name), parent.children.all |
|
304 | assert_equal parent.children.all.sort_by(&:name), parent.children.all | |
304 | end |
|
305 | end | |
305 |
|
306 | |||
306 |
|
307 | |||
307 | def test_set_parent_should_update_issue_fixed_version_associations_when_a_fixed_version_is_moved_out_of_the_hierarchy |
|
308 | def test_set_parent_should_update_issue_fixed_version_associations_when_a_fixed_version_is_moved_out_of_the_hierarchy | |
308 | # Parent issue with a hierarchy project's fixed version |
|
309 | # Parent issue with a hierarchy project's fixed version | |
309 | parent_issue = Issue.find(1) |
|
310 | parent_issue = Issue.find(1) | |
310 | parent_issue.update_attribute(:fixed_version_id, 4) |
|
311 | parent_issue.update_attribute(:fixed_version_id, 4) | |
311 | parent_issue.reload |
|
312 | parent_issue.reload | |
312 | assert_equal 4, parent_issue.fixed_version_id |
|
313 | assert_equal 4, parent_issue.fixed_version_id | |
313 |
|
314 | |||
314 | # Should keep fixed versions for the issues |
|
315 | # Should keep fixed versions for the issues | |
315 | issue_with_local_fixed_version = Issue.find(5) |
|
316 | issue_with_local_fixed_version = Issue.find(5) | |
316 | issue_with_local_fixed_version.update_attribute(:fixed_version_id, 4) |
|
317 | issue_with_local_fixed_version.update_attribute(:fixed_version_id, 4) | |
317 | issue_with_local_fixed_version.reload |
|
318 | issue_with_local_fixed_version.reload | |
318 | assert_equal 4, issue_with_local_fixed_version.fixed_version_id |
|
319 | assert_equal 4, issue_with_local_fixed_version.fixed_version_id | |
319 |
|
320 | |||
320 | # Local issue with hierarchy fixed_version |
|
321 | # Local issue with hierarchy fixed_version | |
321 | issue_with_hierarchy_fixed_version = Issue.find(13) |
|
322 | issue_with_hierarchy_fixed_version = Issue.find(13) | |
322 | issue_with_hierarchy_fixed_version.update_attribute(:fixed_version_id, 6) |
|
323 | issue_with_hierarchy_fixed_version.update_attribute(:fixed_version_id, 6) | |
323 | issue_with_hierarchy_fixed_version.reload |
|
324 | issue_with_hierarchy_fixed_version.reload | |
324 | assert_equal 6, issue_with_hierarchy_fixed_version.fixed_version_id |
|
325 | assert_equal 6, issue_with_hierarchy_fixed_version.fixed_version_id | |
325 |
|
326 | |||
326 | # Move project out of the issue's hierarchy |
|
327 | # Move project out of the issue's hierarchy | |
327 | moved_project = Project.find(3) |
|
328 | moved_project = Project.find(3) | |
328 | moved_project.set_parent!(Project.find(2)) |
|
329 | moved_project.set_parent!(Project.find(2)) | |
329 | parent_issue.reload |
|
330 | parent_issue.reload | |
330 | issue_with_local_fixed_version.reload |
|
331 | issue_with_local_fixed_version.reload | |
331 | issue_with_hierarchy_fixed_version.reload |
|
332 | issue_with_hierarchy_fixed_version.reload | |
332 |
|
333 | |||
333 | assert_equal 4, issue_with_local_fixed_version.fixed_version_id, "Fixed version was not keep on an issue local to the moved project" |
|
334 | assert_equal 4, issue_with_local_fixed_version.fixed_version_id, "Fixed version was not keep on an issue local to the moved project" | |
334 | assert_equal nil, issue_with_hierarchy_fixed_version.fixed_version_id, "Fixed version is still set after moving the Project out of the hierarchy where the version is defined in" |
|
335 | assert_equal nil, issue_with_hierarchy_fixed_version.fixed_version_id, "Fixed version is still set after moving the Project out of the hierarchy where the version is defined in" | |
335 | assert_equal nil, parent_issue.fixed_version_id, "Fixed version is still set after moving the Version out of the hierarchy for the issue." |
|
336 | assert_equal nil, parent_issue.fixed_version_id, "Fixed version is still set after moving the Version out of the hierarchy for the issue." | |
336 | end |
|
337 | end | |
337 |
|
338 | |||
338 | def test_parent |
|
339 | def test_parent | |
339 | p = Project.find(6).parent |
|
340 | p = Project.find(6).parent | |
340 | assert p.is_a?(Project) |
|
341 | assert p.is_a?(Project) | |
341 | assert_equal 5, p.id |
|
342 | assert_equal 5, p.id | |
342 | end |
|
343 | end | |
343 |
|
344 | |||
344 | def test_ancestors |
|
345 | def test_ancestors | |
345 | a = Project.find(6).ancestors |
|
346 | a = Project.find(6).ancestors | |
346 | assert a.first.is_a?(Project) |
|
347 | assert a.first.is_a?(Project) | |
347 | assert_equal [1, 5], a.collect(&:id) |
|
348 | assert_equal [1, 5], a.collect(&:id) | |
348 | end |
|
349 | end | |
349 |
|
350 | |||
350 | def test_root |
|
351 | def test_root | |
351 | r = Project.find(6).root |
|
352 | r = Project.find(6).root | |
352 | assert r.is_a?(Project) |
|
353 | assert r.is_a?(Project) | |
353 | assert_equal 1, r.id |
|
354 | assert_equal 1, r.id | |
354 | end |
|
355 | end | |
355 |
|
356 | |||
356 | def test_children |
|
357 | def test_children | |
357 | c = Project.find(1).children |
|
358 | c = Project.find(1).children | |
358 | assert c.first.is_a?(Project) |
|
359 | assert c.first.is_a?(Project) | |
359 | assert_equal [5, 3, 4], c.collect(&:id) |
|
360 | assert_equal [5, 3, 4], c.collect(&:id) | |
360 | end |
|
361 | end | |
361 |
|
362 | |||
362 | def test_descendants |
|
363 | def test_descendants | |
363 | d = Project.find(1).descendants |
|
364 | d = Project.find(1).descendants | |
364 | assert d.first.is_a?(Project) |
|
365 | assert d.first.is_a?(Project) | |
365 | assert_equal [5, 6, 3, 4], d.collect(&:id) |
|
366 | assert_equal [5, 6, 3, 4], d.collect(&:id) | |
366 | end |
|
367 | end | |
367 |
|
368 | |||
368 | def test_allowed_parents_should_be_empty_for_non_member_user |
|
369 | def test_allowed_parents_should_be_empty_for_non_member_user | |
369 | Role.non_member.add_permission!(:add_project) |
|
370 | Role.non_member.add_permission!(:add_project) | |
370 | user = User.find(9) |
|
371 | user = User.find(9) | |
371 | assert user.memberships.empty? |
|
372 | assert user.memberships.empty? | |
372 | User.current = user |
|
373 | User.current = user | |
373 | assert Project.new.allowed_parents.compact.empty? |
|
374 | assert Project.new.allowed_parents.compact.empty? | |
374 | end |
|
375 | end | |
375 |
|
376 | |||
376 | def test_allowed_parents_with_add_subprojects_permission |
|
377 | def test_allowed_parents_with_add_subprojects_permission | |
377 | Role.find(1).remove_permission!(:add_project) |
|
378 | Role.find(1).remove_permission!(:add_project) | |
378 | Role.find(1).add_permission!(:add_subprojects) |
|
379 | Role.find(1).add_permission!(:add_subprojects) | |
379 | User.current = User.find(2) |
|
380 | User.current = User.find(2) | |
380 | # new project |
|
381 | # new project | |
381 | assert !Project.new.allowed_parents.include?(nil) |
|
382 | assert !Project.new.allowed_parents.include?(nil) | |
382 | assert Project.new.allowed_parents.include?(Project.find(1)) |
|
383 | assert Project.new.allowed_parents.include?(Project.find(1)) | |
383 | # existing root project |
|
384 | # existing root project | |
384 | assert Project.find(1).allowed_parents.include?(nil) |
|
385 | assert Project.find(1).allowed_parents.include?(nil) | |
385 | # existing child |
|
386 | # existing child | |
386 | assert Project.find(3).allowed_parents.include?(Project.find(1)) |
|
387 | assert Project.find(3).allowed_parents.include?(Project.find(1)) | |
387 | assert !Project.find(3).allowed_parents.include?(nil) |
|
388 | assert !Project.find(3).allowed_parents.include?(nil) | |
388 | end |
|
389 | end | |
389 |
|
390 | |||
390 | def test_allowed_parents_with_add_project_permission |
|
391 | def test_allowed_parents_with_add_project_permission | |
391 | Role.find(1).add_permission!(:add_project) |
|
392 | Role.find(1).add_permission!(:add_project) | |
392 | Role.find(1).remove_permission!(:add_subprojects) |
|
393 | Role.find(1).remove_permission!(:add_subprojects) | |
393 | User.current = User.find(2) |
|
394 | User.current = User.find(2) | |
394 | # new project |
|
395 | # new project | |
395 | assert Project.new.allowed_parents.include?(nil) |
|
396 | assert Project.new.allowed_parents.include?(nil) | |
396 | assert !Project.new.allowed_parents.include?(Project.find(1)) |
|
397 | assert !Project.new.allowed_parents.include?(Project.find(1)) | |
397 | # existing root project |
|
398 | # existing root project | |
398 | assert Project.find(1).allowed_parents.include?(nil) |
|
399 | assert Project.find(1).allowed_parents.include?(nil) | |
399 | # existing child |
|
400 | # existing child | |
400 | assert Project.find(3).allowed_parents.include?(Project.find(1)) |
|
401 | assert Project.find(3).allowed_parents.include?(Project.find(1)) | |
401 | assert Project.find(3).allowed_parents.include?(nil) |
|
402 | assert Project.find(3).allowed_parents.include?(nil) | |
402 | end |
|
403 | end | |
403 |
|
404 | |||
404 | def test_allowed_parents_with_add_project_and_subprojects_permission |
|
405 | def test_allowed_parents_with_add_project_and_subprojects_permission | |
405 | Role.find(1).add_permission!(:add_project) |
|
406 | Role.find(1).add_permission!(:add_project) | |
406 | Role.find(1).add_permission!(:add_subprojects) |
|
407 | Role.find(1).add_permission!(:add_subprojects) | |
407 | User.current = User.find(2) |
|
408 | User.current = User.find(2) | |
408 | # new project |
|
409 | # new project | |
409 | assert Project.new.allowed_parents.include?(nil) |
|
410 | assert Project.new.allowed_parents.include?(nil) | |
410 | assert Project.new.allowed_parents.include?(Project.find(1)) |
|
411 | assert Project.new.allowed_parents.include?(Project.find(1)) | |
411 | # existing root project |
|
412 | # existing root project | |
412 | assert Project.find(1).allowed_parents.include?(nil) |
|
413 | assert Project.find(1).allowed_parents.include?(nil) | |
413 | # existing child |
|
414 | # existing child | |
414 | assert Project.find(3).allowed_parents.include?(Project.find(1)) |
|
415 | assert Project.find(3).allowed_parents.include?(Project.find(1)) | |
415 | assert Project.find(3).allowed_parents.include?(nil) |
|
416 | assert Project.find(3).allowed_parents.include?(nil) | |
416 | end |
|
417 | end | |
417 |
|
418 | |||
418 | def test_users_by_role |
|
419 | def test_users_by_role | |
419 | users_by_role = Project.find(1).users_by_role |
|
420 | users_by_role = Project.find(1).users_by_role | |
420 | assert_kind_of Hash, users_by_role |
|
421 | assert_kind_of Hash, users_by_role | |
421 | role = Role.find(1) |
|
422 | role = Role.find(1) | |
422 | assert_kind_of Array, users_by_role[role] |
|
423 | assert_kind_of Array, users_by_role[role] | |
423 | assert users_by_role[role].include?(User.find(2)) |
|
424 | assert users_by_role[role].include?(User.find(2)) | |
424 | end |
|
425 | end | |
425 |
|
426 | |||
426 | def test_rolled_up_trackers |
|
427 | def test_rolled_up_trackers | |
427 | parent = Project.find(1) |
|
428 | parent = Project.find(1) | |
428 | parent.trackers = Tracker.find([1,2]) |
|
429 | parent.trackers = Tracker.find([1,2]) | |
429 | child = parent.children.find(3) |
|
430 | child = parent.children.find(3) | |
430 |
|
431 | |||
431 | assert_equal [1, 2], parent.tracker_ids |
|
432 | assert_equal [1, 2], parent.tracker_ids | |
432 | assert_equal [2, 3], child.trackers.collect(&:id) |
|
433 | assert_equal [2, 3], child.trackers.collect(&:id) | |
433 |
|
434 | |||
434 | assert_kind_of Tracker, parent.rolled_up_trackers.first |
|
435 | assert_kind_of Tracker, parent.rolled_up_trackers.first | |
435 | assert_equal Tracker.find(1), parent.rolled_up_trackers.first |
|
436 | assert_equal Tracker.find(1), parent.rolled_up_trackers.first | |
436 |
|
437 | |||
437 | assert_equal [1, 2, 3], parent.rolled_up_trackers.collect(&:id) |
|
438 | assert_equal [1, 2, 3], parent.rolled_up_trackers.collect(&:id) | |
438 | assert_equal [2, 3], child.rolled_up_trackers.collect(&:id) |
|
439 | assert_equal [2, 3], child.rolled_up_trackers.collect(&:id) | |
439 | end |
|
440 | end | |
440 |
|
441 | |||
441 | def test_rolled_up_trackers_should_ignore_archived_subprojects |
|
442 | def test_rolled_up_trackers_should_ignore_archived_subprojects | |
442 | parent = Project.find(1) |
|
443 | parent = Project.find(1) | |
443 | parent.trackers = Tracker.find([1,2]) |
|
444 | parent.trackers = Tracker.find([1,2]) | |
444 | child = parent.children.find(3) |
|
445 | child = parent.children.find(3) | |
445 | child.trackers = Tracker.find([1,3]) |
|
446 | child.trackers = Tracker.find([1,3]) | |
446 | parent.children.each(&:archive) |
|
447 | parent.children.each(&:archive) | |
447 |
|
448 | |||
448 | assert_equal [1,2], parent.rolled_up_trackers.collect(&:id) |
|
449 | assert_equal [1,2], parent.rolled_up_trackers.collect(&:id) | |
449 | end |
|
450 | end | |
450 |
|
451 | |||
451 | context "#rolled_up_versions" do |
|
452 | context "#rolled_up_versions" do | |
452 | setup do |
|
453 | setup do | |
453 | @project = Project.generate! |
|
454 | @project = Project.generate! | |
454 | @parent_version_1 = Version.generate!(:project => @project) |
|
455 | @parent_version_1 = Version.generate!(:project => @project) | |
455 | @parent_version_2 = Version.generate!(:project => @project) |
|
456 | @parent_version_2 = Version.generate!(:project => @project) | |
456 | end |
|
457 | end | |
457 |
|
458 | |||
458 | should "include the versions for the current project" do |
|
459 | should "include the versions for the current project" do | |
459 | assert_same_elements [@parent_version_1, @parent_version_2], @project.rolled_up_versions |
|
460 | assert_same_elements [@parent_version_1, @parent_version_2], @project.rolled_up_versions | |
460 | end |
|
461 | end | |
461 |
|
462 | |||
462 | should "include versions for a subproject" do |
|
463 | should "include versions for a subproject" do | |
463 | @subproject = Project.generate! |
|
464 | @subproject = Project.generate! | |
464 | @subproject.set_parent!(@project) |
|
465 | @subproject.set_parent!(@project) | |
465 | @subproject_version = Version.generate!(:project => @subproject) |
|
466 | @subproject_version = Version.generate!(:project => @subproject) | |
466 |
|
467 | |||
467 | assert_same_elements [ |
|
468 | assert_same_elements [ | |
468 | @parent_version_1, |
|
469 | @parent_version_1, | |
469 | @parent_version_2, |
|
470 | @parent_version_2, | |
470 | @subproject_version |
|
471 | @subproject_version | |
471 | ], @project.rolled_up_versions |
|
472 | ], @project.rolled_up_versions | |
472 | end |
|
473 | end | |
473 |
|
474 | |||
474 | should "include versions for a sub-subproject" do |
|
475 | should "include versions for a sub-subproject" do | |
475 | @subproject = Project.generate! |
|
476 | @subproject = Project.generate! | |
476 | @subproject.set_parent!(@project) |
|
477 | @subproject.set_parent!(@project) | |
477 | @sub_subproject = Project.generate! |
|
478 | @sub_subproject = Project.generate! | |
478 | @sub_subproject.set_parent!(@subproject) |
|
479 | @sub_subproject.set_parent!(@subproject) | |
479 | @sub_subproject_version = Version.generate!(:project => @sub_subproject) |
|
480 | @sub_subproject_version = Version.generate!(:project => @sub_subproject) | |
480 |
|
481 | |||
481 | @project.reload |
|
482 | @project.reload | |
482 |
|
483 | |||
483 | assert_same_elements [ |
|
484 | assert_same_elements [ | |
484 | @parent_version_1, |
|
485 | @parent_version_1, | |
485 | @parent_version_2, |
|
486 | @parent_version_2, | |
486 | @sub_subproject_version |
|
487 | @sub_subproject_version | |
487 | ], @project.rolled_up_versions |
|
488 | ], @project.rolled_up_versions | |
488 | end |
|
489 | end | |
489 |
|
490 | |||
490 | should "only check active projects" do |
|
491 | should "only check active projects" do | |
491 | @subproject = Project.generate! |
|
492 | @subproject = Project.generate! | |
492 | @subproject.set_parent!(@project) |
|
493 | @subproject.set_parent!(@project) | |
493 | @subproject_version = Version.generate!(:project => @subproject) |
|
494 | @subproject_version = Version.generate!(:project => @subproject) | |
494 | assert @subproject.archive |
|
495 | assert @subproject.archive | |
495 |
|
496 | |||
496 | @project.reload |
|
497 | @project.reload | |
497 |
|
498 | |||
498 | assert !@subproject.active? |
|
499 | assert !@subproject.active? | |
499 | assert_same_elements [@parent_version_1, @parent_version_2], @project.rolled_up_versions |
|
500 | assert_same_elements [@parent_version_1, @parent_version_2], @project.rolled_up_versions | |
500 | end |
|
501 | end | |
501 | end |
|
502 | end | |
502 |
|
503 | |||
503 | def test_shared_versions_none_sharing |
|
504 | def test_shared_versions_none_sharing | |
504 | p = Project.find(5) |
|
505 | p = Project.find(5) | |
505 | v = Version.create!(:name => 'none_sharing', :project => p, :sharing => 'none') |
|
506 | v = Version.create!(:name => 'none_sharing', :project => p, :sharing => 'none') | |
506 | assert p.shared_versions.include?(v) |
|
507 | assert p.shared_versions.include?(v) | |
507 | assert !p.children.first.shared_versions.include?(v) |
|
508 | assert !p.children.first.shared_versions.include?(v) | |
508 | assert !p.root.shared_versions.include?(v) |
|
509 | assert !p.root.shared_versions.include?(v) | |
509 | assert !p.siblings.first.shared_versions.include?(v) |
|
510 | assert !p.siblings.first.shared_versions.include?(v) | |
510 | assert !p.root.siblings.first.shared_versions.include?(v) |
|
511 | assert !p.root.siblings.first.shared_versions.include?(v) | |
511 | end |
|
512 | end | |
512 |
|
513 | |||
513 | def test_shared_versions_descendants_sharing |
|
514 | def test_shared_versions_descendants_sharing | |
514 | p = Project.find(5) |
|
515 | p = Project.find(5) | |
515 | v = Version.create!(:name => 'descendants_sharing', :project => p, :sharing => 'descendants') |
|
516 | v = Version.create!(:name => 'descendants_sharing', :project => p, :sharing => 'descendants') | |
516 | assert p.shared_versions.include?(v) |
|
517 | assert p.shared_versions.include?(v) | |
517 | assert p.children.first.shared_versions.include?(v) |
|
518 | assert p.children.first.shared_versions.include?(v) | |
518 | assert !p.root.shared_versions.include?(v) |
|
519 | assert !p.root.shared_versions.include?(v) | |
519 | assert !p.siblings.first.shared_versions.include?(v) |
|
520 | assert !p.siblings.first.shared_versions.include?(v) | |
520 | assert !p.root.siblings.first.shared_versions.include?(v) |
|
521 | assert !p.root.siblings.first.shared_versions.include?(v) | |
521 | end |
|
522 | end | |
522 |
|
523 | |||
523 | def test_shared_versions_hierarchy_sharing |
|
524 | def test_shared_versions_hierarchy_sharing | |
524 | p = Project.find(5) |
|
525 | p = Project.find(5) | |
525 | v = Version.create!(:name => 'hierarchy_sharing', :project => p, :sharing => 'hierarchy') |
|
526 | v = Version.create!(:name => 'hierarchy_sharing', :project => p, :sharing => 'hierarchy') | |
526 | assert p.shared_versions.include?(v) |
|
527 | assert p.shared_versions.include?(v) | |
527 | assert p.children.first.shared_versions.include?(v) |
|
528 | assert p.children.first.shared_versions.include?(v) | |
528 | assert p.root.shared_versions.include?(v) |
|
529 | assert p.root.shared_versions.include?(v) | |
529 | assert !p.siblings.first.shared_versions.include?(v) |
|
530 | assert !p.siblings.first.shared_versions.include?(v) | |
530 | assert !p.root.siblings.first.shared_versions.include?(v) |
|
531 | assert !p.root.siblings.first.shared_versions.include?(v) | |
531 | end |
|
532 | end | |
532 |
|
533 | |||
533 | def test_shared_versions_tree_sharing |
|
534 | def test_shared_versions_tree_sharing | |
534 | p = Project.find(5) |
|
535 | p = Project.find(5) | |
535 | v = Version.create!(:name => 'tree_sharing', :project => p, :sharing => 'tree') |
|
536 | v = Version.create!(:name => 'tree_sharing', :project => p, :sharing => 'tree') | |
536 | assert p.shared_versions.include?(v) |
|
537 | assert p.shared_versions.include?(v) | |
537 | assert p.children.first.shared_versions.include?(v) |
|
538 | assert p.children.first.shared_versions.include?(v) | |
538 | assert p.root.shared_versions.include?(v) |
|
539 | assert p.root.shared_versions.include?(v) | |
539 | assert p.siblings.first.shared_versions.include?(v) |
|
540 | assert p.siblings.first.shared_versions.include?(v) | |
540 | assert !p.root.siblings.first.shared_versions.include?(v) |
|
541 | assert !p.root.siblings.first.shared_versions.include?(v) | |
541 | end |
|
542 | end | |
542 |
|
543 | |||
543 | def test_shared_versions_system_sharing |
|
544 | def test_shared_versions_system_sharing | |
544 | p = Project.find(5) |
|
545 | p = Project.find(5) | |
545 | v = Version.create!(:name => 'system_sharing', :project => p, :sharing => 'system') |
|
546 | v = Version.create!(:name => 'system_sharing', :project => p, :sharing => 'system') | |
546 | assert p.shared_versions.include?(v) |
|
547 | assert p.shared_versions.include?(v) | |
547 | assert p.children.first.shared_versions.include?(v) |
|
548 | assert p.children.first.shared_versions.include?(v) | |
548 | assert p.root.shared_versions.include?(v) |
|
549 | assert p.root.shared_versions.include?(v) | |
549 | assert p.siblings.first.shared_versions.include?(v) |
|
550 | assert p.siblings.first.shared_versions.include?(v) | |
550 | assert p.root.siblings.first.shared_versions.include?(v) |
|
551 | assert p.root.siblings.first.shared_versions.include?(v) | |
551 | end |
|
552 | end | |
552 |
|
553 | |||
553 | def test_shared_versions |
|
554 | def test_shared_versions | |
554 | parent = Project.find(1) |
|
555 | parent = Project.find(1) | |
555 | child = parent.children.find(3) |
|
556 | child = parent.children.find(3) | |
556 | private_child = parent.children.find(5) |
|
557 | private_child = parent.children.find(5) | |
557 |
|
558 | |||
558 | assert_equal [1,2,3], parent.version_ids.sort |
|
559 | assert_equal [1,2,3], parent.version_ids.sort | |
559 | assert_equal [4], child.version_ids |
|
560 | assert_equal [4], child.version_ids | |
560 | assert_equal [6], private_child.version_ids |
|
561 | assert_equal [6], private_child.version_ids | |
561 | assert_equal [7], Version.find_all_by_sharing('system').collect(&:id) |
|
562 | assert_equal [7], Version.find_all_by_sharing('system').collect(&:id) | |
562 |
|
563 | |||
563 | assert_equal 6, parent.shared_versions.size |
|
564 | assert_equal 6, parent.shared_versions.size | |
564 | parent.shared_versions.each do |version| |
|
565 | parent.shared_versions.each do |version| | |
565 | assert_kind_of Version, version |
|
566 | assert_kind_of Version, version | |
566 | end |
|
567 | end | |
567 |
|
568 | |||
568 | assert_equal [1,2,3,4,6,7], parent.shared_versions.collect(&:id).sort |
|
569 | assert_equal [1,2,3,4,6,7], parent.shared_versions.collect(&:id).sort | |
569 | end |
|
570 | end | |
570 |
|
571 | |||
571 | def test_shared_versions_should_ignore_archived_subprojects |
|
572 | def test_shared_versions_should_ignore_archived_subprojects | |
572 | parent = Project.find(1) |
|
573 | parent = Project.find(1) | |
573 | child = parent.children.find(3) |
|
574 | child = parent.children.find(3) | |
574 | child.archive |
|
575 | child.archive | |
575 | parent.reload |
|
576 | parent.reload | |
576 |
|
577 | |||
577 | assert_equal [1,2,3], parent.version_ids.sort |
|
578 | assert_equal [1,2,3], parent.version_ids.sort | |
578 | assert_equal [4], child.version_ids |
|
579 | assert_equal [4], child.version_ids | |
579 | assert !parent.shared_versions.collect(&:id).include?(4) |
|
580 | assert !parent.shared_versions.collect(&:id).include?(4) | |
580 | end |
|
581 | end | |
581 |
|
582 | |||
582 | def test_shared_versions_visible_to_user |
|
583 | def test_shared_versions_visible_to_user | |
583 | user = User.find(3) |
|
584 | user = User.find(3) | |
584 | parent = Project.find(1) |
|
585 | parent = Project.find(1) | |
585 | child = parent.children.find(5) |
|
586 | child = parent.children.find(5) | |
586 |
|
587 | |||
587 | assert_equal [1,2,3], parent.version_ids.sort |
|
588 | assert_equal [1,2,3], parent.version_ids.sort | |
588 | assert_equal [6], child.version_ids |
|
589 | assert_equal [6], child.version_ids | |
589 |
|
590 | |||
590 | versions = parent.shared_versions.visible(user) |
|
591 | versions = parent.shared_versions.visible(user) | |
591 |
|
592 | |||
592 | assert_equal 4, versions.size |
|
593 | assert_equal 4, versions.size | |
593 | versions.each do |version| |
|
594 | versions.each do |version| | |
594 | assert_kind_of Version, version |
|
595 | assert_kind_of Version, version | |
595 | end |
|
596 | end | |
596 |
|
597 | |||
597 | assert !versions.collect(&:id).include?(6) |
|
598 | assert !versions.collect(&:id).include?(6) | |
598 | end |
|
599 | end | |
599 |
|
600 | |||
600 | def test_next_identifier |
|
601 | def test_next_identifier | |
601 | ProjectCustomField.delete_all |
|
602 | ProjectCustomField.delete_all | |
602 | Project.create!(:name => 'last', :identifier => 'p2008040') |
|
603 | Project.create!(:name => 'last', :identifier => 'p2008040') | |
603 | assert_equal 'p2008041', Project.next_identifier |
|
604 | assert_equal 'p2008041', Project.next_identifier | |
604 | end |
|
605 | end | |
605 |
|
606 | |||
606 | def test_next_identifier_first_project |
|
607 | def test_next_identifier_first_project | |
607 | Project.delete_all |
|
608 | Project.delete_all | |
608 | assert_nil Project.next_identifier |
|
609 | assert_nil Project.next_identifier | |
609 | end |
|
610 | end | |
610 |
|
611 | |||
611 | def test_enabled_module_names |
|
612 | def test_enabled_module_names | |
612 | with_settings :default_projects_modules => ['issue_tracking', 'repository'] do |
|
613 | with_settings :default_projects_modules => ['issue_tracking', 'repository'] do | |
613 | project = Project.new |
|
614 | project = Project.new | |
614 |
|
615 | |||
615 | project.enabled_module_names = %w(issue_tracking news) |
|
616 | project.enabled_module_names = %w(issue_tracking news) | |
616 | assert_equal %w(issue_tracking news), project.enabled_module_names.sort |
|
617 | assert_equal %w(issue_tracking news), project.enabled_module_names.sort | |
617 | end |
|
618 | end | |
618 | end |
|
619 | end | |
619 |
|
620 | |||
620 | context "enabled_modules" do |
|
621 | context "enabled_modules" do | |
621 | setup do |
|
622 | setup do | |
622 | @project = Project.find(1) |
|
623 | @project = Project.find(1) | |
623 | end |
|
624 | end | |
624 |
|
625 | |||
625 | should "define module by names and preserve ids" do |
|
626 | should "define module by names and preserve ids" do | |
626 | # Remove one module |
|
627 | # Remove one module | |
627 | modules = @project.enabled_modules.slice(0..-2) |
|
628 | modules = @project.enabled_modules.slice(0..-2) | |
628 | assert modules.any? |
|
629 | assert modules.any? | |
629 | assert_difference 'EnabledModule.count', -1 do |
|
630 | assert_difference 'EnabledModule.count', -1 do | |
630 | @project.enabled_module_names = modules.collect(&:name) |
|
631 | @project.enabled_module_names = modules.collect(&:name) | |
631 | end |
|
632 | end | |
632 | @project.reload |
|
633 | @project.reload | |
633 | # Ids should be preserved |
|
634 | # Ids should be preserved | |
634 | assert_equal @project.enabled_module_ids.sort, modules.collect(&:id).sort |
|
635 | assert_equal @project.enabled_module_ids.sort, modules.collect(&:id).sort | |
635 | end |
|
636 | end | |
636 |
|
637 | |||
637 | should "enable a module" do |
|
638 | should "enable a module" do | |
638 | @project.enabled_module_names = [] |
|
639 | @project.enabled_module_names = [] | |
639 | @project.reload |
|
640 | @project.reload | |
640 | assert_equal [], @project.enabled_module_names |
|
641 | assert_equal [], @project.enabled_module_names | |
641 | #with string |
|
642 | #with string | |
642 | @project.enable_module!("issue_tracking") |
|
643 | @project.enable_module!("issue_tracking") | |
643 | assert_equal ["issue_tracking"], @project.enabled_module_names |
|
644 | assert_equal ["issue_tracking"], @project.enabled_module_names | |
644 | #with symbol |
|
645 | #with symbol | |
645 | @project.enable_module!(:gantt) |
|
646 | @project.enable_module!(:gantt) | |
646 | assert_equal ["issue_tracking", "gantt"], @project.enabled_module_names |
|
647 | assert_equal ["issue_tracking", "gantt"], @project.enabled_module_names | |
647 | #don't add a module twice |
|
648 | #don't add a module twice | |
648 | @project.enable_module!("issue_tracking") |
|
649 | @project.enable_module!("issue_tracking") | |
649 | assert_equal ["issue_tracking", "gantt"], @project.enabled_module_names |
|
650 | assert_equal ["issue_tracking", "gantt"], @project.enabled_module_names | |
650 | end |
|
651 | end | |
651 |
|
652 | |||
652 | should "disable a module" do |
|
653 | should "disable a module" do | |
653 | #with string |
|
654 | #with string | |
654 | assert @project.enabled_module_names.include?("issue_tracking") |
|
655 | assert @project.enabled_module_names.include?("issue_tracking") | |
655 | @project.disable_module!("issue_tracking") |
|
656 | @project.disable_module!("issue_tracking") | |
656 | assert ! @project.reload.enabled_module_names.include?("issue_tracking") |
|
657 | assert ! @project.reload.enabled_module_names.include?("issue_tracking") | |
657 | #with symbol |
|
658 | #with symbol | |
658 | assert @project.enabled_module_names.include?("gantt") |
|
659 | assert @project.enabled_module_names.include?("gantt") | |
659 | @project.disable_module!(:gantt) |
|
660 | @project.disable_module!(:gantt) | |
660 | assert ! @project.reload.enabled_module_names.include?("gantt") |
|
661 | assert ! @project.reload.enabled_module_names.include?("gantt") | |
661 | #with EnabledModule object |
|
662 | #with EnabledModule object | |
662 | first_module = @project.enabled_modules.first |
|
663 | first_module = @project.enabled_modules.first | |
663 | @project.disable_module!(first_module) |
|
664 | @project.disable_module!(first_module) | |
664 | assert ! @project.reload.enabled_module_names.include?(first_module.name) |
|
665 | assert ! @project.reload.enabled_module_names.include?(first_module.name) | |
665 | end |
|
666 | end | |
666 | end |
|
667 | end | |
667 |
|
668 | |||
668 | def test_enabled_module_names_should_not_recreate_enabled_modules |
|
669 | def test_enabled_module_names_should_not_recreate_enabled_modules | |
669 | project = Project.find(1) |
|
670 | project = Project.find(1) | |
670 | # Remove one module |
|
671 | # Remove one module | |
671 | modules = project.enabled_modules.slice(0..-2) |
|
672 | modules = project.enabled_modules.slice(0..-2) | |
672 | assert modules.any? |
|
673 | assert modules.any? | |
673 | assert_difference 'EnabledModule.count', -1 do |
|
674 | assert_difference 'EnabledModule.count', -1 do | |
674 | project.enabled_module_names = modules.collect(&:name) |
|
675 | project.enabled_module_names = modules.collect(&:name) | |
675 | end |
|
676 | end | |
676 | project.reload |
|
677 | project.reload | |
677 | # Ids should be preserved |
|
678 | # Ids should be preserved | |
678 | assert_equal project.enabled_module_ids.sort, modules.collect(&:id).sort |
|
679 | assert_equal project.enabled_module_ids.sort, modules.collect(&:id).sort | |
679 | end |
|
680 | end | |
680 |
|
681 | |||
681 | def test_copy_from_existing_project |
|
682 | def test_copy_from_existing_project | |
682 | source_project = Project.find(1) |
|
683 | source_project = Project.find(1) | |
683 | copied_project = Project.copy_from(1) |
|
684 | copied_project = Project.copy_from(1) | |
684 |
|
685 | |||
685 | assert copied_project |
|
686 | assert copied_project | |
686 | # Cleared attributes |
|
687 | # Cleared attributes | |
687 | assert copied_project.id.blank? |
|
688 | assert copied_project.id.blank? | |
688 | assert copied_project.name.blank? |
|
689 | assert copied_project.name.blank? | |
689 | assert copied_project.identifier.blank? |
|
690 | assert copied_project.identifier.blank? | |
690 |
|
691 | |||
691 | # Duplicated attributes |
|
692 | # Duplicated attributes | |
692 | assert_equal source_project.description, copied_project.description |
|
693 | assert_equal source_project.description, copied_project.description | |
693 | assert_equal source_project.enabled_modules, copied_project.enabled_modules |
|
694 | assert_equal source_project.enabled_modules, copied_project.enabled_modules | |
694 | assert_equal source_project.trackers, copied_project.trackers |
|
695 | assert_equal source_project.trackers, copied_project.trackers | |
695 |
|
696 | |||
696 | # Default attributes |
|
697 | # Default attributes | |
697 | assert_equal 1, copied_project.status |
|
698 | assert_equal 1, copied_project.status | |
698 | end |
|
699 | end | |
699 |
|
700 | |||
700 | def test_activities_should_use_the_system_activities |
|
701 | def test_activities_should_use_the_system_activities | |
701 | project = Project.find(1) |
|
702 | project = Project.find(1) | |
702 | assert_equal project.activities, TimeEntryActivity.find(:all, :conditions => {:active => true} ) |
|
703 | assert_equal project.activities, TimeEntryActivity.find(:all, :conditions => {:active => true} ) | |
703 | end |
|
704 | end | |
704 |
|
705 | |||
705 |
|
706 | |||
706 | def test_activities_should_use_the_project_specific_activities |
|
707 | def test_activities_should_use_the_project_specific_activities | |
707 | project = Project.find(1) |
|
708 | project = Project.find(1) | |
708 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project}) |
|
709 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project}) | |
709 | assert overridden_activity.save! |
|
710 | assert overridden_activity.save! | |
710 |
|
711 | |||
711 | assert project.activities.include?(overridden_activity), "Project specific Activity not found" |
|
712 | assert project.activities.include?(overridden_activity), "Project specific Activity not found" | |
712 | end |
|
713 | end | |
713 |
|
714 | |||
714 | def test_activities_should_not_include_the_inactive_project_specific_activities |
|
715 | def test_activities_should_not_include_the_inactive_project_specific_activities | |
715 | project = Project.find(1) |
|
716 | project = Project.find(1) | |
716 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project, :parent => TimeEntryActivity.find(:first), :active => false}) |
|
717 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project, :parent => TimeEntryActivity.find(:first), :active => false}) | |
717 | assert overridden_activity.save! |
|
718 | assert overridden_activity.save! | |
718 |
|
719 | |||
719 | assert !project.activities.include?(overridden_activity), "Inactive Project specific Activity found" |
|
720 | assert !project.activities.include?(overridden_activity), "Inactive Project specific Activity found" | |
720 | end |
|
721 | end | |
721 |
|
722 | |||
722 | def test_activities_should_not_include_project_specific_activities_from_other_projects |
|
723 | def test_activities_should_not_include_project_specific_activities_from_other_projects | |
723 | project = Project.find(1) |
|
724 | project = Project.find(1) | |
724 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => Project.find(2)}) |
|
725 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => Project.find(2)}) | |
725 | assert overridden_activity.save! |
|
726 | assert overridden_activity.save! | |
726 |
|
727 | |||
727 | assert !project.activities.include?(overridden_activity), "Project specific Activity found on a different project" |
|
728 | assert !project.activities.include?(overridden_activity), "Project specific Activity found on a different project" | |
728 | end |
|
729 | end | |
729 |
|
730 | |||
730 | def test_activities_should_handle_nils |
|
731 | def test_activities_should_handle_nils | |
731 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => Project.find(1), :parent => TimeEntryActivity.find(:first)}) |
|
732 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => Project.find(1), :parent => TimeEntryActivity.find(:first)}) | |
732 | TimeEntryActivity.delete_all |
|
733 | TimeEntryActivity.delete_all | |
733 |
|
734 | |||
734 | # No activities |
|
735 | # No activities | |
735 | project = Project.find(1) |
|
736 | project = Project.find(1) | |
736 | assert project.activities.empty? |
|
737 | assert project.activities.empty? | |
737 |
|
738 | |||
738 | # No system, one overridden |
|
739 | # No system, one overridden | |
739 | assert overridden_activity.save! |
|
740 | assert overridden_activity.save! | |
740 | project.reload |
|
741 | project.reload | |
741 | assert_equal [overridden_activity], project.activities |
|
742 | assert_equal [overridden_activity], project.activities | |
742 | end |
|
743 | end | |
743 |
|
744 | |||
744 | def test_activities_should_override_system_activities_with_project_activities |
|
745 | def test_activities_should_override_system_activities_with_project_activities | |
745 | project = Project.find(1) |
|
746 | project = Project.find(1) | |
746 | parent_activity = TimeEntryActivity.find(:first) |
|
747 | parent_activity = TimeEntryActivity.find(:first) | |
747 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project, :parent => parent_activity}) |
|
748 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project, :parent => parent_activity}) | |
748 | assert overridden_activity.save! |
|
749 | assert overridden_activity.save! | |
749 |
|
750 | |||
750 | assert project.activities.include?(overridden_activity), "Project specific Activity not found" |
|
751 | assert project.activities.include?(overridden_activity), "Project specific Activity not found" | |
751 | assert !project.activities.include?(parent_activity), "System Activity found when it should have been overridden" |
|
752 | assert !project.activities.include?(parent_activity), "System Activity found when it should have been overridden" | |
752 | end |
|
753 | end | |
753 |
|
754 | |||
754 | def test_activities_should_include_inactive_activities_if_specified |
|
755 | def test_activities_should_include_inactive_activities_if_specified | |
755 | project = Project.find(1) |
|
756 | project = Project.find(1) | |
756 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project, :parent => TimeEntryActivity.find(:first), :active => false}) |
|
757 | overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project, :parent => TimeEntryActivity.find(:first), :active => false}) | |
757 | assert overridden_activity.save! |
|
758 | assert overridden_activity.save! | |
758 |
|
759 | |||
759 | assert project.activities(true).include?(overridden_activity), "Inactive Project specific Activity not found" |
|
760 | assert project.activities(true).include?(overridden_activity), "Inactive Project specific Activity not found" | |
760 | end |
|
761 | end | |
761 |
|
762 | |||
762 | test 'activities should not include active System activities if the project has an override that is inactive' do |
|
763 | test 'activities should not include active System activities if the project has an override that is inactive' do | |
763 | project = Project.find(1) |
|
764 | project = Project.find(1) | |
764 | system_activity = TimeEntryActivity.find_by_name('Design') |
|
765 | system_activity = TimeEntryActivity.find_by_name('Design') | |
765 | assert system_activity.active? |
|
766 | assert system_activity.active? | |
766 | overridden_activity = TimeEntryActivity.generate!(:project => project, :parent => system_activity, :active => false) |
|
767 | overridden_activity = TimeEntryActivity.generate!(:project => project, :parent => system_activity, :active => false) | |
767 | assert overridden_activity.save! |
|
768 | assert overridden_activity.save! | |
768 |
|
769 | |||
769 | assert !project.activities.include?(overridden_activity), "Inactive Project specific Activity not found" |
|
770 | assert !project.activities.include?(overridden_activity), "Inactive Project specific Activity not found" | |
770 | assert !project.activities.include?(system_activity), "System activity found when the project has an inactive override" |
|
771 | assert !project.activities.include?(system_activity), "System activity found when the project has an inactive override" | |
771 | end |
|
772 | end | |
772 |
|
773 | |||
773 | def test_close_completed_versions |
|
774 | def test_close_completed_versions | |
774 | Version.update_all("status = 'open'") |
|
775 | Version.update_all("status = 'open'") | |
775 | project = Project.find(1) |
|
776 | project = Project.find(1) | |
776 | assert_not_nil project.versions.detect {|v| v.completed? && v.status == 'open'} |
|
777 | assert_not_nil project.versions.detect {|v| v.completed? && v.status == 'open'} | |
777 | assert_not_nil project.versions.detect {|v| !v.completed? && v.status == 'open'} |
|
778 | assert_not_nil project.versions.detect {|v| !v.completed? && v.status == 'open'} | |
778 | project.close_completed_versions |
|
779 | project.close_completed_versions | |
779 | project.reload |
|
780 | project.reload | |
780 | assert_nil project.versions.detect {|v| v.completed? && v.status != 'closed'} |
|
781 | assert_nil project.versions.detect {|v| v.completed? && v.status != 'closed'} | |
781 | assert_not_nil project.versions.detect {|v| !v.completed? && v.status == 'open'} |
|
782 | assert_not_nil project.versions.detect {|v| !v.completed? && v.status == 'open'} | |
782 | end |
|
783 | end | |
783 |
|
784 | |||
784 | context "Project#copy" do |
|
785 | context "Project#copy" do | |
785 | setup do |
|
786 | setup do | |
786 | ProjectCustomField.destroy_all # Custom values are a mess to isolate in tests |
|
787 | ProjectCustomField.destroy_all # Custom values are a mess to isolate in tests | |
787 | Project.destroy_all :identifier => "copy-test" |
|
788 | Project.destroy_all :identifier => "copy-test" | |
788 | @source_project = Project.find(2) |
|
789 | @source_project = Project.find(2) | |
789 | @project = Project.new(:name => 'Copy Test', :identifier => 'copy-test') |
|
790 | @project = Project.new(:name => 'Copy Test', :identifier => 'copy-test') | |
790 | @project.trackers = @source_project.trackers |
|
791 | @project.trackers = @source_project.trackers | |
791 | @project.enabled_module_names = @source_project.enabled_modules.collect(&:name) |
|
792 | @project.enabled_module_names = @source_project.enabled_modules.collect(&:name) | |
792 | end |
|
793 | end | |
793 |
|
794 | |||
794 | should "copy issues" do |
|
795 | should "copy issues" do | |
795 | @source_project.issues << Issue.generate!(:status => IssueStatus.find_by_name('Closed'), |
|
796 | @source_project.issues << Issue.generate!(:status => IssueStatus.find_by_name('Closed'), | |
796 | :subject => "copy issue status", |
|
797 | :subject => "copy issue status", | |
797 | :tracker_id => 1, |
|
798 | :tracker_id => 1, | |
798 | :assigned_to_id => 2, |
|
799 | :assigned_to_id => 2, | |
799 | :project_id => @source_project.id) |
|
800 | :project_id => @source_project.id) | |
800 | assert @project.valid? |
|
801 | assert @project.valid? | |
801 | assert @project.issues.empty? |
|
802 | assert @project.issues.empty? | |
802 | assert @project.copy(@source_project) |
|
803 | assert @project.copy(@source_project) | |
803 |
|
804 | |||
804 | assert_equal @source_project.issues.size, @project.issues.size |
|
805 | assert_equal @source_project.issues.size, @project.issues.size | |
805 | @project.issues.each do |issue| |
|
806 | @project.issues.each do |issue| | |
806 | assert issue.valid? |
|
807 | assert issue.valid? | |
807 | assert ! issue.assigned_to.blank? |
|
808 | assert ! issue.assigned_to.blank? | |
808 | assert_equal @project, issue.project |
|
809 | assert_equal @project, issue.project | |
809 | end |
|
810 | end | |
810 |
|
811 | |||
811 | copied_issue = @project.issues.first(:conditions => {:subject => "copy issue status"}) |
|
812 | copied_issue = @project.issues.first(:conditions => {:subject => "copy issue status"}) | |
812 | assert copied_issue |
|
813 | assert copied_issue | |
813 | assert copied_issue.status |
|
814 | assert copied_issue.status | |
814 | assert_equal "Closed", copied_issue.status.name |
|
815 | assert_equal "Closed", copied_issue.status.name | |
815 | end |
|
816 | end | |
816 |
|
817 | |||
817 | should "change the new issues to use the copied version" do |
|
818 | should "change the new issues to use the copied version" do | |
818 | User.current = User.find(1) |
|
819 | User.current = User.find(1) | |
819 | assigned_version = Version.generate!(:name => "Assigned Issues", :status => 'open') |
|
820 | assigned_version = Version.generate!(:name => "Assigned Issues", :status => 'open') | |
820 | @source_project.versions << assigned_version |
|
821 | @source_project.versions << assigned_version | |
821 | assert_equal 3, @source_project.versions.size |
|
822 | assert_equal 3, @source_project.versions.size | |
822 | Issue.generate_for_project!(@source_project, |
|
823 | Issue.generate_for_project!(@source_project, | |
823 | :fixed_version_id => assigned_version.id, |
|
824 | :fixed_version_id => assigned_version.id, | |
824 | :subject => "change the new issues to use the copied version", |
|
825 | :subject => "change the new issues to use the copied version", | |
825 | :tracker_id => 1, |
|
826 | :tracker_id => 1, | |
826 | :project_id => @source_project.id) |
|
827 | :project_id => @source_project.id) | |
827 |
|
828 | |||
828 | assert @project.copy(@source_project) |
|
829 | assert @project.copy(@source_project) | |
829 | @project.reload |
|
830 | @project.reload | |
830 | copied_issue = @project.issues.first(:conditions => {:subject => "change the new issues to use the copied version"}) |
|
831 | copied_issue = @project.issues.first(:conditions => {:subject => "change the new issues to use the copied version"}) | |
831 |
|
832 | |||
832 | assert copied_issue |
|
833 | assert copied_issue | |
833 | assert copied_issue.fixed_version |
|
834 | assert copied_issue.fixed_version | |
834 | assert_equal "Assigned Issues", copied_issue.fixed_version.name # Same name |
|
835 | assert_equal "Assigned Issues", copied_issue.fixed_version.name # Same name | |
835 | assert_not_equal assigned_version.id, copied_issue.fixed_version.id # Different record |
|
836 | assert_not_equal assigned_version.id, copied_issue.fixed_version.id # Different record | |
836 | end |
|
837 | end | |
837 |
|
838 | |||
838 | should "copy issue relations" do |
|
839 | should "copy issue relations" do | |
839 | Setting.cross_project_issue_relations = '1' |
|
840 | Setting.cross_project_issue_relations = '1' | |
840 |
|
841 | |||
841 | second_issue = Issue.generate!(:status_id => 5, |
|
842 | second_issue = Issue.generate!(:status_id => 5, | |
842 | :subject => "copy issue relation", |
|
843 | :subject => "copy issue relation", | |
843 | :tracker_id => 1, |
|
844 | :tracker_id => 1, | |
844 | :assigned_to_id => 2, |
|
845 | :assigned_to_id => 2, | |
845 | :project_id => @source_project.id) |
|
846 | :project_id => @source_project.id) | |
846 | source_relation = IssueRelation.generate!(:issue_from => Issue.find(4), |
|
847 | source_relation = IssueRelation.generate!(:issue_from => Issue.find(4), | |
847 | :issue_to => second_issue, |
|
848 | :issue_to => second_issue, | |
848 | :relation_type => "relates") |
|
849 | :relation_type => "relates") | |
849 | source_relation_cross_project = IssueRelation.generate!(:issue_from => Issue.find(1), |
|
850 | source_relation_cross_project = IssueRelation.generate!(:issue_from => Issue.find(1), | |
850 | :issue_to => second_issue, |
|
851 | :issue_to => second_issue, | |
851 | :relation_type => "duplicates") |
|
852 | :relation_type => "duplicates") | |
852 |
|
853 | |||
853 | assert @project.copy(@source_project) |
|
854 | assert @project.copy(@source_project) | |
854 | assert_equal @source_project.issues.count, @project.issues.count |
|
855 | assert_equal @source_project.issues.count, @project.issues.count | |
855 | copied_issue = @project.issues.find_by_subject("Issue on project 2") # Was #4 |
|
856 | copied_issue = @project.issues.find_by_subject("Issue on project 2") # Was #4 | |
856 | copied_second_issue = @project.issues.find_by_subject("copy issue relation") |
|
857 | copied_second_issue = @project.issues.find_by_subject("copy issue relation") | |
857 |
|
858 | |||
858 | # First issue with a relation on project |
|
859 | # First issue with a relation on project | |
859 | assert_equal 1, copied_issue.relations.size, "Relation not copied" |
|
860 | assert_equal 1, copied_issue.relations.size, "Relation not copied" | |
860 | copied_relation = copied_issue.relations.first |
|
861 | copied_relation = copied_issue.relations.first | |
861 | assert_equal "relates", copied_relation.relation_type |
|
862 | assert_equal "relates", copied_relation.relation_type | |
862 | assert_equal copied_second_issue.id, copied_relation.issue_to_id |
|
863 | assert_equal copied_second_issue.id, copied_relation.issue_to_id | |
863 | assert_not_equal source_relation.id, copied_relation.id |
|
864 | assert_not_equal source_relation.id, copied_relation.id | |
864 |
|
865 | |||
865 | # Second issue with a cross project relation |
|
866 | # Second issue with a cross project relation | |
866 | assert_equal 2, copied_second_issue.relations.size, "Relation not copied" |
|
867 | assert_equal 2, copied_second_issue.relations.size, "Relation not copied" | |
867 | copied_relation = copied_second_issue.relations.select {|r| r.relation_type == 'duplicates'}.first |
|
868 | copied_relation = copied_second_issue.relations.select {|r| r.relation_type == 'duplicates'}.first | |
868 | assert_equal "duplicates", copied_relation.relation_type |
|
869 | assert_equal "duplicates", copied_relation.relation_type | |
869 | assert_equal 1, copied_relation.issue_from_id, "Cross project relation not kept" |
|
870 | assert_equal 1, copied_relation.issue_from_id, "Cross project relation not kept" | |
870 | assert_not_equal source_relation_cross_project.id, copied_relation.id |
|
871 | assert_not_equal source_relation_cross_project.id, copied_relation.id | |
871 | end |
|
872 | end | |
872 |
|
873 | |||
873 | should "copy issue attachments" do |
|
874 | should "copy issue attachments" do | |
874 | issue = Issue.generate!(:subject => "copy with attachment", :tracker_id => 1, :project_id => @source_project.id) |
|
875 | issue = Issue.generate!(:subject => "copy with attachment", :tracker_id => 1, :project_id => @source_project.id) | |
875 | Attachment.create!(:container => issue, :file => uploaded_test_file("testfile.txt", "text/plain"), :author_id => 1) |
|
876 | Attachment.create!(:container => issue, :file => uploaded_test_file("testfile.txt", "text/plain"), :author_id => 1) | |
876 | @source_project.issues << issue |
|
877 | @source_project.issues << issue | |
877 | assert @project.copy(@source_project) |
|
878 | assert @project.copy(@source_project) | |
878 |
|
879 | |||
879 | copied_issue = @project.issues.first(:conditions => {:subject => "copy with attachment"}) |
|
880 | copied_issue = @project.issues.first(:conditions => {:subject => "copy with attachment"}) | |
880 | assert_not_nil copied_issue |
|
881 | assert_not_nil copied_issue | |
881 | assert_equal 1, copied_issue.attachments.count, "Attachment not copied" |
|
882 | assert_equal 1, copied_issue.attachments.count, "Attachment not copied" | |
882 | assert_equal "testfile.txt", copied_issue.attachments.first.filename |
|
883 | assert_equal "testfile.txt", copied_issue.attachments.first.filename | |
883 | end |
|
884 | end | |
884 |
|
885 | |||
885 | should "copy memberships" do |
|
886 | should "copy memberships" do | |
886 | assert @project.valid? |
|
887 | assert @project.valid? | |
887 | assert @project.members.empty? |
|
888 | assert @project.members.empty? | |
888 | assert @project.copy(@source_project) |
|
889 | assert @project.copy(@source_project) | |
889 |
|
890 | |||
890 | assert_equal @source_project.memberships.size, @project.memberships.size |
|
891 | assert_equal @source_project.memberships.size, @project.memberships.size | |
891 | @project.memberships.each do |membership| |
|
892 | @project.memberships.each do |membership| | |
892 | assert membership |
|
893 | assert membership | |
893 | assert_equal @project, membership.project |
|
894 | assert_equal @project, membership.project | |
894 | end |
|
895 | end | |
895 | end |
|
896 | end | |
896 |
|
897 | |||
897 | should "copy memberships with groups and additional roles" do |
|
898 | should "copy memberships with groups and additional roles" do | |
898 | group = Group.create!(:lastname => "Copy group") |
|
899 | group = Group.create!(:lastname => "Copy group") | |
899 | user = User.find(7) |
|
900 | user = User.find(7) | |
900 | group.users << user |
|
901 | group.users << user | |
901 | # group role |
|
902 | # group role | |
902 | Member.create!(:project_id => @source_project.id, :principal => group, :role_ids => [2]) |
|
903 | Member.create!(:project_id => @source_project.id, :principal => group, :role_ids => [2]) | |
903 | member = Member.find_by_user_id_and_project_id(user.id, @source_project.id) |
|
904 | member = Member.find_by_user_id_and_project_id(user.id, @source_project.id) | |
904 | # additional role |
|
905 | # additional role | |
905 | member.role_ids = [1] |
|
906 | member.role_ids = [1] | |
906 |
|
907 | |||
907 | assert @project.copy(@source_project) |
|
908 | assert @project.copy(@source_project) | |
908 | member = Member.find_by_user_id_and_project_id(user.id, @project.id) |
|
909 | member = Member.find_by_user_id_and_project_id(user.id, @project.id) | |
909 | assert_not_nil member |
|
910 | assert_not_nil member | |
910 | assert_equal [1, 2], member.role_ids.sort |
|
911 | assert_equal [1, 2], member.role_ids.sort | |
911 | end |
|
912 | end | |
912 |
|
913 | |||
913 | should "copy project specific queries" do |
|
914 | should "copy project specific queries" do | |
914 | assert @project.valid? |
|
915 | assert @project.valid? | |
915 | assert @project.queries.empty? |
|
916 | assert @project.queries.empty? | |
916 | assert @project.copy(@source_project) |
|
917 | assert @project.copy(@source_project) | |
917 |
|
918 | |||
918 | assert_equal @source_project.queries.size, @project.queries.size |
|
919 | assert_equal @source_project.queries.size, @project.queries.size | |
919 | @project.queries.each do |query| |
|
920 | @project.queries.each do |query| | |
920 | assert query |
|
921 | assert query | |
921 | assert_equal @project, query.project |
|
922 | assert_equal @project, query.project | |
922 | end |
|
923 | end | |
923 | assert_equal @source_project.queries.map(&:user_id).sort, @project.queries.map(&:user_id).sort |
|
924 | assert_equal @source_project.queries.map(&:user_id).sort, @project.queries.map(&:user_id).sort | |
924 | end |
|
925 | end | |
925 |
|
926 | |||
926 | should "copy versions" do |
|
927 | should "copy versions" do | |
927 | @source_project.versions << Version.generate! |
|
928 | @source_project.versions << Version.generate! | |
928 | @source_project.versions << Version.generate! |
|
929 | @source_project.versions << Version.generate! | |
929 |
|
930 | |||
930 | assert @project.versions.empty? |
|
931 | assert @project.versions.empty? | |
931 | assert @project.copy(@source_project) |
|
932 | assert @project.copy(@source_project) | |
932 |
|
933 | |||
933 | assert_equal @source_project.versions.size, @project.versions.size |
|
934 | assert_equal @source_project.versions.size, @project.versions.size | |
934 | @project.versions.each do |version| |
|
935 | @project.versions.each do |version| | |
935 | assert version |
|
936 | assert version | |
936 | assert_equal @project, version.project |
|
937 | assert_equal @project, version.project | |
937 | end |
|
938 | end | |
938 | end |
|
939 | end | |
939 |
|
940 | |||
940 | should "copy wiki" do |
|
941 | should "copy wiki" do | |
941 | assert_difference 'Wiki.count' do |
|
942 | assert_difference 'Wiki.count' do | |
942 | assert @project.copy(@source_project) |
|
943 | assert @project.copy(@source_project) | |
943 | end |
|
944 | end | |
944 |
|
945 | |||
945 | assert @project.wiki |
|
946 | assert @project.wiki | |
946 | assert_not_equal @source_project.wiki, @project.wiki |
|
947 | assert_not_equal @source_project.wiki, @project.wiki | |
947 | assert_equal "Start page", @project.wiki.start_page |
|
948 | assert_equal "Start page", @project.wiki.start_page | |
948 | end |
|
949 | end | |
949 |
|
950 | |||
950 | should "copy wiki pages and content with hierarchy" do |
|
951 | should "copy wiki pages and content with hierarchy" do | |
951 | assert_difference 'WikiPage.count', @source_project.wiki.pages.size do |
|
952 | assert_difference 'WikiPage.count', @source_project.wiki.pages.size do | |
952 | assert @project.copy(@source_project) |
|
953 | assert @project.copy(@source_project) | |
953 | end |
|
954 | end | |
954 |
|
955 | |||
955 | assert @project.wiki |
|
956 | assert @project.wiki | |
956 | assert_equal @source_project.wiki.pages.size, @project.wiki.pages.size |
|
957 | assert_equal @source_project.wiki.pages.size, @project.wiki.pages.size | |
957 |
|
958 | |||
958 | @project.wiki.pages.each do |wiki_page| |
|
959 | @project.wiki.pages.each do |wiki_page| | |
959 | assert wiki_page.content |
|
960 | assert wiki_page.content | |
960 | assert !@source_project.wiki.pages.include?(wiki_page) |
|
961 | assert !@source_project.wiki.pages.include?(wiki_page) | |
961 | end |
|
962 | end | |
962 |
|
963 | |||
963 | parent = @project.wiki.find_page('Parent_page') |
|
964 | parent = @project.wiki.find_page('Parent_page') | |
964 | child1 = @project.wiki.find_page('Child_page_1') |
|
965 | child1 = @project.wiki.find_page('Child_page_1') | |
965 | child2 = @project.wiki.find_page('Child_page_2') |
|
966 | child2 = @project.wiki.find_page('Child_page_2') | |
966 | assert_equal parent, child1.parent |
|
967 | assert_equal parent, child1.parent | |
967 | assert_equal parent, child2.parent |
|
968 | assert_equal parent, child2.parent | |
968 | end |
|
969 | end | |
969 |
|
970 | |||
970 | should "copy issue categories" do |
|
971 | should "copy issue categories" do | |
971 | assert @project.copy(@source_project) |
|
972 | assert @project.copy(@source_project) | |
972 |
|
973 | |||
973 | assert_equal 2, @project.issue_categories.size |
|
974 | assert_equal 2, @project.issue_categories.size | |
974 | @project.issue_categories.each do |issue_category| |
|
975 | @project.issue_categories.each do |issue_category| | |
975 | assert !@source_project.issue_categories.include?(issue_category) |
|
976 | assert !@source_project.issue_categories.include?(issue_category) | |
976 | end |
|
977 | end | |
977 | end |
|
978 | end | |
978 |
|
979 | |||
979 | should "copy boards" do |
|
980 | should "copy boards" do | |
980 | assert @project.copy(@source_project) |
|
981 | assert @project.copy(@source_project) | |
981 |
|
982 | |||
982 | assert_equal 1, @project.boards.size |
|
983 | assert_equal 1, @project.boards.size | |
983 | @project.boards.each do |board| |
|
984 | @project.boards.each do |board| | |
984 | assert !@source_project.boards.include?(board) |
|
985 | assert !@source_project.boards.include?(board) | |
985 | end |
|
986 | end | |
986 | end |
|
987 | end | |
987 |
|
988 | |||
988 | should "change the new issues to use the copied issue categories" do |
|
989 | should "change the new issues to use the copied issue categories" do | |
989 | issue = Issue.find(4) |
|
990 | issue = Issue.find(4) | |
990 | issue.update_attribute(:category_id, 3) |
|
991 | issue.update_attribute(:category_id, 3) | |
991 |
|
992 | |||
992 | assert @project.copy(@source_project) |
|
993 | assert @project.copy(@source_project) | |
993 |
|
994 | |||
994 | @project.issues.each do |issue| |
|
995 | @project.issues.each do |issue| | |
995 | assert issue.category |
|
996 | assert issue.category | |
996 | assert_equal "Stock management", issue.category.name # Same name |
|
997 | assert_equal "Stock management", issue.category.name # Same name | |
997 | assert_not_equal IssueCategory.find(3), issue.category # Different record |
|
998 | assert_not_equal IssueCategory.find(3), issue.category # Different record | |
998 | end |
|
999 | end | |
999 | end |
|
1000 | end | |
1000 |
|
1001 | |||
1001 | should "limit copy with :only option" do |
|
1002 | should "limit copy with :only option" do | |
1002 | assert @project.members.empty? |
|
1003 | assert @project.members.empty? | |
1003 | assert @project.issue_categories.empty? |
|
1004 | assert @project.issue_categories.empty? | |
1004 | assert @source_project.issues.any? |
|
1005 | assert @source_project.issues.any? | |
1005 |
|
1006 | |||
1006 | assert @project.copy(@source_project, :only => ['members', 'issue_categories']) |
|
1007 | assert @project.copy(@source_project, :only => ['members', 'issue_categories']) | |
1007 |
|
1008 | |||
1008 | assert @project.members.any? |
|
1009 | assert @project.members.any? | |
1009 | assert @project.issue_categories.any? |
|
1010 | assert @project.issue_categories.any? | |
1010 | assert @project.issues.empty? |
|
1011 | assert @project.issues.empty? | |
1011 | end |
|
1012 | end | |
1012 |
|
1013 | |||
1013 | end |
|
1014 | end | |
1014 |
|
1015 | |||
1015 | context "#start_date" do |
|
1016 | context "#start_date" do | |
1016 | setup do |
|
1017 | setup do | |
1017 | ProjectCustomField.destroy_all # Custom values are a mess to isolate in tests |
|
1018 | ProjectCustomField.destroy_all # Custom values are a mess to isolate in tests | |
1018 | @project = Project.generate!(:identifier => 'test0') |
|
1019 | @project = Project.generate!(:identifier => 'test0') | |
1019 | @project.trackers << Tracker.generate! |
|
1020 | @project.trackers << Tracker.generate! | |
1020 | end |
|
1021 | end | |
1021 |
|
1022 | |||
1022 | should "be nil if there are no issues on the project" do |
|
1023 | should "be nil if there are no issues on the project" do | |
1023 | assert_nil @project.start_date |
|
1024 | assert_nil @project.start_date | |
1024 | end |
|
1025 | end | |
1025 |
|
1026 | |||
1026 | should "be tested when issues have no start date" |
|
1027 | should "be tested when issues have no start date" | |
1027 |
|
1028 | |||
1028 | should "be the earliest start date of it's issues" do |
|
1029 | should "be the earliest start date of it's issues" do | |
1029 | early = 7.days.ago.to_date |
|
1030 | early = 7.days.ago.to_date | |
1030 | Issue.generate_for_project!(@project, :start_date => Date.today) |
|
1031 | Issue.generate_for_project!(@project, :start_date => Date.today) | |
1031 | Issue.generate_for_project!(@project, :start_date => early) |
|
1032 | Issue.generate_for_project!(@project, :start_date => early) | |
1032 |
|
1033 | |||
1033 | assert_equal early, @project.start_date |
|
1034 | assert_equal early, @project.start_date | |
1034 | end |
|
1035 | end | |
1035 |
|
1036 | |||
1036 | end |
|
1037 | end | |
1037 |
|
1038 | |||
1038 | context "#due_date" do |
|
1039 | context "#due_date" do | |
1039 | setup do |
|
1040 | setup do | |
1040 | ProjectCustomField.destroy_all # Custom values are a mess to isolate in tests |
|
1041 | ProjectCustomField.destroy_all # Custom values are a mess to isolate in tests | |
1041 | @project = Project.generate!(:identifier => 'test0') |
|
1042 | @project = Project.generate!(:identifier => 'test0') | |
1042 | @project.trackers << Tracker.generate! |
|
1043 | @project.trackers << Tracker.generate! | |
1043 | end |
|
1044 | end | |
1044 |
|
1045 | |||
1045 | should "be nil if there are no issues on the project" do |
|
1046 | should "be nil if there are no issues on the project" do | |
1046 | assert_nil @project.due_date |
|
1047 | assert_nil @project.due_date | |
1047 | end |
|
1048 | end | |
1048 |
|
1049 | |||
1049 | should "be tested when issues have no due date" |
|
1050 | should "be tested when issues have no due date" | |
1050 |
|
1051 | |||
1051 | should "be the latest due date of it's issues" do |
|
1052 | should "be the latest due date of it's issues" do | |
1052 | future = 7.days.from_now.to_date |
|
1053 | future = 7.days.from_now.to_date | |
1053 | Issue.generate_for_project!(@project, :due_date => future) |
|
1054 | Issue.generate_for_project!(@project, :due_date => future) | |
1054 | Issue.generate_for_project!(@project, :due_date => Date.today) |
|
1055 | Issue.generate_for_project!(@project, :due_date => Date.today) | |
1055 |
|
1056 | |||
1056 | assert_equal future, @project.due_date |
|
1057 | assert_equal future, @project.due_date | |
1057 | end |
|
1058 | end | |
1058 |
|
1059 | |||
1059 | should "be the latest due date of it's versions" do |
|
1060 | should "be the latest due date of it's versions" do | |
1060 | future = 7.days.from_now.to_date |
|
1061 | future = 7.days.from_now.to_date | |
1061 | @project.versions << Version.generate!(:effective_date => future) |
|
1062 | @project.versions << Version.generate!(:effective_date => future) | |
1062 | @project.versions << Version.generate!(:effective_date => Date.today) |
|
1063 | @project.versions << Version.generate!(:effective_date => Date.today) | |
1063 |
|
1064 | |||
1064 |
|
1065 | |||
1065 | assert_equal future, @project.due_date |
|
1066 | assert_equal future, @project.due_date | |
1066 |
|
1067 | |||
1067 | end |
|
1068 | end | |
1068 |
|
1069 | |||
1069 | should "pick the latest date from it's issues and versions" do |
|
1070 | should "pick the latest date from it's issues and versions" do | |
1070 | future = 7.days.from_now.to_date |
|
1071 | future = 7.days.from_now.to_date | |
1071 | far_future = 14.days.from_now.to_date |
|
1072 | far_future = 14.days.from_now.to_date | |
1072 | Issue.generate_for_project!(@project, :due_date => far_future) |
|
1073 | Issue.generate_for_project!(@project, :due_date => far_future) | |
1073 | @project.versions << Version.generate!(:effective_date => future) |
|
1074 | @project.versions << Version.generate!(:effective_date => future) | |
1074 |
|
1075 | |||
1075 | assert_equal far_future, @project.due_date |
|
1076 | assert_equal far_future, @project.due_date | |
1076 | end |
|
1077 | end | |
1077 |
|
1078 | |||
1078 | end |
|
1079 | end | |
1079 |
|
1080 | |||
1080 | context "Project#completed_percent" do |
|
1081 | context "Project#completed_percent" do | |
1081 | setup do |
|
1082 | setup do | |
1082 | ProjectCustomField.destroy_all # Custom values are a mess to isolate in tests |
|
1083 | ProjectCustomField.destroy_all # Custom values are a mess to isolate in tests | |
1083 | @project = Project.generate!(:identifier => 'test0') |
|
1084 | @project = Project.generate!(:identifier => 'test0') | |
1084 | @project.trackers << Tracker.generate! |
|
1085 | @project.trackers << Tracker.generate! | |
1085 | end |
|
1086 | end | |
1086 |
|
1087 | |||
1087 | context "no versions" do |
|
1088 | context "no versions" do | |
1088 | should "be 100" do |
|
1089 | should "be 100" do | |
1089 | assert_equal 100, @project.completed_percent |
|
1090 | assert_equal 100, @project.completed_percent | |
1090 | end |
|
1091 | end | |
1091 | end |
|
1092 | end | |
1092 |
|
1093 | |||
1093 | context "with versions" do |
|
1094 | context "with versions" do | |
1094 | should "return 0 if the versions have no issues" do |
|
1095 | should "return 0 if the versions have no issues" do | |
1095 | Version.generate!(:project => @project) |
|
1096 | Version.generate!(:project => @project) | |
1096 | Version.generate!(:project => @project) |
|
1097 | Version.generate!(:project => @project) | |
1097 |
|
1098 | |||
1098 | assert_equal 0, @project.completed_percent |
|
1099 | assert_equal 0, @project.completed_percent | |
1099 | end |
|
1100 | end | |
1100 |
|
1101 | |||
1101 | should "return 100 if the version has only closed issues" do |
|
1102 | should "return 100 if the version has only closed issues" do | |
1102 | v1 = Version.generate!(:project => @project) |
|
1103 | v1 = Version.generate!(:project => @project) | |
1103 | Issue.generate_for_project!(@project, :status => IssueStatus.find_by_name('Closed'), :fixed_version => v1) |
|
1104 | Issue.generate_for_project!(@project, :status => IssueStatus.find_by_name('Closed'), :fixed_version => v1) | |
1104 | v2 = Version.generate!(:project => @project) |
|
1105 | v2 = Version.generate!(:project => @project) | |
1105 | Issue.generate_for_project!(@project, :status => IssueStatus.find_by_name('Closed'), :fixed_version => v2) |
|
1106 | Issue.generate_for_project!(@project, :status => IssueStatus.find_by_name('Closed'), :fixed_version => v2) | |
1106 |
|
1107 | |||
1107 | assert_equal 100, @project.completed_percent |
|
1108 | assert_equal 100, @project.completed_percent | |
1108 | end |
|
1109 | end | |
1109 |
|
1110 | |||
1110 | should "return the averaged completed percent of the versions (not weighted)" do |
|
1111 | should "return the averaged completed percent of the versions (not weighted)" do | |
1111 | v1 = Version.generate!(:project => @project) |
|
1112 | v1 = Version.generate!(:project => @project) | |
1112 | Issue.generate_for_project!(@project, :status => IssueStatus.find_by_name('New'), :estimated_hours => 10, :done_ratio => 50, :fixed_version => v1) |
|
1113 | Issue.generate_for_project!(@project, :status => IssueStatus.find_by_name('New'), :estimated_hours => 10, :done_ratio => 50, :fixed_version => v1) | |
1113 | v2 = Version.generate!(:project => @project) |
|
1114 | v2 = Version.generate!(:project => @project) | |
1114 | Issue.generate_for_project!(@project, :status => IssueStatus.find_by_name('New'), :estimated_hours => 10, :done_ratio => 50, :fixed_version => v2) |
|
1115 | Issue.generate_for_project!(@project, :status => IssueStatus.find_by_name('New'), :estimated_hours => 10, :done_ratio => 50, :fixed_version => v2) | |
1115 |
|
1116 | |||
1116 | assert_equal 50, @project.completed_percent |
|
1117 | assert_equal 50, @project.completed_percent | |
1117 | end |
|
1118 | end | |
1118 |
|
1119 | |||
1119 | end |
|
1120 | end | |
1120 | end |
|
1121 | end | |
1121 |
|
1122 | |||
1122 | context "#notified_users" do |
|
1123 | context "#notified_users" do | |
1123 | setup do |
|
1124 | setup do | |
1124 | @project = Project.generate! |
|
1125 | @project = Project.generate! | |
1125 | @role = Role.generate! |
|
1126 | @role = Role.generate! | |
1126 |
|
1127 | |||
1127 | @user_with_membership_notification = User.generate!(:mail_notification => 'selected') |
|
1128 | @user_with_membership_notification = User.generate!(:mail_notification => 'selected') | |
1128 | Member.generate!(:project => @project, :roles => [@role], :principal => @user_with_membership_notification, :mail_notification => true) |
|
1129 | Member.generate!(:project => @project, :roles => [@role], :principal => @user_with_membership_notification, :mail_notification => true) | |
1129 |
|
1130 | |||
1130 | @all_events_user = User.generate!(:mail_notification => 'all') |
|
1131 | @all_events_user = User.generate!(:mail_notification => 'all') | |
1131 | Member.generate!(:project => @project, :roles => [@role], :principal => @all_events_user) |
|
1132 | Member.generate!(:project => @project, :roles => [@role], :principal => @all_events_user) | |
1132 |
|
1133 | |||
1133 | @no_events_user = User.generate!(:mail_notification => 'none') |
|
1134 | @no_events_user = User.generate!(:mail_notification => 'none') | |
1134 | Member.generate!(:project => @project, :roles => [@role], :principal => @no_events_user) |
|
1135 | Member.generate!(:project => @project, :roles => [@role], :principal => @no_events_user) | |
1135 |
|
1136 | |||
1136 | @only_my_events_user = User.generate!(:mail_notification => 'only_my_events') |
|
1137 | @only_my_events_user = User.generate!(:mail_notification => 'only_my_events') | |
1137 | Member.generate!(:project => @project, :roles => [@role], :principal => @only_my_events_user) |
|
1138 | Member.generate!(:project => @project, :roles => [@role], :principal => @only_my_events_user) | |
1138 |
|
1139 | |||
1139 | @only_assigned_user = User.generate!(:mail_notification => 'only_assigned') |
|
1140 | @only_assigned_user = User.generate!(:mail_notification => 'only_assigned') | |
1140 | Member.generate!(:project => @project, :roles => [@role], :principal => @only_assigned_user) |
|
1141 | Member.generate!(:project => @project, :roles => [@role], :principal => @only_assigned_user) | |
1141 |
|
1142 | |||
1142 | @only_owned_user = User.generate!(:mail_notification => 'only_owner') |
|
1143 | @only_owned_user = User.generate!(:mail_notification => 'only_owner') | |
1143 | Member.generate!(:project => @project, :roles => [@role], :principal => @only_owned_user) |
|
1144 | Member.generate!(:project => @project, :roles => [@role], :principal => @only_owned_user) | |
1144 | end |
|
1145 | end | |
1145 |
|
1146 | |||
1146 | should "include members with a mail notification" do |
|
1147 | should "include members with a mail notification" do | |
1147 | assert @project.notified_users.include?(@user_with_membership_notification) |
|
1148 | assert @project.notified_users.include?(@user_with_membership_notification) | |
1148 | end |
|
1149 | end | |
1149 |
|
1150 | |||
1150 | should "include users with the 'all' notification option" do |
|
1151 | should "include users with the 'all' notification option" do | |
1151 | assert @project.notified_users.include?(@all_events_user) |
|
1152 | assert @project.notified_users.include?(@all_events_user) | |
1152 | end |
|
1153 | end | |
1153 |
|
1154 | |||
1154 | should "not include users with the 'none' notification option" do |
|
1155 | should "not include users with the 'none' notification option" do | |
1155 | assert !@project.notified_users.include?(@no_events_user) |
|
1156 | assert !@project.notified_users.include?(@no_events_user) | |
1156 | end |
|
1157 | end | |
1157 |
|
1158 | |||
1158 | should "not include users with the 'only_my_events' notification option" do |
|
1159 | should "not include users with the 'only_my_events' notification option" do | |
1159 | assert !@project.notified_users.include?(@only_my_events_user) |
|
1160 | assert !@project.notified_users.include?(@only_my_events_user) | |
1160 | end |
|
1161 | end | |
1161 |
|
1162 | |||
1162 | should "not include users with the 'only_assigned' notification option" do |
|
1163 | should "not include users with the 'only_assigned' notification option" do | |
1163 | assert !@project.notified_users.include?(@only_assigned_user) |
|
1164 | assert !@project.notified_users.include?(@only_assigned_user) | |
1164 | end |
|
1165 | end | |
1165 |
|
1166 | |||
1166 | should "not include users with the 'only_owner' notification option" do |
|
1167 | should "not include users with the 'only_owner' notification option" do | |
1167 | assert !@project.notified_users.include?(@only_owned_user) |
|
1168 | assert !@project.notified_users.include?(@only_owned_user) | |
1168 | end |
|
1169 | end | |
1169 | end |
|
1170 | end | |
1170 |
|
1171 | |||
1171 | end |
|
1172 | end |
General Comments 0
You need to be logged in to leave comments.
Login now