From 5423190356a3e8fa963dfb7c7402f5fbd7ada8ad Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Tue, 7 Mar 2006 20:43:25 +0000 Subject: [PATCH] Improve i18n string for separator character sample git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13518 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome-utils/dialog-preferences.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/gnome-utils/dialog-preferences.c b/src/gnome-utils/dialog-preferences.c index 9b60fcca6a..9490637dd5 100644 --- a/src/gnome-utils/dialog-preferences.c +++ b/src/gnome-utils/dialog-preferences.c @@ -131,8 +131,15 @@ gnc_account_separator_prefs_cb (GConfEntry *unused, GtkWidget *dialog) gchar *sample; label = gnc_glade_lookup_widget(dialog, "sample_account"); - sample = g_strjoin(gnc_get_account_separator_string(), - _("Income"), _("Salary"), _("Taxable"), NULL); + /* Translators: Both %s will be the account separator character; the + resulting string is a demonstration how the account separator + character will look like. You can replace these three account + names with other account names that are more suitable for your + language - just keep in mind to have exactly two %s in your + translation. */ + sample = g_strdup_printf(_("Income%sSalary%sTaxable"), + gnc_get_account_separator_string(), + gnc_get_account_separator_string()); DEBUG(" Label set to '%s'", sample); gtk_label_set_text(GTK_LABEL(label), sample); g_free(sample);