mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[i18n] ReaderSearch: add translation context to "All" button (#11352)
Cf. https://github.com/koreader/koreader/pull/11313/files#r1439406753
This commit is contained in:
@@ -13,6 +13,7 @@ local Utf8Proc = require("ffi/utf8proc")
|
||||
local WidgetContainer = require("ui/widget/container/widgetcontainer")
|
||||
local logger = require("logger")
|
||||
local _ = require("gettext")
|
||||
local C_ = _.pgettext
|
||||
local Screen = Device.screen
|
||||
local T = require("ffi/util").template
|
||||
|
||||
@@ -196,8 +197,8 @@ function ReaderSearch:onShowFulltextSearchInput()
|
||||
end,
|
||||
},
|
||||
{
|
||||
-- @translators Search all entries in entire document
|
||||
text = _("All"),
|
||||
-- @translators Find all results in entire document, button displayed on the search bar, should be short.
|
||||
text = C_("Search text", "All"),
|
||||
callback = function()
|
||||
self:searchCallback()
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user