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

@@ -14,16 +14,16 @@ function ReaderPanning:init()
self.key_events = {
-- these will all generate the same event, just with different arguments
MoveUp = {
{ "Up" }, doc = "move visible area up",
{ "Up" }, doc = _("move visible area up"),
event = "Panning", args = {0, -1} },
MoveDown = {
{ "Down" }, doc = "move visible area down",
{ "Down" }, doc = _("move visible area down"),
event = "Panning", args = {0, 1} },
MoveLeft = {
{ "Left" }, doc = "move visible area left",
{ "Left" }, doc = _("move visible area left"),
event = "Panning", args = {-1, 0} },
MoveRight = {
{ "Right" }, doc = "move visible area right",
{ "Right" }, doc = _("move visible area right"),
event = "Panning", args = {1, 0} },
}
end