mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
allow some strings to be translated (#6428)
This commit is contained in:
@@ -52,9 +52,12 @@ function Ftp:downloadFile(item, address, user, pass, path, close)
|
||||
end
|
||||
|
||||
function Ftp:config(item, callback)
|
||||
local text_info = "FTP address must be in the format ftp://example.domain.com\n"..
|
||||
"Also supported is format with IP e.g: ftp://10.10.10.1\n"..
|
||||
"Username and password are optional."
|
||||
local text_info = _([[
|
||||
The FTP address must be in the following format:
|
||||
ftp://example.domain.com
|
||||
An IP address is also supported, for example:
|
||||
ftp://10.10.10.1
|
||||
Username and password are optional.]])
|
||||
local hint_name = _("Your FTP name")
|
||||
local text_name = ""
|
||||
local hint_address = _("FTP address eg ftp://example.com")
|
||||
|
||||
Reference in New Issue
Block a user