changed all text to english
This commit is contained in:
parent
0a1359ed16
commit
b9a13d3a32
10 changed files with 26 additions and 36 deletions
|
@ -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() {
|
||||
|
|
|
@ -81,7 +81,7 @@ PageType {
|
|||
Layout.fillWidth: true
|
||||
Layout.topMargin: 8
|
||||
|
||||
text: "Обычно это занимает не больше 5 минут"
|
||||
text: qsTr("Usually it takes no more than 5 minutes")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -36,7 +36,7 @@ PageType {
|
|||
|
||||
actionButtonImage: "qrc:/images/controls/plus.svg"
|
||||
|
||||
headerText: "Серверы"
|
||||
headerText: qsTr("Servers")
|
||||
|
||||
actionButtonFunction: function() {
|
||||
connectionTypeSelection.visible = true
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue