misc: unify terminology
8+3 filename → 8.3 filename
be ware → beware
{cannot, can not, can't, could not, couldn't} → unable to
familly → family
file name → filename
informations → information
plateform → platform
trial → attempt
trying to → attempting to
{web-server, webserver} → Web server
Change-Id: I33b1a0091b5af4f0f055bd4c21b2a05a39adbc50
GitLab: https://git.jami.net/savoirfairelinux/jami-client-qt/issues/1730
diff --git a/src/upnp/upnp_context.cpp b/src/upnp/upnp_context.cpp
index b7ec7c9..5a3d8a2 100644
--- a/src/upnp/upnp_context.cpp
+++ b/src/upnp/upnp_context.cpp
@@ -395,7 +395,7 @@
}
if (mapPtr->isAvailable()) {
- if (logger_) logger_->warn("Trying to release an unused mapping {}", mapPtr->toString());
+ if (logger_) logger_->warn("Attempting to release an unused mapping {}", mapPtr->toString());
return;
}
@@ -488,7 +488,7 @@
}
// Very unlikely to get here.
- if (logger_) logger_->error("Could not find an available port after {} trials", MAX_REQUEST_RETRIES);
+ if (logger_) logger_->error("Unable to find an available port after {} attempts", MAX_REQUEST_RETRIES);
return 0;
}
@@ -534,7 +534,7 @@
registerMapping(map);
} else {
// Very unlikely to get here!
- if (logger_) logger_->error("Cannot provision port: no available port number");
+ if (logger_) logger_->error("Unable to provision port: no available port number");
return;
}
}
@@ -609,7 +609,7 @@
currentIgd_->getUID(),
currentIgd_->toString());
} else {
- if (logger_) logger_->warn("Couldn't update current IGD: no valid IGD was found");
+ if (logger_) logger_->warn("Unable to update current IGD: no valid IGD was found");
}
}
@@ -680,7 +680,7 @@
const auto& igd = getCurrentIgd();
if (!igd) {
- if (logger_) logger_->debug("Cannot renew mappings: no valid IGD available");
+ if (logger_) logger_->debug("Unable to renew mappings: no valid IGD available");
return;
}
@@ -1223,7 +1223,7 @@
if (logger_) logger_->debug("Unregistered mapping {}", map->toString());
} else {
// The mapping may already be un-registered. Just ignore it.
- if (logger_) logger_->debug("Can't unregister mapping {} [{}] since it doesn't have a local match",
+ if (logger_) logger_->debug("Unable to unregister mapping {} [{}] since it doesn't have a local match",
map->toString(),
map->getProtocolName());
}