Skip to content

Commit

Permalink
Merge pull request #17724 from spowelljr/fixNoNewline
Browse files Browse the repository at this point in the history
CI: Add newline to end of translation files
  • Loading branch information
medyagh committed Dec 4, 2023
2 parents a3f9053 + 51bcc9b commit c56894f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions pkg/minikube/extract/extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ func writeStringsToFiles(e *state, output string) error {
if err != nil {
return errors.Wrap(err, "marshalling translations")
}
c = append(c, '\n')
err = os.WriteFile(path, c, info.Mode())
if err != nil {
return errors.Wrap(err, "writing translation file")
Expand Down
2 changes: 1 addition & 1 deletion translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1119,4 +1119,4 @@
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} ist nicht valide: {{.err}}",
"{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} ist kein derzeit unterstütztes Dateisystem. Wir versuchen es trotzdem!",
"{{.url}} is not accessible: {{.error}}": "Fehler beim Zugriff auf {{.url}}: {{.error}}"
}
}
2 changes: 1 addition & 1 deletion translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1105,4 +1105,4 @@
"{{.profile}} profile is not valid: {{.err}}": "",
"{{.type}} is not yet a supported filesystem. We will try anyways!": "",
"{{.url}} is not accessible: {{.error}}": ""
}
}
2 changes: 1 addition & 1 deletion translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1108,4 +1108,4 @@
"{{.profile}} profile is not valid: {{.err}}": "Le profil {{.profile}} n'est pas valide : {{.err}}",
"{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} n'est pas encore un système de fichiers pris en charge. Nous essaierons quand même !",
"{{.url}} is not accessible: {{.error}}": "{{.url}} n'est pas accessible : {{.error}}"
}
}
2 changes: 1 addition & 1 deletion translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,4 +1055,4 @@
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} プロファイルは無効です: {{.err}}",
"{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} は未サポートのファイルシステムです。とにかくやってみます!",
"{{.url}} is not accessible: {{.error}}": "{{.url}} にアクセスできません: {{.error}}"
}
}
2 changes: 1 addition & 1 deletion translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -1115,4 +1115,4 @@
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} 프로파일이 올바르지 않습니다: {{.err}}",
"{{.type}} is not yet a supported filesystem. We will try anyways!": "",
"{{.url}} is not accessible: {{.error}}": "{{.url}} 이 접근 불가능합니다: {{.error}}"
}
}
2 changes: 1 addition & 1 deletion translations/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1120,4 +1120,4 @@
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} profil nie jest poprawny: {{.err}}",
"{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} nie jest wspierany przez system plików. I tak spróbujemy!",
"{{.url}} is not accessible: {{.error}}": "{{.url}} nie jest osiągalny: {{.error}}"
}
}
2 changes: 1 addition & 1 deletion translations/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1036,4 +1036,4 @@
"{{.profile}} profile is not valid: {{.err}}": "",
"{{.type}} is not yet a supported filesystem. We will try anyways!": "",
"{{.url}} is not accessible: {{.error}}": ""
}
}
2 changes: 1 addition & 1 deletion translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1236,4 +1236,4 @@
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} 配置文件无效:{{.err}}",
"{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} 还不是一个受支持的文件系统。无论如何我们都会尝试!",
"{{.url}} is not accessible: {{.error}}": "{{.url}} 不可访问:{{.error}}"
}
}

0 comments on commit c56894f

Please sign in to comment.