mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix, i18n] plugins/SSH.koplugin: public SSH key info (#3947)
This commit is contained in:
@@ -7,6 +7,7 @@ local WidgetContainer = require("ui/widget/container/widgetcontainer")
|
||||
local logger = require("logger")
|
||||
local util = require("util")
|
||||
local _ = require("gettext")
|
||||
local T = require("ffi/util").template
|
||||
|
||||
-- This plugin use a patched dropbear that add two things :
|
||||
-- the -n option to allow login without password
|
||||
@@ -146,7 +147,7 @@ function SSH:addToMainMenu(menu_items)
|
||||
callback = function()
|
||||
local info = InfoMessage:new{
|
||||
timeout = 60,
|
||||
text = _("Put your public SSH keys in "..path.."/settings/SSH/authorized_keys"),
|
||||
text = T(_("Put your public SSH keys in %1"), path.."/settings/SSH/authorized_keys"),
|
||||
}
|
||||
UIManager:show(info)
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user