diff options
Diffstat (limited to 'app/views/projects/notes/_note.html.haml')
-rw-r--r-- | app/views/projects/notes/_note.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/notes/_note.html.haml b/app/views/projects/notes/_note.html.haml index f7eeaece3db..91c71bb3f5e 100644 --- a/app/views/projects/notes/_note.html.haml +++ b/app/views/projects/notes/_note.html.haml @@ -25,7 +25,7 @@ = '@' + note.author.username %span.note-last-update - %a{name: dom_id(note), href: "##{dom_id(note)}", title: 'Link here'} + %a{name: dom_id(note), href: "##{dom_id(note)}", title: '链接'} = time_ago_with_tooltip(note.created_at, placement: 'bottom', html_class: 'note_created_ago') .note-body{class: note_editable?(note) ? 'js-task-list-container' : ''} .note-text @@ -45,5 +45,5 @@ = icon('paperclip') = note.attachment_identifier = link_to delete_attachment_namespace_project_note_path(note.project.namespace, note.project, note), - title: 'Delete this attachment', method: :delete, remote: true, data: { confirm: 'Are you sure you want to remove the attachment?' }, class: 'danger js-note-attachment-delete' do + title: '删除此附件', method: :delete, remote: true, data: { confirm: '确定要删除此附件么?' }, class: 'danger js-note-attachment-delete' do = icon('trash-o', class: 'cred') |