Archived
Re-add mistakenly removed languages
This commit is contained in:
1 parent
6d3de41751
commit
5bd1e4a167
41 files changed
+2058
-83
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user