mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
test_gnc_setlocale: Print diagnostic message, replacing comment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23451 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
0317eedf39
commit
a574917d8a
@ -428,12 +428,6 @@ test_gnc_date_string_to_monthformat (void)
|
|||||||
g_assert_cmpint (fmt, ==, 123);
|
g_assert_cmpint (fmt, ==, 123);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* There are some differences between distros in the way they name
|
|
||||||
* locales, and this can cause trouble with the locale-based
|
|
||||||
* formatting. If you get the assert in this function, run locale -a
|
|
||||||
* and make sure that en_US, en_GB, and fr_FR are installed and that
|
|
||||||
* if a suffix is needed it's in the suffixes array.
|
|
||||||
*/
|
|
||||||
static void
|
static void
|
||||||
test_gnc_setlocale (int category, gchar *locale)
|
test_gnc_setlocale (int category, gchar *locale)
|
||||||
{
|
{
|
||||||
@ -463,6 +457,11 @@ test_gnc_setlocale (int category, gchar *locale)
|
|||||||
if (localeval != NULL)
|
if (localeval != NULL)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
g_fprintf (stderr, "There are some differences between distros in the way they name"
|
||||||
|
"locales, and this can cause trouble with the locale-based"
|
||||||
|
"formatting. If you get the assert in this function, run locale -a"
|
||||||
|
"and make sure that en_US, en_GB, and fr_FR are installed and that"
|
||||||
|
"if a suffix is needed it's in the suffixes array.");
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
/* timespec_normalize
|
/* timespec_normalize
|
||||||
|
Loading…
Reference in New Issue
Block a user