зеркало из
1
0
Форкнуть 0

fix(docs): update instructions for emailing the list

This commit is contained in:
Vlad Filippov 2015-12-21 16:43:01 -05:00
Родитель 3741814f69
Коммит a971da7b15
2 изменённых файлов: 12 добавлений и 13 удалений

Просмотреть файл

@ -44,10 +44,18 @@ Source strings are extracted from the [fxa-content-server](https://github.com/mo
* `cd` into this project directory and run:
```
./fxa-content-server-l10n/scripts/extract_strings.sh --mailer-repo ../fxa-auth-mailer --content-repo ../fxa-content-server --l10n-repo . TRAIN_NUMBER
./scripts/extract_strings.sh --mailer-repo ../fxa-auth-mailer --content-repo ../fxa-content-server --l10n-repo . TRAIN_NUMBER
```
where `TRAIN_NUMBER` is the train you are cutting strings for.
This will create a new branch, pull request that branch against `master`.
After that pull request is merged run:
```
./scripts/email-dev-l10n.sh
```
The script above will generate an email for the l10n mailing list.
## Submitting Translations

Просмотреть файл

@ -6,7 +6,7 @@ EMAIL_SUBJECT="[FxA] .po files updated"
# A link to the .po files
EMAIL_SOURCE="https://github.com/mozilla/fxa-content-server-l10n/tree/master/locale"
VERBATIM_URL="https://localize.mozilla.org/projects/accounts"
PONTOON_URL="https://pontoon.mozilla.org/projects/firefox-accounts"
SCRIPT_DIR=`dirname "$0"`
LOCALE_DIR=$SCRIPT_DIR/../locale
@ -28,7 +28,7 @@ the number of new strings I will calculate untranslated strings below.
`$SCRIPT_DIR/stats-po.sh $LOCALE_DIR`
Verbatim: $VERBATIM_URL
Pontoon: $PONTOON_URL
Source files: $EMAIL_SOURCE
If you have any questions please reply to the list.
@ -40,14 +40,5 @@ echo "-----------------------------------------------"
echo "$CHANGES"
echo "-----------------------------------------------"
echo "^ Open https://groups.google.com/forum/#!forum/mozilla.dev.l10n.web and paste the above under 'New Topic'"
# Uses sendmail so we can set a real From address
read -p "Do you want to send that to $EMAIL_TO? (y/n)" -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo "$CHANGES" | `which sendmail` -t
echo "Email sent."
else
echo "No email sent. Bye."
fi