Don't use dash in name

It's used for grouping in `build-locales`.
This commit is contained in:
Matthew Taylor 2016-06-13 09:41:12 -04:00
parent e5f274933b
commit 0c2a73a910
3 changed files with 15 additions and 15 deletions

View file

@ -14,11 +14,11 @@ var TeacherBanner = React.createClass({
getDefaultProps: function () { getDefaultProps: function () {
return { return {
messages: { messages: {
'teacher-banner.greeting': 'Hi', 'teacherbanner.greeting': 'Hi',
'teacher-banner.subgreeting': 'Teacher Account', 'teacherbanner.subgreeting': 'Teacher Account',
'teacher-banner.classesButton': 'My Classes', 'teacherbanner.classesButton': 'My Classes',
'teacher-banner.resourcesButton': 'Educator Resources', 'teacherbanner.resourcesButton': 'Educator Resources',
'teacher-banner.faqButton': 'Teacher Account FAQ' 'teacherbanner.faqButton': 'Teacher Account FAQ'
}, },
session: {} session: {}
}; };

View file

@ -23,11 +23,11 @@
"news.scratchNews": "Scratch News", "news.scratchNews": "Scratch News",
"teacher-banner.greeting": "Hi", "teacherbanner.greeting": "Hi",
"teacher-banner.subgreeting": "Teacher Account", "teacherbanner.subgreeting": "Teacher Account",
"teacher-banner.classesButton": "My Classes", "teacherbanner.classesButton": "My Classes",
"teacher-banner.resourcesButton": "Educator Resources", "teacherbanner.resourcesButton": "Educator Resources",
"teacher-banner.faqButton": "Teacher Account FAQ", "teacherbanner.faqButton": "Teacher Account FAQ",
"welcome.welcomeToScratch": "Welcome to Scratch!", "welcome.welcomeToScratch": "Welcome to Scratch!",
"welcome.learn": "Learn how to make a project in Scratch", "welcome.learn": "Learn how to make a project in Scratch",

View file

@ -351,11 +351,11 @@ var Splash = injectIntl(React.createClass({
'intro.seeExamples': formatMessage({id: 'intro.seeExamples'}), 'intro.seeExamples': formatMessage({id: 'intro.seeExamples'}),
'intro.tagLine': formatHTMLMessage({id: 'intro.tagLine'}), 'intro.tagLine': formatHTMLMessage({id: 'intro.tagLine'}),
'intro.tryItOut': formatMessage({id: 'intro.tryItOut'}), 'intro.tryItOut': formatMessage({id: 'intro.tryItOut'}),
'teacher-banner.greeting': formatMessage({id: 'teacher-banner.greeting'}), 'teacherbanner.greeting': formatMessage({id: 'teacherbanner.greeting'}),
'teacher-banner.subgreeting': formatMessage({id: 'teacher-banner.subgreeting'}), 'teacherbanner.subgreeting': formatMessage({id: 'teacherbanner.subgreeting'}),
'teacher-banner.classesButton': formatMessage({id: 'teacher-banner.classesButton'}), 'teacherbanner.classesButton': formatMessage({id: 'teacherbanner.classesButton'}),
'teacher-banner.resourcesButton': formatMessage({id: 'teacher-banner.resourcesButton'}), 'teacherbanner.resourcesButton': formatMessage({id: 'teacherbanner.resourcesButton'}),
'teacher-banner.faqButton': formatMessage({id: 'teacher-banner.faqButton'}) 'teacherbanner.faqButton': formatMessage({id: 'teacherbanner.faqButton'})
}; };
if (this.state.projectCount === this.getInitialState().projectCount) { if (this.state.projectCount === this.getInitialState().projectCount) {
messages['intro.description'] = formatHTMLMessage({id: 'intro.defaultDescription'}); messages['intro.description'] = formatHTMLMessage({id: 'intro.defaultDescription'});