Gettext.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00014 #ifndef ZYPP_BASE_GETTEXT_H
00015 #define ZYPP_BASE_GETTEXT_H
00016
00018 #define N_(MSG) MSG
00019
00021 #define _(MSG) ::zypp::gettext::dgettext( MSG )
00022
00024 #define _PL(MSG1,MSG2,N) ::zypp::gettext::dngettext( MSG1, MSG2, N )
00025
00027 namespace zypp
00028 {
00029
00030 namespace gettext
00031 {
00032
00034 const char * dgettext( const char * msgid );
00035
00037 const char * dngettext( const char * msgid1, const char * msgid2,
00038 unsigned long n );
00039
00041 }
00044 }
00046 #endif // ZYPP_BASE_GETTEXT_H