Merge pull request #880 from StrikerRUS/translation

add artifact with translations and update Russian translation
This commit is contained in:
pokamest 2024-07-11 02:59:14 -07:00 committed by GitHub
commit c59216b58a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 7395 additions and 3814 deletions

View file

@ -65,6 +65,13 @@ jobs:
path: deploy/AppDir path: deploy/AppDir
retention-days: 7 retention-days: 7
- name: 'Upload translations artifact'
uses: actions/upload-artifact@v4
with:
name: AmneziaVPN_translations
path: client/translations
retention-days: 7
# ------------------------------------------------------ # ------------------------------------------------------
Build-Windows: Build-Windows:

View file

@ -46,6 +46,19 @@ git submodule update --init --recursive
Want to contribute? Welcome! Want to contribute? Welcome!
### Help with translations
Download the most actual translation files.
Go to ["Actions" tab](https://github.com/amnezia-vpn/amnezia-client/actions?query=is%3Asuccess+branch%3Adev), click on the first line.
Then scroll down to the "Artifacts" section and download "AmneziaVPN_translations".
Unzip this file.
Each *.ts file contains strings for one corresponding language.
Translate or correct some strings in one or multiple *.ts files and commit them back to this repository into the ``client/translations`` folder.
You can do it via a web-interface or any other method you're familiar with.
### Building sources and deployment ### Building sources and deployment
Check deploy folder for build scripts. Check deploy folder for build scripts.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -58,7 +58,7 @@ PageType {
Layout.rightMargin: 16 Layout.rightMargin: 16
Layout.leftMargin: 16 Layout.leftMargin: 16
headerText: "Amnezia DNS" headerText: "AmneziaDNS"
descriptionText: qsTr("A DNS service is installed on your server, and it is only accessible via VPN.\n") + descriptionText: qsTr("A DNS service is installed on your server, and it is only accessible via VPN.\n") +
qsTr("The DNS address is the same as the address of your server. You can configure DNS in the settings, under the connections tab.") qsTr("The DNS address is the same as the address of your server. You can configure DNS in the settings, under the connections tab.")
} }
@ -82,7 +82,7 @@ PageType {
var yesButtonFunction = function() { var yesButtonFunction = function() {
if (ServersModel.isDefaultServerCurrentlyProcessed() && ConnectionController.isConnected if (ServersModel.isDefaultServerCurrentlyProcessed() && ConnectionController.isConnected
&& SettingsController.isAmneziaDnsEnabled()) { && SettingsController.isAmneziaDnsEnabled()) {
PageController.showNotificationMessage(qsTr("Cannot remove Amnezia DNS from running server")) PageController.showNotificationMessage(qsTr("Cannot remove AmneziaDNS from running server"))
} else } else
{ {
PageController.goToPage(PageEnum.PageDeinstalling) PageController.goToPage(PageEnum.PageDeinstalling)

View file

@ -276,7 +276,7 @@ PageType {
if (Qt.platform.os === "windows") { if (Qt.platform.os === "windows") {
var fileName = SystemController.getFileName(qsTr("Open executable file"), var fileName = SystemController.getFileName(qsTr("Open executable file"),
qsTr("Executable file (*.*)")) qsTr("Executable files (*.*)"))
if (fileName !== "") { if (fileName !== "") {
AppSplitTunnelingController.addApp(fileName) AppSplitTunnelingController.addApp(fileName)
} }