mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-19 03:54:28 +08:00
48 lines
1.0 KiB
TypeScript
48 lines
1.0 KiB
TypeScript
import * as moment from 'moment';
|
|
moment.locale('nb');
|
|
|
|
import Pagination from 'rc-pagination/lib/locale/nb_NO';
|
|
import DatePicker from '../date-picker/locale/nb_NO';
|
|
import TimePicker from '../time-picker/locale/nb_NO';
|
|
import Calendar from '../calendar/locale/nb_NO';
|
|
|
|
export default {
|
|
locale: 'nb',
|
|
DatePicker,
|
|
TimePicker,
|
|
Calendar,
|
|
Pagination,
|
|
Table: {
|
|
filterTitle: 'Filtermeny',
|
|
filterConfirm: 'OK',
|
|
filterReset: 'Nullstill',
|
|
emptyText: 'Ingen data',
|
|
selectAll: 'Velg alle',
|
|
selectInvert: 'Inverter valg',
|
|
},
|
|
Modal: {
|
|
okText: 'OK',
|
|
cancelText: 'Avbryt',
|
|
justOkText: 'OK',
|
|
},
|
|
Popconfirm: {
|
|
okText: 'OK',
|
|
cancelText: 'Avbryt',
|
|
},
|
|
Transfer: {
|
|
notFoundContent: 'Ingen treff',
|
|
searchPlaceholder: 'Søk her',
|
|
itemUnit: 'element',
|
|
itemsUnit: 'elementer',
|
|
},
|
|
Select: {
|
|
notFoundContent: 'Ingen treff',
|
|
},
|
|
Upload: {
|
|
uploading: 'Laster opp...',
|
|
removeFile: 'Fjern fil',
|
|
uploadError: 'Feil ved opplastning',
|
|
previewFile: 'Forhåndsvisning',
|
|
},
|
|
};
|