You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2017/11/25 14:40:59 UTC

svn commit: r1816297 - in /ofbiz/ofbiz-framework/trunk/applications/party: config/PartyUiLabels.xml minilang/user/UserEvents.xml

Author: jleroux
Date: Sat Nov 25 14:40:59 2017
New Revision: 1816297

URL: http://svn.apache.org/viewvc?rev=1816297&view=rev
Log:
Fixed: Incorrect success message after creating prospect
(OFBIZ-9896)

Navigate to https://demo-trunk.ofbiz.apache.org/partymgr/control/NewProspect
after creating the prospect, success message is 
'ProductStoreRole is created successfully'.

jlrroux: I simply removed the uppercase for Prospect in French :)
I let others check their languages

Thanks: Sonal Patwari and Lalit Dashora 

Modified:
    ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml
    ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml?rev=1816297&r1=1816296&r2=1816297&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/config/PartyUiLabels.xml Sat Nov 25 14:40:59 2017
@@ -1995,6 +1995,21 @@
         <value xml:lang="zh">年为雇主</value>
         <value xml:lang="zh-TW">受雇年數</value>
     </property>
+    <property key="NewProspect">
+        <value xml:lang="ar">تم إنشاء بروسبكت جديد بنجاح.</value>
+        <value xml:lang="de">Neuer Prospect wurde erfolgreich erstellt.</value>
+        <value xml:lang="es">Nueva perspectiva creada con éxito.</value>
+        <value xml:lang="fr">Nouveau prospect créé avec succès.</value>
+        <value xml:lang="hi-IN">नई संभावना सफलतापूर्वक बनाया</value>
+        <value xml:lang="en">New Prospect created Successfully.</value>
+        <value xml:lang="it">Nuova prospettiva creata con successo.</value>
+        <value xml:lang="ja">新しい見通しが作成されました。</value>
+        <value xml:lang="nl">Nieuwe Prospect is met succes gemaakt.</value>
+        <value xml:lang="pt-BR">Nova Perspectiva criada com sucesso.</value>
+        <value xml:lang="ru">Новый проспект создан успешно.</value>
+        <value xml:lang="th">โอกาสใหม่ที่สร้างเสร็จเรียบร้อยแล้ว</value>
+        <value xml:lang="vi">Triển vọng Mới được tạo thành công.</value>
+    </property>
     <property key="PageTitleAddPartyContent">
         <value xml:lang="ar">إضافة محتوى للطرف</value>
         <value xml:lang="de">Akteur Inhalt hinzufügen</value>

Modified: ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml?rev=1816297&r1=1816296&r2=1816297&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/party/minilang/user/UserEvents.xml Sat Nov 25 14:40:59 2017
@@ -434,6 +434,8 @@ under the License.
         <set field="emailContext.productStoreId" from-field="parameters.PRODUCT_STORE_ID"/>
         <set-service-fields service-name="sendCreatePartyEmailNotification" map="emailContext" to-map="serviceInMap"/>
         <call-service-asynch service-name="sendCreatePartyEmailNotification" in-map-name="serviceInMap"/>
+        <property-to-field field="newProspectMessage" resource="PartyUiLabels" property="NewProspect"/>
+        <set field="_event_message_" value="${newProspectMessage}" />
     </simple-method>
 
 </simple-methods>