mirror of https://github.com/GNOME/gimp.git
provided gimp_strescape() which is the glib-1.3 g_strescape function
added a default_comment which gets attached to all new images --Sven
This commit is contained in:
parent
d85f358575
commit
6feb0330a6
17
ChangeLog
17
ChangeLog
|
@ -1,3 +1,20 @@
|
||||||
|
Sun Mar 12 01:09:27 CET 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* libgimp/Makefile.am
|
||||||
|
* libgimp/gimp.h
|
||||||
|
* libgimp/gimputils.[ch]: new files providing gimp_strescape(),
|
||||||
|
which is the glib-1.3 g_strescape function
|
||||||
|
|
||||||
|
* plug-ins/script-fu/script-fu-scripts.c: use gimp_strescape()
|
||||||
|
|
||||||
|
* app/gimprc.[ch]
|
||||||
|
* app/image_new.c
|
||||||
|
* app/preferences_dialog.c: allow to specify a default comment
|
||||||
|
which gets attached to new images (fulfills wish #5963)
|
||||||
|
|
||||||
|
* docs/parasites.txt: added a note that gserialize is not included
|
||||||
|
in the libgimp build
|
||||||
|
|
||||||
2000-03-11 Shirasaki Yasuhiro <yasuhiro@gnome.gr.jp>
|
2000-03-11 Shirasaki Yasuhiro <yasuhiro@gnome.gr.jp>
|
||||||
|
|
||||||
* plug-ins/common/mpeg.c: added missing comma for
|
* plug-ins/common/mpeg.c: added missing comma for
|
||||||
|
|
|
@ -40,6 +40,9 @@
|
||||||
|
|
||||||
#include "libgimp/gimpintl.h"
|
#include "libgimp/gimpintl.h"
|
||||||
|
|
||||||
|
/* gimprc will be parsed with a buffer size of 1024,
|
||||||
|
so don't set this too large */
|
||||||
|
#define MAX_COMMENT_LENGTH 512
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
@ -61,6 +64,7 @@ static void file_prefs_nav_preview_size_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_mem_size_callback (GtkWidget *, gpointer);
|
static void file_prefs_mem_size_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_mem_size_unit_callback (GtkWidget *, gpointer);
|
static void file_prefs_mem_size_unit_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_string_callback (GtkWidget *, gpointer);
|
static void file_prefs_string_callback (GtkWidget *, gpointer);
|
||||||
|
static void file_prefs_text_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_filename_callback (GtkWidget *, gpointer);
|
static void file_prefs_filename_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_path_callback (GtkWidget *, gpointer);
|
static void file_prefs_path_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_clear_session_info_callback (GtkWidget *, gpointer);
|
static void file_prefs_clear_session_info_callback (GtkWidget *, gpointer);
|
||||||
|
@ -97,6 +101,7 @@ static gdouble old_default_xresolution;
|
||||||
static gdouble old_default_yresolution;
|
static gdouble old_default_yresolution;
|
||||||
static GimpUnit old_default_resolution_units;
|
static GimpUnit old_default_resolution_units;
|
||||||
static gint old_default_type;
|
static gint old_default_type;
|
||||||
|
static gchar * old_default_comment;
|
||||||
static gint old_default_dot_for_dot;
|
static gint old_default_dot_for_dot;
|
||||||
static gint old_stingy_memory_use;
|
static gint old_stingy_memory_use;
|
||||||
static gint old_tile_cache_size;
|
static gint old_tile_cache_size;
|
||||||
|
@ -589,6 +594,10 @@ file_prefs_save_callback (GtkWidget *widget,
|
||||||
{
|
{
|
||||||
update = g_list_append (update, "default-image-type");
|
update = g_list_append (update, "default-image-type");
|
||||||
}
|
}
|
||||||
|
if (file_prefs_strcmp (default_comment, old_default_comment))
|
||||||
|
{
|
||||||
|
update = g_list_append (update, "default-comment");
|
||||||
|
}
|
||||||
if (default_dot_for_dot != old_default_dot_for_dot)
|
if (default_dot_for_dot != old_default_dot_for_dot)
|
||||||
{
|
{
|
||||||
update = g_list_append (update, "default-dot-for-dot");
|
update = g_list_append (update, "default-dot-for-dot");
|
||||||
|
@ -858,6 +867,7 @@ file_prefs_cancel_callback (GtkWidget *widget,
|
||||||
}
|
}
|
||||||
|
|
||||||
file_prefs_strset (&image_title_format, old_image_title_format);
|
file_prefs_strset (&image_title_format, old_image_title_format);
|
||||||
|
file_prefs_strset (&default_comment, old_default_comment);
|
||||||
|
|
||||||
context_manager_set_global_paint_options (old_global_paint_options);
|
context_manager_set_global_paint_options (old_global_paint_options);
|
||||||
|
|
||||||
|
@ -1043,6 +1053,27 @@ file_prefs_string_callback (GtkWidget *widget,
|
||||||
file_prefs_strset (val, gtk_entry_get_text (GTK_ENTRY (widget)));
|
file_prefs_strset (val, gtk_entry_get_text (GTK_ENTRY (widget)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
file_prefs_text_callback (GtkWidget *widget,
|
||||||
|
gpointer data)
|
||||||
|
{
|
||||||
|
gchar **val;
|
||||||
|
gchar *text;
|
||||||
|
|
||||||
|
val = data;
|
||||||
|
|
||||||
|
text = gtk_editable_get_chars (GTK_EDITABLE (widget), 0, -1);
|
||||||
|
if (strlen (text) > MAX_COMMENT_LENGTH)
|
||||||
|
{
|
||||||
|
g_message (_("The default comments is limited to %d characters."),
|
||||||
|
MAX_COMMENT_LENGTH);
|
||||||
|
gtk_editable_delete_text (GTK_EDITABLE (widget), MAX_COMMENT_LENGTH, -1);
|
||||||
|
g_free (text);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
file_prefs_strset (val, text);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
file_prefs_filename_callback (GtkWidget *widget,
|
file_prefs_filename_callback (GtkWidget *widget,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
|
@ -1349,6 +1380,7 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||||
GtkObject *adjustment;
|
GtkObject *adjustment;
|
||||||
GtkWidget *sizeentry;
|
GtkWidget *sizeentry;
|
||||||
GtkWidget *sizeentry2;
|
GtkWidget *sizeentry2;
|
||||||
|
GtkWidget *text;
|
||||||
GSList *group;
|
GSList *group;
|
||||||
|
|
||||||
gint i;
|
gint i;
|
||||||
|
@ -1430,6 +1462,7 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||||
old_help_browser = help_browser;
|
old_help_browser = help_browser;
|
||||||
|
|
||||||
file_prefs_strset (&old_image_title_format, image_title_format);
|
file_prefs_strset (&old_image_title_format, image_title_format);
|
||||||
|
file_prefs_strset (&old_default_comment, default_comment);
|
||||||
|
|
||||||
/* values which will need a restart */
|
/* values which will need a restart */
|
||||||
old_stingy_memory_use = edit_stingy_memory_use;
|
old_stingy_memory_use = edit_stingy_memory_use;
|
||||||
|
@ -1686,6 +1719,35 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||||
_("Maximum Image Size:"), 1.0, 0.5,
|
_("Maximum Image Size:"), 1.0, 0.5,
|
||||||
hbox, 1, TRUE);
|
hbox, 1, TRUE);
|
||||||
|
|
||||||
|
/* Default Comment page */
|
||||||
|
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||||
|
_("Default Comment"),
|
||||||
|
GTK_CTREE (ctree),
|
||||||
|
_("Default Comment"),
|
||||||
|
"dialogs/preferences/default_comment.html",
|
||||||
|
NULL,
|
||||||
|
&top_insert,
|
||||||
|
page_index);
|
||||||
|
gtk_widget_show (vbox);
|
||||||
|
page_index++;
|
||||||
|
|
||||||
|
frame = gtk_frame_new (_("Comment Used for New Images"));
|
||||||
|
gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
|
||||||
|
gtk_widget_show (frame);
|
||||||
|
|
||||||
|
hbox = gtk_hbox_new (FALSE, 0);
|
||||||
|
gtk_container_set_border_width (GTK_CONTAINER (hbox), 2);
|
||||||
|
gtk_container_add (GTK_CONTAINER (frame), hbox);
|
||||||
|
gtk_widget_show (hbox);
|
||||||
|
|
||||||
|
text = gtk_text_new (NULL, NULL);
|
||||||
|
gtk_text_set_editable (GTK_TEXT (text), TRUE);
|
||||||
|
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, default_comment, -1);
|
||||||
|
gtk_signal_connect (GTK_OBJECT (text), "changed",
|
||||||
|
GTK_SIGNAL_FUNC (file_prefs_text_callback),
|
||||||
|
&default_comment);
|
||||||
|
gtk_container_add (GTK_CONTAINER (hbox), text);
|
||||||
|
gtk_widget_show (text);
|
||||||
|
|
||||||
/* Display page */
|
/* Display page */
|
||||||
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
|
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||||
|
|
42
app/gimprc.c
42
app/gimprc.c
|
@ -47,9 +47,10 @@
|
||||||
#include "session.h"
|
#include "session.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
|
|
||||||
#include "libgimp/parasite.h"
|
|
||||||
#include "libgimp/gimpintl.h"
|
|
||||||
#include "libgimp/gimpenv.h"
|
#include "libgimp/gimpenv.h"
|
||||||
|
#include "libgimp/gimpintl.h"
|
||||||
|
#include "libgimp/gimputils.h"
|
||||||
|
#include "libgimp/parasite.h"
|
||||||
|
|
||||||
#define ERROR 0
|
#define ERROR 0
|
||||||
#define DONE 1
|
#define DONE 1
|
||||||
|
@ -78,7 +79,8 @@ typedef enum {
|
||||||
TT_XUNITINFO,
|
TT_XUNITINFO,
|
||||||
TT_XPARASITE,
|
TT_XPARASITE,
|
||||||
TT_XNAVPREVSIZE,
|
TT_XNAVPREVSIZE,
|
||||||
TT_XHELPBROWSER
|
TT_XHELPBROWSER,
|
||||||
|
TT_XCOMMENT
|
||||||
} TokenType;
|
} TokenType;
|
||||||
|
|
||||||
typedef struct _ParseFunc ParseFunc;
|
typedef struct _ParseFunc ParseFunc;
|
||||||
|
@ -148,6 +150,7 @@ int default_type = RGB;
|
||||||
double default_xresolution = 72.0;
|
double default_xresolution = 72.0;
|
||||||
double default_yresolution = 72.0;
|
double default_yresolution = 72.0;
|
||||||
GimpUnit default_resolution_units = GIMP_UNIT_INCH;
|
GimpUnit default_resolution_units = GIMP_UNIT_INCH;
|
||||||
|
char * default_comment = NULL;
|
||||||
int default_dot_for_dot = TRUE;
|
int default_dot_for_dot = TRUE;
|
||||||
int show_tips = TRUE;
|
int show_tips = TRUE;
|
||||||
int last_tip = -1;
|
int last_tip = -1;
|
||||||
|
@ -219,6 +222,7 @@ static inline char * preview_size_to_str (gpointer val1p, gpointer val2p);
|
||||||
static inline char * nav_preview_size_to_str (gpointer val1p, gpointer val2p);
|
static inline char * nav_preview_size_to_str (gpointer val1p, gpointer val2p);
|
||||||
static inline char * units_to_str (gpointer val1p, gpointer val2p);
|
static inline char * units_to_str (gpointer val1p, gpointer val2p);
|
||||||
static inline char * help_browser_to_str (gpointer val1p, gpointer val2p);
|
static inline char * help_browser_to_str (gpointer val1p, gpointer val2p);
|
||||||
|
static inline char * comment_to_str (gpointer val1p, gpointer val2p);
|
||||||
|
|
||||||
static char* transform_path (char *path, int destroy);
|
static char* transform_path (char *path, int destroy);
|
||||||
static void gimprc_set_token (char *token, char *value);
|
static void gimprc_set_token (char *token, char *value);
|
||||||
|
@ -300,6 +304,7 @@ static ParseFunc funcs[] =
|
||||||
{ "default-xresolution", TT_DOUBLE, &default_xresolution, NULL },
|
{ "default-xresolution", TT_DOUBLE, &default_xresolution, NULL },
|
||||||
{ "default-yresolution", TT_DOUBLE, &default_yresolution, NULL },
|
{ "default-yresolution", TT_DOUBLE, &default_yresolution, NULL },
|
||||||
{ "default-resolution-units", TT_XUNIT, &default_resolution_units, NULL },
|
{ "default-resolution-units", TT_XUNIT, &default_resolution_units, NULL },
|
||||||
|
{ "default-comment", TT_XCOMMENT, &default_comment, NULL },
|
||||||
{ "default-dot-for-dot", TT_BOOLEAN, &default_dot_for_dot, NULL },
|
{ "default-dot-for-dot", TT_BOOLEAN, &default_dot_for_dot, NULL },
|
||||||
{ "plug-in", TT_XPLUGIN, NULL, NULL },
|
{ "plug-in", TT_XPLUGIN, NULL, NULL },
|
||||||
{ "plug-in-def", TT_XPLUGINDEF, NULL, NULL },
|
{ "plug-in-def", TT_XPLUGINDEF, NULL, NULL },
|
||||||
|
@ -350,6 +355,7 @@ extern char* alternate_gimprc;
|
||||||
extern char* alternate_system_gimprc;
|
extern char* alternate_system_gimprc;
|
||||||
|
|
||||||
#define DEFAULT_IMAGE_TITLE_FORMAT "%f-%p.%i (%t)"
|
#define DEFAULT_IMAGE_TITLE_FORMAT "%f-%p.%i (%t)"
|
||||||
|
#define DEFAULT_COMMENT "Created with The GIMP"
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
gimp_system_rc_file (void)
|
gimp_system_rc_file (void)
|
||||||
|
@ -417,6 +423,8 @@ parse_gimprc (void)
|
||||||
|
|
||||||
if (!image_title_format)
|
if (!image_title_format)
|
||||||
image_title_format = g_strdup (DEFAULT_IMAGE_TITLE_FORMAT);
|
image_title_format = g_strdup (DEFAULT_IMAGE_TITLE_FORMAT);
|
||||||
|
if (!default_comment)
|
||||||
|
default_comment = g_strdup (DEFAULT_COMMENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
@ -859,6 +867,8 @@ parse_statement (void)
|
||||||
return parse_parasite (funcs[i].val1p, funcs[i].val2p);
|
return parse_parasite (funcs[i].val1p, funcs[i].val2p);
|
||||||
case TT_XHELPBROWSER:
|
case TT_XHELPBROWSER:
|
||||||
return parse_help_browser (funcs[i].val1p, funcs[i].val2p);
|
return parse_help_browser (funcs[i].val1p, funcs[i].val2p);
|
||||||
|
case TT_XCOMMENT:
|
||||||
|
return parse_string (funcs[i].val1p, funcs[i].val2p);
|
||||||
}
|
}
|
||||||
|
|
||||||
return parse_unknown (token_sym);
|
return parse_unknown (token_sym);
|
||||||
|
@ -2562,6 +2572,8 @@ value_to_str (char *name)
|
||||||
return units_to_str (funcs[i].val1p, funcs[i].val2p);
|
return units_to_str (funcs[i].val1p, funcs[i].val2p);
|
||||||
case TT_XHELPBROWSER:
|
case TT_XHELPBROWSER:
|
||||||
return help_browser_to_str (funcs[i].val1p, funcs[i].val2p);
|
return help_browser_to_str (funcs[i].val1p, funcs[i].val2p);
|
||||||
|
case TT_XCOMMENT:
|
||||||
|
return comment_to_str (funcs[i].val1p, funcs[i].val2p);
|
||||||
case TT_XPLUGIN:
|
case TT_XPLUGIN:
|
||||||
case TT_XPLUGINDEF:
|
case TT_XPLUGINDEF:
|
||||||
case TT_XMENUPATH:
|
case TT_XMENUPATH:
|
||||||
|
@ -2578,11 +2590,7 @@ static inline char *
|
||||||
string_to_str (gpointer val1p,
|
string_to_str (gpointer val1p,
|
||||||
gpointer val2p)
|
gpointer val2p)
|
||||||
{
|
{
|
||||||
#if defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1)
|
gchar *str = gimp_strescape (*((char **)val1p), NULL);
|
||||||
gchar *str = g_strescape (*((char **)val1p), NULL);
|
|
||||||
#else
|
|
||||||
gchar *str = g_strescape (*((char **)val1p));
|
|
||||||
#endif
|
|
||||||
gchar *retval;
|
gchar *retval;
|
||||||
|
|
||||||
retval = g_strdup_printf ("%c%s%c", '"', str, '"');
|
retval = g_strdup_printf ("%c%s%c", '"', str, '"');
|
||||||
|
@ -2749,6 +2757,24 @@ help_browser_to_str (gpointer val1p,
|
||||||
return g_strdup ("gimp");
|
return g_strdup ("gimp");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline char *
|
||||||
|
comment_to_str (gpointer val1p,
|
||||||
|
gpointer val2p)
|
||||||
|
{
|
||||||
|
gchar **str_array;
|
||||||
|
gchar *retval;
|
||||||
|
gchar *str = gimp_strescape (*((char **)val1p), NULL);
|
||||||
|
|
||||||
|
str_array = g_strsplit (str, "\n", 0);
|
||||||
|
g_free (str);
|
||||||
|
str = g_strjoinv ("\\n", str_array);
|
||||||
|
g_strfreev (str_array);
|
||||||
|
retval = g_strdup_printf ("%c%s%c", '"', str, '"');
|
||||||
|
g_free (str);
|
||||||
|
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
add_gimp_directory_token (char *gimp_dir)
|
add_gimp_directory_token (char *gimp_dir)
|
||||||
{
|
{
|
||||||
|
|
|
@ -65,6 +65,7 @@ extern int default_type;
|
||||||
extern GimpUnit default_resolution_units;
|
extern GimpUnit default_resolution_units;
|
||||||
extern double default_xresolution;
|
extern double default_xresolution;
|
||||||
extern double default_yresolution;
|
extern double default_yresolution;
|
||||||
|
extern char * default_comment;
|
||||||
extern int default_dot_for_dot;
|
extern int default_dot_for_dot;
|
||||||
extern int save_session_info;
|
extern int save_session_info;
|
||||||
extern int save_device_status;
|
extern int save_device_status;
|
||||||
|
|
|
@ -40,6 +40,9 @@
|
||||||
|
|
||||||
#include "libgimp/gimpintl.h"
|
#include "libgimp/gimpintl.h"
|
||||||
|
|
||||||
|
/* gimprc will be parsed with a buffer size of 1024,
|
||||||
|
so don't set this too large */
|
||||||
|
#define MAX_COMMENT_LENGTH 512
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
@ -61,6 +64,7 @@ static void file_prefs_nav_preview_size_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_mem_size_callback (GtkWidget *, gpointer);
|
static void file_prefs_mem_size_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_mem_size_unit_callback (GtkWidget *, gpointer);
|
static void file_prefs_mem_size_unit_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_string_callback (GtkWidget *, gpointer);
|
static void file_prefs_string_callback (GtkWidget *, gpointer);
|
||||||
|
static void file_prefs_text_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_filename_callback (GtkWidget *, gpointer);
|
static void file_prefs_filename_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_path_callback (GtkWidget *, gpointer);
|
static void file_prefs_path_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_clear_session_info_callback (GtkWidget *, gpointer);
|
static void file_prefs_clear_session_info_callback (GtkWidget *, gpointer);
|
||||||
|
@ -97,6 +101,7 @@ static gdouble old_default_xresolution;
|
||||||
static gdouble old_default_yresolution;
|
static gdouble old_default_yresolution;
|
||||||
static GimpUnit old_default_resolution_units;
|
static GimpUnit old_default_resolution_units;
|
||||||
static gint old_default_type;
|
static gint old_default_type;
|
||||||
|
static gchar * old_default_comment;
|
||||||
static gint old_default_dot_for_dot;
|
static gint old_default_dot_for_dot;
|
||||||
static gint old_stingy_memory_use;
|
static gint old_stingy_memory_use;
|
||||||
static gint old_tile_cache_size;
|
static gint old_tile_cache_size;
|
||||||
|
@ -589,6 +594,10 @@ file_prefs_save_callback (GtkWidget *widget,
|
||||||
{
|
{
|
||||||
update = g_list_append (update, "default-image-type");
|
update = g_list_append (update, "default-image-type");
|
||||||
}
|
}
|
||||||
|
if (file_prefs_strcmp (default_comment, old_default_comment))
|
||||||
|
{
|
||||||
|
update = g_list_append (update, "default-comment");
|
||||||
|
}
|
||||||
if (default_dot_for_dot != old_default_dot_for_dot)
|
if (default_dot_for_dot != old_default_dot_for_dot)
|
||||||
{
|
{
|
||||||
update = g_list_append (update, "default-dot-for-dot");
|
update = g_list_append (update, "default-dot-for-dot");
|
||||||
|
@ -858,6 +867,7 @@ file_prefs_cancel_callback (GtkWidget *widget,
|
||||||
}
|
}
|
||||||
|
|
||||||
file_prefs_strset (&image_title_format, old_image_title_format);
|
file_prefs_strset (&image_title_format, old_image_title_format);
|
||||||
|
file_prefs_strset (&default_comment, old_default_comment);
|
||||||
|
|
||||||
context_manager_set_global_paint_options (old_global_paint_options);
|
context_manager_set_global_paint_options (old_global_paint_options);
|
||||||
|
|
||||||
|
@ -1043,6 +1053,27 @@ file_prefs_string_callback (GtkWidget *widget,
|
||||||
file_prefs_strset (val, gtk_entry_get_text (GTK_ENTRY (widget)));
|
file_prefs_strset (val, gtk_entry_get_text (GTK_ENTRY (widget)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
file_prefs_text_callback (GtkWidget *widget,
|
||||||
|
gpointer data)
|
||||||
|
{
|
||||||
|
gchar **val;
|
||||||
|
gchar *text;
|
||||||
|
|
||||||
|
val = data;
|
||||||
|
|
||||||
|
text = gtk_editable_get_chars (GTK_EDITABLE (widget), 0, -1);
|
||||||
|
if (strlen (text) > MAX_COMMENT_LENGTH)
|
||||||
|
{
|
||||||
|
g_message (_("The default comments is limited to %d characters."),
|
||||||
|
MAX_COMMENT_LENGTH);
|
||||||
|
gtk_editable_delete_text (GTK_EDITABLE (widget), MAX_COMMENT_LENGTH, -1);
|
||||||
|
g_free (text);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
file_prefs_strset (val, text);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
file_prefs_filename_callback (GtkWidget *widget,
|
file_prefs_filename_callback (GtkWidget *widget,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
|
@ -1349,6 +1380,7 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||||
GtkObject *adjustment;
|
GtkObject *adjustment;
|
||||||
GtkWidget *sizeentry;
|
GtkWidget *sizeentry;
|
||||||
GtkWidget *sizeentry2;
|
GtkWidget *sizeentry2;
|
||||||
|
GtkWidget *text;
|
||||||
GSList *group;
|
GSList *group;
|
||||||
|
|
||||||
gint i;
|
gint i;
|
||||||
|
@ -1430,6 +1462,7 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||||
old_help_browser = help_browser;
|
old_help_browser = help_browser;
|
||||||
|
|
||||||
file_prefs_strset (&old_image_title_format, image_title_format);
|
file_prefs_strset (&old_image_title_format, image_title_format);
|
||||||
|
file_prefs_strset (&old_default_comment, default_comment);
|
||||||
|
|
||||||
/* values which will need a restart */
|
/* values which will need a restart */
|
||||||
old_stingy_memory_use = edit_stingy_memory_use;
|
old_stingy_memory_use = edit_stingy_memory_use;
|
||||||
|
@ -1686,6 +1719,35 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||||
_("Maximum Image Size:"), 1.0, 0.5,
|
_("Maximum Image Size:"), 1.0, 0.5,
|
||||||
hbox, 1, TRUE);
|
hbox, 1, TRUE);
|
||||||
|
|
||||||
|
/* Default Comment page */
|
||||||
|
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||||
|
_("Default Comment"),
|
||||||
|
GTK_CTREE (ctree),
|
||||||
|
_("Default Comment"),
|
||||||
|
"dialogs/preferences/default_comment.html",
|
||||||
|
NULL,
|
||||||
|
&top_insert,
|
||||||
|
page_index);
|
||||||
|
gtk_widget_show (vbox);
|
||||||
|
page_index++;
|
||||||
|
|
||||||
|
frame = gtk_frame_new (_("Comment Used for New Images"));
|
||||||
|
gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
|
||||||
|
gtk_widget_show (frame);
|
||||||
|
|
||||||
|
hbox = gtk_hbox_new (FALSE, 0);
|
||||||
|
gtk_container_set_border_width (GTK_CONTAINER (hbox), 2);
|
||||||
|
gtk_container_add (GTK_CONTAINER (frame), hbox);
|
||||||
|
gtk_widget_show (hbox);
|
||||||
|
|
||||||
|
text = gtk_text_new (NULL, NULL);
|
||||||
|
gtk_text_set_editable (GTK_TEXT (text), TRUE);
|
||||||
|
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, default_comment, -1);
|
||||||
|
gtk_signal_connect (GTK_OBJECT (text), "changed",
|
||||||
|
GTK_SIGNAL_FUNC (file_prefs_text_callback),
|
||||||
|
&default_comment);
|
||||||
|
gtk_container_add (GTK_CONTAINER (hbox), text);
|
||||||
|
gtk_widget_show (text);
|
||||||
|
|
||||||
/* Display page */
|
/* Display page */
|
||||||
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
|
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include "gimage.h"
|
#include "gimage.h"
|
||||||
|
|
||||||
#include "libgimp/gimpintl.h"
|
#include "libgimp/gimpintl.h"
|
||||||
|
#include "libgimp/parasite.h"
|
||||||
|
|
||||||
static GList *image_base_type_names = NULL;
|
static GList *image_base_type_names = NULL;
|
||||||
static GList *fill_type_names = NULL;
|
static GList *fill_type_names = NULL;
|
||||||
|
@ -190,6 +191,7 @@ image_new_create_image (const GimpImageNewValues *values)
|
||||||
GDisplay *display;
|
GDisplay *display;
|
||||||
Layer *layer;
|
Layer *layer;
|
||||||
GimpImageType type;
|
GimpImageType type;
|
||||||
|
Parasite *comment_parasite;
|
||||||
gint width, height;
|
gint width, height;
|
||||||
|
|
||||||
g_return_if_fail (values != NULL);
|
g_return_if_fail (values != NULL);
|
||||||
|
@ -216,6 +218,15 @@ image_new_create_image (const GimpImageNewValues *values)
|
||||||
gimp_image_set_resolution (image, values->xresolution, values->yresolution);
|
gimp_image_set_resolution (image, values->xresolution, values->yresolution);
|
||||||
gimp_image_set_unit (image, values->unit);
|
gimp_image_set_unit (image, values->unit);
|
||||||
|
|
||||||
|
if (default_comment)
|
||||||
|
{
|
||||||
|
comment_parasite = parasite_new ("gimp-comment", PARASITE_PERSISTENT,
|
||||||
|
strlen (default_comment)+1,
|
||||||
|
(gpointer) default_comment);
|
||||||
|
gimp_image_parasite_attach (image, comment_parasite);
|
||||||
|
parasite_free (comment_parasite);
|
||||||
|
}
|
||||||
|
|
||||||
/* Make the background (or first) layer */
|
/* Make the background (or first) layer */
|
||||||
width = gimp_image_get_width (image);
|
width = gimp_image_get_width (image);
|
||||||
height = gimp_image_get_height(image);
|
height = gimp_image_get_height(image);
|
||||||
|
|
|
@ -40,6 +40,9 @@
|
||||||
|
|
||||||
#include "libgimp/gimpintl.h"
|
#include "libgimp/gimpintl.h"
|
||||||
|
|
||||||
|
/* gimprc will be parsed with a buffer size of 1024,
|
||||||
|
so don't set this too large */
|
||||||
|
#define MAX_COMMENT_LENGTH 512
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
@ -61,6 +64,7 @@ static void file_prefs_nav_preview_size_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_mem_size_callback (GtkWidget *, gpointer);
|
static void file_prefs_mem_size_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_mem_size_unit_callback (GtkWidget *, gpointer);
|
static void file_prefs_mem_size_unit_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_string_callback (GtkWidget *, gpointer);
|
static void file_prefs_string_callback (GtkWidget *, gpointer);
|
||||||
|
static void file_prefs_text_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_filename_callback (GtkWidget *, gpointer);
|
static void file_prefs_filename_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_path_callback (GtkWidget *, gpointer);
|
static void file_prefs_path_callback (GtkWidget *, gpointer);
|
||||||
static void file_prefs_clear_session_info_callback (GtkWidget *, gpointer);
|
static void file_prefs_clear_session_info_callback (GtkWidget *, gpointer);
|
||||||
|
@ -97,6 +101,7 @@ static gdouble old_default_xresolution;
|
||||||
static gdouble old_default_yresolution;
|
static gdouble old_default_yresolution;
|
||||||
static GimpUnit old_default_resolution_units;
|
static GimpUnit old_default_resolution_units;
|
||||||
static gint old_default_type;
|
static gint old_default_type;
|
||||||
|
static gchar * old_default_comment;
|
||||||
static gint old_default_dot_for_dot;
|
static gint old_default_dot_for_dot;
|
||||||
static gint old_stingy_memory_use;
|
static gint old_stingy_memory_use;
|
||||||
static gint old_tile_cache_size;
|
static gint old_tile_cache_size;
|
||||||
|
@ -589,6 +594,10 @@ file_prefs_save_callback (GtkWidget *widget,
|
||||||
{
|
{
|
||||||
update = g_list_append (update, "default-image-type");
|
update = g_list_append (update, "default-image-type");
|
||||||
}
|
}
|
||||||
|
if (file_prefs_strcmp (default_comment, old_default_comment))
|
||||||
|
{
|
||||||
|
update = g_list_append (update, "default-comment");
|
||||||
|
}
|
||||||
if (default_dot_for_dot != old_default_dot_for_dot)
|
if (default_dot_for_dot != old_default_dot_for_dot)
|
||||||
{
|
{
|
||||||
update = g_list_append (update, "default-dot-for-dot");
|
update = g_list_append (update, "default-dot-for-dot");
|
||||||
|
@ -858,6 +867,7 @@ file_prefs_cancel_callback (GtkWidget *widget,
|
||||||
}
|
}
|
||||||
|
|
||||||
file_prefs_strset (&image_title_format, old_image_title_format);
|
file_prefs_strset (&image_title_format, old_image_title_format);
|
||||||
|
file_prefs_strset (&default_comment, old_default_comment);
|
||||||
|
|
||||||
context_manager_set_global_paint_options (old_global_paint_options);
|
context_manager_set_global_paint_options (old_global_paint_options);
|
||||||
|
|
||||||
|
@ -1043,6 +1053,27 @@ file_prefs_string_callback (GtkWidget *widget,
|
||||||
file_prefs_strset (val, gtk_entry_get_text (GTK_ENTRY (widget)));
|
file_prefs_strset (val, gtk_entry_get_text (GTK_ENTRY (widget)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
file_prefs_text_callback (GtkWidget *widget,
|
||||||
|
gpointer data)
|
||||||
|
{
|
||||||
|
gchar **val;
|
||||||
|
gchar *text;
|
||||||
|
|
||||||
|
val = data;
|
||||||
|
|
||||||
|
text = gtk_editable_get_chars (GTK_EDITABLE (widget), 0, -1);
|
||||||
|
if (strlen (text) > MAX_COMMENT_LENGTH)
|
||||||
|
{
|
||||||
|
g_message (_("The default comments is limited to %d characters."),
|
||||||
|
MAX_COMMENT_LENGTH);
|
||||||
|
gtk_editable_delete_text (GTK_EDITABLE (widget), MAX_COMMENT_LENGTH, -1);
|
||||||
|
g_free (text);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
file_prefs_strset (val, text);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
file_prefs_filename_callback (GtkWidget *widget,
|
file_prefs_filename_callback (GtkWidget *widget,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
|
@ -1349,6 +1380,7 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||||
GtkObject *adjustment;
|
GtkObject *adjustment;
|
||||||
GtkWidget *sizeentry;
|
GtkWidget *sizeentry;
|
||||||
GtkWidget *sizeentry2;
|
GtkWidget *sizeentry2;
|
||||||
|
GtkWidget *text;
|
||||||
GSList *group;
|
GSList *group;
|
||||||
|
|
||||||
gint i;
|
gint i;
|
||||||
|
@ -1430,6 +1462,7 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||||
old_help_browser = help_browser;
|
old_help_browser = help_browser;
|
||||||
|
|
||||||
file_prefs_strset (&old_image_title_format, image_title_format);
|
file_prefs_strset (&old_image_title_format, image_title_format);
|
||||||
|
file_prefs_strset (&old_default_comment, default_comment);
|
||||||
|
|
||||||
/* values which will need a restart */
|
/* values which will need a restart */
|
||||||
old_stingy_memory_use = edit_stingy_memory_use;
|
old_stingy_memory_use = edit_stingy_memory_use;
|
||||||
|
@ -1686,6 +1719,35 @@ file_pref_cmd_callback (GtkWidget *widget,
|
||||||
_("Maximum Image Size:"), 1.0, 0.5,
|
_("Maximum Image Size:"), 1.0, 0.5,
|
||||||
hbox, 1, TRUE);
|
hbox, 1, TRUE);
|
||||||
|
|
||||||
|
/* Default Comment page */
|
||||||
|
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||||
|
_("Default Comment"),
|
||||||
|
GTK_CTREE (ctree),
|
||||||
|
_("Default Comment"),
|
||||||
|
"dialogs/preferences/default_comment.html",
|
||||||
|
NULL,
|
||||||
|
&top_insert,
|
||||||
|
page_index);
|
||||||
|
gtk_widget_show (vbox);
|
||||||
|
page_index++;
|
||||||
|
|
||||||
|
frame = gtk_frame_new (_("Comment Used for New Images"));
|
||||||
|
gtk_box_pack_start (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
|
||||||
|
gtk_widget_show (frame);
|
||||||
|
|
||||||
|
hbox = gtk_hbox_new (FALSE, 0);
|
||||||
|
gtk_container_set_border_width (GTK_CONTAINER (hbox), 2);
|
||||||
|
gtk_container_add (GTK_CONTAINER (frame), hbox);
|
||||||
|
gtk_widget_show (hbox);
|
||||||
|
|
||||||
|
text = gtk_text_new (NULL, NULL);
|
||||||
|
gtk_text_set_editable (GTK_TEXT (text), TRUE);
|
||||||
|
gtk_text_insert (GTK_TEXT (text), NULL, NULL, NULL, default_comment, -1);
|
||||||
|
gtk_signal_connect (GTK_OBJECT (text), "changed",
|
||||||
|
GTK_SIGNAL_FUNC (file_prefs_text_callback),
|
||||||
|
&default_comment);
|
||||||
|
gtk_container_add (GTK_CONTAINER (hbox), text);
|
||||||
|
gtk_widget_show (text);
|
||||||
|
|
||||||
/* Display page */
|
/* Display page */
|
||||||
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
|
vbox = file_prefs_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
Sun Mar 12 01:08:13 CET 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* libgimp/libgimp-decl.txt
|
||||||
|
* libgimp/libgimp-docs.sgml
|
||||||
|
* libgimp/libgimp-sections.txt
|
||||||
|
* libgimp/tmpl/gimputils.sgml: new file
|
||||||
|
|
||||||
Fri Mar 10 11:36:45 CET 2000 Sven Neumann <sven@gimp.org>
|
Fri Mar 10 11:36:45 CET 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* libgimp/Makefile.am: fixed bug #7139
|
* libgimp/Makefile.am: fixed bug #7139
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -894,3 +894,7 @@ gimp_unit_menu_update
|
||||||
gimp_table_attach_aligned
|
gimp_table_attach_aligned
|
||||||
</SECTION>
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>gimputils</FILE>
|
||||||
|
gimp_strescape
|
||||||
|
</SECTION>
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
<!-- ##### SECTION Title ##### -->
|
||||||
|
gimputils
|
||||||
|
|
||||||
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
|
Simple utility functions that don't have their own category.
|
||||||
|
|
||||||
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
|
<para>
|
||||||
|
Right now all you find here is a function taken from glib-1.3 that
|
||||||
|
we need in several places. Since Gimp doesn't rely on glib-1.3, we
|
||||||
|
provide it here.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<!-- ##### FUNCTION gimp_strescape ##### -->
|
||||||
|
<para>
|
||||||
|
|
||||||
|
</para>
|
||||||
|
|
||||||
|
@source:
|
||||||
|
@exceptions:
|
||||||
|
@Returns:
|
||||||
|
|
||||||
|
|
|
@ -156,6 +156,11 @@ non-persistant data might be fine as well):
|
||||||
|
|
||||||
- use the libgimp serialize functions
|
- use the libgimp serialize functions
|
||||||
|
|
||||||
|
NOTE: libgimp/gserialize.[ch] has been excluded from the build for
|
||||||
|
gimp-1.2. This decision was made since noone seemed to use it
|
||||||
|
so far. The files are still in CVS, so if you decide to use
|
||||||
|
them, you will have to include a copy into your plugin source.
|
||||||
|
|
||||||
Look at the stuff in libgimp/gserialize.h. These functions allow for
|
Look at the stuff in libgimp/gserialize.h. These functions allow for
|
||||||
relatively easy serializing/deserializing of structs. The advantages
|
relatively easy serializing/deserializing of structs. The advantages
|
||||||
are that the gimp-developers have already taken care of endian-ness
|
are that the gimp-developers have already taken care of endian-ness
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
helpdatadir = $(gimpdatadir)/help/C/dialogs/preferences
|
helpdatadir = $(gimpdatadir)/help/C/dialogs/preferences
|
||||||
|
|
||||||
helpdata_DATA = \
|
helpdata_DATA = \
|
||||||
|
default_comment.html \
|
||||||
directories.html \
|
directories.html \
|
||||||
display.html \
|
display.html \
|
||||||
environment.html \
|
environment.html \
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
||||||
|
<title>Help Page for default_comment</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body text="#000000" bgcolor="#FFFFFF" link="#0000FF"
|
||||||
|
vlink="#FF0000" alink="#000088">
|
||||||
|
|
||||||
|
<table width="100%" cellspacing="1" cellpadding="1">
|
||||||
|
<tr bgcolor="black">
|
||||||
|
<td width="100%" align="center">
|
||||||
|
<font size="+2" color="white">default_comment help page</font>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr bgcolor="white" >
|
||||||
|
<td width="100%" align="left">
|
||||||
|
<p>
|
||||||
|
<a href="index.html">Index</a><p>
|
||||||
|
(/usr/src/CVS/gimp-1.1/help/C/dialogs/preferences/default_comment.html)<p>
|
||||||
|
Sorry but the help file for default_comment is not yet done.
|
||||||
|
<p>
|
||||||
|
/Karin & Olof
|
||||||
|
<p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -20,6 +20,7 @@
|
||||||
(/dialogs/preferences/index.html)<p>
|
(/dialogs/preferences/index.html)<p>
|
||||||
<a href="../index.html">Top index</a><p>
|
<a href="../index.html">Top index</a><p>
|
||||||
<p>Topics in this directory:<p>
|
<p>Topics in this directory:<p>
|
||||||
|
<a href="default_comment.html">default_comment</a><br>
|
||||||
<a href="directories.html">directories</a><br>
|
<a href="directories.html">directories</a><br>
|
||||||
<a href="display.html">display</a><br>
|
<a href="display.html">display</a><br>
|
||||||
<a href="environment.html">environment</a><br>
|
<a href="environment.html">environment</a><br>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
Sun Mar 12 01:04:21 CET 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* C/dialogs/preferences/Makefile.am
|
||||||
|
* C/dialogs/preferences/index.html
|
||||||
|
* C/dialogs/preferences/default_comment.html: new file
|
||||||
|
|
||||||
2000-03-01 Michael Natterer <mitch@gimp.org>
|
2000-03-01 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* C/dialogs/layers/Makefile.am
|
* C/dialogs/layers/Makefile.am
|
||||||
|
|
|
@ -51,6 +51,8 @@ libgimpi_a_SOURCES = \
|
||||||
gimpsizeentry.h \
|
gimpsizeentry.h \
|
||||||
gimpunitmenu.c \
|
gimpunitmenu.c \
|
||||||
gimpunitmenu.h \
|
gimpunitmenu.h \
|
||||||
|
gimputils.c \
|
||||||
|
gimputils.h \
|
||||||
gimpvector.c \
|
gimpvector.c \
|
||||||
gimpvector.h \
|
gimpvector.h \
|
||||||
gimpwidgets.c \
|
gimpwidgets.c \
|
||||||
|
@ -97,6 +99,8 @@ libgimp_la_SOURCES = \
|
||||||
gimptile.c \
|
gimptile.c \
|
||||||
gimpunit.c \
|
gimpunit.c \
|
||||||
gimpunit.h \
|
gimpunit.h \
|
||||||
|
gimputils.c \
|
||||||
|
gimputils.h \
|
||||||
gimpvector.c \
|
gimpvector.c \
|
||||||
gimpvector.h \
|
gimpvector.h \
|
||||||
gimpwire.c \
|
gimpwire.c \
|
||||||
|
@ -155,6 +159,7 @@ gimpinclude_HEADERS = \
|
||||||
gimpui.h \
|
gimpui.h \
|
||||||
gimpunit.h \
|
gimpunit.h \
|
||||||
gimpunitmenu.h \
|
gimpunitmenu.h \
|
||||||
|
gimputils.h \
|
||||||
gimpvector.h \
|
gimpvector.h \
|
||||||
gimpwidgets.h \
|
gimpwidgets.h \
|
||||||
gimpintl.h \
|
gimpintl.h \
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include "libgimp/parasite.h"
|
#include "libgimp/parasite.h"
|
||||||
#include "libgimp/parasiteP.h"
|
#include "libgimp/parasiteP.h"
|
||||||
#include "libgimp/gimpunit.h"
|
#include "libgimp/gimpunit.h"
|
||||||
|
#include "libgimp/gimputils.h"
|
||||||
#include "libgimp/gimpvector.h"
|
#include "libgimp/gimpvector.h"
|
||||||
|
|
||||||
#include "libgimp/gimpcompat.h" /* to be removed in 1.3 */
|
#include "libgimp/gimpcompat.h" /* to be removed in 1.3 */
|
||||||
|
|
|
@ -0,0 +1,117 @@
|
||||||
|
/* LIBGIMP - The GIMP Library
|
||||||
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
||||||
|
* Copyright (C) 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library 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
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the
|
||||||
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gimp_strescape:
|
||||||
|
* @source: A string to escape special characters in.
|
||||||
|
* @exceptions: A string holding all characters that are to be escaped.
|
||||||
|
*
|
||||||
|
* Escapes special characters in a string, by inserting a '\' before them.
|
||||||
|
* If the list of characters is NULL, a suitable set of exceptions is used.
|
||||||
|
*
|
||||||
|
* If glib > 1.3 is installed this function is identical to
|
||||||
|
* g_strescape(). For systems using glib-1.2 this function provides the
|
||||||
|
* added functionality from glib-1.3.
|
||||||
|
*
|
||||||
|
* Returns: A newly allocated copy of the string, with all special
|
||||||
|
* characters escaped using a backslash.
|
||||||
|
*/
|
||||||
|
#if !(defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1))
|
||||||
|
gchar*
|
||||||
|
gimp_strescape (const gchar *source,
|
||||||
|
const gchar *exceptions)
|
||||||
|
{
|
||||||
|
const guchar *p = (guchar *) source;
|
||||||
|
/* Each source byte needs maximally four destination chars (\777) */
|
||||||
|
gchar *dest = g_malloc (strlen (source) * 4 + 1);
|
||||||
|
gchar *q = dest;
|
||||||
|
guchar excmap[256];
|
||||||
|
|
||||||
|
memset (excmap, 0, 256);
|
||||||
|
if (exceptions)
|
||||||
|
{
|
||||||
|
guchar *e = (guchar *) exceptions;
|
||||||
|
|
||||||
|
while (*e)
|
||||||
|
{
|
||||||
|
excmap[*e] = 1;
|
||||||
|
e++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
while (*p)
|
||||||
|
{
|
||||||
|
if (excmap[*p])
|
||||||
|
*q++ = *p;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
switch (*p)
|
||||||
|
{
|
||||||
|
case '\b':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 'b';
|
||||||
|
break;
|
||||||
|
case '\f':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 'f';
|
||||||
|
break;
|
||||||
|
case '\n':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 'n';
|
||||||
|
break;
|
||||||
|
case '\r':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 'r';
|
||||||
|
break;
|
||||||
|
case '\t':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 't';
|
||||||
|
break;
|
||||||
|
case '\\':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = '\\';
|
||||||
|
break;
|
||||||
|
case '"':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = '"';
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
if ((*p < ' ') || (*p >= 0177))
|
||||||
|
{
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = '0' + (((*p) >> 6) & 07);
|
||||||
|
*q++ = '0' + (((*p) >> 3) & 07);
|
||||||
|
*q++ = '0' + ((*p) & 07);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
*q++ = *p;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
p++;
|
||||||
|
}
|
||||||
|
*q = 0;
|
||||||
|
return dest;
|
||||||
|
}
|
||||||
|
#endif /* GLIB <= 1.3 */
|
|
@ -0,0 +1,50 @@
|
||||||
|
/* LIBGIMP - The GIMP Library
|
||||||
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
||||||
|
*
|
||||||
|
* gimputils.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library 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
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the
|
||||||
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __GIMPUTILS_H__
|
||||||
|
#define __GIMPUTILS_H__
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Right now all you find here is the g_strescape function out of
|
||||||
|
* glib-1.3. We need its functionality, but don't want to rely on
|
||||||
|
* that version being installed
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
#if (defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1))
|
||||||
|
#define gimp_strescape(string, exceptions) g_strescape (string, exceptions)
|
||||||
|
#else
|
||||||
|
gchar* gimp_strescape (const gchar *source,
|
||||||
|
const gchar *exceptions);
|
||||||
|
#endif /* GLIB <= 1.3 */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
#endif /* __GIMPUTILS_H__ */
|
|
@ -0,0 +1,117 @@
|
||||||
|
/* LIBGIMP - The GIMP Library
|
||||||
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
||||||
|
* Copyright (C) 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library 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
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the
|
||||||
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gimp_strescape:
|
||||||
|
* @source: A string to escape special characters in.
|
||||||
|
* @exceptions: A string holding all characters that are to be escaped.
|
||||||
|
*
|
||||||
|
* Escapes special characters in a string, by inserting a '\' before them.
|
||||||
|
* If the list of characters is NULL, a suitable set of exceptions is used.
|
||||||
|
*
|
||||||
|
* If glib > 1.3 is installed this function is identical to
|
||||||
|
* g_strescape(). For systems using glib-1.2 this function provides the
|
||||||
|
* added functionality from glib-1.3.
|
||||||
|
*
|
||||||
|
* Returns: A newly allocated copy of the string, with all special
|
||||||
|
* characters escaped using a backslash.
|
||||||
|
*/
|
||||||
|
#if !(defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1))
|
||||||
|
gchar*
|
||||||
|
gimp_strescape (const gchar *source,
|
||||||
|
const gchar *exceptions)
|
||||||
|
{
|
||||||
|
const guchar *p = (guchar *) source;
|
||||||
|
/* Each source byte needs maximally four destination chars (\777) */
|
||||||
|
gchar *dest = g_malloc (strlen (source) * 4 + 1);
|
||||||
|
gchar *q = dest;
|
||||||
|
guchar excmap[256];
|
||||||
|
|
||||||
|
memset (excmap, 0, 256);
|
||||||
|
if (exceptions)
|
||||||
|
{
|
||||||
|
guchar *e = (guchar *) exceptions;
|
||||||
|
|
||||||
|
while (*e)
|
||||||
|
{
|
||||||
|
excmap[*e] = 1;
|
||||||
|
e++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
while (*p)
|
||||||
|
{
|
||||||
|
if (excmap[*p])
|
||||||
|
*q++ = *p;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
switch (*p)
|
||||||
|
{
|
||||||
|
case '\b':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 'b';
|
||||||
|
break;
|
||||||
|
case '\f':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 'f';
|
||||||
|
break;
|
||||||
|
case '\n':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 'n';
|
||||||
|
break;
|
||||||
|
case '\r':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 'r';
|
||||||
|
break;
|
||||||
|
case '\t':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = 't';
|
||||||
|
break;
|
||||||
|
case '\\':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = '\\';
|
||||||
|
break;
|
||||||
|
case '"':
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = '"';
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
if ((*p < ' ') || (*p >= 0177))
|
||||||
|
{
|
||||||
|
*q++ = '\\';
|
||||||
|
*q++ = '0' + (((*p) >> 6) & 07);
|
||||||
|
*q++ = '0' + (((*p) >> 3) & 07);
|
||||||
|
*q++ = '0' + ((*p) & 07);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
*q++ = *p;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
p++;
|
||||||
|
}
|
||||||
|
*q = 0;
|
||||||
|
return dest;
|
||||||
|
}
|
||||||
|
#endif /* GLIB <= 1.3 */
|
|
@ -0,0 +1,50 @@
|
||||||
|
/* LIBGIMP - The GIMP Library
|
||||||
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
||||||
|
*
|
||||||
|
* gimputils.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library 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
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the
|
||||||
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __GIMPUTILS_H__
|
||||||
|
#define __GIMPUTILS_H__
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Right now all you find here is the g_strescape function out of
|
||||||
|
* glib-1.3. We need its functionality, but don't want to rely on
|
||||||
|
* that version being installed
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
#if (defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1))
|
||||||
|
#define gimp_strescape(string, exceptions) g_strescape (string, exceptions)
|
||||||
|
#else
|
||||||
|
gchar* gimp_strescape (const gchar *source,
|
||||||
|
const gchar *exceptions);
|
||||||
|
#endif /* GLIB <= 1.3 */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
#endif /* __GIMPUTILS_H__ */
|
|
@ -58,11 +58,7 @@
|
||||||
|
|
||||||
#endif /* G_OS_WIN32 */
|
#endif /* G_OS_WIN32 */
|
||||||
|
|
||||||
#if defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1)
|
#define ESCAPE(string) gimp_strescape (string, NULL)
|
||||||
#define ESCAPE(string) g_strescape (string, NULL)
|
|
||||||
#else
|
|
||||||
#define ESCAPE(string) my_strescape (string, NULL)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define TEXT_WIDTH 100
|
#define TEXT_WIDTH 100
|
||||||
#define TEXT_HEIGHT 25
|
#define TEXT_HEIGHT 25
|
||||||
|
@ -225,11 +221,6 @@ static void script_fu_brush_preview (char *, /* Name */
|
||||||
gint, /* dialog closing */
|
gint, /* dialog closing */
|
||||||
gpointer /* user data */);
|
gpointer /* user data */);
|
||||||
|
|
||||||
#if !(defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1))
|
|
||||||
static gchar* my_strescape (const gchar *source,
|
|
||||||
const gchar *exceptions);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local variables
|
* Local variables
|
||||||
|
@ -251,91 +242,6 @@ static GList *script_list = NULL;
|
||||||
|
|
||||||
extern char siod_err_msg[];
|
extern char siod_err_msg[];
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* We need the g_strescape () implementation from glib-1.3,
|
|
||||||
* so provide it here until this becomes the standard.
|
|
||||||
*/
|
|
||||||
#if !(defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1))
|
|
||||||
static gchar*
|
|
||||||
my_strescape (const gchar *source,
|
|
||||||
const gchar *exceptions)
|
|
||||||
{
|
|
||||||
const guchar *p = (guchar *) source;
|
|
||||||
/* Each source byte needs maximally four destination chars (\777) */
|
|
||||||
gchar *dest = g_malloc (strlen (source) * 4 + 1);
|
|
||||||
gchar *q = dest;
|
|
||||||
guchar excmap[256];
|
|
||||||
|
|
||||||
memset (excmap, 0, 256);
|
|
||||||
if (exceptions)
|
|
||||||
{
|
|
||||||
guchar *e = (guchar *) exceptions;
|
|
||||||
|
|
||||||
while (*e)
|
|
||||||
{
|
|
||||||
excmap[*e] = 1;
|
|
||||||
e++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
while (*p)
|
|
||||||
{
|
|
||||||
if (excmap[*p])
|
|
||||||
*q++ = *p;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
switch (*p)
|
|
||||||
{
|
|
||||||
case '\b':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 'b';
|
|
||||||
break;
|
|
||||||
case '\f':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 'f';
|
|
||||||
break;
|
|
||||||
case '\n':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 'n';
|
|
||||||
break;
|
|
||||||
case '\r':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 'r';
|
|
||||||
break;
|
|
||||||
case '\t':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 't';
|
|
||||||
break;
|
|
||||||
case '\\':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = '\\';
|
|
||||||
break;
|
|
||||||
case '"':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = '"';
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
if ((*p < ' ') || (*p >= 0177))
|
|
||||||
{
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = '0' + (((*p) >> 6) & 07);
|
|
||||||
*q++ = '0' + (((*p) >> 3) & 07);
|
|
||||||
*q++ = '0' + ((*p) & 07);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
*q++ = *p;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
p++;
|
|
||||||
}
|
|
||||||
*q = 0;
|
|
||||||
return dest;
|
|
||||||
}
|
|
||||||
#endif /* GLIB <= 1.3 */
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function definitions
|
* Function definitions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -58,11 +58,7 @@
|
||||||
|
|
||||||
#endif /* G_OS_WIN32 */
|
#endif /* G_OS_WIN32 */
|
||||||
|
|
||||||
#if defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1)
|
#define ESCAPE(string) gimp_strescape (string, NULL)
|
||||||
#define ESCAPE(string) g_strescape (string, NULL)
|
|
||||||
#else
|
|
||||||
#define ESCAPE(string) my_strescape (string, NULL)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define TEXT_WIDTH 100
|
#define TEXT_WIDTH 100
|
||||||
#define TEXT_HEIGHT 25
|
#define TEXT_HEIGHT 25
|
||||||
|
@ -225,11 +221,6 @@ static void script_fu_brush_preview (char *, /* Name */
|
||||||
gint, /* dialog closing */
|
gint, /* dialog closing */
|
||||||
gpointer /* user data */);
|
gpointer /* user data */);
|
||||||
|
|
||||||
#if !(defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1))
|
|
||||||
static gchar* my_strescape (const gchar *source,
|
|
||||||
const gchar *exceptions);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local variables
|
* Local variables
|
||||||
|
@ -251,91 +242,6 @@ static GList *script_list = NULL;
|
||||||
|
|
||||||
extern char siod_err_msg[];
|
extern char siod_err_msg[];
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* We need the g_strescape () implementation from glib-1.3,
|
|
||||||
* so provide it here until this becomes the standard.
|
|
||||||
*/
|
|
||||||
#if !(defined (GLIB_CHECK_VERSION) && GLIB_CHECK_VERSION (1,3,1))
|
|
||||||
static gchar*
|
|
||||||
my_strescape (const gchar *source,
|
|
||||||
const gchar *exceptions)
|
|
||||||
{
|
|
||||||
const guchar *p = (guchar *) source;
|
|
||||||
/* Each source byte needs maximally four destination chars (\777) */
|
|
||||||
gchar *dest = g_malloc (strlen (source) * 4 + 1);
|
|
||||||
gchar *q = dest;
|
|
||||||
guchar excmap[256];
|
|
||||||
|
|
||||||
memset (excmap, 0, 256);
|
|
||||||
if (exceptions)
|
|
||||||
{
|
|
||||||
guchar *e = (guchar *) exceptions;
|
|
||||||
|
|
||||||
while (*e)
|
|
||||||
{
|
|
||||||
excmap[*e] = 1;
|
|
||||||
e++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
while (*p)
|
|
||||||
{
|
|
||||||
if (excmap[*p])
|
|
||||||
*q++ = *p;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
switch (*p)
|
|
||||||
{
|
|
||||||
case '\b':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 'b';
|
|
||||||
break;
|
|
||||||
case '\f':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 'f';
|
|
||||||
break;
|
|
||||||
case '\n':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 'n';
|
|
||||||
break;
|
|
||||||
case '\r':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 'r';
|
|
||||||
break;
|
|
||||||
case '\t':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = 't';
|
|
||||||
break;
|
|
||||||
case '\\':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = '\\';
|
|
||||||
break;
|
|
||||||
case '"':
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = '"';
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
if ((*p < ' ') || (*p >= 0177))
|
|
||||||
{
|
|
||||||
*q++ = '\\';
|
|
||||||
*q++ = '0' + (((*p) >> 6) & 07);
|
|
||||||
*q++ = '0' + (((*p) >> 3) & 07);
|
|
||||||
*q++ = '0' + ((*p) & 07);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
*q++ = *p;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
p++;
|
|
||||||
}
|
|
||||||
*q = 0;
|
|
||||||
return dest;
|
|
||||||
}
|
|
||||||
#endif /* GLIB <= 1.3 */
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Function definitions
|
* Function definitions
|
||||||
*/
|
*/
|
||||||
|
|
365
po/de.po
365
po/de.po
|
@ -6,7 +6,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GIMP 1.1.18\n"
|
"Project-Id-Version: GIMP 1.1.18\n"
|
||||||
"POT-Creation-Date: 2000-03-11 14:40+0100\n"
|
"POT-Creation-Date: 2000-03-11 19:40+0100\n"
|
||||||
"PO-Revision-Date: 2000-03-11 14:40+0100\n"
|
"PO-Revision-Date: 2000-03-11 14:40+0100\n"
|
||||||
"Last-Translator: Sven Neumann <sven@gimp.org>\n"
|
"Last-Translator: Sven Neumann <sven@gimp.org>\n"
|
||||||
"Language-Team: German <de@li.org>\n"
|
"Language-Team: German <de@li.org>\n"
|
||||||
|
@ -62,7 +62,7 @@ msgstr "wurde Euch gebracht von"
|
||||||
msgid "GIMP Startup"
|
msgid "GIMP Startup"
|
||||||
msgstr "GIMP Start"
|
msgstr "GIMP Start"
|
||||||
|
|
||||||
#: app/app_procs.c:479 app/gimprc.c:432
|
#: app/app_procs.c:479 app/gimprc.c:440
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "parsing \"%s\"\n"
|
msgid "parsing \"%s\"\n"
|
||||||
msgstr "bearbeite \"%s\"\n"
|
msgstr "bearbeite \"%s\"\n"
|
||||||
|
@ -77,22 +77,22 @@ msgid "Parasites"
|
||||||
msgstr "Parasiten"
|
msgstr "Parasiten"
|
||||||
|
|
||||||
#. initialize the global parasite table
|
#. initialize the global parasite table
|
||||||
#: app/app_procs.c:541 app/internal_procs.c:71 app/preferences_dialog.c:2468
|
#: app/app_procs.c:541 app/internal_procs.c:71 app/preferences_dialog.c:2530
|
||||||
msgid "Brushes"
|
msgid "Brushes"
|
||||||
msgstr "Pinsel"
|
msgstr "Pinsel"
|
||||||
|
|
||||||
#. initialize the list of gimp brushes
|
#. initialize the list of gimp brushes
|
||||||
#: app/app_procs.c:543 app/internal_procs.c:143 app/preferences_dialog.c:2476
|
#: app/app_procs.c:543 app/internal_procs.c:143 app/preferences_dialog.c:2538
|
||||||
msgid "Patterns"
|
msgid "Patterns"
|
||||||
msgstr "Muster"
|
msgstr "Muster"
|
||||||
|
|
||||||
#. initialize the list of gimp patterns
|
#. initialize the list of gimp patterns
|
||||||
#: app/app_procs.c:545 app/preferences_dialog.c:2480
|
#: app/app_procs.c:545 app/preferences_dialog.c:2542
|
||||||
msgid "Palettes"
|
msgid "Palettes"
|
||||||
msgstr "Farbpaletten"
|
msgstr "Farbpaletten"
|
||||||
|
|
||||||
#. initialize the list of gimp palettes
|
#. initialize the list of gimp palettes
|
||||||
#: app/app_procs.c:547 app/internal_procs.c:113 app/preferences_dialog.c:2484
|
#: app/app_procs.c:547 app/internal_procs.c:113 app/preferences_dialog.c:2546
|
||||||
msgid "Gradients"
|
msgid "Gradients"
|
||||||
msgstr "Farbverläufe"
|
msgstr "Farbverläufe"
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ msgstr "Beenden"
|
||||||
#: app/gradient.c:5400 app/hue_saturation.c:377 app/interface.c:984
|
#: app/gradient.c:5400 app/hue_saturation.c:377 app/interface.c:984
|
||||||
#: app/layers_dialog.c:3326 app/layers_dialog.c:3517 app/layers_dialog.c:3617
|
#: app/layers_dialog.c:3326 app/layers_dialog.c:3517 app/layers_dialog.c:3617
|
||||||
#: app/layers_dialog.c:3889 app/levels.c:341 app/palette.c:1826
|
#: app/layers_dialog.c:3889 app/levels.c:341 app/palette.c:1826
|
||||||
#: app/posterize.c:201 app/preferences_dialog.c:1469 app/qmask.c:281
|
#: app/posterize.c:201 app/preferences_dialog.c:1502 app/qmask.c:281
|
||||||
#: app/resize.c:195 app/resize.c:1345 app/threshold.c:275
|
#: app/resize.c:195 app/resize.c:1345 app/threshold.c:275
|
||||||
#: modules/cdisplay_gamma.c:358
|
#: modules/cdisplay_gamma.c:358
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
|
@ -169,7 +169,7 @@ msgstr "Eigener Farbverlauf"
|
||||||
msgid "Blend:"
|
msgid "Blend:"
|
||||||
msgstr "Übergang:"
|
msgstr "Übergang:"
|
||||||
|
|
||||||
#: app/blend.c:320 app/gradient.c:533 app/preferences_dialog.c:2209
|
#: app/blend.c:320 app/gradient.c:533 app/preferences_dialog.c:2271
|
||||||
msgid "Linear"
|
msgid "Linear"
|
||||||
msgstr "Linear"
|
msgstr "Linear"
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ msgstr "Spirale (linksdrehend)"
|
||||||
msgid "Gradient:"
|
msgid "Gradient:"
|
||||||
msgstr "Farbverlauf:"
|
msgstr "Farbverlauf:"
|
||||||
|
|
||||||
#: app/blend.c:342 app/preferences_dialog.c:1808
|
#: app/blend.c:342 app/preferences_dialog.c:1870
|
||||||
msgid "None"
|
msgid "None"
|
||||||
msgstr "Keine"
|
msgstr "Keine"
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ msgstr "Helligkeit-Kontrast funktioniert nicht bei indizierten Bildern."
|
||||||
#: app/gdisplay_color_ui.c:127 app/gimpui.c:122 app/hue_saturation.c:373
|
#: app/gdisplay_color_ui.c:127 app/gimpui.c:122 app/hue_saturation.c:373
|
||||||
#: app/layers_dialog.c:3324 app/layers_dialog.c:3515 app/layers_dialog.c:3615
|
#: app/layers_dialog.c:3324 app/layers_dialog.c:3515 app/layers_dialog.c:3615
|
||||||
#: app/layers_dialog.c:3887 app/levels.c:337 app/module_db.c:281
|
#: app/layers_dialog.c:3887 app/levels.c:337 app/module_db.c:281
|
||||||
#: app/posterize.c:197 app/preferences_dialog.c:1465 app/qmask.c:279
|
#: app/posterize.c:197 app/preferences_dialog.c:1498 app/qmask.c:279
|
||||||
#: app/resize.c:193 app/resize.c:1345 app/threshold.c:271
|
#: app/resize.c:193 app/resize.c:1345 app/threshold.c:271
|
||||||
#: modules/cdisplay_gamma.c:351
|
#: modules/cdisplay_gamma.c:351
|
||||||
msgid "OK"
|
msgid "OK"
|
||||||
|
@ -324,7 +324,7 @@ msgstr "Pinseleditor"
|
||||||
#: app/lc_dialog.c:195 app/measure.c:286 app/nav_window.c:1345
|
#: app/lc_dialog.c:195 app/measure.c:286 app/nav_window.c:1345
|
||||||
#: app/palette.c:2072 app/palette.c:2088 app/palette.c:3118
|
#: app/palette.c:2072 app/palette.c:2088 app/palette.c:3118
|
||||||
#: app/palette_select.c:66 app/pattern_select.c:172
|
#: app/palette_select.c:66 app/pattern_select.c:172
|
||||||
#: app/preferences_dialog.c:359 app/tips_dialog.c:171 app/tools.c:1088
|
#: app/preferences_dialog.c:364 app/tips_dialog.c:171 app/tools.c:1088
|
||||||
#: app/undo_history.c:752
|
#: app/undo_history.c:752
|
||||||
msgid "Close"
|
msgid "Close"
|
||||||
msgstr "Schließen"
|
msgstr "Schließen"
|
||||||
|
@ -495,12 +495,12 @@ msgstr "Y:"
|
||||||
msgid "Wrap Around"
|
msgid "Wrap Around"
|
||||||
msgstr "Herumwickeln"
|
msgstr "Herumwickeln"
|
||||||
|
|
||||||
#: app/channel_ops.c:174 app/image_new.c:69 app/image_new.c:223
|
#: app/channel_ops.c:174 app/image_new.c:70 app/image_new.c:234
|
||||||
#: app/layers_dialog.c:3422
|
#: app/layers_dialog.c:3422
|
||||||
msgid "Background"
|
msgid "Background"
|
||||||
msgstr "Hintergrund"
|
msgstr "Hintergrund"
|
||||||
|
|
||||||
#: app/channel_ops.c:175 app/image_new.c:79 app/layers_dialog.c:3424
|
#: app/channel_ops.c:175 app/image_new.c:80 app/layers_dialog.c:3424
|
||||||
msgid "Transparent"
|
msgid "Transparent"
|
||||||
msgstr "Transparent"
|
msgstr "Transparent"
|
||||||
|
|
||||||
|
@ -975,7 +975,7 @@ msgid "Load"
|
||||||
msgstr "Öffnen"
|
msgstr "Öffnen"
|
||||||
|
|
||||||
#: app/curves.c:704 app/devices.c:753 app/levels.c:608 app/palette.c:2068
|
#: app/curves.c:704 app/devices.c:753 app/levels.c:608 app/palette.c:2068
|
||||||
#: app/preferences_dialog.c:357 app/preferences_dialog.c:1467
|
#: app/preferences_dialog.c:362 app/preferences_dialog.c:1500
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr "Sichern"
|
msgstr "Sichern"
|
||||||
|
|
||||||
|
@ -1186,8 +1186,8 @@ msgstr "Bildgr
|
||||||
msgid "New Image"
|
msgid "New Image"
|
||||||
msgstr "Neues Bild"
|
msgstr "Neues Bild"
|
||||||
|
|
||||||
#: app/file_new_dialog.c:453 app/preferences_dialog.c:1540
|
#: app/file_new_dialog.c:453 app/preferences_dialog.c:1573
|
||||||
#: app/preferences_dialog.c:1577
|
#: app/preferences_dialog.c:1610
|
||||||
msgid "Pixels"
|
msgid "Pixels"
|
||||||
msgstr "Pixel"
|
msgstr "Pixel"
|
||||||
|
|
||||||
|
@ -1311,13 +1311,13 @@ msgstr "Nein"
|
||||||
msgid "Flip Tool"
|
msgid "Flip Tool"
|
||||||
msgstr "Spiegeln"
|
msgstr "Spiegeln"
|
||||||
|
|
||||||
#: app/flip_tool.c:95 app/preferences_dialog.c:1591
|
#: app/flip_tool.c:95 app/preferences_dialog.c:1624
|
||||||
#: app/preferences_dialog.c:2355
|
#: app/preferences_dialog.c:2417
|
||||||
msgid "Horizontal"
|
msgid "Horizontal"
|
||||||
msgstr "Horizontal"
|
msgstr "Horizontal"
|
||||||
|
|
||||||
#: app/flip_tool.c:97 app/preferences_dialog.c:1593
|
#: app/flip_tool.c:97 app/preferences_dialog.c:1626
|
||||||
#: app/preferences_dialog.c:2357
|
#: app/preferences_dialog.c:2419
|
||||||
msgid "Vertical"
|
msgid "Vertical"
|
||||||
msgstr "Vertikal"
|
msgstr "Vertikal"
|
||||||
|
|
||||||
|
@ -1343,7 +1343,7 @@ msgstr ""
|
||||||
msgid "RGB-empty"
|
msgid "RGB-empty"
|
||||||
msgstr "RGB leer"
|
msgstr "RGB leer"
|
||||||
|
|
||||||
#: app/gdisplay.c:217 app/image_new.c:53 app/preferences_dialog.c:1637
|
#: app/gdisplay.c:217 app/image_new.c:54 app/preferences_dialog.c:1670
|
||||||
msgid "RGB"
|
msgid "RGB"
|
||||||
msgstr "RGB"
|
msgstr "RGB"
|
||||||
|
|
||||||
|
@ -1612,45 +1612,45 @@ msgstr "Fortschritt"
|
||||||
msgid "Please wait..."
|
msgid "Please wait..."
|
||||||
msgstr "Bitte warten..."
|
msgstr "Bitte warten..."
|
||||||
|
|
||||||
#: app/gimprc.c:401 app/plug_in.c:304
|
#: app/gimprc.c:407 app/plug_in.c:304
|
||||||
msgid "Resource configuration"
|
msgid "Resource configuration"
|
||||||
msgstr "Ressourcen Konfiguration"
|
msgstr "Ressourcen Konfiguration"
|
||||||
|
|
||||||
#: app/gimprc.c:451
|
#: app/gimprc.c:459
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "error parsing: \"%s\"\n"
|
msgid "error parsing: \"%s\"\n"
|
||||||
msgstr "Fehler bei Bearbeitung von: \"%s\"\n"
|
msgstr "Fehler bei Bearbeitung von: \"%s\"\n"
|
||||||
|
|
||||||
#: app/gimprc.c:452
|
#: app/gimprc.c:460
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid " at line %d column %d\n"
|
msgid " at line %d column %d\n"
|
||||||
msgstr " in Zeile %d Spalte %d\n"
|
msgstr " in Zeile %d Spalte %d\n"
|
||||||
|
|
||||||
#: app/gimprc.c:453
|
#: app/gimprc.c:461
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid " unexpected token: %s\n"
|
msgid " unexpected token: %s\n"
|
||||||
msgstr " unerwartetes Symbol: %s\n"
|
msgstr " unerwartetes Symbol: %s\n"
|
||||||
|
|
||||||
#: app/gimprc.c:1455
|
#: app/gimprc.c:1465
|
||||||
msgid "error parsing pluginrc"
|
msgid "error parsing pluginrc"
|
||||||
msgstr "Fehler beim Lesen der pluginrc"
|
msgstr "Fehler beim Lesen der pluginrc"
|
||||||
|
|
||||||
#: app/gimprc.c:2832
|
#: app/gimprc.c:2858
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Can't open %s; %s"
|
msgid "Can't open %s; %s"
|
||||||
msgstr "Kann %s nicht öffnen; %s"
|
msgstr "Kann %s nicht öffnen; %s"
|
||||||
|
|
||||||
#: app/gimprc.c:2851
|
#: app/gimprc.c:2877
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Can't rename %s to %s.old; %s"
|
msgid "Can't rename %s to %s.old; %s"
|
||||||
msgstr "Kann %s nicht in %s.old umbenennen; %s"
|
msgstr "Kann %s nicht in %s.old umbenennen; %s"
|
||||||
|
|
||||||
#: app/gimprc.c:2857
|
#: app/gimprc.c:2883
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Couldn't reopen %s\n"
|
msgid "Couldn't reopen %s\n"
|
||||||
msgstr "Konnte %s nicht wieder öffnen\n"
|
msgstr "Konnte %s nicht wieder öffnen\n"
|
||||||
|
|
||||||
#: app/gimprc.c:2869
|
#: app/gimprc.c:2895
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Can't write to %s; %s"
|
msgid "Can't write to %s; %s"
|
||||||
msgstr "Kann nicht in %s schreiben; %s"
|
msgstr "Kann nicht in %s schreiben; %s"
|
||||||
|
@ -2192,45 +2192,45 @@ msgstr "Helligkeit"
|
||||||
msgid "Saturation"
|
msgid "Saturation"
|
||||||
msgstr "Sättigung"
|
msgstr "Sättigung"
|
||||||
|
|
||||||
#: app/image_new.c:58 app/info_window.c:65 app/info_window.c:534
|
#: app/image_new.c:59 app/info_window.c:65 app/info_window.c:534
|
||||||
#: app/preferences_dialog.c:1638
|
#: app/preferences_dialog.c:1671
|
||||||
msgid "Grayscale"
|
msgid "Grayscale"
|
||||||
msgstr "Graustufen"
|
msgstr "Graustufen"
|
||||||
|
|
||||||
#: app/image_new.c:64 app/layers_dialog.c:3421
|
#: app/image_new.c:65 app/layers_dialog.c:3421
|
||||||
msgid "Foreground"
|
msgid "Foreground"
|
||||||
msgstr "Vordergrund"
|
msgstr "Vordergrund"
|
||||||
|
|
||||||
#: app/image_new.c:74 app/layers_dialog.c:3423
|
#: app/image_new.c:75 app/layers_dialog.c:3423
|
||||||
msgid "White"
|
msgid "White"
|
||||||
msgstr "Weiß"
|
msgstr "Weiß"
|
||||||
|
|
||||||
#: app/image_new.c:262
|
#: app/image_new.c:273
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d Bytes"
|
msgid "%d Bytes"
|
||||||
msgstr "%d Byte"
|
msgstr "%d Byte"
|
||||||
|
|
||||||
#: app/image_new.c:264
|
#: app/image_new.c:275
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%.2f KB"
|
msgid "%.2f KB"
|
||||||
msgstr "%.2f KB"
|
msgstr "%.2f KB"
|
||||||
|
|
||||||
#: app/image_new.c:266
|
#: app/image_new.c:277
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%.1f KB"
|
msgid "%.1f KB"
|
||||||
msgstr "%.1f KB"
|
msgstr "%.1f KB"
|
||||||
|
|
||||||
#: app/image_new.c:268
|
#: app/image_new.c:279
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%d KB"
|
msgid "%d KB"
|
||||||
msgstr "%d KB"
|
msgstr "%d KB"
|
||||||
|
|
||||||
#: app/image_new.c:270
|
#: app/image_new.c:281
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%.2f MB"
|
msgid "%.2f MB"
|
||||||
msgstr "%.2f MB"
|
msgstr "%.2f MB"
|
||||||
|
|
||||||
#: app/image_new.c:272
|
#: app/image_new.c:283
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%.1f MB"
|
msgid "%.1f MB"
|
||||||
msgstr "%.1f MB"
|
msgstr "%.1f MB"
|
||||||
|
@ -2259,8 +2259,8 @@ msgstr ""
|
||||||
"Der aktive Farbverlauf.\n"
|
"Der aktive Farbverlauf.\n"
|
||||||
"Klick öffnet die Farbverlaufsauswahl."
|
"Klick öffnet die Farbverlaufsauswahl."
|
||||||
|
|
||||||
#: app/info_dialog.c:181 app/preferences_dialog.c:1782
|
#: app/info_dialog.c:181 app/preferences_dialog.c:1844
|
||||||
#: app/preferences_dialog.c:1888
|
#: app/preferences_dialog.c:1950
|
||||||
msgid "General"
|
msgid "General"
|
||||||
msgstr "Allgemein"
|
msgstr "Allgemein"
|
||||||
|
|
||||||
|
@ -2895,8 +2895,8 @@ msgstr "Farbverlauf UI"
|
||||||
msgid "Guide procedures"
|
msgid "Guide procedures"
|
||||||
msgstr "Hilfslinien Prozeduren"
|
msgstr "Hilfslinien Prozeduren"
|
||||||
|
|
||||||
#: app/internal_procs.c:122 app/preferences_dialog.c:1772
|
#: app/internal_procs.c:122 app/preferences_dialog.c:1834
|
||||||
#: app/preferences_dialog.c:1774
|
#: app/preferences_dialog.c:1836
|
||||||
msgid "Interface"
|
msgid "Interface"
|
||||||
msgstr "Oberfläche"
|
msgstr "Oberfläche"
|
||||||
|
|
||||||
|
@ -4542,55 +4542,55 @@ msgstr "Posterisieren"
|
||||||
msgid "Posterize Levels:"
|
msgid "Posterize Levels:"
|
||||||
msgstr "Posterisieren Werte:"
|
msgstr "Posterisieren Werte:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:240
|
#: app/preferences_dialog.c:245
|
||||||
msgid "Error: Levels of undo must be zero or greater."
|
msgid "Error: Levels of undo must be zero or greater."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Fehler: Die Anzahl der Stufen der Rückgängigmachung\n"
|
"Fehler: Die Anzahl der Stufen der Rückgängigmachung\n"
|
||||||
"muss größer oder gleich Null sein."
|
"muss größer oder gleich Null sein."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:246
|
#: app/preferences_dialog.c:251
|
||||||
msgid "Error: Marching speed must be 50 or greater."
|
msgid "Error: Marching speed must be 50 or greater."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Fehler: Die Geschwindigkeit der laufenden Ameisen\n"
|
"Fehler: Die Geschwindigkeit der laufenden Ameisen\n"
|
||||||
"muss mindestens 50 betragen."
|
"muss mindestens 50 betragen."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:252
|
#: app/preferences_dialog.c:257
|
||||||
msgid "Error: Default width must be one or greater."
|
msgid "Error: Default width must be one or greater."
|
||||||
msgstr "Fehler: Die Standardbreite muss mindestens 1 sein."
|
msgstr "Fehler: Die Standardbreite muss mindestens 1 sein."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:258
|
#: app/preferences_dialog.c:263
|
||||||
msgid "Error: Default height must be one or greater."
|
msgid "Error: Default height must be one or greater."
|
||||||
msgstr "Fehler: Die Standardhöhe muss mindestens 1 sein."
|
msgstr "Fehler: Die Standardhöhe muss mindestens 1 sein."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:265
|
#: app/preferences_dialog.c:270
|
||||||
msgid "Error: Default unit must be within unit range."
|
msgid "Error: Default unit must be within unit range."
|
||||||
msgstr "Fehler: Die gewählte Standardeinheit ist ungültig."
|
msgstr "Fehler: Die gewählte Standardeinheit ist ungültig."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:272
|
#: app/preferences_dialog.c:277
|
||||||
msgid "Error: Default resolution must not be zero."
|
msgid "Error: Default resolution must not be zero."
|
||||||
msgstr "Fehler: Die Standardauflösung darf nicht Null sein."
|
msgstr "Fehler: Die Standardauflösung darf nicht Null sein."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:280
|
#: app/preferences_dialog.c:285
|
||||||
msgid "Error: Default resolution unit must be within unit range."
|
msgid "Error: Default resolution unit must be within unit range."
|
||||||
msgstr "Fehler: Die gewählte Standardauflösung ist ungültig."
|
msgstr "Fehler: Die gewählte Standardauflösung ist ungültig."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:287
|
#: app/preferences_dialog.c:292
|
||||||
msgid "Error: Monitor resolution must not be zero."
|
msgid "Error: Monitor resolution must not be zero."
|
||||||
msgstr "Fehler: Die Monitorauflöung darf nicht Null sein."
|
msgstr "Fehler: Die Monitorauflöung darf nicht Null sein."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:294
|
#: app/preferences_dialog.c:299
|
||||||
msgid "Error: Image title format must not be NULL."
|
msgid "Error: Image title format must not be NULL."
|
||||||
msgstr "Fehler: Der gewählte Fenstertitel ist ungültig."
|
msgstr "Fehler: Der gewählte Fenstertitel ist ungültig."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:301
|
#: app/preferences_dialog.c:306
|
||||||
msgid "Error: Number of processors must be between 1 and 30."
|
msgid "Error: Number of processors must be between 1 and 30."
|
||||||
msgstr "Fehler: Die Anzahl der Prozessoren muss zwischen 1 und 30 liegen."
|
msgstr "Fehler: Die Anzahl der Prozessoren muss zwischen 1 und 30 liegen."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:351
|
#: app/preferences_dialog.c:356
|
||||||
msgid "Save Preferences ?"
|
msgid "Save Preferences ?"
|
||||||
msgstr "Einstellungen sichern ?"
|
msgstr "Einstellungen sichern ?"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:372
|
#: app/preferences_dialog.c:377
|
||||||
msgid ""
|
msgid ""
|
||||||
"At least one of the changes you made will only\n"
|
"At least one of the changes you made will only\n"
|
||||||
"take effect after you restart the GIMP.\n"
|
"take effect after you restart the GIMP.\n"
|
||||||
|
@ -4608,481 +4608,494 @@ msgstr ""
|
||||||
"werden kann, oder Sie wählen 'Schließen' und die\n"
|
"werden kann, oder Sie wählen 'Schließen' und die\n"
|
||||||
"fraglichen Änderungen werden nicht angewendet."
|
"fraglichen Änderungen werden nicht angewendet."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:465
|
#: app/preferences_dialog.c:470
|
||||||
msgid "You will need to restart GIMP for these changes to take effect."
|
msgid "You will need to restart GIMP for these changes to take effect."
|
||||||
msgstr "Sie müssen GIMP neu starten, damit die Änderungen aktiv werden."
|
msgstr "Sie müssen GIMP neu starten, damit die Änderungen aktiv werden."
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1459
|
#: app/preferences_dialog.c:1068
|
||||||
|
#, c-format
|
||||||
|
msgid "The default comments is limited to %d characters."
|
||||||
|
msgstr "Der Standard-Kommentar ist auf %d Zeichen beschränkt."
|
||||||
|
|
||||||
|
#: app/preferences_dialog.c:1492
|
||||||
msgid "Preferences"
|
msgid "Preferences"
|
||||||
msgstr "Einstellungen"
|
msgstr "Einstellungen"
|
||||||
|
|
||||||
#. The categories tree
|
#. The categories tree
|
||||||
#: app/preferences_dialog.c:1481
|
#: app/preferences_dialog.c:1514
|
||||||
msgid "Categories"
|
msgid "Categories"
|
||||||
msgstr "Kategorien"
|
msgstr "Kategorien"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1509 app/preferences_dialog.c:1511
|
#: app/preferences_dialog.c:1542 app/preferences_dialog.c:1544
|
||||||
msgid "New File"
|
msgid "New File"
|
||||||
msgstr "Neues Bild"
|
msgstr "Neues Bild"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1522
|
#: app/preferences_dialog.c:1555
|
||||||
msgid "Default Image Size and Unit"
|
msgid "Default Image Size and Unit"
|
||||||
msgstr "Standard Bildgröße und Längeneinheit"
|
msgstr "Standard Bildgröße und Längeneinheit"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1536
|
#: app/preferences_dialog.c:1569
|
||||||
msgid "Width"
|
msgid "Width"
|
||||||
msgstr "Breite"
|
msgstr "Breite"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1538
|
#: app/preferences_dialog.c:1571
|
||||||
msgid "Height"
|
msgid "Height"
|
||||||
msgstr "Höhe"
|
msgstr "Höhe"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1568
|
#: app/preferences_dialog.c:1601
|
||||||
msgid "Default Image Resolution and Resolution Unit"
|
msgid "Default Image Resolution and Resolution Unit"
|
||||||
msgstr "Standard Auflösung und Auflösungseinheit"
|
msgstr "Standard Auflösung und Auflösungseinheit"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1595 app/preferences_dialog.c:2359
|
#: app/preferences_dialog.c:1628 app/preferences_dialog.c:2421
|
||||||
msgid "dpi"
|
msgid "dpi"
|
||||||
msgstr "dpi"
|
msgstr "dpi"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1642
|
#: app/preferences_dialog.c:1675
|
||||||
msgid "Default Image Type:"
|
msgid "Default Image Type:"
|
||||||
msgstr "Standard Bildtyp:"
|
msgstr "Standard Bildtyp:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1678 app/preferences_dialog.c:2166
|
#: app/preferences_dialog.c:1711 app/preferences_dialog.c:2228
|
||||||
msgid "Bytes"
|
msgid "Bytes"
|
||||||
msgstr "Byte"
|
msgstr "Byte"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1679 app/preferences_dialog.c:2167
|
#: app/preferences_dialog.c:1712 app/preferences_dialog.c:2229
|
||||||
msgid "KiloBytes"
|
msgid "KiloBytes"
|
||||||
msgstr "KiloByte"
|
msgstr "KiloByte"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1680 app/preferences_dialog.c:2168
|
#: app/preferences_dialog.c:1713 app/preferences_dialog.c:2230
|
||||||
msgid "MegaBytes"
|
msgid "MegaBytes"
|
||||||
msgstr "MegaByte"
|
msgstr "MegaByte"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1686
|
#: app/preferences_dialog.c:1719
|
||||||
msgid "Maximum Image Size:"
|
msgid "Maximum Image Size:"
|
||||||
msgstr "Maximale Bildgröße:"
|
msgstr "Maximale Bildgröße:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1692 app/preferences_dialog.c:1694
|
#: app/preferences_dialog.c:1724 app/preferences_dialog.c:1726
|
||||||
|
msgid "Default Comment"
|
||||||
|
msgstr "Standard Kommentar"
|
||||||
|
|
||||||
|
#: app/preferences_dialog.c:1734
|
||||||
|
msgid "Comment Used for New Images"
|
||||||
|
msgstr "Kommentar für neue Bilder"
|
||||||
|
|
||||||
|
#: app/preferences_dialog.c:1754 app/preferences_dialog.c:1756
|
||||||
msgid "Display"
|
msgid "Display"
|
||||||
msgstr "Anzeige"
|
msgstr "Anzeige"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1702
|
#: app/preferences_dialog.c:1764
|
||||||
msgid "Transparency"
|
msgid "Transparency"
|
||||||
msgstr "Transparenz"
|
msgstr "Transparenz"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1721
|
#: app/preferences_dialog.c:1783
|
||||||
msgid "Light Checks"
|
msgid "Light Checks"
|
||||||
msgstr "Helle Quadrate"
|
msgstr "Helle Quadrate"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1722
|
#: app/preferences_dialog.c:1784
|
||||||
msgid "Mid-Tone Checks"
|
msgid "Mid-Tone Checks"
|
||||||
msgstr "Halbhelle Quadrate"
|
msgstr "Halbhelle Quadrate"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1723
|
#: app/preferences_dialog.c:1785
|
||||||
msgid "Dark Checks"
|
msgid "Dark Checks"
|
||||||
msgstr "Dunkle Quadrate"
|
msgstr "Dunkle Quadrate"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1724
|
#: app/preferences_dialog.c:1786
|
||||||
msgid "White Only"
|
msgid "White Only"
|
||||||
msgstr "Nur Weiß"
|
msgstr "Nur Weiß"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1725
|
#: app/preferences_dialog.c:1787
|
||||||
msgid "Gray Only"
|
msgid "Gray Only"
|
||||||
msgstr "Nur Grau"
|
msgstr "Nur Grau"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1726
|
#: app/preferences_dialog.c:1788
|
||||||
msgid "Black Only"
|
msgid "Black Only"
|
||||||
msgstr "Nur Schwarz"
|
msgstr "Nur Schwarz"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1730
|
#: app/preferences_dialog.c:1792
|
||||||
msgid "Transparency Type:"
|
msgid "Transparency Type:"
|
||||||
msgstr "Transparenz Typ:"
|
msgstr "Transparenz Typ:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1737 app/preferences_dialog.c:1810
|
#: app/preferences_dialog.c:1799 app/preferences_dialog.c:1872
|
||||||
#: app/preferences_dialog.c:1824
|
#: app/preferences_dialog.c:1886
|
||||||
msgid "Small"
|
msgid "Small"
|
||||||
msgstr "Klein"
|
msgstr "Klein"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1738 app/preferences_dialog.c:1811
|
#: app/preferences_dialog.c:1800 app/preferences_dialog.c:1873
|
||||||
#: app/preferences_dialog.c:1825
|
#: app/preferences_dialog.c:1887
|
||||||
msgid "Medium"
|
msgid "Medium"
|
||||||
msgstr "Mittel"
|
msgstr "Mittel"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1739 app/preferences_dialog.c:1812
|
#: app/preferences_dialog.c:1801 app/preferences_dialog.c:1874
|
||||||
#: app/preferences_dialog.c:1826
|
#: app/preferences_dialog.c:1888
|
||||||
msgid "Large"
|
msgid "Large"
|
||||||
msgstr "Groß"
|
msgstr "Groß"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1743
|
#: app/preferences_dialog.c:1805
|
||||||
msgid "Check Size:"
|
msgid "Check Size:"
|
||||||
msgstr "Schachbrett Größe:"
|
msgstr "Schachbrett Größe:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1746
|
#: app/preferences_dialog.c:1808
|
||||||
msgid "8-Bit Displays"
|
msgid "8-Bit Displays"
|
||||||
msgstr "8-Bit Anzeigen"
|
msgstr "8-Bit Anzeigen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1751
|
#: app/preferences_dialog.c:1813
|
||||||
msgid "Install Colormap"
|
msgid "Install Colormap"
|
||||||
msgstr "Installiere Farbtabelle"
|
msgstr "Installiere Farbtabelle"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1760
|
#: app/preferences_dialog.c:1822
|
||||||
msgid "Colormap Cycling"
|
msgid "Colormap Cycling"
|
||||||
msgstr "Farbtabelle rotieren"
|
msgstr "Farbtabelle rotieren"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1809
|
#: app/preferences_dialog.c:1871
|
||||||
msgid "Tiny"
|
msgid "Tiny"
|
||||||
msgstr "Winzig"
|
msgstr "Winzig"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1813
|
#: app/preferences_dialog.c:1875
|
||||||
msgid "Huge"
|
msgid "Huge"
|
||||||
msgstr "Riesig"
|
msgstr "Riesig"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1817
|
#: app/preferences_dialog.c:1879
|
||||||
msgid "Preview Size:"
|
msgid "Preview Size:"
|
||||||
msgstr "Vorschaugröße:"
|
msgstr "Vorschaugröße:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1830
|
#: app/preferences_dialog.c:1892
|
||||||
msgid "Nav Preview Size:"
|
msgid "Nav Preview Size:"
|
||||||
msgstr "Größe der Navigationsvorschau:"
|
msgstr "Größe der Navigationsvorschau:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1840
|
#: app/preferences_dialog.c:1902
|
||||||
msgid "Recent Documents List Size:"
|
msgid "Recent Documents List Size:"
|
||||||
msgstr "Größe der Dokumentenliste:"
|
msgstr "Größe der Dokumentenliste:"
|
||||||
|
|
||||||
#. Indicators
|
#. Indicators
|
||||||
#: app/preferences_dialog.c:1844
|
#: app/preferences_dialog.c:1906
|
||||||
msgid "Toolbox"
|
msgid "Toolbox"
|
||||||
msgstr "Werkzeugkasten"
|
msgstr "Werkzeugkasten"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1847
|
#: app/preferences_dialog.c:1909
|
||||||
msgid "Display Brush, Pattern and Gradient Indicators"
|
msgid "Display Brush, Pattern and Gradient Indicators"
|
||||||
msgstr "Zeige Pinsel, Muster und Gradienten"
|
msgstr "Zeige Pinsel, Muster und Gradienten"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1856
|
#: app/preferences_dialog.c:1918
|
||||||
msgid "Dialog Behaviour"
|
msgid "Dialog Behaviour"
|
||||||
msgstr "Verhalten von Dialogen"
|
msgstr "Verhalten von Dialogen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1858
|
#: app/preferences_dialog.c:1920
|
||||||
msgid "Navigation Window per Display"
|
msgid "Navigation Window per Display"
|
||||||
msgstr "Ein Navigations-Fenster pro Bildfenster"
|
msgstr "Ein Navigations-Fenster pro Bildfenster"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1867
|
#: app/preferences_dialog.c:1929
|
||||||
msgid "Info Window Follows Mouse"
|
msgid "Info Window Follows Mouse"
|
||||||
msgstr "Info-Fenster folgt der Maus"
|
msgstr "Info-Fenster folgt der Maus"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1878 app/preferences_dialog.c:1880
|
#: app/preferences_dialog.c:1940 app/preferences_dialog.c:1942
|
||||||
msgid "Help System"
|
msgid "Help System"
|
||||||
msgstr "Hilfesystem"
|
msgstr "Hilfesystem"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1890
|
#: app/preferences_dialog.c:1952
|
||||||
msgid "Show Tool Tips"
|
msgid "Show Tool Tips"
|
||||||
msgstr "Zeige Popup-Hilfen"
|
msgstr "Zeige Popup-Hilfen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1900
|
#: app/preferences_dialog.c:1962
|
||||||
msgid "Context Sensitive Help with \"F1\""
|
msgid "Context Sensitive Help with \"F1\""
|
||||||
msgstr "\"F1\" zeigt kontextabhängige Hilfe"
|
msgstr "\"F1\" zeigt kontextabhängige Hilfe"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1909
|
#: app/preferences_dialog.c:1971
|
||||||
msgid "Help Browser"
|
msgid "Help Browser"
|
||||||
msgstr "Hilfe Browser"
|
msgstr "Hilfe Browser"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1921
|
#: app/preferences_dialog.c:1983
|
||||||
msgid "Internal"
|
msgid "Internal"
|
||||||
msgstr "Intern"
|
msgstr "Intern"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1922
|
#: app/preferences_dialog.c:1984
|
||||||
msgid "Netscape"
|
msgid "Netscape"
|
||||||
msgstr "Netscape"
|
msgstr "Netscape"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1926
|
#: app/preferences_dialog.c:1988
|
||||||
msgid "Help Browser to Use:"
|
msgid "Help Browser to Use:"
|
||||||
msgstr "Programm zum Lesen der Hilfe:"
|
msgstr "Programm zum Lesen der Hilfe:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1931 app/preferences_dialog.c:1933
|
#: app/preferences_dialog.c:1993 app/preferences_dialog.c:1995
|
||||||
msgid "Image Windows"
|
msgid "Image Windows"
|
||||||
msgstr "Bildfenster"
|
msgstr "Bildfenster"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1941
|
#: app/preferences_dialog.c:2003
|
||||||
msgid "Appearance"
|
msgid "Appearance"
|
||||||
msgstr "Aussehen"
|
msgstr "Aussehen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1943
|
#: app/preferences_dialog.c:2005
|
||||||
msgid "Use \"Dot for Dot\" by default"
|
msgid "Use \"Dot for Dot\" by default"
|
||||||
msgstr "Benutze standardmäßig \"Punkt für Punkt\""
|
msgstr "Benutze standardmäßig \"Punkt für Punkt\""
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1952
|
#: app/preferences_dialog.c:2014
|
||||||
msgid "Resize Window on Zoom"
|
msgid "Resize Window on Zoom"
|
||||||
msgstr "Verändere Fenstergröße beim Zoomen"
|
msgstr "Verändere Fenstergröße beim Zoomen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1961
|
#: app/preferences_dialog.c:2023
|
||||||
msgid "Show Rulers"
|
msgid "Show Rulers"
|
||||||
msgstr "Zeige Lineale"
|
msgstr "Zeige Lineale"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1970
|
#: app/preferences_dialog.c:2032
|
||||||
msgid "Show Statusbar"
|
msgid "Show Statusbar"
|
||||||
msgstr "Zeige Statusanzeige"
|
msgstr "Zeige Statusanzeige"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:1994
|
#: app/preferences_dialog.c:2056
|
||||||
msgid "Marching Ants Speed:"
|
msgid "Marching Ants Speed:"
|
||||||
msgstr "Geschwindigkeit der laufenden Ameisen:"
|
msgstr "Geschwindigkeit der laufenden Ameisen:"
|
||||||
|
|
||||||
#. Set the currently used string as "Custom"
|
#. Set the currently used string as "Custom"
|
||||||
#: app/preferences_dialog.c:2002
|
#: app/preferences_dialog.c:2064
|
||||||
msgid "Custom"
|
msgid "Custom"
|
||||||
msgstr "Eigene"
|
msgstr "Eigene"
|
||||||
|
|
||||||
#. set some commonly used format strings
|
#. set some commonly used format strings
|
||||||
#: app/preferences_dialog.c:2008
|
#: app/preferences_dialog.c:2070
|
||||||
msgid "Standard"
|
msgid "Standard"
|
||||||
msgstr "Standard"
|
msgstr "Standard"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2013
|
#: app/preferences_dialog.c:2075
|
||||||
msgid "Show zoom percentage"
|
msgid "Show zoom percentage"
|
||||||
msgstr "Vergrößerung prozentual"
|
msgstr "Vergrößerung prozentual"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2018
|
#: app/preferences_dialog.c:2080
|
||||||
msgid "Show zoom ratio"
|
msgid "Show zoom ratio"
|
||||||
msgstr "Vergrößerung als Verhältnis"
|
msgstr "Vergrößerung als Verhältnis"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2023
|
#: app/preferences_dialog.c:2085
|
||||||
msgid "Show reversed zoom ratio"
|
msgid "Show reversed zoom ratio"
|
||||||
msgstr "Vergrößerung als umgekehrtes Verhältnis"
|
msgstr "Vergrößerung als umgekehrtes Verhältnis"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2034
|
#: app/preferences_dialog.c:2096
|
||||||
msgid "Image Title Format:"
|
msgid "Image Title Format:"
|
||||||
msgstr "Bildtitel Format:"
|
msgstr "Bildtitel Format:"
|
||||||
|
|
||||||
#. End of the title format string
|
#. End of the title format string
|
||||||
#: app/preferences_dialog.c:2038
|
#: app/preferences_dialog.c:2100
|
||||||
msgid "Pointer Movement Feedback"
|
msgid "Pointer Movement Feedback"
|
||||||
msgstr "Zeigerbewegung"
|
msgstr "Zeigerbewegung"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2041
|
#: app/preferences_dialog.c:2103
|
||||||
msgid "Perfect-but-Slow Pointer Tracking"
|
msgid "Perfect-but-Slow Pointer Tracking"
|
||||||
msgstr "Genaue aber langsame Mauszeigernachführung"
|
msgstr "Genaue aber langsame Mauszeigernachführung"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2050
|
#: app/preferences_dialog.c:2112
|
||||||
msgid "Disable Cursor Updating"
|
msgid "Disable Cursor Updating"
|
||||||
msgstr "Deaktiviere Mauszeigeränderungen"
|
msgstr "Deaktiviere Mauszeigeränderungen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2062 app/preferences_dialog.c:2064
|
#: app/preferences_dialog.c:2124 app/preferences_dialog.c:2126
|
||||||
#: app/tools.c:1080
|
#: app/tools.c:1080
|
||||||
msgid "Tool Options"
|
msgid "Tool Options"
|
||||||
msgstr "Werkzeugeinstellungen"
|
msgstr "Werkzeugeinstellungen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2072
|
#: app/preferences_dialog.c:2134
|
||||||
msgid "Paint Options"
|
msgid "Paint Options"
|
||||||
msgstr "Pinseleinstellungen"
|
msgstr "Pinseleinstellungen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2075
|
#: app/preferences_dialog.c:2137
|
||||||
msgid "Use Global Paint Options"
|
msgid "Use Global Paint Options"
|
||||||
msgstr "Benutze globale Pinseleinstellungen"
|
msgstr "Benutze globale Pinseleinstellungen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2090 app/preferences_dialog.c:2092
|
#: app/preferences_dialog.c:2152 app/preferences_dialog.c:2154
|
||||||
msgid "Environment"
|
msgid "Environment"
|
||||||
msgstr "Umgebung"
|
msgstr "Umgebung"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2100
|
#: app/preferences_dialog.c:2162
|
||||||
msgid "Resource Consumption"
|
msgid "Resource Consumption"
|
||||||
msgstr "Ressourcenverbrauch"
|
msgstr "Ressourcenverbrauch"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2102
|
#: app/preferences_dialog.c:2164
|
||||||
msgid "Conservative Memory Usage"
|
msgid "Conservative Memory Usage"
|
||||||
msgstr "Zurückhaltende Speicherausnutzung"
|
msgstr "Zurückhaltende Speicherausnutzung"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2130
|
#: app/preferences_dialog.c:2192
|
||||||
msgid "Levels of Undo:"
|
msgid "Levels of Undo:"
|
||||||
msgstr "Stufen der Rückgängigmachung:"
|
msgstr "Stufen der Rückgängigmachung:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2174
|
#: app/preferences_dialog.c:2236
|
||||||
msgid "Tile Cache Size:"
|
msgid "Tile Cache Size:"
|
||||||
msgstr "Größe des Datenspeichers:"
|
msgstr "Größe des Datenspeichers:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2185
|
#: app/preferences_dialog.c:2247
|
||||||
msgid "Number of Processors to Use:"
|
msgid "Number of Processors to Use:"
|
||||||
msgstr "Zahl der zu benutzenden Prozessoren:"
|
msgstr "Zahl der zu benutzenden Prozessoren:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2189 app/transform_tool.c:215
|
#: app/preferences_dialog.c:2251 app/transform_tool.c:215
|
||||||
msgid "Scaling"
|
msgid "Scaling"
|
||||||
msgstr "Skalierung"
|
msgstr "Skalierung"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2207
|
#: app/preferences_dialog.c:2269
|
||||||
msgid "Nearest Neighbor (Fast)"
|
msgid "Nearest Neighbor (Fast)"
|
||||||
msgstr "Nächster Nachbar (schnell)"
|
msgstr "Nächster Nachbar (schnell)"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2211
|
#: app/preferences_dialog.c:2273
|
||||||
msgid "Cubic (Slow)"
|
msgid "Cubic (Slow)"
|
||||||
msgstr "Kubisch (langsam)"
|
msgstr "Kubisch (langsam)"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2216
|
#: app/preferences_dialog.c:2278
|
||||||
msgid "Interpolation Type:"
|
msgid "Interpolation Type:"
|
||||||
msgstr "Interpolationsart:"
|
msgstr "Interpolationsart:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2219
|
#: app/preferences_dialog.c:2281
|
||||||
msgid "File Saving"
|
msgid "File Saving"
|
||||||
msgstr "Dateien Sichern"
|
msgstr "Dateien Sichern"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2236 app/preferences_dialog.c:2249
|
#: app/preferences_dialog.c:2298 app/preferences_dialog.c:2311
|
||||||
msgid "Always"
|
msgid "Always"
|
||||||
msgstr "Immer"
|
msgstr "Immer"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2237
|
#: app/preferences_dialog.c:2299
|
||||||
msgid "Never"
|
msgid "Never"
|
||||||
msgstr "Nie"
|
msgstr "Nie"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2241
|
#: app/preferences_dialog.c:2303
|
||||||
msgid "Try to Write a Thumbnail File:"
|
msgid "Try to Write a Thumbnail File:"
|
||||||
msgstr "Schreibe Vorschau-Dateien:"
|
msgstr "Schreibe Vorschau-Dateien:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2248
|
#: app/preferences_dialog.c:2310
|
||||||
msgid "Only when Modified"
|
msgid "Only when Modified"
|
||||||
msgstr "Nur wenn verändert"
|
msgstr "Nur wenn verändert"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2253
|
#: app/preferences_dialog.c:2315
|
||||||
msgid "\"File > Save\" Saves the Image:"
|
msgid "\"File > Save\" Saves the Image:"
|
||||||
msgstr "\"Datei > Sichern\" sichert das Bild:"
|
msgstr "\"Datei > Sichern\" sichert das Bild:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2259
|
#: app/preferences_dialog.c:2321
|
||||||
msgid "Session Management"
|
msgid "Session Management"
|
||||||
msgstr "Sitzungsmanagement"
|
msgstr "Sitzungsmanagement"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2261
|
#: app/preferences_dialog.c:2323
|
||||||
msgid "Session"
|
msgid "Session"
|
||||||
msgstr "Sitzung"
|
msgstr "Sitzung"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2269
|
#: app/preferences_dialog.c:2331
|
||||||
msgid "Window Positions"
|
msgid "Window Positions"
|
||||||
msgstr "Fensterpositionen"
|
msgstr "Fensterpositionen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2271
|
#: app/preferences_dialog.c:2333
|
||||||
msgid "Save Window Positions on Exit"
|
msgid "Save Window Positions on Exit"
|
||||||
msgstr "Fensterpositionen beim Beenden sichern"
|
msgstr "Fensterpositionen beim Beenden sichern"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2285
|
#: app/preferences_dialog.c:2347
|
||||||
msgid "Clear Saved Window Positions Now"
|
msgid "Clear Saved Window Positions Now"
|
||||||
msgstr "Gesicherte Fensterpositionen jetzt löschen"
|
msgstr "Gesicherte Fensterpositionen jetzt löschen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2293
|
#: app/preferences_dialog.c:2355
|
||||||
msgid "Always Try to Restore Session"
|
msgid "Always Try to Restore Session"
|
||||||
msgstr "Versuche immer Sitzung wiederherzustellen"
|
msgstr "Versuche immer Sitzung wiederherzustellen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2302
|
#: app/preferences_dialog.c:2364
|
||||||
msgid "Devices"
|
msgid "Devices"
|
||||||
msgstr "Geräte"
|
msgstr "Geräte"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2304
|
#: app/preferences_dialog.c:2366
|
||||||
msgid "Save Device Status on Exit"
|
msgid "Save Device Status on Exit"
|
||||||
msgstr "Gerätestatus beim Beenden sichern"
|
msgstr "Gerätestatus beim Beenden sichern"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2315 app/preferences_dialog.c:2317
|
#: app/preferences_dialog.c:2377 app/preferences_dialog.c:2379
|
||||||
msgid "Monitor"
|
msgid "Monitor"
|
||||||
msgstr "Monitor"
|
msgstr "Monitor"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2325
|
#: app/preferences_dialog.c:2387
|
||||||
msgid "Get Monitor Resolution"
|
msgid "Get Monitor Resolution"
|
||||||
msgstr "Quelle für Monitorauflösung"
|
msgstr "Quelle für Monitorauflösung"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2333
|
#: app/preferences_dialog.c:2395
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "(Currently %d x %d dpi)"
|
msgid "(Currently %d x %d dpi)"
|
||||||
msgstr "(Zur Zeit %d x %d dpi)"
|
msgstr "(Zur Zeit %d x %d dpi)"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2384
|
#: app/preferences_dialog.c:2446
|
||||||
msgid "From X Server"
|
msgid "From X Server"
|
||||||
msgstr "Vom X Server"
|
msgstr "Vom X Server"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2399
|
#: app/preferences_dialog.c:2461
|
||||||
msgid "Manually:"
|
msgid "Manually:"
|
||||||
msgstr "Manuell:"
|
msgstr "Manuell:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2412 app/preferences_dialog.c:2414
|
#: app/preferences_dialog.c:2474 app/preferences_dialog.c:2476
|
||||||
msgid "Directories"
|
msgid "Directories"
|
||||||
msgstr "Verzeichnisse"
|
msgstr "Verzeichnisse"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2431
|
#: app/preferences_dialog.c:2493
|
||||||
msgid "Temp Dir:"
|
msgid "Temp Dir:"
|
||||||
msgstr "Temporäres Verzeichnis:"
|
msgstr "Temporäres Verzeichnis:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2431
|
#: app/preferences_dialog.c:2493
|
||||||
msgid "Select Temp Dir"
|
msgid "Select Temp Dir"
|
||||||
msgstr "Temporäres Verzeichnis auswählen"
|
msgstr "Temporäres Verzeichnis auswählen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2432
|
#: app/preferences_dialog.c:2494
|
||||||
msgid "Swap Dir:"
|
msgid "Swap Dir:"
|
||||||
msgstr "Auslagerungsverzeichnis:"
|
msgstr "Auslagerungsverzeichnis:"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2432
|
#: app/preferences_dialog.c:2494
|
||||||
msgid "Select Swap Dir"
|
msgid "Select Swap Dir"
|
||||||
msgstr "Auslagerverzeichnis auswählen"
|
msgstr "Auslagerverzeichnis auswählen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2468
|
#: app/preferences_dialog.c:2530
|
||||||
msgid "Brushes Directories"
|
msgid "Brushes Directories"
|
||||||
msgstr "Pinselverzeichnisse"
|
msgstr "Pinselverzeichnisse"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2470
|
#: app/preferences_dialog.c:2532
|
||||||
msgid "Select Brushes Dir"
|
msgid "Select Brushes Dir"
|
||||||
msgstr "Pinselverzeichnis auswählen"
|
msgstr "Pinselverzeichnis auswählen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2472
|
#: app/preferences_dialog.c:2534
|
||||||
msgid "Generated Brushes"
|
msgid "Generated Brushes"
|
||||||
msgstr "Erzeugte Pinsel"
|
msgstr "Erzeugte Pinsel"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2472
|
#: app/preferences_dialog.c:2534
|
||||||
msgid "Generated Brushes Directories"
|
msgid "Generated Brushes Directories"
|
||||||
msgstr "Erzeugte Pinsel Verzeichnisse"
|
msgstr "Erzeugte Pinsel Verzeichnisse"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2474
|
#: app/preferences_dialog.c:2536
|
||||||
msgid "Select Generated Brushes Dir"
|
msgid "Select Generated Brushes Dir"
|
||||||
msgstr "Verzeichnis für erzeugte Pinsel auswählen"
|
msgstr "Verzeichnis für erzeugte Pinsel auswählen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2476
|
#: app/preferences_dialog.c:2538
|
||||||
msgid "Patterns Directories"
|
msgid "Patterns Directories"
|
||||||
msgstr "Musterverzeichnisse"
|
msgstr "Musterverzeichnisse"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2478
|
#: app/preferences_dialog.c:2540
|
||||||
msgid "Select Patterns Dir"
|
msgid "Select Patterns Dir"
|
||||||
msgstr "Musterverzeichnis auswählen"
|
msgstr "Musterverzeichnis auswählen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2480
|
#: app/preferences_dialog.c:2542
|
||||||
msgid "Palettes Directories"
|
msgid "Palettes Directories"
|
||||||
msgstr "Palettenverzeichnisse"
|
msgstr "Palettenverzeichnisse"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2482
|
#: app/preferences_dialog.c:2544
|
||||||
msgid "Select Palettes Dir"
|
msgid "Select Palettes Dir"
|
||||||
msgstr "Palettenverzeichnis auswählen"
|
msgstr "Palettenverzeichnis auswählen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2484
|
#: app/preferences_dialog.c:2546
|
||||||
msgid "Gradients Directories"
|
msgid "Gradients Directories"
|
||||||
msgstr "Farbverlaufverzeichnisse"
|
msgstr "Farbverlaufverzeichnisse"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2486
|
#: app/preferences_dialog.c:2548
|
||||||
msgid "Select Gradients Dir"
|
msgid "Select Gradients Dir"
|
||||||
msgstr "Farbverlaufverzeichnis auswählen"
|
msgstr "Farbverlaufverzeichnis auswählen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2488
|
#: app/preferences_dialog.c:2550
|
||||||
msgid "Plug-Ins"
|
msgid "Plug-Ins"
|
||||||
msgstr "Plugins"
|
msgstr "Plugins"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2488
|
#: app/preferences_dialog.c:2550
|
||||||
msgid "Plug-Ins Directories"
|
msgid "Plug-Ins Directories"
|
||||||
msgstr "Plugins-Verzeichnisse"
|
msgstr "Plugins-Verzeichnisse"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2490
|
#: app/preferences_dialog.c:2552
|
||||||
msgid "Select Plug-Ins Dir"
|
msgid "Select Plug-Ins Dir"
|
||||||
msgstr "Plugins-Verzeichnis auswählen"
|
msgstr "Plugins-Verzeichnis auswählen"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2492
|
#: app/preferences_dialog.c:2554
|
||||||
msgid "Modules"
|
msgid "Modules"
|
||||||
msgstr "Module"
|
msgstr "Module"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2492
|
#: app/preferences_dialog.c:2554
|
||||||
msgid "Modules Directories"
|
msgid "Modules Directories"
|
||||||
msgstr "Modulverzeichnisse"
|
msgstr "Modulverzeichnisse"
|
||||||
|
|
||||||
#: app/preferences_dialog.c:2494
|
#: app/preferences_dialog.c:2556
|
||||||
msgid "Select Modules Dir"
|
msgid "Select Modules Dir"
|
||||||
msgstr "Modulverzeichnis auswählen"
|
msgstr "Modulverzeichnis auswählen"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue