Better lang-en updates

This commit is contained in:
Jakob Borg 2014-07-31 09:08:08 +02:00
parent fa9df4dc5e
commit 86b3ff3099
3 changed files with 13 additions and 0 deletions

View File

@ -101,6 +101,13 @@ xdr() {
done
}
translate() {
pushd gui
go run ../cmd/translate/main.go lang-en.json < index.html > lang-en-new.json
mv lang-en-new.json lang-en.json
popd
}
transifex() {
pushd gui
go run ../cmd/transifexdl/main.go > valid-langs.js
@ -214,6 +221,10 @@ case "$1" in
xdr
;;
translate)
translate
;;
transifex)
transifex
;;

View File

@ -75,4 +75,5 @@ func main() {
log.Fatal(err)
}
os.Stdout.Write(bs)
os.Stdout.WriteString("\n")
}

View File

@ -32,6 +32,7 @@
"GUI Listen Addresses": "GUI Listen Addresses",
"Generate": "Generate",
"Global Discovery": "Global Discovery",
"Global Discovery Server": "Global Discovery Server",
"Global Repository": "Global Repository",
"Idle": "Idle",
"Ignore Permissions": "Ignore Permissions",