yay/pkg/text
Jo 888fb4b1d0
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
2022-08-13 22:56:23 +00:00
..
color.go chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
convert.go chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
errors.go chore(text): make input overflow its own error 2021-10-27 23:45:23 +02:00
input.go chore(text): make input overflow its own error 2021-10-27 23:45:23 +02:00
print.go chore(golangci): add new linters 2021-08-11 22:19:55 +02:00
text_test.go Fix minor question and locale issues (#1786) 2022-08-13 22:56:23 +00:00
text.go Fix minor question and locale issues (#1786) 2022-08-13 22:56:23 +00:00
time.go chore(golangci): add new linters 2021-08-11 22:19:55 +02:00