aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ManaTools/Module.pm10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/ManaTools/Module.pm b/lib/ManaTools/Module.pm
index 85abd36..4d2b7b5 100644
--- a/lib/ManaTools/Module.pm
+++ b/lib/ManaTools/Module.pm
@@ -22,11 +22,12 @@
#Class Module
package ManaTools::Module;
+use ManaTools::Shared;
use Moose;
=head1 VERSION
-Version 0.01
+Version 1.0.1
=cut
@@ -121,12 +122,7 @@ sub _localeInitialize {
my $self = shift;
my $cmdline = new yui::YCommandLine;
- my $locale_dir = undef;
- my $pos = $cmdline->find("--locales-dir");
- if ($pos > 0)
- {
- $locale_dir = $cmdline->arg($pos+1);
- }
+ my $locale_dir = ManaTools::Shared::custom_locale_dir();
$self->loc(
ManaTools::Shared::Locales->new(
domain_name => 'manatools',