mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add gettext to all reader widgets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user