Skip to content

Commit

Permalink
changing preview button to react preview
Browse files Browse the repository at this point in the history
  • Loading branch information
dlopezalvas committed Nov 28, 2024
1 parent 8e0f6a3 commit 7ccd415
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions locales/en-us/creator.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@
"copyToClipboard": "Copy to clipboard",
"copiedToClipboard": "Copied to clipboard",
"oldPreview": "Challenge preview",
"oldPreviewShort": "Preview",
"preview": "Challenge preview - React",
"previewShort": "React",
"oldPreviewShort": "Ember",
"preview": "Challenge preview",
"previewShort": "Preview",
"keepEditing": "Keep editing",
"keepEditingShort": "Edit",
"creator": "Select character",
Expand Down
8 changes: 4 additions & 4 deletions locales/es-ar/creator.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@
"save": "Guardar desafío",
"saveShort": "Guardar",
"savedCorrectly": "El desafío fue guardado correctamente",
"oldPreview": "Ver desafío",
"oldPreviewShort": "Ver",
"preview": "Ver desafío - React",
"previewShort": "React",
"oldPreview": "Ver desafío - Ember",
"oldPreviewShort": "Ember",
"preview": "Ver desafío",
"previewShort": "Ver",
"keepEditing": "Seguir editando",
"keepEditingShort": "Editar",
"creator": "Seleccionar personaje",
Expand Down
8 changes: 4 additions & 4 deletions locales/pt-br/creator.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@
"save": "Salvar desafio",
"saveShort": "Salvar",
"savedCorrectly": "O desafio foi salvo com sucesso",
"oldPreview": "Ver desafio",
"oldPreviewShort": "Ver",
"preview": "Ver desafio - React",
"previewShort": "React",
"oldPreview": "Ver desafio - Ember",
"oldPreviewShort": "Ember",
"preview": "Ver desafio",
"previewShort": "Ver",
"keepEditing": "Continuar editando",
"keepEditingShort": "Editar",
"creator": "Selecionar personagem",
Expand Down
2 changes: 1 addition & 1 deletion src/components/creator/Editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const CreatorEditor = () => {
<Header CenterComponent={<BetaBadge smaller={true}>
<HeaderText text={t("editor.editorHeader")} />
</BetaBadge>}
SubHeader={<EditorSubHeader viewButton={<EmberPreviewButton />} reactViewButton={shouldShow ? <PreviewButton /> : undefined } />} />
SubHeader={<EditorSubHeader viewButton={shouldShow ? <EmberPreviewButton /> : undefined} reactViewButton={<PreviewButton /> } />} />
<Stack justifyContent="center" height="100%" width="100%" sx={{ maxWidth: 'var(--creator-max-width)', maxHeight: 'var(--creator-max-height)' }}>
<SceneEdition />
</Stack>
Expand Down

0 comments on commit 7ccd415

Please sign in to comment.