Fix minor question and locale issues (#1786)

* add missing locales

* use t.Setenv instead of os.Setenv for tests

* locale: present y/n if localisation is not latin. Always accept y/n in every case

* question: use operation info for question

* edge case where localised n is equal to default y

* add tests for basic locales
This commit is contained in:
Jo
2022-08-13 22:56:23 +00:00
committed by GitHub
parent 85934bddea
commit 888fb4b1d0
11 changed files with 196 additions and 57 deletions

View File

@@ -64,6 +64,7 @@ linters:
- unconvert
- unparam
- unused
- tenv
- varcheck
- whitespace
- wsl