00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | __ __ ____ _____ ____ | 00004 | \ \ / /_ _/ ___|_ _|___ \ | 00005 | \ V / _` \___ \ | | __) | | 00006 | | | (_| |___) || | / __/ | 00007 | |_|\__,_|____/ |_| |_____| | 00008 | | 00009 | core system | 00010 | (C) SUSE LINUX AG | 00011 \----------------------------------------------------------------------/ 00012 00013 File: PMLocale.h 00014 00015 Author: Cornelius Schumacher <cschum@suse.de> 00016 Maintainer: Cornelius Schumacher <cschum@suse.de> 00017 00018 Purpose: Provide support for translation handling. 00019 00020 /-*/ 00021 #ifndef PMLocale_h 00022 #define PMLocale_h 00023 00024 #define _(MSG) dgettext( "packagemanager", (MSG) ) 00025 00026 class PMLocale 00027 { 00028 public: 00029 static void setTextdomain(); 00030 }; 00031 00032 #endif