[i18n] change string in HTTPProxy

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-08-18 22:23:39 +03:00
parent 8c3823fc92
commit 86e118f2b7
No known key found for this signature in database
GPG key ID: 66F6C87B98EBCFE2
3 changed files with 157 additions and 161 deletions

View file

@ -1,12 +1,12 @@
`xgettext` command for extracting translation
===
---
```
xgettext --omit-header -ctr: -ktr -ktr:1,2 daemon/HTTPServer.cpp libi2pd_client/HTTPProxy.cpp
```
Regex for transforming gettext translations to our format:
===
---
```
in: msgid\ \"(.*)\"\nmsgid_plural\ \"(.*)\"\nmsgstr\[0\]\ \"(.*)\"\nmsgstr\[1\]\ \"(.*)\"\n(msgstr\[2\]\ \"(.*)\"\n)?(msgstr\[3\]\ \"(.*)\"\n)?(msgstr\[4\]\ \"(.*)\"\n)?(msgstr\[5\]\ \"(.*)\"\n)?