From f6be8eb823e63a011223ecd09f26ea86a9586400 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Thu, 14 Nov 2024 15:05:28 +0100 Subject: [PATCH] chore(pagination): remove redondant symbols with dsfr paginator --- app/views/shared/kaminari/_paginator.html.haml | 2 +- config/locales/kaminari.en.yml | 10 +++++----- config/locales/kaminari.fr.yml | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/views/shared/kaminari/_paginator.html.haml b/app/views/shared/kaminari/_paginator.html.haml index 9c018cf5f..4c535c675 100644 --- a/app/views/shared/kaminari/_paginator.html.haml +++ b/app/views/shared/kaminari/_paginator.html.haml @@ -1,5 +1,5 @@ = paginator.render do - %nav.fr-pagination.fr-mt-2w{ role: 'navigation', 'aria-label': 'Pagination' } + %nav.fr-pagination{ role: 'navigation', 'aria-label': 'Pagination' } %ul.fr-pagination__list = first_page_tag unless current_page.first? = prev_page_tag unless current_page.first? diff --git a/config/locales/kaminari.en.yml b/config/locales/kaminari.en.yml index b64d7d40b..6e495b45b 100644 --- a/config/locales/kaminari.en.yml +++ b/config/locales/kaminari.en.yml @@ -13,8 +13,8 @@ en: other: "%{count} %{entry_name}" views: pagination: - first: "« First" - last: Last » - next: Next › - previous: "‹ Prev" - truncate: "…" + first: 'First' + last: Last + next: Next + previous: 'Prev' + truncate: '…' diff --git a/config/locales/kaminari.fr.yml b/config/locales/kaminari.fr.yml index 725223c58..e07552d5b 100644 --- a/config/locales/kaminari.fr.yml +++ b/config/locales/kaminari.fr.yml @@ -13,8 +13,8 @@ fr: other: "%{count} %{entry_name}" views: pagination: - first: "« Premier" - last: Dernier » - next: Suivant › - previous: "‹ Précédent" - truncate: "…" + first: 'Premier' + last: Dernier + next: Suivant + previous: 'Précédent' + truncate: '…'