From 9c8456300888cd022bc17ba1b447d5366e87056d Mon Sep 17 00:00:00 2001 From: mogamin <5103195+mgmn@users.noreply.github.com> Date: Wed, 29 Mar 2023 20:54:33 +0900 Subject: [PATCH] Fix missing translation in pagination gap tags (#24262) Co-authored-by: Eugen Rochko --- app/views/kaminari/_gap.html.haml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 app/views/kaminari/_gap.html.haml diff --git a/app/views/kaminari/_gap.html.haml b/app/views/kaminari/_gap.html.haml new file mode 100644 index 000000000..0f9cff8fe --- /dev/null +++ b/app/views/kaminari/_gap.html.haml @@ -0,0 +1,9 @@ +-# + Non-link tag that stands for skipped pages... + available local variables + current_page: a page object for the currently displayed page + total_pages: total number of pages + per_page: number of items to fetch per page + remote: data-remote +%span.page.gap + != t('pagination.truncate')