Hello
This makes cvs head build on NetBSD 2.99.14:
%cvs diff gui_property.c
Index: gui_property.c
===================================================================
RCS
file: /cvsroot/gtk-gnutella/gtk-gnutella-current/src/if/gui_property.c,v
retrieving revision 1.19
diff -u -r1.19 gui_property.c
--- gui_property.c 21 Jan 2005 22:59:36 -0000 1.19
+++ gui_property.c 22 Jan 2005 11:46:52 -0000
@@ -168,10 +168,10 @@
guint32 search_stats_mode = 0;
guint32 search_stats_mode_def = 0;
prop_def_choice_t search_stats_mode_choices[] = {
- {_("disable"), 0},
- {_("by words"), 1},
- {_("by whole query"), 2},
- {_("by router"), 3},
+ {N_("disable"), 0},
+ {N_("by words"), 1},
+ {N_("by whole query"), 2},
+ {N_("by router"), 3},
{NULL, 0}
};
guint32 search_stats_update_interval = 200;
@@ -193,9 +193,9 @@
guint32 gnet_stats_source = 0;
guint32 gnet_stats_source_def = 0;
prop_def_choice_t gnet_stats_source_choices[] = {
- {_("TCP & UDP"), GNET_STATS_FULL},
- {_("TCP only"), GNET_STATS_TCP_ONLY},
- {_("UDP only"), GNET_STATS_UDP_ONLY},
+ {N_("TCP & UDP"), GNET_STATS_FULL},
+ {N_("TCP only"), GNET_STATS_TCP_ONLY},
+ {N_("UDP only"), GNET_STATS_UDP_ONLY},
{NULL, 0}
};
gboolean gnet_stats_with_headers = TRUE;
@@ -263,10 +263,10 @@
guint32 config_toolbar_style = 4;
guint32 config_toolbar_style_def = 4;
prop_def_choice_t config_toolbar_style_choices[] = {
- {_("Icons"), 1},
- {_("Text"), 2},
- {_("Both (vertical)"), 3},
- {_("Both (horizontal)"), 4},
+ {N_("Icons"), 1},
+ {N_("Text"), 2},
+ {N_("Both (vertical)"), 3},
+ {N_("Both (horizontal)"), 4},
{NULL, 0}
};
I first tried to strip the _( and ), but then saw the last commit
message in CVS that the intention was to add N_().
Best regards,
Lars Nordlund
-------------------------------------------------------
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