Skip to content

Commit

Permalink
use YSettings::localeDir() instead of LOCALEDIR (bnc #817588)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabi2 committed Apr 30, 2013
1 parent 7b9380a commit da7946f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NCi18n.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <libintl.h>

#include <yui/YSettings.h>
#include <yui/Libyui_config.h>


Expand Down Expand Up @@ -55,7 +56,7 @@ inline std::string _( const char * msgid1, const char * msgid2, unsigned long in

inline void setTextdomain( const char * domain )
{
bindtextdomain( domain, LOCALEDIR );
bindtextdomain( domain, YSettings::localeDir().c_str() );
bind_textdomain_codeset( domain, "utf8" );
textdomain( domain );

Expand Down

0 comments on commit da7946f

Please sign in to comment.