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 549411 - Some strings doesn't work properly with translations
Some strings doesn't work properly with translations
Product: policykit-gnome
Classification: Platform
Component: authorizations tool
Other Linux
: Normal normal
: ---
Assigned To: policykit-gnome-maint
: 562872 (view as bug list)
Depends on:
Reported: 2008-08-26 10:15 UTC by Juanje Ojeda
Modified: 2009-06-22 19:24 UTC
See Also:
GNOME target: 2.26.x
GNOME version: ---

Add missing gettext calls (1.10 KB, patch)
2008-09-21 20:33 UTC, Claude Paroz
none Details | Review

Description Juanje Ojeda 2008-08-26 10:15:50 UTC
I'm translating the module to Spanish but I found some strings that I've already translated on the es.po file but don't show up on the UI.

I've even tried with another languages which has those strings translated but they also didn't work.

Those strings are on the UI on the "Edit Implicit Authorizations" dialog ("polkit-gnome-authorization" tool). The combo box always puts the English strings.

The strings are defined from line 117 to the line 129 ("tools/polkit-gnome-authorization.c").

I don't know if this happens because the struct "EditImplResult" (or "PolKitResult") doesn't like gettext or what.
Could you tell me if you can reproduce the error, please?

Thanks :-)
Comment 1 Claude Paroz 2008-09-21 20:32:25 UTC
Yes, gettext calls are missing at runtime. Patch follows.
Comment 2 Claude Paroz 2008-09-21 20:33:07 UTC
Created attachment 119126 [details] [review]
Add missing gettext calls
Comment 3 André Klapper 2008-10-16 15:14:39 UTC
david: ping
Comment 4 Claude Paroz 2009-02-09 20:47:24 UTC
Please update also the file to include all relevant translation strings.
Comment 5 Gabor Kelemen 2009-04-15 22:34:45 UTC
*** Bug 562872 has been marked as a duplicate of this bug. ***
Comment 6 André Klapper 2009-05-10 19:32:35 UTC
ping. Is this maintained?
Comment 7 David Zeuthen (not reading bugmail) 2009-06-22 15:45:50 UTC
This tool is no longer in git master - there are plans to write a new tool with
similar functionality but that ain't done yet. Thanks for the patch anyway.
Comment 8 David Planella 2009-06-22 19:24:08 UTC
Is this new tool planned for GNOME 2.28? What are the translators supposed to do with the policykit-gnome translations in the meantime?