mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
feat(GODT-2772): marked strings as translatable.
This commit is contained in:
@ -90,7 +90,7 @@ Item {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
colorScheme: wizard.colorScheme
|
colorScheme: wizard.colorScheme
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: "Install the bridge certificate"
|
text: qsTr("Install the bridge certificate")
|
||||||
type: Label.LabelType.Title
|
type: Label.LabelType.Title
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
@ -100,7 +100,7 @@ Item {
|
|||||||
color: colorScheme.text_weak
|
color: colorScheme.text_weak
|
||||||
colorScheme: wizard.colorScheme
|
colorScheme: wizard.colorScheme
|
||||||
horizontalAlignment: Text.AlignHCenter
|
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
|
type: Label.LabelType.Body
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
@ -121,7 +121,7 @@ Item {
|
|||||||
colorScheme: wizard.colorScheme
|
colorScheme: wizard.colorScheme
|
||||||
enabled: !certificateInstall.waitingForCert
|
enabled: !certificateInstall.waitingForCert
|
||||||
loading: certificateInstall.waitingForCert
|
loading: certificateInstall.waitingForCert
|
||||||
text: "Install the certificate"
|
text: qsTr("Install the certificate")
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
certificateInstall.waitingForCert = true;
|
certificateInstall.waitingForCert = true;
|
||||||
@ -163,7 +163,7 @@ Item {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
colorScheme: wizard.colorScheme
|
colorScheme: wizard.colorScheme
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: "Install the profile"
|
text: qsTr("Install the profile")
|
||||||
type: Label.LabelType.Title
|
type: Label.LabelType.Title
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
@ -192,7 +192,7 @@ Item {
|
|||||||
Button {
|
Button {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
colorScheme: wizard.colorScheme
|
colorScheme: wizard.colorScheme
|
||||||
text: "Install the profile"
|
text: qsTr("Install the profile")
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
wizard.user.configureAppleMail(wizard.address);
|
wizard.user.configureAppleMail(wizard.address);
|
||||||
|
|||||||
@ -128,7 +128,7 @@ Rectangle {
|
|||||||
password: wizard.user ? wizard.user.password : ""
|
password: wizard.user ? wizard.user.password : ""
|
||||||
port: Backend.imapPort.toString()
|
port: Backend.imapPort.toString()
|
||||||
security: Backend.useSSLForIMAP ? "SSL" : "STARTTLS"
|
security: Backend.useSSLForIMAP ? "SSL" : "STARTTLS"
|
||||||
title: qsTr("IMAP")
|
title: "IMAP"
|
||||||
username: wizard.address
|
username: wizard.address
|
||||||
}
|
}
|
||||||
Configuration {
|
Configuration {
|
||||||
@ -139,7 +139,7 @@ Rectangle {
|
|||||||
password: wizard.user ? wizard.user.password : ""
|
password: wizard.user ? wizard.user.password : ""
|
||||||
port: Backend.smtpPort.toString()
|
port: Backend.smtpPort.toString()
|
||||||
security: Backend.useSSLForSMTP ? "SSL" : "STARTTLS"
|
security: Backend.useSSLForSMTP ? "SSL" : "STARTTLS"
|
||||||
title: qsTr("SMTP")
|
title: "SMTP"
|
||||||
username: wizard.address
|
username: wizard.address
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -77,7 +77,7 @@ Item {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
colorScheme: wizard.colorScheme
|
colorScheme: wizard.colorScheme
|
||||||
iconSource: "/qml/icons/ic-other-mail-clients.svg"
|
iconSource: "/qml/icons/ic-other-mail-clients.svg"
|
||||||
text: "Other"
|
text: qsTr("Other")
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
wizard.client = SetupWizard.Client.Generic;
|
wizard.client = SetupWizard.Client.Generic;
|
||||||
|
|||||||
@ -67,10 +67,10 @@ Item {
|
|||||||
case SetupWizard.Client.MozillaThunderbird:
|
case SetupWizard.Client.MozillaThunderbird:
|
||||||
return "Thunderbird";
|
return "Thunderbird";
|
||||||
case SetupWizard.Client.Generic:
|
case SetupWizard.Client.Generic:
|
||||||
return "your email client";
|
return qsTr("your email client");
|
||||||
default:
|
default:
|
||||||
console.error("Unknown mail client " + client);
|
console.error("Unknown mail client " + client);
|
||||||
return "your email client";
|
return qsTr("your email client");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function closeWizard() {
|
function closeWizard() {
|
||||||
|
|||||||
Reference in New Issue
Block a user