Skip to content
  • Luc Didry's avatar
    [Zanata] Prettyfying locales json files · 1c8e0061
    Luc Didry authored
    In order to compare actual json files to zanata-backed files, we need to
    sort the keys and have a 3-spaces indent.
    This is done with jq:
    cd locale/
    mkdir tmp/
    for i in *.json; do jq --indent 3 -S -M '.' < $i > tmp/$i ; done
    mv tmp/* .
    rmdir tmp