Files
koreader/spec/unit
Frans de Jonge 2c555830f9 [feat, i18n] Implement ngettext (#5257)
Fixes <https://github.com/koreader/koreader/issues/5249>.

See https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html and https://www.gnu.org/software/gettext/manual/html_node/Translating-plural-forms.html for more information.

Usage:
```lua
local T = ffiUtil.template
local _ = require("gettext")
local N_ = _.ngettext

local items_string = T(N_("1 item", "%1 items", num_items), num_items)
```
2019-08-24 23:06:06 +02:00
..
2017-10-12 19:39:52 +02:00
2016-04-19 00:01:28 -07:00
2016-04-19 00:01:28 -07:00
2018-03-01 20:40:23 +01:00
2017-10-10 14:08:49 +02:00
2017-01-30 05:53:44 -08:00
2017-04-24 08:27:29 +02:00
2016-08-10 10:42:51 -07:00
2017-09-23 20:24:45 +02:00