diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-08-10 10:05:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-10 02:05:37 +0000 |
commit | a85a8628042c788ce2b372a29ca1cefab544f1ed (patch) | |
tree | 79ed24c1e4597dd7b668435700532aeab2e29d7d /routers | |
parent | 63ab92d7971e4931e98f014f2c5385d2242fa780 (diff) | |
download | gitea-a85a8628042c788ce2b372a29ca1cefab544f1ed.tar.gz gitea-a85a8628042c788ce2b372a29ca1cefab544f1ed.zip |
Fix admin queue page title (#26409)
Fix #26408
```
# locale_en-US.ini
[admin]
monitor.queues = Queues
```
---------
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'routers')
-rw-r--r-- | routers/web/admin/queue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/admin/queue.go b/routers/web/admin/queue.go index 4e01846ba8..18a8d7d3e6 100644 --- a/routers/web/admin/queue.go +++ b/routers/web/admin/queue.go @@ -16,7 +16,7 @@ func Queues(ctx *context.Context) { if !setting.IsProd { initTestQueueOnce() } - ctx.Data["Title"] = ctx.Tr("admin.monitor.queue") + ctx.Data["Title"] = ctx.Tr("admin.monitor.queues") ctx.Data["PageIsAdminMonitorQueue"] = true ctx.Data["Queues"] = queue.GetManager().ManagedQueues() ctx.HTML(http.StatusOK, tplQueue) |