Skip to content

Commit

Permalink
Merge pull request #442 from yungshenglu/david/tickets
Browse files Browse the repository at this point in the history
feat(tickets): update selling status of premium tickets
  • Loading branch information
yungshenglu authored Aug 16, 2023
2 parents cc0e531 + 780a355 commit c91a86e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configs/pageTickets.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export const ticketSellingStatus = {
COMING_SOON: 'comingSoon',
SELLING: 'selling',
ENDED: 'ended',
SOLD_OUT: 'soldOut',
}

export const pageLinks = {
Expand Down Expand Up @@ -38,7 +39,7 @@ export const ticketInfoConfig = [
'invitationOfSpeakerNight',
'conferencePass',
],
statusI18nKey: ticketSellingStatus.SELLING,
statusI18nKey: ticketSellingStatus.SOLD_OUT,
link: pageLinks.kktixIndividual2023,
},
{
Expand Down
2 changes: 2 additions & 0 deletions i18n/registration/tickets.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export default genI18nMessages({
comingSoon: 'Coming Soon',
selling: 'On Sale Now',
ended: 'Closed',
soldOut: 'Sold Out',
},
terms: {
codeOfConduct: 'Code of Conduct of PyCon TW 2023',
Expand Down Expand Up @@ -360,6 +361,7 @@ export default genI18nMessages({
comingSoon: '即將開賣',
selling: '立即搶購',
ended: '結束販售',
soldOut: '票種售罄',
},
terms: {
codeOfConduct: 'PyCon TW 2023 行為準則',
Expand Down

0 comments on commit c91a86e

Please sign in to comment.