blob: 2d505428c292dc8b4c05a79ac7ece00afb057f9a [file] [log] [blame]
Akroncddd1642015-06-10 21:31:53 +02001# Based on Mojolicious::Plugin::Number::Commify
2my $THOUSAND_SEP_RE = qr/(
3 ^[-+]? # beginning of number.
4 \d+? # first digits before first comma
5 (?= # followed by, (but not included in the match) :
6 (?>(?:\d{3})+) # some positive multiple of three digits.
7 (?!\d) # an *exact* multiple, not x * 3 + 1 or whatever.
8 )| # or:
9 \G\d{3} # after the last group, get three digits
10 (?=\d) # but they have to have more digits after them.
11)/x;
12
13{
14 _ => sub { $_->locale },
15 de => {
16 numf => sub {
17 shift;
18 my %val = @_;
19 my $num = $val{number} or return 0;
20 $num =~ s/$THOUSAND_SEP_RE/$1\./g;
21 return $num;
22 },
23 about => 'Über KorAP',
24 login => 'Anmelden',
Akrone5ef4e02017-04-19 17:07:52 +020025 logout => 'Abmelden',
Akrone8235be2016-06-27 11:02:18 +020026 register => 'Registrieren',
27 pwdforgotten => 'Password vergessen?',
Akron1f0521b2018-08-28 13:01:24 +020028 # TODO: use document.write() refering to vc.getName()!
29 searchjob => '»<%== $q %>« <% if (param("collection")) { %>im definierten Korpus <% } %>mit <%== loc("QL_" . $ql, "unbekannter Anfragesprache") %>',
Akron656c5d92015-11-13 21:17:03 +010030 searchtitle => 'KorAP: Finde <%== loc("searchjob") %>',
Akroncddd1642015-06-10 21:31:53 +020031 searchplaceholder => 'Finde ...',
32 go => 'Los!',
Akron9dda34e2020-07-06 11:38:27 +020033 news => 'Neuigkeiten & Ankündigungen',
Akroncddd1642015-06-10 21:31:53 +020034 in => 'in',
35 by => 'von',
Akron189b3592016-01-04 20:56:46 +010036 pwd => 'Passwort',
37 email => 'Email',
Akrone208d302020-11-28 11:14:50 +010038 username => 'Benutzername',
Akron9f2ad342022-05-04 16:16:40 +020039 upload => 'Hochladen',
Akron9fa7cc52022-05-12 11:17:20 +020040 userormail => 'Benutzername oder Email',
Akroncddd1642015-06-10 21:31:53 +020041 with => 'mit',
42 glimpse => {
Akroncddd1642015-06-10 21:31:53 +020043 desc => 'Zeige nur die ersten Treffer in beliebiger Reihenfolge'
44 },
Akrond1741ae2017-11-29 09:58:53 +010045 activateJS => 'Für den vollen Funktionsumfang aktivieren Sie bitte JavaScript!',
Marc Kupietzb82939b2021-09-07 22:45:38 +020046 faq => 'FAQ',
Helge2e434be2023-02-01 16:47:16 +010047 tutorial => 'Hilfe und Dokumentation',
Akronf4a7cf42018-01-09 15:58:45 +010048 notAvailInCorpus => 'Im vorliegenden Korpus nicht verfügbar',
Akroncddd1642015-06-10 21:31:53 +020049 pubOn => 'veröffentlicht am',
50 matchCount => 'Treffer',
Akron656c5d92015-11-13 21:17:03 +010051 noMatches => 'Es wurden keine Treffer für <%== loc("searchjob") %> gefunden.',
Akroncddd1642015-06-10 21:31:53 +020052 notFound => '404 - Seite nicht gefunden',
Akron3c390c42020-03-30 09:06:21 +020053 notIssued => 'Die Aktion konnte nicht durchgeführt werden.',
Akron8ea84292018-10-24 13:41:52 +020054 backendNotAvailable => 'Das Backend ist nicht verfügbar unter <code><%= app->korap->api =></code>!',
Akroncddd1642015-06-10 21:31:53 +020055 jsFile => 'kalamar-<%= $Kalamar::VERSION %>-de.js',
56 underConstruction => 'In Vorbereitung!',
57 korap => {
58 -short => 'KorAP',
59 desc => 'KorAP - Korpusanalyseplattform der nächsten Generation',
60 overview => 'KorAP - Übersicht',
Akrona2d92de2019-02-27 15:51:07 +010061 keywords => 'KorAP, DeReKo, Korpussuche, IDS Mannheim, Leibniz-Institut für Deutsche Sprache',
Akroncddd1642015-06-10 21:31:53 +020062 },
Akronafeca252018-05-23 15:54:28 +020063 privacy => 'Datenschutz',
64 imprint => 'Impressum',
Akronf7ec4442019-10-27 20:01:05 +010065 settings => 'Einstellungen',
Akronccd71a42017-06-30 18:09:19 +020066 Template => {
Akronbd39a432017-09-20 13:57:13 +020067 intro => 'de/intro',
Akronccd71a42017-06-30 18:09:19 +020068 doc => {
69 ql => {
70 'poliqarp-plus' => 'de/doc/ql/poliqarp-plus'
Akron48567812017-09-01 16:49:04 +020071 },
72 api => {
73 'koralquery' => 'de/doc/api/koralquery'
74 },
75 data => {
76 'annotation' => 'de/doc/data/annotation'
77 },
Marc Kupietzfcadda62021-09-08 09:06:25 +020078 development => {
79 'kalamar' => 'de/doc/development/kalamar',
80 'karang' => 'de/doc/development/karang',
81 'koral' => 'de/doc/development/koral',
82 'krill' => 'de/doc/development/krill',
83 'kustvakt' => 'de/doc/development/kustvakt'
Akronccd71a42017-06-30 18:09:19 +020084 }
85 }
Akron0dc10902017-09-01 18:00:16 +020086 },
87 Nav => {
88 'ql' => 'Anfragesprachen',
89 '#segments' => 'Einfache Segmente',
90 '#complex' => 'Komplexe Segmente',
Akronae24e162018-02-13 18:48:44 +010091 '#spans' => 'Span-Segmente',
Akron0dc10902017-09-01 18:00:16 +020092 '#paradigmatic-operators' => 'Paradigmatische Operatoren',
93 '#syntagmatic-operators' => 'Syntagmatische Operatoren',
Akronae24e162018-02-13 18:48:44 +010094 '#class-operators' => 'Klassen-Operatoren',
Akron0dc10902017-09-01 18:00:16 +020095 'regexp' => 'Reguläre Ausdrücke',
Marc Kupietz4689e792021-09-07 23:29:51 +020096 'data' => 'Korpusdaten',
Akron0dc10902017-09-01 18:00:16 +020097 'corpus' => 'Korpora',
98 'annotation' => 'Annotationen',
99 '#default-foundries' => 'Standard Foundries',
Marc Kupietzfcadda62021-09-08 09:06:25 +0200100 'development' => 'Entwicklung',
Marc Kupietzb82939b2021-09-07 22:45:38 +0200101 'faq' => 'FAQ'
Akroncddd1642015-06-10 21:31:53 +0200102 }
103 },
104 -en => {
Akron43a73092016-02-11 21:52:27 +0100105 jsFile => 'kalamar-<%= $Kalamar::VERSION %>-en.js',
Akroncddd1642015-06-10 21:31:53 +0200106 numf => sub {
107 shift;
108 my %val = @_;
109 my $num = $val{number} or return 0;
110 $num =~ s/$THOUSAND_SEP_RE/$1\,/g;
111 return $num;
112 },
113 about => 'About KorAP',
114 login => 'Login',
Akrona8f56b22017-09-06 16:01:28 +0200115 logout => 'Logout',
Akrone8235be2016-06-27 11:02:18 +0200116 register => 'Register',
117 pwdforgotten => 'Password forgotten?',
Akroncddd1642015-06-10 21:31:53 +0200118 go => 'Go!',
Akron9dda34e2020-07-06 11:38:27 +0200119 news => 'News & Announcements',
Akron1f0521b2018-08-28 13:01:24 +0200120 # TODO: use document.write() refering to vc.getName()!
121 searchjob => '»<%== $q %>« <% if (param("collection")) { %>in the defined corpus <% } %>with <%== loc("QL_". $ql, "unknown query language") %>',
Akron656c5d92015-11-13 21:17:03 +0100122 searchtitle => 'KorAP: Find <%== loc("searchjob") %>',
Akroncddd1642015-06-10 21:31:53 +0200123 searchplaceholder => 'Find ...',
124 in => 'in',
125 by => 'by',
Akron189b3592016-01-04 20:56:46 +0100126 pwd => 'Password',
127 email => 'Email',
Akrone208d302020-11-28 11:14:50 +0100128 username => 'Username',
Akron9f2ad342022-05-04 16:16:40 +0200129 upload => 'Upload',
Akron9fa7cc52022-05-12 11:17:20 +0200130 userormail => 'Username or Email',
Akroncddd1642015-06-10 21:31:53 +0200131 with => 'with',
Akronf4a7cf42018-01-09 15:58:45 +0100132 notAvailInCorpus => 'Not available in the current corpus',
Akroncddd1642015-06-10 21:31:53 +0200133 pubOn => 'published on',
Akroncf29b222016-10-12 16:53:32 +0200134 matchCount => '<%= quant($found, "match", "matches") %>',
Akron656c5d92015-11-13 21:17:03 +0100135 noMatches => 'There were no matches found for <%== loc("searchjob") %>.',
Akroncddd1642015-06-10 21:31:53 +0200136 notFound => '404 - Page not found',
Akron3c390c42020-03-30 09:06:21 +0200137 notIssued => 'Unable to perform the action.',
Akron8ea84292018-10-24 13:41:52 +0200138 backendNotAvailable => 'The backend is not available at <code><%= app->korap->api %></code>!',
Akroncddd1642015-06-10 21:31:53 +0200139 glimpse => {
Akrona18ee1a2017-07-06 16:40:26 +0200140 -short => 'Glimpse',
Akroncddd1642015-06-10 21:31:53 +0200141 desc => 'Just show the first matches in arbitrary order'
142 },
Akrond1741ae2017-11-29 09:58:53 +0100143 activateJS => 'To make use of all features, please activate JavaScript!',
Marc Kupietzb82939b2021-09-07 22:45:38 +0200144 faq => 'FAQ',
Akroncddd1642015-06-10 21:31:53 +0200145 underConstruction => 'Under Construction!',
Helge2e434be2023-02-01 16:47:16 +0100146 tutorial => 'Help and Documentation',
Akroncddd1642015-06-10 21:31:53 +0200147 korap => {
148 -short => 'KorAP',
149 desc => 'KorAP - Corpus Analysis Platform',
Akrona17bc5b2018-10-05 13:35:01 +0200150 overview => 'KorAP - Overview',
151 region => 'DE-BW',
152 placename => 'Mannheim',
Akrona2d92de2019-02-27 15:51:07 +0100153 keywords => 'KorAP, DeReKo, Corpus Query Platform, IDS Mannheim, Leibniz Institute for the German Language'
Akron7716f012015-07-01 20:38:32 +0200154 },
155 QL => {
156 poliqarp => 'Poliqarp',
157 cosmas2 => 'Cosmas II',
158 annis => 'Annis QL',
Akronef351fa2017-11-22 19:44:50 +0100159 cql => 'CQL v1.2',
160 fcsql => 'FCSQL'
Akrone5ef4e02017-04-19 17:07:52 +0200161 },
Akronafeca252018-05-23 15:54:28 +0200162 privacy => 'Privacy',
163 imprint => 'Imprint',
Akronf7ec4442019-10-27 20:01:05 +0100164 settings => 'Settings',
Akronccd71a42017-06-30 18:09:19 +0200165 Template => {
Akronbd39a432017-09-20 13:57:13 +0200166 intro => 'intro',
Akronccd71a42017-06-30 18:09:19 +0200167 doc => {
168 ql => {
Akron0dc10902017-09-01 18:00:16 +0200169 'poliqarp-plus' => 'doc/ql/poliqarp-plus'
170 },
171 api => {
172 'koralquery' => 'doc/api/koralquery'
173 },
174 data => {
175 'annotation' => 'doc/data/annotation'
176 },
Akrondd5ab892021-09-08 12:46:08 +0200177 development => {
Marc Kupietzfcadda62021-09-08 09:06:25 +0200178 'kalamar' => 'doc/development/kalamar',
179 'karang' => 'doc/development/karang',
180 'koral' => 'doc/development/koral',
181 'krill' => 'doc/development/krill',
182 'kustvakt' => 'doc/development/kustvakt'
Akronccd71a42017-06-30 18:09:19 +0200183 }
184 }
Akron0dc10902017-09-01 18:00:16 +0200185 },
186 Nav => {
187 'ql' => 'Query Languages',
188 '#segments' => 'Simple Segments',
189 '#complex' => 'Complex Segments',
190 '#spans' => 'Span Segments',
191 '#paradigmatic-operators' => 'Paradigmatic Operators',
192 '#syntagmatic-operators' => 'Syntagmatic Operators',
193 '#class-operators' => 'Class Operators',
194 'regexp' => 'Regular Expressions',
Marc Kupietz4689e792021-09-07 23:29:51 +0200195 'data' => 'Corpus Data',
Akron0dc10902017-09-01 18:00:16 +0200196 'corpus' => 'Corpora',
197 'annotation' => 'Annotations',
198 '#default-foundries' => 'Default Foundries',
Marc Kupietzfcadda62021-09-08 09:06:25 +0200199 'development' => 'Development',
Marc Kupietzb82939b2021-09-07 22:45:38 +0200200 'faq' => 'FAQ'
Akroncddd1642015-06-10 21:31:53 +0200201 }
Akron4c33c622018-11-12 13:43:27 +0100202 },
203 Piwik => {
204 en => {
205 'HowToOptOut' => 'How to opt-out from Piwik/Matomo tracking?'
206 },
207 de => {
208 'HowToOptOut' => 'Wie kann ich die Weitergabe meiner Daten per Matomo/Piwik unterbinden?'
209 }
Akroncddd1642015-06-10 21:31:53 +0200210 }
211};