filemanagerhistory: fix untranslated strings (#11282)

This commit is contained in:
hius07
2023-12-28 07:47:56 +02:00
committed by GitHub
parent 4c2fc1eb81
commit 3533356ffd

View File

@@ -83,9 +83,9 @@ function FileManagerHistory:updateItemTable()
end
local subtitle
if self.search_string then
subtitle = T("Search results (%1)", #item_table)
subtitle = T(_("Search results (%1)"), #item_table)
elseif self.filter ~= "all" then
subtitle = T("Status: %1 (%2)", filter_text[self.filter]:lower(), #item_table)
subtitle = T(_("Status: %1 (%2)"), filter_text[self.filter]:lower(), #item_table)
end
self.hist_menu:switchItemTable(nil, item_table, select_number, nil, subtitle or "")
end