mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
feat(GODT-2772): marked strings as translatable.
This commit is contained in:
@ -90,7 +90,7 @@ Item {
|
||||
Layout.fillWidth: true
|
||||
colorScheme: wizard.colorScheme
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: "Install the bridge certificate"
|
||||
text: qsTr("Install the bridge certificate")
|
||||
type: Label.LabelType.Title
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
@ -100,7 +100,7 @@ Item {
|
||||
color: colorScheme.text_weak
|
||||
colorScheme: wizard.colorScheme
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: "After clicking on the button below, a system pop-up will ask you for your credential, please enter your macOS user credentials (not your Proton account’s) and validate."
|
||||
text: qsTr("After clicking on the button below, a system pop-up will ask you for your credentials, please enter your macOS user credentials (not your Proton account’s) and validate.")
|
||||
type: Label.LabelType.Body
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
@ -121,7 +121,7 @@ Item {
|
||||
colorScheme: wizard.colorScheme
|
||||
enabled: !certificateInstall.waitingForCert
|
||||
loading: certificateInstall.waitingForCert
|
||||
text: "Install the certificate"
|
||||
text: qsTr("Install the certificate")
|
||||
|
||||
onClicked: {
|
||||
certificateInstall.waitingForCert = true;
|
||||
@ -163,7 +163,7 @@ Item {
|
||||
Layout.fillWidth: true
|
||||
colorScheme: wizard.colorScheme
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: "Install the profile"
|
||||
text: qsTr("Install the profile")
|
||||
type: Label.LabelType.Title
|
||||
wrapMode: Text.WordWrap
|
||||
}
|
||||
@ -192,7 +192,7 @@ Item {
|
||||
Button {
|
||||
Layout.fillWidth: true
|
||||
colorScheme: wizard.colorScheme
|
||||
text: "Install the profile"
|
||||
text: qsTr("Install the profile")
|
||||
|
||||
onClicked: {
|
||||
wizard.user.configureAppleMail(wizard.address);
|
||||
|
||||
@ -128,7 +128,7 @@ Rectangle {
|
||||
password: wizard.user ? wizard.user.password : ""
|
||||
port: Backend.imapPort.toString()
|
||||
security: Backend.useSSLForIMAP ? "SSL" : "STARTTLS"
|
||||
title: qsTr("IMAP")
|
||||
title: "IMAP"
|
||||
username: wizard.address
|
||||
}
|
||||
Configuration {
|
||||
@ -139,7 +139,7 @@ Rectangle {
|
||||
password: wizard.user ? wizard.user.password : ""
|
||||
port: Backend.smtpPort.toString()
|
||||
security: Backend.useSSLForSMTP ? "SSL" : "STARTTLS"
|
||||
title: qsTr("SMTP")
|
||||
title: "SMTP"
|
||||
username: wizard.address
|
||||
}
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ Item {
|
||||
Layout.fillWidth: true
|
||||
colorScheme: wizard.colorScheme
|
||||
iconSource: "/qml/icons/ic-other-mail-clients.svg"
|
||||
text: "Other"
|
||||
text: qsTr("Other")
|
||||
|
||||
onClicked: {
|
||||
wizard.client = SetupWizard.Client.Generic;
|
||||
|
||||
@ -67,10 +67,10 @@ Item {
|
||||
case SetupWizard.Client.MozillaThunderbird:
|
||||
return "Thunderbird";
|
||||
case SetupWizard.Client.Generic:
|
||||
return "your email client";
|
||||
return qsTr("your email client");
|
||||
default:
|
||||
console.error("Unknown mail client " + client);
|
||||
return "your email client";
|
||||
return qsTr("your email client");
|
||||
}
|
||||
}
|
||||
function closeWizard() {
|
||||
|
||||
Reference in New Issue
Block a user