-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1011 Non-localized stablecoin type #1025
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -1,20 +1,43 @@ | ||
!(function (e, n) { | ||
"object" == typeof exports && "undefined" != typeof module | ||
? (module.exports = n()) | ||
: "function" == typeof define && define.amd | ||
? define(n) | ||
: ((e = | ||
"undefined" != typeof globalThis | ||
? globalThis | ||
: e || self).dayjs_locale_en = n()); | ||
})(this, function () { | ||
"use strict"; | ||
return { | ||
name: "es", | ||
weekdays: "Domingo_Lunes_Martes_Jueves_Viernes_Sabado_Domingo".split("_"), | ||
months: | ||
"Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Augosto_Septiembre_Octubre_Noviembre_Diciembre".split( | ||
"_" | ||
), | ||
}; | ||
}); | ||
// Spanish [es] | ||
import dayjs from "dayjs"; | ||
|
||
const locale = { | ||
name: "es", | ||
monthsShort: "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), | ||
weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"), | ||
weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"), | ||
weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"), | ||
months: | ||
"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split( | ||
"_" | ||
), | ||
weekStart: 1, | ||
formats: { | ||
LT: "H:mm", | ||
LTS: "H:mm:ss", | ||
L: "DD/MM/YYYY", | ||
LL: "D [de] MMMM [de] YYYY", | ||
LLL: "D [de] MMMM [de] YYYY H:mm", | ||
LLLL: "dddd, D [de] MMMM [de] YYYY H:mm", | ||
}, | ||
relativeTime: { | ||
future: "en %s", | ||
past: "hace %s", | ||
s: "unos segundos", | ||
m: "un minuto", | ||
mm: "%d minutos", | ||
h: "una hora", | ||
hh: "%d horas", | ||
d: "un día", | ||
dd: "%d días", | ||
M: "un mes", | ||
MM: "%d meses", | ||
y: "un año", | ||
yy: "%d años", | ||
}, | ||
ordinal: (n) => `${n}º`, | ||
}; | ||
|
||
dayjs.locale(locale, null, true); | ||
|
||
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 |
---|---|---|
@@ -1,17 +1,44 @@ | ||
!(function (e, n) { | ||
"object" == typeof exports && "undefined" != typeof module | ||
? (module.exports = n()) | ||
: "function" == typeof define && define.amd | ||
? define(n) | ||
: ((e = | ||
"undefined" != typeof globalThis | ||
? globalThis | ||
: e || self).dayjs_locale_en = n()); | ||
})(this, function () { | ||
"use strict"; | ||
return { | ||
name: "ko", | ||
weekdays: "일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"), | ||
months: "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"), | ||
}; | ||
}); | ||
// Korean [ko] | ||
import dayjs from "dayjs"; | ||
|
||
const locale = { | ||
name: "ko", | ||
weekdays: "일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"), | ||
weekdaysShort: "일_월_화_수_목_금_토".split("_"), | ||
weekdaysMin: "일_월_화_수_목_금_토".split("_"), | ||
months: "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"), | ||
monthsShort: "1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"), | ||
ordinal: (n) => n, | ||
formats: { | ||
LT: "A h:mm", | ||
LTS: "A h:mm:ss", | ||
L: "YYYY.MM.DD.", | ||
LL: "YYYY년 MMMM D일", | ||
LLL: "YYYY년 MMMM D일 A h:mm", | ||
LLLL: "YYYY년 MMMM D일 dddd A h:mm", | ||
l: "YYYY.MM.DD.", | ||
ll: "YYYY년 MMMM D일", | ||
lll: "YYYY년 MMMM D일 A h:mm", | ||
llll: "YYYY년 MMMM D일 dddd A h:mm", | ||
}, | ||
meridiem: (hour) => (hour < 12 ? "오전" : "오후"), | ||
relativeTime: { | ||
future: "%s 후", | ||
past: "%s 전", | ||
s: "몇 초", | ||
m: "1분", | ||
mm: "%d분", | ||
h: "한 시간", | ||
hh: "%d시간", | ||
d: "하루", | ||
dd: "%d일", | ||
M: "한 달", | ||
MM: "%d달", | ||
y: "일 년", | ||
yy: "%d년", | ||
}, | ||
}; | ||
|
||
dayjs.locale(locale, null, true); | ||
|
||
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!