-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import Calendar from './calendar/da_DK'; | ||
import DatePicker from './date-picker/da_DK'; | ||
import Pagination from './pagination/da_DK'; | ||
import TimePicker from './time-picker/da_DK'; | ||
|
||
export default { | ||
locale: 'da', | ||
DatePicker, | ||
TimePicker, | ||
Calendar, | ||
Pagination, | ||
Table: { | ||
filterTitle: 'Filtermenu', | ||
filterConfirm: 'OK', | ||
filterReset: 'Nulstil', | ||
emptyText: 'Ingen data', | ||
selectAll: 'Vælg alle', | ||
selectInvert: 'Inverter valg', | ||
}, | ||
Modal: { | ||
okText: 'OK', | ||
cancelText: 'Annuller', | ||
justOkText: 'OK', | ||
}, | ||
Popconfirm: { | ||
okText: 'OK', | ||
cancelText: 'Annuller', | ||
}, | ||
Transfer: { | ||
notFoundContent: 'Intet match', | ||
searchPlaceholder: 'Søg her', | ||
itemUnit: 'element', | ||
itemsUnit: 'elementer', | ||
}, | ||
Select: { | ||
notFoundContent: 'Intet match', | ||
}, | ||
Upload: { | ||
uploading: 'Uploader...', | ||
removeFile: 'Fjern fil', | ||
uploadError: 'Fejl ved upload', | ||
previewFile: 'Forhåndsvisning', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import CalendarLocale from '../calendar/da_DK'; | ||
import TimePickerLocale from '../time-picker/da_DK'; | ||
|
||
// Merge into a locale object | ||
const locale = { | ||
lang: { | ||
placeholder: 'Vælg dato', | ||
rangePlaceholder: ['Startdato', 'Slutdato'], | ||
...CalendarLocale, | ||
}, | ||
timePickerLocale: { | ||
...TimePickerLocale, | ||
}, | ||
}; | ||
|
||
// All settings at: | ||
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json | ||
|
||
export default locale; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
const locale = { | ||
placeholder: 'Vælg tid', | ||
}; | ||
|
||
export default locale; | ||
|