You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by nm...@apache.org on 2020/02/22 11:09:13 UTC

[ofbiz-framework] branch trunk updated (211c192 -> 2d9a508)

This is an automated email from the ASF dual-hosted git repository.

nmalin pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git.


    from 211c192  Provide a FileItem entry in UtilHttp.getMultiPartParameterMap. (OFBIZ-11346)
     new a262cdd  Improved: Convert ContactMechServices.xml mini-lang to groovyDSL (OFBIZ-11358)
     new 2d9a508  Fixed: Convert ContactMechServices.xml mini-lang to groovyDSL (OFBIZ-11358)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 applications/party/config/PartyUiLabels.xml            | 18 ++++++++++++++++++
 .../groovyScripts/contact/ContactMechServices.groovy   |  2 +-
 2 files changed, 19 insertions(+), 1 deletion(-)


[ofbiz-framework] 01/02: Improved: Convert ContactMechServices.xml mini-lang to groovyDSL (OFBIZ-11358)

Posted by nm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit a262cdd84a588225147bc400231f0fb09f5b5746
Author: Nicolas Malin <ni...@nereide.fr>
AuthorDate: Sat Feb 22 11:34:38 2020 +0100

    Improved: Convert ContactMechServices.xml mini-lang to groovyDSL
    (OFBIZ-11358)
    
    Forgot to load the new label 'PartyNothingToDoHere' introduce with commit
    c51f703d36e43187b139d3895187170536621a62
---
 applications/party/config/PartyUiLabels.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/applications/party/config/PartyUiLabels.xml b/applications/party/config/PartyUiLabels.xml
index 093f53b..14e14ae 100644
--- a/applications/party/config/PartyUiLabels.xml
+++ b/applications/party/config/PartyUiLabels.xml
@@ -9869,6 +9869,24 @@
         <value xml:lang="zh">无法创建便笺:${errorString}</value>
         <value xml:lang="zh-TW">無法新建便箋:${errorString}</value>
     </property>
+    <property key="PartyNothingToDoHere">
+        <value xml:lang="ar">لا يوجد شئ تفعله هنا</value>
+        <value xml:lang="de">Nichts zu tun hier.</value>
+        <value xml:lang="en">Nothing To Do Here</value>
+        <value xml:lang="es">Nada que hacer aqui</value>
+        <value xml:lang="fr">Rien à faire ici</value>
+        <value xml:lang="hi-IN">कुछ करने योग्य नहीं.</value>
+        <value xml:lang="it">Niente da fare qui.</value>
+        <value xml:lang="ja">ここにはなにもありません</value>
+        <value xml:lang="nl">Niets te doen hier.</value>
+        <value xml:lang="pt-BR">Nada a ser feito aqui.</value>
+        <value xml:lang="ro">Nu este nimic de facut aici.</value>
+        <value xml:lang="ru">Нет никаких действий.</value>
+        <value xml:lang="th">ไม่มีการทำที่นี่</value>
+        <value xml:lang="vi">Không có việc gì để thực hiện</value>
+        <value xml:lang="zh">这里没有可操作的</value>
+        <value xml:lang="zh-TW">這裡沒有可操作的.</value>
+    </property>
     <property key="PartyNotificationMailActivated">
         <value xml:lang="de">Akteur Kontoaktivierung Mailbenachrichtigung</value>
         <value xml:lang="en">Party Account Activated Notification Mail</value>


[ofbiz-framework] 02/02: Fixed: Convert ContactMechServices.xml mini-lang to groovyDSL (OFBIZ-11358)

Posted by nm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 2d9a5081fb7604db288e9aec571833ac58c2fdef
Author: Nicolas Malin <ni...@nereide.fr>
AuthorDate: Sat Feb 22 12:08:37 2020 +0100

    Fixed: Convert ContactMechServices.xml mini-lang to groovyDSL
    (OFBIZ-11358)
    
    Add missing parenthesis to generate success message with elvis syntax
---
 applications/party/groovyScripts/contact/ContactMechServices.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/party/groovyScripts/contact/ContactMechServices.groovy b/applications/party/groovyScripts/contact/ContactMechServices.groovy
index 26b259e..14bfb12 100644
--- a/applications/party/groovyScripts/contact/ContactMechServices.groovy
+++ b/applications/party/groovyScripts/contact/ContactMechServices.groovy
@@ -37,7 +37,7 @@ def updateContactMech() {
             default: 'ContactMechanism'
     ]
     String successMessage = "Party" +
-            successMessageMap."${parameters.contactMechTypeId}" ?: successMessageMap.default +
+            (successMessageMap."${parameters.contactMechTypeId}" ?: successMessageMap.default) +
             "SuccessfullyUpdated"
     GenericValue lookedValue = from('ContactMech').where(parameters).queryOne()
     if (! lookedValue) {