mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 22:11:32 +01:00
Use a common message template instead of a special one (#31878)
This commit is contained in:
parent
3a51c37672
commit
3febcaa53b
2 changed files with 2 additions and 2 deletions
|
@ -159,6 +159,7 @@ filter.public = Public
|
||||||
filter.private = Private
|
filter.private = Private
|
||||||
|
|
||||||
no_results_found = No results found.
|
no_results_found = No results found.
|
||||||
|
internal_error_skipped = Internal error occurred but is skipped: %s
|
||||||
|
|
||||||
[search]
|
[search]
|
||||||
search = Search...
|
search = Search...
|
||||||
|
@ -1279,7 +1280,6 @@ commit_graph.color = Color
|
||||||
commit.contained_in = This commit is contained in:
|
commit.contained_in = This commit is contained in:
|
||||||
commit.contained_in_default_branch = This commit is part of the default branch
|
commit.contained_in_default_branch = This commit is part of the default branch
|
||||||
commit.load_referencing_branches_and_tags = Load branches and tags referencing this commit
|
commit.load_referencing_branches_and_tags = Load branches and tags referencing this commit
|
||||||
commit.load_tags_failed = Load tags failed because of internal error
|
|
||||||
blame = Blame
|
blame = Blame
|
||||||
download_file = Download file
|
download_file = Download file
|
||||||
normal_view = Normal View
|
normal_view = Normal View
|
||||||
|
|
|
@ -90,7 +90,7 @@ func Commits(ctx *context.Context) {
|
||||||
commitsTagsMap, err := repo_model.FindTagsByCommitIDs(ctx, ctx.Repo.Repository.ID, commitIDs...)
|
commitsTagsMap, err := repo_model.FindTagsByCommitIDs(ctx, ctx.Repo.Repository.ID, commitIDs...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("FindTagsByCommitIDs: %v", err)
|
log.Error("FindTagsByCommitIDs: %v", err)
|
||||||
ctx.Flash.Error(ctx.Tr("repo.commit.load_tags_failed"))
|
ctx.Flash.Error(ctx.Tr("internal_error_skipped", "FindTagsByCommitIDs"))
|
||||||
} else {
|
} else {
|
||||||
ctx.Data["CommitsTagsMap"] = commitsTagsMap
|
ctx.Data["CommitsTagsMap"] = commitsTagsMap
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue