Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 1 | { |
Nils Diewald | 2fe12e1 | 2015-03-06 16:47:06 +0000 | [diff] [blame] | 2 | Kalamar => { |
Nils Diewald | 1d2903f | 2014-11-03 22:31:20 +0000 | [diff] [blame] | 3 | # '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 Diewald | dd2d4e8 | 2014-05-31 17:08:33 +0000 | [diff] [blame] | 5 | }, |
| 6 | Notifications => { |
Nils Diewald | 2ef057e | 2014-11-04 16:04:17 +0000 | [diff] [blame] | 7 | Alertify => { |
| 8 | base_timeout => 10_000 |
| 9 | }, |
Nils Diewald | 02df991 | 2014-06-03 16:08:07 +0000 | [diff] [blame] | 10 | JSON => 1 |
Nils Diewald | dd2d4e8 | 2014-05-31 17:08:33 +0000 | [diff] [blame] | 11 | }, |
| 12 | Search => { |
Nils Diewald | 2fe12e1 | 2015-03-06 16:47:06 +0000 | [diff] [blame] | 13 | engine => 'Kalamar::API', |
Nils Diewald | 996aa55 | 2014-12-02 03:26:44 +0000 | [diff] [blame] | 14 | api => 'http://10.0.10.13:7070/api/v0.1/' |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 15 | }, |
| 16 | CHI => { |
Nils Diewald | 8f4b5da | 2014-12-03 22:13:39 +0000 | [diff] [blame] | 17 | # session_cache => { |
| 18 | # driver => 'FastMmap', |
| 19 | # root_dir => app->home . '/cache/session', |
| 20 | # cache_size => '3m' |
| 21 | # }, |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 22 | default => { |
| 23 | driver => 'FastMmap', |
Nils Diewald | 94bae91 | 2014-09-22 13:40:31 +0000 | [diff] [blame] | 24 | root_dir => app->home . '/cache/data', |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 25 | cache_size => '12m' |
| 26 | } |
Nils Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame] | 27 | }, |
| 28 | hypnotoad => { |
Nils Diewald | dd9d8d7 | 2014-06-23 15:09:37 +0000 | [diff] [blame] | 29 | listen => ['http://*:6666', 'http://*:5555'], |
Nils Diewald | f2e02a9 | 2014-11-12 18:31:05 +0000 | [diff] [blame] | 30 | workers => 5, |
Nils Diewald | d2b5737 | 2015-03-10 20:09:48 +0000 | [diff] [blame] | 31 | inactivity_timeout => 120, |
| 32 | proxy => 1 |
Nils Diewald | 002e8fb | 2014-06-22 14:27:01 +0000 | [diff] [blame] | 33 | }, |
| 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 Diewald | 4e9fbcb | 2014-07-15 11:45:09 +0000 | [diff] [blame] | 41 | }, |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 42 | Localize => { |
| 43 | dict => { |
| 44 | _ => sub { $_->locale }, |
| 45 | de => { |
| 46 | about => 'Über KorAP', |
| 47 | login => 'Anmelden', |
Nils Diewald | 0ec142f | 2015-05-05 00:29:23 +0000 | [diff] [blame] | 48 | searchtitle => 'KorAP: Finde "<%= $q %>" (<%= $ql %>)', |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 49 | searchplaceholder => 'Finde ...', |
Nils Diewald | 0ec142f | 2015-05-05 00:29:23 +0000 | [diff] [blame] | 50 | go => 'Los!', |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 51 | in => 'in', |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 52 | by => 'von', |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 53 | with => 'mit', |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 54 | glimpse => 'Stichprobe', |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 55 | faq => 'Häufige Fragen', |
| 56 | tutorial => 'Einführung', |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 57 | pubOn => 'veröffentlicht am', |
| 58 | matchCount => 'Treffer', |
Nils Diewald | 7148c6f | 2015-05-04 15:07:53 +0000 | [diff] [blame] | 59 | jsFile => 'kalamar-<%= $Kalamar::VERSION %>-en.js', |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 60 | korap => { |
| 61 | -short => 'KorAP', |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 62 | long => 'KorAP - Korpusanalyseplattform der nächsten Generation', |
Nils Diewald | 7148c6f | 2015-05-04 15:07:53 +0000 | [diff] [blame] | 63 | overview => 'KorAP - Übersicht', |
| 64 | }, |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 65 | }, |
Nils Diewald | 7148c6f | 2015-05-04 15:07:53 +0000 | [diff] [blame] | 66 | -en => { |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 67 | about => 'About KorAP', |
| 68 | login => 'Login', |
| 69 | go => 'Go!', |
Nils Diewald | 0ec142f | 2015-05-05 00:29:23 +0000 | [diff] [blame] | 70 | searchtitle => 'KorAP: Find "<%= $q %>" (<%= $ql %>)', |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 71 | searchplaceholder => 'Find ...', |
| 72 | in => 'in', |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 73 | by => 'by', |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 74 | with => 'with', |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 75 | pubOn => 'published on', |
| 76 | matchCount => '<%= num($found, "match", "matches") %>', |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 77 | glimpse => 'Sample', |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 78 | faq => 'F.A.Q.', |
| 79 | tutorial => 'Tutorial', |
Nils Diewald | 7148c6f | 2015-05-04 15:07:53 +0000 | [diff] [blame] | 80 | jsFile => 'kalamar-<%= $Kalamar::VERSION %>-en.js', |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 81 | korap => { |
| 82 | -short => 'KorAP', |
Nils Diewald | a31a515 | 2015-04-17 21:05:23 +0000 | [diff] [blame] | 83 | long => 'KorAP - Corpus Analysis Platform', |
| 84 | overview => 'KorAP - Overview' |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 85 | } |
| 86 | } |
| 87 | } |
| 88 | }, |
Nils Diewald | 4e9fbcb | 2014-07-15 11:45:09 +0000 | [diff] [blame] | 89 | MailException => { |
| 90 | from => 'korap@ids-mannheim.de', |
| 91 | to => 'diewald@ids-mannheim.de', |
| 92 | subject => '[KorAP] Testbed crashed' |
Nils Diewald | 5d1ffb4 | 2014-05-21 17:45:34 +0000 | [diff] [blame] | 93 | } |
| 94 | } |