Merge pull request '[v7.0/forgejo] Accessibility improvements to code review' (#3368) from bp-v7.0/forgejo-87d4746-187e10d into v7.0/forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3368 Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
commit
8859a7f1a7
2 changed files with 3 additions and 2 deletions
|
@ -99,6 +99,7 @@ disabled = Disabled
|
||||||
locked = Locked
|
locked = Locked
|
||||||
|
|
||||||
copy = Copy
|
copy = Copy
|
||||||
|
copy_generic = Copy to clipboard
|
||||||
copy_url = Copy URL
|
copy_url = Copy URL
|
||||||
copy_hash = Copy hash
|
copy_hash = Copy hash
|
||||||
copy_content = Copy content
|
copy_content = Copy content
|
||||||
|
@ -2595,7 +2596,7 @@ diff.comment.add_single_comment = Add single comment
|
||||||
diff.comment.add_review_comment = Add comment
|
diff.comment.add_review_comment = Add comment
|
||||||
diff.comment.start_review = Start review
|
diff.comment.start_review = Start review
|
||||||
diff.comment.reply = Reply
|
diff.comment.reply = Reply
|
||||||
diff.review = Review
|
diff.review = Finish review
|
||||||
diff.review.header = Submit review
|
diff.review.header = Submit review
|
||||||
diff.review.placeholder = Review comment
|
diff.review.placeholder = Review comment
|
||||||
diff.review.comment = Comment
|
diff.review.comment = Comment
|
||||||
|
|
|
@ -130,7 +130,7 @@
|
||||||
</div>
|
</div>
|
||||||
<span class="file tw-flex tw-items-center tw-font-mono tw-flex-1"><a class="muted file-link" title="{{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}" href="#diff-{{$file.NameHash}}">{{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}</a>
|
<span class="file tw-flex tw-items-center tw-font-mono tw-flex-1"><a class="muted file-link" title="{{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}" href="#diff-{{$file.NameHash}}">{{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}</a>
|
||||||
{{if .IsLFSFile}} ({{ctx.Locale.Tr "repo.stored_lfs"}}){{end}}
|
{{if .IsLFSFile}} ({{ctx.Locale.Tr "repo.stored_lfs"}}){{end}}
|
||||||
<button class="btn interact-fg tw-p-2" data-clipboard-text="{{$file.Name}}">{{svg "octicon-copy" 14}}</button>
|
<button class="btn interact-fg tw-p-2" data-clipboard-text="{{$file.Name}}" data-tooltip-content="{{ctx.Locale.Tr "copy_generic"}}" aria-label="{{ctx.Locale.Tr "copy_generic"}}">{{svg "octicon-copy" 14}}</button>
|
||||||
{{if $file.IsGenerated}}
|
{{if $file.IsGenerated}}
|
||||||
<span class="ui label">{{ctx.Locale.Tr "repo.diff.generated"}}</span>
|
<span class="ui label">{{ctx.Locale.Tr "repo.diff.generated"}}</span>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue