diff options
-rw-r--r-- | lib/ManaTools/Shared/Locales.pm | 6 |
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' => ( |