Page MenuHomePhorge

D307.1781446553.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D307.1781446553.diff

diff --git a/src/contents/ui/Main.qml b/src/contents/ui/Main.qml
--- a/src/contents/ui/Main.qml
+++ b/src/contents/ui/Main.qml
@@ -146,7 +146,7 @@
}
}
- title: l10n.get('app-title')
+ title: matrixSdk.userId ? l10n.get('app-title-with-user-id', { userId: matrixSdk.userId }) : l10n.get('app-title-not-logged-in')
globalDrawer: Kirigami.GlobalDrawer {
title: l10n.get('global-drawer-title')
diff --git a/src/l10n/cmn-Hans/100-ui.ftl b/src/l10n/cmn-Hans/100-ui.ftl
--- a/src/l10n/cmn-Hans/100-ui.ftl
+++ b/src/l10n/cmn-Hans/100-ui.ftl
@@ -2,7 +2,8 @@
### SPDX-FileCopyrightText: 2020-2023 tusooa <tusooa@kazv.moe>
### SPDX-License-Identifier: AGPL-3.0-or-later
-app-title = { -kt-app-name }
+app-title-with-user-id = { -kt-app-name } - { $userId }
+app-title-not-logged-in = { -kt-app-name } - 未登录
about-page-title = 关于 { -kt-app-name }
about-copyright = (c) 2020- the Kazv Project
diff --git a/src/l10n/en/100-ui.ftl b/src/l10n/en/100-ui.ftl
--- a/src/l10n/en/100-ui.ftl
+++ b/src/l10n/en/100-ui.ftl
@@ -2,7 +2,8 @@
### SPDX-FileCopyrightText: 2020-2023 tusooa <tusooa@kazv.moe>
### SPDX-License-Identifier: AGPL-3.0-or-later
-app-title = { -kt-app-name }
+app-title-with-user-id = { -kt-app-name } - { $userId }
+app-title-not-logged-in = { -kt-app-name } - Not Logged In
about-page-title = About { -kt-app-name }
about-copyright = (c) 2020- the Kazv Project

File Metadata

Mime Type
text/plain
Expires
Sun, Jun 14, 7:15 AM (15 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1576798
Default Alt Text
D307.1781446553.diff (1 KB)

Event Timeline