Fix wrong toolbar label and menu entry for stock assistant

This commit is contained in:
Robert Fewell 2023-01-29 11:40:44 +00:00
parent cbb3bd4618
commit 8a02f168b0
3 changed files with 9 additions and 3 deletions

View File

@ -416,6 +416,7 @@ static GncToolBarShortNames toolbar_labels[] =
{ "LinkTransactionAction", N_ ("Manage Document Link") },
{ "LinkedTransactionOpenAction", N_ ("Open Linked Document") },
{ "JumpLinkedInvoiceAction", N_ ("Invoice") },
{ "ActionsStockAssistantAction", N_ ("Stock Assistant") },
{ NULL, NULL },
};

View File

@ -141,7 +141,7 @@
<attribute name="temp" translatable="no">yes</attribute>
</item>
<item>
<attribute name="label" translatable="no">Stock Ass_istant</attribute>
<attribute name="label" translatable="no">Stock Ass_istant</attribute>
<attribute name="action">GncPluginPageAccountTreeActions.ActionsStockAssistantAction</attribute>
<attribute name="tooltip" translatable="yes">Stock Assistant</attribute>
<attribute name="temp" translatable="no">yes</attribute>
@ -245,6 +245,11 @@
<attribute name="action">GncPluginPageAccountTreeActions.ActionsTransferAction</attribute>
<attribute name="tooltip" translatable="yes">Transfer funds from one account to another</attribute>
</item>
<item>
<attribute name="label" translatable="no">Stock Ass_istant…</attribute>
<attribute name="action">GncPluginPageAccountTreeActions.ActionsStockAssistantAction</attribute>
<attribute name="tooltip" translatable="yes">Stock Assistant</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Stoc_k Split…</attribute>
<attribute name="action">GncPluginPageAccountTreeActions.ActionsStockSplitAction</attribute>

View File

@ -245,7 +245,7 @@
<attribute name="temp" translatable="no">yes</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Stock Ass_istant</attribute>
<attribute name="label" translatable="yes">Stock Ass_istant</attribute>
<attribute name="action">GncPluginPageRegisterActions.ActionsStockAssistantAction</attribute>
<attribute name="tooltip" translatable="yes">Stock Assistant</attribute>
<attribute name="temp" translatable="no">yes</attribute>
@ -709,7 +709,7 @@
<object class="GtkToolButton" id="but13">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Stoc_k Split…</property>
<property name="label" translatable="yes">Stock Ass_istant…</property>
<property name="action-name">GncPluginPageRegisterActions.ActionsStockAssistantAction</property>
<property name="tooltip-text" translatable="yes">Stock Assistant</property>
<property name="use-underline">True</property>