kopia lustrzana https://github.com/OpenDroneMap/WebODM
Merge pull request #1472 from gonzalo-bulnes/fix-user-facing-misspellings
Fix user-facing misspelling, improve a few user-facing stringspull/1474/head
commit
4cd3618442
|
@ -53,7 +53,7 @@ class EditTaskPanel extends React.Component {
|
||||||
this.setState({saving: false});
|
this.setState({saving: false});
|
||||||
this.props.onSave(json);
|
this.props.onSave(json);
|
||||||
}).fail(() => {
|
}).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.")});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -159,7 +159,7 @@ class ProcessingNodeOption extends React.Component {
|
||||||
let loadFileControl = "";
|
let loadFileControl = "";
|
||||||
if (this.supportsFileAPI() && this.props.domain === 'json'){
|
if (this.supportsFileAPI() && this.props.domain === 'json'){
|
||||||
loadFileControl = ([
|
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"
|
<input key="file-ctrl" className="file-control" type="file"
|
||||||
accept="text/plain,application/json,application/geo+json,.geojson"
|
accept="text/plain,application/json,application/geo+json,.geojson"
|
||||||
onChange={this.handleFileSelect}
|
onChange={this.handleFileSelect}
|
||||||
|
|
|
@ -225,7 +225,7 @@ class ProjectListItem extends React.Component {
|
||||||
totalCount: this.state.upload.totalCount - 1,
|
totalCount: this.state.upload.totalCount - 1,
|
||||||
totalBytes: this.state.upload.totalBytes - file.size
|
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();
|
retry();
|
||||||
}else{
|
}else{
|
||||||
|
|
Ładowanie…
Reference in New Issue