Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F84657978
D307.1781456288.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D307.1781456288.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 14, 9:58 AM (18 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1576798
Default Alt Text
D307.1781456288.diff (1 KB)
Attached To
Mode
D307: Display user id on window title
Attached
Detach File
Event Timeline
Log In to Comment