-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #571 from CTPUG/bugfix/resync_po_files
Run msgmerge to ensure the po files are in sync with the pot file
- Loading branch information
Showing
3 changed files
with
1,449 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
# Update the langauge files and main django.pot file | ||
LANGS="pt_BR ru" | ||
|
||
base=$(dirname $0) | ||
cd $base/.. | ||
|
||
for lang in $LANGS; do | ||
./manage.py makemessages -l $lang | ||
done | ||
./manage.py makemessages --keep-pot | ||
git status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.