mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 05:39:46 +02:00
feat: LocaleString for status
This commit is contained in:
4 files changed
+21
-3
No files matched your search
@@ -148,7 +148,7 @@ func ViewPost(ctx *context_module.Context) {
|
||||
resp.StateData.CurrentJobInfo.Title = current.Name
|
||||
resp.StateData.CurrentJobSteps = make([]ViewJobStep, 0)
|
||||
resp.LogsData.StreamingLogs = make([]ViewStepLog, 0, len(req.StepLogCursors))
|
||||
resp.StateData.CurrentJobInfo.Detail = current.Status.String()
|
||||
resp.StateData.CurrentJobInfo.Detail = current.Status.LocaleString(ctx.Locale)
|
||||
if task != nil {
|
||||
steps := actions.FullSteps(task)
|
||||
|
||||
|
||||
Reference in new issue
Block a user