GNOME Bugzilla – Bug 765487
[PATCH] gnome-session-check-accelerated-gl-helper --help shows translated characters as question marks on some locales
Last modified: 2016-05-09 19:22:32 UTC
Please see the attached patch for gnome-session-check-accelerated-gl-helper and gnome-session-check-accelerated-gles-helper. The translated messages can be broken if setlocale is not called. Running 'gnome-session-check-accelerated-gl-helper --help' with zh_TW.UTF-8 locale shows: ??? gnome-session-check-accelerated-gl-helper [???] ????? -h, --help ??????? ??????? -p, --print-renderer Print GL renderer name Although it is not required for gnome-session-check-accelerated-gles-helper to manually call setlocale because GTK+ does it automatically, I still modify it to keep the two helpers similar.
Created attachment 326617 [details] [review] tools: Call setlocale in gl-helper and gles-helper It is required to correctly show translated messages on some locales.
Attachment 326617 [details] pushed as 7198a55 - tools: Call setlocale in gl-helper and gles-helper