diff options
Diffstat (limited to 'sync_translations.sh')
| -rwxr-xr-x | sync_translations.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sync_translations.sh b/sync_translations.sh new file mode 100755 index 0000000..ae61df1 --- /dev/null +++ b/sync_translations.sh @@ -0,0 +1,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 |
