-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathjaJP.ts
193 lines (166 loc) · 6.95 KB
/
jaJP.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
import { jaJP as jaJPCore } from '@mui/material/locale';
import { GridLocaleText } from '../models/api/gridLocaleTextApi';
import { getGridLocalization, Localization } from '../utils/getGridLocalization';
const jaJPGrid: 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}件のフィルターを適用中`,
// Quick filter toolbar field
toolbarQuickFilterPlaceholder: '検索…',
toolbarQuickFilterLabel: '検索',
toolbarQuickFilterDeleteIconLabel: 'クリア',
// Prompt toolbar field
// toolbarPromptControlPlaceholder: 'Type a prompt…',
// toolbarPromptControlWithRecordingPlaceholder: 'Type or record a prompt…',
// toolbarPromptControlRecordingPlaceholder: 'Listening for prompt…',
// toolbarPromptControlLabel: 'Prompt input',
// toolbarPromptControlRecordButtonDefaultLabel: 'Record',
// toolbarPromptControlRecordButtonActiveLabel: 'Stop recording',
// toolbarPromptControlSendActionLabel: 'Send',
// toolbarPromptControlSendActionAriaLabel: 'Send prompt',
// toolbarPromptControlErrorMessage: 'An error occurred while processing the request. Please try again with a different prompt.',
// Export selector toolbar button text
toolbarExport: 'エクスポート',
toolbarExportLabel: 'エクスポート',
toolbarExportCSV: 'CSVダウンロード',
toolbarExportPrint: '印刷',
toolbarExportExcel: 'Excelダウンロード',
// Columns management text
columnsManagementSearchTitle: '検索',
columnsManagementNoColumns: 'カラムなし',
columnsManagementShowHideAllText: 'すべて表示/非表示',
columnsManagementReset: 'リセット',
// columnsManagementDeleteIconLabel: 'Clear',
// Filter panel text
filterPanelAddFilter: 'フィルター追加',
filterPanelRemoveAll: 'すべて削除',
filterPanelDeleteIconLabel: '削除',
filterPanelLogicOperator: '論理演算子',
filterPanelOperator: '演算子',
filterPanelOperatorAnd: 'And',
filterPanelOperatorOr: 'Or',
filterPanelColumns: '列',
filterPanelInputLabel: '値',
filterPanelInputPlaceholder: '値を入力…',
// Filter operators text
filterOperatorContains: '...を含む',
filterOperatorDoesNotContain: '...を含まない',
filterOperatorEquals: '...に等しい',
filterOperatorDoesNotEqual: '...に等しくない',
filterOperatorStartsWith: '...で始まる',
filterOperatorEndsWith: '...で終わる',
filterOperatorIs: '...である',
filterOperatorNot: '...でない',
filterOperatorAfter: '...より後ろ',
filterOperatorOnOrAfter: '...以降',
filterOperatorBefore: '...より前',
filterOperatorOnOrBefore: '...以前',
filterOperatorIsEmpty: '...空である',
filterOperatorIsNotEmpty: '...空でない',
filterOperatorIsAnyOf: '...のいずれか',
'filterOperator=': '=',
'filterOperator!=': '!=',
'filterOperator>': '>',
'filterOperator>=': '>=',
'filterOperator<': '<',
'filterOperator<=': '<=',
// Header filter operators text
headerFilterOperatorContains: '含む',
headerFilterOperatorDoesNotContain: '含まない',
headerFilterOperatorEquals: '等しい',
headerFilterOperatorDoesNotEqual: '等しくない',
headerFilterOperatorStartsWith: 'で始まる',
headerFilterOperatorEndsWith: 'で終わる',
headerFilterOperatorIs: 'である',
headerFilterOperatorNot: 'ではない',
headerFilterOperatorAfter: '...より後ろ',
headerFilterOperatorOnOrAfter: '...以降',
headerFilterOperatorBefore: '...より前',
headerFilterOperatorOnOrBefore: '...以前',
headerFilterOperatorIsEmpty: '空白',
headerFilterOperatorIsNotEmpty: '空白ではない',
headerFilterOperatorIsAnyOf: 'いずれか',
'headerFilterOperator=': '等しい',
'headerFilterOperator!=': '等しくない',
'headerFilterOperator>': 'より大きい',
'headerFilterOperator>=': '以上',
'headerFilterOperator<': '未満',
'headerFilterOperator<=': '以下',
// headerFilterClear: 'Clear filter',
// Filter values text
filterValueAny: 'いずれか',
filterValueTrue: '真',
filterValueFalse: '偽',
// Column menu text
columnMenuLabel: 'メニュー',
columnMenuShowColumns: '列表示',
columnMenuManageColumns: '列管理',
columnMenuFilter: 'フィルター',
columnMenuHideColumn: '列非表示',
columnMenuUnsort: 'ソート解除',
columnMenuSortAsc: '昇順ソート',
columnMenuSortDesc: '降順ソート',
// Column header text
columnHeaderFiltersTooltipActive: (count) => `${count}件のフィルターを適用中`,
columnHeaderFiltersLabel: 'フィルター表示',
columnHeaderSortIconLabel: 'ソート',
// Rows selected footer text
footerRowSelected: (count) => `${count}行を選択中`,
// Total row amount footer text
footerTotalRows: '総行数:',
// Total visible row amount footer text
footerTotalVisibleRows: (visibleCount, totalCount) =>
`${visibleCount.toLocaleString()} / ${totalCount.toLocaleString()}`,
// Checkbox selection text
checkboxSelectionHeaderName: 'チェックボックス',
checkboxSelectionSelectAllRows: 'すべての行を選択',
checkboxSelectionUnselectAllRows: 'すべての行選択を解除',
checkboxSelectionSelectRow: '行を選択',
checkboxSelectionUnselectRow: '行選択を解除',
// Boolean cell text
booleanCellTrueLabel: '真',
booleanCellFalseLabel: '偽',
// Actions cell more text
actionsCellMore: 'もっと見る',
// Column pinning text
pinToLeft: '左側に固定',
pinToRight: '右側に固定',
unpin: '固定解除',
// 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: '合計',
aggregationFunctionLabelSum: '和',
aggregationFunctionLabelAvg: '平均',
aggregationFunctionLabelMin: '最小値',
aggregationFunctionLabelMax: '最大値',
aggregationFunctionLabelSize: 'サイズ',
};
export const jaJP: Localization = getGridLocalization(jaJPGrid, jaJPCore);