blob: 237593667d705847e800bbdead11aedeb042fadd [file] [log] [blame]
Nils Diewald5d1ffb42014-05-21 17:45:34 +00001{
Nils Diewald2fe12e12015-03-06 16:47:06 +00002 Kalamar => {
Nils Diewald1d2903f2014-11-03 22:31:20 +00003# 'api-0.1' => 'http://10.0.10.13:8888/api/v0.1/'
4 'api-0.1' => 'http://10.0.10.13:7070/api/v0.1/'
Nils Diewalddd2d4e82014-05-31 17:08:33 +00005 },
6 Notifications => {
Nils Diewald2ef057e2014-11-04 16:04:17 +00007 Alertify => {
8 base_timeout => 10_000
9 },
Nils Diewald02df9912014-06-03 16:08:07 +000010 JSON => 1
Nils Diewalddd2d4e82014-05-31 17:08:33 +000011 },
12 Search => {
Nils Diewald2fe12e12015-03-06 16:47:06 +000013 engine => 'Kalamar::API',
Nils Diewald996aa552014-12-02 03:26:44 +000014 api => 'http://10.0.10.13:7070/api/v0.1/'
Nils Diewald2329e1d2014-06-12 16:07:57 +000015 },
16 CHI => {
Nils Diewald8f4b5da2014-12-03 22:13:39 +000017# session_cache => {
18# driver => 'FastMmap',
19# root_dir => app->home . '/cache/session',
20# cache_size => '3m'
21# },
Nils Diewald2329e1d2014-06-12 16:07:57 +000022 default => {
23 driver => 'FastMmap',
Nils Diewald94bae912014-09-22 13:40:31 +000024 root_dir => app->home . '/cache/data',
Nils Diewald2329e1d2014-06-12 16:07:57 +000025 cache_size => '12m'
26 }
Nils Diewald1eba6572014-06-17 19:49:53 +000027 },
28 hypnotoad => {
Nils Diewalddd9d8d72014-06-23 15:09:37 +000029 listen => ['http://*:6666', 'http://*:5555'],
Nils Diewaldf2e02a92014-11-12 18:31:05 +000030 workers => 5,
Nils Diewaldd2b57372015-03-10 20:09:48 +000031 inactivity_timeout => 120,
32 proxy => 1
Nils Diewald002e8fb2014-06-22 14:27:01 +000033 },
34 'TagHelpers-Pagination' => {
35 prev => '<span><i class="fa fa-caret-left"></i></span>',
36 next => '<span><i class="fa fa-caret-right"></i></span>',
37 ellipsis => '<span><i class="fa fa-ellipsis-h"></i></span>',
38 separator => '',
39 current => '<span>{current}</span>',
40 page => '<span>{page}</span>'
Nils Diewald4e9fbcb2014-07-15 11:45:09 +000041 },
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000042 Localize => {
43 dict => {
44 _ => sub { $_->locale },
45 de => {
46 about => 'Über KorAP',
47 login => 'Anmelden',
Nils Diewald0ec142f2015-05-05 00:29:23 +000048 searchtitle => 'KorAP: Finde "<%= $q %>" (<%= $ql %>)',
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000049 searchplaceholder => 'Finde ...',
Nils Diewald0ec142f2015-05-05 00:29:23 +000050 go => 'Los!',
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000051 in => 'in',
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000052 by => 'von',
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000053 with => 'mit',
Nils Diewalda31a5152015-04-17 21:05:23 +000054 glimpse => 'Stichprobe',
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000055 faq => 'Häufige Fragen',
56 tutorial => 'Einführung',
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000057 pubOn => 'veröffentlicht am',
58 matchCount => 'Treffer',
Nils Diewald7148c6f2015-05-04 15:07:53 +000059 jsFile => 'kalamar-<%= $Kalamar::VERSION %>-en.js',
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000060 korap => {
61 -short => 'KorAP',
Nils Diewalda31a5152015-04-17 21:05:23 +000062 long => 'KorAP - Korpusanalyseplattform der nächsten Generation',
Nils Diewald7148c6f2015-05-04 15:07:53 +000063 overview => 'KorAP - Übersicht',
64 },
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000065 },
Nils Diewald7148c6f2015-05-04 15:07:53 +000066 -en => {
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000067 about => 'About KorAP',
68 login => 'Login',
69 go => 'Go!',
Nils Diewald0ec142f2015-05-05 00:29:23 +000070 searchtitle => 'KorAP: Find "<%= $q %>" (<%= $ql %>)',
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000071 searchplaceholder => 'Find ...',
72 in => 'in',
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000073 by => 'by',
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000074 with => 'with',
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000075 pubOn => 'published on',
76 matchCount => '<%= num($found, "match", "matches") %>',
Nils Diewalda31a5152015-04-17 21:05:23 +000077 glimpse => 'Sample',
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000078 faq => 'F.A.Q.',
79 tutorial => 'Tutorial',
Nils Diewald7148c6f2015-05-04 15:07:53 +000080 jsFile => 'kalamar-<%= $Kalamar::VERSION %>-en.js',
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000081 korap => {
82 -short => 'KorAP',
Nils Diewalda31a5152015-04-17 21:05:23 +000083 long => 'KorAP - Corpus Analysis Platform',
84 overview => 'KorAP - Overview'
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000085 }
86 }
87 }
88 },
Nils Diewald4e9fbcb2014-07-15 11:45:09 +000089 MailException => {
90 from => 'korap@ids-mannheim.de',
91 to => 'diewald@ids-mannheim.de',
92 subject => '[KorAP] Testbed crashed'
Nils Diewald5d1ffb42014-05-21 17:45:34 +000093 }
94}