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 674033 - metadata category names WON'T show translated strings
metadata category names WON'T show translated strings
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.90.x
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2012-04-13 07:48 UTC by Jiro Matsuzawa
Modified: 2012-04-13 08:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a patch for this bug (1.25 KB, patch)
2012-04-13 07:48 UTC, Jiro Matsuzawa
none Details | Review

Description Jiro Matsuzawa 2012-04-13 07:48:47 UTC
Created attachment 211973 [details] [review]
a patch for this bug

[Problem]
The metadata category name labels, "File" and "General" won't show translated strings.

[Steps to reproduce]
0) Set locale envinroment variables (ex: $ export LANG=ja_JP.utf8)
1) Launch gthumb
2) Select a single image in the Browser View
3) To show metadata information sidebar press [F9] key
4) "File" and "General", the category names are not translated.

[Cause]
The "display_name" member of GthMetadataCategory is not wraped with the gettext function in some locations.

I have attached a patch for this problem. Please reivew it.

[Version]
$ gthumb --version
gthumb 2.90.3, Copyright © 2001-2010 Free Software Foundation, Inc.
Comment 1 Paolo Bacchilega 2012-04-13 08:24:04 UTC
patch applied to the master branch now, thank you.