mirror of https://github.com/snes9xgit/snes9x.git
GTK+: Fix data dir name for translations.
This commit is contained in:
parent
62425f7f43
commit
51d3051712
|
@ -33,8 +33,8 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
|
|||
AM_GNU_GETTEXT([external])
|
||||
AM_GNU_GETTEXT_VERSION([0.19.2])
|
||||
|
||||
snes9xlocaledir='${prefix}/${DATADIRNAME}/locale'
|
||||
snes9xdatadir='${prefix}/${DATADIRNAME}/snes9x'
|
||||
snes9xlocaledir='${prefix}/share/locale'
|
||||
snes9xdatadir='${prefix}/share/snes9x'
|
||||
|
||||
AC_SUBST(snes9xlocaledir)
|
||||
AC_SUBST(snes9xdatadir)
|
||||
|
|
|
@ -11,28 +11,7 @@
|
|||
#include "gtk_s9xcore.h"
|
||||
#include "gtk_s9xwindow.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif /* HAVE_CONFIG_H */
|
||||
|
||||
#ifdef ENABLE_NLS
|
||||
#include <libintl.h>
|
||||
#define _(String) gettext(String)
|
||||
#ifdef gettext_noop
|
||||
#define N_(String) gettext_noop(String)
|
||||
#else
|
||||
#define N_(String) (String)
|
||||
#endif
|
||||
#else /* NLS is disabled */
|
||||
#define _(String) (String)
|
||||
#define N_(String) (String)
|
||||
#define textdomain(String) (String)
|
||||
#define gettext(String) (String)
|
||||
#define dgettext(Domain,String) (String)
|
||||
#define dcgettext(Domain,String,Type) (String)
|
||||
#define bindtextdomain(Domain,Directory) (Domain)
|
||||
#define bind_textdomain_codeset(Domain,Codeset) (Codeset)
|
||||
#endif /* ENABLE_NLS */
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#define SNES9X_GTK_AUTHORS "(c) 2007 - 2018 Brandon Wright (bearoso@gmail.com)"
|
||||
#define SNES9X_GTK_VERSION "86"
|
||||
|
|
Loading…
Reference in New Issue