Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor: KoSync: translate some menu text and error message #5185

Merged
merged 1 commit into from Aug 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions plugins/kosync.koplugin/main.lua
Expand Up @@ -123,7 +123,7 @@ function KOSync:addToMainMenu(menu_items)
enabled_func = function() return self.kosync_auto_sync end,
sub_item_table = {
{
text = "Sync to latest record >>>>",
text = _("Sync to latest record >>>>"),
enabled = false,
},
{
Expand Down Expand Up @@ -154,7 +154,7 @@ function KOSync:addToMainMenu(menu_items)
end,
},
{
text = "Sync to a previous record <<<<",
text = _("Sync to a previous record <<<<"),
enabled = false,
},
{
Expand Down Expand Up @@ -332,7 +332,7 @@ function KOSync:doRegister(username, password)
})
else
UIManager:show(InfoMessage:new{
text = _(body and body.message or "Unknown server error"),
text = body and body.message or _("Unknown server error"),
})
end

Expand Down Expand Up @@ -367,7 +367,7 @@ function KOSync:doLogin(username, password)
})
else
UIManager:show(InfoMessage:new{
text = _(body and body.message or "Unknown server error"),
text = body and body.message or _("Unknown server error"),
})
end

Expand Down