提交 5a016291 编写于 作者: D Daniel P. Berrange

Add missing translations

上级 8f7e086f
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
......
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册