2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
koreader/plugins/evernote.koplugin
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
..
_meta.lua [fix, lang] Typo in Evernotes description (#4173) 2018-08-19 20:20:00 +02:00
clip.lua [doc] Tag @todo, @fixme and @warning (#5244) 2019-08-23 19:53:53 +02:00
main.lua [feat, i18n] Implement ngettext (#5257) 2019-08-24 23:06:06 +02:00
note.tpl export highlighted rect in scanned page to Evernote 2014-05-15 16:11:26 +08:00
slt2.lua [doc] Tag @todo, @fixme and @warning (#5244) 2019-08-23 19:53:53 +02:00