Some minor housekeeping fixes.
[mailman-postorious.git] / update-po.sh
bloba25387722de3a8e5f88f25dfd99abb3a42c32324
1 #!/bin/bash
3 set -x
5 # Copyright (C) 2019-2021 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
7 # This package is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; version 3 of the License.
11 # This package is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <https://www.gnu.org/licenses/>
19 cd src/postorius/
21 cat locale/LINGUAS | while read lingua; do
23 django-admin makemessages -l "${lingua}"
25 done
26 cd - 1>/dev/null