aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools/Shared
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-08-05 19:28:03 +0200
committerAngelo Naselli <anaselli@linux.it>2015-08-05 19:28:03 +0200
commit439b68efec4377c1ef3f6158aa1a7cdfec5025a9 (patch)
tree667655e6b01b826047783d857a5985cfd9ac0375 /lib/ManaTools/Shared
parentb15d7acd23b98c3618a53a99129e6d466d97f445 (diff)
downloadmanatools-439b68efec4377c1ef3f6158aa1a7cdfec5025a9.tar
manatools-439b68efec4377c1ef3f6158aa1a7cdfec5025a9.tar.gz
manatools-439b68efec4377c1ef3f6158aa1a7cdfec5025a9.tar.bz2
manatools-439b68efec4377c1ef3f6158aa1a7cdfec5025a9.tar.xz
manatools-439b68efec4377c1ef3f6158aa1a7cdfec5025a9.zip
Default behavior is now looking for localdir
Diffstat (limited to 'lib/ManaTools/Shared')
-rw-r--r--lib/ManaTools/Shared/Locales.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ManaTools/Shared/Locales.pm b/lib/ManaTools/Shared/Locales.pm
index c7d1f021..5ed1c638 100644
--- a/lib/ManaTools/Shared/Locales.pm
+++ b/lib/ManaTools/Shared/Locales.pm
@@ -60,7 +60,7 @@ use diagnostics;
use utf8;
use Locale::gettext;
use Text::Iconv;
-
+use ManaTools::Shared;
#=============================================================
@@ -88,7 +88,9 @@ has 'domain_name' => (
has 'dir_name' => (
is => 'rw',
- default => undef,
+ default => sub {
+ ManaTools::Shared::custom_locale_dir();
+ },
);
has 'codeset' => (