提交 b2149d03 编写于 作者: J Jiri Denemark

Mark all error messages for translation

Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 796840d2
...@@ -1464,7 +1464,7 @@ virStoragePoolObjLoad(virStoragePoolObjListPtr pools, ...@@ -1464,7 +1464,7 @@ virStoragePoolObjLoad(virStoragePoolObjListPtr pools,
if (!virFileMatchesNameSuffix(file, def->name, ".xml")) { if (!virFileMatchesNameSuffix(file, def->name, ".xml")) {
virStorageReportError(VIR_ERR_INVALID_STORAGE_POOL, virStorageReportError(VIR_ERR_INVALID_STORAGE_POOL,
"Storage pool config filename '%s' does not match pool name '%s'", _("Storage pool config filename '%s' does not match pool name '%s'"),
path, def->name); path, def->name);
virStoragePoolDefFree(def); virStoragePoolDefFree(def);
return NULL; return NULL;
...@@ -1524,7 +1524,7 @@ virStoragePoolLoadAllConfigs(virStoragePoolObjListPtr pools, ...@@ -1524,7 +1524,7 @@ virStoragePoolLoadAllConfigs(virStoragePoolObjListPtr pools,
if (virFileBuildPath(configDir, entry->d_name, if (virFileBuildPath(configDir, entry->d_name,
NULL, path, PATH_MAX) < 0) { NULL, path, PATH_MAX) < 0) {
virStorageReportError(VIR_ERR_INTERNAL_ERROR, virStorageReportError(VIR_ERR_INTERNAL_ERROR,
"Config filename '%s/%s' is too long", _("Config filename '%s/%s' is too long"),
configDir, entry->d_name); configDir, entry->d_name);
continue; continue;
} }
...@@ -1532,7 +1532,7 @@ virStoragePoolLoadAllConfigs(virStoragePoolObjListPtr pools, ...@@ -1532,7 +1532,7 @@ virStoragePoolLoadAllConfigs(virStoragePoolObjListPtr pools,
if (virFileBuildPath(autostartDir, entry->d_name, if (virFileBuildPath(autostartDir, entry->d_name,
NULL, autostartLink, PATH_MAX) < 0) { NULL, autostartLink, PATH_MAX) < 0) {
virStorageReportError(VIR_ERR_INTERNAL_ERROR, virStorageReportError(VIR_ERR_INTERNAL_ERROR,
"Autostart link path '%s/%s' is too long", _("Autostart link path '%s/%s' is too long"),
autostartDir, entry->d_name); autostartDir, entry->d_name);
continue; continue;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册