[libvirt] [PATCH] Mark all error messages for translation
Jiri Denemark
jdenemar at redhat.com
Thu Feb 11 16:03:39 UTC 2010
> > diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
> > index eb1c9d9..2352637 100644
> > --- a/src/conf/storage_conf.c
> > +++ b/src/conf/storage_conf.c
> > @@ -1464,7 +1464,7 @@ virStoragePoolObjLoad(virStoragePoolObjListPtr pools,
> >
> > if (!virFileMatchesNameSuffix(file, def->name, ".xml")) {
> > 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);
> > virStoragePoolDefFree(def);
> > return NULL;
...
> Yup raised by "make syntax-check", ACK,
Exactly, as was the previous patch. I pushed both syntax patches.
> BTW the rule is that if something breaks "make", "make check" or
> "make syntax-check", it's fine to commit the fix first (assuming it's
> not controversial i.e. something patchform specific)
OK, I'll remember it for next time :-)
Jirka
More information about the libvir-list
mailing list