From 2e1aa2a44be31dbc76b2cbd6b3b79e4f6b685501 Mon Sep 17 00:00:00 2001 From: marvin4ward Date: Fri, 21 Jul 2023 14:39:49 +0700 Subject: [PATCH] Grid has missed message translation for empty grid (#803) T added for 'No rows to display' message --- py4web/utils/grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py4web/utils/grid.py b/py4web/utils/grid.py index b7d66e9a8..f5fdbdd8c 100644 --- a/py4web/utils/grid.py +++ b/py4web/utils/grid.py @@ -1500,7 +1500,7 @@ def _make_table(self): else self.total_number_of_rows, self.total_number_of_rows, ) - ) if self.number_of_pages > 0 else row_count.append("No rows to display") + ) if self.number_of_pages > 0 else row_count.append(self.T("No rows to display")) footer.append(row_count) # build the pager