r18334 - gnucash/trunk/src/gnome-utils - Clarify documentation: Preference tab names must be translated everywhere.

Christian Stimming cstim at code.gnucash.org
Wed Sep 23 04:15:05 EDT 2009


Author: cstim
Date: 2009-09-23 04:15:05 -0400 (Wed, 23 Sep 2009)
New Revision: 18334
Trac: http://svn.gnucash.org/trac/changeset/18334

Modified:
   gnucash/trunk/src/gnome-utils/dialog-preferences.h
Log:
Clarify documentation: Preference tab names must be translated everywhere.

Modified: gnucash/trunk/src/gnome-utils/dialog-preferences.h
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-preferences.h	2009-09-23 08:14:54 UTC (rev 18333)
+++ gnucash/trunk/src/gnome-utils/dialog-preferences.h	2009-09-23 08:15:05 UTC (rev 18334)
@@ -54,6 +54,9 @@
     selected) feel free to go ahead and add your own callbacks to the
     glade file.  This code will connect any callbacks that exist in
     the glade file.
+
+    The tab names are user-visible strings, so they must be translated
+    each time the tab name is accessed or specified.
 */
 
 #ifndef GNC_DIALOG_PREFERENCES_H
@@ -70,7 +73,7 @@
  *  
  *  @param widgetname The name of the widget to extract from the glade file.
  *  
- *  @param tabname The name this page of preferences should have in
+ *  @param tabname The (translated!) name this page of preferences should have in
  *  the dialog notebook. */
 void gnc_preferences_add_page (const gchar *filename,
 			       const gchar *widgetname,
@@ -88,7 +91,7 @@
  *  
  *  @param widgetname The name of the widget to extract from the glade file.
  *  
- *  @param tabname The name this page of preferences should have in
+ *  @param tabname The (translated!) name this page of preferences should have in
  *  the dialog notebook. */
 void gnc_preferences_add_to_page (const gchar *filename,
 				  const gchar *widgetname,



More information about the gnucash-changes mailing list