diff options
author | Thomas Haller <thaller@redhat.com> | 2021-02-08 16:38:54 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-02-08 16:38:54 +0100 |
commit | 0177cb9adeb78104e544d376e51d05beff92e220 (patch) | |
tree | cb8a4d1b57ba72230438cc553836e560cce6395d | |
parent | 1a629a11ce9a870e0cc87b795d28fbafe16dc274 (diff) | |
download | NetworkManager-0177cb9adeb78104e544d376e51d05beff92e220.tar.gz |
clients/tests: better explain how to configure localized tests
-rwxr-xr-x | clients/tests/test-client.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clients/tests/test-client.py b/clients/tests/test-client.py index 01d50e1af6..99d9067f72 100755 --- a/clients/tests/test-client.py +++ b/clients/tests/test-client.py @@ -26,6 +26,12 @@ from __future__ import print_function # # The important part is that translations work. Test # # $ LANG=pl_PL.UTF-8 ./clients/cli/nmcli --version # # also ensure that `locale -a` reports the Polish locale. +# # +# # How to get that right depends on your distro. First check that +# # `LANG=pl_PL.UTF-8 /usr/bin/nmcli --version` gives you Polish output +# # and that it works in principle. +# # Then install NetworkManager in the configured prefix (make install) +# # and verify that ./clients/cli/nmcli also gives you Polish. # $ NM_TEST_REGENERATE=1 make check-local-clients-tests-test-client # # Set NM_TEST_REGENERATE=1 to regenerate all files. # $ git diff ... ; git add ... |