From 9209b52a19551549e58c957ec1b9422fef0abbed Mon Sep 17 00:00:00 2001 From: Gonzalo Bulnes Guilpain Date: Fri, 16 Feb 2024 04:54:23 +0000 Subject: [PATCH] Fix user-facing misspellings - Missing letter. - Both '.json' and 'JSON' are used in other strings, but '.JSON' doesn't seem as clear. - Fixed capitalization and added verb to ensure the sentence is readable. I don't think that reproducing the error message exactly helps making it more readable in this case, because it is unlikely that people reading it will recognize the capitals in the middle of the sentence as an exact quote of some program's output. --- app/static/app/js/components/EditTaskPanel.jsx | 2 +- app/static/app/js/components/ProcessingNodeOption.jsx | 2 +- app/static/app/js/components/ProjectListItem.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/static/app/js/components/EditTaskPanel.jsx b/app/static/app/js/components/EditTaskPanel.jsx index d15662c0..7cb2bb97 100644 --- a/app/static/app/js/components/EditTaskPanel.jsx +++ b/app/static/app/js/components/EditTaskPanel.jsx @@ -53,7 +53,7 @@ class EditTaskPanel extends React.Component { this.setState({saving: false}); this.props.onSave(json); }).fail(() => { - this.setState({saving: false, error: _("Could not update task information. Plese try again.")}); + this.setState({saving: false, error: _("Could not update task information. Please try again.")}); }); } diff --git a/app/static/app/js/components/ProcessingNodeOption.jsx b/app/static/app/js/components/ProcessingNodeOption.jsx index d643706e..09c78d36 100644 --- a/app/static/app/js/components/ProcessingNodeOption.jsx +++ b/app/static/app/js/components/ProcessingNodeOption.jsx @@ -159,7 +159,7 @@ class ProcessingNodeOption extends React.Component { let loadFileControl = ""; if (this.supportsFileAPI() && this.props.domain === 'json'){ loadFileControl = ([ - , + ,