Skip to content

Commit

Permalink
Add the format change in script, for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
estellecomment committed Jan 24, 2024
1 parent dd1a8a3 commit b732abd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/tchap/translations/collect-reference-translations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export OUTPUT_FILE=$1

# Convert tchap translations from piped format ("aa|bb|cc") to nested format.
TCHAP_TRANSLATION_FILE=`realpath modules/tchap-translations/tchap_translations.json`
TCHAP_TRANSLATION_NESTED_FILE=`realpath modules/tchap-translations/tchap_translations_nested.json`
TCHAP_TRANSLATION_NESTED_FILE=`realpath modules/tchap-translations/tmp/tchap_translations_nested.json`
node scripts/tchap/translations/reformatToNested.js --file=$TCHAP_TRANSLATION_FILE > $TCHAP_TRANSLATION_NESTED_FILE

# Extract EN translations from tchap translations.
TCHAP_TRANSLATION_EN_FILE=`realpath modules/tchap-translations/tmp/tchap_EN.json`
Expand Down

0 comments on commit b732abd

Please sign in to comment.