Added moo-i18n.m4 back
parent
9ca6626ad0
commit
25f7a76fbb
11
configure.ac
11
configure.ac
|
@ -14,16 +14,7 @@ AC_CANONICAL_HOST
|
||||||
AC_CONFIG_HEADERS(config.h)
|
AC_CONFIG_HEADERS(config.h)
|
||||||
MOO_DEFINE_VERSIONS
|
MOO_DEFINE_VERSIONS
|
||||||
|
|
||||||
|
MOO_AC_I18N(moo, [ru])
|
||||||
AC_PROG_INTLTOOL([0.29])
|
|
||||||
GETTEXT_PACKAGE=moo
|
|
||||||
AC_SUBST(GETTEXT_PACKAGE)
|
|
||||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext package.])
|
|
||||||
ALL_LINGUAS="ru"
|
|
||||||
AM_GLIB_GNU_GETTEXT
|
|
||||||
MOO_INTLTOOL_INI_RULE='%.ini: %.ini.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
|
|
||||||
AC_SUBST(MOO_INTLTOOL_INI_RULE)
|
|
||||||
|
|
||||||
|
|
||||||
# Check operating system
|
# Check operating system
|
||||||
MOO_AC_CHECK_OS
|
MOO_AC_CHECK_OS
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
##############################################################################
|
||||||
|
# MOO_AC_I18N
|
||||||
|
#
|
||||||
|
AC_DEFUN([MOO_AC_I18N],[
|
||||||
|
AC_PROG_INTLTOOL([0.29])
|
||||||
|
|
||||||
|
GETTEXT_PACKAGE=$1
|
||||||
|
AC_SUBST(GETTEXT_PACKAGE)
|
||||||
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext package.])
|
||||||
|
|
||||||
|
ALL_LINGUAS="$2"
|
||||||
|
AM_GLIB_GNU_GETTEXT
|
||||||
|
|
||||||
|
MOO_INTLTOOL_INI_RULE='%.ini: %.ini.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
|
||||||
|
AC_SUBST(MOO_INTLTOOL_INI_RULE)
|
||||||
|
])
|
|
@ -12,6 +12,7 @@ moo/mooedit/glade/quicksearch.glade
|
||||||
moo/mooedit/glade/statusbar.glade
|
moo/mooedit/glade/statusbar.glade
|
||||||
moo/mooedit/plugins/fileselector/moofileselector-prefs.glade
|
moo/mooedit/plugins/fileselector/moofileselector-prefs.glade
|
||||||
moo/mooedit/plugins/fileselector/moofileselector.glade
|
moo/mooedit/plugins/fileselector/moofileselector.glade
|
||||||
|
moo/mooedit/plugins/fileselector/moofileselector.c
|
||||||
moo/mooedit/plugins/moofind.glade
|
moo/mooedit/plugins/moofind.glade
|
||||||
moo/moofileview/glade/bookmark_editor.glade
|
moo/moofileview/glade/bookmark_editor.glade
|
||||||
moo/moofileview/glade/drop.glade
|
moo/moofileview/glade/drop.glade
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
if [ `basename $0` = pot ]; then
|
||||||
|
exec intltool-update --gettext-package=moo -p
|
||||||
|
else
|
||||||
|
exec intltool-update -m
|
||||||
|
fi
|
Loading…
Reference in New Issue