mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
minor: translate some menu text and error message (#5185)
This commit is contained in:
parent
aec112fa6b
commit
bcb662c863
@ -123,7 +123,7 @@ function KOSync:addToMainMenu(menu_items)
|
|||||||
enabled_func = function() return self.kosync_auto_sync end,
|
enabled_func = function() return self.kosync_auto_sync end,
|
||||||
sub_item_table = {
|
sub_item_table = {
|
||||||
{
|
{
|
||||||
text = "Sync to latest record >>>>",
|
text = _("Sync to latest record >>>>"),
|
||||||
enabled = false,
|
enabled = false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -154,7 +154,7 @@ function KOSync:addToMainMenu(menu_items)
|
|||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text = "Sync to a previous record <<<<",
|
text = _("Sync to a previous record <<<<"),
|
||||||
enabled = false,
|
enabled = false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -332,7 +332,7 @@ function KOSync:doRegister(username, password)
|
|||||||
})
|
})
|
||||||
else
|
else
|
||||||
UIManager:show(InfoMessage:new{
|
UIManager:show(InfoMessage:new{
|
||||||
text = _(body and body.message or "Unknown server error"),
|
text = body and body.message or _("Unknown server error"),
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -367,7 +367,7 @@ function KOSync:doLogin(username, password)
|
|||||||
})
|
})
|
||||||
else
|
else
|
||||||
UIManager:show(InfoMessage:new{
|
UIManager:show(InfoMessage:new{
|
||||||
text = _(body and body.message or "Unknown server error"),
|
text = body and body.message or _("Unknown server error"),
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user