From 34554decdf2d844699c76e80391efbad56e17aba Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 23 Jul 2001 10:41:16 +0000 Subject: [PATCH] merged fix from stable branch: 2001-07-23 Sven Neumann * plug-ins/common/winclipboard.c * plug-ins/gap/gap_filter_foreach.c * plug-ins/imagemap/imap_cmd_guides.c * plug-ins/sel2path/pxl-outline.c: marked missing strings for translation (patch from "Iccii" ). --- ChangeLog | 8 ++++++++ plug-ins/common/winclipboard.c | 4 ++-- plug-ins/gap/gap_filter_foreach.c | 4 ++-- plug-ins/imagemap/imap_cmd_guides.c | 2 +- plug-ins/sel2path/pxl-outline.c | 7 ++++++- 5 files changed, 19 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 11923a6c56..ceaef8b968 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2001-07-23 Sven Neumann + + * plug-ins/common/winclipboard.c + * plug-ins/gap/gap_filter_foreach.c + * plug-ins/imagemap/imap_cmd_guides.c + * plug-ins/sel2path/pxl-outline.c: marked missing strings for + translation (patch from "Iccii" ). + 2001-07-22 Hans Breuer * app/*/makefile.msc : diff --git a/plug-ins/common/winclipboard.c b/plug-ins/common/winclipboard.c index b105927349..93cd4226ff 100644 --- a/plug-ins/common/winclipboard.c +++ b/plug-ins/common/winclipboard.c @@ -469,7 +469,7 @@ CB_PasteImage (gboolean interactive, if (0 == fmt) { - g_message ("Unsupported format or Clipboard empty!"); + g_message (_("Unsupported format or Clipboard empty!")); bRet = FALSE; } @@ -480,7 +480,7 @@ CB_PasteImage (gboolean interactive, if (NULL == hDIB) { - g_message ("Can't get Clipboard data"); + g_message (_("Can't get Clipboard data.")); bRet = FALSE; } } diff --git a/plug-ins/gap/gap_filter_foreach.c b/plug-ins/gap/gap_filter_foreach.c index 9571995854..1d68f2d38f 100644 --- a/plug-ins/gap/gap_filter_foreach.c +++ b/plug-ins/gap/gap_filter_foreach.c @@ -118,7 +118,7 @@ static gint p_pitstop(GimpRunModeType run_mode, char *plugin_name, gint text_fla gint l_argc; static t_arr_arg l_argv[1]; int l_continue; - char l_skip_txt[20]; + char l_skip_txt[32]; @@ -133,7 +133,7 @@ static gint p_pitstop(GimpRunModeType run_mode, char *plugin_name, gint text_fla l_but_argv[0].but_val = 0; l_but_argv[1].but_txt = _("Cancel"); l_but_argv[1].but_val = -1; - g_snprintf(l_skip_txt, sizeof(l_skip_txt), "Skip %d", (int)layer_idx); + g_snprintf(l_skip_txt, sizeof(l_skip_txt), _("Skip %d"), (int)layer_idx); l_but_argv[2].but_txt = l_skip_txt; l_but_argv[2].but_val = 1; diff --git a/plug-ins/imagemap/imap_cmd_guides.c b/plug-ins/imagemap/imap_cmd_guides.c index 70fea4309f..b36617a85f 100644 --- a/plug-ins/imagemap/imap_cmd_guides.c +++ b/plug-ins/imagemap/imap_cmd_guides.c @@ -129,7 +129,7 @@ make_guides_dialog() GtkWidget *label; GtkWidget *hbox; - dialog = data->dialog = make_default_dialog("Create Guides"); + dialog = data->dialog = make_default_dialog(_("Create Guides")); default_dialog_set_ok_cb(dialog, guides_ok_cb, data); label = gtk_label_new( diff --git a/plug-ins/sel2path/pxl-outline.c b/plug-ins/sel2path/pxl-outline.c index 422798332d..c3d32745f9 100644 --- a/plug-ins/sel2path/pxl-outline.c +++ b/plug-ins/sel2path/pxl-outline.c @@ -18,13 +18,18 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "config.h" + #include + #include "global.h" #include "sel2path.h" #include "bitmap.h" #include "edge.h" #include "pxl-outline.h" +#include "libgimp/stdplugins-intl.h" + static pixel_outline_type find_one_outline (edge_type, unsigned, unsigned, bitmap_type *); static void append_pixel_outline (pixel_outline_list_type *, @@ -75,7 +80,7 @@ find_outline_pixels () /* printf("width = %d, height = %d\n",BITMAP_WIDTH(marked),BITMAP_HEIGHT(marked)); */ - gimp_progress_init ("Selection to path..."); + gimp_progress_init (_("Selection to Path...")); O_LIST_LENGTH (outline_list) = 0; outline_list.data = NULL;