Porównaj commity

...

4 Commity

Autor SHA1 Wiadomość Data
Piero Toffanin 4cd3618442
Merge pull request #1472 from gonzalo-bulnes/fix-user-facing-misspellings
Fix user-facing misspelling, improve a few user-facing strings
2024-02-16 09:58:46 -05:00
Gonzalo Bulnes Guilpain 9209b52a19
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.
2024-02-16 11:51:44 +00:00
Piero Toffanin 8150b822d9
Merge pull request #1468 from gonzalo-bulnes/add-task-id-to-expanded-list-item
Add task ID to expanded list item
2024-02-13 10:47:30 -05:00
Gonzalo Bulnes Guilpain 02b4061379
Add task ID to expanded list item
This ID is useful to locate the task directory for inspection.

Because it is fairly long, it seemed better to keep it relatively
low in the list of properties to avoid making the essential information
more difficult to read or skim through.

Yet placing it above the task output minimizes movement when the console
is toggled open.

See https://community.opendronemap.org/t/19285
2024-02-13 12:52:55 +00:00
4 zmienionych plików z 7 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{

Wyświetl plik

@ -578,6 +578,10 @@ class TaskListItem extends React.Component {
<td><strong>{_("Disk Usage:")}</strong></td>
<td>{Utils.bytesToSize(task.size * 1024 * 1024)}</td>
</tr>}
<tr>
<td><strong>{_("Task ID:")}</strong></td>
<td>{task.id}</td>
</tr>
<tr>
<td><strong>{_("Task Output:")}</strong></td>
<td><div className="btn-group btn-toggle">