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