diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-06-01 23:29:31 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-06-01 23:29:31 +0200 |
commit | c113abab36e1c3eaec2167017da3aa31e940f269 (patch) | |
tree | 755feec55452a80ddc03d0d909b3f7da570703e5 | |
parent | 121d2c9097e24c99c719fbe012bf03c0b68aa982 (diff) | |
download | colin-keep-c113abab36e1c3eaec2167017da3aa31e940f269.tar colin-keep-c113abab36e1c3eaec2167017da3aa31e940f269.tar.gz colin-keep-c113abab36e1c3eaec2167017da3aa31e940f269.tar.bz2 colin-keep-c113abab36e1c3eaec2167017da3aa31e940f269.tar.xz colin-keep-c113abab36e1c3eaec2167017da3aa31e940f269.zip |
Used Shared::Locales
-rwxr-xr-x | scripts/adminUser | 9 | ||||
-rwxr-xr-x | scripts/mgaAddUser | 10 |
2 files changed, 9 insertions, 10 deletions
diff --git a/scripts/adminUser b/scripts/adminUser index 2e72b5f..363af4f 100755 --- a/scripts/adminUser +++ b/scripts/adminUser @@ -1,13 +1,12 @@ #!/usr/bin/perl -use lib qw(/usr/lib/libDrakX); - -use common qw(N); - use AdminPanel::Module::Users; +use AdminPanel::Shared::Locales; + +my $loc = AdminPanel::Shared::Locales->new(domain_name => 'userdrake'); my $userMan = AdminPanel::Module::Users->new({icon => "/usr/share/icons/userdrake.png", - name => N("Mageia Users Management Tool"),}); + name => $loc->N("Mageia Users Management Tool"),}); $userMan->start(); 1; diff --git a/scripts/mgaAddUser b/scripts/mgaAddUser index 093da72..ba884e5 100755 --- a/scripts/mgaAddUser +++ b/scripts/mgaAddUser @@ -1,13 +1,13 @@ #!/usr/bin/perl -use lib qw(/usr/lib/libDrakX); - -use common qw(N); - use AdminPanel::Module::Users; +use AdminPanel::Shared::Locales; + +my $loc = AdminPanel::Shared::Locales->new(domain_name => 'userdrake'); my $userMan = AdminPanel::Module::Users->new({icon => "/usr/share/icons/userdrake.png", - name => N("Mageia Add Users Tool"),}); + name => $loc->N("Mageia Add Users Tool"),}); + $userMan->addUserDialog(1); 1; |