if (virtualMachine) {
/* FIXME */
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Domain already exists, editing existing domains is not "
- "supported yet"));
+ _("Domain already exists, editing existing domains is not supported yet"));
goto cleanup;
}
*/
if (def->ndisks < 1) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Domain XML doesn't contain any disks, cannot deduce "
- "datastore and path for VMX file"));
+ _("Domain XML doesn't contain any disks, cannot deduce datastore and path for VMX file"));
goto cleanup;
}
if (!disk) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Domain XML doesn't contain any file-based harddisks, "
- "cannot deduce datastore and path for VMX file"));
+ _("Domain XML doesn't contain any file-based harddisks, cannot deduce datastore and path for VMX file"));
goto cleanup;
}
src = virDomainDiskGetSource(disk);
if (!src) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("First file-based harddisk has no source, cannot deduce "
- "datastore and path for VMX file"));
+ _("First file-based harddisk has no source, cannot deduce datastore and path for VMX file"));
goto cleanup;
}
powerInfo = powerInfo->_next) {
if (STRNEQ(powerInfo->key->value, virtualMachine->obj->value)) {
virReportError(VIR_ERR_OPERATION_INVALID, "%s",
- _("Cannot enable general autostart option "
- "without affecting other domains"));
+ _("Cannot enable general autostart option without affecting other domains"));
goto cleanup;
}
}
if (STRCASENEQ(priv->vCenter->ipAddress, parsedUri->server)) {
virReportError(VIR_ERR_INVALID_ARG, "%s",
- _("Migration source and destination have to refer to "
- "the same vCenter"));
+ _("Migration source and destination have to refer to the same vCenter"));
goto cleanup;
}
eventList->fullFormattedMessage);
} else {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Could not migrate domain, validation reported a "
- "problem"));
+ _("Could not migrate domain, validation reported a problem"));
}
goto cleanup;
if (hostVirtualSwitch) {
/* FIXME */
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("HostVirtualSwitch already exists, editing existing "
- "ones is not supported yet"));
+ _("HostVirtualSwitch already exists, editing existing ones is not supported yet"));
goto cleanup;
}
if (!priv->primary->hasQueryVirtualDiskUuid) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("QueryVirtualDiskUuid not available, "
- "cannot lookup storage volume by UUID"));
+ _("QueryVirtualDiskUuid not available, cannot lookup storage volume by UUID"));
return NULL;
}
if ((tmp = strchr((*parsedUri)->proxy_hostname, ':'))) {
if (tmp == (*parsedUri)->proxy_hostname) {
virReportError(VIR_ERR_INVALID_ARG, "%s",
- _("Query parameter 'proxy' doesn't contain a "
- "hostname"));
+ _("Query parameter 'proxy' doesn't contain a hostname"));
goto cleanup;
}
if (responseCode < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("curl_easy_getinfo(CURLINFO_RESPONSE_CODE) returned a "
- "negative response code"));
+ _("curl_easy_getinfo(CURLINFO_RESPONSE_CODE) returned a negative response code"));
return -1;
}
{
if (!curl->handle) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Cannot remove uninitialized CURL handle from a "
- "multi handle"));
+ _("Cannot remove uninitialized CURL handle from a multi handle"));
return -1;
}
if (!curl->multi) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Cannot remove CURL handle from a multi handle when it "
- "wasn't added before"));
+ _("Cannot remove CURL handle from a multi handle when it wasn't added before"));
return -1;
}
}
} else if (STRNEQ(ctx->session->key, currentSession->key)) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("Key of the current session differs from the key at "
- "last login"));
+ _("Key of the current session differs from the key at last login"));
goto cleanup;
}
if (taskInfo->cancelable == esxVI_Boolean_True) {
if (esxVI_CancelTask(ctx, task) < 0 && blocked) {
- VIR_ERROR(_("Cancelable task is blocked by an "
- "unanswered question but cancellation "
- "failed"));
+ VIR_ERROR(_("Cancelable task is blocked by an unanswered question but cancellation failed"));
}
} else if (blocked) {
- VIR_ERROR(_("Non-cancelable task is blocked by an "
- "unanswered question"));
+ VIR_ERROR(_("Non-cancelable task is blocked by an unanswered question"));
}
/* FIXME: Enable error reporting here again */
if (!(*dateTime)->value) {
virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("XML node doesn't contain text, expecting an "
- "xsd:dateTime value"));
+ _("XML node doesn't contain text, expecting an xsd:dateTime value"));
goto failure;
}