Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/locale/mr_IN.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { PaginationLocale } from '../interface';

const locale: PaginationLocale = {
// Options
items_per_page: '/ पृष्ठ',
jump_to: 'यावर जा',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The jump_to string is used in Pagination.tsx to create a title attribute. It's concatenated directly with page numbers, like ${locale.jump_to}${current}/${allPages}. This will result in a title attribute like यावर जा5/10 without a space between the text and the numbers.

To fix this and ensure proper spacing in the tooltip, please add a trailing space to the string. While the ideal fix would be in Pagination.tsx, adjusting the translation here is a good workaround.

Suggested change
jump_to: 'यावर जा',
jump_to: 'यावर जा ',

jump_to_confirm: 'पुष्टी करा',
page: 'पृष्ठ',

// Pagination
prev_page: 'मागील पृष्ठ',
next_page: 'पुढचे पृष्ठ',
prev_5: 'मागील ५ पृष्ठे',
next_5: 'पुढची ५ पृष्ठे',
prev_3: 'मागील ३ पृष्ठे',
next_3: 'पुढची ३ पृष्ठे',
page_size: 'पृष्ठ आकार',
};

export default locale;