mirror of
https://github.com/papra-hq/papra.git
synced 2025-12-16 20:24:27 -06:00
feat(i18n): add tables pagination translations (#620)
This commit is contained in:
committed by
GitHub
parent
868281bcff
commit
1dce0ace41
@@ -715,4 +715,6 @@ export const translations: Partial<TranslationsDictionary> = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Geben Sie "{{ text }}" ein zur Bestätigung',
|
||||
'common.tables.rows-per-page': 'Zeilen pro Seite',
|
||||
'common.tables.pagination-info': 'Seite {{ currentPage }} von {{ totalPages }}',
|
||||
};
|
||||
|
||||
@@ -713,4 +713,6 @@ export const translations = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Type "{{ text }}" to confirm',
|
||||
'common.tables.rows-per-page': 'Rows per page',
|
||||
'common.tables.pagination-info': 'Page {{ currentPage }} of {{ totalPages }}',
|
||||
} as const;
|
||||
|
||||
@@ -715,4 +715,6 @@ export const translations: Partial<TranslationsDictionary> = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Escriba "{{ text }}" para confirmar',
|
||||
'common.tables.rows-per-page': 'Filas por página',
|
||||
'common.tables.pagination-info': 'Página {{ currentPage }} de {{ totalPages }}',
|
||||
};
|
||||
|
||||
@@ -715,4 +715,6 @@ export const translations: Partial<TranslationsDictionary> = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Saisissez "{{ text }}" pour confirmer',
|
||||
'common.tables.rows-per-page': 'Lignes par page',
|
||||
'common.tables.pagination-info': 'Page {{ currentPage }} sur {{ totalPages }}',
|
||||
};
|
||||
|
||||
@@ -715,4 +715,6 @@ export const translations: Partial<TranslationsDictionary> = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Digita "{{ text }}" per confermare',
|
||||
'common.tables.rows-per-page': 'Righe per pagina',
|
||||
'common.tables.pagination-info': 'Pagina {{ currentPage }} di {{ totalPages }}',
|
||||
};
|
||||
|
||||
@@ -715,4 +715,6 @@ export const translations: Partial<TranslationsDictionary> = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Typ "{{ text }}" om te bevestigen',
|
||||
'common.tables.rows-per-page': 'Rijen per pagina',
|
||||
'common.tables.pagination-info': 'Pagina {{ currentPage }} van {{ totalPages }}',
|
||||
};
|
||||
|
||||
@@ -715,4 +715,6 @@ export const translations: Partial<TranslationsDictionary> = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Wpisz "{{ text }}", aby potwierdzić',
|
||||
'common.tables.rows-per-page': 'Wierszy na stronę',
|
||||
'common.tables.pagination-info': 'Strona {{ currentPage }} z {{ totalPages }}',
|
||||
};
|
||||
|
||||
@@ -715,4 +715,6 @@ export const translations: Partial<TranslationsDictionary> = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Digite "{{ text }}" para confirmar',
|
||||
'common.tables.rows-per-page': 'Linhas por página',
|
||||
'common.tables.pagination-info': 'Página {{ currentPage }} de {{ totalPages }}',
|
||||
};
|
||||
|
||||
@@ -715,4 +715,6 @@ export const translations: Partial<TranslationsDictionary> = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Digite "{{ text }}" para confirmar',
|
||||
'common.tables.rows-per-page': 'Linhas por página',
|
||||
'common.tables.pagination-info': 'Página {{ currentPage }} de {{ totalPages }}',
|
||||
};
|
||||
|
||||
@@ -715,4 +715,6 @@ export const translations: Partial<TranslationsDictionary> = {
|
||||
// Common / Shared
|
||||
|
||||
'common.confirm-modal.type-to-confirm': 'Tastează "{{ text }}" pentru confirmare',
|
||||
'common.tables.rows-per-page': 'Rânduri pe pagină',
|
||||
'common.tables.pagination-info': 'Pagina {{ currentPage }} din {{ totalPages }}',
|
||||
};
|
||||
|
||||
@@ -192,7 +192,7 @@ export const DocumentsPaginatedList: Component<{
|
||||
<div class="flex flex-col-reverse items-center gap-4 sm:flex-row sm:justify-end mt-4">
|
||||
<div class="flex items-center space-x-2">
|
||||
<p class="whitespace-nowrap text-sm font-medium">
|
||||
Rows per page
|
||||
{t('common.tables.rows-per-page')}
|
||||
</p>
|
||||
<Select
|
||||
value={table.getState().pagination.pageSize}
|
||||
@@ -213,13 +213,10 @@ export const DocumentsPaginatedList: Component<{
|
||||
</Select>
|
||||
</div>
|
||||
<div class="flex items-center justify-center whitespace-nowrap text-sm font-medium">
|
||||
Page
|
||||
{' '}
|
||||
{table.getState().pagination.pageIndex + 1}
|
||||
{' '}
|
||||
of
|
||||
{' '}
|
||||
{table.getPageCount()}
|
||||
{t('common.tables.pagination-info', {
|
||||
currentPage: table.getState().pagination.pageIndex + 1,
|
||||
totalPages: table.getPageCount(),
|
||||
})}
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user