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:
1 parent
19b0795474
commit
693fa0837e
9 files changed
+32
-14
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user