Typos in texts corrected

This commit is contained in:
Guille 2024-05-14 16:32:18 +02:00
parent 0f3fa61be2
commit f05b7c57bc
3 changed files with 4 additions and 4 deletions

View File

@ -58,7 +58,7 @@ exports.run = async (application, param, tmp_path) => {
} }
else if (response.status == 400) { else if (response.status == 400) {
console.log('invalid request') 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) { else if (response.status == 500) {
console.log('API Error') console.log('API Error')

View File

@ -17,7 +17,7 @@
a result, it provides the energy and electrical demand, the energy consumption and the peak loads for a result, it provides the energy and electrical demand, the energy consumption and the peak loads for
heating, cooling, lighting and appliances.</div> heating, cooling, lighting and appliances.</div>
<div>All of these results are provided on both a monthly and a yearly basis.</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> <ul>
<li>No building in the region has attics</li> <li>No building in the region has attics</li>
<li>All buildings have basements but those are not heated</li> <li>All buildings have basements but those are not heated</li>

View File

@ -94,11 +94,11 @@ exports.run = async (application, param, tmp_path) => {
} }
else if (response.status == 400) { else if (response.status == 400) {
console.log('invalid request') 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) { else if (response.status == 500) {
console.log('API Error') 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) BrowserWindow.fromId(1).webContents.send('task-completed', error)
results = await response.json() results = await response.json()