Skip to content

Commit

Permalink
[l10n] add missing jaJP translations
Browse files Browse the repository at this point in the history
  • Loading branch information
hikotq committed Jun 5, 2022
1 parent 23aaa6b commit b2a21be
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions packages/grid/x-data-grid/src/locales/jaJP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ const jaJPGrid: Partial<GridLocaleText> = {
toolbarFiltersTooltipActive: (count) => `${count}件のフィルターを適用中`,

// Quick filter toolbar field
// toolbarQuickFilterPlaceholder: 'Search...',
// toolbarQuickFilterLabel: 'Search',
// toolbarQuickFilterDeleteIconLabel: 'Clear',
toolbarQuickFilterPlaceholder: '検索...',
toolbarQuickFilterLabel: '検索',
toolbarQuickFilterDeleteIconLabel: 'クリア',

// Export selector toolbar button text
toolbarExport: 'エクスポート',
toolbarExportLabel: 'エクスポート',
toolbarExportCSV: 'CSVダウンロード',
// toolbarExportPrint: 'Print',
// toolbarExportExcel: 'Download as Excel',
toolbarExportPrint: '印刷',
toolbarExportExcel: 'Excelダウンロード',

// Columns panel text
columnsPanelTextFieldLabel: '列検索',
Expand Down Expand Up @@ -71,7 +71,7 @@ const jaJPGrid: Partial<GridLocaleText> = {
filterOperatorOnOrBefore: '...以前',
filterOperatorIsEmpty: '...空である',
filterOperatorIsNotEmpty: '...空でない',
// filterOperatorIsAnyOf: 'is any of',
filterOperatorIsAnyOf: '...のいずれか',

// Filter values text
// filterValueAny: 'any',
Expand Down Expand Up @@ -104,10 +104,10 @@ const jaJPGrid: Partial<GridLocaleText> = {

// Checkbox selection text
checkboxSelectionHeaderName: 'チェックボックス',
// checkboxSelectionSelectAllRows: 'Select all rows',
// checkboxSelectionUnselectAllRows: 'Unselect all rows',
// checkboxSelectionSelectRow: 'Select row',
// checkboxSelectionUnselectRow: 'Unselect row',
checkboxSelectionSelectAllRows: 'すべての行を選択',
checkboxSelectionUnselectAllRows: 'すべての行選択を解除',
checkboxSelectionSelectRow: '行を選択',
checkboxSelectionUnselectRow: '行選択を解除',

// Boolean cell text
booleanCellTrueLabel: '真',
Expand All @@ -117,26 +117,26 @@ const jaJPGrid: Partial<GridLocaleText> = {
// actionsCellMore: 'more',

// Column pinning text
// pinToLeft: 'Pin to left',
// pinToRight: 'Pin to right',
// unpin: 'Unpin',
pinToLeft: '左側に固定',
pinToRight: '右側に固定',
unpin: '固定解除',

// Tree Data
// treeDataGroupingHeaderName: 'Group',
// treeDataExpand: 'see children',
// treeDataCollapse: 'hide children',
treeDataGroupingHeaderName: 'グループ',
treeDataExpand: '展開',
treeDataCollapse: '折りたたみ',

// Grouping columns
// groupingColumnHeaderName: 'Group',
// groupColumn: name => `Group by ${name}`,
// unGroupColumn: name => `Stop grouping by ${name}`,
groupingColumnHeaderName: 'グループ',
groupColumn: (name) => `${name}でグループ化`,
unGroupColumn: (name) => `${name}のグループを解除`,

// Master/detail
// expandDetailPanel: 'Expand',
// collapseDetailPanel: 'Collapse',
expandDetailPanel: '展開',
collapseDetailPanel: '折りたたみ',

// Row reordering text
// rowReorderingHeaderName: 'Row reordering',
rowReorderingHeaderName: '行並び替え',
};

export const jaJP: Localization = getGridLocalization(jaJPGrid, jaJPCore);

0 comments on commit b2a21be

Please sign in to comment.