Skip to content

Commit

Permalink
build: Update CLI for target language list
Browse files Browse the repository at this point in the history
  • Loading branch information
gmonarque committed Oct 19, 2024
1 parent 8bf779b commit de4f54c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ func main() {
fmt.Println("Usage example: go run main.go -source_path=folder/*.json -output_path=output/*.json -source_lang=fr -target_lang=en")
fmt.Println("Available source languages:")
fmt.Println("BG, CS, DA, DE, EL, EN, ES, ET, FI, FR, HU, ID, IT, JA, KO, LT, LV, NB, NL, PL, PT, RO, RU, SK, SL, SV, TR, UK, ZH")
fmt.Println("All source languages can be used as target languages.")
fmt.Println("Available target languages:")
fmt.Println("AR, BG, CS, DA, DE, EL, EN-GB, EN-US, ES, ET, FI, FR, HU, ID, IT, JA, KO, LT, LV, NB, NL, PL, PT-BR, PT-PT, RO, RU, SK, SL, SV, TR, UK, ZH, ZH-HANS, ZH-HANT")
fmt.Println("Note: Not all source languages can be used as target languages.")
fmt.Println("For more information, visit: github.com/gmonarque/go-json-translate")
flag.PrintDefaults()
os.Exit(1)
Expand Down

0 comments on commit de4f54c

Please sign in to comment.