pan2 r353 - trunk/pan/gui



Author: csk
Date: Thu Jul 10 00:54:42 2008
New Revision: 353
URL: http://svn.gnome.org/viewvc/pan2?rev=353&view=rev

Log:
#532286: several i18n & l10n issues.  (also, fix some compiler warnings in actions.cc)


Modified:
   trunk/pan/gui/actions.cc
   trunk/pan/gui/body-pane.cc
   trunk/pan/gui/post-ui.cc

Modified: trunk/pan/gui/actions.cc
==============================================================================
--- trunk/pan/gui/actions.cc	(original)
+++ trunk/pan/gui/actions.cc	Thu Jul 10 00:54:42 2008
@@ -252,99 +252,360 @@
 
   GtkActionEntry entries[] =
   {
-    { "file-menu", NULL, N_("_File") },
-    { "edit-menu", NULL, N_("_Edit") },
-    { "view-layout-menu", NULL, N_("_Layout") },
-    { "view-group-pane-menu", NULL, N_("_Group Pane") },
-    { "view-header-pane-menu", NULL, N_("_Header Pane") },
-    { "view-body-pane-menu", NULL, N_("_Body Pane") },
-    { "view-menu", NULL, N_("_View") },
-    { "filter-menu", NULL, N_("Filte_r") },
-    { "go-menu", NULL, N_("_Go") },
-    { "actions-menu", NULL, N_("_Actions") },
-    { "article-actions-menu", NULL, N_("_Articles") },
-    { "group-actions-menu", NULL, N_("G_roups") },
-    { "posting-actions-menu", NULL, N_("_Post") },
-    { "post-menu", NULL, N_("_Post") },
-    { "help-menu", NULL, N_("_Help") },
-    { "set-charset", NULL, N_("Set Character _Encoding..."), NULL, NULL, G_CALLBACK(do_prompt_for_charset) },
-    { "read-selected-group", "ICON_READ_MORE", N_("_Read Group"), NULL, NULL, G_CALLBACK(do_read_selected_group) },
-    { "mark-groups-read", GTK_STOCK_CLEAR, N_("_Mark Selected Groups _Read"), "<control><shift>M", NULL, G_CALLBACK(do_mark_selected_groups_read) },
-    { "delete-groups-articles", GTK_STOCK_DELETE, N_("_Delete Selected Groups' Articles"), "<control><shift>Delete", NULL, G_CALLBACK(do_clear_selected_groups) },
-    { "get-new-headers-in-selected-groups", "ICON_GET_SELECTED", N_("Get New _Headers in Selected Groups"), "A", NULL, G_CALLBACK(do_xover_selected_groups) },
-    { "get-new-headers-in-subscribed-groups", "ICON_GET_SUBSCRIBED", N_("Get New _Headers in Subscribed Groups"), "<shift>A", NULL, G_CALLBACK(do_xover_subscribed_groups) },
-    { "download-headers", "ICON_GET_DIALOG", N_("Get _Headers..."), "", NULL, G_CALLBACK(do_download_headers) },
-    { "refresh-group-list", NULL, N_("Refresh Group List"), "", NULL, G_CALLBACK(do_refresh_groups) },
-    { "subscribe", NULL, N_("_Subscribe"), NULL, NULL, G_CALLBACK(do_subscribe_selected_groups) },
-    { "unsubscribe", NULL, N_("_Unsubscribe"), NULL, NULL, G_CALLBACK(do_unsubscribe_selected_groups) },
-
-    { "save-articles", GTK_STOCK_SAVE, N_("_Save Articles..."), "<shift>S", NULL, G_CALLBACK(do_save_articles) },
-    { "save-articles-from-nzb", GTK_STOCK_SAVE, N_("_Save Articles from this NZB..."), NULL, NULL, G_CALLBACK(do_save_articles_from_nzb) },
-    { "print", GTK_STOCK_PRINT, NULL, "<control>P", NULL, G_CALLBACK(do_print) },
-    { "import-tasks", GTK_STOCK_OPEN, N_("_Import NZB Files..."), NULL, NULL, G_CALLBACK(do_import_tasks) },
-    { "cancel-last-task", GTK_STOCK_CANCEL, N_("_Cancel Last Task"), "<control>Delete", NULL, G_CALLBACK(do_cancel_latest_task) },
-    { "show-task-window", NULL, N_("_Task Manager"), NULL, NULL, G_CALLBACK(do_show_task_window) },
-    { "show-log-dialog", GTK_STOCK_DIALOG_INFO, N_("_Event Log"), NULL, NULL, G_CALLBACK(do_show_log_window) },
-    { "quit", NULL, N_("_Quit"), "<control>Q", NULL, G_CALLBACK(do_quit) },
-
-    { "select-all-articles", NULL, N_("Select _All Articles"), "<control>D", NULL, G_CALLBACK(do_select_all_articles) },
-    { "unselect-all-articles", NULL, N_("_Deselect All Articles"), "<shift><control>D", NULL, G_CALLBACK(do_unselect_all_articles) },
-    { "add-subthreads-to-selection", NULL, N_("Add Su_bthreads to Selection"), "D", NULL, G_CALLBACK(do_add_subthreads_to_selection) },
-    { "add-threads-to-selection", NULL, N_("Add _Threads to Selection"), "<shift>D", NULL, G_CALLBACK(do_add_threads_to_selection) },
-    { "add-similar-articles-to-selection", NULL, N_("Add _Similar Articles to Selection"), "<control>S", NULL, G_CALLBACK(do_add_similar_to_selection) },
-    { "select-article-body", NULL, N_("Select Article _Body"), NULL, NULL, G_CALLBACK(do_select_article_body) },
-    { "show-preferences-dialog", GTK_STOCK_PREFERENCES, N_("Edit _Preferences"), NULL, NULL, G_CALLBACK(do_show_preferences_dialog) },
-    { "show-group-preferences-dialog", GTK_STOCK_PREFERENCES, N_("Edit Selected _Group's Preferences"), NULL, NULL, G_CALLBACK(do_show_group_preferences_dialog) },
-    { "show-profiles-dialog", GTK_STOCK_EDIT, N_("Edit P_osting Profiles"), NULL, NULL, G_CALLBACK(do_show_profiles_dialog) },
-    { "show-servers-dialog", GTK_STOCK_NETWORK, N_("Edit _News Servers"), NULL, NULL, G_CALLBACK(do_show_servers_dialog) },
-
-    { "jump-to-group-tab", GTK_STOCK_JUMP_TO, N_("Jump to _Group Tab"), "1", NULL, G_CALLBACK(do_jump_to_group_tab) },
-    { "jump-to-header-tab", GTK_STOCK_JUMP_TO, N_("Jump to _Header Tab"), "2", NULL, G_CALLBACK(do_jump_to_header_tab) },
-    { "jump-to-body-tab", GTK_STOCK_JUMP_TO, N_("Jump to _Body Tab"), "3", NULL, G_CALLBACK(do_jump_to_body_tab) },
-    { "rot13-selected-text", NULL, N_("_Rot13 Selected Text"), "<control><shift>R", NULL, G_CALLBACK(do_rot13_selected_text) },
-
-    { "clear-header-pane", NULL, N_("Clear _Header Pane"), NULL, NULL, G_CALLBACK(do_clear_header_pane) },
-    { "clear-body-pane", NULL, N_("Clear _Body Pane"), NULL, NULL, G_CALLBACK(do_clear_body_pane) },
-
-    { "download-selected-article", "ICON_DISK", N_("Cache Article"), NULL, NULL, G_CALLBACK(do_download_selected_article) },
-    { "read-selected-article", "ICON_READ_MORE", N_("Read Article"), NULL, NULL, G_CALLBACK(do_read_selected_article) },
-    { "show-selected-article-info", NULL, N_("Show Article Information"), NULL, NULL, G_CALLBACK(do_show_selected_article_info) },
-    { "read-more", "ICON_READ_MORE", N_("Read _More"), "space", NULL, G_CALLBACK(do_read_more) },
-    { "read-less", "ICON_READ_LESS", N_("Read _Back"), "BackSpace", NULL, G_CALLBACK(do_read_less) },
-    { "read-next-unread-group", "ICON_READ_UNREAD_GROUP", N_("Next _Unread Group"), "G", NULL, G_CALLBACK(do_read_next_unread_group) },
-    { "read-next-group", "ICON_READ_GROUP", N_("Next _Group"), "<shift>G", NULL, G_CALLBACK(do_read_next_group) },
-    { "read-next-unread-article", "ICON_READ_UNREAD_ARTICLE", N_("Next _Unread Article"), "N", NULL, G_CALLBACK(do_read_next_unread_article) },
-    { "read-next-article", NULL, N_("Next _Article"), "<control>N", NULL, G_CALLBACK(do_read_next_article) },
-    { "read-next-watched-article", NULL, N_("Next _Watched Article"), "<control><shift>N", NULL, G_CALLBACK(do_read_next_watched_article) },
-    { "read-next-unread-thread", "ICON_READ_UNREAD_THREAD", N_("Next Unread _Thread"), "T", NULL, G_CALLBACK(do_read_next_unread_thread) },
-    { "read-next-thread", NULL, N_("Next Threa_d"), "<control>T", NULL, G_CALLBACK(do_read_next_thread) },
-    { "read-previous-article", NULL, N_("Pre_vious Article"), "V", NULL, G_CALLBACK(do_read_previous_article) },
-    { "read-previous-thread", NULL, N_("Previous _Thread"), "<control>V", NULL, G_CALLBACK(do_read_previous_thread) },
-    { "read-parent-article", NULL, N_("_Parent Article"), "U", NULL, G_CALLBACK(do_read_parent_article) },
-
-    { "plonk", NULL, N_("Ignore _Author"), NULL, NULL, G_CALLBACK(do_plonk) },
-    { "watch-thread", NULL, N_("_Watch Thread"), NULL, NULL, G_CALLBACK(do_watch) },
-    { "ignore-thread", NULL, N_("_Ignore Thread"), NULL, NULL, G_CALLBACK(do_ignore) },
-    { "view-article-score", "ICON_SCORE", N_("Edit Article's Watch/Ignore/Score..."), "<control><shift>C", NULL, G_CALLBACK(do_show_score_dialog) },
-    { "add-article-score", "ICON_SCORE", N_("_Add a _Scoring Rule..."), "S", NULL, G_CALLBACK(do_show_new_score_dialog) },
-    { "cancel-article", NULL, N_("Cance_l Article..."), NULL, NULL, G_CALLBACK(do_cancel_article) },
-    { "supersede-article", NULL, N_("_Supersede Article..."), NULL, NULL, G_CALLBACK(do_supersede_article) },
-    { "delete-article", GTK_STOCK_DELETE, N_("_Delete Article"), "Delete", NULL, G_CALLBACK(do_delete_article) },
-    { "clear-article-cache", NULL, N_("Clear Article Cache"), NULL, NULL, G_CALLBACK(do_clear_article_cache) },
-    { "mark-article-read", "ICON_ARTICLE_READ", N_("_Mark Article as Read"), "M", NULL, G_CALLBACK(do_mark_article_read) },
-    { "mark-article-unread", "ICON_ARTICLE_UNREAD", N_("Mark Article as _Unread"), "<control>M", NULL, G_CALLBACK(do_mark_article_unread) },
-
-    { "post", "ICON_COMPOSE_POST", N_("_Post to Newsgroup"), "P", NULL, G_CALLBACK(do_post) },
-    { "followup-to", "ICON_COMPOSE_FOLLOWUP", N_("_Followup to Newsgroup"), "F", NULL, G_CALLBACK(do_followup_to) },
-    { "reply-to", NULL, N_("_Reply to Author in Mail"), "R", NULL, G_CALLBACK(do_reply_to) },
-
-    { "pan-web-page", NULL, N_("_Pan Home Page"), NULL, NULL, G_CALLBACK(do_pan_web) },
-    { "bug-report", NULL, N_("Give _Feedback or Report a Bug..."), NULL, NULL, G_CALLBACK(do_bug_report) },
-    { "tip-jar", NULL, N_("_Tip Jar..."), NULL, NULL, G_CALLBACK(do_tip_jar) },
+    { "file-menu", NULL, N_("_File"), NULL, NULL, NULL },
+    { "edit-menu", NULL, N_("_Edit"), NULL, NULL, NULL },
+    { "view-layout-menu", NULL, N_("_Layout"), NULL, NULL, NULL },
+    { "view-group-pane-menu", NULL, N_("_Group Pane"), NULL, NULL, NULL },
+    { "view-header-pane-menu", NULL, N_("_Header Pane"), NULL, NULL, NULL },
+    { "view-body-pane-menu", NULL, N_("_Body Pane"), NULL, NULL, NULL },
+    { "view-menu", NULL, N_("_View"), NULL, NULL, NULL },
+    { "filter-menu", NULL, N_("Filte_r"), NULL, NULL, NULL },
+    { "go-menu", NULL, N_("_Go"), NULL, NULL, NULL },
+    { "actions-menu", NULL, N_("_Actions"), NULL, NULL, NULL },
+    { "article-actions-menu", NULL, N_("_Articles"), NULL, NULL, NULL },
+    { "group-actions-menu", NULL, N_("G_roups"), NULL, NULL, NULL },
+    { "posting-actions-menu", NULL, N_("_Post"), NULL, NULL, NULL },
+    { "post-menu", NULL, N_("_Post"), NULL, NULL, NULL },
+    { "help-menu", NULL, N_("_Help"), NULL, NULL, NULL },
+
+    { "set-charset", NULL,
+      N_("Set Character _Encoding..."), NULL,
+      N_("Set Character Encoding..."),
+      G_CALLBACK(do_prompt_for_charset) },
+
+    { "read-selected-group", "ICON_READ_MORE",
+      N_("_Read Group"), NULL,
+      N_("Read Group"),
+      G_CALLBACK(do_read_selected_group) },
+
+    { "mark-groups-read", GTK_STOCK_CLEAR,
+      N_("_Mark Selected Groups Read"), "<control><shift>M",
+      N_("Mark Selected Groups Read"),
+      G_CALLBACK(do_mark_selected_groups_read) },
+
+    { "delete-groups-articles", GTK_STOCK_DELETE,
+      N_("_Delete Selected Groups' Articles"), "<control><shift>Delete",
+      N_("Delete Selected Groups' Articles"),
+      G_CALLBACK(do_clear_selected_groups) },
+
+    { "get-new-headers-in-selected-groups", "ICON_GET_SELECTED",
+      N_("Get New _Headers in Selected Groups"), "A",
+      N_("Get New Headers in Selected Groups"),
+      G_CALLBACK(do_xover_selected_groups) },
+
+    { "get-new-headers-in-subscribed-groups", "ICON_GET_SUBSCRIBED",
+      N_("Get New _Headers in Subscribed Groups"), "<shift>A",
+      N_("Get New Headers in Subscribed Groups"),
+      G_CALLBACK(do_xover_subscribed_groups) },
+
+    { "download-headers", "ICON_GET_DIALOG",
+      N_("Get _Headers..."), "",
+      N_("Get Headers..."),
+      G_CALLBACK(do_download_headers) },
+
+    { "refresh-group-list", NULL,
+      N_("Refresh Group List"), "",
+      N_("Refresh Group List"),
+      G_CALLBACK(do_refresh_groups) },
+
+    { "subscribe", NULL,
+      N_("_Subscribe"), NULL,
+      N_("Subscribe"),
+      G_CALLBACK(do_subscribe_selected_groups) },
+
+    { "unsubscribe", NULL,
+      N_("_Unsubscribe"), NULL,
+      N_("Unsubscribe"),
+      G_CALLBACK(do_unsubscribe_selected_groups) },
+
+    { "save-articles", GTK_STOCK_SAVE,
+      N_("_Save Articles..."), "<shift>S",
+      N_("Save Articles..."),
+      G_CALLBACK(do_save_articles) },
+
+    { "save-articles-from-nzb", GTK_STOCK_SAVE,
+      N_("_Save Articles from this NZB..."), NULL,
+      N_("Save Articles from this NZB"),
+      G_CALLBACK(do_save_articles_from_nzb) },
+
+    { "print", GTK_STOCK_PRINT,
+      NULL, "<control>P",
+      NULL,
+      G_CALLBACK(do_print) },
+
+    { "import-tasks", GTK_STOCK_OPEN,
+      N_("_Import NZB Files..."), NULL,
+      NULL,
+      G_CALLBACK(do_import_tasks) },
+
+    { "cancel-last-task", GTK_STOCK_CANCEL,
+      N_("_Cancel Last Task"), "<control>Delete",
+      NULL,
+      G_CALLBACK(do_cancel_latest_task) },
+
+    { "show-task-window", NULL,
+      N_("_Task Manager"), NULL,
+      NULL,
+      G_CALLBACK(do_show_task_window) },
+
+    { "show-log-dialog", GTK_STOCK_DIALOG_INFO,
+      N_("_Event Log"), NULL,
+      NULL,
+      G_CALLBACK(do_show_log_window) },
+
+    { "quit", NULL,
+      N_("_Quit"), "<control>Q",
+      NULL,
+      G_CALLBACK(do_quit) },
+
+    { "select-all-articles", NULL,
+      N_("Select _All Articles"), "<control>D",
+      NULL,
+      G_CALLBACK(do_select_all_articles) },
+
+    { "unselect-all-articles", NULL,
+      N_("_Deselect All Articles"), "<shift><control>D",
+      NULL,
+      G_CALLBACK(do_unselect_all_articles) },
+
+    { "add-subthreads-to-selection", NULL,
+      N_("Add Su_bthreads to Selection"), "D",
+      NULL,
+      G_CALLBACK(do_add_subthreads_to_selection) },
+
+    { "add-threads-to-selection", NULL,
+      N_("Add _Threads to Selection"), "<shift>D",
+      NULL,
+      G_CALLBACK(do_add_threads_to_selection) },
+
+    { "add-similar-articles-to-selection", NULL,
+      N_("Add _Similar Articles to Selection"), "<control>S",
+      NULL,
+      G_CALLBACK(do_add_similar_to_selection) },
+
+    { "select-article-body", NULL,
+      N_("Select Article _Body"), NULL,
+      NULL,
+      G_CALLBACK(do_select_article_body) },
+
+    { "show-preferences-dialog", GTK_STOCK_PREFERENCES,
+      N_("Edit _Preferences"), NULL,
+      NULL,
+      G_CALLBACK(do_show_preferences_dialog) },
+
+    { "show-group-preferences-dialog", GTK_STOCK_PREFERENCES,
+      N_("Edit Selected _Group's Preferences"), NULL,
+      NULL,
+      G_CALLBACK(do_show_group_preferences_dialog) },
+
+    { "show-profiles-dialog", GTK_STOCK_EDIT,
+      N_("Edit P_osting Profiles"), NULL,
+      NULL,
+      G_CALLBACK(do_show_profiles_dialog) },
+
+    { "show-servers-dialog", GTK_STOCK_NETWORK,
+      N_("Edit _News Servers"), NULL,
+      NULL,
+      G_CALLBACK(do_show_servers_dialog) },
+
+    { "jump-to-group-tab", GTK_STOCK_JUMP_TO,
+      N_("Jump to _Group Tab"), "1",
+      NULL,
+      G_CALLBACK(do_jump_to_group_tab) },
+
+    { "jump-to-header-tab", GTK_STOCK_JUMP_TO,
+      N_("Jump to _Header Tab"), "2",
+      NULL,
+      G_CALLBACK(do_jump_to_header_tab) },
+
+    { "jump-to-body-tab", GTK_STOCK_JUMP_TO,
+      N_("Jump to _Body Tab"), "3",
+      NULL,
+      G_CALLBACK(do_jump_to_body_tab) },
+
+    { "rot13-selected-text", NULL,
+      N_("_Rot13 Selected Text"), "<control><shift>R",
+      NULL,
+      G_CALLBACK(do_rot13_selected_text) },
+
+    { "clear-header-pane", NULL,
+      N_("Clear _Header Pane"), NULL,
+      NULL,
+      G_CALLBACK(do_clear_header_pane) },
+    { "clear-body-pane", NULL,
+      N_("Clear _Body Pane"), NULL, 
+      NULL,
+      G_CALLBACK(do_clear_body_pane) },
+
+    { "download-selected-article", "ICON_DISK",
+      N_("Cache Article"), NULL, 
+      NULL,
+      G_CALLBACK(do_download_selected_article) },
+
+    { "read-selected-article", "ICON_READ_MORE",
+      N_("Read Article"), NULL, 
+      NULL,
+      G_CALLBACK(do_read_selected_article) },
+
+    { "show-selected-article-info", NULL,
+      N_("Show Article Information"), NULL, 
+      NULL,
+      G_CALLBACK(do_show_selected_article_info) },
+
+    { "read-more", "ICON_READ_MORE",
+      N_("Read _More"), "space",
+      N_("Read More"),
+      G_CALLBACK(do_read_more) },
+
+    { "read-less", "ICON_READ_LESS",
+      N_("Read _Back"), "BackSpace",
+      N_("Read Back"),
+      G_CALLBACK(do_read_less) },
+
+    { "read-next-unread-group", "ICON_READ_UNREAD_GROUP",
+      N_("Next _Unread Group"), "G", 
+      NULL,
+      G_CALLBACK(do_read_next_unread_group) },
+
+    { "read-next-group", "ICON_READ_GROUP",
+      N_("Next _Group"), "<shift>G", 
+      NULL,
+      G_CALLBACK(do_read_next_group) },
+
+    { "read-next-unread-article", "ICON_READ_UNREAD_ARTICLE",
+      N_("Next _Unread Article"), "N",
+      N_("Next Unread Article"),
+      G_CALLBACK(do_read_next_unread_article) },
+
+    { "read-next-article", NULL,
+      N_("Next _Article"), "<control>N",
+      N_("Next Article"),
+      G_CALLBACK(do_read_next_article) },
+
+    { "read-next-watched-article", NULL,
+      N_("Next _Watched Article"), "<control><shift>N", 
+      NULL,
+      G_CALLBACK(do_read_next_watched_article) },
+
+    { "read-next-unread-thread", "ICON_READ_UNREAD_THREAD",
+      N_("Next Unread _Thread"), "T",
+      N_("Next Unread Thread"),
+      G_CALLBACK(do_read_next_unread_thread) },
+
+    { "read-next-thread", NULL,
+      N_("Next Threa_d"), "<control>T", 
+      NULL,
+      G_CALLBACK(do_read_next_thread) },
+
+    { "read-previous-article", NULL,
+      N_("Pre_vious Article"), "V", 
+      NULL,
+      G_CALLBACK(do_read_previous_article) },
+
+    { "read-previous-thread", NULL,
+      N_("Previous _Thread"), "<control>V", 
+      NULL,
+
+      G_CALLBACK(do_read_previous_thread) },
+    { "read-parent-article", NULL,
+      N_("_Parent Article"), "U", 
+      NULL,
+      G_CALLBACK(do_read_parent_article) },
+
+    { "plonk", NULL,
+      N_("Ignore _Author"), NULL, 
+      NULL,
+      G_CALLBACK(do_plonk) },
+    { "watch-thread", NULL,
+      N_("_Watch Thread"), NULL, 
+      NULL,
+      G_CALLBACK(do_watch) },
+
+    { "ignore-thread", NULL,
+      N_("_Ignore Thread"), NULL, 
+      NULL,
+      G_CALLBACK(do_ignore) },
+
+    { "view-article-score", "ICON_SCORE",
+      N_("Edit Article's Watch/Ignore/Score..."), "<control><shift>C", 
+      NULL,
+      G_CALLBACK(do_show_score_dialog) },
+
+    { "add-article-score", "ICON_SCORE",
+      N_("Add a _Scoring Rule..."), "S", 
+      NULL,
+      G_CALLBACK(do_show_new_score_dialog) },
+
+    { "cancel-article", NULL,
+      N_("Cance_l Article..."), NULL, 
+      NULL,
+      G_CALLBACK(do_cancel_article) },
+
+    { "supersede-article", NULL,
+      N_("_Supersede Article..."), NULL, 
+      NULL,
+      G_CALLBACK(do_supersede_article) },
+
+    { "delete-article", GTK_STOCK_DELETE,
+      N_("_Delete Article"), "Delete", 
+      NULL,
+      G_CALLBACK(do_delete_article) },
+
+    { "clear-article-cache", NULL,
+      N_("Clear Article Cache"), NULL, 
+      NULL,
+      G_CALLBACK(do_clear_article_cache) },
+
+    { "mark-article-read", "ICON_ARTICLE_READ",
+      N_("_Mark Article as Read"), "M", 
+      NULL,
+      G_CALLBACK(do_mark_article_read) },
+
+    { "mark-article-unread", "ICON_ARTICLE_UNREAD",
+      N_("Mark Article as _Unread"), "<control>M", 
+      NULL,
+      G_CALLBACK(do_mark_article_unread) },
+
+    { "post", "ICON_COMPOSE_POST",
+      N_("_Post to Newsgroup"), "P",
+      N_("Post to Newsgroup"),
+      G_CALLBACK(do_post) },
+
+    { "followup-to", "ICON_COMPOSE_FOLLOWUP",
+      N_("_Followup to Newsgroup"), "F",
+      N_("Followup to Newsgroup"),
+      G_CALLBACK(do_followup_to) },
+
+    { "reply-to", NULL,
+      N_("_Reply to Author in Mail"), "R", 
+      NULL,
+      G_CALLBACK(do_reply_to) },
+
+    { "pan-web-page", NULL,
+      N_("_Pan Home Page"), NULL, 
+      NULL,
+      G_CALLBACK(do_pan_web) },
+
+    { "bug-report", NULL,
+      N_("Give _Feedback or Report a Bug..."), NULL, 
+      NULL,
+      G_CALLBACK(do_bug_report) },
+
+    { "tip-jar", NULL,
+      N_("_Tip Jar..."), NULL, 
+      NULL,
+      G_CALLBACK(do_tip_jar) },
+
 #if GTK_CHECK_VERSION(2,6,0)
-    { "about-pan", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK(do_about_pan) }
+    { "about-pan", GTK_STOCK_ABOUT,
+      N_("_About"), NULL, 
+      NULL,
+      G_CALLBACK(do_about_pan) }
 #else
-    { "about-pan", NULL, N_("_About"), NULL, NULL, G_CALLBACK(do_about_pan) }
+    { "about-pan", NULL,
+      N_("_About"), NULL, 
+      NULL,
+      G_CALLBACK(do_about_pan) }
 #endif
   };
 
@@ -377,11 +638,11 @@
     { "show-toolbar", NULL, N_("Show _Toolbar"), NULL, NULL, G_CALLBACK(do_show_toolbar), true },
     { "shorten-group-names", GTK_STOCK_ZOOM_OUT, N_("Abbreviate Group Names"), "B", NULL, G_CALLBACK(do_shorten_group_names), false },
 
-    { "match-only-unread-articles", "ICON_ONLY_UNREAD", N_("Match Only _Unread Articles"), NULL, NULL, G_CALLBACK(do_match_only_unread_articles), false },
-    { "match-only-cached-articles", "ICON_ONLY_CACHED", N_("Match Only _Cached Articles"), NULL, NULL, G_CALLBACK(do_match_only_cached_articles), false },
-    { "match-only-binary-articles", "ICON_ONLY_ATTACHMENTS", N_("Match Only _Complete Articles"), NULL, NULL, G_CALLBACK(do_match_only_binary_articles), false },
-    { "match-only-my-articles", "ICON_ONLY_ME", N_("Match Only _My Articles"), NULL, NULL, G_CALLBACK(do_match_only_my_articles), false },
-    { "match-only-watched-articles", "ICON_ONLY_WATCHED", N_("Match Only _Watched Articles"), NULL, NULL, G_CALLBACK(do_match_only_watched_articles), false },
+    { "match-only-unread-articles", "ICON_ONLY_UNREAD", N_("Match Only _Unread Articles"), NULL, N_("Match Only Unread Articles"), G_CALLBACK(do_match_only_unread_articles), false },
+    { "match-only-cached-articles", "ICON_ONLY_CACHED", N_("Match Only _Cached Articles"), NULL, N_("Match Only Cached Articles"), G_CALLBACK(do_match_only_cached_articles), false },
+    { "match-only-binary-articles", "ICON_ONLY_ATTACHMENTS", N_("Match Only _Complete Articles"), NULL, N_("Match Only Complete Articles"), G_CALLBACK(do_match_only_binary_articles), false },
+    { "match-only-my-articles", "ICON_ONLY_ME", N_("Match Only _My Articles"), NULL, N_("Match Only My Articles"), G_CALLBACK(do_match_only_my_articles), false },
+    { "match-only-watched-articles", "ICON_ONLY_WATCHED", N_("Match Only _Watched Articles"), NULL, N_("Match Only Watched Articles"), G_CALLBACK(do_match_only_watched_articles), false },
 
     { "match-watched-articles", NULL, N_("Match Scores of 9999 (_Watched)"), NULL, NULL, G_CALLBACK(do_match_watched_articles), true },
     { "match-high-scoring-articles", NULL, N_("Match Scores of 5000...9998 (_High)"), NULL, NULL, G_CALLBACK(do_match_high_scoring_articles), true },
@@ -434,11 +695,7 @@
   void ensure_tooltip (GtkActionEntry * e)
   {
     if (!e->tooltip && e->label)
-    {
-      std::string s = e->label;
-      s.erase (std::remove (s.begin(), s.end(), '_'), s.end());
-      e->tooltip = g_strdup (s.c_str());
-    }
+      e->tooltip = g_strdup (e->label);
   }
 }
 

Modified: trunk/pan/gui/body-pane.cc
==============================================================================
--- trunk/pan/gui/body-pane.cc	(original)
+++ trunk/pan/gui/body-pane.cc	Thu Jul 10 00:54:42 2008
@@ -1363,7 +1363,7 @@
   gtk_object_sink (GTK_OBJECT(_terse));
   gtk_misc_set_alignment (GTK_MISC(_terse), 0.0f, 0.5f);
   gtk_label_set_use_markup (GTK_LABEL(_terse), true);
-  //gtk_label_set_selectable (GTK_LABEL(_terse), true);
+  gtk_label_set_selectable (GTK_LABEL(_terse), true);
 #if GTK_CHECK_VERSION(2,6,0)
   gtk_label_set_ellipsize (GTK_LABEL(_terse), PANGO_ELLIPSIZE_MIDDLE);
 #endif
@@ -1373,7 +1373,7 @@
   g_object_ref (_verbose);
   gtk_object_sink (GTK_OBJECT(_verbose));
   w = _headers = gtk_label_new ("Headers");
-  //gtk_label_set_selectable (GTK_LABEL(_headers), TRUE);
+  gtk_label_set_selectable (GTK_LABEL(_headers), TRUE);
   gtk_misc_set_alignment (GTK_MISC(w), 0.0f, 0.5f);
 #if GTK_CHECK_VERSION(2,6,0)
   gtk_label_set_ellipsize (GTK_LABEL(w), PANGO_ELLIPSIZE_MIDDLE);

Modified: trunk/pan/gui/post-ui.cc
==============================================================================
--- trunk/pan/gui/post-ui.cc	(original)
+++ trunk/pan/gui/post-ui.cc	Thu Jul 10 00:54:42 2008
@@ -1769,6 +1769,7 @@
 
   w = _followupto_entry = gtk_entry_new ();
   gtk_label_set_mnemonic_widget (GTK_LABEL(l), w);
+  /* i18n: "poster" is a key used by many newsreaders.  probably safest to keep this key in english. */
   gtk_tooltips_set_tip (GTK_TOOLTIPS(_ttips), w, _("The newsgroups where replies to your message should go.  This is only needed if it differs from the \"Newsgroups\" header.\n\nTo direct all replies to your email address, use \"Followup-To: poster\""), 0);
   gtk_table_attach (GTK_TABLE(t), w, 1, 2, row, row+1, fe, fill, 0, 0);
 



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