chore: style cleanup for infomessage

This commit is contained in:
Qingping Hou
2017-05-08 00:26:01 -07:00
committed by Frans de Jonge
parent 0b47c81b1a
commit 23c2955500
8 changed files with 52 additions and 43 deletions

View File

@@ -232,7 +232,8 @@ function ReaderDictionary:onUpdateDefaultDict(dict)
logger.dbg("make default dictionary:", dict)
self.default_dictionary = dict
UIManager:show(InfoMessage:new{
text = T(_("%1 is now the default dictionary for this document."), dict),
text = T(_("%1 is now the default dictionary for this document."),
dict),
timeout = 2,
})
return true