-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding translations and latest neo lib
- Loading branch information
1 parent
b1a16f6
commit b48ff4d
Showing
5 changed files
with
175 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
export interface ITableFilterTranslations { | ||
clear?: string; | ||
close?: string; | ||
filterColumns?: string; | ||
} | ||
export interface IToolbarTranslations extends ITableFilterTranslations { | ||
create?: string; | ||
delete?: string; | ||
edit?: string; | ||
large?: string; | ||
medium?: string; | ||
noDataAvailable?: string; | ||
refresh?: string; | ||
rowsPerPage?: string; | ||
searchInputPlaceholder?: string; | ||
selectRowHeight?: string; | ||
small?: string; | ||
} | ||
|
||
export interface IBodyTranslations { | ||
noDataAvailable?: string; | ||
} | ||
|
||
export interface IPaginationTranslations { | ||
backIconButtonText?: string; | ||
itemsPerPageLabel?: string; | ||
nextIconButtonText?: string; | ||
tooltipForCurrentPage?: string; | ||
tooltipForShownPagesSelect?: string; | ||
} | ||
|
||
export interface ITableHeaderTranslations { | ||
clearSort?: string; | ||
filterColumn?: string; | ||
selectAll: string; | ||
sortAscending?: string; | ||
sortDescending?: string; | ||
toggleSortBy?: string; | ||
} | ||
|
||
export interface ITableTranslations { | ||
toolbar: IToolbarTranslations; | ||
header: ITableHeaderTranslations; | ||
body: IBodyTranslations; | ||
pagination: IPaginationTranslations; | ||
} | ||
|
||
export const translations: ITableTranslations = { | ||
toolbar: { | ||
clear: "Clear Filter", | ||
close: "Close", | ||
create: "Create", | ||
delete: "Delete", | ||
edit: "Edit", | ||
filterColumns: "Filter Columns", | ||
large: "Large", | ||
medium: "Medium", | ||
noDataAvailable: "No data available", | ||
refresh: "Refresh", | ||
rowsPerPage: "Rows per page", | ||
searchInputPlaceholder: "Search all", | ||
selectRowHeight: "Select row height", | ||
small: "Small", | ||
}, | ||
header: { | ||
clearSort: "Clear Sort", | ||
filterColumn: "Filter Column", | ||
selectAll: "select all", | ||
sortAscending: "A - Z", | ||
sortDescending: "Z - A", | ||
toggleSortBy: "Toggle SortBy", | ||
}, | ||
body: { | ||
noDataAvailable: "no data available", | ||
}, | ||
pagination: { | ||
backIconButtonText: "back", | ||
nextIconButtonText: "next", | ||
itemsPerPageLabel: "SHOW: ", | ||
tooltipForCurrentPage: "현재 페이지", | ||
tooltipForShownPagesSelect: "items per page", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.