Skip to content

Commit

Permalink
Fix verify_locales on CI
Browse files Browse the repository at this point in the history
Though still segfaults locally on OSX :/
  • Loading branch information
jeanregisser committed Jul 28, 2020
1 parent 8dad212 commit 0d94228
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/mobile/locales/en-US/sendFlow7.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@
"warningModalBody": "Encryption ensures your comments are kept private. Valora uses encryption on transaction comments when both the sender and receiver have this feature set up. Set up will normally occur automatically once a user sends their first transaction.",
"feeLabel": "One-Time Encryption Fee",
"feeModalHeader": "One-Time Encryption Fee",
"feeModalBody": "Encryption helps keep your sensitive data private. A small one-time fee is added to your first transaction to setup encryption. This ensures your comments will be sent securely and privately.",
"feeModalBody": "Encryption helps keep your sensitive data private. A small one-time fee is added to your first transaction to setup encryption. This ensures your comments will be sent securely and privately."
}
}
6 changes: 3 additions & 3 deletions packages/mobile/scripts/verify_locales.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -euo pipefail

if ! [ -x "$(command -v jq)" ]; then
echo "Error: jq is not installed." >&2
exit 1
Expand All @@ -12,6 +14,4 @@ filter='paths | join(".") | [(input_filename | gsub(".*/|\\.json$";"")), .] | jo
en_keys=$(jq -r "$filter" ../locales/en-US/*.json | sort)
es_keys=$(jq -r "$filter" ../locales/es-419/*.json | sort)

diff <(echo "$en_keys") <(echo "$es_keys")

exit $?
diff -u <(echo "$en_keys") <(echo "$es_keys")

0 comments on commit 0d94228

Please sign in to comment.