Merge pull request #1472 from gonzalo-bulnes/fix-user-facing-misspellings

Fix user-facing misspelling, improve a few user-facing strings
pull/1474/head
Piero Toffanin 2024-02-16 09:58:46 -05:00 zatwierdzone przez GitHub
commit 4cd3618442
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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.")});
});
}

Wyświetl plik

@ -159,7 +159,7 @@ class ProcessingNodeOption extends React.Component {
let loadFileControl = "";
if (this.supportsFileAPI() && this.props.domain === 'json'){
loadFileControl = ([
<button key="btn" type="file" className="btn glyphicon glyphicon-import btn-primary" data-toggle="tooltip" data-placement="left" title={_("Click to import a .JSON file")} onClick={() => this.loadFile()}></button>,
<button key="btn" type="file" className="btn glyphicon glyphicon-import btn-primary" data-toggle="tooltip" data-placement="left" title={_("Click to import a JSON file")} onClick={() => this.loadFile()}></button>,
<input key="file-ctrl" className="file-control" type="file"
accept="text/plain,application/json,application/geo+json,.geojson"
onChange={this.handleFileSelect}

Wyświetl plik

@ -225,7 +225,7 @@ class ProjectListItem extends React.Component {
totalCount: this.state.upload.totalCount - 1,
totalBytes: this.state.upload.totalBytes - file.size
});
throw new Error(interpolate(_('Cannot upload %(filename)s, File too Large! Default MaxFileSize is %(maxFileSize)s MB!'), { filename: file.name, maxFileSize: this.dz.options.maxFilesize }));
throw new Error(interpolate(_('Cannot upload %(filename)s, file is too large! Default MaxFileSize is %(maxFileSize)s MB!'), { filename: file.name, maxFileSize: this.dz.options.maxFilesize }));
}
retry();
}else{