diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 79eb86a175..c0b3ee242d 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -99,6 +99,7 @@ disabled = Disabled locked = Locked copy = Copy +copy_generic = Copy to clipboard copy_url = Copy URL copy_hash = Copy hash copy_content = Copy content diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 6b343e4ee0..71154f9768 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -130,7 +130,7 @@ {{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}} {{if .IsLFSFile}} ({{ctx.Locale.Tr "repo.stored_lfs"}}){{end}} - + {{if $file.IsGenerated}} {{ctx.Locale.Tr "repo.diff.generated"}} {{end}}