Commit Graph

47 Commits (85bf8a5522f6a02c2f91fdce270a0fcd92ad0226)

Author SHA1 Message Date
Li Zhijian 40992173ff fix extract
$ make extract
go run cmd/extract/extract.go
Compiling translation strings...
Writing to de.json (53 translated, 671 untranslated)
Writing to es.json (53 translated, 671 untranslated)
Writing to fr.json (67 translated, 657 untranslated)
Writing to ja.json (295 translated, 429 untranslated)
Writing to ko.json (143 translated, 581 untranslated)
Writing to pl.json (85 translated, 639 untranslated)
Writing to zh-CN.json (221 translated, 503 untranslated)
Done!

Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-09-04 16:54:37 +08:00
Li Zhijian 906bcb9cab fix typo miniube
$ sed -i 's/miniube start/minikube start/g' $(git grep -l 'miniube start')

Fixes: #9018
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-08-20 13:43:59 +08:00
Sharif Elgamal 58b113a503 run make extract to update translation files 2020-08-10 13:28:14 -07:00
Sharif Elgamal 35ef02b4fb updating some french translations for minikube start 2020-04-09 11:39:39 -07:00
Medya Ghazizadeh 35248a1f31
Merge pull request #7451 from loftkun/exit-when-driver-validation-failed
fix validateDriver() to exit() when it detects an error.
2020-04-08 15:30:02 -07:00
tomocy 4e1eed8602 Run make extract 2020-04-08 22:38:39 +09:00
loftkun fb2c3ed4b7 fix validateDriver() to exit when detects an error 2020-04-06 23:45:54 +09:00
Anders F Björklund e4fb49304a Make node start message easier to translate 2020-04-04 12:47:04 +02:00
tomocy 989cae5549 Run make extract 2020-04-04 02:04:29 +09:00
tomocy c81b4696df Run make extract 2020-04-03 00:30:01 +09:00
Thomas Stromberg edd3cf5bc4 Run 'make extract' to update translation samples 2020-04-01 14:05:24 -07:00
Sharif Elgamal 2d825d6498 translations facelift 2020-03-26 18:04:49 -07:00
anencore94 9d3a756bdc Update translations by 'make extract'
- match translations file with code

Signed-off-by: anencore94 <anencore94@kaist.ac.kr>
2020-03-06 18:42:15 +09:00
Sharif Elgamal e2ce45c6f0 Switch --vm-driver paramter to --driver 2020-03-04 13:32:43 -08:00
Black-Hole 551c570189 refactor(i18n): optimizing Chinese translation 2020-02-27 10:41:38 +08:00
Sharif Elgamal 744efaa330 REFACTOR COMPLETE? 2020-02-11 17:06:59 -08:00
Sharif Elgamal dd6e5de82c Update translation files with new strings 2020-02-04 11:28:03 -08:00
Anders F Björklund 71b561e344 Add note to remember to end the minikube flags
And add some whitespace before the next section
2020-01-14 18:22:45 +01:00
Anders F Björklund 3207b27c11 Fix syntax of minikube kubectl example command
Need to terminate the minikube flags with --,
before starting with the kubectl command flags.
2020-01-09 19:52:58 +01:00
Dominic Yin e8e4f6f120
update zh translation
Signed-off-by: Dominic Yin <yindongchao@inspur.com>
2019-12-30 15:38:56 +08:00
Thomas Strömberg aa6a1354da
Merge branch 'master' into translation-chinese 2019-10-16 13:07:35 -07:00
BlackHole1 910a69eec3 refactor(i18n): add chinese translation 2019-10-10 09:47:03 +08:00
BlackHole1 7834c83d9d optimizing Chinese translation (No.2) 2019-10-10 08:39:20 +08:00
Marek Schwarz 4551a17178 Merge branch 'master' into DELETE_ALL_PROFILES 2019-09-27 18:28:07 +02:00
Sharif Elgamal 9ab993da17
Initial translations for fr, es, de, ja, and zh-CN 2019-09-25 18:32:22 -07:00
Marek Schwarz 24d4eda27d Merge branch 'master' into DELETE_ALL_PROFILES
# Conflicts:
#	cmd/minikube/cmd/delete.go
#	translations/fr-FR.json
#	translations/zh-CN.json
2019-08-27 17:04:01 +02:00
Sharif Elgamal 293d262498
update translation files 2019-08-26 15:18:22 -07:00
Marek Schwarz ba67c8516a Merge branch 'master' into DELETE_ALL_PROFILES
# Conflicts:
#	cmd/minikube/cmd/delete.go
#	pkg/minikube/constants/constants.go
#	test/integration/z_proxy_test.go
#	translations/fr-FR.json
#	translations/zh-CN.json
2019-08-19 21:26:14 +02:00
Thomas Stromberg f2acb4a33e Update code references to new documentation URL's 2019-08-12 14:51:41 -07:00
Sharif Elgamal 294f880106
Localization support for help text (#4814)
* Translating help text

* explicity set usage template so we can localize it

* cleaning up extract and translation files

* Add extraction for flags help text

* some comments for extract

* refactor to account for new behavior

* Make usage template translations more palatable.

* remove commented code

* fix go mod

* pin to proper version in go.mod

* translate command grouping headers
2019-08-12 11:16:20 -07:00
Marek Schwarz 70f4cb99ce Merge branch 'master' into DELETE_ALL_PROFILES
# Conflicts:
#	cmd/minikube/cmd/delete.go
2019-07-20 18:18:30 +02:00
Sharif Elgamal 6552436311
Console output cleanup (#4825)
* Console output cleanup

* comment fix

* Fixing out.Out stutter

* Fix invalid template

* Change profile_list.go to new console functions

* more merge stuff
2019-07-19 17:00:51 -07:00
Medya Gh 453b8630f4 merge upstream 2019-07-18 11:50:55 -07:00
Medya Gh ed11f3ab0c merge upstream 2019-07-18 10:39:28 -07:00
Marek Schwarz af571430a9 Fixed translation errors 2019-07-18 11:51:45 +02:00
Sharif Elgamal 93263bc2bc
Templatizing more calls to console 2019-07-17 18:06:06 -07:00
Medya Gh e8ba9ccb74 reset lang json files 2019-07-17 18:04:45 -07:00
Medya Gh 97ba8854a6 more translation formatting 2019-07-17 17:37:39 -07:00
Thomas Stromberg 054fc946f1 Pass most tests 2019-07-17 17:13:12 -07:00
Medya Gh 7b219ebb46 Adding extract 2019-07-17 16:58:08 -07:00
Sharif Elgamal b40011b2e3
Add T versions of the console convenience functions (#4796)
* Add T versions of the console convenience functions

* more changes

* Make OutT and ErrT more convenient and add WithCodeT:

* add UsageT

* make extract

* translate messages in displayError
2019-07-17 15:19:49 -07:00
Sharif Elgamal 24ad1d82b9
Add test to make sure translations files are up to date. (#4777)
* Add test to make sure translations files are up to date.

* Fix file path sadness so tests work as expected

* make sure we reset the working dir

* switching from bytes.Compare to cmp.Diff

* add better error message

* extract new localized strings

* fix tests
2019-07-17 13:49:39 -07:00
Sharif Elgamal ad4d55f0ad
Merge branch 'master' of github.com:kubernetes/minikube into extract-advice 2019-07-10 10:24:36 -07:00
Sharif Elgamal c92e65ec28
Add templating for proper localization (#4677)
* Add templating for proper localization

* Fixing tests for new translation style

* checking errors is important

* fixing more console tests

* good function names make for happy developers

* add test for OutTemplateStyle

* short function names make for happy developers

* better formatting

* more better variable names
2019-07-10 10:17:28 -07:00
Sharif Elgamal fc9fc7eecd
initial commit for extracting advice strings 2019-07-09 15:48:26 -07:00
Sharif Elgamal 8a4776b250
Fixing top level extract call for new translations directory location 2019-06-24 15:18:31 -07:00
Sharif Elgamal 12bb8c5c25
Add translation files into the minikube binary 2019-06-24 15:15:01 -07:00