[i18n] ReaderSearch: add translation context to "All" button (#11352)

Cf. https://github.com/koreader/koreader/pull/11313/files#r1439406753
This commit is contained in:
Frans de Jonge
2024-02-08 17:40:41 +01:00
committed by GitHub
parent 50fcc04725
commit bdd475f55f

View File

@@ -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,