Add comments to tasks
Everyone who may change a task's status (attached subcontractors too) comments on it on the job page. Authors edit and remove their own comments; admin and management may remove anyone's (jobs.remove-any-task-comment). Edited comments show when they were edited, and task cards show the number of comments. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -119,6 +119,34 @@ return [
|
||||
'invalid_text' => 'The item text may be at most 255 characters.',
|
||||
],
|
||||
],
|
||||
'comments' => [
|
||||
'title' => 'Comments',
|
||||
'list_of' => 'Comments: :title',
|
||||
'empty' => 'No comments.',
|
||||
'new' => 'New comment',
|
||||
'body' => 'Comment',
|
||||
'add' => 'Add comment',
|
||||
'add_named' => 'Add comment to task :title',
|
||||
'save' => 'Save',
|
||||
'cancel' => 'Cancel',
|
||||
'remove' => 'Remove',
|
||||
'edit_named' => 'Edit comment (:author, :at)',
|
||||
'remove_named' => 'Remove comment (:author, :at)',
|
||||
'remove_title' => 'Remove the comment?',
|
||||
'remove_question' => 'The comment will be removed permanently.',
|
||||
'at' => ':date at :time',
|
||||
'edited' => 'edited :at',
|
||||
'unknown_author' => 'Unknown user',
|
||||
'added' => 'Comment added.',
|
||||
'saved' => 'Comment saved.',
|
||||
'removed' => 'Comment removed.',
|
||||
'not_found' => 'The comment was not found. Refresh the page.',
|
||||
'errors' => [
|
||||
'body_required' => 'Write a comment.',
|
||||
'invalid_body' => 'A comment may be at most 5000 characters.',
|
||||
'not_author' => 'You can edit and remove only your own comments.',
|
||||
],
|
||||
],
|
||||
'errors' => [
|
||||
'title_required' => 'Enter the task name.',
|
||||
'invalid_title' => 'The name may be at most 255 characters.',
|
||||
|
||||
Reference in New Issue
Block a user