Fix a few typos in error messages

Fixes: https://gitlab.com/libvirt/libvirt/-/issues/722
Reported-by: Göran Uddeborg <goeran@uddeborg.se>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Jiri Denemark 2024-12-17 12:04:07 +01:00
parent 62658bbf06
commit 9e227634d3
5 changed files with 5 additions and 5 deletions

View File

@ -370,7 +370,7 @@ esxVI_CURL_Download(esxVI_CURL *curl, const char *url, char **content,
*/
if (*length > INT32_MAX / 2) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
_("Download length it too large"));
_("Download length is too large"));
return -1;
}

View File

@ -97,7 +97,7 @@ virNetworkLoadDriverConfig(virNetworkDriverConfig *cfg G_GNUC_UNUSED,
if (fwBackends[0] < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR,
_("unrecognized 'firewall_backend = '%1$s' set in network driver config file %2$s"),
_("unrecognized firewall_backend = '%1$s' set in network driver config file %2$s"),
fwBackendStr, filename);
return -1;
}

View File

@ -1643,7 +1643,7 @@ qemuDomainDefVcpusPostParse(virDomainDef *def)
/* they can be ordered only at the beginning */
if (prevvcpu->hotpluggable == VIR_TRISTATE_BOOL_YES) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("online non-hotpluggable vcpus need to be ordered prior to hotplugable vcpus"));
_("online non-hotpluggable vcpus need to be ordered prior to hotpluggable vcpus"));
return -1;
}

View File

@ -374,7 +374,7 @@ AppArmorGenSecurityLabel(virSecurityManager *mgr G_GNUC_UNUSED,
if (secdef->baselabel) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
"%s", _("Cannot set a base label with AppArmour"));
"%s", _("Cannot set a base label with AppArmor"));
return -1;
}

View File

@ -2703,7 +2703,7 @@ static int prlsdkCheckVideoUnsupportedParams(virDomainDef *def)
return 0;
} else {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("Video adapters are not supported int containers."));
_("Video adapters are not supported in containers."));
return -1;
}
} else {