[i18n] Add context for calibre configuration type (#8909)

`Manual` could mean several things, most notably some kind of documentation and something you do by hand.

The added context is partially to aid translators and partially to preclude potential collisions in the future.

Cf. <https://github.com/koreader/koreader-translations/pull/138>.
reviewable/pr8916/r1
Frans de Jonge 2 years ago committed by GitHub
parent 357bc65217
commit 7235433b92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,6 +17,7 @@ local LuaSettings = require("luasettings")
local UIManager = require("ui/uimanager")
local WidgetContainer = require("ui/widget/container/widgetcontainer")
local _ = require("gettext")
local C_ = _.pgettext
local T = require("ffi/util").template
local Calibre = WidgetContainer:new{
@ -267,7 +268,7 @@ function Calibre:getWirelessMenuTable()
enabled_func = isEnabled,
sub_item_table = {
{
text = _("Automatic"),
text = C_("Configuration type", "Automatic"),
checked_func = function()
return G_reader_settings:hasNot("calibre_wireless_url")
end,
@ -276,7 +277,7 @@ function Calibre:getWirelessMenuTable()
end,
},
{
text = _("Manual"),
text = C_("Configuration type", "Manual"),
checked_func = function()
return G_reader_settings:has("calibre_wireless_url")
end,

Loading…
Cancel
Save