changed all text to english

This commit is contained in:
vladimir.kuznetsov 2023-07-24 16:33:58 +09:00
parent 0a1359ed16
commit b9a13d3a32
10 changed files with 26 additions and 36 deletions

View file

@ -28,7 +28,7 @@ DrawerType {
Layout.bottomMargin: 32 Layout.bottomMargin: 32
Layout.alignment: Qt.AlignHCenter Layout.alignment: Qt.AlignHCenter
text: "Данные для подключения" text: qsTr("Connection data")
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
} }
@ -37,7 +37,7 @@ DrawerType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 16 Layout.topMargin: 16
text: "IP, логин и пароль от сервера" text: qsTr("Server IP, login and password")
rightImageSource: "qrc:/images/controls/chevron-right.svg" rightImageSource: "qrc:/images/controls/chevron-right.svg"
clickedFunction: function() { clickedFunction: function() {
@ -51,7 +51,7 @@ DrawerType {
LabelWithButtonType { LabelWithButtonType {
Layout.fillWidth: true Layout.fillWidth: true
text: "QR-код, ключ или файл настроек" text: qsTr("QR code, key or configuration file")
rightImageSource: "qrc:/images/controls/chevron-right.svg" rightImageSource: "qrc:/images/controls/chevron-right.svg"
clickedFunction: function() { clickedFunction: function() {

View file

@ -81,7 +81,7 @@ PageType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 8 Layout.topMargin: 8
text: "Обычно это занимает не больше 5 минут" text: qsTr("Usually it takes no more than 5 minutes")
} }
} }
} }

View file

@ -163,7 +163,7 @@ PageType {
text: root.currentContainerName text: root.currentContainerName
textColor: "#0E0E11" textColor: "#0E0E11"
headerText: qsTr("Протокол подключения") headerText: qsTr("Connection protocol")
headerBackButtonImage: "qrc:/images/controls/arrow-left.svg" headerBackButtonImage: "qrc:/images/controls/arrow-left.svg"
rootButtonClickedFunction: function() { rootButtonClickedFunction: function() {

View file

@ -22,7 +22,7 @@ PageType {
if (isInstalledContainerFound) { if (isInstalledContainerFound) {
message = qsTr("All installed containers have been added to the application") message = qsTr("All installed containers have been added to the application")
} else { } else {
message = qsTr("Не найдено установленных контейнеров") message = qsTr("No installed containers found")
} }
PageController.showErrorMessage(message) PageController.showErrorMessage(message)
@ -84,8 +84,8 @@ PageType {
visible: content.isServerWithWriteAccess visible: content.isServerWithWriteAccess
Layout.fillWidth: true Layout.fillWidth: true
text: qsTr("Проверить сервер на наличие ранее установленных сервисов Amnezia") text: qsTr("Check the server for previously installed Amnesia services")
descriptionText: qsTr("Добавим их в приложение, если они не отображались") descriptionText: qsTr("Add them to the application if they were not displayed")
clickedFunction: function() { clickedFunction: function() {
PageController.showBusyIndicator(true) PageController.showBusyIndicator(true)

View file

@ -36,7 +36,7 @@ PageType {
actionButtonImage: "qrc:/images/controls/plus.svg" actionButtonImage: "qrc:/images/controls/plus.svg"
headerText: "Серверы" headerText: qsTr("Servers")
actionButtonFunction: function() { actionButtonFunction: function() {
connectionTypeSelection.visible = true connectionTypeSelection.visible = true

View file

@ -38,9 +38,9 @@ PageType {
Layout.rightMargin: 16 Layout.rightMargin: 16
Layout.leftMargin: 16 Layout.leftMargin: 16
headerText: "Подключение к серверу" headerText: qsTr("Server connection")
descriptionText: "Не используйте код подключения из публичных источников. Его могли создать, чтобы перехватывать ваши данные.\n 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 { Header2TextType {
@ -49,30 +49,21 @@ PageType {
Layout.rightMargin: 16 Layout.rightMargin: 16
Layout.leftMargin: 16 Layout.leftMargin: 16
text: "Что у вас есть?" text: qsTr("What do you have?")
} }
LabelWithButtonType { LabelWithButtonType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 16 Layout.topMargin: 16
text: "Файл с настройками подключения" text: qsTr("File with connection settings")
rightImageSource: "qrc:/images/controls/chevron-right.svg" rightImageSource: "qrc:/images/controls/chevron-right.svg"
leftImageSource: "qrc:/images/controls/folder-open.svg" leftImageSource: "qrc:/images/controls/folder-open.svg"
clickedFunction: function() { clickedFunction: function() {
// onClicked: fileDialog.open()
ImportController.extractConfigFromFile() ImportController.extractConfigFromFile()
goToPage(PageEnum.PageSetupWizardViewConfig) goToPage(PageEnum.PageSetupWizardViewConfig)
} }
// FileDialog {
// id: fileDialog
// onAccepted: {
// ImportController.extractConfigFromFile(selectedFile)
// goToPage(PageEnum.PageSetupWizardViewConfig)
// }
// }
} }
DividerType {} DividerType {}
@ -81,7 +72,7 @@ PageType {
LabelWithButtonType { LabelWithButtonType {
Layout.fillWidth: true Layout.fillWidth: true
text: "QR-код" text: qsTr("QR-code")
rightImageSource: "qrc:/images/controls/chevron-right.svg" rightImageSource: "qrc:/images/controls/chevron-right.svg"
leftImageSource: "qrc:/images/controls/qr-code.svg" leftImageSource: "qrc:/images/controls/qr-code.svg"
@ -96,7 +87,7 @@ PageType {
LabelWithButtonType { LabelWithButtonType {
Layout.fillWidth: true Layout.fillWidth: true
text: "Ключ в виде текста" text: qsTr("Key as text")
rightImageSource: "qrc:/images/controls/chevron-right.svg" rightImageSource: "qrc:/images/controls/chevron-right.svg"
leftImageSource: "qrc:/images/controls/text-cursor.svg" leftImageSource: "qrc:/images/controls/text-cursor.svg"

View file

@ -116,7 +116,7 @@ PageType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 20 Layout.topMargin: 20
headerText: "Установка" headerText: qsTr("Installing")
descriptionText: name descriptionText: name
} }
@ -142,7 +142,7 @@ PageType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 8 Layout.topMargin: 8
text: "Обычно это занимает не больше 5 минут" text: qsTr("Usually it takes no more than 5 minutes")
} }
} }
} }

View file

@ -193,7 +193,7 @@ PageType {
Layout.topMargin: 16 Layout.topMargin: 16
text: "Network protocol" text: qsTr("Network protocol")
} }
TransportProtoSelector { TransportProtoSelector {
@ -209,7 +209,7 @@ PageType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 16 Layout.topMargin: 16
headerText: "Port" headerText: qsTr("Port")
} }
Rectangle { Rectangle {
@ -223,7 +223,7 @@ PageType {
Layout.fillWidth: true Layout.fillWidth: true
Layout.bottomMargin: 32 Layout.bottomMargin: 32
text: qsTr("Установить") text: qsTr("Install")
onClicked: function() { onClicked: function() {
goToPage(PageEnum.PageSetupWizardInstalling); goToPage(PageEnum.PageSetupWizardInstalling);

View file

@ -70,8 +70,8 @@ PageType {
width: parent.width width: parent.width
headerText: "Протокол подключения" headerText: qsTr("Connection protocol")
descriptionText: "Выберите более приоритетный для вас. Позже можно будет установить остальные протоколы и доп сервисы, вроде DNS-прокси и SFTP." 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.")
} }
} }

View file

@ -58,7 +58,7 @@ PageType {
Layout.leftMargin: 16 Layout.leftMargin: 16
Layout.rightMargin: 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 { BasicButtonType {
@ -67,7 +67,7 @@ PageType {
Layout.leftMargin: 16 Layout.leftMargin: 16
Layout.rightMargin: 16 Layout.rightMargin: 16
text: qsTr("У меня есть данные для подключения") text: qsTr("I have the data to connect")
onClicked: { onClicked: {
connectionTypeSelection.visible = true connectionTypeSelection.visible = true
@ -87,10 +87,9 @@ PageType {
textColor: "#D7D8DB" textColor: "#D7D8DB"
borderWidth: 1 borderWidth: 1
text: qsTr("У меня ничего нет") text: qsTr("I have nothing")
onClicked: { onClicked: {
goToPage(PageEnum.PageTest)
} }
} }
} }