diff --git a/Hooks/syntax.sh b/Hooks/syntax.sh index 4e298ba..20e3824 100644 --- a/Hooks/syntax.sh +++ b/Hooks/syntax.sh @@ -55,6 +55,12 @@ if [[ "$FILE" =~ ^.+(tpl\.php|html)$ ]]; then echo -e "\e[1;31m\tValue field should not be hard coded.\e[0m" >&2 grep -P '(value=\")((?!\<\?).)*(>)' $FILE >&2 fi + + # Hard coded language *warning* + if [[ -n $(grep -P '(\