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 301624 - Some mail config strings are not translated by the lack of gettext() calls.
Some mail config strings are not translated by the lack of gettext() calls.
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Shreyas Srinivasan
Evolution QA team
: 305572 308690 (view as bug list)
Depends on:
Blocks: 236276
 
 
Reported: 2005-04-22 19:33 UTC by Changwoo Ryu
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Proposed patch (1.20 KB, patch)
2005-05-06 09:46 UTC, shakti
none Details | Review
proposed patch revised (3.42 KB, patch)
2005-05-15 06:11 UTC, Changwoo Ryu
none Details | Review
Patch which fixes the issue (3.54 KB, patch)
2006-01-02 11:08 UTC, Shreyas Srinivasan
none Details | Review

Description Changwoo Ryu 2005-04-22 19:33:50 UTC
Please describe the problem:
In em-account-editor, N_() marked strings (in emae_editor_items and
emae_druid_items) are not actually translated.

Steps to reproduce:
1. run evolution in a non-English locale.
2. Edit-Preferences and edit a mail account

Actual results:
"Receiving Options" tab is not transalted.

Expected results:
translated "Receiving Options"

Does this happen every time?
Always.

Other information:
Comment 1 André Klapper 2005-04-24 12:10:50 UTC
adding dependency.
Comment 2 shakti 2005-05-06 09:45:02 UTC
Attaching a patch which fixes this problem.
Comment 3 shakti 2005-05-06 09:46:22 UTC
Created attachment 46086 [details] [review]
Proposed patch
Comment 4 Changwoo Ryu 2005-05-07 20:40:55 UTC
I think the patch lacks handling of E_CONFIG_DRUID case.

How to reproduce:
1. Add a mail account
2. Set the server type IMAP

Then several config labels and title ("Receiving Options") are untranslated.
Comment 5 Not Zed 2005-05-11 05:03:30 UTC
Umm, for starters, e-config is a generic re-usable object.  saying "receiving
options" is now translated in the comment is meaningless.

Anyway - this fix is no good.  The strings must come into the item already
translated - they may come from plugins which are translated in their own
message domain & so wont be translated properly by this fix.

So the strings need to be translated in the code for statically allocated stuff
too, I guess.

Comment 6 Changwoo Ryu 2005-05-15 06:11:51 UTC
Created attachment 46445 [details] [review]
proposed patch revised

As NotZed said. it makes the strings already translated.
Comment 7 André Klapper 2005-06-01 14:31:06 UTC
*** Bug 305572 has been marked as a duplicate of this bug. ***
Comment 8 André Klapper 2005-07-20 10:38:04 UTC
marking the first patch as "obsolete" because of the comments, should review the
second approach
Comment 9 Not Zed 2005-08-08 09:14:40 UTC
the secodn patch looks good for the first part.

the second part is wrong though, it translates every item, but it should only
translate item 1, item 2 is already translated when it needs to be (which is
only sometimes)., and nothing else has a string.

(didn't you see that the line directly above your change also does translations?)
Comment 10 Nickolay V. Shmyrev 2005-09-29 21:29:39 UTC
*** Bug 308690 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2005-12-30 03:56:38 UTC
still in 2.4.
targetting to 2.4.3 because this was already broken in 2.2 and should definitely go in. it IS allowed to commit this to the stable and the unstable branch according to the guidelines.
Comment 12 Shreyas Srinivasan 2006-01-02 11:08:39 UTC
Created attachment 56658 [details] [review]
Patch which fixes the issue

Incorporating !z's comment into Changwoo Ryu's patch.
Comment 13 parthasarathi susarla 2006-01-02 11:14:53 UTC
Looks fine. Ok to commit.
Comment 14 Shreyas Srinivasan 2006-01-02 11:38:07 UTC
Committed to stable and unstable branches.