[Gnucash-changes] r12300 - gnucash/trunk/src - Add more tooltips to main window buttons. i18n improvements.

Christian Stimming cstim at cvs.gnucash.org
Sun Jan 8 16:37:31 EST 2006


Author: cstim
Date: 2006-01-08 16:37:30 -0500 (Sun, 08 Jan 2006)
New Revision: 12300
Trac: http://svn.gnucash.org/trac/changeset/12300

Modified:
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
   gnucash/trunk/src/gnome/glade/register.glade
Log:
Add more tooltips to main window buttons. i18n improvements. 

Modified: gnucash/trunk/src/gnome/glade/register.glade
===================================================================
--- gnucash/trunk/src/gnome/glade/register.glade	2006-01-08 17:51:29 UTC (rev 12299)
+++ gnucash/trunk/src/gnome/glade/register.glade	2006-01-08 21:37:30 UTC (rev 12300)
@@ -1305,8 +1305,8 @@
       <child>
 	<widget class="GtkToolButton" id="gnc_register_close_b">
 	  <property name="visible">True</property>
-	  <property name="tooltip" translatable="yes">NOTUSED: Defined in src/gnome/window-register.c</property>
-	  <property name="label" translatable="yes">Close</property>
+	  <property name="tooltip">NOTUSED: Defined in src/gnome/window-register.c</property>
+	  <property name="label">Close</property>
 	  <property name="use_underline">True</property>
 	  <property name="stock_id">gtk-close</property>
 	  <property name="visible_horizontal">True</property>
@@ -1336,8 +1336,8 @@
       <child>
 	<widget class="GtkToolButton" id="gnc_register_xfer_b">
 	  <property name="visible">True</property>
-	  <property name="tooltip" translatable="yes">NOTUSED: Defined in src/gnome/window-register.c</property>
-	  <property name="label" translatable="yes">Transfer</property>
+	  <property name="tooltip">NOTUSED: Defined in src/gnome/window-register.c</property>
+	  <property name="label">Transfer</property>
 	  <property name="use_underline">True</property>
 	  <property name="stock_id">gtk-convert</property>
 	  <property name="visible_horizontal">True</property>
@@ -1367,8 +1367,8 @@
       <child>
 	<widget class="GtkToolButton" id="gnc_register_find_b">
 	  <property name="visible">True</property>
-	  <property name="tooltip" translatable="yes">NOTUSED: Defined in src/gnome/window-register.c</property>
-	  <property name="label" translatable="yes">Find</property>
+	  <property name="tooltip">NOTUSED: Defined in src/gnome/window-register.c</property>
+	  <property name="label">Find</property>
 	  <property name="use_underline">True</property>
 	  <property name="stock_id">gtk-find</property>
 	  <property name="visible_horizontal">True</property>
@@ -1385,8 +1385,8 @@
       <child>
 	<widget class="GtkToolButton" id="gnc_register_report_b">
 	  <property name="visible">True</property>
-	  <property name="tooltip" translatable="yes">NOTUSED: Defined in src/gnome/window-register.c</property>
-	  <property name="label" translatable="yes">Report</property>
+	  <property name="tooltip">NOTUSED: Defined in src/gnome/window-register.c</property>
+	  <property name="label">Report</property>
 	  <property name="use_underline">True</property>
 	  <property name="stock_id">gnome-stock-book-green</property>
 	  <property name="visible_horizontal">True</property>
@@ -1403,8 +1403,8 @@
       <child>
 	<widget class="GtkToolButton" id="gnc_register_print_b">
 	  <property name="visible">True</property>
-	  <property name="tooltip" translatable="yes">NOTUSED: Defined in src/gnome/window-register.c</property>
-	  <property name="label" translatable="yes">Print</property>
+	  <property name="tooltip">NOTUSED: Defined in src/gnome/window-register.c</property>
+	  <property name="label">Print</property>
 	  <property name="use_underline">True</property>
 	  <property name="stock_id">gtk-print</property>
 	  <property name="visible_horizontal">True</property>

Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c	2006-01-08 17:51:29 UTC (rev 12299)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c	2006-01-08 21:37:30 UTC (rev 12300)
@@ -226,29 +226,34 @@
 	{ "FileOpenMenuAction", GTK_STOCK_OPEN, N_("_Open"), "", NULL, NULL },
 	{ "FileImportAction", NULL, N_("_Import"), NULL, NULL, NULL },
 	{ "FileExportAction", NULL, N_("_Export"), NULL, NULL, NULL },
-	{ "FilePrintAction", GTK_STOCK_PRINT, N_("_Print..."), "<control>p", NULL, NULL },
+	{ "FilePrintAction", GTK_STOCK_PRINT, N_("_Print..."), "<control>p", 
+	  N_("Print the currently active page"), NULL },
 	{ "FilePropertiesAction", GTK_STOCK_PROPERTIES, N_("Proper_ties"), "<Alt>Return",
-	  NULL,
+	  N_("Edit the properties of the current file"),
 	  G_CALLBACK (gnc_main_window_cmd_file_properties) },
 	{ "FileCloseAction", GTK_STOCK_CLOSE, N_("_Close"), NULL,
-	  NULL,
+	  N_("Close the currently active page"),
 	  G_CALLBACK (gnc_main_window_cmd_file_close) },
 	{ "FileQuitAction", GTK_STOCK_QUIT, N_("_Quit"), NULL,
-	  NULL,
+	  N_("Quit this application"),
 	  G_CALLBACK (gnc_main_window_cmd_file_quit) },
 
 	/* Edit menu */
 
-	{ "EditCutAction", GTK_STOCK_CUT, N_("Cu_t"), NULL, NULL, NULL },
-	{ "EditCopyAction", GTK_STOCK_COPY, N_("_Copy"), NULL, NULL, NULL },
-	{ "EditPasteAction", GTK_STOCK_PASTE, N_("_Paste"), NULL, NULL, NULL },
+	{ "EditCutAction", GTK_STOCK_CUT, N_("Cu_t"), NULL, 
+	  N_("Cut the current selection and copy it to clipboard"), NULL },
+	{ "EditCopyAction", GTK_STOCK_COPY, N_("_Copy"), NULL, 
+	  N_("Copy the current selection to clipboard"), NULL },
+	{ "EditPasteAction", GTK_STOCK_PASTE, N_("_Paste"), NULL,
+	  N_("Paste the clipboard content at the cursor position"), NULL },
 	{ "EditPreferencesAction", GTK_STOCK_PREFERENCES, N_("Pr_eferences"), NULL,
-	  NULL,
+	  N_("Edit the global preferences of GnuCash"),
 	  G_CALLBACK (gnc_main_window_cmd_edit_preferences) },
 
 	/* View menu */
 
-	{ "ViewSortByAction", NULL, N_("_Sort By..."), NULL, NULL, NULL },
+	{ "ViewSortByAction", NULL, N_("_Sort By..."), NULL, 
+	  N_("Select sorting criteria for this page view"), NULL },
 	{ "ViewFilterByAction", NULL, N_("_Filter By..."), NULL, 
 	  N_("Select the account types that should be displayed."), NULL },
 	{ "ViewRefreshAction", GTK_STOCK_REFRESH, N_("_Refresh"), "<control>r",
@@ -283,7 +288,7 @@
 	  N_("Open the GnuCash Help"),
 	  G_CALLBACK (gnc_main_window_cmd_help_contents) },
 	{ "HelpAboutAction", GNOME_STOCK_ABOUT, N_("_About"), NULL,
-	  NULL,
+	  N_("About GnuCash"),
 	  G_CALLBACK (gnc_main_window_cmd_help_about) },
 };
 /** The number of actions provided by the main window. */



More information about the gnucash-changes mailing list