From 1b661a282df990ba3f3ed73718bf6f2cf60e9071 Mon Sep 17 00:00:00 2001 From: Helen Date: Wed, 4 Dec 2024 11:56:23 +0300 Subject: [PATCH 1/2] fix broken link --- adguard-mail.com/privacy/app.html.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adguard-mail.com/privacy/app.html.md b/adguard-mail.com/privacy/app.html.md index bbaa07a..9e94f7a 100644 --- a/adguard-mail.com/privacy/app.html.md +++ b/adguard-mail.com/privacy/app.html.md @@ -1,6 +1,6 @@ # AdGuard Mail Privacy Policy -*August 23, 2024* +*December 4, 2024* --- @@ -20,7 +20,7 @@ AdGuard Mail applications are available on multiple platforms: iOS, Android, mac ### User registration and authorization -Registration and authorization for AdGuard Mail are managed through the AdGuard web-based authentication service at [auth.adguard.com](https://auth.adguard.com/). The privacy policy governing the AdGuard website and related sites is outlined in the document available at [adguard.com/privacy/website.html](https://adguard.com/privacy/website.html). +Registration and authorization for AdGuard Mail are managed through the AdGuard web-based authentication service at [auth.adguard.com](https://auth.adguard.com/). The privacy policy governing the AdGuard website and related sites is outlined in the document available at [adguard.com/privacy/website.html](https://adguard.com/website-privacy.html). When you register or log in to AdGuard Mail or other AdGuard services, you will be directed to [auth.adguard.com](https://auth.adguard.com), where you may be required to provide your login credentials (email and password). Upon successful authorization, an OAuth access token is issued to the app. From c221a4c98699290049d2504de631f58011068e56 Mon Sep 17 00:00:00 2001 From: Igor Lobanov Date: Wed, 4 Dec 2024 10:53:44 +0100 Subject: [PATCH 2/2] sync upgrade --- build-resx.js | 2 +- crowdin.yml | 5 +++-- package-lock.json | 8 ++++---- package.json | 8 +++++--- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/build-resx.js b/build-resx.js index b52c3d2..ca786f6 100644 --- a/build-resx.js +++ b/build-resx.js @@ -3,7 +3,7 @@ const path = require('path'); const {create} = require('xmlbuilder2'); const basePath = 'crowdin'; -const outputFilename = 'docs.resx'; +const outputFilename = 'docs.en.resx'; const filesToProcessExt = '.html.md' const mappings = { diff --git a/crowdin.yml b/crowdin.yml index 01931b0..179d620 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -5,5 +5,6 @@ base_path: './crowdin' preserve_hierarchy: true files: - - source: '**/docs.resx' - translation: '**/%two_letters_code%/%original_file_name%' + - source: '**/docs.en.resx' + dest: '**/docs.resx' + translation: '**/docs.%two_letters_code%.resx' diff --git a/package-lock.json b/package-lock.json index f56ac0b..96e4a64 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,16 +9,16 @@ "version": "1.0.0", "license": "ISC", "devDependencies": { - "@crowdin/cli": "4.4.0", + "@crowdin/cli": "4.4.1", "markdownlint": "0.36.1", "markdownlint-cli": "0.43.0", "xmlbuilder2": "3.1.1" } }, "node_modules/@crowdin/cli": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@crowdin/cli/-/cli-4.4.0.tgz", - "integrity": "sha512-oKpM535mnzCaZRWcTAIDYfMY0ABnl0VkxM++7sfpAyn6dtf+QGhxHuruOfuOwEaSOJxG0pEhCy0UC2LpYUUb2Q==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@crowdin/cli/-/cli-4.4.1.tgz", + "integrity": "sha512-xMKpEnROB+TD2cvkjCmgt/vhxp9V/mraAeD5Mqocev6eUutQW7JfqX7Q2dOE9H1SIoXs7UzNpzpaZ64YdxVcZg==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 578c5e1..7e75cff 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,15 @@ "scripts": { "lint": "markdownlint .", "build:resx": "node build-resx.js", - "crowdin:upload": "crowdin upload", - "crowdin:upload:dryrun": "crowdin upload --dryrun" + "crowdin:upload:sources": "crowdin upload sources", + "crowdin:upload:translations": "crowdin upload translations -l en --auto-approve-imported --import-eq-suggestions", + "crowdin:upload": "npm run crowdin:upload:sources && npm run crowdin:upload:translations", + "crowdin:upload:dryrun": "crowdin upload sources --dryrun && crowdin upload translations -l en --auto-approve-imported --import-eq-suggestions --dryrun" }, "author": "", "license": "ISC", "devDependencies": { - "@crowdin/cli": "4.4.0", + "@crowdin/cli": "4.4.1", "markdownlint": "0.36.1", "markdownlint-cli": "0.43.0", "xmlbuilder2": "3.1.1"