summaryrefslogtreecommitdiff
path: root/add_extbase_property.sh
diff options
context:
space:
mode:
Diffstat (limited to 'add_extbase_property.sh')
-rwxr-xr-xadd_extbase_property.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/add_extbase_property.sh b/add_extbase_property.sh
index 87cbca8..8baca20 100755
--- a/add_extbase_property.sh
+++ b/add_extbase_property.sh
@@ -220,11 +220,13 @@ s/'label' => 'uid'/'label' => '${field}'/
}
EOF
+
# Locallang fixes
sed -i "s/.*<\/body>/\t\t\t<trans-unit id=\"${tablename}.${field}\">\n\t\t\t\t<source>${uproperty}<\/source>\n\t\t\t<\/trans-unit>\n&/" \
Resources/Private/Language/locallang.xlf \
Resources/Private/Language/locallang_db.xlf
+
sed -i "s/.*<\/body>/\t\t\t<trans-unit id=\"${field}.description\">\n\t\t\t\t<source>${field}<\/source>\n\t\t\t<\/trans-unit>\n&/" \
Resources/Private/Language/locallang_csh_${tablename}.xlf