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>
Wed, 22 Jan 2020 21:02:24 +0000 (22:02 +0100)
commit9c1bac4168d151c2a3a5a1f957adbd68b6ae0746
treea20fea740f2a4722f1fe371976f5ecea66f9f783
parent901a0821f66b1623ea04d1930a2e6e336138263a
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>
modules/luci-base/src/po2lmo.c