mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
Better lang-en updates
This commit is contained in:
parent
fa9df4dc5e
commit
86b3ff3099
11
build.sh
11
build.sh
@ -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
|
||||
;;
|
||||
|
@ -75,4 +75,5 @@ func main() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
os.Stdout.Write(bs)
|
||||
os.Stdout.WriteString("\n")
|
||||
}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user