Add missing _(...) around 2 error messages in test driver
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
db582fa25f
commit
7c7d01e15f
@ -2203,7 +2203,7 @@ testDomainSetVcpusFlags(virDomainPtr domain, unsigned int nrCpus,
|
|||||||
|
|
||||||
if (nrCpus > maxvcpus) {
|
if (nrCpus > maxvcpus) {
|
||||||
testError(VIR_ERR_INVALID_ARG,
|
testError(VIR_ERR_INVALID_ARG,
|
||||||
"requested cpu amount exceeds maximum (%d > %d)",
|
_("requested cpu amount exceeds maximum (%d > %d)"),
|
||||||
nrCpus, maxvcpus);
|
nrCpus, maxvcpus);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
@ -4057,7 +4057,7 @@ testStorageFindPoolSources(virConnectPtr conn ATTRIBUTE_UNUSED,
|
|||||||
case VIR_STORAGE_POOL_NETFS:
|
case VIR_STORAGE_POOL_NETFS:
|
||||||
if (!source || !source->hosts[0].name) {
|
if (!source || !source->hosts[0].name) {
|
||||||
testError(VIR_ERR_INVALID_ARG,
|
testError(VIR_ERR_INVALID_ARG,
|
||||||
"%s", "hostname must be specified for netfs sources");
|
"%s", _("hostname must be specified for netfs sources"));
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user