]>
git.p6c8.net - jirafeau_project.git/blob - lib/locales/add.sh
5 echo "please pass the new string id to add as parameter"
8 locales_dir
=$
(cd "$(dirname $0)" && pwd)
9 new_line
=" \"$new\": \"\","
10 find $locales_dir -type f
-name "*.json" -print0 |
xargs -0 sed -i "s/{/{\n${new_line}/"
patrick-canterino.de