"Cancelled" to US spelling.
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ namespace pipedal
|
|||||||
ReleaseFunctions();
|
ReleaseFunctions();
|
||||||
if (cancelled)
|
if (cancelled)
|
||||||
{
|
{
|
||||||
throw std::logic_error("Cancelled.");
|
throw std::logic_error("Canceled.");
|
||||||
}
|
}
|
||||||
if (rejected)
|
if (rejected)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ public:
|
|||||||
virtual const char *what() const noexcept override
|
virtual const char *what() const noexcept override
|
||||||
{
|
{
|
||||||
std::exception::what();
|
std::exception::what();
|
||||||
return "Cancelled.";
|
return "Canceled.";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1124,7 +1124,7 @@ std::string Tone3000DownloaderImpl::DownloadTone3000Files(
|
|||||||
// {
|
// {
|
||||||
// if (isCancelled())
|
// if (isCancelled())
|
||||||
// {
|
// {
|
||||||
// throw std::runtime_error("Cancelled");
|
// throw std::runtime_error("Canceled");
|
||||||
// }
|
// }
|
||||||
// size_t thisTime = models.size() - downloadIndex;
|
// size_t thisTime = models.size() - downloadIndex;
|
||||||
// thisTime = Tone3000Throttler::instance().ReserveDownloadSlots(thisTime);
|
// thisTime = Tone3000Throttler::instance().ReserveDownloadSlots(thisTime);
|
||||||
@@ -1159,7 +1159,7 @@ std::string Tone3000DownloaderImpl::DownloadTone3000Files(
|
|||||||
|
|
||||||
// if (isCancelled())
|
// if (isCancelled())
|
||||||
// {
|
// {
|
||||||
// throw std::runtime_error("Cancelled");
|
// throw std::runtime_error("Canceled");
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// if (result != 200)
|
// if (result != 200)
|
||||||
@@ -1198,7 +1198,7 @@ std::string Tone3000DownloaderImpl::DownloadTone3000Files(
|
|||||||
// std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
// std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||||
// if (isCancelled())
|
// if (isCancelled())
|
||||||
// {
|
// {
|
||||||
// throw std::runtime_error("Cancelled");
|
// throw std::runtime_error("Canceled");
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// if (CurlGet(imageUrl, imageFile.Path(), &imageHeaders) == 200)
|
// if (CurlGet(imageUrl, imageFile.Path(), &imageHeaders) == 200)
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ export default class UploadFileDialog extends ResizeResponsiveComponent<UploadFi
|
|||||||
for (let upload of this.uploadList) {
|
for (let upload of this.uploadList) {
|
||||||
if (upload.status === FileUploadStatus.Ready || upload.status === FileUploadStatus.Uploading) {
|
if (upload.status === FileUploadStatus.Ready || upload.status === FileUploadStatus.Uploading) {
|
||||||
upload.status = FileUploadStatus.Cancelled;
|
upload.status = FileUploadStatus.Cancelled;
|
||||||
upload.statusMessage = "Cancelled.";
|
upload.statusMessage = "Canceled.";
|
||||||
}
|
}
|
||||||
if (upload.abortController) {
|
if (upload.abortController) {
|
||||||
upload.abortController.abort();
|
upload.abortController.abort();
|
||||||
|
|||||||
Reference in New Issue
Block a user