-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DataGrid] Add Urdu (ur-PK) locale (#6866)
- Loading branch information
1 parent
ad24863
commit 607544f
Showing
6 changed files
with
164 additions
and
0 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,152 @@ | ||
import { urPKCore } from './coreLocales'; | ||
import { GridLocaleText } from '../models/api/gridLocaleTextApi'; | ||
import { getGridLocalization, Localization } from '../utils/getGridLocalization'; | ||
|
||
const urPKGrid: Partial<GridLocaleText> = { | ||
// Root | ||
noRowsLabel: 'کوئی قطاریں نہیں', | ||
noResultsOverlayLabel: 'کوئی نتائج نہیں', | ||
|
||
// Density selector toolbar button text | ||
toolbarDensity: 'کثافت', | ||
toolbarDensityLabel: 'کثافت', | ||
toolbarDensityCompact: 'تنگ', | ||
toolbarDensityStandard: 'درمیانہ', | ||
toolbarDensityComfortable: 'مناسب', | ||
|
||
// Columns selector toolbar button text | ||
toolbarColumns: 'کالمز', | ||
toolbarColumnsLabel: 'کالمز کو منتخب کریں', | ||
|
||
// Filters toolbar button text | ||
toolbarFilters: 'فلٹرز', | ||
toolbarFiltersLabel: 'فلٹرز دکھائیں', | ||
toolbarFiltersTooltipHide: 'فلٹرز چھپائیں', | ||
toolbarFiltersTooltipShow: 'فلٹرز دکھائیں', | ||
toolbarFiltersTooltipActive: (count) => | ||
count !== 1 ? `${count} فعال فلٹرز` : `${count} فلٹرز فعال`, | ||
|
||
// Quick filter toolbar field | ||
toolbarQuickFilterPlaceholder: 'تلاش کریں۔۔۔', | ||
toolbarQuickFilterLabel: 'تلاش کریں', | ||
toolbarQuickFilterDeleteIconLabel: 'کلئیر کریں', | ||
|
||
// Export selector toolbar button text | ||
toolbarExport: 'ایکسپورٹ', | ||
toolbarExportLabel: 'ایکسپورٹ', | ||
toolbarExportCSV: 'CSV کے طور پر ڈاوٴنلوڈ کریں', | ||
toolbarExportPrint: 'پرنٹ کریں', | ||
toolbarExportExcel: 'ایکسل کے طور پر ڈاوٴنلوڈ کریں', | ||
|
||
// Columns panel text | ||
columnsPanelTextFieldLabel: 'کالم کو تلاش کریں', | ||
columnsPanelTextFieldPlaceholder: 'کالم کا عنوان', | ||
columnsPanelDragIconLabel: 'کالم کی ترتیب تبدیل کریں', | ||
columnsPanelShowAllButton: 'سارے دکھائیں', | ||
columnsPanelHideAllButton: 'سارے چھپائیں', | ||
|
||
// Filter panel text | ||
filterPanelAddFilter: 'نیا فلٹر', | ||
filterPanelDeleteIconLabel: 'ختم کریں', | ||
filterPanelLogicOperator: 'لاجک آپریٹر', | ||
filterPanelOperator: 'آپریٹر', | ||
filterPanelOperatorAnd: 'اور', | ||
filterPanelOperatorOr: 'یا', | ||
filterPanelColumns: 'کالمز', | ||
filterPanelInputLabel: 'ویلیو', | ||
filterPanelInputPlaceholder: 'ویلیو کو فلٹر کریں', | ||
|
||
// Filter operators text | ||
filterOperatorContains: 'شامل ہے', | ||
filterOperatorEquals: 'برابر ہے', | ||
filterOperatorStartsWith: 'شروع ہوتا ہے', | ||
filterOperatorEndsWith: 'ختم ہوتا ہے', | ||
filterOperatorIs: 'ہے', | ||
filterOperatorNot: 'نہیں', | ||
filterOperatorAfter: 'بعد میں ہے', | ||
filterOperatorOnOrAfter: 'پر یا بعد میں ہے', | ||
filterOperatorBefore: 'پہلے ہے', | ||
filterOperatorOnOrBefore: 'پر یا پہلے ہے', | ||
filterOperatorIsEmpty: 'خالی ہے', | ||
filterOperatorIsNotEmpty: 'خالی نہیں ہے', | ||
filterOperatorIsAnyOf: 'ان میں سے کوئی ہے', | ||
|
||
// Filter values text | ||
filterValueAny: 'کوئی بھی', | ||
filterValueTrue: 'صحیح', | ||
filterValueFalse: 'غلط', | ||
|
||
// Column menu text | ||
columnMenuLabel: 'مینیو', | ||
columnMenuShowColumns: 'کالم دکھائیں', | ||
columnMenuManageColumns: 'کالم مینج کریں', | ||
columnMenuFilter: 'فلٹر', | ||
columnMenuHideColumn: 'چھپائیں', | ||
columnMenuUnsort: 'sort ختم کریں', | ||
columnMenuSortAsc: 'ترتیب صعودی', | ||
columnMenuSortDesc: 'ترتیب نزولی', | ||
|
||
// Column header text | ||
columnHeaderFiltersTooltipActive: (count) => | ||
count !== 1 ? `${count} فعال فلٹرز` : `${count} فلٹرز فعال`, | ||
columnHeaderFiltersLabel: 'فلٹرز دکھائیں', | ||
columnHeaderSortIconLabel: 'Sort', | ||
|
||
// Rows selected footer text | ||
footerRowSelected: (count) => | ||
count !== 1 ? `${count.toLocaleString()} منتخب قطاریں` : `${count.toLocaleString()} منتخب قطار`, | ||
|
||
// Total row amount footer text | ||
footerTotalRows: 'کل قطاریں:', | ||
|
||
// Total visible row amount footer text | ||
footerTotalVisibleRows: (visibleCount, totalCount) => | ||
`${totalCount.toLocaleString()} میں سے ${visibleCount.toLocaleString()}`, | ||
|
||
// Checkbox selection text | ||
checkboxSelectionHeaderName: 'چیک باکس منتخب کریں', | ||
checkboxSelectionSelectAllRows: 'تمام قطاریں منتخب کریں', | ||
checkboxSelectionUnselectAllRows: 'تمام قطاریں نامنتخب کریں ', | ||
checkboxSelectionSelectRow: 'قطار منتخب کریں', | ||
checkboxSelectionUnselectRow: 'قطار نامنتخب کریں', | ||
|
||
// Boolean cell text | ||
booleanCellTrueLabel: 'ہاں', | ||
booleanCellFalseLabel: 'نہیں', | ||
|
||
// Actions cell more text | ||
actionsCellMore: 'ذیادہ', | ||
|
||
// Column pinning text | ||
pinToLeft: 'بائیں جانب pin کریں', | ||
pinToRight: 'دائیں جانب pin کریں', | ||
unpin: 'pin ختم کریں', | ||
|
||
// Tree Data | ||
treeDataGroupingHeaderName: 'گروپ', | ||
treeDataExpand: 'شاخیں دیکھیں', | ||
treeDataCollapse: 'شاخیں چھپائیں', | ||
|
||
// Grouping columns | ||
groupingColumnHeaderName: 'گروپ', | ||
groupColumn: (name) => `${name} سے گروپ کریں`, | ||
unGroupColumn: (name) => `${name} سے گروپ ختم کریں`, | ||
|
||
// Master/detail | ||
detailPanelToggle: 'ڈیٹیل پینل کھولیں / بند کریں', | ||
expandDetailPanel: 'پھیلائیں', | ||
collapseDetailPanel: 'تنگ کریں', | ||
|
||
// Row reordering text | ||
rowReorderingHeaderName: 'قطاروں کی ترتیب تبدیل کریں', | ||
|
||
// Aggregation | ||
aggregationMenuItemHeader: 'Aggregation', | ||
aggregationFunctionLabelSum: 'sum', | ||
aggregationFunctionLabelAvg: 'avg', | ||
aggregationFunctionLabelMin: 'min', | ||
aggregationFunctionLabelMax: 'max', | ||
aggregationFunctionLabelSize: 'size', | ||
}; | ||
|
||
export const urPK: Localization = getGridLocalization(urPKGrid, urPKCore); |
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