Skip to content

Commit 5a99dd0

Browse files
committed
Fix i18n for error message
1 parent 2033540 commit 5a99dd0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmd/vcr-compressor/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ var transientStates = map[string]bool{
2020

2121
func main() {
2222
if len(os.Args) < 2 {
23-
log.Fatalf("Usage: %s <chemin_du_fichier_yaml>\n", os.Args[0])
23+
log.Fatalf("Usage: %s <cassette_file_name_without_yaml>\n", os.Args[0])
2424
}
2525

2626
chemin := os.Args[1]
2727

2828
inputCassette, err := cassette.Load(chemin)
2929
if err != nil {
30-
log.Fatalf("Erreur de lecture du fichier : %v\n", err)
30+
log.Fatalf("Error while reading file : %v\n", err)
3131
}
3232

3333
outputCassette := cassette.New(chemin)

cmd/vcr-viewer/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ import (
1010

1111
func main() {
1212
if len(os.Args) < 2 {
13-
log.Fatalf("Usage: %s <chemin_du_fichier_yaml>\n", os.Args[0])
13+
log.Fatalf("Usage: %s <cassette_file_name_without_yaml>\n", os.Args[0])
1414
}
1515

1616
chemin := os.Args[1]
1717

1818
data, err := cassette.Load(chemin)
1919
if err != nil {
20-
log.Fatalf("Erreur de lecture du fichier : %v\n", err)
20+
log.Fatalf("Error while reading file: %v\n", err)
2121
}
2222

2323
for i := range len(data.Interactions) {

0 commit comments

Comments
 (0)