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({ ...@@ -25,10 +25,6 @@ var defaultMessages = defineMessages({
id: 'general.messages', id: 'general.messages',
defaultMessage: 'Messages' defaultMessage: 'Messages'
}, },
myClasses: {
id: 'general.myClasses',
defaultMessage: 'My Classes'
},
myStuff: { myStuff: {
id: 'general.myStuff', id: 'general.myStuff',
defaultMessage: 'My Stuff' defaultMessage: 'My Stuff'
...@@ -288,7 +284,9 @@ var Navigation = React.createClass({ ...@@ -288,7 +284,9 @@ var Navigation = React.createClass({
{this.state.session.permissions.educator ? [ {this.state.session.permissions.educator ? [
<li> <li>
<a href="/educators/classes/"> <a href="/educators/classes/">
<FormattedMessage {...defaultMessages.myClasses} /> <FormattedMessage
id='general.myClasses'
defaultMessage={'My Classes'} />
</a> </a>
</li> </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