mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 20:27:49 +02:00
[i18n] move gettext translation template to contrib
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
6be4d508f3
commit
2ba3f4758a
2 changed files with 11 additions and 4 deletions
7
contrib/i18n/regex.txt
Normal file
7
contrib/i18n/regex.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
Regex for transforming gettext translations to our format
|
||||
|
||||
msgid\ \"(.*)\"\nmsgid_plural\ \"(.*)\"\nmsgstr\[0\]\ \"(.*)\"\nmsgstr\[1\]\ \"(.*)\"\n(msgstr\[2\]\ \"(.*)\"\n)?(msgstr\[3\]\ \"(.*)\"\n)?(msgstr\[4\]\ \"(.*)\"\n)?(msgstr\[5\]\ \"(.*)\"\n)?
|
||||
#{"$2", {"$3", "$4", "$6", "$8", "$10"}},\n
|
||||
|
||||
msgid\ \"(.*)\"\nmsgstr\ \"(.*)\"\n
|
||||
{"$1", "$2"},\n
|
Loading…
Add table
Add a link
Reference in a new issue