diff --git a/frontend/apps/filemanager/filemanager.lua b/frontend/apps/filemanager/filemanager.lua index 9349efc32..f044b5885 100644 --- a/frontend/apps/filemanager/filemanager.lua +++ b/frontend/apps/filemanager/filemanager.lua @@ -476,9 +476,9 @@ function FileManager:getSortingMenuTable() local fm = self local collates = { strcoll = {_("title"), _("Sort by title")}, - access = {_("date read"), _("Sort by date of last read")}, - change = {_("date added"), _("Sort by date of adding")}, - modification = {_("date modified"), _("Sort by date of modification")}, + access = {_("date read"), _("Sort by last read date")}, + change = {_("date added"), _("Sort by date added")}, + modification = {_("date modified"), _("Sort by date modified")}, size = {_("size"), _("Sort by size")}, type = {_("type"), _("Sort by type")}, } diff --git a/plugins/storagestat.koplugin/main.lua b/plugins/storagestat.koplugin/main.lua index 3171445fb..f3ef5da26 100644 --- a/plugins/storagestat.koplugin/main.lua +++ b/plugins/storagestat.koplugin/main.lua @@ -8,6 +8,8 @@ if Device:isKobo() or Device:isPocketBook() then filter = "mmcblk" elseif Device:isKindle() then filter = "' /mnt/us$'" +elseif Device:isSDL() then + filter = "/dev/sd" else return { disabled = true, } end @@ -24,8 +26,8 @@ local StorageStat = WidgetContainer:new{ callback = function() local std_out = io.popen( "df -h | sed -r 's/ +/ /g' | grep " .. filter .. - " | cut -d ' ' -f 2,3,4,5 | " .. - "awk '{print \"Internal Storage: \\n Available: \" $3\"/\" $1 \"\\n Used: \" $4}'" + " | cut -d ' ' -f 2,3,4,5,6 | " .. + "awk '{print $5\": \\n Available: \" $3\"/\" $1 \"\\n Used: \" $4}'" ) local msg if std_out then