From 43aa113acc20178f8229af2a3fb714709fc31fa1 Mon Sep 17 00:00:00 2001 From: Tomas Ogren Date: Thu, 26 Aug 1999 23:16:24 +0000 Subject: [PATCH] i18n fixes and added a missing \n... 1999-08-27 Tomas Ogren * app/convert.c app/paint_funcs.c app/paths_dialog.c: i18n fixes and added a missing \n... --- ChangeLog | 5 +++++ app/convert.c | 7 +++++-- app/core/gimpimage-convert.c | 7 +++++-- app/gimpimage-convert.c | 7 +++++-- app/gui/paths-dialog.c | 2 +- app/paint-funcs/paint-funcs.c | 2 +- app/paint_funcs.c | 2 +- app/paths_dialog.c | 2 +- 8 files changed, 24 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index eb93038c05..90339edb47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-08-27 Tomas Ogren + + * app/convert.c app/paint_funcs.c app/paths_dialog.c: + i18n fixes and added a missing \n... + Thu Aug 26 15:19:19 PDT 1999 Manish Singh * configure.in diff --git a/app/convert.c b/app/convert.c index 107bfeebe2..f2f1a4ed64 100644 --- a/app/convert.c +++ b/app/convert.c @@ -521,8 +521,11 @@ convert_to_indexed (GimpImage *gimage) gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog->shell)->vbox), frame, TRUE, TRUE, 0); - label = gtk_label_new ("You are attempting to convert an image with alpha/layers from RGB/GRAY to INDEXED.\n" - "\tYou should not generate a palette of more than 255 colors if you intend to create a transparent or animated GIF file from this image."); + label = gtk_label_new ( + _("You are attempting to convert an image with alpha/layers " + "from RGB/GRAY to INDEXED.\nYou should not generate a " + "palette of more than 255 colors if you intend to create " + "a transparent or animated GIF file from this image.")); gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_FILL); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); gtk_container_add (GTK_CONTAINER (frame), label); diff --git a/app/core/gimpimage-convert.c b/app/core/gimpimage-convert.c index 107bfeebe2..f2f1a4ed64 100644 --- a/app/core/gimpimage-convert.c +++ b/app/core/gimpimage-convert.c @@ -521,8 +521,11 @@ convert_to_indexed (GimpImage *gimage) gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog->shell)->vbox), frame, TRUE, TRUE, 0); - label = gtk_label_new ("You are attempting to convert an image with alpha/layers from RGB/GRAY to INDEXED.\n" - "\tYou should not generate a palette of more than 255 colors if you intend to create a transparent or animated GIF file from this image."); + label = gtk_label_new ( + _("You are attempting to convert an image with alpha/layers " + "from RGB/GRAY to INDEXED.\nYou should not generate a " + "palette of more than 255 colors if you intend to create " + "a transparent or animated GIF file from this image.")); gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_FILL); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); gtk_container_add (GTK_CONTAINER (frame), label); diff --git a/app/gimpimage-convert.c b/app/gimpimage-convert.c index 107bfeebe2..f2f1a4ed64 100644 --- a/app/gimpimage-convert.c +++ b/app/gimpimage-convert.c @@ -521,8 +521,11 @@ convert_to_indexed (GimpImage *gimage) gtk_container_set_border_width (GTK_CONTAINER (frame), 2); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog->shell)->vbox), frame, TRUE, TRUE, 0); - label = gtk_label_new ("You are attempting to convert an image with alpha/layers from RGB/GRAY to INDEXED.\n" - "\tYou should not generate a palette of more than 255 colors if you intend to create a transparent or animated GIF file from this image."); + label = gtk_label_new ( + _("You are attempting to convert an image with alpha/layers " + "from RGB/GRAY to INDEXED.\nYou should not generate a " + "palette of more than 255 colors if you intend to create " + "a transparent or animated GIF file from this image.")); gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_FILL); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); gtk_container_add (GTK_CONTAINER (frame), label); diff --git a/app/gui/paths-dialog.c b/app/gui/paths-dialog.c index 7ae5df14b5..11834eacdf 100644 --- a/app/gui/paths-dialog.c +++ b/app/gui/paths-dialog.c @@ -414,7 +414,7 @@ path_dialog_new(GimpImage *gimage,gint name_seed, gpointer udata) GString *s = g_string_new (NULL); gchar *suniq; - g_string_sprintf (s, "Path %d",name_seed); + g_string_sprintf (s, _("Path %d"), name_seed); suniq = unique_name(gimage,s->str); if(suniq) { diff --git a/app/paint-funcs/paint-funcs.c b/app/paint-funcs/paint-funcs.c index 8a1905aae3..eb544b52a4 100644 --- a/app/paint-funcs/paint-funcs.c +++ b/app/paint-funcs/paint-funcs.c @@ -5176,7 +5176,7 @@ initial_sub_region(struct initial_regions_struct *st, type = st->type; if (src->w * (src->bytes + 1) > 512) - fprintf(stderr, "initial_sub_region:: error :: src->w * (src->bytes + 1) > 512"); + fprintf(stderr, "initial_sub_region:: error :: src->w * (src->bytes + 1) > 512\n"); s = src->data; d = dest->data; diff --git a/app/paint_funcs.c b/app/paint_funcs.c index 8a1905aae3..eb544b52a4 100644 --- a/app/paint_funcs.c +++ b/app/paint_funcs.c @@ -5176,7 +5176,7 @@ initial_sub_region(struct initial_regions_struct *st, type = st->type; if (src->w * (src->bytes + 1) > 512) - fprintf(stderr, "initial_sub_region:: error :: src->w * (src->bytes + 1) > 512"); + fprintf(stderr, "initial_sub_region:: error :: src->w * (src->bytes + 1) > 512\n"); s = src->data; d = dest->data; diff --git a/app/paths_dialog.c b/app/paths_dialog.c index 7ae5df14b5..11834eacdf 100644 --- a/app/paths_dialog.c +++ b/app/paths_dialog.c @@ -414,7 +414,7 @@ path_dialog_new(GimpImage *gimage,gint name_seed, gpointer udata) GString *s = g_string_new (NULL); gchar *suniq; - g_string_sprintf (s, "Path %d",name_seed); + g_string_sprintf (s, _("Path %d"), name_seed); suniq = unique_name(gimage,s->str); if(suniq) {