Author: schubi2
Date: Wed Apr 9 16:26:23 2008
New Revision: 9485
URL: http://svn.opensuse.org/viewcvs/zypp?rev=9485&view=rev
Log:
removed translation flag for none user errormessages
Modified:
trunk/libzypp/zypp/Repository.cc
trunk/libzypp/zypp/base/InterProcessMutex.cc
trunk/libzypp/zypp/solver/detail/Helper.cc
trunk/libzypp/zypp/url/UrlBase.cc
Modified: trunk/libzypp/zypp/Repository.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Repository.cc?rev=9485&r1=9484&r2=9485&view=diff
==============================================================================
--- trunk/libzypp/zypp/Repository.cc (original)
+++ trunk/libzypp/zypp/Repository.cc Wed Apr 9 16:26:23 2008
@@ -98,10 +98,10 @@
void Repository::setInfo( const RepoInfo & info_r )
{
- NO_REPOSITORY_THROW( Exception( _("Can't set RepoInfo for norepo.") ) );
+ NO_REPOSITORY_THROW( Exception( "Can't set RepoInfo for norepo." ) );
if ( info_r.alias() != name() )
{
- ZYPP_THROW( Exception( str::form( _("RepoInfo alias (%s) does not match repository name (%s)"),
+ ZYPP_THROW( Exception( str::form( "RepoInfo alias (%s) does not match repository name (%s)",
info_r.alias().c_str(), name().c_str() ) ) );
}
myPool().setRepoInfo( _repo, info_r );
@@ -142,24 +142,24 @@
#warning NEED POOL MANIP EXEPTIONS
void Repository::addSolv( const Pathname & file_r )
{
- NO_REPOSITORY_THROW( Exception( _("Can't add solvables to norepo.") ) );
+ NO_REPOSITORY_THROW( Exception( "Can't add solvables to norepo." ) );
AutoDispose file( ::fopen( file_r.c_str(), "r" ), ::fclose );
if ( file == NULL )
{
file.resetDispose();
- ZYPP_THROW( Exception( _("Can't open solv-file: ")+file_r.asString() ) );
+ ZYPP_THROW( Exception( "Can't open solv-file: "+file_r.asString() ));
}
if ( myPool()._addSolv( _repo, file, isSystemRepo() ) != 0 )
{
- ZYPP_THROW( Exception( _("Error reading solv-file: ")+file_r.asString() ) );
+ ZYPP_THROW( Exception( "Error reading solv-file: "+file_r.asString() ));
}
}
sat::detail::SolvableIdType Repository::addSolvables( unsigned count_r )
{
- NO_REPOSITORY_THROW( Exception( _("Can't add solvables to norepo.") ) );
+ NO_REPOSITORY_THROW( Exception( "Can't add solvables to norepo.") );
return myPool()._addSolvables( _repo, count_r );
}
Modified: trunk/libzypp/zypp/base/InterProcessMutex.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/base/InterProcessMutex.cc?rev=9485&r1=9484&r2=9485&view=diff
==============================================================================
--- trunk/libzypp/zypp/base/InterProcessMutex.cc (original)
+++ trunk/libzypp/zypp/base/InterProcessMutex.cc Wed Apr 9 16:26:23 2008
@@ -76,7 +76,7 @@
_fd.reset( new Fd( lock_file, O_RDWR ) );
if ( !_fd->isOpen() )
{
- ZYPP_THROW(Exception(str::form(_("It %d, Can't open lock file: %s"), k, strerror(errno))));
+ ZYPP_THROW(Exception(str::form(_("Can't open lock file: %s"), strerror(errno))));
}
memset(&lock, 0, sizeof(struct flock));
Modified: trunk/libzypp/zypp/solver/detail/Helper.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/solver/detail/Helper.cc?rev=9485&r1=9484&r2=9485&view=diff
==============================================================================
--- trunk/libzypp/zypp/solver/detail/Helper.cc (original)
+++ trunk/libzypp/zypp/solver/detail/Helper.cc Wed Apr 9 16:26:23 2008
@@ -276,7 +276,7 @@
string alias = item->repoInfo().alias();
if (!alias.empty()
- && alias != "@system")
+ && alias != "@System")
{
os << '[' << alias << ']';
}
Modified: trunk/libzypp/zypp/url/UrlBase.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/url/UrlBase.cc?rev=9485&r1=9484&r2=9485&view=diff
==============================================================================
--- trunk/libzypp/zypp/url/UrlBase.cc (original)
+++ trunk/libzypp/zypp/url/UrlBase.cc Wed Apr 9 16:26:23 2008
@@ -724,7 +724,7 @@
config("vsep_pathparam").empty())
{
ZYPP_THROW(UrlNotSupportedException(
- _("Path parameter parsing not supported for this URL")
+ "Path parameter parsing not supported for this URL"
));
}
zypp::url::ParamMap pmap;
@@ -1181,7 +1181,7 @@
config("vsep_pathparam").empty())
{
ZYPP_THROW(UrlNotSupportedException(
- _("Path Parameter parsing not supported for this URL")
+ "Path Parameter parsing not supported for this URL"
));
}
setPathParams(
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org