diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-02-02 05:22:23 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-02-02 05:22:23 +0100 |
commit | 57a46e1e5c5aa9d10f35c85516ad877e6d744309 (patch) | |
tree | 0415b88fcfc6b6395365d0e58a1c2748727b12c1 /add_extbase_property.sh | |
parent | 66219ba3688c13126bc8bc9d993377b2f22dafc0 (diff) | |
download | extbase-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-x | add_extbase_property.sh | 2 |
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 |