Changeset 2240 for trunk/LATMOS-Accounts/lib/LATMOS/Accounts/I18N.pm
- Timestamp:
- 04/30/19 08:28:53 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/I18N.pm
r2237 r2240 26 26 if (!$init) { 27 27 28 my $Path = __FILE__; 29 $Path =~ s/\.pm$//; 30 $Path .= '/po'; 31 if (-d $Path) { 32 Locale::gettext::bindtextdomain('linkaccounts', $Path) 28 if (-d 'po') { 29 Locale::gettext::bindtextdomain('linkaccounts', 'po') 33 30 } 34 31 Locale::gettext::bind_textdomain_codeset('linkaccounts', 'UTF-8');
Note: See TracChangeset
for help on using the changeset viewer.