gimp/po
Michael Natterer 77863d8868 app/Makefile.am removed...
2001-11-30  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/plug_in.[ch]: removed...

	* app/plug-in/Makefile.am
	* app/plug-in/plug-in-types.h
	* app/plug-in/plug-in.[ch]: ...and added here.

	* app/appenv.h: removed StackTraceMode and MessageHandlerType...

	* libgimpbase/gimpbasetypes.h: ...and added them here.

	* tools/pdbgen/Makefile.am: don't scan "app/apptypes.h" for enums.

	* tools/pdbgen/enumcode.pl: added a general check to prevent
	enums which are defined in libgimp* from being written to
	"libgimp/gimpenums.c".

	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/core-types.h: include "pdb/pdb-types.h" so including
	"core/core-types.h" gets the whole core type space.

	* app/core/gimp.[ch]: added a "stack_trace_mode" parameter to the
	constructor and store it in the Gimp struct because the value is
	also passed to plug-ins and nobody should include "appenv.h".

	* app/gimprc.[ch]: pass the alternate_system_gimprc and
	alternate_gimprc filenames from the command line to gimprc_prase()
	so we don't need to include "appenv.h".

	* app/batch.[ch]: pass the "batch_cmds" as parameter, don't
	include "append.h".

	* app/app_procs.c: pass more parameters around.

	* app/devices.c
	* app/errors.c
	* app/gimphelp.c
	* app/main.c
	* app/core/gimpgradient.c
	* app/display/gimpdisplay.c
	* app/display/gimpdisplayshell.c
	* app/file/file-open.c
	* app/file/file-save.c
	* app/file/file-utils.c
	* app/gui/commands.c
	* app/gui/error-console-dialog.c
	* app/gui/file-dialog-utils.c
	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c
	* app/gui/paths-dialog.c
	* app/gui/user-install-dialog.c
	* app/tools/gimpbezierselecttool.c
	* app/tools/xinput_airbrush.c
	* app/xcf/xcf.c
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/help.pdb
	* tools/pdbgen/pdb/message.pdb
	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly:

	- changed "plug-in.h" include where needed.
	- don't call gimp_fatal_error() directly, it's called via the log
	  handler when calling g_error().
	- don't incude "errors.h" except from main.c.
	- changed stack_trace and message_handler enum names.
	- get "stack_trace_mode" from Gimp.
	- removed many inclusions of "appenv.h".

	* app/pdb/fileops_cmds.c
	* app/pdb/help_cmds.c
	* app/pdb/message_cmds.c
	* app/pdb/plug_in_cmds.c
	* app/pdb/procedural_db.c: regenerated.
2001-12-01 00:14:14 +00:00
..
.cvsignore forgot to add this file which is needed now that we no longer use 2001-10-08 22:18:19 +00:00
ChangeLog app/Makefile.am removed... 2001-12-01 00:14:14 +00:00
Makefile.in.in po/Makefile.in.in po-libgimp/Makefile.in.in po-plug-ins/Makefile.in.in 2001-11-12 21:22:08 +00:00
POTFILES.in app/Makefile.am removed... 2001-12-01 00:14:14 +00:00
README.tools Added update.pl and README.tools from kanikus. 2000-09-13 10:24:30 +00:00
ca.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
cs.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
da.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
de.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
en_GB.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
es.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
fi.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
fr.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
ga.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
gl.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
hr.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
hu.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
it.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
ja.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
ko.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
makefile.cygwin Fix fuzzy translations. 2000-04-23 20:17:38 +00:00
nl.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
no.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
pl.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
po2tbl.sed.in continuing ... 2001-09-27 15:34:48 +00:00
pt_BR.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
ro.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
ru.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
sk.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
sv.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
tr.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
uk.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
update.pl continuing ... 2001-09-27 15:34:48 +00:00
update.sh continuing ... 2001-09-27 15:34:48 +00:00
zh_CN.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00
zh_TW.po Made 1.3.1 release. 2001-11-25 02:42:17 +00:00

README.tools

The po/ directory includes two perlscripts, which is done to help 
making the translations fully uptodate.

The first script is called update.pl and is supposed to be run like this:

	./update.pl [OPTIONS] ...LANGCODE

This will updates the pot file (the po template, generated from the source code) 
and merge them with the translations po files.

For instance to do this for Danish, type the following

	./update.pl da


The update.pl script also supports other options, they are:

  -V, --version                shows the version
  -H, --help                   shows this help page
  -P, --pot                    only generates the potfile
  -M, --maintain               search for missing files in POTFILES.in

Especially the --maintain option is very handy for package maintainer, to check
if you included all the files that have marked strings in the POTFILES.in, so
they will be in the generated po template, the socalled pot file.

There is though one thing to take notice of with this option, please check the 
configure.in file to make sure that the files you add to POTFILES.in are being
build, otherwise this can leed to "make dist" throuble.


The other utility is the desk.pl script, which will check the cvs module for
missing translation in files like *.desktop, *.directory, *.soundlist and so on.

Run the script like this:

	./desk.pl [OPTIONS] ...LANGCODE ENTRY

An example use could be.

	./desk.pl da

which will check all the files for missing Name[da] entries, or 

	./desk.pl no Comment

which will check all the files for missing Comment[no] entries. "Comment" can
here be replaced with whatever you like

All scripts support the --help option for further help, though it's not very
extensive for the moment.

Kenneth Christiansen

kenneth@gnu.org  
kenneth@gnome.org

Both scripts are copyright 2000 The Free Software Foundation and me.