From 19dc4deabaa0fc13c595117ce73feeac144328c4 Mon Sep 17 00:00:00 2001 From: Mitternacht822 Date: Fri, 6 Mar 2026 20:44:50 +0400 Subject: [PATCH] fix: fixed translation for subscription key field on page about subscription key info --- client/translations/amneziavpn_ru_RU.ts | 5 +++++ client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/client/translations/amneziavpn_ru_RU.ts b/client/translations/amneziavpn_ru_RU.ts index 2bfbf79f1..9ca8be207 100644 --- a/client/translations/amneziavpn_ru_RU.ts +++ b/client/translations/amneziavpn_ru_RU.ts @@ -2070,6 +2070,11 @@ Thank you for staying with us! PageSettingsApiSubscriptionKey + + + Subscription key + Ключ для подключения + Copy key diff --git a/client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml b/client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml index 0a5ea6e34..2505589cb 100644 --- a/client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml +++ b/client/ui/qml/Pages2/PageSettingsApiSubscriptionKey.qml @@ -69,7 +69,8 @@ PageType { Layout.leftMargin: 16 Layout.rightMargin: 16 Layout.topMargin: 16 - text: qsTr(root.processedServer.name + "\nsubscription key") + text: (root.processedServer && root.processedServer.name ? root.processedServer.name : "") + + "\n" + qsTr("Subscription key") font.pixelSize: 32 font.bold: true color: AmneziaStyle.color.paleGray @@ -206,7 +207,8 @@ PageType { Header2Type { Layout.fillWidth: true - headerText: qsTr(root.processedServer.name + " Subscription key") + headerText: (root.processedServer && root.processedServer.name ? root.processedServer.name : "") + + "\n" + qsTr("Subscription key") } TextArea {