A few more directory to folder (#7386)

Cf. https://github.com/koreader/koreader/issues/7350#issuecomment-789672442
This commit is contained in:
Frans de Jonge
2021-03-05 17:49:33 +01:00
committed by GitHub
parent 9bcaae6eeb
commit c0423401aa
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ function PathChooser:init()
self.file_filter = function() return false end -- filter out regular files
end
if self.select_directory then
-- Let FileChooser display "Long press to select current directory"
-- Let FileChooser display "Long press to select current folder"
self.show_current_dir_for_hold = true
end
FileChooser.init(self)
@@ -110,7 +110,7 @@ function PathChooser:onMenuHold(item)
title = T(_("Select this file?\n\n%1"), BD.filepath(path))
end
elseif attr.mode == "directory" then
title = T(_("Select this directory?\n\n%1"), BD.dirpath(path))
title = T(_("Select this folder?\n\n%1"), BD.dirpath(path))
else -- just in case we get something else
title = T(_("Select this path?\n\n%1"), BD.path(path))
end

View File

@@ -611,7 +611,7 @@ end
function OPDSBrowser:createNewDownloadDialog(path, buttons)
self.download_dialog = ButtonDialogTitle:new{
title = T(_("Download directory:\n%1\n\nDownload file type:"), BD.dirpath(path)),
title = T(_("Download folder:\n%1\n\nDownload file type:"), BD.dirpath(path)),
buttons = buttons
}
end