summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-13 05:41:00 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-13 05:41:00 +0000
commit641617cec8ba09a022e80f03c9903329e539c4a1 (patch)
tree65ce727d5259575af6178fe233a6ec09264932e9
parentb57a52b716f3c1c6d68efffcd028c3bbdd3d9978 (diff)
downloadcontrol-center-641617cec8ba09a022e80f03c9903329e539c4a1.tar
control-center-641617cec8ba09a022e80f03c9903329e539c4a1.tar.gz
control-center-641617cec8ba09a022e80f03c9903329e539c4a1.tar.bz2
control-center-641617cec8ba09a022e80f03c9903329e539c4a1.tar.xz
control-center-641617cec8ba09a022e80f03c9903329e539c4a1.zip
(about_mdk_cc) fix utf-8 issues with strings from CREDITS file
-rwxr-xr-xcontrol-center3
1 files changed, 2 insertions, 1 deletions
diff --git a/control-center b/control-center
index ff5603cc..218310c5 100755
--- a/control-center
+++ b/control-center
@@ -24,6 +24,7 @@
use strict;
use diagnostics;
use lib qw(/usr/lib/libDrakX);
+use c;
use standalone;
use common;
use detect_devices;
@@ -1105,7 +1106,7 @@ sub about_mdk_cc() {
my ($contributor, $descr) = split(/:\s*/, $1, 2);
chomp($descr);
$descr =~ s/(["\@\$])/\\$1/g;
- $credits_model->append_set(undef, map_index { $::i => $_ } map { join("\n", warp_text(translate(common::sprintf_fixutf8($_)), 30)) } $contributor, $descr);
+ $credits_model->append_set(undef, map_index { $::i => $_ } map { join("\n", warp_text(translate(c::to_utf8($_)), 30)) } $contributor, $descr);
} else {
chomp($line);
$credits_model->append_set(undef, 0 => translate(common::sprintf_fixutf8($line)));