{{ctx.Locale.Tr "repo.diff.git-notes.remove-body"}}
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 856a835b32..f836d8fb57 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -2622,9 +2622,9 @@ diff.browse_source = Browse source diff.parent = parent diff.commit = commit diff.git-notes = Notes -diff.git-notes.add = Add Note -diff.git-notes.remove-header = Remove Note -diff.git-notes.remove-body = This will remove this Note +diff.git-notes.add = Add note +diff.git-notes.remove-header = Remove note +diff.git-notes.remove-body = This note will be removed. diff.data_not_available = Diff content is not available diff.options_button = Diff options diff.show_diff_stats = Show stats diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl index aaec11385d..28b7bfc89c 100644 --- a/templates/repo/commit_page.tmpl +++ b/templates/repo/commit_page.tmpl @@ -128,6 +128,9 @@ +
{{end}} @@ -277,20 +280,20 @@ {{DateUtils.TimeSince .NoteCommit.Author.When}} {{if or ($.Permission.CanWrite $.UnitTypeCode) (not $.Repository.IsArchived) (not .IsDeleted)}}{{ctx.Locale.Tr "repo.diff.git-notes.remove-body"}}
{{ctx.Locale.Tr "repo.diff.git-notes.remove-body"}}