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:
Frans de Jonge
2014-11-28 14:10:37 +01:00
parent 19b0795474
commit 693fa0837e
9 changed files with 32 additions and 14 deletions

View File

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