Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions scripts/extract_strings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ if [[ $# -lt 1 ]]; then
fi

MAILER_DIR="../libs/accounts/email-renderer"
AUTH_DIR="./fxa-auth-server"
CONTENT_DIR="./fxa-content-server"
PAYMENTS_DIR="./fxa-payments-server"
PAYMENTS_NEXT_DIR="../apps/payments/next"
Expand All @@ -42,6 +43,10 @@ case $param in
MAILER_DIR="$2"
shift 2
;;
--mailer-repo)
AUTH_DIR="$2"
shift 2
;;
--content-repo)
CONTENT_DIR="$2"
shift 2
Expand Down Expand Up @@ -78,6 +83,8 @@ done

printf "Checking $MAILER_DIR.. "
check_folder $MAILER_DIR
printf "Checking $AUTH_DIR.. "
check_folder $AUTH_DIR
printf "Checking $CONTENT_DIR.. "
check_folder $CONTENT_DIR
printf "Checking $PAYMENTS_DIR.. "
Expand Down Expand Up @@ -143,6 +150,7 @@ cp $PAYMENTS_DIR/public/locales/en/payments.ftl $L10N_DIR/locale/templates
cp $PAYMENTS_NEXT_DIR/public/locales/en/payments-next.ftl $L10N_DIR/locale/templates
cp $SETTINGS_DIR/public/locales/en/settings.ftl $L10N_DIR/locale/templates
cp $MAILER_DIR/public/locales/en/emails.ftl $L10N_DIR/locale/templates
cp $AUTH_DIR/public/locales/en/auth.ftl $L10N_DIR/locale/templates
cp $REACT_DIR/public/locales/en/react.ftl $L10N_DIR/locale/templates
cp $SHARED_DIR/l10n/src/lib/branding.ftl $L10N_DIR/locale/templates

Expand Down