use GNOMELOCALEDIR instead of GPARTEDLOCALEDIR
This commit is contained in:
parent
8f7f96387b
commit
5e26ffa9f8
|
@ -8,6 +8,6 @@ DESKTOP_FILES =$(DESKTOP_IN_FILES:.desktop.in=.desktop)
|
|||
desktopdir = $(datadir)/applications
|
||||
desktop_DATA = $(DESKTOP_FILES)
|
||||
|
||||
EXTRA_DIST = \
|
||||
EXTRA_DIST = \
|
||||
$(DESKTOP_IN_FILES) \
|
||||
$(DESKTOP_FILES)
|
||||
$(DESKTOP_FILES)
|
||||
|
|
|
@ -29,9 +29,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[description])
|
|||
ALL_LINGUAS=""
|
||||
AM_GLIB_GNU_GETTEXT
|
||||
|
||||
gpartedlocaledir='${prefix}/${DATADIRNAME}/locale'
|
||||
AC_SUBST(gpartedlocaledir)
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
include/Makefile
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
INCLUDES =\
|
||||
$(GTKMM_CFLAGS) \
|
||||
-DGPARTEDLOCALEDIR=\""$(gpartedlocaledir)"\"
|
||||
-DGNOMELOCALEDIR=\""$(datadir)/locale"\"
|
||||
|
||||
AM_CFLAGS =\
|
||||
-Wall\
|
||||
|
|
|
@ -26,7 +26,7 @@ int main( int argc, char *argv[] )
|
|||
|
||||
//i18n
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (GETTEXT_PACKAGE, GPARTEDLOCALEDIR);
|
||||
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||
textdomain (GETTEXT_PACKAGE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue