Skip to content

Commit 6dfaa72

Browse files
committed
Follow @wxiaoguang's suggestion
1 parent 0e18a26 commit 6dfaa72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ filter.public = Public
159159
filter.private = Private
160160

161161
no_results_found = No results found.
162-
load_failed = Load %s failed because of internal error
162+
internal_error_skipped = Internal error occurred but is skipped: %s
163163

164164
[search]
165165
search = Search...

routers/web/repo/commit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func Commits(ctx *context.Context) {
9090
commitsTagsMap, err := repo_model.FindTagsByCommitIDs(ctx, ctx.Repo.Repository.ID, commitIDs...)
9191
if err != nil {
9292
log.Error("FindTagsByCommitIDs: %v", err)
93-
ctx.Flash.Error(ctx.Tr("load_failed", "tags"))
93+
ctx.Flash.Error(ctx.Tr("internal_error_skipped", "FindTagsByCommitIDs"))
9494
} else {
9595
ctx.Data["CommitsTagsMap"] = commitsTagsMap
9696
}

0 commit comments

Comments
 (0)