Commit Graph

9 Commits

Author SHA1 Message Date
Sven Neumann 28fddfd554 Makefile.am removed this header file.
2003-03-25  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* gimpintl.h: removed this header file.

	* gimpmiscui.c: include libgimp-intl.h.

	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
	textdomain so that plug-ins don't need to do that explicitely.

	* libgimp/stdplugins-intl.h: added the functionality that used to
	live in gimpintl.h and removed the libgimp related stuff. Got rid
	of the INIT_I18N_UI() macro.

	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
	Plug-ins simply call INIT_I18N() once in their run() function.

	* plug-ins/script-fu/script-fu-intl.h: added the functionality
	that used to live in gimpintl.h and removed the libgimp related
	stuff.

	* app/Makefile.am
	* app/gimp-intl.h: new file that defines the gettext macros for
	the GIMP core.

	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.

	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
2003-03-25 16:38:19 +00:00
Sven Neumann b3e5867378 don't insert an extra line-break after a serialized property.
2003-02-26  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-serialize.c (gimp_config_serialize_properties):
	don't insert an extra line-break after a serialized property.

	* app/config/gimpconfig-serialize.c
	* app/config/gimpconfig-dump.c
	* app/gui/tips-parser.c: use g_string_truncate (str, 0) instead of
	assigning an empty string.

	* app/tools/gimptextoptions.c: override the serialize and
	deserialize methods of the GimpConfig interface and save/restore
	the associated GimpText object instead of GimpTextOptions.

	* app/tools/tool_options.c (gimp_tool_options_build_filename):
	don't append ".default" if no extension is given.
2003-02-26 20:34:58 +00:00
Sven Neumann 3ed06437b4 app/gui/tips-dialog.c added support for simple text markup.
2002-02-26  Sven Neumann  <sven@gimp.org>

	* app/gui/tips-dialog.c
	* app/gui/tips-parser.c: added support for simple text markup.

	* tips/gimp-tips.xml.in: document and use the new markup tags.
2002-02-26 16:55:09 +00:00
Sven Neumann 9c9b152cc6 some documentation can't hurt.
2002-02-26  Sven Neumann  <sven@gimp.org>

	* app/gui/tips-parser.c: some documentation can't hurt.

	* app/tools/Makefile.am
	* app/paint/Makfile.am
	* app/vectors/Makfile.am
	* plug-ins/tools/Makefile.am: fixed dist target.
2002-02-26 01:06:26 +00:00
Sven Neumann b95b488477 changed dot to underscore in implementation of gimp_temp_name(). Fixes bug
2002-02-25  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/fileops.pdb: changed dot to underscore in
	implementation of gimp_temp_name(). Fixes bug #72324.

	* app/pdb/fileops_cmds.c: regenerated.

	* Makefile.am
	* tips/update.sh: added a script to update po files.
2002-02-25 21:50:45 +00:00
Sven Neumann feeed3abd9 app/gui/tips-dialog.c added proper error handling. This completes the new
2002-02-25  Sven Neumann  <sven@gimp.org>

	* app/gui/tips-dialog.c
	* app/gui/tips-parser.c: added proper error handling. This completes
	the new XML-based tips system that closes bug #68846.
2002-02-25 21:33:50 +00:00
Sven Neumann 80aa8233a8 updated
2002-02-25  Sven Neumann  <sven@gimp.org>

	* README.i18n: updated

	* app/gui/tips-dialog.c
	* app/gui/tips-parser.[ch]: dropped the locale matching magic since
	it would never work for all cases. Instead introduced a special
	message so translators can specify the exact tips locale.
2002-02-25 18:36:03 +00:00
Sven Neumann c3efdd2ab8 strip newlines, tabs and adjacent spaces from string values. Added a naive
2002-02-25  Sven Neumann  <sven@gimp.org>

	* app/gui/tips-parser.[ch]: strip newlines, tabs and adjacent spaces
	from string values. Added a naive locale match algorithm. We'll see
	how well it works in real life...

	* app/gui/tips-dialog.c: call gimp_tips_from_file() with current
	locale. Let GTK+ do the line breaks, assorted cosmetic changes.

	* tips/de.po: stripped newlines from translation.
2002-02-25 16:48:30 +00:00
Sven Neumann d7127846be app/gui/Makefile.am new files. A simple XML parser for the gimp-tips.xml
2002-02-25  Sven Neumann  <sven@gimp.org>

	* app/gui/Makefile.am
	* app/gui/tips-parser.[ch]: new files. A simple XML parser for the
	gimp-tips.xml file.

	* app/gui/tips-dialog.c: Removed old gimp_tips.txt parsing code and
	switched to use gimp-tips.xml with the new parser. This needs some
	more work ...
2002-02-25 02:52:33 +00:00