Skip to content

Commit

Permalink
Grid has missed message translation for empty grid (#803)
Browse files Browse the repository at this point in the history
T added for 'No rows to display' message
  • Loading branch information
marvin4ward authored Jul 21, 2023
1 parent 3f9c431 commit 2e1aa2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py4web/utils/grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e1aa2a

Please sign in to comment.