From 51bcc9bc1e49cf51a8ce439bae449df1a7e5259e Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 4 Dec 2023 07:48:11 -0800 Subject: [PATCH] CI: Add newline to end of translation files --- pkg/minikube/extract/extract.go | 1 + translations/de.json | 2 +- translations/es.json | 2 +- translations/fr.json | 2 +- translations/ja.json | 2 +- translations/ko.json | 2 +- translations/pl.json | 2 +- translations/ru.json | 2 +- translations/zh-CN.json | 2 +- 9 files changed, 9 insertions(+), 8 deletions(-) diff --git a/pkg/minikube/extract/extract.go b/pkg/minikube/extract/extract.go index 888b1f2560e6..94901b770490 100644 --- a/pkg/minikube/extract/extract.go +++ b/pkg/minikube/extract/extract.go @@ -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") diff --git a/translations/de.json b/translations/de.json index bb18fc85011c..1fecb54120ee 100644 --- a/translations/de.json +++ b/translations/de.json @@ -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}}" -} \ No newline at end of file +} diff --git a/translations/es.json b/translations/es.json index 20c7458c615a..947905aa7588 100644 --- a/translations/es.json +++ b/translations/es.json @@ -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}}": "" -} \ No newline at end of file +} diff --git a/translations/fr.json b/translations/fr.json index c8b7f7b8528a..0e9cc3677e63 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -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}}" -} \ No newline at end of file +} diff --git a/translations/ja.json b/translations/ja.json index 4bd839528c48..4224e1ca3f2e 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -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}}" -} \ No newline at end of file +} diff --git a/translations/ko.json b/translations/ko.json index a48df0d2638f..584bc5f99f5e 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -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}}" -} \ No newline at end of file +} diff --git a/translations/pl.json b/translations/pl.json index bd0d2bcf7d5d..b83b0da3fe7b 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -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}}" -} \ No newline at end of file +} diff --git a/translations/ru.json b/translations/ru.json index 15cba5dc3882..86c136a15932 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -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}}": "" -} \ No newline at end of file +} diff --git a/translations/zh-CN.json b/translations/zh-CN.json index 19e5a93719bc..b298b83ca873 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -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}}" -} \ No newline at end of file +}