##// END OF EJS Templates
Adds a macro for inserting collapsed text (#12167)....
Jean-Philippe Lang -
r10469:d29fa4735b57
parent child
Show More
@@ -1,1077 +1,1078
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_auth_source_ldap_filter: LDAP filter
331 331 field_core_fields: Standard fields
332 332 field_timeout: "Timeout (in seconds)"
333 333 field_board_parent: Parent forum
334 334 field_private_notes: Private notes
335 335
336 336 setting_app_title: Application title
337 337 setting_app_subtitle: Application subtitle
338 338 setting_welcome_text: Welcome text
339 339 setting_default_language: Default language
340 340 setting_login_required: Authentication required
341 341 setting_self_registration: Self-registration
342 342 setting_attachment_max_size: Maximum attachment size
343 343 setting_issues_export_limit: Issues export limit
344 344 setting_mail_from: Emission email address
345 345 setting_bcc_recipients: Blind carbon copy recipients (bcc)
346 346 setting_plain_text_mail: Plain text mail (no HTML)
347 347 setting_host_name: Host name and path
348 348 setting_text_formatting: Text formatting
349 349 setting_wiki_compression: Wiki history compression
350 350 setting_feeds_limit: Maximum number of items in Atom feeds
351 351 setting_default_projects_public: New projects are public by default
352 352 setting_autofetch_changesets: Fetch commits automatically
353 353 setting_sys_api_enabled: Enable WS for repository management
354 354 setting_commit_ref_keywords: Referencing keywords
355 355 setting_commit_fix_keywords: Fixing keywords
356 356 setting_autologin: Autologin
357 357 setting_date_format: Date format
358 358 setting_time_format: Time format
359 359 setting_cross_project_issue_relations: Allow cross-project issue relations
360 360 setting_cross_project_subtasks: Allow cross-project subtasks
361 361 setting_issue_list_default_columns: Default columns displayed on the issue list
362 362 setting_repositories_encodings: Attachments and repositories encodings
363 363 setting_emails_header: Emails header
364 364 setting_emails_footer: Emails footer
365 365 setting_protocol: Protocol
366 366 setting_per_page_options: Objects per page options
367 367 setting_user_format: Users display format
368 368 setting_activity_days_default: Days displayed on project activity
369 369 setting_display_subprojects_issues: Display subprojects issues on main projects by default
370 370 setting_enabled_scm: Enabled SCM
371 371 setting_mail_handler_body_delimiters: "Truncate emails after one of these lines"
372 372 setting_mail_handler_api_enabled: Enable WS for incoming emails
373 373 setting_mail_handler_api_key: API key
374 374 setting_sequential_project_identifiers: Generate sequential project identifiers
375 375 setting_gravatar_enabled: Use Gravatar user icons
376 376 setting_gravatar_default: Default Gravatar image
377 377 setting_diff_max_lines_displayed: Maximum number of diff lines displayed
378 378 setting_file_max_size_displayed: Maximum size of text files displayed inline
379 379 setting_repository_log_display_limit: Maximum number of revisions displayed on file log
380 380 setting_openid: Allow OpenID login and registration
381 381 setting_password_min_length: Minimum password length
382 382 setting_new_project_user_role_id: Role given to a non-admin user who creates a project
383 383 setting_default_projects_modules: Default enabled modules for new projects
384 384 setting_issue_done_ratio: Calculate the issue done ratio with
385 385 setting_issue_done_ratio_issue_field: Use the issue field
386 386 setting_issue_done_ratio_issue_status: Use the issue status
387 387 setting_start_of_week: Start calendars on
388 388 setting_rest_api_enabled: Enable REST web service
389 389 setting_cache_formatted_text: Cache formatted text
390 390 setting_default_notification_option: Default notification option
391 391 setting_commit_logtime_enabled: Enable time logging
392 392 setting_commit_logtime_activity_id: Activity for logged time
393 393 setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
394 394 setting_issue_group_assignment: Allow issue assignment to groups
395 395 setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues
396 396 setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed
397 397 setting_unsubscribe: Allow users to delete their own account
398 398 setting_session_lifetime: Session maximum lifetime
399 399 setting_session_timeout: Session inactivity timeout
400 400 setting_thumbnails_enabled: Display attachment thumbnails
401 401 setting_thumbnails_size: Thumbnails size (in pixels)
402 402
403 403 permission_add_project: Create project
404 404 permission_add_subprojects: Create subprojects
405 405 permission_edit_project: Edit project
406 406 permission_close_project: Close / reopen the project
407 407 permission_select_project_modules: Select project modules
408 408 permission_manage_members: Manage members
409 409 permission_manage_project_activities: Manage project activities
410 410 permission_manage_versions: Manage versions
411 411 permission_manage_categories: Manage issue categories
412 412 permission_view_issues: View Issues
413 413 permission_add_issues: Add issues
414 414 permission_edit_issues: Edit issues
415 415 permission_manage_issue_relations: Manage issue relations
416 416 permission_set_issues_private: Set issues public or private
417 417 permission_set_own_issues_private: Set own issues public or private
418 418 permission_add_issue_notes: Add notes
419 419 permission_edit_issue_notes: Edit notes
420 420 permission_edit_own_issue_notes: Edit own notes
421 421 permission_view_private_notes: View private notes
422 422 permission_set_notes_private: Set notes as private
423 423 permission_move_issues: Move issues
424 424 permission_delete_issues: Delete issues
425 425 permission_manage_public_queries: Manage public queries
426 426 permission_save_queries: Save queries
427 427 permission_view_gantt: View gantt chart
428 428 permission_view_calendar: View calendar
429 429 permission_view_issue_watchers: View watchers list
430 430 permission_add_issue_watchers: Add watchers
431 431 permission_delete_issue_watchers: Delete watchers
432 432 permission_log_time: Log spent time
433 433 permission_view_time_entries: View spent time
434 434 permission_edit_time_entries: Edit time logs
435 435 permission_edit_own_time_entries: Edit own time logs
436 436 permission_manage_news: Manage news
437 437 permission_comment_news: Comment news
438 438 permission_manage_documents: Manage documents
439 439 permission_view_documents: View documents
440 440 permission_manage_files: Manage files
441 441 permission_view_files: View files
442 442 permission_manage_wiki: Manage wiki
443 443 permission_rename_wiki_pages: Rename wiki pages
444 444 permission_delete_wiki_pages: Delete wiki pages
445 445 permission_view_wiki_pages: View wiki
446 446 permission_view_wiki_edits: View wiki history
447 447 permission_edit_wiki_pages: Edit wiki pages
448 448 permission_delete_wiki_pages_attachments: Delete attachments
449 449 permission_protect_wiki_pages: Protect wiki pages
450 450 permission_manage_repository: Manage repository
451 451 permission_browse_repository: Browse repository
452 452 permission_view_changesets: View changesets
453 453 permission_commit_access: Commit access
454 454 permission_manage_boards: Manage forums
455 455 permission_view_messages: View messages
456 456 permission_add_messages: Post messages
457 457 permission_edit_messages: Edit messages
458 458 permission_edit_own_messages: Edit own messages
459 459 permission_delete_messages: Delete messages
460 460 permission_delete_own_messages: Delete own messages
461 461 permission_export_wiki_pages: Export wiki pages
462 462 permission_manage_subtasks: Manage subtasks
463 463 permission_manage_related_issues: Manage related issues
464 464
465 465 project_module_issue_tracking: Issue tracking
466 466 project_module_time_tracking: Time tracking
467 467 project_module_news: News
468 468 project_module_documents: Documents
469 469 project_module_files: Files
470 470 project_module_wiki: Wiki
471 471 project_module_repository: Repository
472 472 project_module_boards: Forums
473 473 project_module_calendar: Calendar
474 474 project_module_gantt: Gantt
475 475
476 476 label_user: User
477 477 label_user_plural: Users
478 478 label_user_new: New user
479 479 label_user_anonymous: Anonymous
480 480 label_project: Project
481 481 label_project_new: New project
482 482 label_project_plural: Projects
483 483 label_x_projects:
484 484 zero: no projects
485 485 one: 1 project
486 486 other: "%{count} projects"
487 487 label_project_all: All Projects
488 488 label_project_latest: Latest projects
489 489 label_issue: Issue
490 490 label_issue_new: New issue
491 491 label_issue_plural: Issues
492 492 label_issue_view_all: View all issues
493 493 label_issues_by: "Issues by %{value}"
494 494 label_issue_added: Issue added
495 495 label_issue_updated: Issue updated
496 496 label_issue_note_added: Note added
497 497 label_issue_status_updated: Status updated
498 498 label_issue_priority_updated: Priority updated
499 499 label_document: Document
500 500 label_document_new: New document
501 501 label_document_plural: Documents
502 502 label_document_added: Document added
503 503 label_role: Role
504 504 label_role_plural: Roles
505 505 label_role_new: New role
506 506 label_role_and_permissions: Roles and permissions
507 507 label_role_anonymous: Anonymous
508 508 label_role_non_member: Non member
509 509 label_member: Member
510 510 label_member_new: New member
511 511 label_member_plural: Members
512 512 label_tracker: Tracker
513 513 label_tracker_plural: Trackers
514 514 label_tracker_new: New tracker
515 515 label_workflow: Workflow
516 516 label_issue_status: Issue status
517 517 label_issue_status_plural: Issue statuses
518 518 label_issue_status_new: New status
519 519 label_issue_category: Issue category
520 520 label_issue_category_plural: Issue categories
521 521 label_issue_category_new: New category
522 522 label_custom_field: Custom field
523 523 label_custom_field_plural: Custom fields
524 524 label_custom_field_new: New custom field
525 525 label_enumerations: Enumerations
526 526 label_enumeration_new: New value
527 527 label_information: Information
528 528 label_information_plural: Information
529 529 label_please_login: Please log in
530 530 label_register: Register
531 531 label_login_with_open_id_option: or login with OpenID
532 532 label_password_lost: Lost password
533 533 label_home: Home
534 534 label_my_page: My page
535 535 label_my_account: My account
536 536 label_my_projects: My projects
537 537 label_my_page_block: My page block
538 538 label_administration: Administration
539 539 label_login: Sign in
540 540 label_logout: Sign out
541 541 label_help: Help
542 542 label_reported_issues: Reported issues
543 543 label_assigned_to_me_issues: Issues assigned to me
544 544 label_last_login: Last connection
545 545 label_registered_on: Registered on
546 546 label_activity: Activity
547 547 label_overall_activity: Overall activity
548 548 label_user_activity: "%{value}'s activity"
549 549 label_new: New
550 550 label_logged_as: Logged in as
551 551 label_environment: Environment
552 552 label_authentication: Authentication
553 553 label_auth_source: Authentication mode
554 554 label_auth_source_new: New authentication mode
555 555 label_auth_source_plural: Authentication modes
556 556 label_subproject_plural: Subprojects
557 557 label_subproject_new: New subproject
558 558 label_and_its_subprojects: "%{value} and its subprojects"
559 559 label_min_max_length: Min - Max length
560 560 label_list: List
561 561 label_date: Date
562 562 label_integer: Integer
563 563 label_float: Float
564 564 label_boolean: Boolean
565 565 label_string: Text
566 566 label_text: Long text
567 567 label_attribute: Attribute
568 568 label_attribute_plural: Attributes
569 569 label_download: "%{count} Download"
570 570 label_download_plural: "%{count} Downloads"
571 571 label_no_data: No data to display
572 572 label_change_status: Change status
573 573 label_history: History
574 574 label_attachment: File
575 575 label_attachment_new: New file
576 576 label_attachment_delete: Delete file
577 577 label_attachment_plural: Files
578 578 label_file_added: File added
579 579 label_report: Report
580 580 label_report_plural: Reports
581 581 label_news: News
582 582 label_news_new: Add news
583 583 label_news_plural: News
584 584 label_news_latest: Latest news
585 585 label_news_view_all: View all news
586 586 label_news_added: News added
587 587 label_news_comment_added: Comment added to a news
588 588 label_settings: Settings
589 589 label_overview: Overview
590 590 label_version: Version
591 591 label_version_new: New version
592 592 label_version_plural: Versions
593 593 label_close_versions: Close completed versions
594 594 label_confirmation: Confirmation
595 595 label_export_to: 'Also available in:'
596 596 label_read: Read...
597 597 label_public_projects: Public projects
598 598 label_open_issues: open
599 599 label_open_issues_plural: open
600 600 label_closed_issues: closed
601 601 label_closed_issues_plural: closed
602 602 label_x_open_issues_abbr_on_total:
603 603 zero: 0 open / %{total}
604 604 one: 1 open / %{total}
605 605 other: "%{count} open / %{total}"
606 606 label_x_open_issues_abbr:
607 607 zero: 0 open
608 608 one: 1 open
609 609 other: "%{count} open"
610 610 label_x_closed_issues_abbr:
611 611 zero: 0 closed
612 612 one: 1 closed
613 613 other: "%{count} closed"
614 614 label_x_issues:
615 615 zero: 0 issues
616 616 one: 1 issue
617 617 other: "%{count} issues"
618 618 label_total: Total
619 619 label_permissions: Permissions
620 620 label_current_status: Current status
621 621 label_new_statuses_allowed: New statuses allowed
622 622 label_all: all
623 623 label_any: any
624 624 label_none: none
625 625 label_nobody: nobody
626 626 label_next: Next
627 627 label_previous: Previous
628 628 label_used_by: Used by
629 629 label_details: Details
630 630 label_add_note: Add a note
631 631 label_per_page: Per page
632 632 label_calendar: Calendar
633 633 label_months_from: months from
634 634 label_gantt: Gantt
635 635 label_internal: Internal
636 636 label_last_changes: "last %{count} changes"
637 637 label_change_view_all: View all changes
638 638 label_personalize_page: Personalize this page
639 639 label_comment: Comment
640 640 label_comment_plural: Comments
641 641 label_x_comments:
642 642 zero: no comments
643 643 one: 1 comment
644 644 other: "%{count} comments"
645 645 label_comment_add: Add a comment
646 646 label_comment_added: Comment added
647 647 label_comment_delete: Delete comments
648 648 label_query: Custom query
649 649 label_query_plural: Custom queries
650 650 label_query_new: New query
651 651 label_my_queries: My custom queries
652 652 label_filter_add: Add filter
653 653 label_filter_plural: Filters
654 654 label_equals: is
655 655 label_not_equals: is not
656 656 label_in_less_than: in less than
657 657 label_in_more_than: in more than
658 658 label_greater_or_equal: '>='
659 659 label_less_or_equal: '<='
660 660 label_between: between
661 661 label_in: in
662 662 label_today: today
663 663 label_all_time: all time
664 664 label_yesterday: yesterday
665 665 label_this_week: this week
666 666 label_last_week: last week
667 667 label_last_n_weeks: "last %{count} weeks"
668 668 label_last_n_days: "last %{count} days"
669 669 label_this_month: this month
670 670 label_last_month: last month
671 671 label_this_year: this year
672 672 label_date_range: Date range
673 673 label_less_than_ago: less than days ago
674 674 label_more_than_ago: more than days ago
675 675 label_ago: days ago
676 676 label_contains: contains
677 677 label_not_contains: doesn't contain
678 678 label_any_issues_in_project: any issues in project
679 679 label_any_issues_not_in_project: any issues not in project
680 680 label_no_issues_in_project: no issues in project
681 681 label_day_plural: days
682 682 label_repository: Repository
683 683 label_repository_new: New repository
684 684 label_repository_plural: Repositories
685 685 label_browse: Browse
686 686 label_modification: "%{count} change"
687 687 label_modification_plural: "%{count} changes"
688 688 label_branch: Branch
689 689 label_tag: Tag
690 690 label_revision: Revision
691 691 label_revision_plural: Revisions
692 692 label_revision_id: "Revision %{value}"
693 693 label_associated_revisions: Associated revisions
694 694 label_added: added
695 695 label_modified: modified
696 696 label_copied: copied
697 697 label_renamed: renamed
698 698 label_deleted: deleted
699 699 label_latest_revision: Latest revision
700 700 label_latest_revision_plural: Latest revisions
701 701 label_view_revisions: View revisions
702 702 label_view_all_revisions: View all revisions
703 703 label_max_size: Maximum size
704 704 label_sort_highest: Move to top
705 705 label_sort_higher: Move up
706 706 label_sort_lower: Move down
707 707 label_sort_lowest: Move to bottom
708 708 label_roadmap: Roadmap
709 709 label_roadmap_due_in: "Due in %{value}"
710 710 label_roadmap_overdue: "%{value} late"
711 711 label_roadmap_no_issues: No issues for this version
712 712 label_search: Search
713 713 label_result_plural: Results
714 714 label_all_words: All words
715 715 label_wiki: Wiki
716 716 label_wiki_edit: Wiki edit
717 717 label_wiki_edit_plural: Wiki edits
718 718 label_wiki_page: Wiki page
719 719 label_wiki_page_plural: Wiki pages
720 720 label_index_by_title: Index by title
721 721 label_index_by_date: Index by date
722 722 label_current_version: Current version
723 723 label_preview: Preview
724 724 label_feed_plural: Feeds
725 725 label_changes_details: Details of all changes
726 726 label_issue_tracking: Issue tracking
727 727 label_spent_time: Spent time
728 728 label_overall_spent_time: Overall spent time
729 729 label_f_hour: "%{value} hour"
730 730 label_f_hour_plural: "%{value} hours"
731 731 label_time_tracking: Time tracking
732 732 label_change_plural: Changes
733 733 label_statistics: Statistics
734 734 label_commits_per_month: Commits per month
735 735 label_commits_per_author: Commits per author
736 736 label_diff: diff
737 737 label_view_diff: View differences
738 738 label_diff_inline: inline
739 739 label_diff_side_by_side: side by side
740 740 label_options: Options
741 741 label_copy_workflow_from: Copy workflow from
742 742 label_permissions_report: Permissions report
743 743 label_watched_issues: Watched issues
744 744 label_related_issues: Related issues
745 745 label_applied_status: Applied status
746 746 label_loading: Loading...
747 747 label_relation_new: New relation
748 748 label_relation_delete: Delete relation
749 749 label_relates_to: Related to
750 750 label_duplicates: Duplicates
751 751 label_duplicated_by: Duplicated by
752 752 label_blocks: Blocks
753 753 label_blocked_by: Blocked by
754 754 label_precedes: Precedes
755 755 label_follows: Follows
756 756 label_copied_to: Copied to
757 757 label_copied_from: Copied from
758 758 label_end_to_start: end to start
759 759 label_end_to_end: end to end
760 760 label_start_to_start: start to start
761 761 label_start_to_end: start to end
762 762 label_stay_logged_in: Stay logged in
763 763 label_disabled: disabled
764 764 label_show_completed_versions: Show completed versions
765 765 label_me: me
766 766 label_board: Forum
767 767 label_board_new: New forum
768 768 label_board_plural: Forums
769 769 label_board_locked: Locked
770 770 label_board_sticky: Sticky
771 771 label_topic_plural: Topics
772 772 label_message_plural: Messages
773 773 label_message_last: Last message
774 774 label_message_new: New message
775 775 label_message_posted: Message added
776 776 label_reply_plural: Replies
777 777 label_send_information: Send account information to the user
778 778 label_year: Year
779 779 label_month: Month
780 780 label_week: Week
781 781 label_date_from: From
782 782 label_date_to: To
783 783 label_language_based: Based on user's language
784 784 label_sort_by: "Sort by %{value}"
785 785 label_send_test_email: Send a test email
786 786 label_feeds_access_key: RSS access key
787 787 label_missing_feeds_access_key: Missing a RSS access key
788 788 label_feeds_access_key_created_on: "RSS access key created %{value} ago"
789 789 label_module_plural: Modules
790 790 label_added_time_by: "Added by %{author} %{age} ago"
791 791 label_updated_time_by: "Updated by %{author} %{age} ago"
792 792 label_updated_time: "Updated %{value} ago"
793 793 label_jump_to_a_project: Jump to a project...
794 794 label_file_plural: Files
795 795 label_changeset_plural: Changesets
796 796 label_default_columns: Default columns
797 797 label_no_change_option: (No change)
798 798 label_bulk_edit_selected_issues: Bulk edit selected issues
799 799 label_bulk_edit_selected_time_entries: Bulk edit selected time entries
800 800 label_theme: Theme
801 801 label_default: Default
802 802 label_search_titles_only: Search titles only
803 803 label_user_mail_option_all: "For any event on all my projects"
804 804 label_user_mail_option_selected: "For any event on the selected projects only..."
805 805 label_user_mail_option_none: "No events"
806 806 label_user_mail_option_only_my_events: "Only for things I watch or I'm involved in"
807 807 label_user_mail_option_only_assigned: "Only for things I am assigned to"
808 808 label_user_mail_option_only_owner: "Only for things I am the owner of"
809 809 label_user_mail_no_self_notified: "I don't want to be notified of changes that I make myself"
810 810 label_registration_activation_by_email: account activation by email
811 811 label_registration_manual_activation: manual account activation
812 812 label_registration_automatic_activation: automatic account activation
813 813 label_display_per_page: "Per page: %{value}"
814 814 label_age: Age
815 815 label_change_properties: Change properties
816 816 label_general: General
817 817 label_more: More
818 818 label_scm: SCM
819 819 label_plugins: Plugins
820 820 label_ldap_authentication: LDAP authentication
821 821 label_downloads_abbr: D/L
822 822 label_optional_description: Optional description
823 823 label_add_another_file: Add another file
824 824 label_preferences: Preferences
825 825 label_chronological_order: In chronological order
826 826 label_reverse_chronological_order: In reverse chronological order
827 827 label_planning: Planning
828 828 label_incoming_emails: Incoming emails
829 829 label_generate_key: Generate a key
830 830 label_issue_watchers: Watchers
831 831 label_example: Example
832 832 label_display: Display
833 833 label_sort: Sort
834 834 label_ascending: Ascending
835 835 label_descending: Descending
836 836 label_date_from_to: From %{start} to %{end}
837 837 label_wiki_content_added: Wiki page added
838 838 label_wiki_content_updated: Wiki page updated
839 839 label_group: Group
840 840 label_group_plural: Groups
841 841 label_group_new: New group
842 842 label_time_entry_plural: Spent time
843 843 label_version_sharing_none: Not shared
844 844 label_version_sharing_descendants: With subprojects
845 845 label_version_sharing_hierarchy: With project hierarchy
846 846 label_version_sharing_tree: With project tree
847 847 label_version_sharing_system: With all projects
848 848 label_update_issue_done_ratios: Update issue done ratios
849 849 label_copy_source: Source
850 850 label_copy_target: Target
851 851 label_copy_same_as_target: Same as target
852 852 label_display_used_statuses_only: Only display statuses that are used by this tracker
853 853 label_api_access_key: API access key
854 854 label_missing_api_access_key: Missing an API access key
855 855 label_api_access_key_created_on: "API access key created %{value} ago"
856 856 label_profile: Profile
857 857 label_subtask_plural: Subtasks
858 858 label_project_copy_notifications: Send email notifications during the project copy
859 859 label_principal_search: "Search for user or group:"
860 860 label_user_search: "Search for user:"
861 861 label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author
862 862 label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee
863 863 label_issues_visibility_all: All issues
864 864 label_issues_visibility_public: All non private issues
865 865 label_issues_visibility_own: Issues created by or assigned to the user
866 866 label_git_report_last_commit: Report last commit for files and directories
867 867 label_parent_revision: Parent
868 868 label_child_revision: Child
869 869 label_export_options: "%{export_format} export options"
870 870 label_copy_attachments: Copy attachments
871 871 label_copy_subtasks: Copy subtasks
872 872 label_item_position: "%{position} of %{count}"
873 873 label_completed_versions: Completed versions
874 874 label_search_for_watchers: Search for watchers to add
875 875 label_session_expiration: Session expiration
876 876 label_show_closed_projects: View closed projects
877 877 label_status_transitions: Status transitions
878 878 label_fields_permissions: Fields permissions
879 879 label_readonly: Read-only
880 880 label_required: Required
881 881 label_attribute_of_project: "Project's %{name}"
882 882 label_attribute_of_author: "Author's %{name}"
883 883 label_attribute_of_assigned_to: "Assignee's %{name}"
884 884 label_attribute_of_fixed_version: "Target version's %{name}"
885 885 label_cross_project_descendants: With subprojects
886 886 label_cross_project_tree: With project tree
887 887 label_cross_project_hierarchy: With project hierarchy
888 888 label_cross_project_system: With all projects
889 889
890 890 button_login: Login
891 891 button_submit: Submit
892 892 button_save: Save
893 893 button_check_all: Check all
894 894 button_uncheck_all: Uncheck all
895 895 button_collapse_all: Collapse all
896 896 button_expand_all: Expand all
897 897 button_delete: Delete
898 898 button_create: Create
899 899 button_create_and_continue: Create and continue
900 900 button_test: Test
901 901 button_edit: Edit
902 902 button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}"
903 903 button_add: Add
904 904 button_change: Change
905 905 button_apply: Apply
906 906 button_clear: Clear
907 907 button_lock: Lock
908 908 button_unlock: Unlock
909 909 button_download: Download
910 910 button_list: List
911 911 button_view: View
912 912 button_move: Move
913 913 button_move_and_follow: Move and follow
914 914 button_back: Back
915 915 button_cancel: Cancel
916 916 button_activate: Activate
917 917 button_sort: Sort
918 918 button_log_time: Log time
919 919 button_rollback: Rollback to this version
920 920 button_watch: Watch
921 921 button_unwatch: Unwatch
922 922 button_reply: Reply
923 923 button_archive: Archive
924 924 button_unarchive: Unarchive
925 925 button_reset: Reset
926 926 button_rename: Rename
927 927 button_change_password: Change password
928 928 button_copy: Copy
929 929 button_copy_and_follow: Copy and follow
930 930 button_annotate: Annotate
931 931 button_update: Update
932 932 button_configure: Configure
933 933 button_quote: Quote
934 934 button_duplicate: Duplicate
935 935 button_show: Show
936 button_hide: Hide
936 937 button_edit_section: Edit this section
937 938 button_export: Export
938 939 button_delete_my_account: Delete my account
939 940 button_close: Close
940 941 button_reopen: Reopen
941 942
942 943 status_active: active
943 944 status_registered: registered
944 945 status_locked: locked
945 946
946 947 project_status_active: active
947 948 project_status_closed: closed
948 949 project_status_archived: archived
949 950
950 951 version_status_open: open
951 952 version_status_locked: locked
952 953 version_status_closed: closed
953 954
954 955 field_active: Active
955 956
956 957 text_select_mail_notifications: Select actions for which email notifications should be sent.
957 958 text_regexp_info: eg. ^[A-Z0-9]+$
958 959 text_min_max_length_info: 0 means no restriction
959 960 text_project_destroy_confirmation: Are you sure you want to delete this project and related data?
960 961 text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted."
961 962 text_workflow_edit: Select a role and a tracker to edit the workflow
962 963 text_are_you_sure: Are you sure?
963 964 text_are_you_sure_with_children: "Delete issue and all child issues?"
964 965 text_journal_changed: "%{label} changed from %{old} to %{new}"
965 966 text_journal_changed_no_detail: "%{label} updated"
966 967 text_journal_set_to: "%{label} set to %{value}"
967 968 text_journal_deleted: "%{label} deleted (%{old})"
968 969 text_journal_added: "%{label} %{value} added"
969 970 text_tip_issue_begin_day: issue beginning this day
970 971 text_tip_issue_end_day: issue ending this day
971 972 text_tip_issue_begin_end_day: issue beginning and ending this day
972 973 text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.'
973 974 text_caracters_maximum: "%{count} characters maximum."
974 975 text_caracters_minimum: "Must be at least %{count} characters long."
975 976 text_length_between: "Length between %{min} and %{max} characters."
976 977 text_tracker_no_workflow: No workflow defined for this tracker
977 978 text_unallowed_characters: Unallowed characters
978 979 text_comma_separated: Multiple values allowed (comma separated).
979 980 text_line_separated: Multiple values allowed (one line for each value).
980 981 text_issues_ref_in_commit_messages: Referencing and fixing issues in commit messages
981 982 text_issue_added: "Issue %{id} has been reported by %{author}."
982 983 text_issue_updated: "Issue %{id} has been updated by %{author}."
983 984 text_wiki_destroy_confirmation: Are you sure you want to delete this wiki and all its content?
984 985 text_issue_category_destroy_question: "Some issues (%{count}) are assigned to this category. What do you want to do?"
985 986 text_issue_category_destroy_assignments: Remove category assignments
986 987 text_issue_category_reassign_to: Reassign issues to this category
987 988 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)."
988 989 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."
989 990 text_load_default_configuration: Load the default configuration
990 991 text_status_changed_by_changeset: "Applied in changeset %{value}."
991 992 text_time_logged_by_changeset: "Applied in changeset %{value}."
992 993 text_issues_destroy_confirmation: 'Are you sure you want to delete the selected issue(s)?'
993 994 text_issues_destroy_descendants_confirmation: "This will also delete %{count} subtask(s)."
994 995 text_time_entries_destroy_confirmation: 'Are you sure you want to delete the selected time entr(y/ies)?'
995 996 text_select_project_modules: 'Select modules to enable for this project:'
996 997 text_default_administrator_account_changed: Default administrator account changed
997 998 text_file_repository_writable: Attachments directory writable
998 999 text_plugin_assets_writable: Plugin assets directory writable
999 1000 text_rmagick_available: RMagick available (optional)
1000 1001 text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?"
1001 1002 text_destroy_time_entries: Delete reported hours
1002 1003 text_assign_time_entries_to_project: Assign reported hours to the project
1003 1004 text_reassign_time_entries: 'Reassign reported hours to this issue:'
1004 1005 text_user_wrote: "%{value} wrote:"
1005 1006 text_enumeration_destroy_question: "%{count} objects are assigned to this value."
1006 1007 text_enumeration_category_reassign_to: 'Reassign them to this value:'
1007 1008 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."
1008 1009 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."
1009 1010 text_diff_truncated: '... This diff was truncated because it exceeds the maximum size that can be displayed.'
1010 1011 text_custom_field_possible_values_info: 'One line for each value'
1011 1012 text_wiki_page_destroy_question: "This page has %{descendants} child page(s) and descendant(s). What do you want to do?"
1012 1013 text_wiki_page_nullify_children: "Keep child pages as root pages"
1013 1014 text_wiki_page_destroy_children: "Delete child pages and all their descendants"
1014 1015 text_wiki_page_reassign_children: "Reassign child pages to this parent page"
1015 1016 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?"
1016 1017 text_zoom_in: Zoom in
1017 1018 text_zoom_out: Zoom out
1018 1019 text_warn_on_leaving_unsaved: "The current page contains unsaved text that will be lost if you leave this page."
1019 1020 text_scm_path_encoding_note: "Default: UTF-8"
1020 1021 text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
1021 1022 text_mercurial_repository_note: Local repository (e.g. /hgrepo, c:\hgrepo)
1022 1023 text_scm_command: Command
1023 1024 text_scm_command_version: Version
1024 1025 text_scm_config: You can configure your scm commands in config/configuration.yml. Please restart the application after editing it.
1025 1026 text_scm_command_not_available: Scm command is not available. Please check settings on the administration panel.
1026 1027 text_issue_conflict_resolution_overwrite: "Apply my changes anyway (previous notes will be kept but some changes may be overwritten)"
1027 1028 text_issue_conflict_resolution_add_notes: "Add my notes and discard my other changes"
1028 1029 text_issue_conflict_resolution_cancel: "Discard all my changes and redisplay %{link}"
1029 1030 text_account_destroy_confirmation: "Are you sure you want to proceed?\nYour account will be permanently deleted, with no way to reactivate it."
1030 1031 text_session_expiration_settings: "Warning: changing these settings may expire the current sessions including yours."
1031 1032 text_project_closed: This project is closed and read-only.
1032 1033
1033 1034 default_role_manager: Manager
1034 1035 default_role_developer: Developer
1035 1036 default_role_reporter: Reporter
1036 1037 default_tracker_bug: Bug
1037 1038 default_tracker_feature: Feature
1038 1039 default_tracker_support: Support
1039 1040 default_issue_status_new: New
1040 1041 default_issue_status_in_progress: In Progress
1041 1042 default_issue_status_resolved: Resolved
1042 1043 default_issue_status_feedback: Feedback
1043 1044 default_issue_status_closed: Closed
1044 1045 default_issue_status_rejected: Rejected
1045 1046 default_doc_category_user: User documentation
1046 1047 default_doc_category_tech: Technical documentation
1047 1048 default_priority_low: Low
1048 1049 default_priority_normal: Normal
1049 1050 default_priority_high: High
1050 1051 default_priority_urgent: Urgent
1051 1052 default_priority_immediate: Immediate
1052 1053 default_activity_design: Design
1053 1054 default_activity_development: Development
1054 1055
1055 1056 enumeration_issue_priorities: Issue priorities
1056 1057 enumeration_doc_categories: Document categories
1057 1058 enumeration_activities: Activities (time tracking)
1058 1059 enumeration_system_activity: System Activity
1059 1060 description_filter: Filter
1060 1061 description_search: Searchfield
1061 1062 description_choose_project: Projects
1062 1063 description_project_scope: Search scope
1063 1064 description_notes: Notes
1064 1065 description_message_content: Message content
1065 1066 description_query_sort_criteria_attribute: Sort attribute
1066 1067 description_query_sort_criteria_direction: Sort direction
1067 1068 description_user_mail_notification: Mail notification settings
1068 1069 description_available_columns: Available Columns
1069 1070 description_selected_columns: Selected Columns
1070 1071 description_all_columns: All Columns
1071 1072 description_issue_category_reassign: Choose issue category
1072 1073 description_wiki_subpages_reassign: Choose new parent page
1073 1074 description_date_range_list: Choose range from list
1074 1075 description_date_range_interval: Choose range by selecting start and end date
1075 1076 description_date_from: Enter start date
1076 1077 description_date_to: Enter end date
1077 1078 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,1094 +1,1095
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_auth_source_ldap_filter: Filtre LDAP
330 330 field_core_fields: Champs standards
331 331 field_timeout: "Timeout (en secondes)"
332 332 field_board_parent: Forum parent
333 333 field_private_notes: Notes privΓ©es
334 334
335 335 setting_app_title: Titre de l'application
336 336 setting_app_subtitle: Sous-titre de l'application
337 337 setting_welcome_text: Texte d'accueil
338 338 setting_default_language: Langue par dΓ©faut
339 339 setting_login_required: Authentification obligatoire
340 340 setting_self_registration: Inscription des nouveaux utilisateurs
341 341 setting_attachment_max_size: Taille maximale des fichiers
342 342 setting_issues_export_limit: Limite d'exportation des demandes
343 343 setting_mail_from: Adresse d'Γ©mission
344 344 setting_bcc_recipients: Destinataires en copie cachΓ©e (cci)
345 345 setting_plain_text_mail: Mail en texte brut (non HTML)
346 346 setting_host_name: Nom d'hΓ΄te et chemin
347 347 setting_text_formatting: Formatage du texte
348 348 setting_wiki_compression: Compression de l'historique des pages wiki
349 349 setting_feeds_limit: Nombre maximal d'Γ©lΓ©ments dans les flux Atom
350 350 setting_default_projects_public: DΓ©finir les nouveaux projets comme publics par dΓ©faut
351 351 setting_autofetch_changesets: RΓ©cupΓ©ration automatique des commits
352 352 setting_sys_api_enabled: Activer les WS pour la gestion des dΓ©pΓ΄ts
353 353 setting_commit_ref_keywords: Mots-clΓ©s de rΓ©fΓ©rencement
354 354 setting_commit_fix_keywords: Mots-clΓ©s de rΓ©solution
355 355 setting_autologin: DurΓ©e maximale de connexion automatique
356 356 setting_date_format: Format de date
357 357 setting_time_format: Format d'heure
358 358 setting_cross_project_issue_relations: Autoriser les relations entre demandes de diffΓ©rents projets
359 359 setting_cross_project_subtasks: Autoriser les sous-tΓ’ches dans des projets diffΓ©rents
360 360 setting_issue_list_default_columns: Colonnes affichΓ©es par dΓ©faut sur la liste des demandes
361 361 setting_emails_footer: Pied-de-page des emails
362 362 setting_protocol: Protocole
363 363 setting_per_page_options: Options d'objets affichΓ©s par page
364 364 setting_user_format: Format d'affichage des utilisateurs
365 365 setting_activity_days_default: Nombre de jours affichΓ©s sur l'activitΓ© des projets
366 366 setting_display_subprojects_issues: Afficher par dΓ©faut les demandes des sous-projets sur les projets principaux
367 367 setting_enabled_scm: SCM activΓ©s
368 368 setting_mail_handler_body_delimiters: "Tronquer les emails après l'une de ces lignes"
369 369 setting_mail_handler_api_enabled: "Activer le WS pour la rΓ©ception d'emails"
370 370 setting_mail_handler_api_key: ClΓ© de protection de l'API
371 371 setting_sequential_project_identifiers: GΓ©nΓ©rer des identifiants de projet sΓ©quentiels
372 372 setting_gravatar_enabled: Afficher les Gravatar des utilisateurs
373 373 setting_diff_max_lines_displayed: Nombre maximum de lignes de diff affichΓ©es
374 374 setting_file_max_size_displayed: Taille maximum des fichiers texte affichΓ©s en ligne
375 375 setting_repository_log_display_limit: "Nombre maximum de rΓ©visions affichΓ©es sur l'historique d'un fichier"
376 376 setting_openid: "Autoriser l'authentification et l'enregistrement OpenID"
377 377 setting_password_min_length: Longueur minimum des mots de passe
378 378 setting_new_project_user_role_id: RΓ΄le donnΓ© Γ  un utilisateur non-administrateur qui crΓ©e un projet
379 379 setting_default_projects_modules: Modules activΓ©s par dΓ©faut pour les nouveaux projets
380 380 setting_issue_done_ratio: Calcul de l'avancement des demandes
381 381 setting_issue_done_ratio_issue_status: Utiliser le statut
382 382 setting_issue_done_ratio_issue_field: 'Utiliser le champ % effectuΓ©'
383 383 setting_rest_api_enabled: Activer l'API REST
384 384 setting_gravatar_default: Image Gravatar par dΓ©faut
385 385 setting_start_of_week: Jour de dΓ©but des calendriers
386 386 setting_cache_formatted_text: Mettre en cache le texte formatΓ©
387 387 setting_commit_logtime_enabled: Permettre la saisie de temps
388 388 setting_commit_logtime_activity_id: ActivitΓ© pour le temps saisi
389 389 setting_gantt_items_limit: Nombre maximum d'Γ©lΓ©ments affichΓ©s sur le gantt
390 390 setting_issue_group_assignment: Permettre l'assignement des demandes aux groupes
391 391 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
392 392 setting_commit_cross_project_ref: Permettre le rΓ©fΓ©rencement et la rΓ©solution des demandes de tous les autres projets
393 393 setting_unsubscribe: Permettre aux utilisateurs de supprimer leur propre compte
394 394 setting_session_lifetime: DurΓ©e de vie maximale des sessions
395 395 setting_session_timeout: DurΓ©e maximale d'inactivitΓ©
396 396 setting_thumbnails_enabled: Afficher les vignettes des images
397 397 setting_thumbnails_size: Taille des vignettes (en pixels)
398 398
399 399 permission_add_project: CrΓ©er un projet
400 400 permission_add_subprojects: CrΓ©er des sous-projets
401 401 permission_edit_project: Modifier le projet
402 402 permission_close_project: Fermer / rΓ©ouvrir le projet
403 403 permission_select_project_modules: Choisir les modules
404 404 permission_manage_members: GΓ©rer les membres
405 405 permission_manage_versions: GΓ©rer les versions
406 406 permission_manage_categories: GΓ©rer les catΓ©gories de demandes
407 407 permission_view_issues: Voir les demandes
408 408 permission_add_issues: CrΓ©er des demandes
409 409 permission_edit_issues: Modifier les demandes
410 410 permission_manage_issue_relations: GΓ©rer les relations
411 411 permission_set_issues_private: Rendre les demandes publiques ou privΓ©es
412 412 permission_set_own_issues_private: Rendre ses propres demandes publiques ou privΓ©es
413 413 permission_add_issue_notes: Ajouter des notes
414 414 permission_edit_issue_notes: Modifier les notes
415 415 permission_edit_own_issue_notes: Modifier ses propres notes
416 416 permission_view_private_notes: Voir les notes privΓ©es
417 417 permission_set_notes_private: Rendre les notes privΓ©es
418 418 permission_move_issues: DΓ©placer les demandes
419 419 permission_delete_issues: Supprimer les demandes
420 420 permission_manage_public_queries: GΓ©rer les requΓͺtes publiques
421 421 permission_save_queries: Sauvegarder les requΓͺtes
422 422 permission_view_gantt: Voir le gantt
423 423 permission_view_calendar: Voir le calendrier
424 424 permission_view_issue_watchers: Voir la liste des observateurs
425 425 permission_add_issue_watchers: Ajouter des observateurs
426 426 permission_delete_issue_watchers: Supprimer des observateurs
427 427 permission_log_time: Saisir le temps passΓ©
428 428 permission_view_time_entries: Voir le temps passΓ©
429 429 permission_edit_time_entries: Modifier les temps passΓ©s
430 430 permission_edit_own_time_entries: Modifier son propre temps passΓ©
431 431 permission_manage_news: GΓ©rer les annonces
432 432 permission_comment_news: Commenter les annonces
433 433 permission_manage_documents: GΓ©rer les documents
434 434 permission_view_documents: Voir les documents
435 435 permission_manage_files: GΓ©rer les fichiers
436 436 permission_view_files: Voir les fichiers
437 437 permission_manage_wiki: GΓ©rer le wiki
438 438 permission_rename_wiki_pages: Renommer les pages
439 439 permission_delete_wiki_pages: Supprimer les pages
440 440 permission_view_wiki_pages: Voir le wiki
441 441 permission_view_wiki_edits: "Voir l'historique des modifications"
442 442 permission_edit_wiki_pages: Modifier les pages
443 443 permission_delete_wiki_pages_attachments: Supprimer les fichiers joints
444 444 permission_protect_wiki_pages: ProtΓ©ger les pages
445 445 permission_manage_repository: GΓ©rer le dΓ©pΓ΄t de sources
446 446 permission_browse_repository: Parcourir les sources
447 447 permission_view_changesets: Voir les rΓ©visions
448 448 permission_commit_access: Droit de commit
449 449 permission_manage_boards: GΓ©rer les forums
450 450 permission_view_messages: Voir les messages
451 451 permission_add_messages: Poster un message
452 452 permission_edit_messages: Modifier les messages
453 453 permission_edit_own_messages: Modifier ses propres messages
454 454 permission_delete_messages: Supprimer les messages
455 455 permission_delete_own_messages: Supprimer ses propres messages
456 456 permission_export_wiki_pages: Exporter les pages
457 457 permission_manage_project_activities: GΓ©rer les activitΓ©s
458 458 permission_manage_subtasks: GΓ©rer les sous-tΓ’ches
459 459 permission_manage_related_issues: GΓ©rer les demandes associΓ©es
460 460
461 461 project_module_issue_tracking: Suivi des demandes
462 462 project_module_time_tracking: Suivi du temps passΓ©
463 463 project_module_news: Publication d'annonces
464 464 project_module_documents: Publication de documents
465 465 project_module_files: Publication de fichiers
466 466 project_module_wiki: Wiki
467 467 project_module_repository: DΓ©pΓ΄t de sources
468 468 project_module_boards: Forums de discussion
469 469
470 470 label_user: Utilisateur
471 471 label_user_plural: Utilisateurs
472 472 label_user_new: Nouvel utilisateur
473 473 label_user_anonymous: Anonyme
474 474 label_project: Projet
475 475 label_project_new: Nouveau projet
476 476 label_project_plural: Projets
477 477 label_x_projects:
478 478 zero: aucun projet
479 479 one: un projet
480 480 other: "%{count} projets"
481 481 label_project_all: Tous les projets
482 482 label_project_latest: Derniers projets
483 483 label_issue: Demande
484 484 label_issue_new: Nouvelle demande
485 485 label_issue_plural: Demandes
486 486 label_issue_view_all: Voir toutes les demandes
487 487 label_issue_added: Demande ajoutΓ©e
488 488 label_issue_updated: Demande mise Γ  jour
489 489 label_issue_note_added: Note ajoutΓ©e
490 490 label_issue_status_updated: Statut changΓ©
491 491 label_issue_priority_updated: PrioritΓ© changΓ©e
492 492 label_issues_by: "Demandes par %{value}"
493 493 label_document: Document
494 494 label_document_new: Nouveau document
495 495 label_document_plural: Documents
496 496 label_document_added: Document ajoutΓ©
497 497 label_role: RΓ΄le
498 498 label_role_plural: RΓ΄les
499 499 label_role_new: Nouveau rΓ΄le
500 500 label_role_and_permissions: RΓ΄les et permissions
501 501 label_role_anonymous: Anonyme
502 502 label_role_non_member: Non membre
503 503 label_member: Membre
504 504 label_member_new: Nouveau membre
505 505 label_member_plural: Membres
506 506 label_tracker: Tracker
507 507 label_tracker_plural: Trackers
508 508 label_tracker_new: Nouveau tracker
509 509 label_workflow: Workflow
510 510 label_issue_status: Statut de demandes
511 511 label_issue_status_plural: Statuts de demandes
512 512 label_issue_status_new: Nouveau statut
513 513 label_issue_category: CatΓ©gorie de demandes
514 514 label_issue_category_plural: CatΓ©gories de demandes
515 515 label_issue_category_new: Nouvelle catΓ©gorie
516 516 label_custom_field: Champ personnalisΓ©
517 517 label_custom_field_plural: Champs personnalisΓ©s
518 518 label_custom_field_new: Nouveau champ personnalisΓ©
519 519 label_enumerations: Listes de valeurs
520 520 label_enumeration_new: Nouvelle valeur
521 521 label_information: Information
522 522 label_information_plural: Informations
523 523 label_please_login: Identification
524 524 label_register: S'enregistrer
525 525 label_login_with_open_id_option: S'authentifier avec OpenID
526 526 label_password_lost: Mot de passe perdu
527 527 label_home: Accueil
528 528 label_my_page: Ma page
529 529 label_my_account: Mon compte
530 530 label_my_projects: Mes projets
531 531 label_my_page_block: Blocs disponibles
532 532 label_administration: Administration
533 533 label_login: Connexion
534 534 label_logout: DΓ©connexion
535 535 label_help: Aide
536 536 label_reported_issues: "Demandes soumises "
537 537 label_assigned_to_me_issues: Demandes qui me sont assignΓ©es
538 538 label_last_login: "Dernière connexion "
539 539 label_registered_on: "Inscrit le "
540 540 label_activity: ActivitΓ©
541 541 label_overall_activity: ActivitΓ© globale
542 542 label_user_activity: "ActivitΓ© de %{value}"
543 543 label_new: Nouveau
544 544 label_logged_as: ConnectΓ© en tant que
545 545 label_environment: Environnement
546 546 label_authentication: Authentification
547 547 label_auth_source: Mode d'authentification
548 548 label_auth_source_new: Nouveau mode d'authentification
549 549 label_auth_source_plural: Modes d'authentification
550 550 label_subproject_plural: Sous-projets
551 551 label_subproject_new: Nouveau sous-projet
552 552 label_and_its_subprojects: "%{value} et ses sous-projets"
553 553 label_min_max_length: Longueurs mini - maxi
554 554 label_list: Liste
555 555 label_date: Date
556 556 label_integer: Entier
557 557 label_float: Nombre dΓ©cimal
558 558 label_boolean: BoolΓ©en
559 559 label_string: Texte
560 560 label_text: Texte long
561 561 label_attribute: Attribut
562 562 label_attribute_plural: Attributs
563 563 label_download: "%{count} tΓ©lΓ©chargement"
564 564 label_download_plural: "%{count} tΓ©lΓ©chargements"
565 565 label_no_data: Aucune donnΓ©e Γ  afficher
566 566 label_change_status: Changer le statut
567 567 label_history: Historique
568 568 label_attachment: Fichier
569 569 label_attachment_new: Nouveau fichier
570 570 label_attachment_delete: Supprimer le fichier
571 571 label_attachment_plural: Fichiers
572 572 label_file_added: Fichier ajoutΓ©
573 573 label_report: Rapport
574 574 label_report_plural: Rapports
575 575 label_news: Annonce
576 576 label_news_new: Nouvelle annonce
577 577 label_news_plural: Annonces
578 578 label_news_latest: Dernières annonces
579 579 label_news_view_all: Voir toutes les annonces
580 580 label_news_added: Annonce ajoutΓ©e
581 581 label_news_comment_added: Commentaire ajoutΓ© Γ  une annonce
582 582 label_settings: Configuration
583 583 label_overview: AperΓ§u
584 584 label_version: Version
585 585 label_version_new: Nouvelle version
586 586 label_version_plural: Versions
587 587 label_confirmation: Confirmation
588 588 label_export_to: 'Formats disponibles :'
589 589 label_read: Lire...
590 590 label_public_projects: Projets publics
591 591 label_open_issues: ouvert
592 592 label_open_issues_plural: ouverts
593 593 label_closed_issues: fermΓ©
594 594 label_closed_issues_plural: fermΓ©s
595 595 label_x_open_issues_abbr_on_total:
596 596 zero: 0 ouverte sur %{total}
597 597 one: 1 ouverte sur %{total}
598 598 other: "%{count} ouvertes sur %{total}"
599 599 label_x_open_issues_abbr:
600 600 zero: 0 ouverte
601 601 one: 1 ouverte
602 602 other: "%{count} ouvertes"
603 603 label_x_closed_issues_abbr:
604 604 zero: 0 fermΓ©e
605 605 one: 1 fermΓ©e
606 606 other: "%{count} fermΓ©es"
607 607 label_x_issues:
608 608 zero: 0 demande
609 609 one: 1 demande
610 610 other: "%{count} demandes"
611 611 label_total: Total
612 612 label_permissions: Permissions
613 613 label_current_status: Statut actuel
614 614 label_new_statuses_allowed: Nouveaux statuts autorisΓ©s
615 615 label_all: tous
616 616 label_any: tous
617 617 label_none: aucun
618 618 label_nobody: personne
619 619 label_next: Suivant
620 620 label_previous: PrΓ©cΓ©dent
621 621 label_used_by: UtilisΓ© par
622 622 label_details: DΓ©tails
623 623 label_add_note: Ajouter une note
624 624 label_per_page: Par page
625 625 label_calendar: Calendrier
626 626 label_months_from: mois depuis
627 627 label_gantt: Gantt
628 628 label_internal: Interne
629 629 label_last_changes: "%{count} derniers changements"
630 630 label_change_view_all: Voir tous les changements
631 631 label_personalize_page: Personnaliser cette page
632 632 label_comment: Commentaire
633 633 label_comment_plural: Commentaires
634 634 label_x_comments:
635 635 zero: aucun commentaire
636 636 one: un commentaire
637 637 other: "%{count} commentaires"
638 638 label_comment_add: Ajouter un commentaire
639 639 label_comment_added: Commentaire ajoutΓ©
640 640 label_comment_delete: Supprimer les commentaires
641 641 label_query: Rapport personnalisΓ©
642 642 label_query_plural: Rapports personnalisΓ©s
643 643 label_query_new: Nouveau rapport
644 644 label_my_queries: Mes rapports personnalisΓ©s
645 645 label_filter_add: "Ajouter le filtre "
646 646 label_filter_plural: Filtres
647 647 label_equals: Γ©gal
648 648 label_not_equals: diffΓ©rent
649 649 label_in_less_than: dans moins de
650 650 label_in_more_than: dans plus de
651 651 label_in: dans
652 652 label_today: aujourd'hui
653 653 label_all_time: toute la pΓ©riode
654 654 label_yesterday: hier
655 655 label_this_week: cette semaine
656 656 label_last_week: la semaine dernière
657 657 label_last_n_weeks: "les %{count} dernières semaines"
658 658 label_last_n_days: "les %{count} derniers jours"
659 659 label_this_month: ce mois-ci
660 660 label_last_month: le mois dernier
661 661 label_this_year: cette annΓ©e
662 662 label_date_range: PΓ©riode
663 663 label_less_than_ago: il y a moins de
664 664 label_more_than_ago: il y a plus de
665 665 label_ago: il y a
666 666 label_contains: contient
667 667 label_not_contains: ne contient pas
668 668 label_any_issues_in_project: une demande du projet
669 669 label_any_issues_not_in_project: une demande hors du projet
670 670 label_no_issues_in_project: aucune demande du projet
671 671 label_day_plural: jours
672 672 label_repository: DΓ©pΓ΄t
673 673 label_repository_new: Nouveau dΓ©pΓ΄t
674 674 label_repository_plural: DΓ©pΓ΄ts
675 675 label_browse: Parcourir
676 676 label_modification: "%{count} modification"
677 677 label_modification_plural: "%{count} modifications"
678 678 label_revision: "RΓ©vision "
679 679 label_revision_plural: RΓ©visions
680 680 label_associated_revisions: RΓ©visions associΓ©es
681 681 label_added: ajoutΓ©
682 682 label_modified: modifiΓ©
683 683 label_copied: copiΓ©
684 684 label_renamed: renommΓ©
685 685 label_deleted: supprimΓ©
686 686 label_latest_revision: Dernière révision
687 687 label_latest_revision_plural: Dernières révisions
688 688 label_view_revisions: Voir les rΓ©visions
689 689 label_max_size: Taille maximale
690 690 label_sort_highest: Remonter en premier
691 691 label_sort_higher: Remonter
692 692 label_sort_lower: Descendre
693 693 label_sort_lowest: Descendre en dernier
694 694 label_roadmap: Roadmap
695 695 label_roadmap_due_in: "Γ‰chΓ©ance dans %{value}"
696 696 label_roadmap_overdue: "En retard de %{value}"
697 697 label_roadmap_no_issues: Aucune demande pour cette version
698 698 label_search: "Recherche "
699 699 label_result_plural: RΓ©sultats
700 700 label_all_words: Tous les mots
701 701 label_wiki: Wiki
702 702 label_wiki_edit: RΓ©vision wiki
703 703 label_wiki_edit_plural: RΓ©visions wiki
704 704 label_wiki_page: Page wiki
705 705 label_wiki_page_plural: Pages wiki
706 706 label_index_by_title: Index par titre
707 707 label_index_by_date: Index par date
708 708 label_current_version: Version actuelle
709 709 label_preview: PrΓ©visualisation
710 710 label_feed_plural: Flux RSS
711 711 label_changes_details: DΓ©tails de tous les changements
712 712 label_issue_tracking: Suivi des demandes
713 713 label_spent_time: Temps passΓ©
714 714 label_f_hour: "%{value} heure"
715 715 label_f_hour_plural: "%{value} heures"
716 716 label_time_tracking: Suivi du temps
717 717 label_change_plural: Changements
718 718 label_statistics: Statistiques
719 719 label_commits_per_month: Commits par mois
720 720 label_commits_per_author: Commits par auteur
721 721 label_view_diff: Voir les diffΓ©rences
722 722 label_diff_inline: en ligne
723 723 label_diff_side_by_side: cΓ΄te Γ  cΓ΄te
724 724 label_options: Options
725 725 label_copy_workflow_from: Copier le workflow de
726 726 label_permissions_report: Synthèse des permissions
727 727 label_watched_issues: Demandes surveillΓ©es
728 728 label_related_issues: Demandes liΓ©es
729 729 label_applied_status: Statut appliquΓ©
730 730 label_loading: Chargement...
731 731 label_relation_new: Nouvelle relation
732 732 label_relation_delete: Supprimer la relation
733 733 label_relates_to: LiΓ© Γ 
734 734 label_duplicates: Duplique
735 735 label_duplicated_by: DupliquΓ© par
736 736 label_blocks: Bloque
737 737 label_blocked_by: BloquΓ© par
738 738 label_precedes: Précède
739 739 label_follows: Suit
740 740 label_copied_to: CopiΓ© vers
741 741 label_copied_from: CopiΓ© depuis
742 742 label_end_to_start: fin Γ  dΓ©but
743 743 label_end_to_end: fin Γ  fin
744 744 label_start_to_start: dΓ©but Γ  dΓ©but
745 745 label_start_to_end: dΓ©but Γ  fin
746 746 label_stay_logged_in: Rester connectΓ©
747 747 label_disabled: dΓ©sactivΓ©
748 748 label_show_completed_versions: Voir les versions passΓ©es
749 749 label_me: moi
750 750 label_board: Forum
751 751 label_board_new: Nouveau forum
752 752 label_board_plural: Forums
753 753 label_topic_plural: Discussions
754 754 label_message_plural: Messages
755 755 label_message_last: Dernier message
756 756 label_message_new: Nouveau message
757 757 label_message_posted: Message ajoutΓ©
758 758 label_reply_plural: RΓ©ponses
759 759 label_send_information: Envoyer les informations Γ  l'utilisateur
760 760 label_year: AnnΓ©e
761 761 label_month: Mois
762 762 label_week: Semaine
763 763 label_date_from: Du
764 764 label_date_to: Au
765 765 label_language_based: BasΓ© sur la langue de l'utilisateur
766 766 label_sort_by: "Trier par %{value}"
767 767 label_send_test_email: Envoyer un email de test
768 768 label_feeds_access_key_created_on: "Clé d'accès RSS créée il y a %{value}"
769 769 label_module_plural: Modules
770 770 label_added_time_by: "AjoutΓ© par %{author} il y a %{age}"
771 771 label_updated_time_by: "Mis Γ  jour par %{author} il y a %{age}"
772 772 label_updated_time: "Mis Γ  jour il y a %{value}"
773 773 label_jump_to_a_project: Aller Γ  un projet...
774 774 label_file_plural: Fichiers
775 775 label_changeset_plural: RΓ©visions
776 776 label_default_columns: Colonnes par dΓ©faut
777 777 label_no_change_option: (Pas de changement)
778 778 label_bulk_edit_selected_issues: Modifier les demandes sΓ©lectionnΓ©es
779 779 label_theme: Thème
780 780 label_default: DΓ©faut
781 781 label_search_titles_only: Uniquement dans les titres
782 782 label_user_mail_option_all: "Pour tous les Γ©vΓ©nements de tous mes projets"
783 783 label_user_mail_option_selected: "Pour tous les Γ©vΓ©nements des projets sΓ©lectionnΓ©s..."
784 784 label_user_mail_no_self_notified: "Je ne veux pas Γͺtre notifiΓ© des changements que j'effectue"
785 785 label_registration_activation_by_email: activation du compte par email
786 786 label_registration_manual_activation: activation manuelle du compte
787 787 label_registration_automatic_activation: activation automatique du compte
788 788 label_display_per_page: "Par page : %{value}"
789 789 label_age: Γ‚ge
790 790 label_change_properties: Changer les propriΓ©tΓ©s
791 791 label_general: GΓ©nΓ©ral
792 792 label_more: Plus
793 793 label_scm: SCM
794 794 label_plugins: Plugins
795 795 label_ldap_authentication: Authentification LDAP
796 796 label_downloads_abbr: D/L
797 797 label_optional_description: Description facultative
798 798 label_add_another_file: Ajouter un autre fichier
799 799 label_preferences: PrΓ©fΓ©rences
800 800 label_chronological_order: Dans l'ordre chronologique
801 801 label_reverse_chronological_order: Dans l'ordre chronologique inverse
802 802 label_planning: Planning
803 803 label_incoming_emails: Emails entrants
804 804 label_generate_key: GΓ©nΓ©rer une clΓ©
805 805 label_issue_watchers: Observateurs
806 806 label_example: Exemple
807 807 label_display: Affichage
808 808 label_sort: Tri
809 809 label_ascending: Croissant
810 810 label_descending: DΓ©croissant
811 811 label_date_from_to: Du %{start} au %{end}
812 812 label_wiki_content_added: Page wiki ajoutΓ©e
813 813 label_wiki_content_updated: Page wiki mise Γ  jour
814 814 label_group_plural: Groupes
815 815 label_group: Groupe
816 816 label_group_new: Nouveau groupe
817 817 label_time_entry_plural: Temps passΓ©
818 818 label_version_sharing_none: Non partagΓ©
819 819 label_version_sharing_descendants: Avec les sous-projets
820 820 label_version_sharing_hierarchy: Avec toute la hiΓ©rarchie
821 821 label_version_sharing_tree: Avec tout l'arbre
822 822 label_version_sharing_system: Avec tous les projets
823 823 label_copy_source: Source
824 824 label_copy_target: Cible
825 825 label_copy_same_as_target: Comme la cible
826 826 label_update_issue_done_ratios: Mettre Γ  jour l'avancement des demandes
827 827 label_display_used_statuses_only: N'afficher que les statuts utilisΓ©s dans ce tracker
828 828 label_api_access_key: Clé d'accès API
829 829 label_api_access_key_created_on: Clé d'accès API créée il y a %{value}
830 830 label_feeds_access_key: Clé d'accès RSS
831 831 label_missing_api_access_key: Clé d'accès API manquante
832 832 label_missing_feeds_access_key: Clé d'accès RSS manquante
833 833 label_close_versions: Fermer les versions terminΓ©es
834 834 label_revision_id: RΓ©vision %{value}
835 835 label_profile: Profil
836 836 label_subtask_plural: Sous-tΓ’ches
837 837 label_project_copy_notifications: Envoyer les notifications durant la copie du projet
838 838 label_principal_search: "Rechercher un utilisateur ou un groupe :"
839 839 label_user_search: "Rechercher un utilisateur :"
840 840 label_additional_workflow_transitions_for_author: Autorisations supplémentaires lorsque l'utilisateur a créé la demande
841 841 label_additional_workflow_transitions_for_assignee: Autorisations supplΓ©mentaires lorsque la demande est assignΓ©e Γ  l'utilisateur
842 842 label_issues_visibility_all: Toutes les demandes
843 843 label_issues_visibility_public: Toutes les demandes non privΓ©es
844 844 label_issues_visibility_own: Demandes créées par ou assignées à l'utilisateur
845 845 label_export_options: Options d'exportation %{export_format}
846 846 label_copy_attachments: Copier les fichiers
847 847 label_copy_subtasks: Copier les sous-tΓ’ches
848 848 label_item_position: "%{position} sur %{count}"
849 849 label_completed_versions: Versions passΓ©es
850 850 label_session_expiration: Expiration des sessions
851 851 label_show_closed_projects: Voir les projets fermΓ©s
852 852 label_status_transitions: Changements de statut
853 853 label_fields_permissions: Permissions sur les champs
854 854 label_readonly: Lecture
855 855 label_required: Obligatoire
856 856 label_attribute_of_project: "%{name} du projet"
857 857 label_attribute_of_author: "%{name} de l'auteur"
858 858 label_attribute_of_assigned_to: "%{name} de l'assignΓ©"
859 859 label_attribute_of_fixed_version: "%{name} de la version cible"
860 860 label_cross_project_descendants: Avec les sous-projets
861 861 label_cross_project_tree: Avec tout l'arbre
862 862 label_cross_project_hierarchy: Avec toute la hiΓ©rarchie
863 863 label_cross_project_system: Avec tous les projets
864 864
865 865 button_login: Connexion
866 866 button_submit: Soumettre
867 867 button_save: Sauvegarder
868 868 button_check_all: Tout cocher
869 869 button_uncheck_all: Tout dΓ©cocher
870 870 button_collapse_all: Plier tout
871 871 button_expand_all: DΓ©plier tout
872 872 button_delete: Supprimer
873 873 button_create: CrΓ©er
874 874 button_create_and_continue: CrΓ©er et continuer
875 875 button_test: Tester
876 876 button_edit: Modifier
877 877 button_add: Ajouter
878 878 button_change: Changer
879 879 button_apply: Appliquer
880 880 button_clear: Effacer
881 881 button_lock: Verrouiller
882 882 button_unlock: DΓ©verrouiller
883 883 button_download: TΓ©lΓ©charger
884 884 button_list: Lister
885 885 button_view: Voir
886 886 button_move: DΓ©placer
887 887 button_move_and_follow: DΓ©placer et suivre
888 888 button_back: Retour
889 889 button_cancel: Annuler
890 890 button_activate: Activer
891 891 button_sort: Trier
892 892 button_log_time: Saisir temps
893 893 button_rollback: Revenir Γ  cette version
894 894 button_watch: Surveiller
895 895 button_unwatch: Ne plus surveiller
896 896 button_reply: RΓ©pondre
897 897 button_archive: Archiver
898 898 button_unarchive: DΓ©sarchiver
899 899 button_reset: RΓ©initialiser
900 900 button_rename: Renommer
901 901 button_change_password: Changer de mot de passe
902 902 button_copy: Copier
903 903 button_copy_and_follow: Copier et suivre
904 904 button_annotate: Annoter
905 905 button_update: Mettre Γ  jour
906 906 button_configure: Configurer
907 907 button_quote: Citer
908 908 button_duplicate: Dupliquer
909 909 button_show: Afficher
910 button_hide: Cacher
910 911 button_edit_section: Modifier cette section
911 912 button_export: Exporter
912 913 button_delete_my_account: Supprimer mon compte
913 914 button_close: Fermer
914 915 button_reopen: RΓ©ouvrir
915 916
916 917 status_active: actif
917 918 status_registered: enregistrΓ©
918 919 status_locked: verrouillΓ©
919 920
920 921 project_status_active: actif
921 922 project_status_closed: fermΓ©
922 923 project_status_archived: archivΓ©
923 924
924 925 version_status_open: ouvert
925 926 version_status_locked: verrouillΓ©
926 927 version_status_closed: fermΓ©
927 928
928 929 text_select_mail_notifications: Actions pour lesquelles une notification par e-mail est envoyΓ©e
929 930 text_regexp_info: ex. ^[A-Z0-9]+$
930 931 text_min_max_length_info: 0 pour aucune restriction
931 932 text_project_destroy_confirmation: Êtes-vous sûr de vouloir supprimer ce projet et toutes ses données ?
932 933 text_subprojects_destroy_warning: "Ses sous-projets : %{value} seront Γ©galement supprimΓ©s."
933 934 text_workflow_edit: SΓ©lectionner un tracker et un rΓ΄le pour Γ©diter le workflow
934 935 text_are_you_sure: Êtes-vous sûr ?
935 936 text_tip_issue_begin_day: tΓ’che commenΓ§ant ce jour
936 937 text_tip_issue_end_day: tΓ’che finissant ce jour
937 938 text_tip_issue_begin_end_day: tΓ’che commenΓ§ant et finissant ce jour
938 939 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Γ©.'
939 940 text_caracters_maximum: "%{count} caractères maximum."
940 941 text_caracters_minimum: "%{count} caractères minimum."
941 942 text_length_between: "Longueur comprise entre %{min} et %{max} caractères."
942 943 text_tracker_no_workflow: Aucun worflow n'est dΓ©fini pour ce tracker
943 944 text_unallowed_characters: Caractères non autorisés
944 945 text_comma_separated: Plusieurs valeurs possibles (sΓ©parΓ©es par des virgules).
945 946 text_line_separated: Plusieurs valeurs possibles (une valeur par ligne).
946 947 text_issues_ref_in_commit_messages: RΓ©fΓ©rencement et rΓ©solution des demandes dans les commentaires de commits
947 948 text_issue_added: "La demande %{id} a Γ©tΓ© soumise par %{author}."
948 949 text_issue_updated: "La demande %{id} a Γ©tΓ© mise Γ  jour par %{author}."
949 950 text_wiki_destroy_confirmation: Etes-vous sΓ»r de vouloir supprimer ce wiki et tout son contenu ?
950 951 text_issue_category_destroy_question: "%{count} demandes sont affectΓ©es Γ  cette catΓ©gorie. Que voulez-vous faire ?"
951 952 text_issue_category_destroy_assignments: N'affecter les demandes Γ  aucune autre catΓ©gorie
952 953 text_issue_category_reassign_to: RΓ©affecter les demandes Γ  cette catΓ©gorie
953 954 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)."
954 955 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Γ©."
955 956 text_load_default_configuration: Charger le paramΓ©trage par dΓ©faut
956 957 text_status_changed_by_changeset: "AppliquΓ© par commit %{value}."
957 958 text_time_logged_by_changeset: "AppliquΓ© par commit %{value}"
958 959 text_issues_destroy_confirmation: 'Êtes-vous sûr de vouloir supprimer la ou les demandes(s) selectionnée(s) ?'
959 960 text_issues_destroy_descendants_confirmation: "Cela entrainera Γ©galement la suppression de %{count} sous-tΓ’che(s)."
960 961 text_select_project_modules: 'SΓ©lectionner les modules Γ  activer pour ce projet :'
961 962 text_default_administrator_account_changed: Compte administrateur par dΓ©faut changΓ©
962 963 text_file_repository_writable: RΓ©pertoire de stockage des fichiers accessible en Γ©criture
963 964 text_plugin_assets_writable: RΓ©pertoire public des plugins accessible en Γ©criture
964 965 text_rmagick_available: Bibliothèque RMagick présente (optionnelle)
965 966 text_destroy_time_entries_question: "%{hours} heures ont Γ©tΓ© enregistrΓ©es sur les demandes Γ  supprimer. Que voulez-vous faire ?"
966 967 text_destroy_time_entries: Supprimer les heures
967 968 text_assign_time_entries_to_project: Reporter les heures sur le projet
968 969 text_reassign_time_entries: 'Reporter les heures sur cette demande:'
969 970 text_user_wrote: "%{value} a Γ©crit :"
970 971 text_enumeration_destroy_question: "Cette valeur est affectΓ©e Γ  %{count} objets."
971 972 text_enumeration_category_reassign_to: 'RΓ©affecter les objets Γ  cette valeur:'
972 973 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."
973 974 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."
974 975 text_diff_truncated: '... Ce diffΓ©rentiel a Γ©tΓ© tronquΓ© car il excΓ¨de la taille maximale pouvant Γͺtre affichΓ©e.'
975 976 text_custom_field_possible_values_info: 'Une ligne par valeur'
976 977 text_wiki_page_destroy_question: "Cette page possède %{descendants} sous-page(s) et descendante(s). Que voulez-vous faire ?"
977 978 text_wiki_page_nullify_children: "Conserver les sous-pages en tant que pages racines"
978 979 text_wiki_page_destroy_children: "Supprimer les sous-pages et toutes leurs descedantes"
979 980 text_wiki_page_reassign_children: "RΓ©affecter les sous-pages Γ  cette page"
980 981 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 ?"
981 982 text_warn_on_leaving_unsaved: "Cette page contient du texte non sauvegardΓ© qui sera perdu si vous quittez la page."
982 983 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)"
983 984 text_issue_conflict_resolution_add_notes: "Ajouter mes notes et ignorer mes autres changements"
984 985 text_issue_conflict_resolution_cancel: "Annuler ma mise Γ  jour et rΓ©afficher %{link}"
985 986 text_account_destroy_confirmation: "Êtes-vous sûr de vouloir continuer ?\nVotre compte sera définitivement supprimé, sans aucune possibilité de le réactiver."
986 987 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."
987 988 text_project_closed: Ce projet est fermΓ© et accessible en lecture seule.
988 989
989 990 default_role_manager: "Manager "
990 991 default_role_developer: "DΓ©veloppeur "
991 992 default_role_reporter: "Rapporteur "
992 993 default_tracker_bug: Anomalie
993 994 default_tracker_feature: Evolution
994 995 default_tracker_support: Assistance
995 996 default_issue_status_new: Nouveau
996 997 default_issue_status_in_progress: En cours
997 998 default_issue_status_resolved: RΓ©solu
998 999 default_issue_status_feedback: Commentaire
999 1000 default_issue_status_closed: FermΓ©
1000 1001 default_issue_status_rejected: RejetΓ©
1001 1002 default_doc_category_user: Documentation utilisateur
1002 1003 default_doc_category_tech: Documentation technique
1003 1004 default_priority_low: Bas
1004 1005 default_priority_normal: Normal
1005 1006 default_priority_high: Haut
1006 1007 default_priority_urgent: Urgent
1007 1008 default_priority_immediate: ImmΓ©diat
1008 1009 default_activity_design: Conception
1009 1010 default_activity_development: DΓ©veloppement
1010 1011
1011 1012 enumeration_issue_priorities: PrioritΓ©s des demandes
1012 1013 enumeration_doc_categories: CatΓ©gories des documents
1013 1014 enumeration_activities: ActivitΓ©s (suivi du temps)
1014 1015 label_greater_or_equal: ">="
1015 1016 label_less_or_equal: "<="
1016 1017 label_between: entre
1017 1018 label_view_all_revisions: Voir toutes les rΓ©visions
1018 1019 label_tag: Tag
1019 1020 label_branch: Branche
1020 1021 error_no_tracker_in_project: "Aucun tracker n'est associΓ© Γ  ce projet. VΓ©rifier la configuration du projet."
1021 1022 error_no_default_issue_status: "Aucun statut de demande n'est dΓ©fini par dΓ©faut. VΓ©rifier votre configuration (Administration -> Statuts de demandes)."
1022 1023 text_journal_changed: "%{label} changΓ© de %{old} Γ  %{new}"
1023 1024 text_journal_changed_no_detail: "%{label} mis Γ  jour"
1024 1025 text_journal_set_to: "%{label} mis Γ  %{value}"
1025 1026 text_journal_deleted: "%{label} %{old} supprimΓ©"
1026 1027 text_journal_added: "%{label} %{value} ajoutΓ©"
1027 1028 enumeration_system_activity: Activité système
1028 1029 label_board_sticky: Sticky
1029 1030 label_board_locked: VerrouillΓ©
1030 1031 error_unable_delete_issue_status: Impossible de supprimer le statut de demande
1031 1032 error_can_not_delete_custom_field: Impossible de supprimer le champ personnalisΓ©
1032 1033 error_unable_to_connect: Connexion impossible (%{value})
1033 1034 error_can_not_remove_role: Ce rΓ΄le est utilisΓ© et ne peut pas Γͺtre supprimΓ©.
1034 1035 error_can_not_delete_tracker: Ce tracker contient des demandes et ne peut pas Γͺtre supprimΓ©.
1035 1036 field_principal: Principal
1036 1037 notice_failed_to_save_members: "Erreur lors de la sauvegarde des membres: %{errors}."
1037 1038 text_zoom_out: Zoom arrière
1038 1039 text_zoom_in: Zoom avant
1039 1040 notice_unable_delete_time_entry: Impossible de supprimer le temps passΓ©.
1040 1041 label_overall_spent_time: Temps passΓ© global
1041 1042 field_time_entries: Temps passΓ©
1042 1043 project_module_gantt: Gantt
1043 1044 project_module_calendar: Calendrier
1044 1045 button_edit_associated_wikipage: "Modifier la page wiki associΓ©e: %{page_title}"
1045 1046 text_are_you_sure_with_children: Supprimer la demande et toutes ses sous-demandes ?
1046 1047 field_text: Champ texte
1047 1048 label_user_mail_option_only_owner: Seulement pour ce que j'ai créé
1048 1049 setting_default_notification_option: Option de notification par dΓ©faut
1049 1050 label_user_mail_option_only_my_events: Seulement pour ce que je surveille
1050 1051 label_user_mail_option_only_assigned: Seulement pour ce qui m'est assignΓ©
1051 1052 label_user_mail_option_none: Aucune notification
1052 1053 field_member_of_group: Groupe de l'assignΓ©
1053 1054 field_assigned_to_role: RΓ΄le de l'assignΓ©
1054 1055 setting_emails_header: En-tΓͺte des emails
1055 1056 label_bulk_edit_selected_time_entries: Modifier les temps passΓ©s sΓ©lectionnΓ©s
1056 1057 text_time_entries_destroy_confirmation: "Etes-vous sΓ»r de vouloir supprimer les temps passΓ©s sΓ©lectionnΓ©s ?"
1057 1058 field_scm_path_encoding: Encodage des chemins
1058 1059 text_scm_path_encoding_note: "DΓ©faut : UTF-8"
1059 1060 field_path_to_repository: Chemin du dΓ©pΓ΄t
1060 1061 field_root_directory: RΓ©pertoire racine
1061 1062 field_cvs_module: Module
1062 1063 field_cvsroot: CVSROOT
1063 1064 text_mercurial_repository_note: "DΓ©pΓ΄t local (exemples : /hgrepo, c:\\hgrepo)"
1064 1065 text_scm_command: Commande
1065 1066 text_scm_command_version: Version
1066 1067 label_git_report_last_commit: Afficher le dernier commit des fichiers et rΓ©pertoires
1067 1068 text_scm_config: Vous pouvez configurer les commandes des SCM dans config/configuration.yml. Redémarrer l'application après modification.
1068 1069 text_scm_command_not_available: Ce SCM n'est pas disponible. Vérifier les paramètres dans la section administration.
1069 1070 label_diff: diff
1070 1071 text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
1071 1072 description_query_sort_criteria_direction: Ordre de tri
1072 1073 description_project_scope: Périmètre de recherche
1073 1074 description_filter: Filtre
1074 1075 description_user_mail_notification: Option de notification
1075 1076 description_date_from: Date de dΓ©but
1076 1077 description_message_content: Contenu du message
1077 1078 description_available_columns: Colonnes disponibles
1078 1079 description_all_columns: Toutes les colonnes
1079 1080 description_date_range_interval: Choisir une pΓ©riode
1080 1081 description_issue_category_reassign: Choisir une catΓ©gorie
1081 1082 description_search: Champ de recherche
1082 1083 description_notes: Notes
1083 1084 description_date_range_list: Choisir une pΓ©riode prΓ©dΓ©finie
1084 1085 description_choose_project: Projets
1085 1086 description_date_to: Date de fin
1086 1087 description_query_sort_criteria_attribute: Critère de tri
1087 1088 description_wiki_subpages_reassign: Choisir une nouvelle page parent
1088 1089 description_selected_columns: Colonnes sΓ©lectionnΓ©es
1089 1090 label_parent_revision: Parent
1090 1091 label_child_revision: Enfant
1091 1092 error_scm_annotate_big_text_file: Cette entrΓ©e ne peut pas Γͺtre annotΓ©e car elle excΓ¨de la taille maximale.
1092 1093 setting_repositories_encodings: Encodages des fichiers et des dΓ©pΓ΄ts
1093 1094 label_search_for_watchers: Rechercher des observateurs
1094 1095 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,234 +1,247
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 module Redmine
19 19 module WikiFormatting
20 20 module Macros
21 21 module Definitions
22 22 # Returns true if +name+ is the name of an existing macro
23 23 def macro_exists?(name)
24 24 Redmine::WikiFormatting::Macros.available_macros.key?(name.to_sym)
25 25 end
26 26
27 27 def exec_macro(name, obj, args, text)
28 28 macro_options = Redmine::WikiFormatting::Macros.available_macros[name.to_sym]
29 29 return unless macro_options
30 30
31 31 method_name = "macro_#{name}"
32 32 unless macro_options[:parse_args] == false
33 33 args = args.split(',').map(&:strip)
34 34 end
35 35
36 36 begin
37 37 if self.class.instance_method(method_name).arity == 3
38 38 send(method_name, obj, args, text)
39 39 elsif text
40 40 raise "This macro does not accept a block of text"
41 41 else
42 42 send(method_name, obj, args)
43 43 end
44 44 rescue => e
45 45 "<div class=\"flash error\">Error executing the <strong>#{h name}</strong> macro (#{h e.to_s})</div>".html_safe
46 46 end
47 47 end
48 48
49 49 def extract_macro_options(args, *keys)
50 50 options = {}
51 51 while args.last.to_s.strip =~ %r{^(.+)\=(.+)$} && keys.include?($1.downcase.to_sym)
52 52 options[$1.downcase.to_sym] = $2
53 53 args.pop
54 54 end
55 55 return [args, options]
56 56 end
57 57 end
58 58
59 59 @@available_macros = {}
60 60 mattr_accessor :available_macros
61 61
62 62 class << self
63 63 # Plugins can use this method to define new macros:
64 64 #
65 65 # Redmine::WikiFormatting::Macros.register do
66 66 # desc "This is my macro"
67 67 # macro :my_macro do |obj, args|
68 68 # "My macro output"
69 69 # end
70 70 #
71 71 # desc "This is my macro that accepts a block of text"
72 72 # macro :my_macro do |obj, args, text|
73 73 # "My macro output"
74 74 # end
75 75 # end
76 76 def register(&block)
77 77 class_eval(&block) if block_given?
78 78 end
79 79
80 80 # Defines a new macro with the given name, options and block.
81 81 #
82 82 # Options:
83 83 # * :desc - A description of the macro
84 84 # * :parse_args => false - Disables arguments parsing (the whole arguments
85 85 # string is passed to the macro)
86 86 #
87 87 # Macro blocks accept 2 or 3 arguments:
88 88 # * obj: the object that is rendered (eg. an Issue, a WikiContent...)
89 89 # * args: macro arguments
90 90 # * text: the block of text given to the macro (should be present only if the
91 91 # macro accepts a block of text). text is a String or nil if the macro is
92 92 # invoked without a block of text.
93 93 #
94 94 # Examples:
95 95 # By default, when the macro is invoked, the coma separated list of arguments
96 96 # is split and passed to the macro block as an array. If no argument is given
97 97 # the macro will be invoked with an empty array:
98 98 #
99 99 # macro :my_macro do |obj, args|
100 100 # # args is an array
101 101 # # and this macro do not accept a block of text
102 102 # end
103 103 #
104 104 # You can disable arguments spliting with the :parse_args => false option. In
105 105 # this case, the full string of arguments is passed to the macro:
106 106 #
107 107 # macro :my_macro, :parse_args => false do |obj, args|
108 108 # # args is a string
109 109 # end
110 110 #
111 111 # Macro can optionally accept a block of text:
112 112 #
113 113 # macro :my_macro do |obj, args, text|
114 114 # # this macro accepts a block of text
115 115 # end
116 116 #
117 117 # Macros are invoked in formatted text using double curly brackets. Arguments
118 118 # must be enclosed in parenthesis if any. A new line after the macro name or the
119 119 # arguments starts the block of text that will be passe to the macro (invoking
120 120 # a macro that do not accept a block of text with some text will fail).
121 121 # Examples:
122 122 #
123 123 # No arguments:
124 124 # {{my_macro}}
125 125 #
126 126 # With arguments:
127 127 # {{my_macro(arg1, arg2)}}
128 128 #
129 129 # With a block of text:
130 130 # {{my_macro
131 131 # multiple lines
132 132 # of text
133 133 # }}
134 134 #
135 135 # With arguments and a block of text
136 136 # {{my_macro(arg1, arg2)
137 137 # multiple lines
138 138 # of text
139 139 # }}
140 140 #
141 141 # If a block of text is given, the closing tag }} must be at the start of a new line.
142 142 def macro(name, options={}, &block)
143 143 options.assert_valid_keys(:desc, :parse_args)
144 144 unless name.to_s.match(/\A\w+\z/)
145 145 raise "Invalid macro name: #{name} (only 0-9, A-Z, a-z and _ characters are accepted)"
146 146 end
147 147 unless block_given?
148 148 raise "Can not create a macro without a block!"
149 149 end
150 150 name = name.to_sym if name.is_a?(String)
151 151 available_macros[name] = {:desc => @@desc || ''}.merge(options)
152 152 @@desc = nil
153 153 Definitions.send :define_method, "macro_#{name}".downcase, &block
154 154 end
155 155
156 156 # Sets description for the next macro to be defined
157 157 def desc(txt)
158 158 @@desc = txt
159 159 end
160 160 end
161 161
162 162 # Builtin macros
163 163 desc "Sample macro."
164 164 macro :hello_world do |obj, args, text|
165 165 h("Hello world! Object: #{obj.class.name}, " +
166 166 (args.empty? ? "Called with no argument" : "Arguments: #{args.join(', ')}") +
167 167 " and " + (text.present? ? "a #{text.size} bytes long block of text." : "no block of text.")
168 168 )
169 169 end
170 170
171 171 desc "Displays a list of all available macros, including description if available."
172 172 macro :macro_list do |obj, args|
173 173 out = ''.html_safe
174 174 @@available_macros.each do |macro, options|
175 175 out << content_tag('dt', content_tag('code', macro.to_s))
176 176 out << content_tag('dd', textilizable(options[:desc]))
177 177 end
178 178 content_tag('dl', out)
179 179 end
180 180
181 181 desc "Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:\n\n" +
182 182 " !{{child_pages}} -- can be used from a wiki page only\n" +
183 183 " !{{child_pages(depth=2)}} -- display 2 levels nesting only\n"
184 184 " !{{child_pages(Foo)}} -- lists all children of page Foo\n" +
185 185 " !{{child_pages(Foo, parent=1)}} -- same as above with a link to page Foo"
186 186 macro :child_pages do |obj, args|
187 187 args, options = extract_macro_options(args, :parent, :depth)
188 188 options[:depth] = options[:depth].to_i if options[:depth].present?
189 189
190 190 page = nil
191 191 if args.size > 0
192 192 page = Wiki.find_page(args.first.to_s, :project => @project)
193 193 elsif obj.is_a?(WikiContent) || obj.is_a?(WikiContent::Version)
194 194 page = obj.page
195 195 else
196 196 raise 'With no argument, this macro can be called from wiki pages only.'
197 197 end
198 198 raise 'Page not found' if page.nil? || !User.current.allowed_to?(:view_wiki_pages, page.wiki.project)
199 199 pages = page.self_and_descendants(options[:depth]).group_by(&:parent_id)
200 200 render_page_hierarchy(pages, options[:parent] ? page.parent_id : page.id)
201 201 end
202 202
203 203 desc "Include a wiki page. Example:\n\n !{{include(Foo)}}\n\nor to include a page of a specific project wiki:\n\n !{{include(projectname:Foo)}}"
204 204 macro :include do |obj, args|
205 205 page = Wiki.find_page(args.first.to_s, :project => @project)
206 206 raise 'Page not found' if page.nil? || !User.current.allowed_to?(:view_wiki_pages, page.wiki.project)
207 207 @included_wiki_pages ||= []
208 208 raise 'Circular inclusion detected' if @included_wiki_pages.include?(page.title)
209 209 @included_wiki_pages << page.title
210 210 out = textilizable(page.content, :text, :attachments => page.attachments, :headings => false)
211 211 @included_wiki_pages.pop
212 212 out
213 213 end
214 214
215 desc "Inserts of collapsed block of text. Example:\n\n {{collapse(View details...)\nThis is a block of text that is collapsed by default.\nIt can be expanded by clicking a link.\n}}"
216 macro :collapse do |obj, args, text|
217 html_id = "collapse-#{Redmine::Utils.random_hex(4)}"
218 show_label = args[0] || l(:button_show)
219 hide_label = args[1] || args[0] || l(:button_hide)
220 js = "$('##{html_id}-show, ##{html_id}-hide').toggle(); $('##{html_id}').fadeToggle(150);"
221 out = ''.html_safe
222 out << link_to_function(show_label, js, :id => "#{html_id}-show", :class => 'collapsible collapsed')
223 out << link_to_function(hide_label, js, :id => "#{html_id}-hide", :class => 'collapsible', :style => 'display:none;')
224 out << content_tag('div', textilizable(text, :object => obj), :id => html_id, :class => 'collapsed-text', :style => 'display:none;')
225 out
226 end
227
215 228 desc "Displays a clickable thumbnail of an attached image. Examples:\n\n<pre>{{thumbnail(image.png)}}\n{{thumbnail(image.png, size=300, title=Thumbnail)}}</pre>"
216 229 macro :thumbnail do |obj, args|
217 230 args, options = extract_macro_options(args, :size, :title)
218 231 filename = args.first
219 232 raise 'Filename required' unless filename.present?
220 233 size = options[:size]
221 234 raise 'Invalid size parameter' unless size.nil? || size.match(/^\d+$/)
222 235 size = size.to_i
223 236 size = nil unless size > 0
224 237 if obj && obj.respond_to?(:attachments) && attachment = Attachment.latest_attach(obj.attachments, filename)
225 238 title = options[:title] || attachment.title
226 239 img = image_tag(url_for(:controller => 'attachments', :action => 'thumbnail', :id => attachment, :size => size), :alt => attachment.filename)
227 240 link_to(img, url_for(:controller => 'attachments', :action => 'show', :id => attachment), :class => 'thumbnail', :title => title)
228 241 else
229 242 raise "Attachment #{filename} not found"
230 243 end
231 244 end
232 245 end
233 246 end
234 247 end
@@ -1,489 +1,494
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 'shoulda'
19 19 ENV["RAILS_ENV"] = "test"
20 20 require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
21 21 require 'rails/test_help'
22 22 require Rails.root.join('test', 'mocks', 'open_id_authentication_mock.rb').to_s
23 23
24 24 require File.expand_path(File.dirname(__FILE__) + '/object_helpers')
25 25 include ObjectHelpers
26 26
27 27 class ActiveSupport::TestCase
28 28 include ActionDispatch::TestProcess
29 29
30 30 # Transactional fixtures accelerate your tests by wrapping each test method
31 31 # in a transaction that's rolled back on completion. This ensures that the
32 32 # test database remains unchanged so your fixtures don't have to be reloaded
33 33 # between every test method. Fewer database queries means faster tests.
34 34 #
35 35 # Read Mike Clark's excellent walkthrough at
36 36 # http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
37 37 #
38 38 # Every Active Record database supports transactions except MyISAM tables
39 39 # in MySQL. Turn off transactional fixtures in this case; however, if you
40 40 # don't care one way or the other, switching from MyISAM to InnoDB tables
41 41 # is recommended.
42 42 self.use_transactional_fixtures = true
43 43
44 44 # Instantiated fixtures are slow, but give you @david where otherwise you
45 45 # would need people(:david). If you don't want to migrate your existing
46 46 # test cases which use the @david style and don't mind the speed hit (each
47 47 # instantiated fixtures translates to a database query per test method),
48 48 # then set this back to true.
49 49 self.use_instantiated_fixtures = false
50 50
51 51 # Add more helper methods to be used by all tests here...
52 52
53 53 def log_user(login, password)
54 54 User.anonymous
55 55 get "/login"
56 56 assert_equal nil, session[:user_id]
57 57 assert_response :success
58 58 assert_template "account/login"
59 59 post "/login", :username => login, :password => password
60 60 assert_equal login, User.find(session[:user_id]).login
61 61 end
62 62
63 63 def uploaded_test_file(name, mime)
64 64 fixture_file_upload("files/#{name}", mime, true)
65 65 end
66 66
67 67 def credentials(user, password=nil)
68 68 {'HTTP_AUTHORIZATION' => ActionController::HttpAuthentication::Basic.encode_credentials(user, password || user)}
69 69 end
70 70
71 71 # Mock out a file
72 72 def self.mock_file
73 73 file = 'a_file.png'
74 74 file.stubs(:size).returns(32)
75 75 file.stubs(:original_filename).returns('a_file.png')
76 76 file.stubs(:content_type).returns('image/png')
77 77 file.stubs(:read).returns(false)
78 78 file
79 79 end
80 80
81 81 def mock_file
82 82 self.class.mock_file
83 83 end
84 84
85 85 def mock_file_with_options(options={})
86 86 file = ''
87 87 file.stubs(:size).returns(32)
88 88 original_filename = options[:original_filename] || nil
89 89 file.stubs(:original_filename).returns(original_filename)
90 90 content_type = options[:content_type] || nil
91 91 file.stubs(:content_type).returns(content_type)
92 92 file.stubs(:read).returns(false)
93 93 file
94 94 end
95 95
96 96 # Use a temporary directory for attachment related tests
97 97 def set_tmp_attachments_directory
98 98 Dir.mkdir "#{Rails.root}/tmp/test" unless File.directory?("#{Rails.root}/tmp/test")
99 99 unless File.directory?("#{Rails.root}/tmp/test/attachments")
100 100 Dir.mkdir "#{Rails.root}/tmp/test/attachments"
101 101 end
102 102 Attachment.storage_path = "#{Rails.root}/tmp/test/attachments"
103 103 end
104 104
105 105 def set_fixtures_attachments_directory
106 106 Attachment.storage_path = "#{Rails.root}/test/fixtures/files"
107 107 end
108 108
109 109 def with_settings(options, &block)
110 110 saved_settings = options.keys.inject({}) {|h, k| h[k] = Setting[k].is_a?(Symbol) ? Setting[k] : Setting[k].dup; h}
111 111 options.each {|k, v| Setting[k] = v}
112 112 yield
113 113 ensure
114 114 saved_settings.each {|k, v| Setting[k] = v} if saved_settings
115 115 end
116 116
117 117 # Yields the block with user as the current user
118 118 def with_current_user(user, &block)
119 119 saved_user = User.current
120 120 User.current = user
121 121 yield
122 122 ensure
123 123 User.current = saved_user
124 124 end
125 125
126 126 def change_user_password(login, new_password)
127 127 user = User.first(:conditions => {:login => login})
128 128 user.password, user.password_confirmation = new_password, new_password
129 129 user.save!
130 130 end
131 131
132 132 def self.ldap_configured?
133 133 @test_ldap = Net::LDAP.new(:host => '127.0.0.1', :port => 389)
134 134 return @test_ldap.bind
135 135 rescue Exception => e
136 136 # LDAP is not listening
137 137 return nil
138 138 end
139 139
140 140 def self.convert_installed?
141 141 Redmine::Thumbnail.convert_available?
142 142 end
143 143
144 144 # Returns the path to the test +vendor+ repository
145 145 def self.repository_path(vendor)
146 146 Rails.root.join("tmp/test/#{vendor.downcase}_repository").to_s
147 147 end
148 148
149 149 # Returns the url of the subversion test repository
150 150 def self.subversion_repository_url
151 151 path = repository_path('subversion')
152 152 path = '/' + path unless path.starts_with?('/')
153 153 "file://#{path}"
154 154 end
155 155
156 156 # Returns true if the +vendor+ test repository is configured
157 157 def self.repository_configured?(vendor)
158 158 File.directory?(repository_path(vendor))
159 159 end
160 160
161 161 def repository_path_hash(arr)
162 162 hs = {}
163 163 hs[:path] = arr.join("/")
164 164 hs[:param] = arr.join("/")
165 165 hs
166 166 end
167 167
168 168 def assert_save(object)
169 169 saved = object.save
170 170 message = "#{object.class} could not be saved"
171 171 errors = object.errors.full_messages.map {|m| "- #{m}"}
172 172 message << ":\n#{errors.join("\n")}" if errors.any?
173 173 assert_equal true, saved, message
174 174 end
175 175
176 176 def assert_error_tag(options={})
177 177 assert_tag({:attributes => { :id => 'errorExplanation' }}.merge(options))
178 178 end
179 179
180 180 def assert_include(expected, s, message=nil)
181 181 assert s.include?(expected), (message || "\"#{expected}\" not found in \"#{s}\"")
182 182 end
183 183
184 184 def assert_not_include(expected, s)
185 185 assert !s.include?(expected), "\"#{expected}\" found in \"#{s}\""
186 186 end
187 187
188 def assert_select_in(text, *args, &block)
189 d = HTML::Document.new(CGI::unescapeHTML(String.new(text))).root
190 assert_select(d, *args, &block)
191 end
192
188 193 def assert_mail_body_match(expected, mail)
189 194 if expected.is_a?(String)
190 195 assert_include expected, mail_body(mail)
191 196 else
192 197 assert_match expected, mail_body(mail)
193 198 end
194 199 end
195 200
196 201 def assert_mail_body_no_match(expected, mail)
197 202 if expected.is_a?(String)
198 203 assert_not_include expected, mail_body(mail)
199 204 else
200 205 assert_no_match expected, mail_body(mail)
201 206 end
202 207 end
203 208
204 209 def mail_body(mail)
205 210 mail.parts.first.body.encoded
206 211 end
207 212
208 213 # Shoulda macros
209 214 def self.should_render_404
210 215 should_respond_with :not_found
211 216 should_render_template 'common/error'
212 217 end
213 218
214 219 def self.should_have_before_filter(expected_method, options = {})
215 220 should_have_filter('before', expected_method, options)
216 221 end
217 222
218 223 def self.should_have_after_filter(expected_method, options = {})
219 224 should_have_filter('after', expected_method, options)
220 225 end
221 226
222 227 def self.should_have_filter(filter_type, expected_method, options)
223 228 description = "have #{filter_type}_filter :#{expected_method}"
224 229 description << " with #{options.inspect}" unless options.empty?
225 230
226 231 should description do
227 232 klass = "action_controller/filters/#{filter_type}_filter".classify.constantize
228 233 expected = klass.new(:filter, expected_method.to_sym, options)
229 234 assert_equal 1, @controller.class.filter_chain.select { |filter|
230 235 filter.method == expected.method && filter.kind == expected.kind &&
231 236 filter.options == expected.options && filter.class == expected.class
232 237 }.size
233 238 end
234 239 end
235 240
236 241 # Test that a request allows the three types of API authentication
237 242 #
238 243 # * HTTP Basic with username and password
239 244 # * HTTP Basic with an api key for the username
240 245 # * Key based with the key=X parameter
241 246 #
242 247 # @param [Symbol] http_method the HTTP method for request (:get, :post, :put, :delete)
243 248 # @param [String] url the request url
244 249 # @param [optional, Hash] parameters additional request parameters
245 250 # @param [optional, Hash] options additional options
246 251 # @option options [Symbol] :success_code Successful response code (:success)
247 252 # @option options [Symbol] :failure_code Failure response code (:unauthorized)
248 253 def self.should_allow_api_authentication(http_method, url, parameters={}, options={})
249 254 should_allow_http_basic_auth_with_username_and_password(http_method, url, parameters, options)
250 255 should_allow_http_basic_auth_with_key(http_method, url, parameters, options)
251 256 should_allow_key_based_auth(http_method, url, parameters, options)
252 257 end
253 258
254 259 # Test that a request allows the username and password for HTTP BASIC
255 260 #
256 261 # @param [Symbol] http_method the HTTP method for request (:get, :post, :put, :delete)
257 262 # @param [String] url the request url
258 263 # @param [optional, Hash] parameters additional request parameters
259 264 # @param [optional, Hash] options additional options
260 265 # @option options [Symbol] :success_code Successful response code (:success)
261 266 # @option options [Symbol] :failure_code Failure response code (:unauthorized)
262 267 def self.should_allow_http_basic_auth_with_username_and_password(http_method, url, parameters={}, options={})
263 268 success_code = options[:success_code] || :success
264 269 failure_code = options[:failure_code] || :unauthorized
265 270
266 271 context "should allow http basic auth using a username and password for #{http_method} #{url}" do
267 272 context "with a valid HTTP authentication" do
268 273 setup do
269 274 @user = User.generate! do |user|
270 275 user.admin = true
271 276 user.password = 'my_password'
272 277 end
273 278 send(http_method, url, parameters, credentials(@user.login, 'my_password'))
274 279 end
275 280
276 281 should_respond_with success_code
277 282 should_respond_with_content_type_based_on_url(url)
278 283 should "login as the user" do
279 284 assert_equal @user, User.current
280 285 end
281 286 end
282 287
283 288 context "with an invalid HTTP authentication" do
284 289 setup do
285 290 @user = User.generate!
286 291 send(http_method, url, parameters, credentials(@user.login, 'wrong_password'))
287 292 end
288 293
289 294 should_respond_with failure_code
290 295 should_respond_with_content_type_based_on_url(url)
291 296 should "not login as the user" do
292 297 assert_equal User.anonymous, User.current
293 298 end
294 299 end
295 300
296 301 context "without credentials" do
297 302 setup do
298 303 send(http_method, url, parameters)
299 304 end
300 305
301 306 should_respond_with failure_code
302 307 should_respond_with_content_type_based_on_url(url)
303 308 should "include_www_authenticate_header" do
304 309 assert @controller.response.headers.has_key?('WWW-Authenticate')
305 310 end
306 311 end
307 312 end
308 313 end
309 314
310 315 # Test that a request allows the API key with HTTP BASIC
311 316 #
312 317 # @param [Symbol] http_method the HTTP method for request (:get, :post, :put, :delete)
313 318 # @param [String] url the request url
314 319 # @param [optional, Hash] parameters additional request parameters
315 320 # @param [optional, Hash] options additional options
316 321 # @option options [Symbol] :success_code Successful response code (:success)
317 322 # @option options [Symbol] :failure_code Failure response code (:unauthorized)
318 323 def self.should_allow_http_basic_auth_with_key(http_method, url, parameters={}, options={})
319 324 success_code = options[:success_code] || :success
320 325 failure_code = options[:failure_code] || :unauthorized
321 326
322 327 context "should allow http basic auth with a key for #{http_method} #{url}" do
323 328 context "with a valid HTTP authentication using the API token" do
324 329 setup do
325 330 @user = User.generate! do |user|
326 331 user.admin = true
327 332 end
328 333 @token = Token.create!(:user => @user, :action => 'api')
329 334 send(http_method, url, parameters, credentials(@token.value, 'X'))
330 335 end
331 336 should_respond_with success_code
332 337 should_respond_with_content_type_based_on_url(url)
333 338 should_be_a_valid_response_string_based_on_url(url)
334 339 should "login as the user" do
335 340 assert_equal @user, User.current
336 341 end
337 342 end
338 343
339 344 context "with an invalid HTTP authentication" do
340 345 setup do
341 346 @user = User.generate!
342 347 @token = Token.create!(:user => @user, :action => 'feeds')
343 348 send(http_method, url, parameters, credentials(@token.value, 'X'))
344 349 end
345 350 should_respond_with failure_code
346 351 should_respond_with_content_type_based_on_url(url)
347 352 should "not login as the user" do
348 353 assert_equal User.anonymous, User.current
349 354 end
350 355 end
351 356 end
352 357 end
353 358
354 359 # Test that a request allows full key authentication
355 360 #
356 361 # @param [Symbol] http_method the HTTP method for request (:get, :post, :put, :delete)
357 362 # @param [String] url the request url, without the key=ZXY parameter
358 363 # @param [optional, Hash] parameters additional request parameters
359 364 # @param [optional, Hash] options additional options
360 365 # @option options [Symbol] :success_code Successful response code (:success)
361 366 # @option options [Symbol] :failure_code Failure response code (:unauthorized)
362 367 def self.should_allow_key_based_auth(http_method, url, parameters={}, options={})
363 368 success_code = options[:success_code] || :success
364 369 failure_code = options[:failure_code] || :unauthorized
365 370
366 371 context "should allow key based auth using key=X for #{http_method} #{url}" do
367 372 context "with a valid api token" do
368 373 setup do
369 374 @user = User.generate! do |user|
370 375 user.admin = true
371 376 end
372 377 @token = Token.create!(:user => @user, :action => 'api')
373 378 # Simple url parse to add on ?key= or &key=
374 379 request_url = if url.match(/\?/)
375 380 url + "&key=#{@token.value}"
376 381 else
377 382 url + "?key=#{@token.value}"
378 383 end
379 384 send(http_method, request_url, parameters)
380 385 end
381 386 should_respond_with success_code
382 387 should_respond_with_content_type_based_on_url(url)
383 388 should_be_a_valid_response_string_based_on_url(url)
384 389 should "login as the user" do
385 390 assert_equal @user, User.current
386 391 end
387 392 end
388 393
389 394 context "with an invalid api token" do
390 395 setup do
391 396 @user = User.generate! do |user|
392 397 user.admin = true
393 398 end
394 399 @token = Token.create!(:user => @user, :action => 'feeds')
395 400 # Simple url parse to add on ?key= or &key=
396 401 request_url = if url.match(/\?/)
397 402 url + "&key=#{@token.value}"
398 403 else
399 404 url + "?key=#{@token.value}"
400 405 end
401 406 send(http_method, request_url, parameters)
402 407 end
403 408 should_respond_with failure_code
404 409 should_respond_with_content_type_based_on_url(url)
405 410 should "not login as the user" do
406 411 assert_equal User.anonymous, User.current
407 412 end
408 413 end
409 414 end
410 415
411 416 context "should allow key based auth using X-Redmine-API-Key header for #{http_method} #{url}" do
412 417 setup do
413 418 @user = User.generate! do |user|
414 419 user.admin = true
415 420 end
416 421 @token = Token.create!(:user => @user, :action => 'api')
417 422 send(http_method, url, parameters, {'X-Redmine-API-Key' => @token.value.to_s})
418 423 end
419 424 should_respond_with success_code
420 425 should_respond_with_content_type_based_on_url(url)
421 426 should_be_a_valid_response_string_based_on_url(url)
422 427 should "login as the user" do
423 428 assert_equal @user, User.current
424 429 end
425 430 end
426 431 end
427 432
428 433 # Uses should_respond_with_content_type based on what's in the url:
429 434 #
430 435 # '/project/issues.xml' => should_respond_with_content_type :xml
431 436 # '/project/issues.json' => should_respond_with_content_type :json
432 437 #
433 438 # @param [String] url Request
434 439 def self.should_respond_with_content_type_based_on_url(url)
435 440 case
436 441 when url.match(/xml/i)
437 442 should "respond with XML" do
438 443 assert_equal 'application/xml', @response.content_type
439 444 end
440 445 when url.match(/json/i)
441 446 should "respond with JSON" do
442 447 assert_equal 'application/json', @response.content_type
443 448 end
444 449 else
445 450 raise "Unknown content type for should_respond_with_content_type_based_on_url: #{url}"
446 451 end
447 452 end
448 453
449 454 # Uses the url to assert which format the response should be in
450 455 #
451 456 # '/project/issues.xml' => should_be_a_valid_xml_string
452 457 # '/project/issues.json' => should_be_a_valid_json_string
453 458 #
454 459 # @param [String] url Request
455 460 def self.should_be_a_valid_response_string_based_on_url(url)
456 461 case
457 462 when url.match(/xml/i)
458 463 should_be_a_valid_xml_string
459 464 when url.match(/json/i)
460 465 should_be_a_valid_json_string
461 466 else
462 467 raise "Unknown content type for should_be_a_valid_response_based_on_url: #{url}"
463 468 end
464 469 end
465 470
466 471 # Checks that the response is a valid JSON string
467 472 def self.should_be_a_valid_json_string
468 473 should "be a valid JSON string (or empty)" do
469 474 assert(response.body.blank? || ActiveSupport::JSON.decode(response.body))
470 475 end
471 476 end
472 477
473 478 # Checks that the response is a valid XML string
474 479 def self.should_be_a_valid_xml_string
475 480 should "be a valid XML string" do
476 481 assert REXML::Document.new(response.body)
477 482 end
478 483 end
479 484
480 485 def self.should_respond_with(status)
481 486 should "respond with #{status}" do
482 487 assert_response status
483 488 end
484 489 end
485 490 end
486 491
487 492 # Simple module to "namespace" all of the API tests
488 493 module ApiTest
489 494 end
@@ -1,307 +1,337
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 Redmine::WikiFormatting::MacrosTest < ActionView::TestCase
21 21 include ApplicationHelper
22 22 include ActionView::Helpers::TextHelper
23 23 include ActionView::Helpers::SanitizeHelper
24 24 include ERB::Util
25 25 extend ActionView::Helpers::SanitizeHelper::ClassMethods
26 26
27 27 fixtures :projects, :roles, :enabled_modules, :users,
28 28 :repositories, :changesets,
29 29 :trackers, :issue_statuses, :issues,
30 30 :versions, :documents,
31 31 :wikis, :wiki_pages, :wiki_contents,
32 32 :boards, :messages,
33 33 :attachments
34 34
35 35 def setup
36 36 super
37 37 @project = nil
38 38 end
39 39
40 40 def teardown
41 41 end
42 42
43 43 def test_macro_registration
44 44 Redmine::WikiFormatting::Macros.register do
45 45 macro :foo do |obj, args|
46 46 "Foo: #{args.size} (#{args.join(',')}) (#{args.class.name})"
47 47 end
48 48 end
49 49
50 50 assert_equal '<p>Foo: 0 () (Array)</p>', textilizable("{{foo}}")
51 51 assert_equal '<p>Foo: 0 () (Array)</p>', textilizable("{{foo()}}")
52 52 assert_equal '<p>Foo: 1 (arg1) (Array)</p>', textilizable("{{foo(arg1)}}")
53 53 assert_equal '<p>Foo: 2 (arg1,arg2) (Array)</p>', textilizable("{{foo(arg1, arg2)}}")
54 54 end
55 55
56 56 def test_macro_registration_parse_args_set_to_false_should_disable_arguments_parsing
57 57 Redmine::WikiFormatting::Macros.register do
58 58 macro :bar, :parse_args => false do |obj, args|
59 59 "Bar: (#{args}) (#{args.class.name})"
60 60 end
61 61 end
62 62
63 63 assert_equal '<p>Bar: (args, more args) (String)</p>', textilizable("{{bar(args, more args)}}")
64 64 assert_equal '<p>Bar: () (String)</p>', textilizable("{{bar}}")
65 65 assert_equal '<p>Bar: () (String)</p>', textilizable("{{bar()}}")
66 66 end
67 67
68 68 def test_macro_registration_with_3_args_should_receive_text_argument
69 69 Redmine::WikiFormatting::Macros.register do
70 70 macro :baz do |obj, args, text|
71 71 "Baz: (#{args.join(',')}) (#{text.class.name}) (#{text})"
72 72 end
73 73 end
74 74
75 75 assert_equal "<p>Baz: () (NilClass) ()</p>", textilizable("{{baz}}")
76 76 assert_equal "<p>Baz: () (NilClass) ()</p>", textilizable("{{baz()}}")
77 77 assert_equal "<p>Baz: () (String) (line1\nline2)</p>", textilizable("{{baz()\nline1\nline2\n}}")
78 78 assert_equal "<p>Baz: (arg1,arg2) (String) (line1\nline2)</p>", textilizable("{{baz(arg1, arg2)\nline1\nline2\n}}")
79 79 end
80 80
81 81 def test_multiple_macros_on_the_same_line
82 82 Redmine::WikiFormatting::Macros.macro :foo do |obj, args|
83 83 args.any? ? "args: #{args.join(',')}" : "no args"
84 84 end
85 85
86 86 assert_equal '<p>no args no args</p>', textilizable("{{foo}} {{foo}}")
87 87 assert_equal '<p>args: a,b no args</p>', textilizable("{{foo(a,b)}} {{foo}}")
88 88 assert_equal '<p>args: a,b args: c,d</p>', textilizable("{{foo(a,b)}} {{foo(c,d)}}")
89 89 assert_equal '<p>no args args: c,d</p>', textilizable("{{foo}} {{foo(c,d)}}")
90 90 end
91 91
92 92 def test_macro_should_receive_the_object_as_argument_when_with_object_and_attribute
93 93 issue = Issue.find(1)
94 94 issue.description = "{{hello_world}}"
95 95 assert_equal '<p>Hello world! Object: Issue, Called with no argument and no block of text.</p>', textilizable(issue, :description)
96 96 end
97 97
98 98 def test_macro_should_receive_the_object_as_argument_when_called_with_object_option
99 99 text = "{{hello_world}}"
100 100 assert_equal '<p>Hello world! Object: Issue, Called with no argument and no block of text.</p>', textilizable(text, :object => Issue.find(1))
101 101 end
102 102
103 103
104 104 def test_macro_exception_should_be_displayed
105 105 Redmine::WikiFormatting::Macros.macro :exception do |obj, args|
106 106 raise "My message"
107 107 end
108 108
109 109 text = "{{exception}}"
110 110 assert_include '<div class="flash error">Error executing the <strong>exception</strong> macro (My message)</div>', textilizable(text)
111 111 end
112 112
113 113 def test_macro_arguments_should_not_be_parsed_by_formatters
114 114 text = '{{hello_world(http://www.redmine.org, #1)}}'
115 115 assert_include 'Arguments: http://www.redmine.org, #1', textilizable(text)
116 116 end
117 117
118 118 def test_exclamation_mark_should_not_run_macros
119 119 text = "!{{hello_world}}"
120 120 assert_equal '<p>{{hello_world}}</p>', textilizable(text)
121 121 end
122 122
123 123 def test_exclamation_mark_should_escape_macros
124 124 text = "!{{hello_world(<tag>)}}"
125 125 assert_equal '<p>{{hello_world(&lt;tag&gt;)}}</p>', textilizable(text)
126 126 end
127 127
128 128 def test_unknown_macros_should_not_be_replaced
129 129 text = "{{unknown}}"
130 130 assert_equal '<p>{{unknown}}</p>', textilizable(text)
131 131 end
132 132
133 133 def test_unknown_macros_should_parsed_as_text
134 134 text = "{{unknown(*test*)}}"
135 135 assert_equal '<p>{{unknown(<strong>test</strong>)}}</p>', textilizable(text)
136 136 end
137 137
138 138 def test_unknown_macros_should_be_escaped
139 139 text = "{{unknown(<tag>)}}"
140 140 assert_equal '<p>{{unknown(&lt;tag&gt;)}}</p>', textilizable(text)
141 141 end
142 142
143 143 def test_html_safe_macro_output_should_not_be_escaped
144 144 Redmine::WikiFormatting::Macros.macro :safe_macro do |obj, args|
145 145 "<tag>".html_safe
146 146 end
147 147 assert_equal '<p><tag></p>', textilizable("{{safe_macro}}")
148 148 end
149 149
150 150 def test_macro_hello_world
151 151 text = "{{hello_world}}"
152 152 assert textilizable(text).match(/Hello world!/)
153 153 end
154 154
155 155 def test_macro_hello_world_should_escape_arguments
156 156 text = "{{hello_world(<tag>)}}"
157 157 assert_include 'Arguments: &lt;tag&gt;', textilizable(text)
158 158 end
159 159
160 160 def test_macro_macro_list
161 161 text = "{{macro_list}}"
162 162 assert_match %r{<code>hello_world</code>}, textilizable(text)
163 163 end
164 164
165 165 def test_macro_include
166 166 @project = Project.find(1)
167 167 # include a page of the current project wiki
168 168 text = "{{include(Another page)}}"
169 169 assert_include 'This is a link to a ticket', textilizable(text)
170 170
171 171 @project = nil
172 172 # include a page of a specific project wiki
173 173 text = "{{include(ecookbook:Another page)}}"
174 174 assert_include 'This is a link to a ticket', textilizable(text)
175 175
176 176 text = "{{include(ecookbook:)}}"
177 177 assert_include 'CookBook documentation', textilizable(text)
178 178
179 179 text = "{{include(unknowidentifier:somepage)}}"
180 180 assert_include 'Page not found', textilizable(text)
181 181 end
182 182
183 def test_macro_collapse
184 text = "{{collapse\n*Collapsed* block of text\n}}"
185 result = textilizable(text)
186
187 assert_select_in result, 'div.collapsed-text'
188 assert_select_in result, 'strong', :text => 'Collapsed'
189 assert_select_in result, 'a.collapsible.collapsed', :text => 'Show'
190 assert_select_in result, 'a.collapsible', :text => 'Hide'
191 end
192
193 def test_macro_collapse_with_one_arg
194 text = "{{collapse(Example)\n*Collapsed* block of text\n}}"
195 result = textilizable(text)
196
197 assert_select_in result, 'div.collapsed-text'
198 assert_select_in result, 'strong', :text => 'Collapsed'
199 assert_select_in result, 'a.collapsible.collapsed', :text => 'Example'
200 assert_select_in result, 'a.collapsible', :text => 'Example'
201 end
202
203 def test_macro_collapse_with_two_args
204 text = "{{collapse(Show example, Hide example)\n*Collapsed* block of text\n}}"
205 result = textilizable(text)
206
207 assert_select_in result, 'div.collapsed-text'
208 assert_select_in result, 'strong', :text => 'Collapsed'
209 assert_select_in result, 'a.collapsible.collapsed', :text => 'Show example'
210 assert_select_in result, 'a.collapsible', :text => 'Hide example'
211 end
212
183 213 def test_macro_child_pages
184 214 expected = "<p><ul class=\"pages-hierarchy\">\n" +
185 215 "<li><a href=\"/projects/ecookbook/wiki/Child_1\">Child 1</a>\n" +
186 216 "<ul class=\"pages-hierarchy\">\n<li><a href=\"/projects/ecookbook/wiki/Child_1_1\">Child 1 1</a></li>\n</ul>\n</li>\n" +
187 217 "<li><a href=\"/projects/ecookbook/wiki/Child_2\">Child 2</a></li>\n" +
188 218 "</ul>\n</p>"
189 219
190 220 @project = Project.find(1)
191 221 # child pages of the current wiki page
192 222 assert_equal expected, textilizable("{{child_pages}}", :object => WikiPage.find(2).content)
193 223 # child pages of another page
194 224 assert_equal expected, textilizable("{{child_pages(Another_page)}}", :object => WikiPage.find(1).content)
195 225
196 226 @project = Project.find(2)
197 227 assert_equal expected, textilizable("{{child_pages(ecookbook:Another_page)}}", :object => WikiPage.find(1).content)
198 228 end
199 229
200 230 def test_macro_child_pages_with_parent_option
201 231 expected = "<p><ul class=\"pages-hierarchy\">\n" +
202 232 "<li><a href=\"/projects/ecookbook/wiki/Another_page\">Another page</a>\n" +
203 233 "<ul class=\"pages-hierarchy\">\n" +
204 234 "<li><a href=\"/projects/ecookbook/wiki/Child_1\">Child 1</a>\n" +
205 235 "<ul class=\"pages-hierarchy\">\n<li><a href=\"/projects/ecookbook/wiki/Child_1_1\">Child 1 1</a></li>\n</ul>\n</li>\n" +
206 236 "<li><a href=\"/projects/ecookbook/wiki/Child_2\">Child 2</a></li>\n" +
207 237 "</ul>\n</li>\n</ul>\n</p>"
208 238
209 239 @project = Project.find(1)
210 240 # child pages of the current wiki page
211 241 assert_equal expected, textilizable("{{child_pages(parent=1)}}", :object => WikiPage.find(2).content)
212 242 # child pages of another page
213 243 assert_equal expected, textilizable("{{child_pages(Another_page, parent=1)}}", :object => WikiPage.find(1).content)
214 244
215 245 @project = Project.find(2)
216 246 assert_equal expected, textilizable("{{child_pages(ecookbook:Another_page, parent=1)}}", :object => WikiPage.find(1).content)
217 247 end
218 248
219 249 def test_macro_child_pages_with_depth_option
220 250 expected = "<p><ul class=\"pages-hierarchy\">\n" +
221 251 "<li><a href=\"/projects/ecookbook/wiki/Child_1\">Child 1</a></li>\n" +
222 252 "<li><a href=\"/projects/ecookbook/wiki/Child_2\">Child 2</a></li>\n" +
223 253 "</ul>\n</p>"
224 254
225 255 @project = Project.find(1)
226 256 assert_equal expected, textilizable("{{child_pages(depth=1)}}", :object => WikiPage.find(2).content)
227 257 end
228 258
229 259 def test_macro_child_pages_without_wiki_page_should_fail
230 260 assert_match /can be called from wiki pages only/, textilizable("{{child_pages}}")
231 261 end
232 262
233 263 def test_macro_thumbnail
234 264 assert_equal '<p><a href="/attachments/17" class="thumbnail" title="testfile.PNG"><img alt="testfile.PNG" src="/attachments/thumbnail/17" /></a></p>',
235 265 textilizable("{{thumbnail(testfile.png)}}", :object => Issue.find(14))
236 266 end
237 267
238 268 def test_macro_thumbnail_with_size
239 269 assert_equal '<p><a href="/attachments/17" class="thumbnail" title="testfile.PNG"><img alt="testfile.PNG" src="/attachments/thumbnail/17/200" /></a></p>',
240 270 textilizable("{{thumbnail(testfile.png, size=200)}}", :object => Issue.find(14))
241 271 end
242 272
243 273 def test_macro_thumbnail_with_title
244 274 assert_equal '<p><a href="/attachments/17" class="thumbnail" title="Cool image"><img alt="testfile.PNG" src="/attachments/thumbnail/17" /></a></p>',
245 275 textilizable("{{thumbnail(testfile.png, title=Cool image)}}", :object => Issue.find(14))
246 276 end
247 277
248 278 def test_macro_thumbnail_with_invalid_filename_should_fail
249 279 assert_include 'test.png not found',
250 280 textilizable("{{thumbnail(test.png)}}", :object => Issue.find(14))
251 281 end
252 282
253 283 def test_macros_should_not_be_executed_in_pre_tags
254 284 text = <<-RAW
255 285 {{hello_world(foo)}}
256 286
257 287 <pre>
258 288 {{hello_world(pre)}}
259 289 !{{hello_world(pre)}}
260 290 </pre>
261 291
262 292 {{hello_world(bar)}}
263 293 RAW
264 294
265 295 expected = <<-EXPECTED
266 296 <p>Hello world! Object: NilClass, Arguments: foo and no block of text.</p>
267 297
268 298 <pre>
269 299 {{hello_world(pre)}}
270 300 !{{hello_world(pre)}}
271 301 </pre>
272 302
273 303 <p>Hello world! Object: NilClass, Arguments: bar and no block of text.</p>
274 304 EXPECTED
275 305
276 306 assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(text).gsub(%r{[\r\n\t]}, '')
277 307 end
278 308
279 309 def test_macros_should_be_escaped_in_pre_tags
280 310 text = "<pre>{{hello_world(<tag>)}}</pre>"
281 311 assert_equal "<pre>{{hello_world(&lt;tag&gt;)}}</pre>", textilizable(text)
282 312 end
283 313
284 314 def test_macros_should_not_mangle_next_macros_outputs
285 315 text = '{{macro(2)}} !{{macro(2)}} {{hello_world(foo)}}'
286 316 assert_equal '<p>{{macro(2)}} {{macro(2)}} Hello world! Object: NilClass, Arguments: foo and no block of text.</p>', textilizable(text)
287 317 end
288 318
289 319 def test_macros_with_text_should_not_mangle_following_macros
290 320 text = <<-RAW
291 321 {{hello_world
292 322 Line of text
293 323 }}
294 324
295 325 {{hello_world
296 326 Another line of text
297 327 }}
298 328 RAW
299 329
300 330 expected = <<-EXPECTED
301 331 <p>Hello world! Object: NilClass, Called with no argument and a 12 bytes long block of text.</p>
302 332 <p>Hello world! Object: NilClass, Called with no argument and a 20 bytes long block of text.</p>
303 333 EXPECTED
304 334
305 335 assert_equal expected.gsub(%r{[\r\n\t]}, ''), textilizable(text).gsub(%r{[\r\n\t]}, '')
306 336 end
307 337 end
General Comments 0
You need to be logged in to leave comments. Login now