Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update index.test.js Syntactic error corrected
- Loading branch information
Showing
5 changed files
with
75 additions
and
1 deletion.
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,2 @@ | ||
import el_GR from '../../date-picker/locale/el_GR'; | ||
export default el_GR; |
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 'rc-calendar/lib/locale/el_GR'; | ||
import TimePickerLocale from '../../time-picker/locale/el_GR'; | ||
|
||
// Merge into a locale object | ||
const locale = { | ||
lang: { | ||
placeholder: 'Επιλέξτε ημερομηνία', | ||
rangePlaceholder: ['Αρχική ημερομηνία', 'Τελική ημερομηνία'], | ||
...CalendarLocale, | ||
}, | ||
timePickerLocale: { | ||
...TimePickerLocale, | ||
}, | ||
}; | ||
|
||
// All settings at: | ||
// https://github.com/ant-design/ant-design/issues/424 | ||
|
||
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
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,47 @@ | ||
import moment from 'moment'; | ||
moment.locale('el'); | ||
|
||
import Pagination from 'rc-pagination/lib/locale/el_GR'; | ||
import DatePicker from '../date-picker/locale/el_GR'; | ||
import TimePicker from '../time-picker/locale/el_GR'; | ||
import Calendar from '../calendar/locale/el_GR'; | ||
|
||
export default { | ||
locale: 'el', | ||
Pagination, | ||
DatePicker, | ||
TimePicker, | ||
Calendar, | ||
Table: { | ||
filterTitle: 'Μενού φίλτρων', | ||
filterConfirm: 'ΟΚ', | ||
filterReset: 'Επαναφορά', | ||
emptyText: 'Δεν υπάρχουν δεδομένα', | ||
selectAll: 'Επιλογή τρέχουσας σελίδας', | ||
selectInvert: 'Αντιστροφή τρέχουσας σελίδας', | ||
}, | ||
Modal: { | ||
okText: 'ΟΚ', | ||
cancelText: 'Άκυρο', | ||
justOkText: 'ΟΚ', | ||
}, | ||
Popconfirm: { | ||
okText: 'ΟΚ', | ||
cancelText: 'Άκυρο', | ||
}, | ||
Transfer: { | ||
notFoundContent: 'Δεν βρέθηκε', | ||
searchPlaceholder: 'Αναζήτηση', | ||
itemUnit: 'αντικείμενο', | ||
itemsUnit: 'αντικείμενα', | ||
}, | ||
Select: { | ||
notFoundContent: 'Δεν βρέθηκε', | ||
}, | ||
Upload: { | ||
uploading: 'Μεταφόρτωση...', | ||
removeFile: 'Αφαίρεση αρχείου', | ||
uploadError: 'Σφάλμα μεταφόρτωσης', | ||
previewFile: 'Προεπισκόπηση αρχείου', | ||
}, | ||
}; |
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,5 @@ | ||
const locale = { | ||
placeholder: 'Επιλέξτε ώρα', | ||
}; | ||
|
||
export default locale; |