mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
moving the message out of the loop
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -65,11 +65,11 @@ jobs:
|
|||||||
- name: Testing locale lengths
|
- name: Testing locale lengths
|
||||||
run: |
|
run: |
|
||||||
errors=0
|
errors=0
|
||||||
|
echo "Testing locales extName lengths"
|
||||||
|
echo "All must be 40 or less for Safari"
|
||||||
|
echo "================================="
|
||||||
for file in $(ls src/_locales/);
|
for file in $(ls src/_locales/);
|
||||||
do
|
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 '"')
|
test_string=$(cat src/_locales/$file/messages.json | jq .extName.message | tr -d '"')
|
||||||
if [[ ${#test_string} -gt 40 ]]; then
|
if [[ ${#test_string} -gt 40 ]]; then
|
||||||
echo $file: ${#test_string}
|
echo $file: ${#test_string}
|
||||||
|
|||||||
Reference in New Issue
Block a user