-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Move and rename taxonomy UI components to match 0002 ADR
- Loading branch information
Showing
9 changed files
with
67 additions
and
55 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
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,30 @@ | ||
import { defineMessages } from '@edx/frontend-platform/i18n'; | ||
|
||
const messages = defineMessages({ | ||
exportModalTitle: { | ||
id: 'course-authoring.taxonomy-list.modal.export.title', | ||
defaultMessage: 'Select format to export', | ||
}, | ||
exportModalBodyDescription: { | ||
id: 'course-authoring.taxonomy-list.modal.export.body', | ||
defaultMessage: 'Select the file format in which you would like the taxonomy to be exported:', | ||
}, | ||
exportModalSubmitButtonLabel: { | ||
id: 'course-authoring.taxonomy-list.modal.export.submit.label', | ||
defaultMessage: 'Export', | ||
}, | ||
taxonomyCSVFormat: { | ||
id: 'course-authoring.taxonomy-list.csv-format', | ||
defaultMessage: 'CSV file', | ||
}, | ||
taxonomyJSONFormat: { | ||
id: 'course-authoring.taxonomy-list.json-format', | ||
defaultMessage: 'JSON file', | ||
}, | ||
taxonomyModalsCancelLabel: { | ||
id: 'course-authoring.taxonomy-list.modal.cancel', | ||
defaultMessage: 'Cancel', | ||
}, | ||
}); | ||
|
||
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { defineMessages } from '@edx/frontend-platform/i18n'; | ||
|
||
const messages = defineMessages({ | ||
systemTaxonomyPopoverTitle: { | ||
id: 'course-authoring.taxonomy-list.popover.system-defined.title', | ||
defaultMessage: 'System taxonomy', | ||
}, | ||
systemTaxonomyPopoverBody: { | ||
id: 'course-authoring.taxonomy-list.popover.system-defined.body', | ||
defaultMessage: 'This is a system-level taxonomy and is enabled by default.', | ||
}, | ||
systemDefinedBadge: { | ||
id: 'course-authoring.taxonomy-list.badge.system-defined.label', | ||
defaultMessage: 'System-level', | ||
}, | ||
assignedToOrgsLabel: { | ||
id: 'course-authoring.taxonomy-list.orgs-count.label', | ||
defaultMessage: 'Assigned to {orgsCount} orgs', | ||
}, | ||
taxonomyCardExportMenu: { | ||
id: 'course-authoring.taxonomy-list.menu.export.label', | ||
defaultMessage: 'Export', | ||
}, | ||
taxonomyMenuAlt: { | ||
id: 'course-authoring.taxonomy-list.menu.alt', | ||
defaultMessage: '{name} menu', | ||
}, | ||
}); | ||
|
||
export default messages; |