#!/bin/bash

# lint localized strings

set +o pipefail
plutil -lint CutBox/Localization/*lproj/Localizable.strings | \
while read result; do
    [ "" != "$GITHUB_STEP_SUMMARY" ] && echo "- $result" >> "$GITHUB_STEP_SUMMARY"
    echo "$result"
done
