* Adding frontend-builder and frontend-core stubs * gatsby stub added * Remove gatsby stuff. * Reorganization of top level app. Some naming TBD. * Review feedback. * Various config improvements - Adding APP_ERROR handler for top level errors. - Splitting footer config out of main app config. - Simplifying config variables and deriving some from others in the files that need them. * Use App.error() * Improving exports/imports from frontend-core * Moving header and footer out of src. Getting rid of “common” * Setting authentication directlty from App.authentication in AppProvider. * Switching over to using frontend-base. Updating a bunch of dependencies to their latest versions in the process. * Bumping versions of frontend-base and frontend-auth * Getting tests working again. * Addressing review feedback and bumping to a newer version of frontend-base. * Removing unneeded eslint disable lines. * Updating usage of frontend-logging to remove deprecated method names. * Bumping node-sass version to 4.12.0 - hopefully fixes node 12 build * css-loader now requires cssnano for minification * fix: couldn’t set preferred language visibility.
62 lines
1.9 KiB
JavaScript
62 lines
1.9 KiB
JavaScript
import { defineMessages } from '@edx/frontend-i18n';
|
|
|
|
const messages = defineMessages({
|
|
'siteheader.links.courses': {
|
|
id: 'siteheader.links.courses',
|
|
defaultMessage: 'Courses',
|
|
description: 'Link to the learner course dashboard',
|
|
},
|
|
'siteheader.links.programs': {
|
|
id: 'siteheader.links.programs',
|
|
defaultMessage: 'Programs',
|
|
description: 'Link to the learner program dashboard',
|
|
},
|
|
'siteheader.links.content.search': {
|
|
id: 'siteheader.links.content.search',
|
|
defaultMessage: 'Discover New',
|
|
description: 'Link to the content search page',
|
|
},
|
|
'siteheader.links.schools': {
|
|
id: 'siteheader.links.schools',
|
|
defaultMessage: 'Schools & Partners',
|
|
description: 'Link to the schools and partners landing page',
|
|
},
|
|
'siteheader.user.menu.dashboard': {
|
|
id: 'siteheader.user.menu.dashboard',
|
|
defaultMessage: 'Dashboard',
|
|
description: 'Link to the user dashboard',
|
|
},
|
|
'siteheader.user.menu.profile': {
|
|
id: 'siteheader.user.menu.profile',
|
|
defaultMessage: 'Profile',
|
|
description: 'Link to the user profile',
|
|
},
|
|
'siteheader.user.menu.account.settings': {
|
|
id: 'siteheader.user.menu.account.settings',
|
|
defaultMessage: 'Account',
|
|
description: 'Link to account settings',
|
|
},
|
|
'siteheader.user.menu.order.history': {
|
|
id: 'siteheader.user.menu.order.history',
|
|
defaultMessage: 'Order History',
|
|
description: 'Link to order history',
|
|
},
|
|
'siteheader.user.menu.logout': {
|
|
id: 'siteheader.user.menu.logout',
|
|
defaultMessage: 'Logout',
|
|
description: 'Logout link',
|
|
},
|
|
'siteheader.user.menu.login': {
|
|
id: 'siteheader.user.menu.login',
|
|
defaultMessage: 'Login',
|
|
description: 'Login link',
|
|
},
|
|
'siteheader.user.menu.register': {
|
|
id: 'siteheader.user.menu.register',
|
|
defaultMessage: 'Sign Up',
|
|
description: 'Link to registration',
|
|
},
|
|
});
|
|
|
|
export default messages;
|