use GNOMELOCALEDIR instead of GPARTEDLOCALEDIR

This commit is contained in:
Bart Hakvoort 2004-09-22 10:00:56 +00:00
parent 8f7f96387b
commit 5e26ffa9f8
4 changed files with 4 additions and 7 deletions

View File

@ -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)

View File

@ -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

View File

@ -1,6 +1,6 @@
INCLUDES =\
$(GTKMM_CFLAGS) \
-DGPARTEDLOCALEDIR=\""$(gpartedlocaledir)"\"
-DGNOMELOCALEDIR=\""$(datadir)/locale"\"
AM_CFLAGS =\
-Wall\

View File

@ -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);