mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-25 23:57:21 +08:00
12 lines
362 B
Bash
Executable file
12 lines
362 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Copyright © Michal Čihař <michal@weblate.org>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
set -e
|
|
|
|
./manage.py makemessages --keep-pot -l "$1" -i 'repos/*' -i 'docs/*' -i 'examples/*'
|
|
./manage.py makemessages --keep-pot -l "$1" -i 'repos/*' -i 'docs/*' -i 'examples/*' -d djangojs
|
|
git add "weblate/locale/$1/"
|
|
git commit -m "Added $1 language"
|