mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Reworked several strings
This is the remaining gruntwork of #1276. I believe that only leaves networkmgr.lua and filemanagersearch.lua, which will require a little more thought.
This commit is contained in:
@@ -8,6 +8,7 @@ local Screen = require("device").screen
|
||||
local Geom = require("ui/geometry")
|
||||
local Event = require("ui/event")
|
||||
local DEBUG = require("dbg")
|
||||
local T = require("ffi/util").template
|
||||
local _ = require("gettext")
|
||||
|
||||
local ReaderZooming = InputContainer:new{
|
||||
@@ -338,7 +339,10 @@ end
|
||||
|
||||
function ReaderZooming:makeDefault(zoom_mode)
|
||||
UIManager:show(ConfirmBox:new{
|
||||
text = _("Set default zoom mode to ")..zoom_mode.."?",
|
||||
text = T(
|
||||
_("Set default zoom mode to %1?"),
|
||||
zoom_mode
|
||||
),
|
||||
ok_callback = function()
|
||||
G_reader_settings:saveSetting("zoom_mode", zoom_mode)
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user