Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions client/modules/IDE/pages/IDEView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,15 +457,15 @@ class IDEView extends React.Component {
<Overlay
title={this.props.t('IDEView.SubmitFeedback')}
previousPath={this.props.ide.previousPath}
ariaLabel="submit-feedback"
ariaLabel={this.props.t('IDEView.SubmitFeedbackARIA')}
>
<Feedback previousPath={this.props.ide.previousPath} />
</Overlay>
)}
{this.props.location.pathname.match(/add-to-collection$/) && (
<Overlay
ariaLabel="add to collection"
title="Add to collection"
ariaLabel={this.props.t('IDEView.AddCollectionARIA')}
title={this.props.t('IDEView.AddCollectionTitle')}
previousPath={this.props.ide.previousPath}
actions={<CollectionSearchbar />}
isFixedHeight
Expand All @@ -479,8 +479,8 @@ class IDEView extends React.Component {
)}
{this.props.ide.shareModalVisible && (
<Overlay
title="Share"
ariaLabel="share"
title={this.props.t('IDEView.ShareTitle')}
ariaLabel={this.props.t('IDEView.ShareARIA')}
closeOverlay={this.props.closeShareModal}
>
<ShareModal
Expand All @@ -501,8 +501,8 @@ class IDEView extends React.Component {
)}
{this.props.ide.errorType && (
<Overlay
title="Error"
ariaLabel={this.props.t('Common.Error')}
title={this.props.t('Common.Error')}
ariaLabel={this.props.t('Common.ErrorARIA')}
closeOverlay={this.props.hideErrorModal}
>
<ErrorModal
Expand Down
2 changes: 1 addition & 1 deletion client/modules/User/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export function updateSettings(formValues) {
dispatch(updateSettingsSuccess(response.data));
browserHistory.push('/');
dispatch(showToast(5500));
dispatch(setToastText('Settings saved.'));
dispatch(setToastText('Toast.SettingsSaved'));
})
.catch((error) => {
const { response } = error;
Expand Down
11 changes: 9 additions & 2 deletions translations/locales/en-US/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
"SketchSaved": "Sketch saved.",
"SketchFailedSave": "Failed to save sketch.",
"AutosaveEnabled": "Autosave enabled.",
"LangChange": "Language changed"
"LangChange": "Language changed",
"SettingsSaved": "Settings saved."
},
"Toolbar": {
"Preview": "Preview",
Expand Down Expand Up @@ -198,12 +199,18 @@
},
"Common": {
"Error": "Error",
"ErrorARIA": "Error",
"Save": "Save",
"p5logoARIA": "p5.js Logo",
"DeleteConfirmation": "Are you sure you want to delete {{name}}?"
},
"IDEView": {
"SubmitFeedback": "Submit Feedback"
"SubmitFeedback": "Submit Feedback",
"SubmitFeedbackARIA": "submit-feedback",
"AddCollectionTitle": "Add to collection",
"AddCollectionARIA":"add to collection",
"ShareTitle": "Share",
"ShareARIA":"share"
},
"NewFileModal": {
"Title": "Create File",
Expand Down
11 changes: 9 additions & 2 deletions translations/locales/es-419/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
"SketchSaved": "Bosquejo guardado.",
"SketchFailedSave": "Fallo al guardar el bosquejo.",
"AutosaveEnabled": "Grabado automático activado.",
"LangChange": "Lenguaje cambiado"
"LangChange": "Lenguaje cambiado",
"SettingsSaved": "Configuración guardada."
},
"Toolbar": {
"Preview": "Vista previa",
Expand Down Expand Up @@ -198,12 +199,18 @@
},
"Common": {
"Error": "Error",
"ErrorARIA": "Error",
"Save": "Guardar",
"p5logoARIA": "Logo p5.js ",
"DeleteConfirmation": "¿Estás seguro que quieres borrar {{name}}?"
},
"IDEView": {
"SubmitFeedback": "Enviar retroalimentación"
"SubmitFeedback": "Enviar retroalimentación",
"SubmitFeedbackARIA": "Enviar retroalimentación",
"AddCollectionTitle": "Agregar a colección",
"AddCollectionARIA":"Agregar a colección",
"ShareTitle": "Compartir",
"ShareARIA":"compartir"
},
"NewFileModal": {
"Title": "Crear Archivo",
Expand Down