Commit fd30d925 authored by Bruno Coudoin's avatar Bruno Coudoin

add of gtkhtml

parent 3ea1e3f4
2001-12-23 Bruno Coudoin <bruno.coudoin@free.fr>
* src/gcompris/gcompris.c: added gconf init for the gtkhtml
* src/boards/shapegame.c: fixed highlight out of sync and loosing odd number boards
* src/boards/erase.c: changed background to display animals instead of tux plane
* src/gcompris/help.c: changed to use gtkhtml instead of straigh text
* src/board/menu.c: changed to add format help in html
* src/board/clickgame.c: changed to add format help in html
* src/board/paratrooper.c: changed to add format help in html
* src/board/draw.c: changed to add format help in html. Color are now speaken if translated.
* macros/gnome.m4: added gtkhtml definition
* configure.in: added AM_PATH_GCONF
* boards/sounds/intro.ogg: intro for gcompris created by Djilali Sebihi
* boards/sounds/fr/*.ogg: regeneration of sounds by Zohra Sebihi to have more volume
* boards/sounds/es/*.ogg: created by Zohra Sebihi
* boards/sounds/en/*.ogg: created by Zohra Sebihi
* src/gcompris/bar.c: now has voice tooltip after 1 sec on a bar item
* src/gcompris/gameutil.c: changed play_ogg to bypass file that are not there but play others
2001-12-23 Pascal Georges <pascal.georges1@free.fr>
* modified erase board to display animal pictures
......@@ -5,7 +23,7 @@
* finished new board in algebra group : guess count
2001-12-16 Pascal Georges <pascal.georges1@free.fr>
* added gcompris/animals directory for nice pictures taken from http://schmode.net (we are granted by author to use its photos)
* added gcompris/animals directory for nice pictures taken from http://schmode.net (we are granted by author to use its photos)
* added RAND(A,B) utility macro in gameutil.h, which returns a number in [A,B] range
* added a new board in algebra group. Not finished yet but starts to be playable (needs a lot of clean up and polish)
......
If you have a problem with gcompris, please send a mail to:
Email: bruno.coudoin@anfora.fr
Email: bruno.coudoin@free.fr
......@@ -68,6 +68,10 @@ DATADIRNAME = @DATADIRNAME@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EXEEXT = @EXEEXT@
GCONF_CFLAGS = @GCONF_CFLAGS@
GCONF_CONFIG = @GCONF_CONFIG@
GCONF_LIBS = @GCONF_LIBS@
GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@
GDK_PIXBUF_CONFIG = @GDK_PIXBUF_CONFIG@
GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@
......@@ -87,6 +91,7 @@ GNOME_XML_LIB = @GNOME_XML_LIB@
GNOME_XML_LIBS = @GNOME_XML_LIBS@
GNORBA_CFLAGS = @GNORBA_CFLAGS@
GNORBA_LIBS = @GNORBA_LIBS@
GTKHTML_LIBS = @GTKHTML_LIBS@
GTKXMHTML_LIBS = @GTKXMHTML_LIBS@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_CONFIG = @GTK_CONFIG@
......@@ -163,9 +168,9 @@ GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
......@@ -391,6 +396,11 @@ distdir: $(DISTFILES)
-rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
here=`cd $(top_builddir) && pwd`; \
top_distdir=`cd $(distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
......
......@@ -41,3 +41,21 @@ About You:
Translate GCompris.
Just giving your ideas.
-------------------------------------------------------------------------------
NOTE TO TRANSLATORS
Gcompris is a little bit special in terms of translation needs. The best is done
to bring back everything to .po files but it is not exaustive.
To complete the translation, you must also provide:
A set of file in boards/wordsgame/wordslevelx.yy
Where x is the level or max and yy your target locale.
note that these words must be choosen to be simple in your language, don't necessary
translate the english. Also, it is important to make sure that these words can be
written with your keyboard in one key (no alt gr stuff or compose key).
A complete voice translation in boards/sounds/yy
It is best to choose somebody that speaks and articulate well your language.
What is great with gcompris is that you can use it to practice a foreign language.
......@@ -126,6 +126,94 @@ done<<>>dnl>>)
changequote([,]))])
# serial 1
# @defmac AC_PROG_CC_STDC
# @maindex PROG_CC_STDC
# @ovindex CC
# If the C compiler in not in ANSI C mode by default, try to add an option
# to output variable @code{CC} to make it so. This macro tries various
# options that select ANSI C on some system or another. It considers the
# compiler to be in ANSI C mode if it handles function prototypes correctly.
#
# If you use this macro, you should check after calling it whether the C
# compiler has been set to accept ANSI C; if not, the shell variable
# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source
# code in ANSI C, you can make an un-ANSIfied copy of it by using the
# program @code{ansi2knr}, which comes with Ghostscript.
# @end defmac
AC_DEFUN([AM_PROG_CC_STDC],
[AC_REQUIRE([AC_PROG_CC])
AC_BEFORE([$0], [AC_C_INLINE])
AC_BEFORE([$0], [AC_C_CONST])
dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
dnl a magic option to avoid problems with ANSI preprocessor commands
dnl like #elif.
dnl FIXME: can't do this because then AC_AIX won't work due to a
dnl circular dependency.
dnl AC_BEFORE([$0], [AC_PROG_CPP])
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
AC_CACHE_VAL(am_cv_prog_cc_stdc,
[am_cv_prog_cc_stdc=no
ac_save_CC="$CC"
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX -qlanglvl=ansi
# Ultrix and OSF/1 -std1
# HP-UX -Aa -D_HPUX_SOURCE
# SVR4 -Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
AC_TRY_COMPILE(
[#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
char *s;
va_list v;
va_start (v,p);
s = g (p, va_arg (v,int));
va_end (v);
return s;
}
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
], [
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
],
[am_cv_prog_cc_stdc="$ac_arg"; break])
done
CC="$ac_save_CC"
])
if test -z "$am_cv_prog_cc_stdc"; then
AC_MSG_RESULT([none needed])
else
AC_MSG_RESULT($am_cv_prog_cc_stdc)
fi
case "x$am_cv_prog_cc_stdc" in
x|xno) ;;
*) CC="$CC $am_cv_prog_cc_stdc" ;;
esac
])
define([HACK_SUBST], defn([AC_SUBST]))
# serial 1 AC_PROG_XML_I18N_TOOLS
......@@ -3582,6 +3670,7 @@ AC_DEFUN([GNOME_INIT_HOOK],[
AC_SUBST(GNOMEUI_LIBS)
AC_SUBST(GNOMEGNORBA_LIBS)
AC_SUBST(GTKXMHTML_LIBS)
AC_SUBST(GTKHTML_LIBS)
AC_SUBST(GNOME_XML_LIBS)
AC_SUBST(ZVT_LIBS)
AC_SUBST(GNOME_LIBDIR)
......@@ -3631,6 +3720,7 @@ AC_DEFUN([GNOME_INIT_HOOK],[
GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"
GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
GTKHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkhtml`"
ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
......@@ -3784,94 +3874,6 @@ AC_DEFUN([AC_ISC_POSIX],
]
)
# serial 1
# @defmac AC_PROG_CC_STDC
# @maindex PROG_CC_STDC
# @ovindex CC
# If the C compiler in not in ANSI C mode by default, try to add an option
# to output variable @code{CC} to make it so. This macro tries various
# options that select ANSI C on some system or another. It considers the
# compiler to be in ANSI C mode if it handles function prototypes correctly.
#
# If you use this macro, you should check after calling it whether the C
# compiler has been set to accept ANSI C; if not, the shell variable
# @code{am_cv_prog_cc_stdc} is set to @samp{no}. If you wrote your source
# code in ANSI C, you can make an un-ANSIfied copy of it by using the
# program @code{ansi2knr}, which comes with Ghostscript.
# @end defmac
AC_DEFUN([AM_PROG_CC_STDC],
[AC_REQUIRE([AC_PROG_CC])
AC_BEFORE([$0], [AC_C_INLINE])
AC_BEFORE([$0], [AC_C_CONST])
dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
dnl a magic option to avoid problems with ANSI preprocessor commands
dnl like #elif.
dnl FIXME: can't do this because then AC_AIX won't work due to a
dnl circular dependency.
dnl AC_BEFORE([$0], [AC_PROG_CPP])
AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
AC_CACHE_VAL(am_cv_prog_cc_stdc,
[am_cv_prog_cc_stdc=no
ac_save_CC="$CC"
# Don't try gcc -ansi; that turns off useful extensions and
# breaks some systems' header files.
# AIX -qlanglvl=ansi
# Ultrix and OSF/1 -std1
# HP-UX -Aa -D_HPUX_SOURCE
# SVR4 -Xc -D__EXTENSIONS__
for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
CC="$ac_save_CC $ac_arg"
AC_TRY_COMPILE(
[#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
char *s;
va_list v;
va_start (v,p);
s = g (p, va_arg (v,int));
va_end (v);
return s;
}
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
int argc;
char **argv;
], [
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
],
[am_cv_prog_cc_stdc="$ac_arg"; break])
done
CC="$ac_save_CC"
])
if test -z "$am_cv_prog_cc_stdc"; then
AC_MSG_RESULT([none needed])
else
AC_MSG_RESULT($am_cv_prog_cc_stdc)
fi
case "x$am_cv_prog_cc_stdc" in
x|xno) ;;
*) CC="$CC $am_cv_prog_cc_stdc" ;;
esac
])
dnl GNOME_COMPILE_WARNINGS
dnl Turn on many useful compiler warnings
dnl For now, only works on GCC
......@@ -4473,6 +4475,91 @@ int main ()
rm -f conf.gdk_pixbuftest
])
dnl AM_PATH_GCONF([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GCONF, and define GCONF_CFLAGS and GCONF_LIBS
dnl
AC_DEFUN(AM_PATH_GCONF,
[dnl
dnl Get the cflags and libraries from the gconf-config script
dnl
AC_ARG_WITH(gconf-prefix,[ --with-gconf-prefix=PFX Prefix where GCONF is installed (optional)],
gconf_config_prefix="$withval", gconf_config_prefix="")
AC_ARG_WITH(gconf-exec-prefix,[ --with-gconf-exec-prefix=PFX Exec prefix where GCONF is installed (optional)],
gconf_config_exec_prefix="$withval", gconf_config_exec_prefix="")
AC_ARG_ENABLE(gconftest, [ --disable-gconftest Do not try to compile and run a test GCONF program],
, enable_gconftest=yes)
gconf_config_args="$gconf_config_args"
if test x$gconf_config_exec_prefix != x ; then
gconf_config_args="$gconf_config_args --exec-prefix=$gconf_config_exec_prefix"
if test x${GCONF_CONFIG+set} != xset ; then
GCONF_CONFIG=$gconf_config_exec_prefix/bin/gconf-config
fi
fi
if test x$gconf_config_prefix != x ; then
gconf_config_args="$gconf_config_args --prefix=$gconf_config_prefix"
if test x${GCONF_CONFIG+set} != xset ; then
GCONF_CONFIG=$gconf_config_prefix/bin/gconf-config
fi
fi
AC_PATH_PROG(GCONF_CONFIG, gconf-config, no)
min_gconf_version=ifelse([$1], , 0.5, $1)
AC_MSG_CHECKING(for GCONF - version >= $min_gconf_version)
no_gconf=""
if test "$GCONF_CONFIG" = "no" ; then
no_gconf=yes
else
GCONF_CFLAGS="`$GCONF_CONFIG $gconf_config_args --cflags $4`"
GCONF_LIBS="`$GCONF_CONFIG $gconf_config_args --libs $4`"
gconf_config_major_version=`$GCONF_CONFIG $gconf_config_args --version | \
sed -e 's,^[[^0-9.]]*,,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
gconf_config_minor_version=`$GCONF_CONFIG $gconf_config_args --version | \
sed -e 's,^[[^0-9.]]*,,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
gconf_config_micro_version=`$GCONF_CONFIG $gconf_config_args --version | \
sed -e 's,^[[^0-9\.]]*,,g' -e 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
fi
if test "x$no_gconf" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GCONF_CONFIG" = "no" ; then
echo "*** The gconf-config script installed by GCONF could not be found"
echo "*** If GCONF was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GCONF_CONFIG environment variable to the"
echo "*** full path to gconf-config."
else
:
fi
GCONF_CFLAGS=""
GCONF_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GCONF_CFLAGS)
AC_SUBST(GCONF_LIBS)
rm -f conf.gconftest
])
dnl AM_GCONF_SOURCE
dnl Define GCONF_SCHEMA_CONFIG_SOURCE
dnl
AC_DEFUN(AM_GCONF_SOURCE,
[
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool --get-default-source`
else
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
fi
AC_ARG_WITH(gconf-source,
[ --with-gconf-source=sourceaddress Where to install schema files.],GCONF_SCHEMA_CONFIG_SOURCE="$withval",)
AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
AC_MSG_RESULT("Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation")
])
# Macro to add for using GNU gettext.
# Ulrich Drepper <drepper@cygnus.com>, 1995.
#
......
......@@ -68,6 +68,10 @@ DATADIRNAME = @DATADIRNAME@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EXEEXT = @EXEEXT@
GCONF_CFLAGS = @GCONF_CFLAGS@
GCONF_CONFIG = @GCONF_CONFIG@
GCONF_LIBS = @GCONF_LIBS@
GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@
GDK_PIXBUF_CONFIG = @GDK_PIXBUF_CONFIG@
GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@
......@@ -75,22 +79,6 @@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GNOMEGNORBA_LIBS = @GNOMEGNORBA_LIBS@
GNOMEUI_LIBS = @GNOMEUI_LIBS@
GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@
GNOME_CAPPLET_LIBS = @GNOME_CAPPLET_LIBS@
GNOME_CONFIG = @GNOME_CONFIG@
GNOME_INCLUDEDIR = @GNOME_INCLUDEDIR@
GNOME_LIBDIR = @GNOME_LIBDIR@
GNOME_LIBS = @GNOME_LIBS@
GNOME_XML_LIB = @GNOME_XML_LIB@
GNOME_XML_LIBS = @GNOME_XML_LIBS@
GNORBA_CFLAGS = @GNORBA_CFLAGS@
GNORBA_LIBS = @GNORBA_LIBS@
GTKXMHTML_LIBS = @GTKXMHTML_LIBS@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_CONFIG = @GTK_CONFIG@
GTK_LIBS = @GTK_LIBS@
INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@
INTLLIBS = @INTLLIBS@
......@@ -104,17 +92,12 @@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
ORBIT_CFLAGS = @ORBIT_CFLAGS@
ORBIT_CONFIG = @ORBIT_CONFIG@
ORBIT_IDL = @ORBIT_IDL@
ORBIT_LIBS = @ORBIT_LIBS@
PACKAGE = @PACKAGE@
PACKAGE_DATA_DIR = @PACKAGE_DATA_DIR@
PACKAGE_HELP_DIR = @PACKAGE_HELP_DIR@
PACKAGE_SOUNDS_DIR = @PACKAGE_SOUNDS_DIR@
POFILES = @POFILES@
POSUB = @POSUB@
PTHREAD_LIB = @PTHREAD_LIB@
RANLIB = @RANLIB@
STRIP = @STRIP@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
......@@ -124,10 +107,6 @@ XML_I18N_EXTRACT = @XML_I18N_EXTRACT@
XML_I18N_MERGE = @XML_I18N_MERGE@
XML_I18N_TOOLS_PERL = @XML_I18N_TOOLS_PERL@
XML_I18N_UPDATE = @XML_I18N_UPDATE@
XPM_LIBS = @XPM_LIBS@
ZVT_LIBS = @ZVT_LIBS@
cflags_set = @cflags_set@
cxxflags_set = @cxxflags_set@
plugindir = @plugindir@
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
......
<?xml version="1.0"?>
<ShapeGame>
<Shape name="1" pixmapfile="gcompris/gcompris-shapelabel.jpg" type="SHAPE_BACKGROUND"
x="405" y="60" zoomx="1" zoomy="1" position="0"/>
<Title name="Set the masses in the decreasing order" x="394" y="60" justification="GTK_JUSTIFY_CENTER"/>
<Shape name="M" pixmapfile="scales/masse.png" x="585" y="222" zoomx="1" zoomy="1" position="0" type="SHAPE_BACKGROUND"/>
<Title name="5" x="585" y="230" justification="GTK_JUSTIFY_CENTER"/>
<Shape name="B" pixmapfile="scales/scales.png" x="400" y="300" zoomx="1" zoomy="1" position="0" type="SHAPE_BACKGROUND"/>
<Shape name="4" pixmapfile="scales/masse4.png" x="200" y="222" zoomx="1" zoomy="1" position="0"/>
<Shape name="1" pixmapfile="scales/masse1.png" x="250" y="222" zoomx="1" zoomy="1" position="0"/>
</ShapeGame>
<?xml version="1.0"?>
<ShapeGame>
<Shape name="1" pixmapfile="gcompris/gcompris-shapelabel.jpg" type="SHAPE_BACKGROUND"
x="405" y="60" zoomx="1" zoomy="1" position="0"/>
<Title name="Set the masses in the decreasing order" x="394" y="60" justification="GTK_JUSTIFY_CENTER"/>
<Shape name="M" pixmapfile="scales/masse.png" x="585" y="222" zoomx="1" zoomy="1" position="0" type="SHAPE_BACKGROUND"/>
<Title name="10" x="585" y="230" justification="GTK_JUSTIFY_CENTER"/>
<Shape name="B" pixmapfile="scales/scales.png" x="400" y="300" zoomx="1" zoomy="1" position="0" type="SHAPE_BACKGROUND"/>
<Shape name="5" pixmapfile="scales/masse5.png" x="200" y="222" zoomx="1" zoomy="1" position="0"/>
<Shape name="2" pixmapfile="scales/masse2.png" x="300" y="222" zoomx="1" zoomy="1" position="0"/>
<Shape name="3" pixmapfile="scales/masse3.png" x="250" y="222" zoomx="1" zoomy="1" position="0"/>
<Shape name="4" pixmapfile="scales/masse4.png" x="000" y="000" zoomx="1" zoomy="1" position="0" type="SHAPE_DUMMY_TARGET"/>
</ShapeGame>
<?xml version="1.0"?>
<ShapeGame>
<Shape name="1" pixmapfile="gcompris/gcompris-shapelabel.jpg" type="SHAPE_BACKGROUND"
x="405" y="60" zoomx="1" zoomy="1" position="0"/>
<Title name="Set the masses in the decreasing order" x="394" y="60" justification="GTK_JUSTIFY_CENTER"/>
<Shape name="M" pixmapfile="scales/masse.png" x="585" y="222" zoomx="1" zoomy="1" position="0" type="SHAPE_BACKGROUND"/>
<Title name="17" x="585" y="230" justification="GTK_JUSTIFY_CENTER"/>
<Shape name="B" pixmapfile="scales/scales.png" x="400" y="300" zoomx="1" zoomy="1" position="0" type="SHAPE_BACKGROUND"/>
<Shape name="10" pixmapfile="scales/masse10.png" x="200" y="222" zoomx="1" zoomy="1" position="0"/>
<Shape name="5" pixmapfile="scales/masse5.png" x="250" y="222" zoomx="1" zoomy="1" position="0" type="SHAPE_DUMMY_TARGET"/>
<Shape name="4" pixmapfile="scales/masse4.png" x="250" y="222" zoomx="1" zoomy="1" position="0"/>
<Shape name="7" pixmapfile="scales/masse7.png" x="000" y="222" zoomx="1" zoomy="1" position="0" type="SHAPE_DUMMY_TARGET"/>
<Shape name="2" pixmapfile="scales/masse2.png" x="300" y="222" zoomx="1" zoomy="1" position="0"/>
<Shape name="1" pixmapfile="scales/masse1.png" x="350" y="222" zoomx="1" zoomy="1" position="0"/>
</ShapeGame>
To complete the translation, you must also provide a set of file in
boards/wordsgame/wordslevelx.yy
Where x is the level or max and yy your target locale.
note that these words must be choosen to be simple in your language,
don't necessary translate the english. Also, it is important to make sure
that these words can be written with your keyboard in one key
(no alt gr stuff or compose key).
This diff is collapsed.
......@@ -4,6 +4,10 @@ AC_INIT(configure.in)
AM_INIT_AUTOMAKE(gcompris, 0.9.7)
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AM_PROG_XML_I18N_TOOLS
AM_DISABLE_STATIC
......@@ -14,14 +18,12 @@ AM_ACLOCAL_INCLUDE(macros)
GNOME_INIT
AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
GNOME_COMPILE_WARNINGS
GNOME_X_CHECKS
GNOME_XML_CHECK
AM_PATH_GDK_PIXBUF
AM_PATH_GCONF
dnl Add the languages which your application supports here.
ALL_LINGUAS="de el es fi fr it nl pt_BR ru sv lt"
......
......@@ -68,6 +68,10 @@ DATADIRNAME = @DATADIRNAME@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EXEEXT = @EXEEXT@
GCONF_CFLAGS = @GCONF_CFLAGS@
GCONF_CONFIG = @GCONF_CONFIG@
GCONF_LIBS = @GCONF_LIBS@
GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@
GDK_PIXBUF_CONFIG = @GDK_PIXBUF_CONFIG@
GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@
......@@ -75,22 +79,6 @@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GNOMEGNORBA_LIBS = @GNOMEGNORBA_LIBS@
GNOMEUI_LIBS = @GNOMEUI_LIBS@
GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@
GNOME_CAPPLET_LIBS = @GNOME_CAPPLET_LIBS@
GNOME_CONFIG = @GNOME_CONFIG@
GNOME_INCLUDEDIR = @GNOME_INCLUDEDIR@
GNOME_LIBDIR = @GNOME_LIBDIR@
GNOME_LIBS = @GNOME_LIBS@
GNOME_XML_LIB = @GNOME_XML_LIB@
GNOME_XML_LIBS = @GNOME_XML_LIBS@
GNORBA_CFLAGS = @GNORBA_CFLAGS@
GNORBA_LIBS = @GNORBA_LIBS@
GTKXMHTML_LIBS = @GTKXMHTML_LIBS@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_CONFIG = @GTK_CONFIG@
GTK_LIBS = @GTK_LIBS@
INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@
INTLLIBS = @INTLLIBS@
......@@ -104,17 +92,12 @@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
ORBIT_CFLAGS = @ORBIT_CFLAGS@
ORBIT_CONFIG = @ORBIT_CONFIG@
ORBIT_IDL = @ORBIT_IDL@
ORBIT_LIBS = @ORBIT_LIBS@
PACKAGE = @PACKAGE@
PACKAGE_DATA_DIR = @PACKAGE_DATA_DIR@
PACKAGE_HELP_DIR = @PACKAGE_HELP_DIR@
PACKAGE_SOUNDS_DIR = @PACKAGE_SOUNDS_DIR@
POFILES = @POFILES@
POSUB = @POSUB@
PTHREAD_LIB = @PTHREAD_LIB@
RANLIB = @RANLIB@
STRIP = @STRIP@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
......@@ -124,10 +107,6 @@ XML_I18N_EXTRACT = @XML_I18N_EXTRACT@
XML_I18N_MERGE = @XML_I18N_MERGE@
XML_I18N_TOOLS_PERL = @XML_I18N_TOOLS_PERL@
XML_I18N_UPDATE = @XML_I18N_UPDATE@
XPM_LIBS = @XPM_LIBS@
ZVT_LIBS = @ZVT_LIBS@
cflags_set = @cflags_set@
cxxflags_set = @cxxflags_set@
plugindir = @plugindir@
doc = gcompris.html
......@@ -156,9 +135,9 @@ all: all-redirect
.SUFFIXES:
.SUFFIXES: .dvi .info .ps .texi .texinfo .txi
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps docs/C/Makefile
cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/C/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
......@@ -289,6 +268,11 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = docs/C
distdir: $(DISTFILES)
here=`cd $(top_builddir) && pwd`; \
top_distdir=`cd $(top_distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu docs/C/Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
......
......@@ -68,6 +68,10 @@ DATADIRNAME = @DATADIRNAME@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EXEEXT = @EXEEXT@
GCONF_CFLAGS = @GCONF_CFLAGS@
GCONF_CONFIG = @GCONF_CONFIG@
GCONF_LIBS = @GCONF_LIBS@
GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@
GDK_PIXBUF_CFLAGS = @GDK_PIXBUF_CFLAGS@
GDK_PIXBUF_CONFIG = @GDK_PIXBUF_CONFIG@
GDK_PIXBUF_LIBS = @GDK_PIXBUF_LIBS@
......@@ -75,22 +79,6 @@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GNOMEGNORBA_LIBS = @GNOMEGNORBA_LIBS@
GNOMEUI_LIBS = @GNOMEUI_LIBS@
GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@
GNOME_CAPPLET_LIBS = @GNOME_CAPPLET_LIBS@
GNOME_CONFIG = @GNOME_CONFIG@
GNOME_INCLUDEDIR = @GNOME_INCLUDEDIR@
GNOME_LIBDIR = @GNOME_LIBDIR@
GNOME_LIBS = @GNOME_LIBS@
GNOME_XML_LIB = @GNOME_XML_LIB@
GNOME_XML_LIBS = @GNOME_XML_LIBS@
GNORBA_CFLAGS = @GNORBA_CFLAGS@
GNORBA_LIBS = @GNORBA_LIBS@
GTKXMHTML_LIBS = @GTKXMHTML_LIBS@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_CONFIG = @GTK_CONFIG@
GTK_LIBS = @GTK_LIBS@
INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@
INTLLIBS = @INTLLIBS@
......@@ -104,17 +92,12 @@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
ORBIT_CFLAGS = @ORBIT_CFLAGS@
ORBIT_CONFIG = @ORBIT_CONFIG@
ORBIT_IDL = @ORBIT_IDL@
ORBIT_LIBS = @ORBIT_LIBS@
PACKAGE = @PACKAGE@
PACKAGE_DATA_DIR = @PACKAGE_DATA_DIR@
PACKAGE_HELP_DIR = @PACKAGE_HELP_DIR@
PACKAGE_SOUNDS_DIR = @PACKAGE_SOUNDS_DIR@
POFILES = @POFILES@
POSUB = @POSUB@
PTHREAD_LIB = @PTHREAD_LIB@
RANLIB = @RANLIB@
STRIP = @STRIP@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
......@@ -124,10 +107,6 @@ XML_I18N_EXTRACT = @XML_I18N_EXTRACT@
XML_I18N_MERGE = @XML_I18N_MERGE@
XML_I18N_TOOLS_PERL = @XML_I18N_TOOLS_PERL@
XML_I18N_UPDATE = @XML_I18N_UPDATE@
XPM_LIBS = @XPM_LIBS@
ZVT_LIBS = @ZVT_LIBS@
cflags_set = @cflags_set@
cxxflags_set = @cxxflags_set@
plugindir = @plugindir@
SUBDIRS = C
......@@ -144,9 +123,9 @@ GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps docs/Makefile
cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
......@@ -245,6 +224,11 @@ distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = docs
distdir: $(DISTFILES)
here=`cd $(top_builddir) && pwd`; \
top_distdir=`cd $(top_distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu docs/Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
......
2001-12-19 gettextize <bug-gnu-utils@gnu.org>
* Makefile.in.in: Upgrade to gettext-0.10.39.
2001-12-19 gettextize <bug-gnu-utils@gnu.org>
* Makefile.in.in: Upgrade to gettext-0.10.39.
2001-12-19 gettextize <bug-gnu-utils@gnu.org>
* Makefile.in.in: Upgrade to gettext-0.10.39.
2001-12-19 gettextize <bug-gnu-utils@gnu.org>
* Makefile.in.in: Upgrade to gettext-0.10.39.
2001-12-22 Vasif Ismailogu MD <azerb_linux@hotmail.com>
* az.po: updating Azerbaijani translation file
2001-12-14 Simos Xenitellis <simos@hellug.gr>
* el.po: Updated Greek translation.
......
......@@ -35,12 +35,7 @@ CC = @CC@
GMSGFMT = @GMSGFMT@
MSGFMT = @MSGFMT@
XGETTEXT = @XGETTEXT@
XML_I18N_UPDATE = @XML_I18N_UPDATE@
XML_I18N_EXTRACT = @XML_I18N_EXTRACT@
MSGMERGE = XML_I18N_EXTRACT=$(XML_I18N_EXTRACT) $(XML_I18N_UPDATE) --dist
GENPOT = XML_I18N_EXTRACT=$(XML_I18N_EXTRACT) $(XML_I18N_UPDATE) --pot
MSGMERGE = msgmerge
DEFS = @DEFS@
CFLAGS = @CFLAGS@
......@@ -87,7 +82,12 @@ all-no:
# have been downloaded.
$(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in
$(GENPOT)
$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \
--add-comments --keyword=_ --keyword=N_ \
--files-from=$(srcdir)/POTFILES.in \
&& test ! -f $(PACKAGE).po \
|| ( rm -f $(srcdir)/$(PACKAGE).pot \
&& mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot )
install: install-exec install-data
......@@ -173,30 +173,16 @@ update-po: Makefile
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed 's/\.gmo$$//'`; \
cp $$lang.po $$lang.old.po; \
echo "$$lang:"; \
if $(MSGMERGE) $$lang ; then \
rm -f $$lang.old.po; \
if $(MSGMERGE) $$lang.po $(PACKAGE).pot -o $$lang.new.po; then \
mv -f $$lang.new.po $$lang.po; \
else \
echo "msgmerge for $$cat failed!"; \
mv $$lang.old.po $$lang.po; \
rm -f $$lang.new.po; \
fi; \