aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index b99c24f9..e89a9c4c 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -41,9 +41,12 @@ if ($@) {
}
ugtk2::add_icon_path('/usr/share/rpmdrake/icons');
+c::bind_textdomain_codeset('rpmdrake', 'UTF8');
sub translate {
my ($s) = @_;
- $s ? c::dgettext('rpmdrake', $s) : '';
+ my $r = $s ? c::dgettext('rpmdrake', $s) : '';
+ c::set_tagged_utf8($r);
+ $r;
}
sub sprintf_fixutf8 {
my $need_upgrade;