This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6a8595347b Improved: SFA MainActionMenu and labels (OFBIZ-13037) (#772)
6a8595347b is described below
commit 6a8595347b123fe8ab8c264058b00bfe4aed8278
Author: Pierre Smits <[email protected]>
AuthorDate: Wed Apr 17 09:23:01 2024 +0200
Improved: SFA MainActionMenu and labels (OFBIZ-13037) (#772)
modified:
MarketingUiLabels.xml: improved dutch translations, added SfaNewLead
SfaMenus.xml: added menu-item NewLead, corrected titles
PartyUiLabels.xml: improved dutch translation
correcting typo
---
applications/marketing/config/MarketingUiLabels.xml | 12 +++++++++---
applications/marketing/widget/sfa/SfaMenus.xml | 10 ++++++++--
applications/party/config/PartyUiLabels.xml | 1 +
3 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/applications/marketing/config/MarketingUiLabels.xml
b/applications/marketing/config/MarketingUiLabels.xml
index 85351a021c..dada0609f2 100644
--- a/applications/marketing/config/MarketingUiLabels.xml
+++ b/applications/marketing/config/MarketingUiLabels.xml
@@ -3396,12 +3396,13 @@
<value xml:lang="zh-TW">請輸入人員的姓或名,或機構名稱</value>
</property>
<property key="SfaForecasts">
- <value xml:lang="de">Prognose</value>
- <value xml:lang="en">Forecast</value>
+ <value xml:lang="de">Prognosen</value>
+ <value xml:lang="en">Forecasts</value>
<value xml:lang="es">Previsión</value>
<value xml:lang="fr">Prévisions</value>
<value xml:lang="it">Previsioni</value>
<value xml:lang="ja">予測</value>
+ <value xml:lang="nl">Prognoses</value>
<value xml:lang="pt-BR">Previsão</value>
<value xml:lang="vi">Dự báo</value>
<value xml:lang="zh">预测</value>
@@ -3478,11 +3479,16 @@
<value xml:lang="fr">Prospect</value>
<value xml:lang="it">Lead</value>
<value xml:lang="ja">リード</value>
+ <value xml:lang="nl">Lead</value>
<value xml:lang="pt-BR">Lead</value>
<value xml:lang="vi">Đầu mối</value>
<value xml:lang="zh">线索</value>
<value xml:lang="zh-TW">線索</value>
</property>
+ <property key="SfaNewLead">
+ <value xml:lang="en">New Lead</value>
+ <value xml:lang="nl">Nieuwe lead</value>
+ </property>
<property key="SfaLeadCreatedSuccessfully">
<value xml:lang="en">Lead created successfully</value>
</property>
@@ -3637,8 +3643,8 @@
<value xml:lang="es">Nueva previsión de Ventas</value>
<value xml:lang="fr">Nouvelle prévision de vente</value>
<value xml:lang="it">Nuova Previsioni di vendita</value>
- <!-- JLR : not quite sure of the translation here (done with the help of
Yahoo's babelfish), please check -->
<value xml:lang="ja">新規販売予測</value>
+ <value xml:lang="nl">Nieuwe prognose</value>
<value xml:lang="pt-BR">Nova previsão de vendas</value>
<value xml:lang="vi">Tạo mới Dự báo bán hàng</value>
<value xml:lang="zh">新的销售展望</value>
diff --git a/applications/marketing/widget/sfa/SfaMenus.xml
b/applications/marketing/widget/sfa/SfaMenus.xml
index ef83d04d20..35d096a577 100644
--- a/applications/marketing/widget/sfa/SfaMenus.xml
+++ b/applications/marketing/widget/sfa/SfaMenus.xml
@@ -44,13 +44,19 @@ under the License.
</condition>
<link target="NewContact"/>
</menu-item>
- <menu-item name="NewOpportunity" title="${uiLabelMap.CommonNew}
${uiLabelMap.SfaOpportunity}">
+ <menu-item name="NewLead" title="${uiLabelMap.SfaNewLead}">
+ <condition>
+ <if-has-permission permission="SFA" action="CREATE"/>
+ </condition>
+ <link target="NewLead"/>
+ </menu-item>
+ <menu-item name="NewOpportunity"
title="${uiLabelMap.PartyCommEventCreateOpportunity}">
<condition>
<if-has-permission permission="SFA" action="CREATE"/>
</condition>
<link target="EditSalesOpportunity"/>
</menu-item>
- <menu-item name="NewForeCast" title="${uiLabelMap.CommonNew}
${uiLabelMap.SfaForecast}">
+ <menu-item name="NewForeCast"
title="${uiLabelMap.SfaNewSalesForecast}">
<condition>
<if-has-permission permission="SFA" action="CREATE"/>
</condition>
diff --git a/applications/party/config/PartyUiLabels.xml
b/applications/party/config/PartyUiLabels.xml
index 2769d14251..f0f37ee45a 100644
--- a/applications/party/config/PartyUiLabels.xml
+++ b/applications/party/config/PartyUiLabels.xml
@@ -4561,6 +4561,7 @@
<value xml:lang="en">Create Opportunity</value>
<value xml:lang="it">Creare opportunità</value>
<value xml:lang="ja">機会を作成</value>
+ <value xml:lang="nl">Nieuwe Opportunity</value>
<value xml:lang="pt-BR">Criar oportunidade</value>
<value xml:lang="vi">Tạo mới cơ hội</value>
<value xml:lang="zh">创建沟通</value>