Gettext.h File Reference

Interface to gettext. More...

Go to the source code of this file.

Namespaces

namespace  zypp
namespace  zypp::gettext

Defines

#define N_(MSG)   MSG
 Just tag text for translation.
#define _(MSG)   ::zypp::gettext::dgettext( MSG )
 Return translated text.
#define _PL(MSG1, MSG2, N)   ::zypp::gettext::dngettext( MSG1; MSG2, N )
 Return translated text (plural form).

Functions

const char * zypp::gettext::dgettext (const char *msgid)
 Return translated text.
const char * zypp::gettext::dngettext (const char *msgid1, const char *msgid2, unsigned long n)
 Return translated text (plural form).


Detailed Description

Interface to gettext.

Definition in file Gettext.h.


Define Documentation

#define N_ MSG   )     MSG
 

Just tag text for translation.

Definition at line 18 of file Gettext.h.

Referenced by zypp::source::yum::YUMSourceImpl::checkMetadataChecksums(), zypp::source::yum::YUMScriptImpl::do_script(), zypp::source::yum::YUMSourceImpl::downloadMetadata(), zypp::ZYppFactory::getZYpp(), and zypp::source::yum::YUMScriptImpl::undo_script().

#define _ MSG   )     ::zypp::gettext::dgettext( MSG )
 

Return translated text.

Definition at line 21 of file Gettext.h.

Referenced by zypp::Exception::asUserString(), zypp::target::rpm::RpmDb::checkPackageResult2string(), zypp::solver::detail::ResolverInfoObsoletes::dumpOn(), zypp::solver::detail::ResolverInfoNeededBy::dumpOn(), zypp::solver::detail::ResolverInfoMisc::dumpOn(), zypp::solver::detail::ResolverInfoDependsOn::dumpOn(), zypp::solver::detail::ResolverInfoConflictsWith::dumpOn(), zypp::solver::detail::ResolverInfoChildOf::dumpOn(), zypp::solver::detail::ResolverInfo::dumpOn(), zypp::solver::detail::ResolverInfoObsoletes::message(), zypp::solver::detail::ResolverInfoNeededBy::message(), zypp::solver::detail::ResolverInfoMissingReq::message(), zypp::solver::detail::ResolverInfoMisc::message(), zypp::solver::detail::ResolverInfoDependsOn::message(), zypp::solver::detail::ResolverInfoConflictsWith::message(), zypp::solver::detail::ResolverInfoChildOf::message(), zypp::LanguageCode::Impl::name(), zypp::CountryCode::Impl::name(), zypp::solver::detail::ProblemSolutionIgnoreArchitecture::ProblemSolutionIgnoreArchitecture(), zypp::solver::detail::ProblemSolutionIgnoreConflicts::ProblemSolutionIgnoreConflicts(), zypp::solver::detail::ProblemSolutionIgnoreInstalled::ProblemSolutionIgnoreInstalled(), zypp::solver::detail::ProblemSolutionIgnoreObsoletes::ProblemSolutionIgnoreObsoletes(), zypp::solver::detail::ProblemSolutionIgnoreRequires::ProblemSolutionIgnoreRequires(), zypp::solver::detail::ProblemSolutionInstall::ProblemSolutionInstall(), zypp::solver::detail::ProblemSolutionKeep::ProblemSolutionKeep(), zypp::solver::detail::ProblemSolutionUninstall::ProblemSolutionUninstall(), zypp::solver::detail::ProblemSolutionUnlock::ProblemSolutionUnlock(), and zypp::solver::detail::translateResTraits().

#define _PL MSG1,
MSG2,
 )     ::zypp::gettext::dngettext( MSG1; MSG2, N )
 

Return translated text (plural form).

Definition at line 24 of file Gettext.h.


Generated on Thu Jul 6 00:07:29 2006 for zypp by  doxygen 1.4.6