[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [check/master] Add wikipedia sitematrix as another source of language names



commit 45d8c13a7a8a23e0cb904fd4d08f6d73ea64e0fd
Author: Arlo Breault <arlolra@xxxxxxxxx>
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":    "اÙ?عربÙ?Ø©",

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits