mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
2c555830f9
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) ``` |
||
---|---|---|
.. | ||
unit |