From 401effd9d92edd8e09b2e08d3562ad67d7254d12 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Wed, 23 Sep 2009 08:15:05 +0000 Subject: [PATCH] Clarify documentation: Preference tab names must be translated everywhere. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18334 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome-utils/dialog-preferences.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gnome-utils/dialog-preferences.h b/src/gnome-utils/dialog-preferences.h index 65ae1a0b0a..2137f29947 100644 --- a/src/gnome-utils/dialog-preferences.h +++ b/src/gnome-utils/dialog-preferences.h @@ -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 @@ void gnc_preferences_add_page (const gchar *filename, * * @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,