mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Change the text string 'Accounts Selected:' to include number
This is a follow up on the previous commit to change a couple of translatable text strings to include the placement of the number using %d
This commit is contained in:
parent
0a212f5b98
commit
7a17d329ec
@ -868,8 +868,7 @@ gnc_tax_info_update_accounts (TaxInfoDialog *ti_dialog)
|
|||||||
num_accounts = gtk_tree_selection_count_selected_rows (selection);
|
num_accounts = gtk_tree_selection_count_selected_rows (selection);
|
||||||
|
|
||||||
label = ti_dialog->num_acct_label;
|
label = ti_dialog->num_acct_label;
|
||||||
|
string = g_strdup_printf (_("Accounts Selected: %d"), num_accounts);
|
||||||
string = g_strdup_printf ("%d", num_accounts);
|
|
||||||
gtk_label_set_text (GTK_LABEL (label), string);
|
gtk_label_set_text (GTK_LABEL (label), string);
|
||||||
g_free (string);
|
g_free (string);
|
||||||
|
|
||||||
|
@ -313,24 +313,10 @@ Select the type of Export required and the separator that will be used.
|
|||||||
<property name="position">0</property>
|
<property name="position">0</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="label847733">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="label" translatable="yes">Accounts Selected:</property>
|
|
||||||
<property name="justify">center</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="num_accounts_label">
|
<object class="GtkLabel" id="num_accounts_label">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
<property name="label">0</property>
|
|
||||||
<property name="justify">center</property>
|
<property name="justify">center</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.38.2 -->
|
<!-- Generated with glade 3.40.0 -->
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.22"/>
|
<requires lib="gtk+" version="3.22"/>
|
||||||
<object class="GtkAdjustment" id="copy_spin_adj">
|
<object class="GtkAdjustment" id="copy_spin_adj">
|
||||||
@ -369,24 +369,10 @@
|
|||||||
<property name="position">0</property>
|
<property name="position">0</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="label847733">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="label" translatable="yes">Accounts Selected:</property>
|
|
||||||
<property name="justify">center</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="expand">False</property>
|
|
||||||
<property name="fill">False</property>
|
|
||||||
<property name="position">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="num_accounts_label">
|
<object class="GtkLabel" id="num_accounts_label">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
<property name="label">0</property>
|
|
||||||
<property name="justify">center</property>
|
<property name="justify">center</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
|
@ -398,8 +398,7 @@ update_accounts_tree (CsvExportInfo *info)
|
|||||||
num_accounts = gtk_tree_selection_count_selected_rows (selection);
|
num_accounts = gtk_tree_selection_count_selected_rows (selection);
|
||||||
|
|
||||||
label = info->csva.num_acct_label;
|
label = info->csva.num_acct_label;
|
||||||
|
string = g_strdup_printf (_("Accounts Selected: %d"), num_accounts);
|
||||||
string = g_strdup_printf ("%d", num_accounts);
|
|
||||||
gtk_label_set_text (GTK_LABEL (label), string);
|
gtk_label_set_text (GTK_LABEL (label), string);
|
||||||
g_free (string);
|
g_free (string);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user