diff options
-rw-r--r-- | lib/Dancer/Plugin/I18n.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Dancer/Plugin/I18n.pm b/lib/Dancer/Plugin/I18n.pm index 67c57ec..1796cc3 100644 --- a/lib/Dancer/Plugin/I18n.pm +++ b/lib/Dancer/Plugin/I18n.pm @@ -21,6 +21,7 @@ add_hook( scalar $request->header('Accept-Language') ) ); + # FIXME what's the best method to get the application name ?? my $app = "TestApp"; $i18n_package = $app."::I18N"; eval "package $i18n_package; use base 'Locale::Maketext'; 1;"; |