luci-base: handle more po format features in po2lmo
authorJo-Philipp Wich <jo@mein.io>
Wed, 22 Jan 2020 17:44:15 +0000 (18:44 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commitaf17f7ef0984e8634068702e70ab431c7acffde9
treedd80ea53da7eadba6ab6974d51d0db0b7c61e564
parent503ea62a24d7207f508a0363ddedd8058a2597cf
luci-base: handle more po format features in po2lmo

 - Extract and store the plural calculation function in .lmo files
 - Handle plural translation messages
 - Handle translation contexts

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9c1bac4168d151c2a3a5a1f957adbd68b6ae0746)
modules/luci-base/src/po2lmo.c