workbook-control-gui.c - small i18n issue



Please, use some sformat magic to allow proper translations; do don't
know whether this patch is okay (I'm not a hacker!) -- I'm onloy
guessing! ;)

Index: workbook-control-gui.c
===================================================================
RCS file: /cvs/gnome/gnumeric/src/workbook-control-gui.c,v
retrieving revision 1.54
diff -u -u -r1.54 workbook-control-gui.c
--- workbook-control-gui.c      2001/02/01 02:44:55     1.54
+++ workbook-control-gui.c      2001/02/10 18:06:49
@@ -1451,8 +1451,9 @@
                        scg_mode_create_object (scg, so);
                        return;
                }
-               msg = g_strconcat (_("Unable to create object of type \'"),
-                                  obj_id, "\'", NULL);
+
+               msg = g_strdup_printf (_("Unable to create object of type \'%s\'"),
+                                  obj_id);
                gnumeric_notice (wbcg, GNOME_MESSAGE_BOX_ERROR, msg);
                g_free (msg);
        }

-- 
work : ke suse de                          |                   ,__o
     : http://www.suse.de/~ke/             |                 _-\_<,
home : keichwa gmx net                     |                (*)/'(*)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]