summaryrefslogtreecommitdiff
path: root/add_extbase_property.sh
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2016-02-02 05:22:23 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2016-02-02 05:22:23 +0100
commit57a46e1e5c5aa9d10f35c85516ad877e6d744309 (patch)
tree0415b88fcfc6b6395365d0e58a1c2748727b12c1 /add_extbase_property.sh
parent66219ba3688c13126bc8bc9d993377b2f22dafc0 (diff)
downloadextbase-generator-cli-57a46e1e5c5aa9d10f35c85516ad877e6d744309.tar.gz
extbase-generator-cli-57a46e1e5c5aa9d10f35c85516ad877e6d744309.tar.bz2
extbase-generator-cli-57a46e1e5c5aa9d10f35c85516ad877e6d744309.zip
cleanup
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