https://qa.mandrakesoft.com/show_bug.cgi?id=1175

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|97                          |22



------- Additional Comments From [EMAIL PROTECTED]  2003-02-05 15:40 -------
Kaixo!

On Wed, Feb 05, 2003 at 02:43:32PM +0100, [Bug 1175] wrote:
 
Some languages still crashed despite the fact that "/_Options" and
"/Options" were translated the same...

Looking a bit more, I saw that for example for Russian, the title bar
and entries in the list tree were seen as being latin1 instead of
russian at display time; that could be the reason of the problem
(one translation seen as proper russian, the other as latin1 -> don't match).

I changed in common.pm like this:

--- common.pm.old       2003-02-05 15:52:15.000000000 +0100
+++ common.pm   2003-02-05 15:45:18.000000000 +0100
@@ -55,6 +55,7 @@
     my ($s) = @_;
     $s or return '';
     foreach ('libDrakX', @::textdomains) {
+       c::bind_textdomain_codeset($_, "UTF-8");    
        my $s2 = c::dgettext($_, $s);
        return $s2 if $s ne $s2;
     }
@@ -63,7 +64,8 @@
 
 sub translate {
     my $s = translate_real(@_);
-    $::need_utf8_i18n and c::set_tagged_utf8($s);
+    c::set_tagged_utf8($s);
     $s;
 }
 

and it works ok now.

apparently the "need_utf8_i18n" isn't trustable enough.

Now the problem are the few remaining perl-gtk1 programs (but if they are
supposed to be ported to gtk2 before the launch of mdk 9.1 then it's not
a real problem, it is even a good incentive to port them faster :) )




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
description: 
You just get a "Please wait" and it hangs until you click the cancel button. 
Launching drakconf from the command line gives the following stderr when you
click the hardrake button:

TODO: XSetInputFocus if force_focus
TODO: ensure focus stuff

(drakconf.real:2926): Gdk-CRITICAL **: file ../../gdk/gdkdraw.c: line 238
(gdk_drawable_get_display): assertion `GDK_IS_DRAWABLE (drawable)' failed

Reply via email to