decouple reader footer from dictquicklookup widget & translation fix (#2664)

* chore: fix strings for translations

* dictionary(chore): decouple reader footer from dictquicklookup widget
This commit is contained in:
Qingping Hou
2017-03-24 00:20:37 -07:00
committed by Hzj_jie
parent 8f4ec13841
commit fc12ee6537
5 changed files with 11 additions and 10 deletions

View File

@@ -209,6 +209,10 @@ function ReaderDictionary:showDict(word, results, box)
-- differentiate between dict and wiki
is_wiki = self.is_wiki,
wiki_languages = self.wiki_languages,
refresh_callback = function()
-- update info in footer (time, battery, etc)
self.view.footer:updateFooter()
end,
}
table.insert(self.dict_window_list, self.dict_window)
UIManager:show(self.dict_window)