Skip to content

Commit

Permalink
Merge pull request #5466 from sharifelgamal/initial-translations
Browse files Browse the repository at this point in the history
Initial translations for fr, es, de, ja, and zh-CN
  • Loading branch information
tstromberg authored Sep 26, 2019
2 parents 61da2b0 + 9ab993d commit fedb06a
Show file tree
Hide file tree
Showing 6 changed files with 1,877 additions and 213 deletions.
3 changes: 3 additions & 0 deletions pkg/minikube/extract/extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ func checkString(s string) string {
// Parse out quote marks
stringToTranslate := s[1 : len(s)-1]

// Trim whitespace
stringToTranslate = strings.TrimSpace(stringToTranslate)

// Don't translate integers
if _, err := strconv.Atoi(stringToTranslate); err == nil {
return ""
Expand Down
519 changes: 519 additions & 0 deletions translations/de.json

Large diffs are not rendered by default.

518 changes: 518 additions & 0 deletions translations/es.json

Large diffs are not rendered by default.

266 changes: 159 additions & 107 deletions translations/fr-FR.json → translations/fr.json

Large diffs are not rendered by default.

518 changes: 518 additions & 0 deletions translations/ja.json

Large diffs are not rendered by default.

266 changes: 160 additions & 106 deletions translations/zh-CN.json

Large diffs are not rendered by default.

0 comments on commit fedb06a

Please sign in to comment.