On Sun, 23 Jan 2005 03:17:07 +0100
Christian Biere wrote:

> I know but I didn't find the relevant piece of code where the
> strings are assigned quickly enough so that I've suspended this
> issue as it's causing no problems. This should be fixed in CVS
> now.

It appears now as a translated string, thanks. Then I have a few
strings marked, please apply. Also in the right down of "File to
get" pane, I found an extra space between [with source count] and
label "with sources" if possible please fix that. 

Note that type change of stat_count is to fit GTK1, then I don't
know it concerned with that, gtkg (GTK2) emits error message

Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

at run-time (possibly my translation length is too long? a few
character is out of window).

Index: monitor.c
===================================================================
RCS file: /cvsroot/gtk-gnutella/gtk-gnutella-current/src/ui/gtk/gtk2/monitor.c,v
retrieving revision 1.4
diff -u -r1.4 monitor.c
--- monitor.c   9 Dec 2004 06:34:48 -0000       1.4
+++ monitor.c   24 Jan 2005 09:15:13 -0000
@@ -130,7 +130,7 @@
     renderer = gtk_cell_renderer_text_new();
        g_object_set(renderer, "ypad", GUI_CELL_RENDERER_YPAD, NULL);
     column = gtk_tree_view_column_new_with_attributes
-        ("Query", renderer, "text", QUERY_COLUMN, NULL);
+        (_("Query"), renderer, "text", QUERY_COLUMN, NULL);
     gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_FIXED);
 
     /* Add the column to the view. */
Index: search_stats.c
===================================================================
RCS file: 
/cvsroot/gtk-gnutella/gtk-gnutella-current/src/ui/gtk/gtk2/search_stats.c,v
retrieving revision 1.5
diff -u -r1.5 search_stats.c
--- search_stats.c      9 Dec 2004 06:34:48 -0000       1.5
+++ search_stats.c      24 Jan 2005 09:15:13 -0000
@@ -57,7 +57,7 @@
        guint32 periods;
 };
 
-static gulong stat_count = 0;
+static guint32 stat_count = 0;
 
 static GHashTable *stat_hash = NULL;
 static GtkListStore *store_search_stats = NULL;
@@ -453,7 +453,9 @@
        g_object_thaw_notify(G_OBJECT(treeview_search_stats));
 
        /* update the counter */
-       gm_snprintf(tmpstr, sizeof(tmpstr), "%lu terms counted", stat_count);
+       gm_snprintf(tmpstr, sizeof(tmpstr),
+               NG_("%u term counted", "%u terms counted", stat_count),
+               stat_count);
        gtk_label_set_text(label_search_stats_count, tmpstr);
 }


Thanks.
-- 
Daichi


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to