Re-add mistakenly removed languages

This commit is contained in:
Jakob Borg
2015-06-02 08:33:36 +02:00
parent 6d3de41751
commit 5bd1e4a167
41 changed files with 2058 additions and 83 deletions

View File

@@ -131,7 +131,7 @@ func loadValidLangs() []string {
}
var langs []string
exp := regexp.MustCompile(`\[([a-zA-Z",-]+)\]`)
exp := regexp.MustCompile(`\[([a-zA-Z@",-]+)\]`)
if matches := exp.FindSubmatch(bs); len(matches) == 2 {
langs = strings.Split(string(matches[1]), ",")
for i := range langs {