mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +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
|
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() {
|
transifex() {
|
||||||
pushd gui
|
pushd gui
|
||||||
go run ../cmd/transifexdl/main.go > valid-langs.js
|
go run ../cmd/transifexdl/main.go > valid-langs.js
|
||||||
@ -214,6 +221,10 @@ case "$1" in
|
|||||||
xdr
|
xdr
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
translate)
|
||||||
|
translate
|
||||||
|
;;
|
||||||
|
|
||||||
transifex)
|
transifex)
|
||||||
transifex
|
transifex
|
||||||
;;
|
;;
|
||||||
|
@ -75,4 +75,5 @@ func main() {
|
|||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
os.Stdout.Write(bs)
|
os.Stdout.Write(bs)
|
||||||
|
os.Stdout.WriteString("\n")
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
"GUI Listen Addresses": "GUI Listen Addresses",
|
"GUI Listen Addresses": "GUI Listen Addresses",
|
||||||
"Generate": "Generate",
|
"Generate": "Generate",
|
||||||
"Global Discovery": "Global Discovery",
|
"Global Discovery": "Global Discovery",
|
||||||
|
"Global Discovery Server": "Global Discovery Server",
|
||||||
"Global Repository": "Global Repository",
|
"Global Repository": "Global Repository",
|
||||||
"Idle": "Idle",
|
"Idle": "Idle",
|
||||||
"Ignore Permissions": "Ignore Permissions",
|
"Ignore Permissions": "Ignore Permissions",
|
||||||
|
Loading…
Reference in New Issue
Block a user