mirror of
https://github.com/wekan/wekan.git
synced 2026-02-04 15:41:52 +01:00
Updated ProtonMail (markdown)
parent
91f78da986
commit
7749f77862
1 changed files with 30 additions and 4 deletions
|
|
@ -25,14 +25,25 @@ sudo apt -y install git build-essential
|
|||
```
|
||||
volta install node@18
|
||||
```
|
||||
7. Install yarn package manager and ttag-cli translation converter, info from https://github.com/ProtonMail/WebClients/issues/281
|
||||
|
||||
7. Install yarn package manager, info from https://github.com/ProtonMail/WebClients/issues/281
|
||||
```
|
||||
npm -g install yarn ttag-cli
|
||||
npm -g install yarn
|
||||
```
|
||||
|
||||
8. At https://crowdin.com/project/protonmail/fi Click: 1 Mail / Proton Mail Web Application.Pot / [...] / Download. It downloads `webapp-fi.po` file, save it to `~/repos/`, convert it to JSON:
|
||||
8. At https://crowdin.com/project/protonmail/fi Click: 1 Mail / Proton Mail Web Application.xcliff / [...] / Download. It downloads `webapp-fi.xcliff` file, save it to `~/repos/`, convert it to JSON with newest translation converter https://github.com/ProtonMail/WebClients/issues/285#issuecomment-1422801160
|
||||
```
|
||||
npx ttag po2json webapp-fi.po --format=compact -p > fi_FI.json
|
||||
git clone https://github.com/dhoko/xliff-to-JSON-ttag
|
||||
|
||||
cd xliff-to-JSON-ttag
|
||||
|
||||
sudo apt -y install python3-pip
|
||||
|
||||
pip3 install pip --user --upgrade
|
||||
|
||||
pip3 install -r requirements.txt --user
|
||||
|
||||
python3 convert.py --input ../webapp.xliff --output ../fi_FI.json --locale fi_FI
|
||||
```
|
||||
|
||||
9. Clone ProtonMail WebClients
|
||||
|
|
@ -75,3 +86,18 @@ yarn workspace proton-mail start
|
|||
- Verification app at `WebClients/applications/verify`
|
||||
- Some variable `const ignoreHumanVerification` at `WebClients/packages/shared/lib/api/helpers/withApiHandlers.js` but changing it does not work
|
||||
|
||||
|
||||
***
|
||||
|
||||
|
||||
# OLD
|
||||
|
||||
7. Install yarn package manager and ttag-cli translation converter, info from https://github.com/ProtonMail/WebClients/issues/281
|
||||
```
|
||||
npm -g install yarn ttag-cli
|
||||
```
|
||||
|
||||
8. At https://crowdin.com/project/protonmail/fi Click: 1 Mail / Proton Mail Web Application.Pot / [...] / Download. It downloads `webapp-fi.po` file, save it to `~/repos/`, convert it to JSON:
|
||||
```
|
||||
npx ttag po2json webapp-fi.po --format=compact -p > fi_FI.json
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue