Archived
Better automatic translation update
This commit is contained in:
1 parent
8bfe4374de
commit
f4d1632506
9 files changed
+249
-6
No files matched your search
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
@@ -66,6 +67,7 @@ func main() {
|
||||
}
|
||||
|
||||
sort.Strings(langs)
|
||||
fmt.Print("var validLangs = ")
|
||||
json.NewEncoder(os.Stdout).Encode(langs)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user