mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add gettext to readermenu
This commit is contained in:
@@ -65,6 +65,18 @@ function ReaderMenu:setUpdateItemTable()
|
||||
})
|
||||
end
|
||||
})
|
||||
|
||||
table.insert(self.tab_item_table.main, {
|
||||
text = _("Languages"),
|
||||
sub_item_table = {
|
||||
{
|
||||
text = "简体中文",
|
||||
callback = function()
|
||||
gettextChangeLang("zh_CN.UTF-8")
|
||||
end,
|
||||
},
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
function ReaderMenu:onShowMenu()
|
||||
|
||||
Reference in New Issue
Block a user