Add missing translations

This commit is contained in:
Daniel P. Berrange 2008-11-25 11:18:08 +00:00
parent 8f7e086f19
commit 5a01629128
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
Tue Nov 25 11:17:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/xm_internal.c: Add missing _(...) calls to diagnostics
Tue Nov 25 10:49:40 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/Makefile.am: Remove unneccessary $(builddir) usage which

View File

@ -406,7 +406,7 @@ xenXMConfigCacheAddFile(virConnectPtr conn, const char *filename)
/* Get modified time */
if ((stat(filename, &st) < 0)) {
xenXMError (conn, VIR_ERR_INTERNAL_ERROR,
"cannot stat %s: %s", filename, strerror(errno));
_("cannot stat %s: %s"), filename, strerror(errno));
return -1;
}
@ -2729,7 +2729,7 @@ int xenXMDomainSetAutostart(virDomainPtr dom, int autostart)
if (symlink(config, linkname) < 0 &&
errno != EEXIST) {
xenXMError(dom->conn, VIR_ERR_INTERNAL_ERROR,
"failed to create link %s: %s",
_("failed to create link %s: %s"),
linkname, strerror(errno));
goto cleanup;
}
@ -2737,7 +2737,7 @@ int xenXMDomainSetAutostart(virDomainPtr dom, int autostart)
if (unlink(linkname) < 0 &&
errno != ENOENT) {
xenXMError(dom->conn, VIR_ERR_INTERNAL_ERROR,
"failed to remove link %s: %s",
_("failed to remove link %s: %s"),
linkname, strerror(errno));
goto cleanup;
}