diff options
author | Stefan Siegel <siegel@linux-mandrake.com> | 2001-04-10 10:04:55 +0000 |
---|---|---|
committer | Stefan Siegel <siegel@linux-mandrake.com> | 2001-04-10 10:04:55 +0000 |
commit | c4be57be8af9d437234a88f7c542647c03f3641c (patch) | |
tree | 754891ac7cf72163e366425bdab5463be2e820e6 /clock.pm | |
parent | 38348f81ef9582bcb1bfc5f5161ed04c5f1d519d (diff) | |
download | control-center-c4be57be8af9d437234a88f7c542647c03f3641c.tar control-center-c4be57be8af9d437234a88f7c542647c03f3641c.tar.gz control-center-c4be57be8af9d437234a88f7c542647c03f3641c.tar.bz2 control-center-c4be57be8af9d437234a88f7c542647c03f3641c.tar.xz control-center-c4be57be8af9d437234a88f7c542647c03f3641c.zip |
i18n fixes
Diffstat (limited to 'clock.pm')
-rwxr-xr-x | clock.pm | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -10,6 +10,17 @@ use timezone; use Data::Dumper; init Gtk; #use strict; +use Locale::GetText; + +setlocale (LC_ALL, ""); +Locale::GetText::textdomain ("DrakConf"); +import Locale::GetText I_; +sub _ { + my $s = shift @_; my $t = I_($s); + $t && ref $t or return sprintf $t, @_; + my ($T, @p) = @$t; + sprintf $T, @_[@p]; +} $::isEmbedded = ($::XID, $::CCPID) = "@ARGV" =~ /--embedded (\w+) (\w+)/; my $in = vnew interactive('su'); |