Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85899493
D307.1794128502.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D307.1794128502.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, Nov 8, 1:01 AM (7 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1832288
Default Alt Text
D307.1794128502.diff (1 KB)
Attached To
Mode
D307: Display user id on window title
Attached
Detach File
Event Timeline