From 876697bdff7e03d98a7a426895b4e5dcc07c5a88 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 11 Jul 2026 00:53:53 +0200 Subject: Style admin pagination widget, add missing locale keys Pagination had almost no styling, and its current-page selector never matched will_paginate's actual markup. Added chip-style page links, a solid current-page indicator, and distinct disabled states for Previous/Next. Previous/Next/gap rendered as empty, unlabeled elements -- will_paginate only ships English translations and this app defaults to German. Added previous_label/next_label/page_gap to en.yml and de.yml. --- config/locales/de.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config/locales/de.yml') diff --git a/config/locales/de.yml b/config/locales/de.yml index 2f089849..1f2222c3 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -133,3 +133,12 @@ de: less_than_or_equal_to: "must be less than or equal to {{count}}" odd: "must be odd" even: "must be even" + + will_paginate: + previous_label: "← Zurück" + previous_aria_label: "Vorherige Seite" + next_label: "Weiter →" + next_aria_label: "Nächste Seite" + page_gap: "…" + container_aria_label: "Seitennavigation" + page_aria_label: "Seite %{page}" -- cgit v1.3