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 760418 - [PATCH] evince-thumbnailer --help shows translated characters as question marks on some locales
[PATCH] evince-thumbnailer --help shows translated characters as question mar...
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other FreeBSD
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-11 04:21 UTC by Ting-Wei Lan
Modified: 2016-01-31 09:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
thumbnailer: Call setlocale in main function (996 bytes, patch)
2016-01-11 04:22 UTC, Ting-Wei Lan
committed Details | Review

Description Ting-Wei Lan 2016-01-11 04:21:54 UTC
Please see the attached patch. evince-thumbnailer should call setlocale in main function in order to correctly show translated messages.

Running 'evince-thumbnailer --help' with zh_TW.UTF-8 locale shows:
???
  evince-thumbnailer [???] <input> <ouput> - GNOME Document Thumbnailer

?????
  -h, --help             ???????

???????
  -s, --size=SIZE        
  -l, --no-limit         Don't limit the thumbnailing time to 15 seconds
Comment 1 Ting-Wei Lan 2016-01-11 04:22:37 UTC
Created attachment 318686 [details] [review]
thumbnailer: Call setlocale in main function

It is required to correctly show translated messages on some locales.
Comment 2 Carlos Garcia Campos 2016-01-31 09:37:55 UTC
Comment on attachment 318686 [details] [review]
thumbnailer: Call setlocale in main function

Pushed, thanks!