diff --git a/client/ui/qml/Components/ConnectionTypeSelectionDrawer.qml b/client/ui/qml/Components/ConnectionTypeSelectionDrawer.qml index 71299b1f..8b377600 100644 --- a/client/ui/qml/Components/ConnectionTypeSelectionDrawer.qml +++ b/client/ui/qml/Components/ConnectionTypeSelectionDrawer.qml @@ -28,7 +28,7 @@ DrawerType { Layout.bottomMargin: 32 Layout.alignment: Qt.AlignHCenter - text: "Данные для подключения" + text: qsTr("Connection data") wrapMode: Text.WordWrap } @@ -37,7 +37,7 @@ DrawerType { Layout.fillWidth: true Layout.topMargin: 16 - text: "IP, логин и пароль от сервера" + text: qsTr("Server IP, login and password") rightImageSource: "qrc:/images/controls/chevron-right.svg" clickedFunction: function() { @@ -51,7 +51,7 @@ DrawerType { LabelWithButtonType { Layout.fillWidth: true - text: "QR-код, ключ или файл настроек" + text: qsTr("QR code, key or configuration file") rightImageSource: "qrc:/images/controls/chevron-right.svg" clickedFunction: function() { diff --git a/client/ui/qml/Pages2/PageDeinstalling.qml b/client/ui/qml/Pages2/PageDeinstalling.qml index 1dc542e0..49bcdb9a 100644 --- a/client/ui/qml/Pages2/PageDeinstalling.qml +++ b/client/ui/qml/Pages2/PageDeinstalling.qml @@ -81,7 +81,7 @@ PageType { Layout.fillWidth: true Layout.topMargin: 8 - text: "Обычно это занимает не больше 5 минут" + text: qsTr("Usually it takes no more than 5 minutes") } } } diff --git a/client/ui/qml/Pages2/PageHome.qml b/client/ui/qml/Pages2/PageHome.qml index b7d44c78..76b9f94b 100644 --- a/client/ui/qml/Pages2/PageHome.qml +++ b/client/ui/qml/Pages2/PageHome.qml @@ -163,7 +163,7 @@ PageType { text: root.currentContainerName textColor: "#0E0E11" - headerText: qsTr("Протокол подключения") + headerText: qsTr("Connection protocol") headerBackButtonImage: "qrc:/images/controls/arrow-left.svg" rootButtonClickedFunction: function() { diff --git a/client/ui/qml/Pages2/PageSettingsServerData.qml b/client/ui/qml/Pages2/PageSettingsServerData.qml index c5af47e0..20afecd2 100644 --- a/client/ui/qml/Pages2/PageSettingsServerData.qml +++ b/client/ui/qml/Pages2/PageSettingsServerData.qml @@ -22,7 +22,7 @@ PageType { if (isInstalledContainerFound) { message = qsTr("All installed containers have been added to the application") } else { - message = qsTr("Не найдено установленных контейнеров") + message = qsTr("No installed containers found") } PageController.showErrorMessage(message) @@ -84,8 +84,8 @@ PageType { visible: content.isServerWithWriteAccess Layout.fillWidth: true - text: qsTr("Проверить сервер на наличие ранее установленных сервисов Amnezia") - descriptionText: qsTr("Добавим их в приложение, если они не отображались") + text: qsTr("Check the server for previously installed Amnesia services") + descriptionText: qsTr("Add them to the application if they were not displayed") clickedFunction: function() { PageController.showBusyIndicator(true) diff --git a/client/ui/qml/Pages2/PageSettingsServersList.qml b/client/ui/qml/Pages2/PageSettingsServersList.qml index 4c6a9839..496ed370 100644 --- a/client/ui/qml/Pages2/PageSettingsServersList.qml +++ b/client/ui/qml/Pages2/PageSettingsServersList.qml @@ -36,7 +36,7 @@ PageType { actionButtonImage: "qrc:/images/controls/plus.svg" - headerText: "Серверы" + headerText: qsTr("Servers") actionButtonFunction: function() { connectionTypeSelection.visible = true diff --git a/client/ui/qml/Pages2/PageSetupWizardConfigSource.qml b/client/ui/qml/Pages2/PageSetupWizardConfigSource.qml index 78bd7486..ae24c942 100644 --- a/client/ui/qml/Pages2/PageSetupWizardConfigSource.qml +++ b/client/ui/qml/Pages2/PageSetupWizardConfigSource.qml @@ -38,9 +38,9 @@ PageType { Layout.rightMargin: 16 Layout.leftMargin: 16 - headerText: "Подключение к серверу" - descriptionText: "Не используйте код подключения из публичных источников. Его могли создать, чтобы перехватывать ваши данные.\n -Всё в порядке, если код передал друг." + headerText: qsTr("Server connection") + descriptionText: qsTr("Do not use connection code from public sources. It may have been created to intercept your data.\n +It's okay if a friend passed the code.") } Header2TextType { @@ -49,30 +49,21 @@ PageType { Layout.rightMargin: 16 Layout.leftMargin: 16 - text: "Что у вас есть?" + text: qsTr("What do you have?") } LabelWithButtonType { Layout.fillWidth: true Layout.topMargin: 16 - text: "Файл с настройками подключения" + text: qsTr("File with connection settings") rightImageSource: "qrc:/images/controls/chevron-right.svg" leftImageSource: "qrc:/images/controls/folder-open.svg" clickedFunction: function() { -// onClicked: fileDialog.open() ImportController.extractConfigFromFile() goToPage(PageEnum.PageSetupWizardViewConfig) } - -// FileDialog { -// id: fileDialog -// onAccepted: { -// ImportController.extractConfigFromFile(selectedFile) -// goToPage(PageEnum.PageSetupWizardViewConfig) -// } -// } } DividerType {} @@ -81,7 +72,7 @@ PageType { LabelWithButtonType { Layout.fillWidth: true - text: "QR-код" + text: qsTr("QR-code") rightImageSource: "qrc:/images/controls/chevron-right.svg" leftImageSource: "qrc:/images/controls/qr-code.svg" @@ -96,7 +87,7 @@ PageType { LabelWithButtonType { Layout.fillWidth: true - text: "Ключ в виде текста" + text: qsTr("Key as text") rightImageSource: "qrc:/images/controls/chevron-right.svg" leftImageSource: "qrc:/images/controls/text-cursor.svg" diff --git a/client/ui/qml/Pages2/PageSetupWizardInstalling.qml b/client/ui/qml/Pages2/PageSetupWizardInstalling.qml index 2f07db18..a0fdf7be 100644 --- a/client/ui/qml/Pages2/PageSetupWizardInstalling.qml +++ b/client/ui/qml/Pages2/PageSetupWizardInstalling.qml @@ -116,7 +116,7 @@ PageType { Layout.fillWidth: true Layout.topMargin: 20 - headerText: "Установка" + headerText: qsTr("Installing") descriptionText: name } @@ -142,7 +142,7 @@ PageType { Layout.fillWidth: true Layout.topMargin: 8 - text: "Обычно это занимает не больше 5 минут" + text: qsTr("Usually it takes no more than 5 minutes") } } } diff --git a/client/ui/qml/Pages2/PageSetupWizardProtocolSettings.qml b/client/ui/qml/Pages2/PageSetupWizardProtocolSettings.qml index e593393c..29067cb2 100644 --- a/client/ui/qml/Pages2/PageSetupWizardProtocolSettings.qml +++ b/client/ui/qml/Pages2/PageSetupWizardProtocolSettings.qml @@ -193,7 +193,7 @@ PageType { Layout.topMargin: 16 - text: "Network protocol" + text: qsTr("Network protocol") } TransportProtoSelector { @@ -209,7 +209,7 @@ PageType { Layout.fillWidth: true Layout.topMargin: 16 - headerText: "Port" + headerText: qsTr("Port") } Rectangle { @@ -223,7 +223,7 @@ PageType { Layout.fillWidth: true Layout.bottomMargin: 32 - text: qsTr("Установить") + text: qsTr("Install") onClicked: function() { goToPage(PageEnum.PageSetupWizardInstalling); diff --git a/client/ui/qml/Pages2/PageSetupWizardProtocols.qml b/client/ui/qml/Pages2/PageSetupWizardProtocols.qml index 6a8e301f..f3de85b6 100644 --- a/client/ui/qml/Pages2/PageSetupWizardProtocols.qml +++ b/client/ui/qml/Pages2/PageSetupWizardProtocols.qml @@ -70,8 +70,8 @@ PageType { width: parent.width - headerText: "Протокол подключения" - descriptionText: "Выберите более приоритетный для вас. Позже можно будет установить остальные протоколы и доп сервисы, вроде DNS-прокси и SFTP." + headerText: qsTr("Connection protocol") + descriptionText: qsTr("Choose the one with the highest priority for you. Later, you can install other protocols and additional services, such as DNS proxy and SFTP.") } } diff --git a/client/ui/qml/Pages2/PageSetupWizardStart.qml b/client/ui/qml/Pages2/PageSetupWizardStart.qml index 750084c7..73438e34 100644 --- a/client/ui/qml/Pages2/PageSetupWizardStart.qml +++ b/client/ui/qml/Pages2/PageSetupWizardStart.qml @@ -58,7 +58,7 @@ PageType { Layout.leftMargin: 16 Layout.rightMargin: 16 - text: "Бесплатный сервис для создания личного VPN на вашем сервере. Помогаем получать доступ к заблокированному контенту, не раскрывая конфиденциальность даже провайдерам VPN." + text: qsTr("A free service to create a personal VPN on your server. We help you access blocked content without exposing your privacy even to VPN providers.") } BasicButtonType { @@ -67,7 +67,7 @@ PageType { Layout.leftMargin: 16 Layout.rightMargin: 16 - text: qsTr("У меня есть данные для подключения") + text: qsTr("I have the data to connect") onClicked: { connectionTypeSelection.visible = true @@ -87,10 +87,9 @@ PageType { textColor: "#D7D8DB" borderWidth: 1 - text: qsTr("У меня ничего нет") + text: qsTr("I have nothing") onClicked: { - goToPage(PageEnum.PageTest) } } }