MAINTAINERCLEANFILES=COPYING INSTALL synfig.pc synfig-$(VERSION).tar.gz doxygen.cfg config/config.guess config/config.sub config/ltmain.sh config/ltmain.sh.orig config/ltmain.sh.rej config/install-sh config/mkinstalldirs config/aclocal.m4 config/missing config/texinfo.tex config/depcomp aclocal.m4 config.h.in configure stamp-h.in Makefile.in config.log config.status .doc_stamp .DS_Store synfig.spec include/etl_profile.h.in libltdl/COPYING.LIB libltdl/Makefile.in libltdl/acinclude.m4 libltdl/config-h.in libltdl/configure.in libltdl/ltdl.h libltdl/Makefile.am libltdl/README libltdl/aclocal.m4 libltdl/configure libltdl/ltdl.c libltdl/stamp-h.in
-SUBDIRS=libltdl src examples
+SUBDIRS=libltdl src examples po
# Install the pkg-config file:
pkgconfigdir = $(libdir)/pkgconfig
# -- P R O G R A M S ------------------------------------------
AC_PROG_CC
+AC_GNU_SOURCE
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_CXXCPP
AC_LIB_LTDL
+ALL_LINGUAS="en_AU"
+AM_GNU_GETTEXT([external])
+# This is here so autoreconf will run autopoint
+AM_GNU_GETTEXT_VERSION([0.16.1])
+localedir="$datadir/locale"
+
PKG_CHECK_MODULES(ETL, [ETL >= 0.04.10],,[
AC_MSG_ERROR([ ** You need to install the ETL (version 0.04.10 or greater).])
])
AC_SUBST(CONFIG_DEPS)
AC_SUBST(ETL_CFLAGS)
-SYNFIG_LIBS="$VIMAGE_LIBS $LIBXMLPP_LIBS $ETL_LIBS $LIBSIGC_LIBS"
-SYNFIG_CFLAGS="$LIBXMLPP_CFLAGS $ETL_CFLAGS $LIBSIGC_CFLAGS $CONFIG_CFLAGS -DSYNFIG_NO_DEPRECATED"
+SYNFIG_LIBS="$VIMAGE_LIBS $LIBXMLPP_LIBS $ETL_LIBS $LIBSIGC_LIBS $LTLIBINTL"
+SYNFIG_CFLAGS="$LIBXMLPP_CFLAGS $ETL_CFLAGS $LIBSIGC_CFLAGS $CONFIG_CFLAGS -DSYNFIG_NO_DEPRECATED -DLOCALEDIR=\\\"$localedir\\\""
CONFIG_CFLAGS="`echo $CONFIG_CFLAGS | sed s/-mno-cygwin//g | sed s/-mwindows//g`"
SYNFIG_CFLAGS="`echo $SYNFIG_CFLAGS | sed s/-mno-cygwin//g | sed s/-mwindows//g`"
synfig.spec
doxygen.cfg
Makefile
+po/Makefile.in
src/Makefile
src/synfig/Makefile
src/modules/Makefile
--- /dev/null
+DOMAIN = synfig
+subdir = po
+top_builddir = ..
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
+COPYRIGHT_HOLDER = Synfig Contributors
+MSGID_BUGS_ADDRESS = http://www.synfig.com
+EXTRA_LOCALE_CATEGORIES =
--- /dev/null
+# FIXME: move libsynfig into a separate domain
+# Disabled since they are not built
+# src/modules/example/filledrect.cpp
+# src/modules/example/filledrect.cpp
+# src/modules/example/filledrect.h
+# src/modules/example/main.cpp
+# src/modules/example/metaballs.cpp
+# src/modules/example/metaballs.h
+# src/modules/example/simplecircle.cpp
+# src/modules/example/simplecircle.h
+src/modules/lyr_freetype/lyr_freetype.cpp
+src/modules/lyr_freetype/lyr_freetype.h
+src/modules/lyr_freetype/main.cpp
+src/modules/lyr_std/bevel.cpp
+src/modules/lyr_std/bevel.h
+src/modules/lyr_std/booleancurve.cpp
+src/modules/lyr_std/booleancurve.h
+src/modules/lyr_std/clamp.cpp
+src/modules/lyr_std/clamp.h
+src/modules/lyr_std/import.cpp
+src/modules/lyr_std/import.h
+src/modules/lyr_std/insideout.cpp
+src/modules/lyr_std/insideout.h
+src/modules/lyr_std/julia.cpp
+src/modules/lyr_std/julia.h
+src/modules/lyr_std/main.cpp
+src/modules/lyr_std/mandelbrot.cpp
+src/modules/lyr_std/mandelbrot.h
+src/modules/lyr_std/rotate.cpp
+src/modules/lyr_std/rotate.h
+src/modules/lyr_std/shade.cpp
+src/modules/lyr_std/shade.h
+src/modules/lyr_std/sphere_distort.cpp
+src/modules/lyr_std/sphere_distort.h
+src/modules/lyr_std/stretch.cpp
+src/modules/lyr_std/stretch.h
+src/modules/lyr_std/supersample.cpp
+src/modules/lyr_std/supersample.h
+src/modules/lyr_std/timeloop.cpp
+src/modules/lyr_std/timeloop.h
+src/modules/lyr_std/translate.cpp
+src/modules/lyr_std/translate.h
+src/modules/lyr_std/twirl.cpp
+src/modules/lyr_std/twirl.h
+src/modules/lyr_std/warp.cpp
+src/modules/lyr_std/warp.h
+src/modules/lyr_std/xorpattern.cpp
+src/modules/lyr_std/xorpattern.h
+src/modules/lyr_std/zoom.cpp
+src/modules/lyr_std/zoom.h
+src/modules/mod_bmp/main.cpp
+src/modules/mod_bmp/mptr_bmp.cpp
+src/modules/mod_bmp/mptr_bmp.h
+src/modules/mod_bmp/trgt_bmp.cpp
+src/modules/mod_bmp/trgt_bmp.h
+src/modules/mod_dv/main.cpp
+src/modules/mod_dv/trgt_dv.cpp
+src/modules/mod_dv/trgt_dv.h
+src/modules/mod_ffmpeg/main.cpp
+src/modules/mod_ffmpeg/mptr_ffmpeg.cpp
+src/modules/mod_ffmpeg/mptr_ffmpeg.h
+src/modules/mod_ffmpeg/trgt_ffmpeg.cpp
+src/modules/mod_ffmpeg/trgt_ffmpeg.h
+src/modules/mod_filter/blur.cpp
+src/modules/mod_filter/blur.h
+src/modules/mod_filter/colorcorrect.cpp
+src/modules/mod_filter/colorcorrect.h
+src/modules/mod_filter/halftone2.cpp
+src/modules/mod_filter/halftone2.h
+src/modules/mod_filter/halftone3.cpp
+src/modules/mod_filter/halftone3.h
+src/modules/mod_filter/halftone.cpp
+src/modules/mod_filter/halftone.h
+src/modules/mod_filter/lumakey.cpp
+src/modules/mod_filter/lumakey.h
+src/modules/mod_filter/main.cpp
+src/modules/mod_filter/radialblur.cpp
+src/modules/mod_filter/radialblur.h
+src/modules/mod_geometry/checkerboard.cpp
+src/modules/mod_geometry/checkerboard.h
+src/modules/mod_geometry/circle.cpp
+src/modules/mod_geometry/circle.h
+src/modules/mod_geometry/main.cpp
+src/modules/mod_geometry/outline.cpp
+src/modules/mod_geometry/outline.h
+src/modules/mod_geometry/rectangle.cpp
+src/modules/mod_geometry/rectangle.h
+src/modules/mod_geometry/region.cpp
+src/modules/mod_geometry/region.h
+src/modules/mod_geometry/star.cpp
+src/modules/mod_geometry/star.h
+src/modules/mod_gif/main.cpp
+src/modules/mod_gif/trgt_gif.cpp
+src/modules/mod_gif/trgt_gif.h
+src/modules/mod_gradient/conicalgradient.cpp
+src/modules/mod_gradient/conicalgradient.h
+src/modules/mod_gradient/curvegradient.cpp
+src/modules/mod_gradient/curvegradient.h
+src/modules/mod_gradient/lineargradient.cpp
+src/modules/mod_gradient/lineargradient.h
+src/modules/mod_gradient/main.cpp
+src/modules/mod_gradient/radialgradient.cpp
+src/modules/mod_gradient/radialgradient.h
+src/modules/mod_gradient/spiralgradient.cpp
+src/modules/mod_gradient/spiralgradient.h
+src/modules/mod_imagemagick/main.cpp
+src/modules/mod_imagemagick/mptr_imagemagick.cpp
+src/modules/mod_imagemagick/mptr_imagemagick.h
+src/modules/mod_imagemagick/trgt_imagemagick.cpp
+src/modules/mod_imagemagick/trgt_imagemagick.h
+src/modules/mod_jpeg/main.cpp
+src/modules/mod_jpeg/mptr_jpeg.cpp
+src/modules/mod_jpeg/mptr_jpeg.h
+src/modules/mod_jpeg/trgt_jpeg.cpp
+src/modules/mod_jpeg/trgt_jpeg.h
+src/modules/mod_libavcodec/main.cpp
+src/modules/mod_libavcodec/mptr.cpp
+src/modules/mod_libavcodec/mptr.h
+src/modules/mod_libavcodec/trgt_av.cpp
+src/modules/mod_libavcodec/trgt_av.h
+src/modules/mod_magickpp/main.cpp
+src/modules/mod_magickpp/trgt_magickpp.cpp
+src/modules/mod_magickpp/trgt_magickpp.h
+src/modules/mod_mng/main.cpp
+src/modules/mod_mng/trgt_mng.cpp
+src/modules/mod_mng/trgt_mng.h
+src/modules/mod_noise/distort.cpp
+src/modules/mod_noise/distort.h
+src/modules/mod_noise/main.cpp
+src/modules/mod_noise/noise.cpp
+src/modules/mod_noise/noise.h
+src/modules/mod_noise/random.cpp
+src/modules/mod_noise/random.h
+src/modules/mod_noise/valuenode_random.cpp
+src/modules/mod_noise/valuenode_random.h
+src/modules/mod_openexr/main.cpp
+src/modules/mod_openexr/mptr_openexr.cpp
+src/modules/mod_openexr/mptr_openexr.h
+src/modules/mod_openexr/trgt_openexr.cpp
+src/modules/mod_openexr/trgt_openexr.h
+src/modules/mod_particle/main.cpp
+src/modules/mod_particle/plant.cpp
+src/modules/mod_particle/plant.h
+src/modules/mod_particle/random.cpp
+src/modules/mod_particle/random.h
+src/modules/mod_png/main.cpp
+src/modules/mod_png/mptr_png.cpp
+src/modules/mod_png/mptr_png.h
+src/modules/mod_png/trgt_png.cpp
+src/modules/mod_png/trgt_png.h
+src/modules/mod_ppm/main.cpp
+src/modules/mod_ppm/mptr_ppm.cpp
+src/modules/mod_ppm/mptr_ppm.h
+src/modules/mod_ppm/trgt_mpg.cpp
+src/modules/mod_ppm/trgt_mpg.h
+src/modules/mod_ppm/trgt_ppm.cpp
+src/modules/mod_ppm/trgt_ppm.h
+src/modules/mod_yuv420p/main.cpp
+src/modules/mod_yuv420p/trgt_yuv.cpp
+src/modules/mod_yuv420p/trgt_yuv.h
+src/modules/mptr_mplayer/main.cpp
+src/modules/mptr_mplayer/mptr_mplayer.cpp
+src/modules/mptr_mplayer/mptr_mplayer.h
+src/synfig/activepoint.cpp
+src/synfig/activepoint.h
+src/synfig/angle.h
+src/synfig/blinepoint.cpp
+src/synfig/blinepoint.h
+src/synfig/blur.cpp
+src/synfig/blur.h
+src/synfig/canvasbase.h
+src/synfig/canvas.cpp
+src/synfig/canvas.h
+src/synfig/color.cpp
+src/synfig/color.h
+src/synfig/context.cpp
+src/synfig/context.h
+src/synfig/curve_helper.cpp
+src/synfig/curve_helper.h
+src/synfig/curveset.cpp
+src/synfig/curveset.h
+src/synfig/distance.cpp
+src/synfig/distance.h
+src/synfig/exception.cpp
+src/synfig/exception.h
+src/synfig/gamma.cpp
+src/synfig/gamma.h
+src/synfig/general.h
+src/synfig/gradient.cpp
+src/synfig/gradient.h
+src/synfig/guid.cpp
+src/synfig/guid.h
+src/synfig/guidset.h
+src/synfig/importer.cpp
+src/synfig/importer.h
+src/synfig/interpolation.h
+src/synfig/keyframe.cpp
+src/synfig/keyframe.h
+src/synfig/layer_bitmap.cpp
+src/synfig/layer_bitmap.h
+src/synfig/layer_composite.cpp
+src/synfig/layer_composite.h
+src/synfig/layer.cpp
+src/synfig/layer.h
+src/synfig/layer_mime.cpp
+src/synfig/layer_mime.h
+src/synfig/layer_motionblur.cpp
+src/synfig/layer_motionblur.h
+src/synfig/layer_pastecanvas.cpp
+src/synfig/layer_pastecanvas.h
+src/synfig/layer_polygon.cpp
+src/synfig/layer_polygon.h
+src/synfig/layer_shape.cpp
+src/synfig/layer_shape.h
+src/synfig/layer_solidcolor.cpp
+src/synfig/layer_solidcolor.h
+src/synfig/listimporter.cpp
+src/synfig/listimporter.h
+src/synfig/loadcanvas.cpp
+src/synfig/loadcanvas.h
+src/synfig/main.cpp
+src/synfig/main.h
+src/synfig/module.cpp
+src/synfig/module.h
+src/synfig/mutex.cpp
+src/synfig/mutex.h
+src/synfig/nodebase.h
+src/synfig/node.cpp
+src/synfig/node.h
+src/synfig/palette.cpp
+src/synfig/palette.h
+src/synfig/paramdesc.cpp
+src/synfig/paramdesc.h
+src/synfig/pch.h
+src/synfig/polynomial_root.cpp
+src/synfig/polynomial_root.h
+src/synfig/protocol.h
+src/synfig/quick_rng.h
+src/synfig/real.h
+src/synfig/rect.cpp
+src/synfig/rect.h
+src/synfig/renddesc.cpp
+src/synfig/renddesc.h
+src/synfig/render.cpp
+src/synfig/render.h
+src/synfig/savecanvas.cpp
+src/synfig/savecanvas.h
+src/synfig/segment.h
+src/synfig/smartfile.h
+src/synfig/string_decl.h
+src/synfig/string.h
+src/synfig/surface.cpp
+src/synfig/surface.h
+src/synfig/surfacenew.cpp
+src/synfig/surfacenew.h
+src/synfig/synfig.h
+src/synfig/target.cpp
+src/synfig/target.h
+src/synfig/target_multi.cpp
+src/synfig/target_multi.h
+src/synfig/target_null.cpp
+src/synfig/target_null.h
+src/synfig/target_null_tile.cpp
+src/synfig/target_null_tile.h
+src/synfig/target_scanline.cpp
+src/synfig/target_scanline.h
+src/synfig/target_tile.cpp
+src/synfig/target_tile.h
+src/synfig/time.cpp
+src/synfig/time.h
+src/synfig/timepointcollect.cpp
+src/synfig/timepointcollect.h
+src/synfig/transform.cpp
+src/synfig/transform.h
+src/synfig/types.h
+src/synfig/uniqueid.cpp
+src/synfig/uniqueid.h
+src/synfig/value.cpp
+src/synfig/value.h
+src/synfig/valuenode_add.cpp
+src/synfig/valuenode_add.h
+src/synfig/valuenode_animated.cpp
+src/synfig/valuenode_animated.h
+src/synfig/valuenode_blinecalctangent.cpp
+src/synfig/valuenode_blinecalctangent.h
+src/synfig/valuenode_blinecalcvertex.cpp
+src/synfig/valuenode_blinecalcvertex.h
+src/synfig/valuenode_bline.cpp
+src/synfig/valuenode_bline.h
+src/synfig/valuenode_composite.cpp
+src/synfig/valuenode_composite.h
+src/synfig/valuenode_const.cpp
+src/synfig/valuenode_const.h
+src/synfig/valuenode_cos.cpp
+src/synfig/valuenode_cos.h
+src/synfig/valuenode.cpp
+src/synfig/valuenode_dynamiclist.cpp
+src/synfig/valuenode_dynamiclist.h
+src/synfig/valuenode_exp.cpp
+src/synfig/valuenode_exp.h
+src/synfig/valuenode_gradientrotate.cpp
+src/synfig/valuenode_gradientrotate.h
+src/synfig/valuenode.h
+src/synfig/valuenode_linear.cpp
+src/synfig/valuenode_linear.h
+src/synfig/valuenode_radialcomposite.cpp
+src/synfig/valuenode_radialcomposite.h
+src/synfig/valuenode_range.cpp
+src/synfig/valuenode_range.h
+src/synfig/valuenode_reference.cpp
+src/synfig/valuenode_reference.h
+src/synfig/valuenode_repeat_gradient.cpp
+src/synfig/valuenode_repeat_gradient.h
+src/synfig/valuenode_scale.cpp
+src/synfig/valuenode_scale.h
+src/synfig/valuenode_segcalctangent.cpp
+src/synfig/valuenode_segcalctangent.h
+src/synfig/valuenode_segcalcvertex.cpp
+src/synfig/valuenode_segcalcvertex.h
+src/synfig/valuenode_sine.cpp
+src/synfig/valuenode_sine.h
+src/synfig/valuenode_stripes.cpp
+src/synfig/valuenode_stripes.h
+src/synfig/valuenode_subtract.cpp
+src/synfig/valuenode_subtract.h
+src/synfig/valuenode_switch.cpp
+src/synfig/valuenode_switch.h
+src/synfig/valuenode_timedswap.cpp
+src/synfig/valuenode_timedswap.h
+src/synfig/valuenode_twotone.cpp
+src/synfig/valuenode_twotone.h
+src/synfig/vector.h
+src/synfig/version.h
+src/synfig/waypoint.cpp
+src/synfig/waypoint.h
+# Disabled because they are not built
+# src/template.cpp
+# src/template.h
+src/tool/main.cpp
SYNFIG_LAYER_INIT(FilledRect);
SYNFIG_LAYER_SET_NAME(FilledRect,"rectangle");
-SYNFIG_LAYER_SET_LOCAL_NAME(FilledRect,_("Rectangle"));
-SYNFIG_LAYER_SET_CATEGORY(FilledRect,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(FilledRect,N_("Rectangle"));
+SYNFIG_LAYER_SET_CATEGORY(FilledRect,N_("Geometry"));
SYNFIG_LAYER_SET_VERSION(FilledRect,"0.1");
SYNFIG_LAYER_SET_CVS_ID(FilledRect,"$Id$");
SYNFIG_LAYER_INIT(Metaballs);
SYNFIG_LAYER_SET_NAME(Metaballs,"metaballs");
-SYNFIG_LAYER_SET_LOCAL_NAME(Metaballs,_("Metaballs"));
-SYNFIG_LAYER_SET_CATEGORY(Metaballs,_("Default"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Metaballs,N_("Metaballs"));
+SYNFIG_LAYER_SET_CATEGORY(Metaballs,N_("Default"));
SYNFIG_LAYER_SET_VERSION(Metaballs,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Metaballs,"$Id$");
SYNFIG_LAYER_INIT(SimpleCircle);
SYNFIG_LAYER_SET_NAME(SimpleCircle,"simple_circle");
-SYNFIG_LAYER_SET_LOCAL_NAME(SimpleCircle,_("Simple Circle"));
-SYNFIG_LAYER_SET_CATEGORY(SimpleCircle,_("Do Not Use"));
+SYNFIG_LAYER_SET_LOCAL_NAME(SimpleCircle,N_("Simple Circle"));
+SYNFIG_LAYER_SET_CATEGORY(SimpleCircle,N_("Do Not Use"));
SYNFIG_LAYER_SET_VERSION(SimpleCircle,"0.1");
SYNFIG_LAYER_SET_CVS_ID(SimpleCircle,"$Id$");
SYNFIG_LAYER_INIT(Layer_Freetype);
SYNFIG_LAYER_SET_NAME(Layer_Freetype,"text");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Freetype,_("Text"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_Freetype,_("Other"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Freetype,N_("Text"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_Freetype,N_("Other"));
SYNFIG_LAYER_SET_VERSION(Layer_Freetype,"0.2");
SYNFIG_LAYER_SET_CVS_ID(Layer_Freetype,"$Id$");
SYNFIG_LAYER_INIT(Layer_Bevel);
SYNFIG_LAYER_SET_NAME(Layer_Bevel,"bevel");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Bevel,_("Bevel"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_Bevel,_("Stylize"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Bevel,N_("Bevel"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_Bevel,N_("Stylize"));
SYNFIG_LAYER_SET_VERSION(Layer_Bevel,"0.2");
SYNFIG_LAYER_SET_CVS_ID(Layer_Bevel,"$Id$");
SYNFIG_LAYER_INIT(Layer_Clamp);
SYNFIG_LAYER_SET_NAME(Layer_Clamp,"clamp");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Clamp,_("Clamp"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_Clamp,_("Filters"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Clamp,N_("Clamp"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_Clamp,N_("Filters"));
SYNFIG_LAYER_SET_VERSION(Layer_Clamp,"0.2");
SYNFIG_LAYER_SET_CVS_ID(Layer_Clamp,"$Id$");
SYNFIG_LAYER_INIT(Import);
SYNFIG_LAYER_SET_NAME(Import,"import");
-SYNFIG_LAYER_SET_LOCAL_NAME(Import,_("Import Image"));
-SYNFIG_LAYER_SET_CATEGORY(Import,_("Other"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Import,N_("Import Image"));
+SYNFIG_LAYER_SET_CATEGORY(Import,N_("Other"));
SYNFIG_LAYER_SET_VERSION(Import,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Import,"$Id$");
SYNFIG_LAYER_INIT(InsideOut);
SYNFIG_LAYER_SET_NAME(InsideOut,"inside_out");
-SYNFIG_LAYER_SET_LOCAL_NAME(InsideOut,_("Inside Out"));
-SYNFIG_LAYER_SET_CATEGORY(InsideOut,_("Distortions"));
+SYNFIG_LAYER_SET_LOCAL_NAME(InsideOut,N_("Inside Out"));
+SYNFIG_LAYER_SET_CATEGORY(InsideOut,N_("Distortions"));
SYNFIG_LAYER_SET_VERSION(InsideOut,"0.1");
SYNFIG_LAYER_SET_CVS_ID(InsideOut,"$Id$");
SYNFIG_LAYER_INIT(Julia);
SYNFIG_LAYER_SET_NAME(Julia,"julia");
-SYNFIG_LAYER_SET_LOCAL_NAME(Julia,_("Julia Set"));
-SYNFIG_LAYER_SET_CATEGORY(Julia,_("Fractals"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Julia,N_("Julia Set"));
+SYNFIG_LAYER_SET_CATEGORY(Julia,N_("Fractals"));
SYNFIG_LAYER_SET_VERSION(Julia,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Julia,"$Id$");
SYNFIG_LAYER_INIT(Mandelbrot);
SYNFIG_LAYER_SET_NAME(Mandelbrot,"mandelbrot");
-SYNFIG_LAYER_SET_LOCAL_NAME(Mandelbrot,_("Mandelbrot Set"));
-SYNFIG_LAYER_SET_CATEGORY(Mandelbrot,_("Fractals"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Mandelbrot,N_("Mandelbrot Set"));
+SYNFIG_LAYER_SET_CATEGORY(Mandelbrot,N_("Fractals"));
SYNFIG_LAYER_SET_VERSION(Mandelbrot,"0.2");
SYNFIG_LAYER_SET_CVS_ID(Mandelbrot,"$Id$");
SYNFIG_LAYER_INIT(Rotate);
SYNFIG_LAYER_SET_NAME(Rotate,"rotate");
-SYNFIG_LAYER_SET_LOCAL_NAME(Rotate,_("Rotate"));
-SYNFIG_LAYER_SET_CATEGORY(Rotate,_("Transform"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Rotate,N_("Rotate"));
+SYNFIG_LAYER_SET_CATEGORY(Rotate,N_("Transform"));
SYNFIG_LAYER_SET_VERSION(Rotate,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Rotate,"$Id$");
SYNFIG_LAYER_INIT(Layer_Shade);
SYNFIG_LAYER_SET_NAME(Layer_Shade,"shade");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Shade,_("Shade"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_Shade,_("Stylize"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Shade,N_("Shade"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_Shade,N_("Stylize"));
SYNFIG_LAYER_SET_VERSION(Layer_Shade,"0.2");
SYNFIG_LAYER_SET_CVS_ID(Layer_Shade,"$Id$");
SYNFIG_LAYER_INIT(Layer_SphereDistort);
SYNFIG_LAYER_SET_NAME(Layer_SphereDistort,"spherize");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_SphereDistort,_("Spherize"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_SphereDistort,_("Distortions"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_SphereDistort,N_("Spherize"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_SphereDistort,N_("Distortions"));
SYNFIG_LAYER_SET_VERSION(Layer_SphereDistort,"0.2");
SYNFIG_LAYER_SET_CVS_ID(Layer_SphereDistort,"$Id$");
SYNFIG_LAYER_INIT(Layer_Stretch);
SYNFIG_LAYER_SET_NAME(Layer_Stretch,"stretch");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Stretch,_("Stretch"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_Stretch,_("Distortions"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Stretch,N_("Stretch"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_Stretch,N_("Distortions"));
SYNFIG_LAYER_SET_VERSION(Layer_Stretch,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Layer_Stretch,"$Id$");
SYNFIG_LAYER_INIT(SuperSample);
SYNFIG_LAYER_SET_NAME(SuperSample,"super_sample");
-SYNFIG_LAYER_SET_LOCAL_NAME(SuperSample,_("Super Sample"));
-SYNFIG_LAYER_SET_CATEGORY(SuperSample,_("Other"));
+SYNFIG_LAYER_SET_LOCAL_NAME(SuperSample,N_("Super Sample"));
+SYNFIG_LAYER_SET_CATEGORY(SuperSample,N_("Other"));
SYNFIG_LAYER_SET_VERSION(SuperSample,"0.1");
SYNFIG_LAYER_SET_CVS_ID(SuperSample,"$Id$");
SYNFIG_LAYER_INIT(Layer_TimeLoop);
SYNFIG_LAYER_SET_NAME(Layer_TimeLoop,"timeloop");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_TimeLoop,_("Time Loop"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_TimeLoop,_("Other"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_TimeLoop,N_("Time Loop"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_TimeLoop,N_("Other"));
SYNFIG_LAYER_SET_VERSION(Layer_TimeLoop,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Layer_TimeLoop,"$Id$");
SYNFIG_LAYER_INIT(Translate);
SYNFIG_LAYER_SET_NAME(Translate,"translate");
-SYNFIG_LAYER_SET_LOCAL_NAME(Translate,_("Translate"));
-SYNFIG_LAYER_SET_CATEGORY(Translate,_("Transform"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Translate,N_("Translate"));
+SYNFIG_LAYER_SET_CATEGORY(Translate,N_("Transform"));
SYNFIG_LAYER_SET_VERSION(Translate,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Translate,"$Id$");
SYNFIG_LAYER_INIT(Twirl);
SYNFIG_LAYER_SET_NAME(Twirl,"twirl");
-SYNFIG_LAYER_SET_LOCAL_NAME(Twirl,_("Twirl"));
-SYNFIG_LAYER_SET_CATEGORY(Twirl,_("Distortions"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Twirl,N_("Twirl"));
+SYNFIG_LAYER_SET_CATEGORY(Twirl,N_("Distortions"));
SYNFIG_LAYER_SET_VERSION(Twirl,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Twirl,"$Id$");
SYNFIG_LAYER_INIT(Warp);
SYNFIG_LAYER_SET_NAME(Warp,"warp");
-SYNFIG_LAYER_SET_LOCAL_NAME(Warp,_("Warp"));
-SYNFIG_LAYER_SET_CATEGORY(Warp,_("Distortions"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Warp,N_("Warp"));
+SYNFIG_LAYER_SET_CATEGORY(Warp,N_("Distortions"));
SYNFIG_LAYER_SET_VERSION(Warp,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Warp,"$Id$");
SYNFIG_LAYER_INIT(XORPattern);
SYNFIG_LAYER_SET_NAME(XORPattern,"xor_pattern");
-SYNFIG_LAYER_SET_LOCAL_NAME(XORPattern,_("XOR Pattern"));
-SYNFIG_LAYER_SET_CATEGORY(XORPattern,_("Other"));
+SYNFIG_LAYER_SET_LOCAL_NAME(XORPattern,N_("XOR Pattern"));
+SYNFIG_LAYER_SET_CATEGORY(XORPattern,N_("Other"));
SYNFIG_LAYER_SET_VERSION(XORPattern,"0.1");
SYNFIG_LAYER_SET_CVS_ID(XORPattern,"$Id$");
SYNFIG_LAYER_INIT(Zoom);
SYNFIG_LAYER_SET_NAME(Zoom,"zoom");
-SYNFIG_LAYER_SET_LOCAL_NAME(Zoom,_("Zoom"));
-SYNFIG_LAYER_SET_CATEGORY(Zoom,_("Transform"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Zoom,N_("Zoom"));
+SYNFIG_LAYER_SET_CATEGORY(Zoom,N_("Transform"));
SYNFIG_LAYER_SET_VERSION(Zoom,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Zoom,"$Id$");
SYNFIG_LAYER_INIT(Blur_Layer);
SYNFIG_LAYER_SET_NAME(Blur_Layer,"blur");
-SYNFIG_LAYER_SET_LOCAL_NAME(Blur_Layer,_("Blur"));
-SYNFIG_LAYER_SET_CATEGORY(Blur_Layer,_("Blurs"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Blur_Layer,N_("Blur"));
+SYNFIG_LAYER_SET_CATEGORY(Blur_Layer,N_("Blurs"));
SYNFIG_LAYER_SET_VERSION(Blur_Layer,"0.2");
SYNFIG_LAYER_SET_CVS_ID(Blur_Layer,"$Id$");
SYNFIG_LAYER_INIT(Layer_ColorCorrect);
SYNFIG_LAYER_SET_NAME(Layer_ColorCorrect,"colorcorrect");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_ColorCorrect,_("Color Correct"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_ColorCorrect,_("Filters"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_ColorCorrect,N_("Color Correct"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_ColorCorrect,N_("Filters"));
SYNFIG_LAYER_SET_VERSION(Layer_ColorCorrect,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Layer_ColorCorrect,"$Id$");
SYNFIG_LAYER_INIT(Halftone2);
SYNFIG_LAYER_SET_NAME(Halftone2,"halftone2");
-SYNFIG_LAYER_SET_LOCAL_NAME(Halftone2,_("Halftone 2"));
-SYNFIG_LAYER_SET_CATEGORY(Halftone2,_("Filters"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Halftone2,N_("Halftone 2"));
+SYNFIG_LAYER_SET_CATEGORY(Halftone2,N_("Filters"));
SYNFIG_LAYER_SET_VERSION(Halftone2,"0.0");
SYNFIG_LAYER_SET_CVS_ID(Halftone2,"$Id$");
SYNFIG_LAYER_INIT(Halftone3);
SYNFIG_LAYER_SET_NAME(Halftone3,"halftone3");
-SYNFIG_LAYER_SET_LOCAL_NAME(Halftone3,_("Halftone 3"));
-SYNFIG_LAYER_SET_CATEGORY(Halftone3,_("Filters"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Halftone3,N_("Halftone 3"));
+SYNFIG_LAYER_SET_CATEGORY(Halftone3,N_("Filters"));
SYNFIG_LAYER_SET_VERSION(Halftone3,"0.0");
SYNFIG_LAYER_SET_CVS_ID(Halftone3,"$Id$");
SYNFIG_LAYER_INIT(LumaKey);
SYNFIG_LAYER_SET_NAME(LumaKey,"lumakey");
-SYNFIG_LAYER_SET_LOCAL_NAME(LumaKey,_("Luma Key"));
-SYNFIG_LAYER_SET_CATEGORY(LumaKey,_("Filters"));
+SYNFIG_LAYER_SET_LOCAL_NAME(LumaKey,N_("Luma Key"));
+SYNFIG_LAYER_SET_CATEGORY(LumaKey,N_("Filters"));
SYNFIG_LAYER_SET_VERSION(LumaKey,"0.1");
SYNFIG_LAYER_SET_CVS_ID(LumaKey,"$Id$");
SYNFIG_LAYER_INIT(RadialBlur);
SYNFIG_LAYER_SET_NAME(RadialBlur,"radial_blur");
-SYNFIG_LAYER_SET_LOCAL_NAME(RadialBlur,_("Radial Blur"));
-SYNFIG_LAYER_SET_CATEGORY(RadialBlur,_("Blurs"));
+SYNFIG_LAYER_SET_LOCAL_NAME(RadialBlur,N_("Radial Blur"));
+SYNFIG_LAYER_SET_CATEGORY(RadialBlur,N_("Blurs"));
SYNFIG_LAYER_SET_VERSION(RadialBlur,"0.1");
SYNFIG_LAYER_SET_CVS_ID(RadialBlur,"$Id$");
SYNFIG_LAYER_INIT(CheckerBoard);
SYNFIG_LAYER_SET_NAME(CheckerBoard,"checker_board");
-SYNFIG_LAYER_SET_LOCAL_NAME(CheckerBoard,_("Checkerboard"));
-SYNFIG_LAYER_SET_CATEGORY(CheckerBoard,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(CheckerBoard,N_("Checkerboard"));
+SYNFIG_LAYER_SET_CATEGORY(CheckerBoard,N_("Geometry"));
SYNFIG_LAYER_SET_VERSION(CheckerBoard,"0.1");
SYNFIG_LAYER_SET_CVS_ID(CheckerBoard,"$Id$");
SYNFIG_LAYER_INIT(Circle);
SYNFIG_LAYER_SET_NAME(Circle,"circle");
-SYNFIG_LAYER_SET_LOCAL_NAME(Circle,_("Circle"));
-SYNFIG_LAYER_SET_CATEGORY(Circle,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Circle,N_("Circle"));
+SYNFIG_LAYER_SET_CATEGORY(Circle,N_("Geometry"));
SYNFIG_LAYER_SET_VERSION(Circle,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Circle,"$Id$");
SYNFIG_LAYER_INIT(Outline);
SYNFIG_LAYER_SET_NAME(Outline,"outline");
-SYNFIG_LAYER_SET_LOCAL_NAME(Outline,_("Outline"));
-SYNFIG_LAYER_SET_CATEGORY(Outline,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Outline,N_("Outline"));
+SYNFIG_LAYER_SET_CATEGORY(Outline,N_("Geometry"));
SYNFIG_LAYER_SET_VERSION(Outline,"0.2");
SYNFIG_LAYER_SET_CVS_ID(Outline,"$Id$");
if (!bline.get_list().size())
{
- synfig::warning(string("Outline::sync():")+_("No vertices in outline " + string("\"") + get_description() + string("\"")));
+ synfig::warning(string("Outline::sync():")+N_("No vertices in outline " + string("\"") + get_description() + string("\"")));
return;
}
SYNFIG_LAYER_INIT(Rectangle);
SYNFIG_LAYER_SET_NAME(Rectangle,"rectangle");
-SYNFIG_LAYER_SET_LOCAL_NAME(Rectangle,_("Rectangle"));
-SYNFIG_LAYER_SET_CATEGORY(Rectangle,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Rectangle,N_("Rectangle"));
+SYNFIG_LAYER_SET_CATEGORY(Rectangle,N_("Geometry"));
SYNFIG_LAYER_SET_VERSION(Rectangle,"0.2");
SYNFIG_LAYER_SET_CVS_ID(Rectangle,"$Id$");
SYNFIG_LAYER_INIT(Region);
SYNFIG_LAYER_SET_NAME(Region,"region");
-SYNFIG_LAYER_SET_LOCAL_NAME(Region,_("Region"));
-SYNFIG_LAYER_SET_CATEGORY(Region,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Region,N_("Region"));
+SYNFIG_LAYER_SET_CATEGORY(Region,N_("Geometry"));
SYNFIG_LAYER_SET_VERSION(Region,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Region,"$Id$");
SYNFIG_LAYER_INIT(Star);
SYNFIG_LAYER_SET_NAME(Star,"star");
-SYNFIG_LAYER_SET_LOCAL_NAME(Star,_("Star"));
-SYNFIG_LAYER_SET_CATEGORY(Star,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Star,N_("Star"));
+SYNFIG_LAYER_SET_CATEGORY(Star,N_("Geometry"));
SYNFIG_LAYER_SET_VERSION(Star,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Star,"$Id$");
SYNFIG_LAYER_INIT(ConicalGradient);
SYNFIG_LAYER_SET_NAME(ConicalGradient,"conical_gradient");
-SYNFIG_LAYER_SET_LOCAL_NAME(ConicalGradient,_("Conical Gradient"));
-SYNFIG_LAYER_SET_CATEGORY(ConicalGradient,_("Gradients"));
+SYNFIG_LAYER_SET_LOCAL_NAME(ConicalGradient,N_("Conical Gradient"));
+SYNFIG_LAYER_SET_CATEGORY(ConicalGradient,N_("Gradients"));
SYNFIG_LAYER_SET_VERSION(ConicalGradient,"0.1");
SYNFIG_LAYER_SET_CVS_ID(ConicalGradient,"$Id$");
SYNFIG_LAYER_INIT(CurveGradient);
SYNFIG_LAYER_SET_NAME(CurveGradient,"curve_gradient");
-SYNFIG_LAYER_SET_LOCAL_NAME(CurveGradient,_("Curve Gradient"));
-SYNFIG_LAYER_SET_CATEGORY(CurveGradient,_("Gradients"));
+SYNFIG_LAYER_SET_LOCAL_NAME(CurveGradient,N_("Curve Gradient"));
+SYNFIG_LAYER_SET_CATEGORY(CurveGradient,N_("Gradients"));
SYNFIG_LAYER_SET_VERSION(CurveGradient,"0.0");
SYNFIG_LAYER_SET_CVS_ID(CurveGradient,"$Id$");
SYNFIG_LAYER_INIT(LinearGradient);
SYNFIG_LAYER_SET_NAME(LinearGradient,"linear_gradient");
-SYNFIG_LAYER_SET_LOCAL_NAME(LinearGradient,_("Linear Gradient"));
-SYNFIG_LAYER_SET_CATEGORY(LinearGradient,_("Gradients"));
+SYNFIG_LAYER_SET_LOCAL_NAME(LinearGradient,N_("Linear Gradient"));
+SYNFIG_LAYER_SET_CATEGORY(LinearGradient,N_("Gradients"));
SYNFIG_LAYER_SET_VERSION(LinearGradient,"0.0");
SYNFIG_LAYER_SET_CVS_ID(LinearGradient,"$Id$");
SYNFIG_LAYER_INIT(RadialGradient);
SYNFIG_LAYER_SET_NAME(RadialGradient,"radial_gradient");
-SYNFIG_LAYER_SET_LOCAL_NAME(RadialGradient,_("Radial Gradient"));
-SYNFIG_LAYER_SET_CATEGORY(RadialGradient,_("Gradients"));
+SYNFIG_LAYER_SET_LOCAL_NAME(RadialGradient,N_("Radial Gradient"));
+SYNFIG_LAYER_SET_CATEGORY(RadialGradient,N_("Gradients"));
SYNFIG_LAYER_SET_VERSION(RadialGradient,"0.1");
SYNFIG_LAYER_SET_CVS_ID(RadialGradient,"$Id$");
SYNFIG_LAYER_INIT(SpiralGradient);
SYNFIG_LAYER_SET_NAME(SpiralGradient,"spiral_gradient");
-SYNFIG_LAYER_SET_LOCAL_NAME(SpiralGradient,_("Spiral Gradient"));
-SYNFIG_LAYER_SET_CATEGORY(SpiralGradient,_("Gradients"));
+SYNFIG_LAYER_SET_LOCAL_NAME(SpiralGradient,N_("Spiral Gradient"));
+SYNFIG_LAYER_SET_CATEGORY(SpiralGradient,N_("Gradients"));
SYNFIG_LAYER_SET_VERSION(SpiralGradient,"0.1");
SYNFIG_LAYER_SET_CVS_ID(SpiralGradient,"$Id$");
SYNFIG_LAYER_INIT(NoiseDistort);
SYNFIG_LAYER_SET_NAME(NoiseDistort,"noise_distort");
-SYNFIG_LAYER_SET_LOCAL_NAME(NoiseDistort,_("Noise Distort"));
-SYNFIG_LAYER_SET_CATEGORY(NoiseDistort,_("Distortions"));
+SYNFIG_LAYER_SET_LOCAL_NAME(NoiseDistort,N_("Noise Distort"));
+SYNFIG_LAYER_SET_CATEGORY(NoiseDistort,N_("Distortions"));
SYNFIG_LAYER_SET_VERSION(NoiseDistort,"0.0");
SYNFIG_LAYER_SET_CVS_ID(NoiseDistort,"$Id$");
SYNFIG_LAYER_INIT(Noise);
SYNFIG_LAYER_SET_NAME(Noise,"noise");
-SYNFIG_LAYER_SET_LOCAL_NAME(Noise,_("Noise Gradient"));
-SYNFIG_LAYER_SET_CATEGORY(Noise,_("Gradients"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Noise,N_("Noise Gradient"));
+SYNFIG_LAYER_SET_CATEGORY(Noise,N_("Gradients"));
SYNFIG_LAYER_SET_VERSION(Noise,"0.0");
SYNFIG_LAYER_SET_CVS_ID(Noise,"$Id$");
SYNFIG_LAYER_INIT(Plant);
SYNFIG_LAYER_SET_NAME(Plant,"plant");
-SYNFIG_LAYER_SET_LOCAL_NAME(Plant,_("Plant"));
-SYNFIG_LAYER_SET_CATEGORY(Plant,_("Other"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Plant,N_("Plant"));
+SYNFIG_LAYER_SET_CATEGORY(Plant,N_("Other"));
SYNFIG_LAYER_SET_VERSION(Plant,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Plant,"$Id$");
#include "string.h"
#include "version.h"
#include <locale.h>
+#include <libintl.h>
/* === M A C R O S ========================================================= */
-// Quick hack to keep stuff working until gettext support is added
-#ifndef _
-#define _(x) (x)
-#define N_(x) (x)
-//#define gettext(x) (x)
-#endif
+#define _(x) dgettext("synfig",x)
+#define gettext_noop(x) x
+#define N_(x) gettext_noop(x)
#define SYNFIG_COPYRIGHT "Copyright (c) 2001-2005 Robert B. Quattlebaum Jr., Adrian Bentley"
{
_layer_book=new Book();
-#define INCLUDE_LAYER(class) synfig::Layer::book()[synfig::String(class::name__)]=BookEntry(class::create,class::name__,class::local_name__,class::category__,class::cvs_id__,class::version__)
+#define INCLUDE_LAYER(class) synfig::Layer::book()[synfig::String(class::name__)]=BookEntry(class::create,class::name__,dgettext("synfig",class::local_name__),dgettext("synfig",class::category__),class::cvs_id__,class::version__)
#define LAYER_ALIAS(class,alias) synfig::Layer::book()[synfig::String(alias)]=synfig::Layer::BookEntry(class::create,alias,alias,_("Do Not Use"),class::cvs_id__,class::version__);
INCLUDE_LAYER(Layer_SolidColor); LAYER_ALIAS(Layer_SolidColor, "solid_color");
String
Layer::get_local_name()const
{
- return get_param("local_name__").get(String());
+ return dgettext("synfig",get_param("local_name__").get(String()));
}
#define EXPORT(x) EXPORT_AS(x,#x)
//! \writeme
-#define EXPORT_NAME() if(param=="Name" || param=="name" || param=="name__") { return name__; } if(param=="local_name__") { return local_name__; }
+#define EXPORT_NAME() if(param=="Name" || param=="name" || param=="name__") { return name__; } if(param=="local_name__") { return dgettext("synfig",local_name__); }
//! \writeme
#define EXPORT_VERSION() if(param=="Version" || param=="version" || param=="version__") { return version__; }
SYNFIG_LAYER_INIT(Layer_MotionBlur);
SYNFIG_LAYER_SET_NAME(Layer_MotionBlur,"MotionBlur"); // todo: use motion_blur
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_MotionBlur,_("Motion Blur"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_MotionBlur,_("Blurs"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_MotionBlur,N_("Motion Blur"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_MotionBlur,N_("Blurs"));
SYNFIG_LAYER_SET_VERSION(Layer_MotionBlur,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Layer_MotionBlur,"$Id$");
SYNFIG_LAYER_INIT(Layer_PasteCanvas);
SYNFIG_LAYER_SET_NAME(Layer_PasteCanvas,"PasteCanvas"); // todo: use paste_canvas
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_PasteCanvas,_("Paste Canvas"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_PasteCanvas,_("Other"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_PasteCanvas,N_("Paste Canvas"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_PasteCanvas,N_("Other"));
SYNFIG_LAYER_SET_VERSION(Layer_PasteCanvas,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Layer_PasteCanvas,"$Id$");
SYNFIG_LAYER_INIT(Layer_Polygon);
SYNFIG_LAYER_SET_NAME(Layer_Polygon,"polygon");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Polygon,_("Polygon"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_Polygon,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Polygon,N_("Polygon"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_Polygon,N_("Geometry"));
SYNFIG_LAYER_SET_VERSION(Layer_Polygon,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Layer_Polygon,"$Id$");
SYNFIG_LAYER_INIT(Layer_Shape);
SYNFIG_LAYER_SET_NAME(Layer_Shape,"shape");
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Shape,_("Shape"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_Shape,_("Internal"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Shape,N_("Shape"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_Shape,N_("Internal"));
SYNFIG_LAYER_SET_VERSION(Layer_Shape,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Layer_Shape,"$Id$");
SYNFIG_LAYER_INIT(Layer_SolidColor);
SYNFIG_LAYER_SET_NAME(Layer_SolidColor,"SolidColor"); // todo: use solid_color
-SYNFIG_LAYER_SET_LOCAL_NAME(Layer_SolidColor,_("Solid Color"));
-SYNFIG_LAYER_SET_CATEGORY(Layer_SolidColor,_("Geometry"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Layer_SolidColor,N_("Solid Color"));
+SYNFIG_LAYER_SET_CATEGORY(Layer_SolidColor,N_("Geometry"));
SYNFIG_LAYER_SET_VERSION(Layer_SolidColor,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Layer_SolidColor,"$Id$");
// Add initialization after this point
+ bindtextdomain("synfig", LOCALEDIR);
CHECK_EXPIRE_TIME();
/* === M A C R O S ========================================================= */
+#undef _
+#define _(x) gettext(x)
+
enum exit_code
{
SYNFIGTOOL_OK = 0,
arg_list_t arg_list;
job_list_t job_list;
+ setlocale(LC_ALL, "");
+ bindtextdomain("synfig", LOCALEDIR);
+ textdomain("synfig");
+
progname=argv[0];
Progress p(argv[0]);
MAINTAINERCLEANFILES=COPYING INSTALL config/ltmain.sh config/config.guess config/config.sub config/ltmain.sh config/install-sh config/mkinstalldirs config/aclocal.m4 config/missing config/texinfo.tex config/depcomp aclocal.m4 config.h.in configure stamp-h.in Makefile.in config.log config.status .doc_stamp .DS_Store synfigstudio.spec
-SUBDIRS=src images
+SUBDIRS=src images po
EXTRA_DIST=COPYING TODO m4/subs.m4 macosxbuild.sh win32build.sh win32inst.nsi.in config/package config/depcomp m4/cxx_macros.m4 synfigstudio.spec synfigstudio.spec.in m4/ETL.m4 ChangeLog.old synfigstudio.xml.in synfigstudio-thumbnailer.schemas.in
# -- P R O G R A M S ------------------------------------------
AC_PROG_CC
+AC_GNU_SOURCE
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_CXXCPP
AC_SUBST(LIBTOOL_DEPS)
AC_LIBTOOL_PATCH
-
-
-
-
-dnl AC_PROG_INTLTOOL(0.11)
+## FIXME: add i18n for .desktop and other non-compiled files
+## AM_GLIB_GNU_GETTEXT([external])
+## AC_PROG_INTLTOOL(0.11)
+ALL_LINGUAS="en_AU"
+AM_GNU_GETTEXT([external])
+# This is here so autoreconf will run autopoint
+AM_GNU_GETTEXT_VERSION([0.16.1])
case "$host" in
*mingw* | *cygwin*)
AC_OUTPUT(
Makefile
+po/Makefile.in
synfigstudio.spec
synfigstudio.desktop
synfigstudio.mime
--- /dev/null
+DOMAIN = synfigstudio
+subdir = po
+top_builddir = ..
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
+COPYRIGHT_HOLDER = Synfig Contributors
+MSGID_BUGS_ADDRESS = http://www.synfig.com
+EXTRA_LOCALE_CATEGORIES =
--- /dev/null
+src/gtkmm/about.cpp
+src/gtkmm/about.h
+src/gtkmm/adjust_window.cpp
+src/gtkmm/adjust_window.h
+src/gtkmm/app.cpp
+src/gtkmm/app.h
+src/gtkmm/asyncrenderer.cpp
+src/gtkmm/asyncrenderer.h
+src/gtkmm/audiocontainer.cpp
+src/gtkmm/audiocontainer.h
+src/gtkmm/autorecover.cpp
+src/gtkmm/autorecover.h
+src/gtkmm/canvasoptions.cpp
+src/gtkmm/canvasoptions.h
+src/gtkmm/canvasproperties.cpp
+src/gtkmm/canvasproperties.h
+src/gtkmm/canvastreestore.cpp
+src/gtkmm/canvastreestore.h
+src/gtkmm/canvasview.cpp
+src/gtkmm/canvasview.h
+src/gtkmm/cellrenderer_gradient.cpp
+src/gtkmm/cellrenderer_gradient.h
+src/gtkmm/cellrenderer_time.cpp
+src/gtkmm/cellrenderer_time.h
+src/gtkmm/cellrenderer_timetrack.cpp
+src/gtkmm/cellrenderer_timetrack.h
+src/gtkmm/cellrenderer_value.cpp
+src/gtkmm/cellrenderer_value.h
+src/gtkmm/childrentree.cpp
+src/gtkmm/childrentree.h
+src/gtkmm/childrentreestore.cpp
+src/gtkmm/childrentreestore.h
+src/gtkmm/compview.cpp
+src/gtkmm/compview.h
+src/gtkmm/devicetracker.cpp
+src/gtkmm/devicetracker.h
+src/gtkmm/dialog_color.cpp
+src/gtkmm/dialog_color.h
+src/gtkmm/dialog_gradient.cpp
+src/gtkmm/dialog_gradient.h
+src/gtkmm/dialog_keyframe.cpp
+src/gtkmm/dialog_keyframe.h
+src/gtkmm/dialog_preview.cpp
+src/gtkmm/dialog_preview.h
+src/gtkmm/dialogsettings.cpp
+src/gtkmm/dialogsettings.h
+src/gtkmm/dialog_setup.cpp
+src/gtkmm/dialog_setup.h
+src/gtkmm/dialog_soundselect.cpp
+src/gtkmm/dialog_soundselect.h
+src/gtkmm/dialog_tooloptions.cpp
+src/gtkmm/dialog_tooloptions.h
+src/gtkmm/dialog_waypoint.cpp
+src/gtkmm/dialog_waypoint.h
+src/gtkmm/dockable.cpp
+src/gtkmm/dockable.h
+src/gtkmm/dockbook.cpp
+src/gtkmm/dockbook.h
+src/gtkmm/dock_canvases.cpp
+src/gtkmm/dock_canvases.h
+src/gtkmm/dock_canvasspecific.cpp
+src/gtkmm/dock_canvasspecific.h
+src/gtkmm/dock_children.cpp
+src/gtkmm/dock_children.h
+src/gtkmm/dock_curves.cpp
+src/gtkmm/dock_curves.h
+src/gtkmm/dockdialog.cpp
+src/gtkmm/dockdialog.h
+src/gtkmm/dock_history.cpp
+src/gtkmm/dock_history.h
+src/gtkmm/dock_info.cpp
+src/gtkmm/dock_info.h
+src/gtkmm/dock_keyframes.cpp
+src/gtkmm/dock_keyframes.h
+src/gtkmm/dock_layergroups.cpp
+src/gtkmm/dock_layergroups.h
+src/gtkmm/dock_layers.cpp
+src/gtkmm/dock_layers.h
+src/gtkmm/dockmanager.cpp
+src/gtkmm/dockmanager.h
+src/gtkmm/dock_metadata.cpp
+src/gtkmm/dock_metadata.h
+src/gtkmm/dock_navigator.cpp
+src/gtkmm/dock_navigator.h
+src/gtkmm/dock_params.cpp
+src/gtkmm/dock_params.h
+src/gtkmm/dock_timetrack.cpp
+src/gtkmm/dock_timetrack.h
+src/gtkmm/duck.cpp
+src/gtkmm/duck.h
+src/gtkmm/duckmatic.cpp
+src/gtkmm/duckmatic.h
+src/gtkmm/ducktransform_rotate.h
+src/gtkmm/ducktransform_scale.h
+src/gtkmm/ducktransform_translate.h
+src/gtkmm/eventkey.h
+src/gtkmm/event_layerclick.h
+src/gtkmm/event_mouse.h
+src/gtkmm/groupactionmanager.cpp
+src/gtkmm/groupactionmanager.h
+src/gtkmm/historytreestore.cpp
+src/gtkmm/historytreestore.h
+src/gtkmm/iconcontroller.cpp
+src/gtkmm/iconcontroller.h
+src/gtkmm/instance.cpp
+src/gtkmm/instance.h
+src/gtkmm/ipc.cpp
+src/gtkmm/ipc.h
+src/gtkmm/keyframeactionmanager.cpp
+src/gtkmm/keyframeactionmanager.h
+src/gtkmm/keyframetree.cpp
+src/gtkmm/keyframetree.h
+src/gtkmm/keyframetreestore.cpp
+src/gtkmm/keyframetreestore.h
+src/gtkmm/keymapsettings.cpp
+src/gtkmm/keymapsettings.h
+src/gtkmm/layeractionmanager.cpp
+src/gtkmm/layeractionmanager.h
+src/gtkmm/layergrouptree.cpp
+src/gtkmm/layergrouptree.h
+src/gtkmm/layergrouptreestore.cpp
+src/gtkmm/layergrouptreestore.h
+src/gtkmm/layerparamtreestore.cpp
+src/gtkmm/layerparamtreestore.h
+src/gtkmm/layertree.cpp
+src/gtkmm/layertree.h
+src/gtkmm/layertreestore.cpp
+src/gtkmm/layertreestore.h
+src/gtkmm/main.cpp
+src/gtkmm/metadatatreestore.cpp
+src/gtkmm/metadatatreestore.h
+src/gtkmm/mod_mirror/mod_mirror.cpp
+src/gtkmm/mod_mirror/mod_mirror.h
+src/gtkmm/mod_mirror/state_mirror.cpp
+src/gtkmm/mod_mirror/state_mirror.h
+src/gtkmm/mod_palette/dock_palbrowse.cpp
+src/gtkmm/mod_palette/dock_palbrowse.h
+src/gtkmm/mod_palette/dock_paledit.cpp
+src/gtkmm/mod_palette/dock_paledit.h
+src/gtkmm/mod_palette/mod_palette.cpp
+src/gtkmm/mod_palette/mod_palette.h
+src/gtkmm/module.cpp
+src/gtkmm/module.h
+src/gtkmm/onemoment.cpp
+src/gtkmm/onemoment.h
+src/gtkmm/preview.cpp
+src/gtkmm/preview.h
+src/gtkmm/renddesc.cpp
+src/gtkmm/renddesc.h
+src/gtkmm/render.cpp
+src/gtkmm/renderer_bbox.cpp
+src/gtkmm/renderer_bbox.h
+src/gtkmm/renderer_canvas.cpp
+src/gtkmm/renderer_canvas.h
+src/gtkmm/renderer_dragbox.cpp
+src/gtkmm/renderer_dragbox.h
+src/gtkmm/renderer_ducks.cpp
+src/gtkmm/renderer_ducks.h
+src/gtkmm/renderer_grid.cpp
+src/gtkmm/renderer_grid.h
+src/gtkmm/renderer_guides.cpp
+src/gtkmm/renderer_guides.h
+src/gtkmm/renderer_timecode.cpp
+src/gtkmm/renderer_timecode.h
+src/gtkmm/render.h
+src/gtkmm/smach.h
+src/gtkmm/state_bline.cpp
+src/gtkmm/state_bline.h
+src/gtkmm/state_circle.cpp
+src/gtkmm/state_circle.h
+src/gtkmm/state_draw.cpp
+src/gtkmm/state_draw.h
+src/gtkmm/state_eyedrop.cpp
+src/gtkmm/state_eyedrop.h
+src/gtkmm/state_fill.cpp
+src/gtkmm/state_fill.h
+src/gtkmm/state_gradient.cpp
+src/gtkmm/state_gradient.h
+src/gtkmm/statemanager.cpp
+src/gtkmm/statemanager.h
+src/gtkmm/state_normal.cpp
+src/gtkmm/state_normal.h
+src/gtkmm/state_polygon.cpp
+src/gtkmm/state_polygon.h
+src/gtkmm/state_rectangle.cpp
+src/gtkmm/state_rectangle.h
+src/gtkmm/state_rotate.cpp
+src/gtkmm/state_rotate.h
+src/gtkmm/state_scale.cpp
+src/gtkmm/state_scale.h
+src/gtkmm/state_sketch.cpp
+src/gtkmm/state_sketch.h
+src/gtkmm/state_smoothmove.cpp
+src/gtkmm/state_smoothmove.h
+src/gtkmm/state_stroke.cpp
+src/gtkmm/state_stroke.h
+src/gtkmm/state_width.cpp
+src/gtkmm/state_width.h
+src/gtkmm/state_zoom.cpp
+src/gtkmm/state_zoom.h
+src/gtkmm/toolbox.cpp
+src/gtkmm/toolbox.h
+src/gtkmm/valuelink.cpp
+src/gtkmm/valuelink.h
+src/gtkmm/widget_canvaschooser.cpp
+src/gtkmm/widget_canvaschooser.h
+src/gtkmm/widget_color.cpp
+src/gtkmm/widget_coloredit.cpp
+src/gtkmm/widget_coloredit.h
+src/gtkmm/widget_color.h
+src/gtkmm/widget_compselect.cpp
+src/gtkmm/widget_compselect.h
+src/gtkmm/widget_curves.cpp
+src/gtkmm/widget_curves.h
+src/gtkmm/widget_defaults.cpp
+src/gtkmm/widget_defaults.h
+src/gtkmm/widget_distance.cpp
+src/gtkmm/widget_distance.h
+src/gtkmm/widget_enum.cpp
+src/gtkmm/widget_enum.h
+src/gtkmm/widget_filename.cpp
+src/gtkmm/widget_filename.h
+src/gtkmm/widget_gradient.cpp
+src/gtkmm/widget_gradient.h
+src/gtkmm/widget_sound.cpp
+src/gtkmm/widget_sound.h
+src/gtkmm/widget_time.cpp
+src/gtkmm/widget_time.h
+src/gtkmm/widget_timeslider.cpp
+src/gtkmm/widget_timeslider.h
+src/gtkmm/widget_value.cpp
+src/gtkmm/widget_value.h
+src/gtkmm/widget_vector.cpp
+src/gtkmm/widget_vector.h
+src/gtkmm/widget_waypoint.cpp
+src/gtkmm/widget_waypoint.h
+src/gtkmm/widget_waypointmodel.cpp
+src/gtkmm/widget_waypointmodel.h
+src/gtkmm/workarea.cpp
+src/gtkmm/workarea.h
+src/gtkmm/workarearenderer.cpp
+src/gtkmm/workarearenderer.h
+src/gtkmm/zoomdial.cpp
+src/gtkmm/zoomdial.h
+# FIXME: Split these out into a libsynfigapp domain
+src/synfigapp/action.cpp
+src/synfigapp/action.h
+src/synfigapp/action_param.cpp
+src/synfigapp/action_param.h
+src/synfigapp/actions/activepointadd.cpp
+src/synfigapp/actions/activepointadd.h
+src/synfigapp/actions/activepointremove.cpp
+src/synfigapp/actions/activepointremove.h
+src/synfigapp/actions/activepointset.cpp
+src/synfigapp/actions/activepointset.h
+src/synfigapp/actions/activepointsetoff.cpp
+src/synfigapp/actions/activepointsetoff.h
+src/synfigapp/actions/activepointseton.cpp
+src/synfigapp/actions/activepointseton.h
+src/synfigapp/actions/activepointsetsmart.cpp
+src/synfigapp/actions/activepointsetsmart.h
+src/synfigapp/actions/activepointsimpleadd.cpp
+src/synfigapp/actions/activepointsimpleadd.h
+src/synfigapp/actions/blinepointtangentmerge.cpp
+src/synfigapp/actions/blinepointtangentmerge.h
+src/synfigapp/actions/blinepointtangentsplit.cpp
+src/synfigapp/actions/blinepointtangentsplit.h
+src/synfigapp/actions/canvasadd.cpp
+src/synfigapp/actions/canvasadd.h
+src/synfigapp/actions/canvasremove.cpp
+src/synfigapp/actions/canvasremove.h
+src/synfigapp/actions/canvasrenddescset.cpp
+src/synfigapp/actions/canvasrenddescset.h
+src/synfigapp/actions/colorset.cpp
+src/synfigapp/actions/colorset.h
+src/synfigapp/actions/editmodeset.cpp
+src/synfigapp/actions/editmodeset.h
+src/synfigapp/actions/gradientset.cpp
+src/synfigapp/actions/gradientset.h
+src/synfigapp/actions/groupaddlayers.cpp
+src/synfigapp/actions/groupaddlayers.h
+src/synfigapp/actions/groupremove.cpp
+src/synfigapp/actions/groupremove.h
+src/synfigapp/actions/groupremovelayers.cpp
+src/synfigapp/actions/groupremovelayers.h
+src/synfigapp/actions/grouprename.cpp
+src/synfigapp/actions/grouprename.h
+src/synfigapp/actions/keyframeadd.cpp
+src/synfigapp/actions/keyframeadd.h
+src/synfigapp/actions/keyframeduplicate.cpp
+src/synfigapp/actions/keyframeduplicate.h
+src/synfigapp/actions/keyframeremove.cpp
+src/synfigapp/actions/keyframeremove.h
+src/synfigapp/actions/keyframeset.cpp
+src/synfigapp/actions/keyframesetdelta.cpp
+src/synfigapp/actions/keyframesetdelta.h
+src/synfigapp/actions/keyframeset.h
+src/synfigapp/actions/keyframewaypointset.cpp
+src/synfigapp/actions/keyframewaypointset.h
+src/synfigapp/actions/layeractivate.cpp
+src/synfigapp/actions/layeractivate.h
+src/synfigapp/actions/layeradd.cpp
+src/synfigapp/actions/layeradd.h
+src/synfigapp/actions/layerduplicate.cpp
+src/synfigapp/actions/layerduplicate.h
+src/synfigapp/actions/layerencapsulate.cpp
+src/synfigapp/actions/layerencapsulate.h
+src/synfigapp/actions/layerlower.cpp
+src/synfigapp/actions/layerlower.h
+src/synfigapp/actions/layermove.cpp
+src/synfigapp/actions/layermove.h
+src/synfigapp/actions/layerparamconnect.cpp
+src/synfigapp/actions/layerparamconnect.h
+src/synfigapp/actions/layerparamdisconnect.cpp
+src/synfigapp/actions/layerparamdisconnect.h
+src/synfigapp/actions/layerparamset.cpp
+src/synfigapp/actions/layerparamset.h
+src/synfigapp/actions/layerraise.cpp
+src/synfigapp/actions/layerraise.h
+src/synfigapp/actions/layerremove.cpp
+src/synfigapp/actions/layerremove.h
+src/synfigapp/actions/layersetdesc.cpp
+src/synfigapp/actions/layersetdesc.h
+src/synfigapp/actions/timepointscopy.cpp
+src/synfigapp/actions/timepointscopy.h
+src/synfigapp/actions/timepointsdelete.cpp
+src/synfigapp/actions/timepointsdelete.h
+src/synfigapp/actions/timepointsmove.cpp
+src/synfigapp/actions/timepointsmove.h
+src/synfigapp/actions/valuedescconnect.cpp
+src/synfigapp/actions/valuedescconnect.h
+src/synfigapp/actions/valuedescconvert.cpp
+src/synfigapp/actions/valuedescconvert.h
+src/synfigapp/actions/valuedescdisconnect.cpp
+src/synfigapp/actions/valuedescdisconnect.h
+src/synfigapp/actions/valuedescexport.cpp
+src/synfigapp/actions/valuedescexport.h
+src/synfigapp/actions/valuedesclink.cpp
+src/synfigapp/actions/valuedesclink.h
+src/synfigapp/actions/valuedescset.cpp
+src/synfigapp/actions/valuedescset.h
+src/synfigapp/actions/valuenodeadd.cpp
+src/synfigapp/actions/valuenodeadd.h
+src/synfigapp/actions/valuenodeconstset.cpp
+src/synfigapp/actions/valuenodeconstset.h
+src/synfigapp/actions/valuenodedynamiclistinsert.cpp
+src/synfigapp/actions/valuenodedynamiclistinsert.h
+src/synfigapp/actions/valuenodedynamiclistinsertsmart.cpp
+src/synfigapp/actions/valuenodedynamiclistinsertsmart.h
+src/synfigapp/actions/valuenodedynamiclistloop.cpp
+src/synfigapp/actions/valuenodedynamiclistloop.h
+src/synfigapp/actions/valuenodedynamiclistremove.cpp
+src/synfigapp/actions/valuenodedynamiclistremove.h
+src/synfigapp/actions/valuenodedynamiclistremovesmart.cpp
+src/synfigapp/actions/valuenodedynamiclistremovesmart.h
+src/synfigapp/actions/valuenodedynamiclistrotateorder.cpp
+src/synfigapp/actions/valuenodedynamiclistrotateorder.h
+src/synfigapp/actions/valuenodedynamiclistunloop.cpp
+src/synfigapp/actions/valuenodedynamiclistunloop.h
+src/synfigapp/actions/valuenodelinkconnect.cpp
+src/synfigapp/actions/valuenodelinkconnect.h
+src/synfigapp/actions/valuenodelinkdisconnect.cpp
+src/synfigapp/actions/valuenodelinkdisconnect.h
+src/synfigapp/actions/valuenoderemove.cpp
+src/synfigapp/actions/valuenoderemove.h
+src/synfigapp/actions/valuenoderename.cpp
+src/synfigapp/actions/valuenoderename.h
+src/synfigapp/actions/valuenodereplace.cpp
+src/synfigapp/actions/valuenodereplace.h
+src/synfigapp/actions/waypointadd.cpp
+src/synfigapp/actions/waypointadd.h
+src/synfigapp/actions/waypointremove.cpp
+src/synfigapp/actions/waypointremove.h
+src/synfigapp/actions/waypointset.cpp
+src/synfigapp/actions/waypointset.h
+src/synfigapp/actions/waypointsetsmart.cpp
+src/synfigapp/actions/waypointsetsmart.h
+src/synfigapp/actions/waypointsimpleadd.cpp
+src/synfigapp/actions/waypointsimpleadd.h
+src/synfigapp/action_system.cpp
+src/synfigapp/action_system.h
+src/synfigapp/blineconvert.cpp
+src/synfigapp/blineconvert.h
+src/synfigapp/canvasinterface.cpp
+src/synfigapp/canvasinterface.h
+src/synfigapp/cvs.cpp
+src/synfigapp/cvs.h
+src/synfigapp/editmode.h
+src/synfigapp/inputdevice.cpp
+src/synfigapp/inputdevice.h
+src/synfigapp/instance.cpp
+src/synfigapp/instance.h
+src/synfigapp/main.cpp
+src/synfigapp/main.h
+src/synfigapp/selectionmanager.h
+src/synfigapp/settings.cpp
+src/synfigapp/settings.h
+src/synfigapp/timegather.cpp
+src/synfigapp/timegather.h
+src/synfigapp/uimanager.cpp
+src/synfigapp/uimanager.h
+src/synfigapp/value_desc.h
+# Disabled because they are not built
+# src/template.cpp
+# src/template.h
synfigstudio_SOURCES = $(MOD_MIRROR_CC) $(MOD_MIRROR_HH) $(PALETTE_CC) $(PALETTE_HH) $(WORKAREARENDERER_CC) $(WORKAREARENDERER_HH) $(ACTION_MANAGERS_HH) $(ACTION_MANAGERS_CC) $(DOCK_HH) $(DOCK_CC) $(OTHER_HH) $(OTHER_CC) $(EVENTS_HH) $(EVENTS_CC) $(DUCKTRANSFORM_HH) $(DUCKTRANSFORM_CC) $(TREEVIEW_HH) $(TREEVIEW_CC) $(TREESTORE_HH) $(TREESTORE_CC) $(STATE_CC) $(STATE_HH) $(WIDGET_CC) $(WIDGET_HH) $(DIALOG_HH) $(DIALOG_CC) $(CELLRENDERER_HH) $(CELLRENDERER_CC)
synfigstudio_LDADD = -L../synfigapp -lsynfigapp @SYNFIG_LIBS@ @GTKMM_LIBS@ @FMOD_LIBS@
synfigstudio_LDFLAGS=-dlopen self
-synfigstudio_CXXFLAGS=@SYNFIG_CFLAGS@ @GTKMM_CFLAGS@ -DIMAGE_DIR=\"$(imagedir)\" -DIMAGE_EXT=\"$(imageext)\"
+synfigstudio_CXXFLAGS=@SYNFIG_CFLAGS@ @GTKMM_CFLAGS@ -DIMAGE_DIR=\"$(imagedir)\" -DIMAGE_EXT=\"$(imageext)\" "-DLOCALEDIR=\"$(localedir)\""
#include "about.h"
#include "app.h"
+#include "general.h"
+
#endif
using namespace std;
#include "adjust_window.h"
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/filechooser.h>
#include <gtkmm/filechooserdialog.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/general.h>
#include <ETL/clock>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <fmod.h>
#endif
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <unistd.h>
#endif
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "canvasview.h"
#include "workarea.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/scrolledwindow.h>
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "cellrenderer_timetrack.h"
#include <ETL/clock>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfigapp/main.h>
#include <synfigapp/inputdevice.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "widget_gradient.h"
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
/* === M A C R O S ========================================================= */
-#if ! defined(_)
-#define _(x) (x)
-#endif
-
/* === G L O B A L S ======================================================= */
/* === P R O C E D U R E S ================================================= */
#include "app.h"
#include "widget_time.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
/* === M A C R O S ========================================================= */
-#if ! defined(_)
-#define _(x) (x)
-#endif
-
/* === G L O B A L S ======================================================= */
/* === P R O C E D U R E S ================================================= */
#include <synfig/timepointcollect.h>
+#include "general.h"
+
#endif
using namespace synfig;
#include "dialog_color.h"
#include <gtkmm/textview.h>
+#include "general.h"
+
#endif
using namespace synfig;
#include <synfigapp/instance.h>
#include <gtkmm/scrolledwindow.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/paramdesc.h>
#include <ETL/clock>
+#include "general.h"
+
class Profiler : private etl::clock
{
const std::string name;
#include "canvasview.h"
#include <synfigapp/action.h>
+#include "general.h"
+
#endif
/* === M A C R O S ========================================================= */
#include <gdkmm/device.h>
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <sigc++/hide.h>
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/spinbutton.h>
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfigapp/action.h>
#include <synfigapp/instance.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/alignment.h>
#include <gtkmm/frame.h>
#include <gtkmm/box.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <ETL/stringf>
#include <ETL/misc>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "dialog_soundselect.h"
#include <gtkmm/table.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/scrolledwindow.h>
#include <synfig/general.h>
#include "dialog_tooloptions.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "widget_time.h"
#include "widget_waypoint.h"
+#include "general.h"
+
#endif
using namespace synfig;
#include "dialogsettings.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "dock_canvases.h"
#include "app.h"
#include "canvasview.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "canvasview.h"
#include <ETL/clock>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "childrentree.h"
#include "canvasview.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/scrollbar.h>
#include "widget_timeslider.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfigapp/action.h>
#include "historytreestore.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/separator.h>
#include <gtkmm/invisible.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "canvasview.h"
#include "keyframeactionmanager.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "layergrouptree.h"
#include "groupactionmanager.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "layeractionmanager.h"
//#include <ETL/ref_count>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "metadatatreestore.h"
#include "canvasview.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "asyncrenderer.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "layerparamtreestore.h"
#include "workarea.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "workarea.h"
#include "widget_timeslider.h"
#include "layerparamtreestore.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/table.h>
#include <gtk/gtk.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/eventbox.h>
#include <gtkmm/menu.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/box.h>
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfigapp/main.h>
#include <gdkmm/general.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "duck.h"
#include <ETL/misc>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "onemoment.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
--- /dev/null
+/* === S Y N F I G ========================================================= */
+/*! \file synfigstudio/src/gtkmm/general.h
+** \brief General header file for synfigstudio
+**
+** $Id$
+**
+** \legal
+** Copyright 2007 Paul Wise
+**
+** This package is free software; you can redistribute it and/or
+** modify it under the terms of the GNU General Public License as
+** published by the Free Software Foundation; either version 2 of
+** the License, or (at your option) any later version.
+**
+** This package is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+** General Public License for more details.
+** \endlegal
+*/
+/* ========================================================================= */
+
+/* === S T A R T =========================================================== */
+
+#ifndef __SYNFIGSTUDIO_GENERAL_H
+#define __SYNFIGSTUDIO_GENERAL_H
+
+/* === H E A D E R S ======================================================= */
+
+#include <libintl.h>
+
+/* === M A C R O S ========================================================= */
+
+#undef _
+#undef gettext_noop
+#undef N_
+#define _(x) gettext(x)
+#define gettext_noop(x) x
+#define N_(x) gettext_noop(x)
+
+/* === T Y P E D E F S ===================================================== */
+
+/* === C L A S S E S & S T R U C T S ======================================= */
+
+/* === E N D =============================================================== */
+
+#endif
#include "instance.h"
#include <gtkmm/stock.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfigapp/action.h>
#include "instance.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/window.h>
#include <synfigapp/action.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
/* === M A C R O S ========================================================= */
-// Quick hack to keep stuff working until gettext support is added
-#ifndef _
-#define _(x) (x)
-#define N_(x) (x)
-#endif
-
#ifdef WIN32
# ifdef IMAGE_DIR
# undef IMAGE_DIR
#include <sys/stat.h>
#include <errno.h>
+#include "general.h"
+
#endif
using namespace std;
#include <synfig/string.h>
#include <glibmm/thread.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfigapp/action_param.h>
#include "instance.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/treemodelsort.h>
#include <ETL/misc>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "onemoment.h"
#include <synfig/exception.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/accelmap.h>
#include <gtk/gtkaccelmap.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "instance.h"
#include <synfigapp/selectionmanager.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/treemodelsort.h>
#include <ETL/misc>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtk/gtkversion.h>
#include <ETL/clock>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "app.h"
#include <ETL/clock>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "instance.h"
#include <gtkmm/treemodelsort.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtk/gtkversion.h>
#include <ETL/clock>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "ipc.h"
#include <stdexcept>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
int main(int argc, char **argv)
{
+
+ setlocale(LC_ALL, "");
+ bindtextdomain("synfigstudio", LOCALEDIR);
+ textdomain("synfigstudio");
+
{
SmartFILE file(IPC::make_connection());
if(file)
#include "metadatatreestore.h"
#include <synfigapp/canvasinterface.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "../app.h"
#include "../statemanager.h"
+#include "../general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "../duck.h"
#include <synfigapp/main.h>
+#include "../general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "dock_paledit.h"
#include "mod_palette.h"
+#include "../general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "../app.h"
#include "../dialog_color.h"
+#include "../general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "../app.h"
#include "../dockmanager.h"
+#include "../general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "module.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "onemoment.h"
#include "app.h"
+#include "general.h"
+
#endif
using namespace std;
#include <algorithm>
#include "asyncrenderer.h"
+
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/general.h>
//#include <gtkmm/separator.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#define SYNFIG_MAX_PIXEL_HEIGHT (~(1<<31))
#endif
-#if ! defined(_)
-#define _(x) (x)
-#endif
-
#ifndef DPM2DPI
#define DPM2DPI(x) ((x)/39.3700787402)
#define DPI2DPM(x) ((x)*39.3700787402)
#include <synfig/canvas.h>
#include "asyncrenderer.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "renderer_bbox.h"
#include "workarea.h"
#include "canvasview.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "workarea.h"
#include <ETL/misc>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "workarea.h"
#include <ETL/misc>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/distance.h>
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "workarea.h"
#include <ETL/misc>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "workarea.h"
#include <ETL/misc>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "app.h"
#include <cassert>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/transform.h>
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "widget_enum.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/scale.h>
#include <sigc++/connection.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "canvasview.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "canvasview.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "widget_enum.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/valuenode_composite.h>
#include <synfig/valuenode_const.h>
#include "canvasview.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "dialog_tooloptions.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "duck.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/angle.h>
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "duck.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/checkbutton.h>
#include <gtkmm/actiongroup.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "onemoment.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "toolbox.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <ETL/clock>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "toolbox.h"
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "app.h"
#include "toolbox.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfigapp/main.h>
+#include "general.h"
+
#endif
using namespace std;
#include "valuelink.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/menu.h>
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "app.h"
#include <gtkmm/drawingarea.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/notebook.h>
#include <gtkmm/box.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/valuenode.h>
#include "instance.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <ETL/misc>
#include <sigc++/object.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "widget_distance.h"
#include "widget_enum.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "widget_distance.h"
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
/* === M A C R O S ========================================================= */
-#if ! defined(_)
-#define _(x) (x)
-#endif
-
/* === G L O B A L S ======================================================= */
/* === P R O C E D U R E S ================================================= */
#include <ETL/stringf>
#include <synfig/valuenode.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "widget_filename.h"
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
/* === M A C R O S ========================================================= */
-#if ! defined(_)
-#define _(x) (x)
-#endif
-
/* === G L O B A L S ======================================================= */
/* === P R O C E D U R E S ================================================= */
#include <synfig/exception.h>
#include <ETL/misc>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "widget_sound.h"
#include "audiocontainer.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "widget_time.h"
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
/* === M A C R O S ========================================================= */
-#if ! defined(_)
-#define _(x) (x)
-#endif
-
/* === G L O B A L S ======================================================= */
/* === P R O C E D U R E S ================================================= */
#include <cmath>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "app.h"
#include "widget_distance.h"
+#include "general.h"
+
#endif
using namespace synfig;
#include "widget_distance.h"
#include "app.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <gtkmm/optionmenu.h>
#include "widget_time.h"
#include "widget_waypoint.h"
+#include "general.h"
+
#endif
using namespace synfig;
#include <gtkmm/optionmenu.h>
#include "widget_time.h"
#include "widget_waypointmodel.h"
+#include "general.h"
+
#endif
using namespace synfig;
#include <synfig/mutex.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "workarearenderer.h"
#include "workarea.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
//#include "zoomdial.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
lib_LTLIBRARIES = libsynfigapp.la
libsynfigapp_la_SOURCES = $(SYNFIGAPPHH) $(ACTIONCC) blineconvert.cpp cvs.cpp main.cpp action_param.cpp action.cpp action_system.cpp canvasinterface.cpp instance.cpp uimanager.cpp inputdevice.cpp settings.cpp
libsynfigapp_la_LIBADD = @SYNFIG_LIBS@
-libsynfigapp_la_CXXFLAGS = @SYNFIG_CFLAGS@
+libsynfigapp_la_CXXFLAGS = @SYNFIG_CFLAGS@ "-DLOCALEDIR=\"$(localedir)\""
libsynfigapp_la_LDFLAGS = -export-dynamic -no-undefined
include_synfigappdir=$(prefix)/include/synfigapp-0.0/synfigapp
#include "canvasinterface.h"
+#include "general.h"
+
#endif
using namespace std;
#define ADD_ACTION(x) { BookEntry &be(book()[x::name__]); \
be.name=x::name__; \
- be.local_name=x::local_name__; \
+ be.local_name=gettext(x::local_name__); \
be.version=x::version__; \
be.task=x::task__; \
be.priority=x::priority__; \
#include "action.h"
#include "canvasinterface.h"
+#include "general.h"
+
#endif
using namespace std;
#include "instance.h"
#include "canvasinterface.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include "activepointadd.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ActivepointAdd);
ACTION_SET_NAME(Action::ActivepointAdd,"activepoint_add");
-ACTION_SET_LOCAL_NAME(Action::ActivepointAdd,"Add Activepoint");
+ACTION_SET_LOCAL_NAME(Action::ActivepointAdd,N_("Add Activepoint"));
ACTION_SET_TASK(Action::ActivepointAdd,"add");
ACTION_SET_CATEGORY(Action::ActivepointAdd,Action::CATEGORY_ACTIVEPOINT);
ACTION_SET_PRIORITY(Action::ActivepointAdd,0);
#include "activepointremove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ActivepointRemove);
ACTION_SET_NAME(Action::ActivepointRemove,"activepoint_remove");
-ACTION_SET_LOCAL_NAME(Action::ActivepointRemove,"Remove Activepoint");
+ACTION_SET_LOCAL_NAME(Action::ActivepointRemove,N_("Remove Activepoint"));
ACTION_SET_TASK(Action::ActivepointRemove,"remove");
ACTION_SET_CATEGORY(Action::ActivepointRemove,Action::CATEGORY_ACTIVEPOINT);
ACTION_SET_PRIORITY(Action::ActivepointRemove,0);
#include "activepointset.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ActivepointSet);
ACTION_SET_NAME(Action::ActivepointSet,"activepoint_set");
-ACTION_SET_LOCAL_NAME(Action::ActivepointSet,"Set Activepoint");
+ACTION_SET_LOCAL_NAME(Action::ActivepointSet,N_("Set Activepoint"));
ACTION_SET_TASK(Action::ActivepointSet,"set");
ACTION_SET_CATEGORY(Action::ActivepointSet,Action::CATEGORY_ACTIVEPOINT);
ACTION_SET_PRIORITY(Action::ActivepointSet,0);
#include "valuedescconnect.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ActivepointSetOff);
ACTION_SET_NAME(Action::ActivepointSetOff,"activepoint_set_off");
-ACTION_SET_LOCAL_NAME(Action::ActivepointSetOff,_("Mark Activepoint as \"Off\""));
+ACTION_SET_LOCAL_NAME(Action::ActivepointSetOff,N_("Mark Activepoint as \"Off\""));
ACTION_SET_TASK(Action::ActivepointSetOff,"set_off");
ACTION_SET_CATEGORY(Action::ActivepointSetOff,Action::CATEGORY_ACTIVEPOINT|Action::CATEGORY_VALUEDESC);
ACTION_SET_PRIORITY(Action::ActivepointSetOff,-9);
#include "valuedescconnect.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ActivepointSetOn);
ACTION_SET_NAME(Action::ActivepointSetOn,"activepoint_set_on");
-ACTION_SET_LOCAL_NAME(Action::ActivepointSetOn,_("Mark Activepoint as \"On\""));
+ACTION_SET_LOCAL_NAME(Action::ActivepointSetOn,N_("Mark Activepoint as \"On\""));
ACTION_SET_TASK(Action::ActivepointSetOn,"set_on");
ACTION_SET_CATEGORY(Action::ActivepointSetOn,Action::CATEGORY_ACTIVEPOINT|Action::CATEGORY_VALUEDESC);
ACTION_SET_PRIORITY(Action::ActivepointSetOn,-10);
#include "valuedescconnect.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ActivepointSetSmart);
ACTION_SET_NAME(Action::ActivepointSetSmart,"activepoint_set_smart");
-ACTION_SET_LOCAL_NAME(Action::ActivepointSetSmart,_("Set Activepoint (Smart)"));
+ACTION_SET_LOCAL_NAME(Action::ActivepointSetSmart,N_("Set Activepoint (Smart)"));
ACTION_SET_TASK(Action::ActivepointSetSmart,"set");
ACTION_SET_CATEGORY(Action::ActivepointSetSmart,Action::CATEGORY_ACTIVEPOINT);
ACTION_SET_PRIORITY(Action::ActivepointSetSmart,0);
#include "activepointsimpleadd.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ActivepointSimpleAdd);
ACTION_SET_NAME(Action::ActivepointSimpleAdd,"waypoint_simpleadd");
-ACTION_SET_LOCAL_NAME(Action::ActivepointSimpleAdd,"Simply Add Waypoint");
+ACTION_SET_LOCAL_NAME(Action::ActivepointSimpleAdd,N_("Simply Add Waypoint"));
ACTION_SET_TASK(Action::ActivepointSimpleAdd,"add");
ACTION_SET_CATEGORY(Action::ActivepointSimpleAdd,Action::CATEGORY_WAYPOINT);
ACTION_SET_PRIORITY(Action::ActivepointSimpleAdd,0);
#include "valuedescconnect.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::BLinePointTangentMerge);
ACTION_SET_NAME(Action::BLinePointTangentMerge,"bline_point_tangent_merge");
-ACTION_SET_LOCAL_NAME(Action::BLinePointTangentMerge,_("Merge Tangents"));
+ACTION_SET_LOCAL_NAME(Action::BLinePointTangentMerge,N_("Merge Tangents"));
ACTION_SET_TASK(Action::BLinePointTangentMerge,"merge");
ACTION_SET_CATEGORY(Action::BLinePointTangentMerge,Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::BLinePointTangentMerge,0);
#include "valuedescconnect.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::BLinePointTangentSplit);
ACTION_SET_NAME(Action::BLinePointTangentSplit,"bline_point_tangent_split");
-ACTION_SET_LOCAL_NAME(Action::BLinePointTangentSplit,_("Split Tangents"));
+ACTION_SET_LOCAL_NAME(Action::BLinePointTangentSplit,N_("Split Tangents"));
ACTION_SET_TASK(Action::BLinePointTangentSplit,"split");
ACTION_SET_CATEGORY(Action::BLinePointTangentSplit,Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::BLinePointTangentSplit,0);
#include "canvasadd.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::CanvasAdd);
ACTION_SET_NAME(Action::CanvasAdd,"canvas_add");
-ACTION_SET_LOCAL_NAME(Action::CanvasAdd,"Add Child Canvas");
+ACTION_SET_LOCAL_NAME(Action::CanvasAdd,N_("Add Child Canvas"));
ACTION_SET_TASK(Action::CanvasAdd,"add");
ACTION_SET_CATEGORY(Action::CanvasAdd,Action::CATEGORY_CANVAS);
ACTION_SET_PRIORITY(Action::CanvasAdd,0);
#include "canvasremove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::CanvasRemove);
ACTION_SET_NAME(Action::CanvasRemove,"canvas_remove");
-ACTION_SET_LOCAL_NAME(Action::CanvasRemove,"Remove Canvas");
+ACTION_SET_LOCAL_NAME(Action::CanvasRemove,N_("Remove Canvas"));
ACTION_SET_TASK(Action::CanvasRemove,"remove");
ACTION_SET_CATEGORY(Action::CanvasRemove,Action::CATEGORY_CANVAS);
ACTION_SET_PRIORITY(Action::CanvasRemove,0);
#include "canvasrenddescset.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::CanvasRendDescSet);
ACTION_SET_NAME(Action::CanvasRendDescSet,"canvas_rend_desc_set");
-ACTION_SET_LOCAL_NAME(Action::CanvasRendDescSet,"Set Canvas RendDesc");
+ACTION_SET_LOCAL_NAME(Action::CanvasRendDescSet,N_("Set Canvas RendDesc"));
ACTION_SET_TASK(Action::CanvasRendDescSet,"set");
ACTION_SET_CATEGORY(Action::CanvasRendDescSet,Action::CATEGORY_CANVAS);
ACTION_SET_PRIORITY(Action::CanvasRendDescSet,0);
#include <synfigapp/canvasinterface.h>
#include <synfigapp/main.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ColorSet);
ACTION_SET_NAME(Action::ColorSet,"color_set");
-ACTION_SET_LOCAL_NAME(Action::ColorSet,"Apply Default Color");
+ACTION_SET_LOCAL_NAME(Action::ColorSet,N_("Apply Default Color"));
ACTION_SET_TASK(Action::ColorSet,"set");
ACTION_SET_CATEGORY(Action::ColorSet,Action::CATEGORY_VALUEDESC);
ACTION_SET_PRIORITY(Action::ColorSet,0);
#include "editmodeset.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::EditModeSet);
ACTION_SET_NAME(Action::EditModeSet,"edit_mode_set");
-ACTION_SET_LOCAL_NAME(Action::EditModeSet,"Set Edit Mode");
+ACTION_SET_LOCAL_NAME(Action::EditModeSet,N_("Set Edit Mode"));
ACTION_SET_TASK(Action::EditModeSet,"set");
ACTION_SET_CATEGORY(Action::EditModeSet,Action::CATEGORY_OTHER);
ACTION_SET_PRIORITY(Action::EditModeSet,0);
#include <synfigapp/canvasinterface.h>
#include <synfigapp/main.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::GradientSet);
ACTION_SET_NAME(Action::GradientSet,"gradient_set");
-ACTION_SET_LOCAL_NAME(Action::GradientSet,"Apply Default Gradient");
+ACTION_SET_LOCAL_NAME(Action::GradientSet,N_("Apply Default Gradient"));
ACTION_SET_TASK(Action::GradientSet,"set");
ACTION_SET_CATEGORY(Action::GradientSet,Action::CATEGORY_VALUEDESC);
ACTION_SET_PRIORITY(Action::GradientSet,0);
#include "groupaddlayers.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::GroupAddLayers);
ACTION_SET_NAME(Action::GroupAddLayers,"group_add_layers");
-ACTION_SET_LOCAL_NAME(Action::GroupAddLayers,"Add Layers to Group");
+ACTION_SET_LOCAL_NAME(Action::GroupAddLayers,N_("Add Layers to Group"));
ACTION_SET_TASK(Action::GroupAddLayers,"add");
ACTION_SET_CATEGORY(Action::GroupAddLayers,Action::CATEGORY_LAYER|Action::CATEGORY_GROUP);
ACTION_SET_PRIORITY(Action::GroupAddLayers,0);
#include "groupremove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::GroupRemove);
ACTION_SET_NAME(Action::GroupRemove,"group_remove");
-ACTION_SET_LOCAL_NAME(Action::GroupRemove,"Remove Group");
+ACTION_SET_LOCAL_NAME(Action::GroupRemove,N_("Remove Group"));
ACTION_SET_TASK(Action::GroupRemove,"remove");
ACTION_SET_CATEGORY(Action::GroupRemove,Action::CATEGORY_GROUP);
ACTION_SET_PRIORITY(Action::GroupRemove,0);
#include "groupremovelayers.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::GroupRemoveLayers);
ACTION_SET_NAME(Action::GroupRemoveLayers,"group_remove_layers");
-ACTION_SET_LOCAL_NAME(Action::GroupRemoveLayers,"Remove Layers from a Group");
+ACTION_SET_LOCAL_NAME(Action::GroupRemoveLayers,N_("Remove Layers from a Group"));
ACTION_SET_TASK(Action::GroupRemoveLayers,"remove");
ACTION_SET_CATEGORY(Action::GroupRemoveLayers,Action::CATEGORY_LAYER|Action::CATEGORY_GROUP);
ACTION_SET_PRIORITY(Action::GroupRemoveLayers,0);
#include "grouprename.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::GroupRename);
ACTION_SET_NAME(Action::GroupRename,"group_rename");
-ACTION_SET_LOCAL_NAME(Action::GroupRename,"Rename Group");
+ACTION_SET_LOCAL_NAME(Action::GroupRename,N_("Rename Group"));
ACTION_SET_TASK(Action::GroupRename,"rename");
ACTION_SET_CATEGORY(Action::GroupRename,Action::CATEGORY_GROUP);
ACTION_SET_PRIORITY(Action::GroupRename,0);
#include "keyframeadd.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::KeyframeAdd);
ACTION_SET_NAME(Action::KeyframeAdd,"keyframe_add");
-ACTION_SET_LOCAL_NAME(Action::KeyframeAdd,"Add Keyframe");
+ACTION_SET_LOCAL_NAME(Action::KeyframeAdd,N_("Add Keyframe"));
ACTION_SET_TASK(Action::KeyframeAdd,"add");
ACTION_SET_CATEGORY(Action::KeyframeAdd,Action::CATEGORY_KEYFRAME);
ACTION_SET_PRIORITY(Action::KeyframeAdd,0);
#include "activepointsetsmart.h"
#include "waypointsetsmart.h"
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::KeyframeDuplicate);
ACTION_SET_NAME(Action::KeyframeDuplicate,"keyframe_duplicate");
-ACTION_SET_LOCAL_NAME(Action::KeyframeDuplicate,"Duplicate Keyframe");
+ACTION_SET_LOCAL_NAME(Action::KeyframeDuplicate,N_("Duplicate Keyframe"));
ACTION_SET_TASK(Action::KeyframeDuplicate,"duplicate");
ACTION_SET_CATEGORY(Action::KeyframeDuplicate,Action::CATEGORY_KEYFRAME);
ACTION_SET_PRIORITY(Action::KeyframeDuplicate,0);
#include "activepointremove.h"
#include "waypointremove.h"
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::KeyframeRemove);
ACTION_SET_NAME(Action::KeyframeRemove,"keyframe_remove");
-ACTION_SET_LOCAL_NAME(Action::KeyframeRemove,"Remove Keyframe");
+ACTION_SET_LOCAL_NAME(Action::KeyframeRemove,N_("Remove Keyframe"));
ACTION_SET_TASK(Action::KeyframeRemove,"remove");
ACTION_SET_CATEGORY(Action::KeyframeRemove,Action::CATEGORY_KEYFRAME);
ACTION_SET_PRIORITY(Action::KeyframeRemove,0);
#include "activepointsetsmart.h"
#include "waypointsetsmart.h"
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::KeyframeSet);
ACTION_SET_NAME(Action::KeyframeSet,"keyframe_set");
-ACTION_SET_LOCAL_NAME(Action::KeyframeSet,"Set Keyframe");
+ACTION_SET_LOCAL_NAME(Action::KeyframeSet,N_("Set Keyframe"));
ACTION_SET_TASK(Action::KeyframeSet,"set");
ACTION_SET_CATEGORY(Action::KeyframeSet,Action::CATEGORY_KEYFRAME|Action::CATEGORY_HIDDEN);
ACTION_SET_PRIORITY(Action::KeyframeSet,0);
#include "activepointsetsmart.h"
#include "waypointsetsmart.h"
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::KeyframeSetDelta);
ACTION_SET_NAME(Action::KeyframeSetDelta,"keyframe_set_delta");
-ACTION_SET_LOCAL_NAME(Action::KeyframeSetDelta,"Set Keyframe Delta");
+ACTION_SET_LOCAL_NAME(Action::KeyframeSetDelta,N_("Set Keyframe Delta"));
ACTION_SET_TASK(Action::KeyframeSetDelta,"set");
ACTION_SET_CATEGORY(Action::KeyframeSetDelta,Action::CATEGORY_KEYFRAME|Action::CATEGORY_HIDDEN);
ACTION_SET_PRIORITY(Action::KeyframeSetDelta,0);
#include "activepointsetsmart.h"
#include "waypointsetsmart.h"
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::KeyframeWaypointSet);
ACTION_SET_NAME(Action::KeyframeWaypointSet,"keyframe_waypoint_set");
-ACTION_SET_LOCAL_NAME(Action::KeyframeWaypointSet,"Set Waypoints at Keyframe");
+ACTION_SET_LOCAL_NAME(Action::KeyframeWaypointSet,N_("Set Waypoints at Keyframe"));
ACTION_SET_TASK(Action::KeyframeWaypointSet,"set");
ACTION_SET_CATEGORY(Action::KeyframeWaypointSet,Action::CATEGORY_KEYFRAME);
ACTION_SET_PRIORITY(Action::KeyframeWaypointSet,0);
#include "layeractivate.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT2(Action::LayerActivate);
ACTION_SET_NAME(Action::LayerActivate,"layer_activate");
-ACTION_SET_LOCAL_NAME(Action::LayerActivate,_("Activate Layer"));
+ACTION_SET_LOCAL_NAME(Action::LayerActivate,N_("Activate Layer"));
ACTION_SET_TASK(Action::LayerActivate,"activate");
ACTION_SET_CATEGORY(Action::LayerActivate,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerActivate,0);
#include "layeradd.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerAdd);
ACTION_SET_NAME(Action::LayerAdd,"layer_add");
-ACTION_SET_LOCAL_NAME(Action::LayerAdd,"Add Layer");
+ACTION_SET_LOCAL_NAME(Action::LayerAdd,N_("Add Layer"));
ACTION_SET_TASK(Action::LayerAdd,"add");
ACTION_SET_CATEGORY(Action::LayerAdd,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerAdd,0);
#include "layeradd.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerDuplicate);
ACTION_SET_NAME(Action::LayerDuplicate,"layer_duplicate");
-ACTION_SET_LOCAL_NAME(Action::LayerDuplicate,"Duplicate Layer");
+ACTION_SET_LOCAL_NAME(Action::LayerDuplicate,N_("Duplicate Layer"));
ACTION_SET_TASK(Action::LayerDuplicate,"duplicate");
ACTION_SET_CATEGORY(Action::LayerDuplicate,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerDuplicate,0);
#include "layerremove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerEncapsulate);
ACTION_SET_NAME(Action::LayerEncapsulate,"layer_encapsulate");
-ACTION_SET_LOCAL_NAME(Action::LayerEncapsulate,"Encapsulate");
+ACTION_SET_LOCAL_NAME(Action::LayerEncapsulate,N_("Encapsulate"));
ACTION_SET_TASK(Action::LayerEncapsulate,"encapsulate");
ACTION_SET_CATEGORY(Action::LayerEncapsulate,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerEncapsulate,0);
#include "layermove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerLower);
ACTION_SET_NAME(Action::LayerLower,"layer_lower");
-ACTION_SET_LOCAL_NAME(Action::LayerLower,"Lower Layer");
+ACTION_SET_LOCAL_NAME(Action::LayerLower,N_("Lower Layer"));
ACTION_SET_TASK(Action::LayerLower,"lower");
ACTION_SET_CATEGORY(Action::LayerLower,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerLower,10);
#include "layermove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerMove);
ACTION_SET_NAME(Action::LayerMove,"layer_move");
-ACTION_SET_LOCAL_NAME(Action::LayerMove,_("Move Layer"));
+ACTION_SET_LOCAL_NAME(Action::LayerMove,N_("Move Layer"));
ACTION_SET_TASK(Action::LayerMove,"move");
ACTION_SET_CATEGORY(Action::LayerMove,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerMove,0);
#include "layerparamconnect.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerParamConnect);
ACTION_SET_NAME(Action::LayerParamConnect,"layer_param_connect");
-ACTION_SET_LOCAL_NAME(Action::LayerParamConnect,_("Connect Layer Parameter"));
+ACTION_SET_LOCAL_NAME(Action::LayerParamConnect,N_("Connect Layer Parameter"));
ACTION_SET_TASK(Action::LayerParamConnect,"connect");
ACTION_SET_CATEGORY(Action::LayerParamConnect,Action::CATEGORY_LAYER|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::LayerParamConnect,0);
#include <synfigapp/canvasinterface.h>
#include <synfig/valuenode_dynamiclist.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerParamDisconnect);
ACTION_SET_NAME(Action::LayerParamDisconnect,"layer_param_disconnect");
-ACTION_SET_LOCAL_NAME(Action::LayerParamDisconnect,_("Disconnect Layer Parameter"));
+ACTION_SET_LOCAL_NAME(Action::LayerParamDisconnect,N_("Disconnect Layer Parameter"));
ACTION_SET_TASK(Action::LayerParamDisconnect,"disconnect");
ACTION_SET_CATEGORY(Action::LayerParamDisconnect,Action::CATEGORY_LAYER|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::LayerParamDisconnect,0);
#include "layerparamset.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerParamSet);
ACTION_SET_NAME(Action::LayerParamSet,"layer_param_set");
-ACTION_SET_LOCAL_NAME(Action::LayerParamSet,_("Set Layer Parameter"));
+ACTION_SET_LOCAL_NAME(Action::LayerParamSet,N_("Set Layer Parameter"));
ACTION_SET_TASK(Action::LayerParamSet,"set");
ACTION_SET_CATEGORY(Action::LayerParamSet,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerParamSet,0);
#include "layermove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerRaise);
ACTION_SET_NAME(Action::LayerRaise,"layer_raise");
-ACTION_SET_LOCAL_NAME(Action::LayerRaise,"Raise Layer");
+ACTION_SET_LOCAL_NAME(Action::LayerRaise,N_("Raise Layer"));
ACTION_SET_TASK(Action::LayerRaise,"raise");
ACTION_SET_CATEGORY(Action::LayerRaise,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerRaise,9);
#include "layerremove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerRemove);
ACTION_SET_NAME(Action::LayerRemove,"layer_remove");
-ACTION_SET_LOCAL_NAME(Action::LayerRemove,"Remove Layer");
+ACTION_SET_LOCAL_NAME(Action::LayerRemove,N_("Remove Layer"));
ACTION_SET_TASK(Action::LayerRemove,"remove");
ACTION_SET_CATEGORY(Action::LayerRemove,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerRemove,0);
#include "layersetdesc.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::LayerSetDesc);
ACTION_SET_NAME(Action::LayerSetDesc,"layer_set_desc");
-ACTION_SET_LOCAL_NAME(Action::LayerSetDesc,_("Set Layer Description"));
+ACTION_SET_LOCAL_NAME(Action::LayerSetDesc,N_("Set Layer Description"));
ACTION_SET_TASK(Action::LayerSetDesc,"set_desc");
ACTION_SET_CATEGORY(Action::LayerSetDesc,Action::CATEGORY_LAYER);
ACTION_SET_PRIORITY(Action::LayerSetDesc,0);
#include <typeinfo>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::TimepointsCopy);
ACTION_SET_NAME(Action::TimepointsCopy,"timepoint_copy");
-ACTION_SET_LOCAL_NAME(Action::TimepointsCopy,"Copy Time Points");
+ACTION_SET_LOCAL_NAME(Action::TimepointsCopy,N_("Copy Time Points"));
ACTION_SET_TASK(Action::TimepointsCopy,"copy");
ACTION_SET_CATEGORY(Action::TimepointsCopy,Action::CATEGORY_WAYPOINT|Action::CATEGORY_ACTIVEPOINT);
ACTION_SET_PRIORITY(Action::TimepointsCopy,0);
#include <typeinfo>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::TimepointsDelete);
ACTION_SET_NAME(Action::TimepointsDelete,"timepoint_delete");
-ACTION_SET_LOCAL_NAME(Action::TimepointsDelete,"Delete Time Points");
+ACTION_SET_LOCAL_NAME(Action::TimepointsDelete,N_("Delete Time Points"));
ACTION_SET_TASK(Action::TimepointsDelete,"delete");
ACTION_SET_CATEGORY(Action::TimepointsDelete,Action::CATEGORY_WAYPOINT|Action::CATEGORY_ACTIVEPOINT);
ACTION_SET_PRIORITY(Action::TimepointsDelete,0);
#include <typeinfo>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::TimepointsMove);
ACTION_SET_NAME(Action::TimepointsMove,"timepoint_move");
-ACTION_SET_LOCAL_NAME(Action::TimepointsMove,"Move Time Points");
+ACTION_SET_LOCAL_NAME(Action::TimepointsMove,N_("Move Time Points"));
ACTION_SET_TASK(Action::TimepointsMove,"move");
ACTION_SET_CATEGORY(Action::TimepointsMove,Action::CATEGORY_WAYPOINT|Action::CATEGORY_ACTIVEPOINT);
ACTION_SET_PRIORITY(Action::TimepointsMove,0);
#include "valuedescconnect.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueDescConnect);
ACTION_SET_NAME(Action::ValueDescConnect,"value_desc_connect");
-ACTION_SET_LOCAL_NAME(Action::ValueDescConnect,"Connect");
+ACTION_SET_LOCAL_NAME(Action::ValueDescConnect,N_("Connect"));
ACTION_SET_TASK(Action::ValueDescConnect,"connect");
ACTION_SET_CATEGORY(Action::ValueDescConnect,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueDescConnect,0);
#include <synfigapp/canvasinterface.h>
#include <synfig/valuenode_const.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueDescConvert);
ACTION_SET_NAME(Action::ValueDescConvert,"value_desc_convert");
-ACTION_SET_LOCAL_NAME(Action::ValueDescConvert,"Convert");
+ACTION_SET_LOCAL_NAME(Action::ValueDescConvert,N_("Convert"));
ACTION_SET_TASK(Action::ValueDescConvert,"convert");
ACTION_SET_CATEGORY(Action::ValueDescConvert,Action::CATEGORY_VALUEDESC);
ACTION_SET_PRIORITY(Action::ValueDescConvert,0);
#include <synfigapp/canvasinterface.h>
#include <synfig/valuenode_const.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueDescDisconnect);
ACTION_SET_NAME(Action::ValueDescDisconnect,"value_desc_disconnect");
-ACTION_SET_LOCAL_NAME(Action::ValueDescDisconnect,"Disconnect");
+ACTION_SET_LOCAL_NAME(Action::ValueDescDisconnect,N_("Disconnect"));
ACTION_SET_TASK(Action::ValueDescDisconnect,"disconnect");
ACTION_SET_CATEGORY(Action::ValueDescDisconnect,Action::CATEGORY_VALUEDESC);
ACTION_SET_PRIORITY(Action::ValueDescDisconnect,-100);
#include <synfigapp/canvasinterface.h>
#include <synfig/valuenode_const.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueDescExport);
ACTION_SET_NAME(Action::ValueDescExport,"value_desc_export");
-ACTION_SET_LOCAL_NAME(Action::ValueDescExport,"Export");
+ACTION_SET_LOCAL_NAME(Action::ValueDescExport,N_("Export"));
ACTION_SET_TASK(Action::ValueDescExport,"export");
ACTION_SET_CATEGORY(Action::ValueDescExport,Action::CATEGORY_VALUEDESC);
ACTION_SET_PRIORITY(Action::ValueDescExport,0);
#include <synfigapp/canvasinterface.h>
#include <synfig/valuenode_const.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueDescLink);
ACTION_SET_NAME(Action::ValueDescLink,"value_desc_link");
-ACTION_SET_LOCAL_NAME(Action::ValueDescLink,"Link");
+ACTION_SET_LOCAL_NAME(Action::ValueDescLink,N_("Link"));
ACTION_SET_TASK(Action::ValueDescLink,"connect");
ACTION_SET_CATEGORY(Action::ValueDescLink,Action::CATEGORY_VALUEDESC);
ACTION_SET_PRIORITY(Action::ValueDescLink,0);
#include <synfig/valuenode_reference.h>
#include <synfigapp/main.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT2(Action::ValueDescSet);
ACTION_SET_NAME(Action::ValueDescSet,"value_desc_set");
-ACTION_SET_LOCAL_NAME(Action::ValueDescSet,"Set ValueDesc");
+ACTION_SET_LOCAL_NAME(Action::ValueDescSet,N_("Set ValueDesc"));
ACTION_SET_TASK(Action::ValueDescSet,"set");
ACTION_SET_CATEGORY(Action::ValueDescSet,Action::CATEGORY_VALUEDESC);
ACTION_SET_PRIORITY(Action::ValueDescSet,0);
#include "valuenodeadd.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeAdd);
ACTION_SET_NAME(Action::ValueNodeAdd,"value_node_add");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeAdd,"Add ValueNode");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeAdd,N_("Add ValueNode"));
ACTION_SET_TASK(Action::ValueNodeAdd,"add");
ACTION_SET_CATEGORY(Action::ValueNodeAdd,Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeAdd,0);
#include "valuenodeconstset.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeConstSet);
ACTION_SET_NAME(Action::ValueNodeConstSet,"value_node_const_set");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeConstSet,_("Set ValueNode_Const"));
+ACTION_SET_LOCAL_NAME(Action::ValueNodeConstSet,N_("Set ValueNode_Const"));
ACTION_SET_TASK(Action::ValueNodeConstSet,"set");
ACTION_SET_CATEGORY(Action::ValueNodeConstSet,Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeConstSet,0);
#include "valuenodedynamiclistinsert.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeDynamicListInsert);
ACTION_SET_NAME(Action::ValueNodeDynamicListInsert,"value_node_dynamic_list_insert");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListInsert,"Insert Item");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListInsert,N_("Insert Item"));
ACTION_SET_TASK(Action::ValueNodeDynamicListInsert,"insert");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListInsert,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE|Action::CATEGORY_HIDDEN);
ACTION_SET_PRIORITY(Action::ValueNodeDynamicListInsert,-20);
#include "valuenodedynamiclistinsert.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeDynamicListInsertSmart);
ACTION_SET_NAME(Action::ValueNodeDynamicListInsertSmart,"value_node_dynamic_list_insert_smart");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListInsertSmart,"Insert Item (Smart)");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListInsertSmart,N_("Insert Item (Smart)"));
ACTION_SET_TASK(Action::ValueNodeDynamicListInsertSmart,"insert");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListInsertSmart,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeDynamicListInsertSmart,-20);
#include "valuenodedynamiclistloop.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeDynamicListLoop);
ACTION_SET_NAME(Action::ValueNodeDynamicListLoop,"value_node_dynamic_list_loop");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListLoop,"Loop");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListLoop,N_("Loop"));
ACTION_SET_TASK(Action::ValueNodeDynamicListLoop,"loop");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListLoop,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeDynamicListLoop,0);
#include "valuenodedynamiclistremove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeDynamicListRemove);
ACTION_SET_NAME(Action::ValueNodeDynamicListRemove,"value_node_dynamic_list_remove");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListRemove,"Remove Item");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListRemove,N_("Remove Item"));
ACTION_SET_TASK(Action::ValueNodeDynamicListRemove,"remove");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListRemove,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE|Action::CATEGORY_HIDDEN);
ACTION_SET_PRIORITY(Action::ValueNodeDynamicListRemove,-19);
#include "valuenodedynamiclistremove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeDynamicListRemoveSmart);
ACTION_SET_NAME(Action::ValueNodeDynamicListRemoveSmart,"value_node_dynamic_list_remove_smart");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListRemoveSmart,"Remove Item (Smart)");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListRemoveSmart,N_("Remove Item (Smart)"));
ACTION_SET_TASK(Action::ValueNodeDynamicListRemoveSmart,"remove");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListRemoveSmart,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeDynamicListRemoveSmart,-19);
#include "valuenodedynamiclistrotateorder.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeDynamicListRotateOrder);
ACTION_SET_NAME(Action::ValueNodeDynamicListRotateOrder,"value_node_dynamic_list_rotate_order");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListRotateOrder,"Rotate Order");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListRotateOrder,N_("Rotate Order"));
ACTION_SET_TASK(Action::ValueNodeDynamicListRotateOrder,"rotate");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListRotateOrder,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeDynamicListRotateOrder,0);
#include "valuenodedynamiclistunloop.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeDynamicListUnLoop);
ACTION_SET_NAME(Action::ValueNodeDynamicListUnLoop,"value_node_dynamic_list_unloop");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListUnLoop,"Unloop");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListUnLoop,N_("Unloop"));
ACTION_SET_TASK(Action::ValueNodeDynamicListUnLoop,"unloop");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListUnLoop,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeDynamicListUnLoop,0);
#include "valuenodelinkconnect.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeLinkConnect);
ACTION_SET_NAME(Action::ValueNodeLinkConnect,"value_node_link_connect");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeLinkConnect,_("Connect ValueNode Link"));
+ACTION_SET_LOCAL_NAME(Action::ValueNodeLinkConnect,N_("Connect ValueNode Link"));
ACTION_SET_TASK(Action::ValueNodeLinkConnect,"connect");
ACTION_SET_CATEGORY(Action::ValueNodeLinkConnect,Action::CATEGORY_LAYER|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeLinkConnect,0);
#include <synfigapp/canvasinterface.h>
#include <synfig/valuenode_const.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeLinkDisconnect);
ACTION_SET_NAME(Action::ValueNodeLinkDisconnect,"value_node_link_disconnect");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeLinkDisconnect,_("Disconnect ValueNode Link"));
+ACTION_SET_LOCAL_NAME(Action::ValueNodeLinkDisconnect,N_("Disconnect ValueNode Link"));
ACTION_SET_TASK(Action::ValueNodeLinkDisconnect,"disconnect");
ACTION_SET_CATEGORY(Action::ValueNodeLinkDisconnect,Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeLinkDisconnect,0);
#include "valuenoderemove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeRemove);
ACTION_SET_NAME(Action::ValueNodeRemove,"value_node_remove");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeRemove,_("Unexport"));
+ACTION_SET_LOCAL_NAME(Action::ValueNodeRemove,N_("Unexport"));
ACTION_SET_TASK(Action::ValueNodeRemove,"remove");
ACTION_SET_CATEGORY(Action::ValueNodeRemove,Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeRemove,0);
#include "valuenoderename.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeRename);
ACTION_SET_NAME(Action::ValueNodeRename,"value_node_rename");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeRename,_("Rename ValueNode"));
+ACTION_SET_LOCAL_NAME(Action::ValueNodeRename,N_("Rename ValueNode"));
ACTION_SET_TASK(Action::ValueNodeRename,"rename");
ACTION_SET_CATEGORY(Action::ValueNodeRename,Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::ValueNodeRename,0);
#include "valuenodereplace.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::ValueNodeReplace);
ACTION_SET_NAME(Action::ValueNodeReplace,"value_node_replace");
-ACTION_SET_LOCAL_NAME(Action::ValueNodeReplace,"Replace ValueNode");
+ACTION_SET_LOCAL_NAME(Action::ValueNodeReplace,N_("Replace ValueNode"));
ACTION_SET_TASK(Action::ValueNodeReplace,"replace");
ACTION_SET_CATEGORY(Action::ValueNodeReplace,Action::CATEGORY_VALUENODE|Action::CATEGORY_DRAG);
ACTION_SET_PRIORITY(Action::ValueNodeReplace,0);
#include <synfigapp/canvasinterface.h>
#include <synfigapp/main.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::WaypointAdd);
ACTION_SET_NAME(Action::WaypointAdd,"waypoint_add");
-ACTION_SET_LOCAL_NAME(Action::WaypointAdd,"Add Waypoint");
+ACTION_SET_LOCAL_NAME(Action::WaypointAdd,N_("Add Waypoint"));
ACTION_SET_TASK(Action::WaypointAdd,"add");
ACTION_SET_CATEGORY(Action::WaypointAdd,Action::CATEGORY_WAYPOINT);
ACTION_SET_PRIORITY(Action::WaypointAdd,0);
#include "waypointremove.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::WaypointRemove);
ACTION_SET_NAME(Action::WaypointRemove,"waypoint_remove");
-ACTION_SET_LOCAL_NAME(Action::WaypointRemove,"Remove Waypoint");
+ACTION_SET_LOCAL_NAME(Action::WaypointRemove,N_("Remove Waypoint"));
ACTION_SET_TASK(Action::WaypointRemove,"remove");
ACTION_SET_CATEGORY(Action::WaypointRemove,Action::CATEGORY_WAYPOINT);
ACTION_SET_PRIORITY(Action::WaypointRemove,0);
#include "waypointset.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::WaypointSet);
ACTION_SET_NAME(Action::WaypointSet,"waypoint_set");
-ACTION_SET_LOCAL_NAME(Action::WaypointSet,"Set Waypoint");
+ACTION_SET_LOCAL_NAME(Action::WaypointSet,N_("Set Waypoint"));
ACTION_SET_TASK(Action::WaypointSet,"set");
ACTION_SET_CATEGORY(Action::WaypointSet,Action::CATEGORY_WAYPOINT);
ACTION_SET_PRIORITY(Action::WaypointSet,0);
#include <synfig/exception.h>
#include <synfigapp/main.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::WaypointSetSmart);
ACTION_SET_NAME(Action::WaypointSetSmart,"waypoint_set_smart");
-ACTION_SET_LOCAL_NAME(Action::WaypointSetSmart,"Add Waypoint");
+ACTION_SET_LOCAL_NAME(Action::WaypointSetSmart,N_("Add Waypoint"));
ACTION_SET_TASK(Action::WaypointSetSmart,"set");
ACTION_SET_CATEGORY(Action::WaypointSetSmart,Action::CATEGORY_WAYPOINT|Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ACTION_SET_PRIORITY(Action::WaypointSetSmart,0);
#include "waypointsimpleadd.h"
#include <synfigapp/canvasinterface.h>
+#include <synfigapp/general.h>
+
#endif
using namespace std;
ACTION_INIT(Action::WaypointSimpleAdd);
ACTION_SET_NAME(Action::WaypointSimpleAdd,"waypoint_simpleadd");
-ACTION_SET_LOCAL_NAME(Action::WaypointSimpleAdd,"Simply Add Waypoint");
+ACTION_SET_LOCAL_NAME(Action::WaypointSimpleAdd,N_("Simply Add Waypoint"));
ACTION_SET_TASK(Action::WaypointSimpleAdd,"add");
ACTION_SET_CATEGORY(Action::WaypointSimpleAdd,Action::CATEGORY_WAYPOINT);
ACTION_SET_PRIORITY(Action::WaypointSimpleAdd,0);
#include <synfig/general.h>
#include <cassert>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/gradient.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <cassert>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
--- /dev/null
+/* === S Y N F I G ========================================================= */
+/*! \file synfigstudio/src/synfigapp/general.h
+** \brief Te
+**
+** $Id$
+**
+** \legal
+** Copyright 2007 Paul Wise
+**
+** This package is free software; you can redistribute it and/or
+** modify it under the terms of the GNU General Public License as
+** published by the Free Software Foundation; either version 2 of
+** the License, or (at your option) any later version.
+**
+** This package is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+** General Public License for more details.
+** \endlegal
+*/
+/* ========================================================================= */
+
+/* === S T A R T =========================================================== */
+
+#ifndef __SYNFIGAPP_GENERAL_H
+#define __SYNFIGAPP_GENERAL_H
+
+/* === H E A D E R S ======================================================= */
+
+#include <libintl.h>
+
+/* === M A C R O S ========================================================= */
+
+#undef _
+#undef gettext_noop
+#undef N_
+#define _(x) dgettext("synfigstudio",x)
+#define gettext_noop(x) x
+#define N_(x) gettext_noop(x)
+
+/* === T Y P E D E F S ===================================================== */
+
+/* === C L A S S E S & S T R U C T S ======================================= */
+
+/* === E N D =============================================================== */
+
+#endif
#include <ETL/stringf>
#include "main.h"
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/valuenode_reference.h>
#include <map>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <list>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
ref_count_=synfigapp_ref_count_;
// Add initialization after this point
+
+ bindtextdomain("synfigstudio", LOCALEDIR);
+
action_main=new synfigapp::Action::Main();
settings_.construct();
#include "settings.h"
#include <synfig/general.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <synfig/layer_pastecanvas.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#include <iostream>
#include <string>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */