mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-27 05:11:42 -04:00
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
This commit is contained in:
parent
9c6cf5f449
commit
961d97eb67
1 changed files with 3 additions and 5 deletions
|
@ -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>
|
||||
] : []}
|
||||
|
|
Loading…
Add table
Reference in a new issue