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