From b03e09d01466a7e720c0c16c4319a3853b29005c Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sun, 25 Apr 2010 22:08:50 +0200 Subject: a simple application to test --- t/lib/TestApp.pm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 t/lib/TestApp.pm (limited to 't/lib/TestApp.pm') diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm new file mode 100644 index 0000000..966ec30 --- /dev/null +++ b/t/lib/TestApp.pm @@ -0,0 +1,16 @@ +package TestApp; + +use Dancer; +use Dancer::Plugin::I18n; + +get '/' => sub { template 'index'; }; + +package TestApp::I18N::de; +use base 'TestApp::I18N'; +our %Lexicon = ( hello => 'hallo' ); + +package TestApp::I18N::fr; +use base 'TestApp::I18N'; +our %Lexicon = ( hello => 'bonjour' ); + +1; -- cgit v1.2.3