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

@@ -1,6 +1,7 @@
local InputContainer = require("ui/widget/container/inputcontainer")
local UIManager = require("ui/uimanager")
local InfoMessage = require("ui/widget/infomessage")
local T = require("ffi/util").template
local _ = require("gettext")
local ReaderHyphenation = InputContainer:new{
@@ -17,7 +18,7 @@ function ReaderHyphenation:init()
callback = function()
self.hyph_alg = v
UIManager:show(InfoMessage:new{
text = _("Change Hyphenation to ")..v,
text = T( _("Changed hyphenation to %1."), v),
})
self.ui.document:setHyphDictionary(v)
self.ui.toc:onUpdateToc()