add gettext to all reader widgets

This commit is contained in:
Qingping Hou
2013-04-08 15:21:59 +08:00
parent f36279ed53
commit 3602c61b1f
10 changed files with 64 additions and 58 deletions

View File

@@ -7,8 +7,14 @@ function ReaderRotation:init()
if Device:hasKeyboard() then
self.key_events = {
-- these will all generate the same event, just with different arguments
RotateLeft = { {"J"}, doc = "rotate left by 90 degrees", event = "Rotate", args = -90 },
RotateRight = { {"K"}, doc = "rotate right by 90 degrees", event = "Rotate", args = 90 },
RotateLeft = {
{"J"},
doc = _("rotate left by 90 degrees"),
event = "Rotate", args = -90 },
RotateRight = {
{"K"},
doc = _("rotate right by 90 degrees"),
event = "Rotate", args = 90 },
}
end
if Device:isTouchDevice() then