Skip to content

Commit 1bf411c

Browse files
committed
comments
1 parent 45c77d6 commit 1bf411c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ func main() {
8888
key, value := strings.TrimRight(arr[0], `=`), arr[1]
8989

9090
if key != `LANG` {
91+
// Wrong key, skip
9192
continue
9293
}
9394

@@ -106,6 +107,7 @@ func main() {
106107
}
107108

108109
if len(candidates) > 0 {
110+
// Set language
109111
locale = candidates[0]
110112
}
111113

0 commit comments

Comments
 (0)