Skip to content

Commit

Permalink
Change a few more directory strings to folder
Browse files Browse the repository at this point in the history
Fixes <koreader#7350>.
  • Loading branch information
Frenzie committed Feb 28, 2021
1 parent a996db2 commit f0ae9db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/apps/filemanager/filemanagerbookinfo.lua
Expand Up @@ -64,7 +64,7 @@ function BookInfo:show(file, book_props)
table.insert(kv_pairs, { _("Format:"), filetype:upper() })
table.insert(kv_pairs, { _("Size:"), size })
table.insert(kv_pairs, { _("File date:"), os.date("%Y-%m-%d %H:%M:%S", file_modification) })
table.insert(kv_pairs, { _("Directory:"), BD.dirpath(filemanagerutil.abbreviate(directory)), separator = true })
table.insert(kv_pairs, { _("Folder:"), BD.dirpath(filemanagerutil.abbreviate(directory)), separator = true })

-- book_props may be provided if caller already has them available
-- but it may lack 'pages', that we may get from sidecar file
Expand Down
4 changes: 2 additions & 2 deletions frontend/ui/widget/filechooser.lua
Expand Up @@ -227,9 +227,9 @@ function FileChooser:genItemTableFromPath(path)
if dir.name == ".." then
text = up_folder_arrow
elseif dir.name == "." then -- possible with show_current_dir_for_hold
text = _("Long-press to select current directory")
text = _("Long-press to select current folder")
elseif dir.name == "./." then -- added as content of an unreadable directory
text = _("Current directory not readable. Some content may not be shown.")
text = _("Current folder not readable. Some content may not be shown.")
else
text = dir.name.."/"
bidi_wrap_func = BD.directory
Expand Down

0 comments on commit f0ae9db

Please sign in to comment.