From c0423401aac725d324ef5d9a64ee2e03d256b869 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Fri, 5 Mar 2021 17:49:33 +0100 Subject: [PATCH] A few more directory to folder (#7386) Cf. https://github.com/koreader/koreader/issues/7350#issuecomment-789672442 --- frontend/ui/widget/pathchooser.lua | 4 ++-- plugins/opds.koplugin/opdsbrowser.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/ui/widget/pathchooser.lua b/frontend/ui/widget/pathchooser.lua index 695fbcb9f..53f0e9046 100644 --- a/frontend/ui/widget/pathchooser.lua +++ b/frontend/ui/widget/pathchooser.lua @@ -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 diff --git a/plugins/opds.koplugin/opdsbrowser.lua b/plugins/opds.koplugin/opdsbrowser.lua index 955972eae..0b042aed2 100644 --- a/plugins/opds.koplugin/opdsbrowser.lua +++ b/plugins/opds.koplugin/opdsbrowser.lua @@ -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