diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-13 05:41:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-13 05:41:00 +0000 |
commit | 641617cec8ba09a022e80f03c9903329e539c4a1 (patch) | |
tree | 65ce727d5259575af6178fe233a6ec09264932e9 | |
parent | b57a52b716f3c1c6d68efffcd028c3bbdd3d9978 (diff) | |
download | control-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-x | control-center | 3 |
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))); |