mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
355 B
8 lines
355 B
4 years ago
|
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
|