forked from apache/superset
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2096cc6
commit 701c844
Showing
7 changed files
with
120 additions
and
15 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
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,95 @@ | ||
const d3Locale = { | ||
"de-DE": { | ||
"dateTime": "%A, der %e. %B %Y, %X", | ||
"date": "%d.%m.%Y", | ||
"time": "%H:%M:%S", | ||
"periods": ["AM", "PM"], | ||
"days": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], | ||
"shortDays": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], | ||
"months": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], | ||
"shortMonths": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"] | ||
}, | ||
"en-US": { | ||
"dateTime": "%x, %X", | ||
"date": "%-m/%-d/%Y", | ||
"time": "%-I:%M:%S %p", | ||
"periods": ["AM", "PM"], | ||
"days": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], | ||
"shortDays": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], | ||
"months": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], | ||
"shortMonths": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] | ||
}, | ||
"fr-FR": { | ||
"dateTime": "%A, le %e %B %Y, %X", | ||
"date": "%d/%m/%Y", | ||
"time": "%H:%M:%S", | ||
"periods": ["AM", "PM"], | ||
"days": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], | ||
"shortDays": ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."], | ||
"months": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"], | ||
"shortMonths": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc."] | ||
}, | ||
"it-IT": { | ||
"dateTime": "%A %e %B %Y, %X", | ||
"date": "%d/%m/%Y", | ||
"time": "%H:%M:%S", | ||
"periods": ["AM", "PM"], | ||
"days": ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"], | ||
"shortDays": ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"], | ||
"months": ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], | ||
"shortMonths": ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"] | ||
}, | ||
"ko-KR": { | ||
"dateTime": "%Y/%m/%d %a %X", | ||
"date": "%Y/%m/%d", | ||
"time": "%H:%M:%S", | ||
"periods": ["오전", "오후"], | ||
"days": ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"], | ||
"shortDays": ["일", "월", "화", "수", "목", "금", "토"], | ||
"months": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], | ||
"shortMonths": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"] | ||
}, | ||
"ru-RU": { | ||
"dateTime": "%A, %e %B %Y г. %X", | ||
"date": "%d.%m.%Y", | ||
"time": "%H:%M:%S", | ||
"periods": ["AM", "PM"], | ||
"days": ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], | ||
"shortDays": ["вс", "пн", "вт", "ср", "чт", "пт", "сб"], | ||
"months": ["января", "февраля", "марта", "апреля", "мая", "июня", "июля", "августа", "сентября", "октября", "ноября", "декабря"], | ||
"shortMonths": ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек"] | ||
}, | ||
"zh-CN": { | ||
"dateTime": "%x %A %X", | ||
"date": "%Y年%-m月%-d日", | ||
"time": "%H:%M:%S", | ||
"periods": ["上午", "下午"], | ||
"days": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], | ||
"shortDays": ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], | ||
"months": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], | ||
"shortMonths": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"] | ||
}, | ||
"ja-JP": { | ||
"dateTime": "%Y %b %e %a %X", | ||
"date": "%Y/%m/%d", | ||
"time": "%H:%M:%S", | ||
"periods": ["AM", "PM"], | ||
"days": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], | ||
"shortDays": ["日", "月", "火", "水", "木", "金", "土"], | ||
"months": ["睦月", "如月", "弥生", "卯月", "皐月", "水無月", "文月", "葉月", "長月", "神無月", "霜月", "師走"], | ||
"shortMonths": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"] | ||
}, | ||
"pt-BR": | ||
{ | ||
"dateTime": "%A, %e de %B de %Y. %X", | ||
"date": "%d/%m/%Y", | ||
"time": "%H:%M:%S", | ||
"periods": ["AM", "PM"], | ||
"days": ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"], | ||
"shortDays": ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], | ||
"months": ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], | ||
"shortMonths": ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"] | ||
} | ||
}; | ||
|
||
export default d3Locale; |
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
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
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