Typos in texts corrected
This commit is contained in:
parent
0f3fa61be2
commit
f05b7c57bc
|
@ -58,7 +58,7 @@ exports.run = async (application, param, tmp_path) => {
|
|||
}
|
||||
else if (response.status == 400) {
|
||||
console.log('invalid request')
|
||||
error = `<h3>${application}</h3><br />Most likely there are an issue with either your geometry file, your parameters or both`
|
||||
error = `<h3>${application}</h3><br />Most likely, there is an issue with either your geometry file, your parameters or both`
|
||||
}
|
||||
else if (response.status == 500) {
|
||||
console.log('API Error')
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
a result, it provides the energy and electrical demand, the energy consumption and the peak loads for
|
||||
heating, cooling, lighting and appliances.</div>
|
||||
<div>All of these results are provided on both a monthly and a yearly basis.</div>
|
||||
<div> the design of this workflow, the following assumptions are made:</div>
|
||||
<div class="p-3">In the design of this workflow, the following assumptions are made:</div>
|
||||
<ul>
|
||||
<li>No building in the region has attics</li>
|
||||
<li>All buildings have basements but those are not heated</li>
|
||||
|
|
|
@ -94,11 +94,11 @@ exports.run = async (application, param, tmp_path) => {
|
|||
}
|
||||
else if (response.status == 400) {
|
||||
console.log('invalid request')
|
||||
error = '<h3>Insel Meb failed</h3><br />Most likely there are an issue with either your geometry file, your parameters or both'
|
||||
error = `<h3>${application} failed</h3><br />Most likely, there is an issue with either your geometry file, your parameters or both`
|
||||
}
|
||||
else if (response.status == 500) {
|
||||
console.log('API Error')
|
||||
error = '<h3>Insel Meb failed</h3><br />There are an error in the API side.'
|
||||
error = `<h3>${application} failed</h3><br />There is an error in the API side.`
|
||||
}
|
||||
BrowserWindow.fromId(1).webContents.send('task-completed', error)
|
||||
results = await response.json()
|
||||
|
|
Loading…
Reference in New Issue
Block a user