[fix, i18n] plugins/SSH.koplugin: public SSH key info (#3947)

This commit is contained in:
Frans de Jonge
2018-05-14 20:37:00 +02:00
committed by poire-z
parent 9e4cb59327
commit fcc24fc7b1

View File

@@ -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,