Skip to content

[Panel] Files pagination page label missing and need translation #2194

@afbora

Description

@afbora

FireShot Capture 776 - Animals - Mægazine_ - http___localhost_test_kirby_2192_p

Describe the bug

On files pagination, Page string doesn't change when switch the language because of non-translated string. I tried pageLabel option but didnt work.

sections:
    images:
        type: files
        layout: cards
        template: image
        info: "{{ file.dimensions }}"
        image:
          ratio: 5/4
          cover: true
        min: 1
        size: small
        limit: 3
        pageLabel: Sayfa

To Reproduce
Steps to reproduce the behavior:

  1. Go to panel
  2. Add above files section to page blueprint
  3. Click pagination of center
  4. See untranslated Page label

Related Lines:

https://github.com/getkirby/kirby/blob/develop/panel/src/components/Navigation/Pagination.vue#L94-L108

Expected behavior
I think pageLabel should be translated as default and may be implement pageLabel option and fixing should be effect all that using Pagination component

Kirby Version
3.2.5

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions