mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
7d51b4c6ed
Signed-off-by: R4SAS <r4sas@i2pmail.org>
11 lines
386 B
Plaintext
11 lines
386 B
Plaintext
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
|
|
|
|
^#:(.*)$\n
|
|
<to empty line>
|