diff --git a/src/lib/extensions.js b/src/lib/extensions.js index f173f58a2..5ad131308 100644 --- a/src/lib/extensions.js +++ b/src/lib/extensions.js @@ -5,25 +5,25 @@ const EXTENSION_INFO = { hasStatus: true }, music: { - l10nId: 'preview.musicExtensionChip', + l10nId: 'project.musicExtensionChip', icon: 'extension-music.svg' }, pen: { - l10nId: 'preview.penExtensionChip', + l10nId: 'project.penExtensionChip', icon: 'extension-pen.svg' }, speak: { name: 'Amazon Polly' }, speech: { - l10nId: 'preview.speechExtensionChip' + l10nId: 'project.speechExtensionChip' }, translate: { - l10nId: 'preview.translateExtensionChip', + l10nId: 'project.translateExtensionChip', icon: 'extension-translate.svg' }, videoSensing: { - l10nId: 'preview.videoMotionChip', + l10nId: 'project.videoMotionChip', icon: 'extension-videomotion.svg' }, wedo2: { diff --git a/src/views/preview/extension-chip.jsx b/src/views/preview/extension-chip.jsx index aecdc2724..7ed7bbc28 100644 --- a/src/views/preview/extension-chip.jsx +++ b/src/views/preview/extension-chip.jsx @@ -19,7 +19,7 @@ const ExtensionChip = props => ( } {props.hasStatus && (
- +
)} diff --git a/src/views/preview/l10n.json b/src/views/preview/l10n.json index 2cfa687f4..0fe42f293 100644 --- a/src/views/preview/l10n.json +++ b/src/views/preview/l10n.json @@ -2,23 +2,23 @@ "addToStudio.title": "Add to Studio", "addToStudio.finishing": "Finishing up...", "addToStudio.inviteUser": "Invite user to add to studio", - "preview.titleMaxLength": "Title is too long", - "preview.musicExtensionChip": "Music", - "preview.penExtensionChip": "Pen", - "preview.speechExtensionChip": "Google Speech", - "preview.translateExtensionChip": "Google Translate", - "preview.videoMotionChip": "Video Motion", - "preview.needsConnection": "Needs Connection", - "preview.comments.header": "Comments", - "preview.comments.turnOff": "Turn off commenting", - "preview.comments.turnedOff": "Sorry, comment posting has been turned off for this project.", - "preview.share.notShared": "This project is not shared — so only you can see it. Click share to let everyone see it!", - "preview.share.shareButton": "Share", - "preview.seeInsideButton": "See inside", - "preview.remixButton": "Remix", - "preview.remixes": "Remixes", - "preview.inviteToRemix": "Invite user to remix", - "preview.instructionsLabel": "Instructions", - "preview.notesAndCreditsLabel": "Notes and Credits", - "preview.credit": "Thanks to {userLink} for the original project {projectLink}." + "project.titleMaxLength": "Title is too long", + "project.musicExtensionChip": "Music", + "project.penExtensionChip": "Pen", + "project.speechExtensionChip": "Google Speech", + "project.translateExtensionChip": "Google Translate", + "project.videoMotionChip": "Video Motion", + "project.needsConnection": "Needs Connection", + "project.comments.header": "Comments", + "project.comments.turnOff": "Turn off commenting", + "project.comments.turnedOff": "Sorry, comment posting has been turned off for this project.", + "project.share.notShared": "This project is not shared — so only you can see it. Click share to let everyone see it!", + "project.share.shareButton": "Share", + "project.seeInsideButton": "See inside", + "project.remixButton": "Remix", + "project.remixes": "Remixes", + "project.inviteToRemix": "Invite user to remix", + "project.instructionsLabel": "Instructions", + "project.notesAndCreditsLabel": "Notes and Credits", + "project.credit": "Thanks to {userLink} for the original project {projectLink}." } diff --git a/src/views/preview/presentation.jsx b/src/views/preview/presentation.jsx index 28fe9877c..f55e438e3 100644 --- a/src/views/preview/presentation.jsx +++ b/src/views/preview/presentation.jsx @@ -114,7 +114,7 @@ const PreviewPresentation = ({ name="title" validationErrors={{ maxLength: intl.formatMessage({ - id: 'preview.titleMaxLength' + id: 'project.titleMaxLength' }) }} validations={{ @@ -140,14 +140,14 @@ const PreviewPresentation = ({ {/* TODO: Hide Remix button for now until implemented */} {(!userOwnsProject && false) && } @@ -213,7 +213,7 @@ const PreviewPresentation = ({
- +
{editable ?
- +
{editable ?
-

+

{userOwnsProject ? (
) : null} @@ -354,7 +354,7 @@ const PreviewPresentation = ({ ) ) : (
- +
)}
diff --git a/src/views/preview/remix-credit.jsx b/src/views/preview/remix-credit.jsx index b11359f6f..52a7744ef 100644 --- a/src/views/preview/remix-credit.jsx +++ b/src/views/preview/remix-credit.jsx @@ -15,7 +15,7 @@ const RemixCredit = props => { />
diff --git a/src/views/preview/remix-list.jsx b/src/views/preview/remix-list.jsx index 684f489f0..485557afa 100644 --- a/src/views/preview/remix-list.jsx +++ b/src/views/preview/remix-list.jsx @@ -11,11 +11,11 @@ const RemixList = props => { return (
- +
{remixes.length === 0 ? ( // TODO: style remix invitation - + ) : ( (
- +