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 301120 - strings are not translated
strings are not translated
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: html-editor-control
unspecified
Other All
: Normal normal
: 2.2.x
Assigned To: gtkhtml-maintainers
Evolution QA team
Depends on:
Blocks: 236276
 
 
Reported: 2005-04-18 22:27 UTC by Changwoo Ryu
Modified: 2005-05-17 14:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes untranslated strings (24.15 KB, patch)
2005-04-22 22:00 UTC, Changwoo Ryu
none Details | Review
updated patch to let the exe component just use the implicit domain (28.63 KB, patch)
2005-05-07 20:45 UTC, Changwoo Ryu
none Details | Review

Description Changwoo Ryu 2005-04-18 22:27:37 UTC
Please describe the problem:
Some strings remains untranslated in the evolution mail composer.  It's because
the strings in XML files are not properly translated.


Steps to reproduce:
1. run evolution in any non-english locale
2. new mail
3. From menu: Format -> Paragraph...


Actual results:
strings "_Style:", "Alignment", "Left", "Center" and "Right" remain untranslated.


Expected results:
translated strings expected.


Does this happen every time?
Always.

Other information:
This needs to be fixed along with libbonoboui().  Currently we have no way to
specify the translation domain with bonobo_ui_util_*() functions.  See bug 301118 .
Comment 1 Changwoo Ryu 2005-04-22 21:52:03 UTC
Well, I was wrong.  It's not relevant to bonobo.

It is because of the gnome-i18n.h => gi18n.h changes in gnome-2-10 branch.  This
should be gi18n-lib.h.  Some file still uses gnome-i18n.h and some even uses
bonobo.h which in turn includes bonobo-i18n.h.  Therefore some file uses the
explicit translation domain, some does not.
Comment 2 Changwoo Ryu 2005-04-22 22:00:37 UTC
Created attachment 45564 [details] [review]
fixes untranslated strings

It replaces <gi18n.h> with <gi18n-lib.h>, defines
BONOBO_EXPLICIT_TRANSLATION_DOMAIN, and specify the domain of the glade file.

Defining BONOBO_EXPLICIT_TRANSLATION_DOMAIN, along with
GNOME_EXPLICIT_TRANSLATION_DOMAIN, is dirty. But some file still uses
gnome-i18n.h and others uses bonobo-i18n.h (via other bonobo header) so I can't
find no cleaner way.
Comment 3 André Klapper 2005-04-24 12:08:07 UTC
still valid in evolution-2.2.2.0.200504141611-0.snap.ximian.10.1, targetting to 
2.3 (i assume these strings aren't translated, but if they are, please retarget 
to 2.2.x).
adding dependency.
Comment 4 Changwoo Ryu 2005-04-24 14:24:33 UTC
The strings are translated.  Just not displayed.
Retargetting to 2.2.x...
Comment 5 Changwoo Ryu 2005-05-07 20:45:03 UTC
Created attachment 46141 [details] [review]
updated patch to let the exe component just use the implicit domain

applied to the cvs.
Comment 6 Changwoo Ryu 2005-05-13 15:00:25 UTC
Commited to gnome-2-2, reviewed by Radek Doulik.

Should I commit this also to HEAD?
Comment 7 Ganesh (Novell) 2005-05-17 03:49:04 UTC
Yes, Please commit to HEAD aswell.
Comment 8 Changwoo Ryu 2005-05-17 14:49:46 UTC
Commited to HEAD.