We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 333fad5 commit 1336ac3Copy full SHA for 1336ac3
pkg/command/trans.go
@@ -6,7 +6,7 @@ import (
6
)
7
8
// https://en.wikipedia.org/wiki/IETF_language_tag
9
-var languages = map[string]string{
+var Languages = map[string]string{
10
"ar": "Arabic",
11
"cn": "Chinese",
12
"de": "German",
@@ -49,7 +49,7 @@ func (c *Trans) Prompts(input string) []string {
49
}
50
51
lang, text := input[:index], input[index+1:]
52
- if fullName, ok := languages[lang]; ok {
+ if fullName, ok := Languages[lang]; ok {
53
lang = fullName
54
55
return []string{
0 commit comments