| Games-Pandemic documentation | Contained in the Games-Pandemic distribution. |
Games::Pandemic::I18n - internationalization utilities for pandemic
version 1.111030
This module provides some helper subs for internationalizing pandemic.
Performs a call to gettext on $string, convert it from utf8 and
return the result. Note that i18n is using Locale::TextDomain
underneath, so refer to this module for more information.
Jerome Quelin
This software is Copyright (c) 2009 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
| Games-Pandemic documentation | Contained in the Games-Pandemic distribution. |
# # This file is part of Games-Pandemic # # This software is Copyright (c) 2009 by Jerome Quelin. # # This is free software, licensed under: # # The GNU General Public License, Version 2, June 1991 # use 5.010; use strict; use warnings; package Games::Pandemic::I18n; BEGIN { $Games::Pandemic::I18n::VERSION = '1.111030'; } # ABSTRACT: internationalization utilities for pandemic # should come before locale::textdomain use use Games::Pandemic::Utils qw{ $SHAREDIR }; use Encode; use Exporter::Lite; use Locale::TextDomain 'Games-Pandemic', $SHAREDIR->subdir("locale")->stringify; our @EXPORT_OK = qw{ T }; # -- public subs sub T { return decode('utf8', __($_[0])); } 1;
__END__