moving the message out of the loop

This commit is contained in:
Joseph Flinn 2021-05-12 15:32:40 -07:00
parent 27ab3193c9
commit a88b229ff9
1 changed files with 3 additions and 3 deletions

View File

@ -65,11 +65,11 @@ jobs:
- name: Testing locale lengths
run: |
errors=0
echo "Testing locales extName lengths"
echo "All must be 40 or less for Safari"
echo "================================="
for file in $(ls src/_locales/);
do
echo "Testing locales extName lengths"
echo "All must be 40 or less for Safari"
echo "================================="
test_string=$(cat src/_locales/$file/messages.json | jq .extName.message | tr -d '"')
if [[ ${#test_string} -gt 40 ]]; then
echo $file: ${#test_string}