Fill in discriptions for tooltips

This commit is contained in:
Christian Dywan 2008-06-01 14:08:48 +02:00
parent 714f7c65f6
commit aa6c1ccec4

View file

@ -2174,7 +2174,6 @@ _action_bookmark_delete_activate (GtkAction* action,
} }
} }
// FIXME: Fill in a good description for each 'hm?'
static const GtkActionEntry entries[] = { static const GtkActionEntry entries[] = {
{ "File", NULL, N_("_File") }, { "File", NULL, N_("_File") },
{ "WindowNew", STOCK_WINDOW_NEW, { "WindowNew", STOCK_WINDOW_NEW,
@ -2197,13 +2196,13 @@ static const GtkActionEntry entries[] = {
N_("Close this window"), G_CALLBACK (_action_window_close_activate) }, N_("Close this window"), G_CALLBACK (_action_window_close_activate) },
{ "PageSetup", GTK_STOCK_PROPERTIES, { "PageSetup", GTK_STOCK_PROPERTIES,
N_("Pa_ge Setup"), "", N_("Pa_ge Setup"), "",
"hm?", NULL/*G_CALLBACK (_action_page_setup_activate)*/ }, "Configure your print settings", NULL/*G_CALLBACK (_action_page_setup_activate)*/ },
{ "PrintPreview", GTK_STOCK_PRINT_PREVIEW, { "PrintPreview", GTK_STOCK_PRINT_PREVIEW,
NULL, "", NULL, "",
"hm?", NULL/*G_CALLBACK (_action_print_preview_activate)*/ }, N_("Show a preview of the printed page"), NULL/*G_CALLBACK (_action_print_preview_activate)*/ },
{ "Print", GTK_STOCK_PRINT, { "Print", GTK_STOCK_PRINT,
NULL, "<Ctrl>p", NULL, "<Ctrl>p",
"hm?", G_CALLBACK (_action_print_activate) }, N_("Print the current page"), G_CALLBACK (_action_print_activate) },
{ "Quit", GTK_STOCK_QUIT, { "Quit", GTK_STOCK_QUIT,
NULL, "<Ctrl>q", NULL, "<Ctrl>q",
N_("Quit the application"), G_CALLBACK (_action_quit_activate) }, N_("Quit the application"), G_CALLBACK (_action_quit_activate) },
@ -2217,7 +2216,7 @@ static const GtkActionEntry entries[] = {
N_("Redo the last modification"), NULL/*G_CALLBACK (_action_redo_activate)*/ }, N_("Redo the last modification"), NULL/*G_CALLBACK (_action_redo_activate)*/ },
{ "Cut", GTK_STOCK_CUT, { "Cut", GTK_STOCK_CUT,
NULL, "<Ctrl>x", NULL, "<Ctrl>x",
"Cut the selected text", G_CALLBACK (_action_cut_activate) }, N_("Cut the selected text"), G_CALLBACK (_action_cut_activate) },
{ "Copy", GTK_STOCK_COPY, { "Copy", GTK_STOCK_COPY,
NULL, "<Ctrl>c", NULL, "<Ctrl>c",
N_("Copy the selected text"), G_CALLBACK (_action_copy_activate) }, N_("Copy the selected text"), G_CALLBACK (_action_copy_activate) },
@ -2235,19 +2234,19 @@ static const GtkActionEntry entries[] = {
N_("Select all text"), G_CALLBACK (_action_select_all_activate) }, N_("Select all text"), G_CALLBACK (_action_select_all_activate) },
{ "Find", GTK_STOCK_FIND, { "Find", GTK_STOCK_FIND,
NULL, "<Ctrl>f", NULL, "<Ctrl>f",
"hm?", G_CALLBACK (_action_find_activate) }, N_("Find a word or phrase in the page"), G_CALLBACK (_action_find_activate) },
{ "FindNext", GTK_STOCK_GO_FORWARD, { "FindNext", GTK_STOCK_GO_FORWARD,
N_("Find _Next"), "<Ctrl>g", N_("Find _Next"), "<Ctrl>g",
"hm?", G_CALLBACK (_action_find_next_activate) }, N_("Find the next occurrence of a word or phrase"), G_CALLBACK (_action_find_next_activate) },
{ "FindPrevious", GTK_STOCK_GO_BACK, { "FindPrevious", GTK_STOCK_GO_BACK,
N_("Find _Previous"), "<Ctrl><Shift>g", N_("Find _Previous"), "<Ctrl><Shift>g",
"hm?", G_CALLBACK (_action_find_previous_activate) }, N_("Find the previous occurrence of a word or phrase"), G_CALLBACK (_action_find_previous_activate) },
{ "FindQuick", GTK_STOCK_FIND, { "FindQuick", GTK_STOCK_FIND,
N_("_Quick Find"), "period", N_("_Quick Find"), "period",
"hm?", NULL/*G_CALLBACK (_action_find_quick_activate)*/ }, N_("Quickly jump to a word or phrase"), NULL/*G_CALLBACK (_action_find_quick_activate)*/ },
{ "Preferences", GTK_STOCK_PREFERENCES, { "Preferences", GTK_STOCK_PREFERENCES,
NULL, "<Ctrl><Alt>p", NULL, "<Ctrl><Alt>p",
"hm?", G_CALLBACK (_action_preferences_activate) }, N_("Configure the application preferences"), G_CALLBACK (_action_preferences_activate) },
{ "View", NULL, N_("_View") }, { "View", NULL, N_("_View") },
{ "Toolbars", NULL, N_("_Toolbars") }, { "Toolbars", NULL, N_("_Toolbars") },
@ -2262,19 +2261,19 @@ static const GtkActionEntry entries[] = {
N_("Reload the current page"), G_CALLBACK (_action_reload_stop_activate) }, N_("Reload the current page"), G_CALLBACK (_action_reload_stop_activate) },
{ "ZoomIn", GTK_STOCK_ZOOM_IN, { "ZoomIn", GTK_STOCK_ZOOM_IN,
NULL, "<Ctrl>plus", NULL, "<Ctrl>plus",
"hm?", G_CALLBACK (_action_zoom_in_activate) }, N_("Increase the zoom level"), G_CALLBACK (_action_zoom_in_activate) },
{ "ZoomOut", GTK_STOCK_ZOOM_OUT, { "ZoomOut", GTK_STOCK_ZOOM_OUT,
NULL, "<Ctrl>minus", NULL, "<Ctrl>minus",
"hm?", G_CALLBACK (_action_zoom_out_activate) }, N_("Decrease the zoom level"), G_CALLBACK (_action_zoom_out_activate) },
{ "ZoomNormal", GTK_STOCK_ZOOM_100, { "ZoomNormal", GTK_STOCK_ZOOM_100,
NULL, "<Ctrl>0", NULL, "<Ctrl>0",
"hm?", G_CALLBACK (_action_zoom_normal_activate) }, N_("Reset the zoom level"), G_CALLBACK (_action_zoom_normal_activate) },
{ "SourceView", NULL, { "SourceView", NULL,
N_("View Source"), "", N_("View Source"), "",
"hm?", /*G_CALLBACK (_action_source_view_activate)*/ }, N_("View the source code of the page"), /*G_CALLBACK (_action_source_view_activate)*/ },
{ "SelectionSourceView", NULL, { "SelectionSourceView", NULL,
N_("View Selection Source"), "", N_("View Selection Source"), "",
"hm?", NULL/*G_CALLBACK (_action_selection_source_view_activate)*/ }, N_("View the source code of the selection"), NULL/*G_CALLBACK (_action_selection_source_view_activate)*/ },
{ "Fullscreen", GTK_STOCK_FULLSCREEN, { "Fullscreen", GTK_STOCK_FULLSCREEN,
NULL, "F11", NULL, "F11",
N_("Toggle fullscreen view"), G_CALLBACK (_action_fullscreen_activate) }, N_("Toggle fullscreen view"), G_CALLBACK (_action_fullscreen_activate) },
@ -2282,54 +2281,54 @@ static const GtkActionEntry entries[] = {
{ "Go", NULL, N_("_Go") }, { "Go", NULL, N_("_Go") },
{ "Back", GTK_STOCK_GO_BACK, { "Back", GTK_STOCK_GO_BACK,
NULL, "<Alt>Left", NULL, "<Alt>Left",
"hm?", G_CALLBACK (_action_back_activate) }, N_("Go back to the previous page"), G_CALLBACK (_action_back_activate) },
{ "Forward", GTK_STOCK_GO_FORWARD, { "Forward", GTK_STOCK_GO_FORWARD,
NULL, "<Alt>Right", NULL, "<Alt>Right",
"hm?", G_CALLBACK (_action_forward_activate) }, N_("Go forward to the next page"), G_CALLBACK (_action_forward_activate) },
{ "Homepage", STOCK_HOMEPAGE, { "Homepage", STOCK_HOMEPAGE,
NULL, "<Alt>Home", NULL, "<Alt>Home",
"hm?", G_CALLBACK (_action_homepage_activate) }, N_("Go to your homepage"), G_CALLBACK (_action_homepage_activate) },
{ "Location", GTK_STOCK_JUMP_TO, { "Location", GTK_STOCK_JUMP_TO,
N_("Location..."), "<Ctrl>l", N_("Location..."), "<Ctrl>l",
"hm?", G_CALLBACK (_action_location_activate) }, N_("Open a particular location"), G_CALLBACK (_action_location_activate) },
{ "Search", GTK_STOCK_FIND, { "Search", GTK_STOCK_FIND,
N_("Web Search..."), "<Ctrl><Shift>f", N_("Web Search..."), "<Ctrl><Shift>f",
"hm?", G_CALLBACK (_action_search_activate) }, N_("Run a web search"), G_CALLBACK (_action_search_activate) },
{ "OpenInPageholder", GTK_STOCK_JUMP_TO, { "OpenInPageholder", GTK_STOCK_JUMP_TO,
N_("Open in Page_holder..."), "", N_("Open in Page_holder..."), "",
"hm?", G_CALLBACK (_action_open_in_panel_activate) }, N_("Open the current page in the pageholder"), G_CALLBACK (_action_open_in_panel_activate) },
{ "Trash", STOCK_USER_TRASH, { "Trash", STOCK_USER_TRASH,
N_("Closed Tabs and Windows"), "", N_("Closed Tabs and Windows"), "",
N_("Reopen a previously closed tab or window"), NULL }, N_("Reopen a previously closed tab or window"), NULL },
{ "TrashEmpty", GTK_STOCK_CLEAR, { "TrashEmpty", GTK_STOCK_CLEAR,
N_("Empty Trash"), "", N_("Empty Trash"), "",
"hm?", G_CALLBACK (_action_trash_empty_activate) }, N_("Delete the contents of the trash"), G_CALLBACK (_action_trash_empty_activate) },
{ "UndoTabClose", GTK_STOCK_UNDELETE, { "UndoTabClose", GTK_STOCK_UNDELETE,
N_("Undo Close Tab"), "", N_("Undo Close Tab"), "",
"hm?", G_CALLBACK (_action_undo_tab_close_activate) }, N_("Open the last closed tab"), G_CALLBACK (_action_undo_tab_close_activate) },
{ "Bookmarks", NULL, N_("_Bookmarks") }, { "Bookmarks", NULL, N_("_Bookmarks") },
{ "BookmarkNew", STOCK_BOOKMARK_NEW, { "BookmarkNew", STOCK_BOOKMARK_NEW,
NULL, "<Ctrl>d", NULL, "<Ctrl>d",
"hm?", G_CALLBACK (_action_bookmark_new_activate) }, N_("Add a new bookmark"), G_CALLBACK (_action_bookmark_new_activate) },
{ "BookmarksManage", NULL, { "BookmarksManage", NULL,
N_("_Manage Bookmarks"), "<Ctrl>b", N_("_Manage Bookmarks"), "<Ctrl>b",
"hm?", NULL/*G_CALLBACK (_action_bookmarks_manage_activate)*/ }, N_("Add, edit and remove bookmarks..."), NULL/*G_CALLBACK (_action_bookmarks_manage_activate)*/ },
{ "BookmarkOpen", GTK_STOCK_OPEN, { "BookmarkOpen", GTK_STOCK_OPEN,
NULL, "", NULL, "",
"hm?", G_CALLBACK (_action_bookmark_open_activate) }, N_("Open the selected bookmark"), G_CALLBACK (_action_bookmark_open_activate) },
{ "BookmarkOpenTab", STOCK_TAB_NEW, { "BookmarkOpenTab", STOCK_TAB_NEW,
N_("Open in New _Tab"), "", N_("Open in New _Tab"), "",
"hm?", G_CALLBACK (_action_bookmark_open_tab_activate) }, N_("Open the selected bookmark in a new tab"), G_CALLBACK (_action_bookmark_open_tab_activate) },
{ "BookmarkOpenWindow", STOCK_WINDOW_NEW, { "BookmarkOpenWindow", STOCK_WINDOW_NEW,
N_("Open in New _Window"), "", N_("Open in New _Window"), "",
"hm?", G_CALLBACK (_action_bookmark_open_window_activate) }, N_("Open the selected bookmark in a new window"), G_CALLBACK (_action_bookmark_open_window_activate) },
{ "BookmarkEdit", GTK_STOCK_EDIT, { "BookmarkEdit", GTK_STOCK_EDIT,
NULL, "", NULL, "",
"hm?", G_CALLBACK (_action_bookmark_edit_activate) }, N_("Edit the selected bookmark"), G_CALLBACK (_action_bookmark_edit_activate) },
{ "BookmarkDelete", GTK_STOCK_DELETE, { "BookmarkDelete", GTK_STOCK_DELETE,
NULL, "", NULL, "",
"hm?", G_CALLBACK (_action_bookmark_delete_activate) }, N_("Delete the selected bookmark"), G_CALLBACK (_action_bookmark_delete_activate) },
{ "Tools", NULL, N_("_Tools") }, { "Tools", NULL, N_("_Tools") },
{ "ManageSearchEngines", GTK_STOCK_PROPERTIES, { "ManageSearchEngines", GTK_STOCK_PROPERTIES,
@ -2340,53 +2339,53 @@ static const GtkActionEntry entries[] = {
{ "Window", NULL, N_("_Window") }, { "Window", NULL, N_("_Window") },
{ "TabPrevious", GTK_STOCK_GO_BACK, { "TabPrevious", GTK_STOCK_GO_BACK,
N_("_Previous Tab"), "<Ctrl>Page_Up", N_("_Previous Tab"), "<Ctrl>Page_Up",
"hm?", G_CALLBACK (_action_tab_previous_activate) }, N_("Switch to the previous tab"), G_CALLBACK (_action_tab_previous_activate) },
{ "TabNext", GTK_STOCK_GO_FORWARD, { "TabNext", GTK_STOCK_GO_FORWARD,
N_("_Next Tab"), "<Ctrl>Page_Down", N_("_Next Tab"), "<Ctrl>Page_Down",
"hm?", G_CALLBACK (_action_tab_next_activate) }, N_("Switch to the next tab"), G_CALLBACK (_action_tab_next_activate) },
{ "TabOverview", NULL, { "TabOverview", NULL,
N_("Tab _Overview"), "", N_("Tab _Overview"), "",
"hm?", NULL/*G_CALLBACK (_action_tab_overview_activate)*/ }, N_("Show an overview of all open tabs"), NULL/*G_CALLBACK (_action_tab_overview_activate)*/ },
{ "Help", NULL, N_("_Help") }, { "Help", NULL, N_("_Help") },
{ "HelpContents", GTK_STOCK_HELP, { "HelpContents", GTK_STOCK_HELP,
N_("_Contents"), "F1", N_("_Contents"), "F1",
"hm?", NULL/*G_CALLBACK (_action_help_contents_activate)*/ }, N_("Show the documentation"), NULL/*G_CALLBACK (_action_help_contents_activate)*/ },
{ "About", GTK_STOCK_ABOUT, { "About", GTK_STOCK_ABOUT,
NULL, "", NULL, "",
"hm?", G_CALLBACK (_action_about_activate) }, N_("Show information about the program"), G_CALLBACK (_action_about_activate) },
}; };
static const guint entries_n = G_N_ELEMENTS (entries); static const guint entries_n = G_N_ELEMENTS (entries);
static const GtkToggleActionEntry toggle_entries[] = { static const GtkToggleActionEntry toggle_entries[] = {
{ "PrivateBrowsing", NULL, { "PrivateBrowsing", NULL,
N_("P_rivate Browsing"), "", N_("P_rivate Browsing"), "",
"hm?", NULL/*G_CALLBACK (_action_private_browsing_activate)*/, N_("Don't save any private data while browsing"), NULL/*G_CALLBACK (_action_private_browsing_activate)*/,
FALSE }, FALSE },
{ "WorkOffline", GTK_STOCK_DISCONNECT, { "WorkOffline", GTK_STOCK_DISCONNECT,
N_("_Work Offline"), "", N_("_Work Offline"), "",
"hm?", NULL/*G_CALLBACK (_action_work_offline_activate)*/, N_("Work without a network connection"), NULL/*G_CALLBACK (_action_work_offline_activate)*/,
FALSE }, FALSE },
{ "Navigationbar", NULL, { "Navigationbar", NULL,
N_("_Navigationbar"), "", N_("_Navigationbar"), "",
"hm?", G_CALLBACK (_action_navigationbar_activate), N_("Show navigationbar"), G_CALLBACK (_action_navigationbar_activate),
FALSE }, FALSE },
{ "Panel", NULL, { "Panel", NULL,
N_("Side_panel"), "F9", N_("Side_panel"), "F9",
"hm?", G_CALLBACK (_action_panel_activate), N_("Show sidepanel"), G_CALLBACK (_action_panel_activate),
FALSE }, FALSE },
{ "Bookmarkbar", NULL, { "Bookmarkbar", NULL,
N_("_Bookmarkbar"), "", N_("_Bookmarkbar"), "",
"hm?", G_CALLBACK (_action_bookmarkbar_activate), N_("Show bookmarkbar"), G_CALLBACK (_action_bookmarkbar_activate),
FALSE }, FALSE },
{ "Transferbar", NULL, { "Transferbar", NULL,
N_("_Transferbar"), "", N_("_Transferbar"), "",
"hm?", NULL/*G_CALLBACK (_action_transferbar_activate)*/, N_("Show transferbar"), NULL/*G_CALLBACK (_action_transferbar_activate)*/,
FALSE }, FALSE },
{ "Statusbar", NULL, { "Statusbar", NULL,
N_("_Statusbar"), "", N_("_Statusbar"), "",
"hm?", G_CALLBACK (_action_statusbar_activate), N_("Show statusbar"), G_CALLBACK (_action_statusbar_activate),
FALSE }, FALSE },
}; };
static const guint toggle_entries_n = G_N_ELEMENTS (toggle_entries); static const guint toggle_entries_n = G_N_ELEMENTS (toggle_entries);