Skip to content
Snippets Groups Projects
Commit d7e1843c authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove old attributes

parent bb09e551
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,9 @@ function web_admin_translate {
echo ''
echo "Changing lang headers"
langstr="${language:0:2}"
for filename in "$webadmin_install_dir"/*.html; do
sed -i 's|"yes" lang="en">||g' "$filename"
done
for filename in "$webadmin_install_dir"/*.html; do
sed -i "s|<html>|<html lang=\"$langstr\">|g" "$filename"
sed -i "s|<html lang=\"en\">|<html lang=\"$langstr\">|g" "$filename"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment