File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ copy_content = Copy content
95
95
copy_branch = Copy branch name
96
96
copy_success = Copied!
97
97
copy_error = Copy failed
98
- copy_unsupported = This file type can not be copied
98
+ copy_type_unsupported = This file type can not be copied
99
99
100
100
write = Write
101
101
preview = Preview
Original file line number Diff line number Diff line change 38
38
{{end}}
39
39
</div>
40
40
<a download href="{{$.RawFileLink}}"><span class="btn-octicon tooltip" data-content="{{.locale.Tr "repo.download_file"}}" data-position="bottom center">{{svg "octicon-download"}}</span></a>
41
- <a id="copy-content" class="btn-octicon tooltip{{if not .CanCopyContent}} disabled{{end}}"{{if or .IsImageFile (and .HasSourceRenderedToggle (not .IsDisplayingSource))}} data-link="{{$.RawFileLink}}"{{end}} data-content="{{if .CanCopyContent}}{{.locale.Tr "copy_content"}}{{else}}{{.locale.Tr "copy_unsupported "}}{{end}}">{{svg "octicon-copy" 14}}</a>
41
+ <a id="copy-content" class="btn-octicon tooltip{{if not .CanCopyContent}} disabled{{end}}"{{if or .IsImageFile (and .HasSourceRenderedToggle (not .IsDisplayingSource))}} data-link="{{$.RawFileLink}}"{{end}} data-content="{{if .CanCopyContent}}{{.locale.Tr "copy_content"}}{{else}}{{.locale.Tr "copy_type_unsupported "}}{{end}}">{{svg "octicon-copy" 14}}</a>
42
42
{{if .Repository.CanEnableEditor}}
43
43
{{if .CanEditFile}}
44
44
<a href="{{.RepoLink}}/_edit/{{PathEscapeSegments .BranchName}}/{{PathEscapeSegments .TreePath}}"><span class="btn-octicon tooltip" data-content="{{.EditFileTooltip}}" data-position="bottom center">{{svg "octicon-pencil"}}</span></a>
You can’t perform that action at this time.
0 commit comments