summaryrefslogtreecommitdiff
path: root/sync_translations.sh
blob: 18f49c75e4953069e82b5775a1cae0cb50d0f7a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# This should be run when the source code is updated

go generate ./...
files=$(find client/locales -iname "out.gotext.json")
for f in $files
do
    dir=$(dirname "$f")
    cp "$f" "$dir"/messages.gotext.json
done