mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Improve i18n string for separator character sample
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13518 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
782db97630
commit
5423190356
@ -131,8 +131,15 @@ gnc_account_separator_prefs_cb (GConfEntry *unused, GtkWidget *dialog)
|
|||||||
gchar *sample;
|
gchar *sample;
|
||||||
|
|
||||||
label = gnc_glade_lookup_widget(dialog, "sample_account");
|
label = gnc_glade_lookup_widget(dialog, "sample_account");
|
||||||
sample = g_strjoin(gnc_get_account_separator_string(),
|
/* Translators: Both %s will be the account separator character; the
|
||||||
_("Income"), _("Salary"), _("Taxable"), NULL);
|
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);
|
DEBUG(" Label set to '%s'", sample);
|
||||||
gtk_label_set_text(GTK_LABEL(label), sample);
|
gtk_label_set_text(GTK_LABEL(label), sample);
|
||||||
g_free(sample);
|
g_free(sample);
|
||||||
|
Loading…
Reference in New Issue
Block a user