aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-08 12:18:20 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-08 12:18:20 +0200
commit3b17fc690db8aab9761c44991ad6935b94fc00dc (patch)
treecc2a886d281c7a9f04e51cc0853912c6f0643070
parentb32e88cc964dc3fda362d655ea612ee62c5c154b (diff)
downloadmanatools-3b17fc690db8aab9761c44991ad6935b94fc00dc.tar
manatools-3b17fc690db8aab9761c44991ad6935b94fc00dc.tar.gz
manatools-3b17fc690db8aab9761c44991ad6935b94fc00dc.tar.bz2
manatools-3b17fc690db8aab9761c44991ad6935b94fc00dc.tar.xz
manatools-3b17fc690db8aab9761c44991ad6935b94fc00dc.zip
used AdminPanel::Shared::Locale
-rwxr-xr-xscripts/adminService7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/adminService b/scripts/adminService
index e46942e9..493b6a3d 100755
--- a/scripts/adminService
+++ b/scripts/adminService
@@ -1,13 +1,14 @@
#!/usr/bin/perl
use strict;
-use lib qw(/usr/lib/libDrakX);
-use common qw(N);
use AdminPanel::Module::Services;
+use AdminPanel::Shared::Locales;
+
+my $loc = AdminPanel::Shared::Locales->new(domain_name => 'libDrakX-standalone');
my $serviceMan = AdminPanel::Module::Services->new({icon => "/usr/share/mcc/themes/default/service-mdk.png",
- name => N("Services and daemons"),});
+ name => $loc->N("Services and daemons"),});
$serviceMan->start();
1;