From a1186b5c2ddad509b450bf76d713d44994478de6 Mon Sep 17 00:00:00 2001 From: mst Date: Tue, 11 Mar 2025 16:03:31 +0300 Subject: [PATCH] fix inbox title --- templates/inbox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/inbox.html b/templates/inbox.html index 78bf178..4e7972b 100644 --- a/templates/inbox.html +++ b/templates/inbox.html @@ -165,7 +165,7 @@ const questions = document.querySelectorAll('.question'); const count = questions.length; document.getElementById('question-count-inbox').textContent = count; - document.title = `Inbox (${count}) | {{ const.appName }}` ? count > 0 : "Inbox | {{ const.appName }}"; + document.title = count > 0 ? `{{ _("Inbox") }} (${count}) | {{ const.appName }}` : "{{ _('Inbox') }} | {{ const.appName }}"; } } })