mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 21:28:09 +08:00
b69a6886d7
* locale: Add Norwegian Bokmål locales to Ant Design * Add Vemund Santi to authors. * docs: add Norwegian to list of i18n language examples * test: add tests for Norwegian Bokmål * Update dependencies. Use locales from rc-pagination.
48 lines
1.0 KiB
TypeScript
48 lines
1.0 KiB
TypeScript
import 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',
|
|
},
|
|
};
|