After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760420 - [PATCH] gda-test-connection-5.0 --help shows translated characters as question marks on some locales
[PATCH] gda-test-connection-5.0 --help shows translated characters as questio...
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: Tools
5.2.x
Other FreeBSD
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-11 05:43 UTC by Ting-Wei Lan
Modified: 2016-02-06 14:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Call setlocale in main function of gda-test-connection-5.0 (905 bytes, patch)
2016-01-11 05:43 UTC, Ting-Wei Lan
none Details | Review
Call setlocale in main function of gda-test-connection-5.0 (1.02 KB, patch)
2016-01-24 13:45 UTC, Ting-Wei Lan
none Details | Review

Description Ting-Wei Lan 2016-01-11 05:43:04 UTC
Please see the attached patch. gda-test-connection-5.0 should call setlocale in main function in order to correctly show translated messages.
Comment 1 Ting-Wei Lan 2016-01-11 05:43:38 UTC
Created attachment 318688 [details] [review]
Call setlocale in main function of gda-test-connection-5.0

It is required to correctly show translated messages on some locales.
Comment 2 Ting-Wei Lan 2016-01-24 13:45:21 UTC
Created attachment 319603 [details] [review]
Call setlocale in main function of gda-test-connection-5.0

It is required to correctly show translated messages on some locales.

Add #include <locale.h> for glibc