[tor-commits] [check/master] Add wikipedia sitematrix as another source of language names
arlo at torproject.org
arlo at torproject.org
Tue Apr 15 18:48:17 UTC 2014
commit 45d8c13a7a8a23e0cb904fd4d08f6d73ea64e0fd
Author: Arlo Breault <arlolra at gmail.com>
Date: Tue Apr 15 11:47:09 2014 -0700
Add wikipedia sitematrix as another source of language names
---
utils.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils.go b/utils.go
index 88da175..bac9d68 100644
--- a/utils.go
+++ b/utils.go
@@ -142,6 +142,7 @@ type locale struct {
func GetLocaleList(base string) map[string]string {
// populated from https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
// and https://sites.google.com/site/opti365/translate_codes
+ // and https://en.wikipedia.org/w/api.php?action=sitematrix&format=json
haveTranslatedNames := map[string]string{
"af": "Afrikaans",
"ar": "اÙعربÙØ©",
More information about the tor-commits
mailing list