diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-01-22 11:57:03 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-01-22 11:57:03 +0000 |
commit | 1d922c8c7778f4fd5f0b7d592d102109e20835c1 (patch) | |
tree | 7439fc759ca1428e7ba4d4eec919e5d58d7e13d4 /perl-install/common.pm | |
parent | 0b2abe1abda411d0333a53bab0bcec18eccb2042 (diff) | |
download | drakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.tar drakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.tar.gz drakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.tar.bz2 drakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.tar.xz drakx-backup-do-not-use-1d922c8c7778f4fd5f0b7d592d102109e20835c1.zip |
fix accents characters displaying in console mode during install:
- convert translations into utf8 only during install && if using gtk
- explicitely bind the codeset to the specified locale's encoding because
during install they are reported as utf8
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r-- | perl-install/common.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index 3948cf7f9..f486660d4 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -55,7 +55,7 @@ sub translate { my ($s) = @_; $s or return ''; foreach ('libDrakX', @::textdomains) { - my $s2 = c::dgettext($_, $s); + my $s2 = $::isInstall && UNIVERSAL::isa($::o, 'interactive::gtk') ? c::dgettext_utf8($_, $s) : c::dgettext($_, $s); return $s2 if $s ne $s2; } $s; |