Commit 961d97eb authored by Ray Schamp's avatar Ray Schamp

Use FormattedMessage for My Classes text

I had matched it to My Stuff, but that's different since the top nav needs the text for a title attribute. h/t @mewtaylor
parent 9c6cf5f4
......@@ -25,10 +25,6 @@ var defaultMessages = defineMessages({
id: 'general.messages',
defaultMessage: 'Messages'
},
myClasses: {
id: 'general.myClasses',
defaultMessage: 'My Classes'
},
myStuff: {
id: 'general.myStuff',
defaultMessage: 'My Stuff'
......@@ -288,7 +284,9 @@ var Navigation = React.createClass({
{this.state.session.permissions.educator ? [
<li>
<a href="/educators/classes/">
<FormattedMessage {...defaultMessages.myClasses} />
<FormattedMessage
id='general.myClasses'
defaultMessage={'My Classes'} />
</a>
</li>
] : []}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment