From 611d4cf979434516402e5c258726590b4c82b919 Mon Sep 17 00:00:00 2001
From: "j.goderbauer" <j.goderbauer@adito.de>
Date: Fri, 20 Dec 2019 08:48:22 +0100
Subject: [PATCH] Attributes: rename button

---
 entity/Attribute_entity/Attribute_entity.aod              | 3 +--
 .../children/newchildattribute/tooltipProcess.js          | 4 ----
 language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod      | 6 +++---
 language/_____LANGUAGE_de/_____LANGUAGE_de.aod            | 8 ++++----
 language/_____LANGUAGE_en/_____LANGUAGE_en.aod            | 6 +++---
 5 files changed, 11 insertions(+), 16 deletions(-)
 delete mode 100644 entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/tooltipProcess.js

diff --git a/entity/Attribute_entity/Attribute_entity.aod b/entity/Attribute_entity/Attribute_entity.aod
index 4b164b0526..5f68f832ab 100644
--- a/entity/Attribute_entity/Attribute_entity.aod
+++ b/entity/Attribute_entity/Attribute_entity.aod
@@ -294,13 +294,12 @@
       <children>
         <entityActionField>
           <name>newChildAttribute</name>
-          <title>New attribute</title>
+          <title>New child attribute</title>
           <onActionProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/onActionProcess.js</onActionProcess>
           <isMenuAction v="true" />
           <isObjectAction v="false" />
           <isSelectionAction v="true" />
           <iconId>VAADIN:FILE_TREE_SMALL</iconId>
-          <tooltipProcess>%aditoprj%/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/tooltipProcess.js</tooltipProcess>
         </entityActionField>
       </children>
     </entityActionGroup>
diff --git a/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/tooltipProcess.js b/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/tooltipProcess.js
deleted file mode 100644
index 8e60c9408c..0000000000
--- a/entity/Attribute_entity/entityfields/attributeactions/children/newchildattribute/tooltipProcess.js
+++ /dev/null
@@ -1,4 +0,0 @@
-import("system.translate");
-import("system.result");
-
-result.string(translate.text("New attribute"));
\ No newline at end of file
diff --git a/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod b/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod
index 4e564e134c..271225a9c3 100644
--- a/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod
+++ b/language/_____LANGUAGE_EXTRA/_____LANGUAGE_EXTRA.aod
@@ -2187,9 +2187,6 @@
     <entry>
       <key>Special price list</key>
     </entry>
-    <entry>
-      <key>New attribute</key>
-    </entry>
     <entry>
       <key>MQC</key>
     </entry>
@@ -5972,6 +5969,9 @@
     <entry>
       <key>Selection value</key>
     </entry>
+    <entry>
+      <key>New child attribute</key>
+    </entry>
   </keyValueMap>
   <font name="Dialog" style="0" size="11" />
   <sqlModels>
diff --git a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod
index e7492604d7..552a317836 100644
--- a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod
+++ b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod
@@ -2194,10 +2194,6 @@
       <key>Paraguay</key>
       <value>Paraguay</value>
     </entry>
-    <entry>
-      <key>New attribute</key>
-      <value>Neue Eigenschaft</value>
-    </entry>
     <entry>
       <key>Solomon Islands</key>
       <value>Salomon-Inseln</value>
@@ -7518,6 +7514,10 @@
     <entry>
       <key>grandchild of</key>
     </entry>
+    <entry>
+      <key>New child attribute</key>
+      <value>Untergeordnete Eigenschaft anlegen</value>
+    </entry>
   </keyValueMap>
   <font name="Dialog" style="0" size="11" />
 </language>
diff --git a/language/_____LANGUAGE_en/_____LANGUAGE_en.aod b/language/_____LANGUAGE_en/_____LANGUAGE_en.aod
index c48a03723c..d6e429265d 100644
--- a/language/_____LANGUAGE_en/_____LANGUAGE_en.aod
+++ b/language/_____LANGUAGE_en/_____LANGUAGE_en.aod
@@ -2202,9 +2202,6 @@
     <entry>
       <key>Special price list</key>
     </entry>
-    <entry>
-      <key>New attribute</key>
-    </entry>
     <entry>
       <key>MQC</key>
     </entry>
@@ -6022,6 +6019,9 @@
     <entry>
       <key>Selection value</key>
     </entry>
+    <entry>
+      <key>New child attribute</key>
+    </entry>
   </keyValueMap>
   <font name="Dialog" style="0" size="11" />
 </language>
-- 
GitLab