mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Add missing _(...) around 2 error messages in test driver
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user