From: Jordan Lee Date: Fri, 1 Feb 2013 06:11:41 +0000 (+0000) Subject: (libT) when unable to run locale-specific json tests, give a hint in the terminal... X-Git-Tag: 2.80~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3819360ca0fbd484c72195b7678418cec3239d76;p=transmission (libT) when unable to run locale-specific json tests, give a hint in the terminal about how to remedy that --- diff --git a/libtransmission/json-test.c b/libtransmission/json-test.c index bc20b1488..9fae16801 100644 --- a/libtransmission/json-test.c +++ b/libtransmission/json-test.c @@ -249,7 +249,9 @@ main (void) if (setlocale (LC_NUMERIC, comma_locales[i]) != NULL) break; if (i==n) - fprintf (stderr, "WARNING: unable to run locale-specific json tests.\n"); + fprintf (stderr, "WARNING: unable to run locale-specific json tests. add a locale like %s or %s\n", + comma_locales[0], + comma_locales[1]); else if ((rv = runTests (tests, NUM_TESTS(tests)))) return rv;