Skip to content

Commit c56894f

Browse files
authored
Merge pull request #17724 from spowelljr/fixNoNewline
CI: Add newline to end of translation files
2 parents a3f9053 + 51bcc9b commit c56894f

File tree

9 files changed

+9
-8
lines changed

9 files changed

+9
-8
lines changed

Diff for: pkg/minikube/extract/extract.go

+1
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ func writeStringsToFiles(e *state, output string) error {
499499
if err != nil {
500500
return errors.Wrap(err, "marshalling translations")
501501
}
502+
c = append(c, '\n')
502503
err = os.WriteFile(path, c, info.Mode())
503504
if err != nil {
504505
return errors.Wrap(err, "writing translation file")

Diff for: translations/de.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1119,4 +1119,4 @@
11191119
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} ist nicht valide: {{.err}}",
11201120
"{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} ist kein derzeit unterstütztes Dateisystem. Wir versuchen es trotzdem!",
11211121
"{{.url}} is not accessible: {{.error}}": "Fehler beim Zugriff auf {{.url}}: {{.error}}"
1122-
}
1122+
}

Diff for: translations/es.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1105,4 +1105,4 @@
11051105
"{{.profile}} profile is not valid: {{.err}}": "",
11061106
"{{.type}} is not yet a supported filesystem. We will try anyways!": "",
11071107
"{{.url}} is not accessible: {{.error}}": ""
1108-
}
1108+
}

Diff for: translations/fr.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1108,4 +1108,4 @@
11081108
"{{.profile}} profile is not valid: {{.err}}": "Le profil {{.profile}} n'est pas valide : {{.err}}",
11091109
"{{.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 !",
11101110
"{{.url}} is not accessible: {{.error}}": "{{.url}} n'est pas accessible : {{.error}}"
1111-
}
1111+
}

Diff for: translations/ja.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1055,4 +1055,4 @@
10551055
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} プロファイルは無効です: {{.err}}",
10561056
"{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} は未サポートのファイルシステムです。とにかくやってみます!",
10571057
"{{.url}} is not accessible: {{.error}}": "{{.url}} にアクセスできません: {{.error}}"
1058-
}
1058+
}

Diff for: translations/ko.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1115,4 +1115,4 @@
11151115
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} 프로파일이 올바르지 않습니다: {{.err}}",
11161116
"{{.type}} is not yet a supported filesystem. We will try anyways!": "",
11171117
"{{.url}} is not accessible: {{.error}}": "{{.url}} 이 접근 불가능합니다: {{.error}}"
1118-
}
1118+
}

Diff for: translations/pl.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1120,4 +1120,4 @@
11201120
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} profil nie jest poprawny: {{.err}}",
11211121
"{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} nie jest wspierany przez system plików. I tak spróbujemy!",
11221122
"{{.url}} is not accessible: {{.error}}": "{{.url}} nie jest osiągalny: {{.error}}"
1123-
}
1123+
}

Diff for: translations/ru.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1036,4 +1036,4 @@
10361036
"{{.profile}} profile is not valid: {{.err}}": "",
10371037
"{{.type}} is not yet a supported filesystem. We will try anyways!": "",
10381038
"{{.url}} is not accessible: {{.error}}": ""
1039-
}
1039+
}

Diff for: translations/zh-CN.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1236,4 +1236,4 @@
12361236
"{{.profile}} profile is not valid: {{.err}}": "{{.profile}} 配置文件无效:{{.err}}",
12371237
"{{.type}} is not yet a supported filesystem. We will try anyways!": "{{.type}} 还不是一个受支持的文件系统。无论如何我们都会尝试!",
12381238
"{{.url}} is not accessible: {{.error}}": "{{.url}} 不可访问:{{.error}}"
1239-
}
1239+
}

0 commit comments

Comments
 (0)