Skip to content

Commit

Permalink
Update pagy translation key (#625)
Browse files Browse the repository at this point in the history
* Update pagy translation key

* Add movement to gap button
  • Loading branch information
aliciapaz authored Nov 23, 2024
1 parent 6075628 commit e5edbd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ GEM
shellany (~> 0.0)
orm_adapter (0.5.0)
ostruct (0.6.0)
pagy (9.1.0)
pagy (9.3.1)
parallel (1.26.3)
parser (3.3.5.0)
ast (~> 2.4.1)
Expand Down
2 changes: 1 addition & 1 deletion app/views/pagy/_nav.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ nav class="flex gap-4 justify-center my-5" role="navigation" aria-label="pager"
span class="px-3 py-1 text-sm font-extrabold leading-6 text-white transition cursor-pointer hover:bg-blue-medium rounded-6px bg-blue-dark" ==> item

- elsif item == :gap # page gap
span class="px-3 py-1 text-sm font-extrabold leading-6 rounded-6px text-gray-3 bg-gray-7" ==> pagy_t('pagy.nav.gap')
span class="px-3 py-1 text-sm font-extrabold leading-6 transition rounded-6px text-gray-3 hover:bg-gray-4 bg-gray-7" ==> pagy_t('pagy.gap')

0 comments on commit e5edbd4

Please sign in to comment.