This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add translations for subscription state badges (#305)
- Loading branch information
1 parent
0825ca6
commit 23fcf91
Showing
4 changed files
with
69 additions
and
31 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
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,21 @@ | ||
import { defineMessages } from '@edx/frontend-platform/i18n'; | ||
|
||
const messages = defineMessages({ | ||
'ecommerce.order.history.subscriptions.badge.active': { | ||
id: 'ecommerce.order.history.subscriptions.badge.active', | ||
defaultMessage: 'Active', | ||
description: 'Badge for active subscriptions', | ||
}, | ||
'ecommerce.order.history.subscriptions.badge.trial': { | ||
id: 'ecommerce.order.history.subscriptions.badge.trial', | ||
defaultMessage: 'Trial', | ||
description: 'Badge for trial subscriptions', | ||
}, | ||
'ecommerce.order.history.subscriptions.badge.inactive': { | ||
id: 'ecommerce.order.history.subscriptions.badge.inactive', | ||
defaultMessage: 'Inactive', | ||
description: 'Badge for inactive subscriptions', | ||
}, | ||
}); | ||
|
||
export default messages; |
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