translated sub-page of Settings to Chinese

This commit is contained in:
ronoaer 2023-10-04 15:48:35 +08:00
parent 30709c66ef
commit 2353cc4f2c
3 changed files with 78 additions and 62 deletions

View file

@ -1029,36 +1029,41 @@ And if you don't like the app, all the more support it - the donation will
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="69"/>
<source>Use AmneziaDNS if installed on the server</source>
<source>Use AmneziaDNS</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="84"/>
<source>DNS servers</source>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="70"/>
<source>If AmneziaDNS is installed on the server</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="85"/>
<source>DNS servers</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="86"/>
<source>If AmneziaDNS is not used or installed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="98"/>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="99"/>
<source>Split site tunneling</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="99"/>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="100"/>
<source>Allows you to connect to some sites through a secure connection, and to others bypassing it</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="112"/>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="113"/>
<source>Separate application tunneling</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="113"/>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="114"/>
<source>Allows you to use the VPN only for certain applications</source>
<translation type="unfinished"></translation>
</message>

View file

@ -6,7 +6,7 @@
<message>
<location filename="../amnezia_application.cpp" line="299"/>
<source>Split tunneling for WireGuard is not implemented, the option was disabled</source>
<translation type="unfinished"></translation>
<translation type="unfinished">WireGuard协议的VPN分流</translation>
</message>
</context>
<context>
@ -37,7 +37,7 @@
<location filename="../ui/controllers/connectionController.cpp" line="55"/>
<source>VPN Protocols is not installed.
Please install VPN container at first</source>
<translation type="unfinished">VPN协议</translation>
<translation type="unfinished">VPN协议</translation>
</message>
<message>
<location filename="../ui/controllers/connectionController.cpp" line="78"/>
@ -262,7 +262,7 @@ Already installed containers were found on the server. All installed containers
<message>
<location filename="../ui/qml/Pages2/PageHome.qml" line="238"/>
<source>Servers</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@ -744,12 +744,12 @@ Already installed containers were found on the server. All installed containers
<message>
<location filename="../ui/qml/Pages2/PageSettings.qml" line="37"/>
<source>Settings</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettings.qml" line="44"/>
<source>Servers</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettings.qml" line="58"/>
@ -769,7 +769,7 @@ Already installed containers were found on the server. All installed containers
<message>
<location filename="../ui/qml/Pages2/PageSettings.qml" line="100"/>
<source>About AmneziaVPN</source>
<translation type="unfinished">AmneziaVPN</translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@ -777,13 +777,14 @@ Already installed containers were found on the server. All installed containers
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="56"/>
<source>Support the project with a donation</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="71"/>
<source>This is a free and open source application. If you like it, support the developers with a donation.
And if you don&apos;t like the app, all the more support it - the donation will be used to improve the app.</source>
<translation type="unfinished"></translation>
<translation type="unfinished">
- </translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="82"/>
@ -803,17 +804,17 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="113"/>
<source>Contacts</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="120"/>
<source>Telegram group</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="121"/>
<source>To discuss features</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="125"/>
@ -823,12 +824,12 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="134"/>
<source>Mail</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="135"/>
<source>For reviews and bug reports</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="147"/>
@ -843,7 +844,7 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="160"/>
<source>Website</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="164"/>
@ -853,7 +854,7 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsAbout.qml" line="192"/>
<source>Check for updates</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@ -871,22 +872,22 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="53"/>
<source>Launch the application every time </source>
<translation type="unfinished"> </translation>
<translation type="unfinished"> </translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="53"/>
<source> starts</source>
<translation type="unfinished"> </translation>
<translation type="unfinished"> </translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="73"/>
<source>Start minimized</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="74"/>
<source>Launch application minimized</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="91"/>
@ -921,7 +922,7 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="129"/>
<source>All settings will be reset to default. All installed AmneziaVPN services will still remain on the server.</source>
<translation type="unfinished">AmneziaVPN服务将保留服务器上</translation>
<translation type="unfinished">AmneziaVPN服务</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsApplication.qml" line="130"/>
@ -939,7 +940,7 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="27"/>
<source>Settings restored from backup file</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="66"/>
@ -949,22 +950,22 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="73"/>
<source>Configuration backup</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="80"/>
<source>It will help you instantly restore connection settings at the next installation</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="89"/>
<source>Make a backup</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="96"/>
<source>Save backup file</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="97"/>
@ -975,22 +976,22 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="121"/>
<source>Restore from backup</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="124"/>
<source>Open backup file</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="135"/>
<source>Import settings from a backup file?</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="136"/>
<source>All current settings will be reset</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsBackup.qml" line="137"/>
@ -1018,42 +1019,51 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="51"/>
<source>Connect to VPN on app start</source>
<translation type="unfinished">VPN</translation>
<translation type="unfinished">VPN</translation>
</message>
<message>
<source>Use AmneziaDNS if installed on the server</source>
<translation type="obsolete">使AmneziaDNS</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="69"/>
<source>Use AmneziaDNS if installed on the server</source>
<translation type="unfinished">使AmneziaDNS</translation>
<source>Use AmneziaDNS</source>
<translation type="unfinished">使AmneziaDNS</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="84"/>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="70"/>
<source>If AmneziaDNS is installed on the server</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="85"/>
<source>DNS servers</source>
<translation type="unfinished">DNS服务器列表</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="85"/>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="86"/>
<source>If AmneziaDNS is not used or installed</source>
<translation type="unfinished">AmneziaDNS未使用或安装</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="98"/>
<source>Split site tunneling</source>
<translation type="unfinished"></translation>
<translation type="unfinished">使AmneziaDNS</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="99"/>
<source>Allows you to connect to some sites through a secure connection, and to others bypassing it</source>
<translation type="unfinished"></translation>
<source>Split site tunneling</source>
<translation type="unfinished">VPN分流</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="112"/>
<source>Separate application tunneling</source>
<translation type="unfinished"></translation>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="100"/>
<source>Allows you to connect to some sites through a secure connection, and to others bypassing it</source>
<translation type="unfinished">使VPN访问指定网站</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="113"/>
<source>Separate application tunneling</source>
<translation type="unfinished">VPN分流</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsConnection.qml" line="114"/>
<source>Allows you to use the VPN only for certain applications</source>
<translation type="unfinished"></translation>
<translation type="unfinished">使VPN</translation>
</message>
</context>
<context>
@ -1061,22 +1071,22 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="45"/>
<source>DNS servers</source>
<translation type="unfinished">DNS服务器列表</translation>
<translation type="unfinished">DNS服务器</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="49"/>
<source>If AmneziaDNS is not used or installed</source>
<translation type="unfinished">Amnezia DNS未使用或安装</translation>
<translation type="unfinished">使Amnezia DNS</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="86"/>
<source>Restore default</source>
<translation type="unfinished">DNS配</translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="89"/>
<source>Restore default DNS settings?</source>
<translation type="unfinished">DNS配置</translation>
<translation type="unfinished">DNS配置</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsDns.qml" line="90"/>
@ -1316,7 +1326,7 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsServersList.qml" line="39"/>
<source>Servers</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
</context>
<context>
@ -1334,7 +1344,7 @@ And if you don&apos;t like the app, all the more support it - the donation will
<message>
<location filename="../ui/qml/Pages2/PageSettingsSplitTunneling.qml" line="84"/>
<source>Split site tunneling</source>
<translation type="unfinished"></translation>
<translation type="unfinished">VPN分流</translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSettingsSplitTunneling.qml" line="120"/>
@ -1629,7 +1639,7 @@ It&apos;s okay as long as it&apos;s from someone you trust.</source>
<message>
<location filename="../ui/qml/Pages2/PageSetupWizardStart.qml" line="54"/>
<source>Settings restored from backup file</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageSetupWizardStart.qml" line="105"/>
@ -1763,7 +1773,7 @@ It&apos;s okay as long as it&apos;s from someone you trust.</source>
<message>
<location filename="../ui/qml/Pages2/PageShare.qml" line="190"/>
<source>Servers</source>
<translation type="unfinished"></translation>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ui/qml/Pages2/PageShare.qml" line="191"/>

View file

@ -66,7 +66,8 @@ PageType {
Layout.fillWidth: true
Layout.margins: 16
text: qsTr("Use AmneziaDNS if installed on the server")
text: qsTr("Use AmneziaDNS")
descriptionText: qsTr("If AmneziaDNS is installed on the server")
checked: SettingsController.isAmneziaDnsEnabled()
onCheckedChanged: {