From 3b17fc690db8aab9761c44991ad6935b94fc00dc Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Tue, 8 Jul 2014 12:18:20 +0200 Subject: used AdminPanel::Shared::Locale --- scripts/adminService | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts') 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; -- cgit v1.2.1