[Gnucash-changes] r13518 - gnucash/trunk/src/gnome-utils - Improve i18n string for separator character sample

Christian Stimming cstim at cvs.gnucash.org
Tue Mar 7 15:43:26 EST 2006


Author: cstim
Date: 2006-03-07 15:43:25 -0500 (Tue, 07 Mar 2006)
New Revision: 13518
Trac: http://svn.gnucash.org/trac/changeset/13518

Modified:
   gnucash/trunk/src/gnome-utils/dialog-preferences.c
Log:
Improve i18n string for separator character sample

Modified: gnucash/trunk/src/gnome-utils/dialog-preferences.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-preferences.c	2006-03-07 20:42:53 UTC (rev 13517)
+++ gnucash/trunk/src/gnome-utils/dialog-preferences.c	2006-03-07 20:43:25 UTC (rev 13518)
@@ -131,8 +131,15 @@
   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);



More information about the gnucash-changes mailing list