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 760428 - [PATCH] gsf-office-thumbnailer --help shows translated characters as question marks on some locales
[PATCH] gsf-office-thumbnailer --help shows translated characters as question...
Status: RESOLVED FIXED
Product: libgsf
Classification: Core
Component: Documentation
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2016-01-11 06:12 UTC by Ting-Wei Lan
Modified: 2016-01-21 20:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
thumbnailer: Call setlocale in main function (1017 bytes, patch)
2016-01-11 06:13 UTC, Ting-Wei Lan
none Details | Review

Description Ting-Wei Lan 2016-01-11 06:12:14 UTC
lease see the attached patch. gsf-office-thumbnailer should call setlocale in main function in order to correctly show translated messages.

Running 'gsf-office-thumbnailer --help' with zh_TW.UTF-8 locale shows:
???
  gsf-office-thumbnailer [???] Options

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

???????
  -i, --input=filename      Name of file for which to create a thumbnail
  -o, --output=filename     Name of the file to put the thumbnail
  -s, --size=N              Size of thumbnail in pixels; the thumbnail will be at most N*N pixels large
Comment 1 Ting-Wei Lan 2016-01-11 06:13:44 UTC
Created attachment 318696 [details] [review]
thumbnailer: Call setlocale in main function

It is required to correctly show translated messages on some locales.
Comment 2 Morten Welinder 2016-01-21 20:36:19 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.