Author: jkupec Date: Sat Aug 2 20:32:08 2008 New Revision: 10732 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10732&view=rev Log: - compile Modified: trunk/libzypp/zypp/parser/RepoindexFileReader.cc Modified: trunk/libzypp/zypp/parser/RepoindexFileReader.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/parser/RepoindexFileReader.cc?rev=10732&r1=10731&r2=10732&view=diff ============================================================================== --- trunk/libzypp/zypp/parser/RepoindexFileReader.cc (original) +++ trunk/libzypp/zypp/parser/RepoindexFileReader.cc Sat Aug 2 20:32:08 2008 @@ -13,6 +13,7 @@ #include "zypp/base/String.h" #include "zypp/base/Logger.h" +#include "zypp/base/Gettext.h" #include "zypp/RepoInfo.h" @@ -110,7 +111,7 @@ path_s = s.asString(); if (url_s.empty() && path_s.empty()) - throw ParseException(_("One or both of 'url' or 'path' attributes is required.")); + throw ParseException(str::form(_("One or both of '%s' or '%s' attributes is required."), "url", "path")); //! \todo FIXME this hardcodes the "/repo/" fragment - should not be if we want it to be usable by others! else if (url_s.empty()) info.setPath(Pathname(string("/repo/") + path_s)); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org