mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 21:28:09 +08:00
b342dbefa2
* add ja_JP translation * fix Japanese locale * fix i18n docs * update rc-pagination version * add locale test for ja_JP
48 lines
1.2 KiB
TypeScript
48 lines
1.2 KiB
TypeScript
import moment from 'moment';
|
|
moment.locale('ja');
|
|
|
|
import Pagination from 'rc-pagination/lib/locale/ja_JP';
|
|
import DatePicker from '../date-picker/locale/ja_JP';
|
|
import TimePicker from '../time-picker/locale/ja_JP';
|
|
import Calendar from '../calendar/locale/ja_JP';
|
|
|
|
export default {
|
|
locale: 'ja',
|
|
Pagination,
|
|
DatePicker,
|
|
TimePicker,
|
|
Calendar,
|
|
Table: {
|
|
filterTitle: 'メニューをフィルター',
|
|
filterConfirm: 'OK',
|
|
filterReset: 'リセット',
|
|
emptyText: 'データがありません',
|
|
selectAll: 'すべてを選択',
|
|
selectInvert: '選択を反転',
|
|
},
|
|
Modal: {
|
|
okText: 'OK',
|
|
cancelText: 'キャンセル',
|
|
justOkText: 'OK',
|
|
},
|
|
Popconfirm: {
|
|
okText: 'OK',
|
|
cancelText: 'キャンセル',
|
|
},
|
|
Transfer: {
|
|
notFoundContent: '結果はありません',
|
|
searchPlaceholder: 'ここを検索',
|
|
itemUnit: 'アイテム',
|
|
itemsUnit: 'アイテム',
|
|
},
|
|
Select: {
|
|
notFoundContent: '結果はありません',
|
|
},
|
|
Upload: {
|
|
uploading: 'アップロード中...',
|
|
removeFile: 'ファイルを削除',
|
|
uploadError: 'アップロードエラー',
|
|
previewFile: 'ファイルをプレビュー',
|
|
},
|
|
};
|