translated pages from english to chinese

This commit is contained in:
ronoaer 2023-10-05 00:54:49 +08:00
parent 2353cc4f2c
commit 79d371fb76
4 changed files with 325 additions and 284 deletions

View file

@ -176,11 +176,21 @@ Already installed containers were found on the server. All installed containers
<source>All containers from server &apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/controllers/installController.cpp" line="291"/>
<source>&apos; have been removed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/controllers/installController.cpp" line="307"/>
<source> has been removed from the server &apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/controllers/installController.cpp" line="308"/>
<source>&apos;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/controllers/installController.cpp" line="454"/>
<source>Please login as the user</source>
@ -1080,6 +1090,16 @@ And if you don&apos;t like the app, all the more support it - the donation will
<source>If AmneziaDNS is not used or installed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="56"/>
<source>Primary DNS</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="68"/>
<source>Secondary DNS</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="86"/>
<source>Restore default</source>

File diff suppressed because it is too large Load diff

View file

@ -288,7 +288,7 @@ void InstallController::removeAllContainers()
ErrorCode errorCode = m_containersModel->removeAllContainers();
if (errorCode == ErrorCode::NoError) {
emit removeAllContainersFinished(tr("All containers from server '") + serverName + ("' have been removed"));
emit removeAllContainersFinished(tr("All containers from server '") + serverName + tr("' have been removed"));
return;
}
emit installationErrorOccurred(errorString(errorCode));
@ -305,7 +305,7 @@ void InstallController::removeCurrentlyProcessedContainer()
ErrorCode errorCode = m_containersModel->removeCurrentlyProcessedContainer();
if (errorCode == ErrorCode::NoError) {
emit removeCurrentlyProcessedContainerFinished(containerName + tr(" has been removed from the server '")
+ serverName + "'");
+ serverName + tr("'"));
return;
}
emit installationErrorOccurred(errorString(errorCode));

View file

@ -53,7 +53,7 @@ PageType {
id: primaryDns
Layout.fillWidth: true
headerText: "Primary DNS"
headerText: qsTr("Primary DNS")
textFieldText: SettingsController.primaryDns
textField.validator: RegularExpressionValidator {
@ -65,7 +65,7 @@ PageType {
id: secondaryDns
Layout.fillWidth: true
headerText: "Secondary DNS"
headerText: qsTr("Secondary DNS")
textFieldText: SettingsController.secondaryDns
textField.validator: RegularExpressionValidator {