1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# LOCALIZATION NOTE:
# Strings here are used to create events and tasks with start and end times
# based on email content.
# None of the strings are displayed in the user interface.
#
# You don't have to fill all from.*, until.*, *.prefix and *.suffix patterns.
# It's ok to leave some empty.
# Please consider declensions and gender if your language has them.
# Don't just translate directly. The number of variants doesn't have to be
# the same as in en-US. All of 0, 1, 2, etc is allowed in patterns except alphabet.
# patterns. You can and should add language specific variants.
#
# There are two different ways to find a start time text in email:
# 1) it matches a from.* pattern and does not have end.prefix or end.suffix next to it
# 2) it matches until.* pattern and has start.prefix or start.suffix next to it
# Similar inverse logic applies to end times.
# These rules enable using prefix and suffix values with only start.* or only until.*
# patterns localized for some languages and thus not having to repeat the same
# values in both.
#
# Patterns are partially space-insensitive.
# "deadline is" pattern will find both "deadlineis" and "deadline is"
# but "deadlineis" won't find "deadline is" or "deadline is".
# Therefore you should include all spaces that are valid within a pattern.
# LOCALIZATION NOTE (start.prefix):
# datetimes with these in front are extracted as start times
# can be a list of values, separate variants by |
start.prefix =
# LOCALIZATION NOTE (start.suffix):
# datetimes followed by these are extracted as start times
start.suffix = by | until | to | - | till | til | and
# LOCALIZATION NOTE (end.prefix):
# datetimes followed by these are extracted as end times
end.prefix = by | until | to | - | till | til | and | due: | due | ends | deadline is | deadline:
# LOCALIZATION NOTE (end.suffix):
# datetimes followed by these are extracted as end times
# can be a list of values, separate variants by |
end.suffix =
# LOCALIZATION NOTE (no.datetime.prefix):
# datetimes with these in front won't be used
# specify full words here
no.datetime.prefix = last week | sent | email | e-mail | instead of | > | unfortunately | in | not
# LOCALIZATION NOTE (no.datetime.suffix):
# datetimes follwed by these won't be used
no.datetime.suffix = floor | flr | : | email | e-mail | > | % | usd | dollars
# LOCALIZATION NOTE (from.*):
# can be a list of values, separate variants by |
# LOCALIZATION NOTE (from.today):
# must not be empty!
from.today = tänään
from.tomorrow = tomorrow
# LOCALIZATION NOTE (until.*):
# can be a list of values, separate variants by |
until.tomorrow =
# LOCALIZATION NOTE (ordinal.date):
# %1$S = matches numbers 1-31 and number.x
# should not have "%1$S" as this would match any single number in email to a time
from.ordinal.date = %1$S.
# LOCALIZATION NOTE (until.ordinal.date):
# %1$S = matches numbers 1-31 and number.x
until.ordinal.date =
from.noon = aamupäivällä
until.noon =
# LOCALIZATION NOTE (hour.only):
# %1$S = matches numbers 0-23 and number.0-number.23
# should not have "%1$S" as this would match any single number in email to a time
from.hour = kello %1$S | klo %1$S
# LOCALIZATION NOTE (until.hour):
# %1$S = matches numbers 0-23 and number.0-number.23
# should also list how to find end of a timeframe
until.hour = - %1$S | %1$S mennessä
# LOCALIZATION NOTE (hour.only.am):
# %1$S = matches numbers 0-23 and number.0-number.23
from.hour.am = %1$S aamupäivällä
# LOCALIZATION NOTE (until.hour.am):
# %1$S = matches numbers 0-23 and number.0-number.23
# should also list how to find end of a timeframe
until.hour.am =
# LOCALIZATION NOTE (hour.only.pm):
# %1$S = matches numbers 0-23 and number.0-number.23
from.hour.pm = %1$S iltapäivällä
# LOCALIZATION NOTE (until.hour.pm):
# %1$S = matches numbers 0-23 and number.0-number.23
# should also list how to find end of a timeframe
until.hour.pm =
# LOCALIZATION NOTE (from.half.hour.before):
# denotes times 30 minutes before next full hour
from.half.hour.before = puoli %1$S
# LOCALIZATION NOTE (until.half.hour.before):
# denotes times 30 minutes before next full hour
until.half.hour.before =
# LOCALIZATION NOTE (from.half.hour.after):
# denotes times 30 minutes after last full hour
from.half.hour.after = puoli yli %1$S
# LOCALIZATION NOTE (until.half.hour.after):
# denotes times 30 minutes after last full hour
until.half.hour.after =
# LOCALIZATION NOTE (hour.minutes):
# %1$S = matches numbers 0-23
# %2$S = matches numbers 0-59
from.hour.minutes = %1$S:%2$S | %1$S.%2$S
# LOCALIZATION NOTE (until.hour.minutes):
# %1$S = matches numbers 0-23
# %2$S = matches numbers 0-59
until.hour.minutes =
# LOCALIZATION NOTE (hour.minutes.am):
# %1$S = matches numbers 0-23
# %2$S = matches numbers 0-59
from.hour.minutes.am = %1$S:%2$S aamupäivällä | %1$S.%2$S aamupäivällä
# LOCALIZATION NOTE (until.hour.minutes.am):
# %1$S = matches numbers 0-23
# %2$S = matches numbers 0-59
until.hour.minutes.am =
# LOCALIZATION NOTE (hour.minutes.pm):
# %1$S = matches numbers 0-23
# %2$S = matches numbers 0-59
from.hour.minutes.pm = %1$S:%2$S iltapäivällä | %1$S.%2$S iltapäivällä
# LOCALIZATION NOTE (until.hour.minutes.pm):
# %1$S = matches numbers 0-23
# %2$S = matches numbers 0-59
until.hour.minutes.pm =
# LOCALIZATION NOTE (monthname.day):
# %1$S = matches numbers 1-31 and number.x
# %2$S = matches monthname
from.monthname.day = %2$Sn %1$S | %1$S %2$Sta
# LOCALIZATION NOTE (until.monthname.day):
# %1$S = matches numbers 1-31
# %2$S = matches monthname
until.monthname.day =
# LOCALIZATION NOTE (month.day):
# %1$S = matches numbers 1-31
# %2$S = matches numbers 1-12
from.month.day = %1$S.%2$S.
# LOCALIZATION NOTE (until.month.day):
# %1$S = matches numbers 1-31 and number.x
# %2$S = matches numbers 1-12
until.month.day =
# LOCALIZATION NOTE (year.month.day):
# %1$S = matches numbers 1-31
# %2$S = matches numbers 1-12
# %3$S = matches 2/4 numbers
from.year.month.day = %1$S.%2$S.%3$S | %3$S-%2$S-%1$S
# LOCALIZATION NOTE (until.year.month.day):
# %1$S = matches numbers 1-31
# %2$S = matches numbers 1-12
# %3$S = matches 2/4 numbers
until.year.month.day =
# LOCALIZATION NOTE (year.monthname.day):
# %1$S = matches numbers 1-31
# %2$S = matches monthname
# %3$S = matches 2/4 numbers
from.year.monthname.day = %1$S %2$Sta %3$S
# LOCALIZATION NOTE (until.year.monthname.day):
# %1$S = matches numbers 1-31
# %2$S = matches monthname
# %3$S = matches 2/4 numbers
until.year.monthname.day =
# LOCALIZATION NOTE (duration.*):
# can be a list of values, separate variants by |
# LOCALIZATION NOTE (duration.minutes):
# %1$S = matches 1/2 numbers and number.0 - and number.31
duration.minutes = %1$S minuuttia | %1$S min
# LOCALIZATION NOTE (duration.hours):
# %1$S = matches 1/2 numbers and number.0 - and number.31
duration.hours = %1$S tunti | %1$S tuntia
# LOCALIZATION NOTE (duration.days):
# %1$S = matches 1/2 numbers and number.0 - and number.31
duration.days = %1$S päivää
# LOCALIZATION NOTE (month.*):
# can be a list of values, separate variants by |
month.1 = tammikuu | tammi
month.2 = helmikuu | helmi
month.3 = maaliskuu | maalis
month.4 = huhtikuu | huhti
month.5 = toukokuu | touko
month.6 = kesäkuu | kesä
month.7 = heinäkuu | heinä
month.8 = elokuu | elo
month.9 = syyskuu | syys
month.10 = lokakuu | loka
month.11 = marraskuu | marras
month.12 = joulukuu | joulu
# LOCALIZATION NOTE (weekday.*):
# used to derive start date based on weekdays mentioned
# can be a list of values, separate variants by |
# LOCALIZATION NOTE (weekday.0):
# Regardless of what the first day of the week is in your country, 0 is Sunday here.
from.weekday.0 = sunnuntai | sunnuntait
from.weekday.1 = maanantai | maanantait
from.weekday.2 = tiistai | tiistait
from.weekday.3 = keskiviikko | keskiviikot
from.weekday.4 = torstai | torstait
from.weekday.5 = perjantai | perjantait
from.weekday.6 = lauantai | lauantait
# LOCALIZATION NOTE (until.weekday.*):
# used to derive end date based on weekdays mentioned
# can be a list of values, separate variants by |
# LOCALIZATION NOTE (until.weekday.0):
# Regardless of what the first day of the week is in your country, 0 is Sunday here.
until.weekday.0 =
until.weekday.1 =
until.weekday.2 =
until.weekday.3 =
until.weekday.4 =
until.weekday.5 =
until.weekday.6 =
# LOCALIZATION NOTE (number.*):
# used within other patterns to understand dates where day of month isn't written with digits
# can be a list of values, separate variants by |
number.0 = nolla
number.1 = yksi | ensimmäinen
number.2 = kaksi | toinen
number.3 = kolme | kolmas
number.4 = neljä | neljäs
number.5 = viisi | viides
number.6 = kuusi | kuudes
number.7 = seitsemän | seitsemäs
number.8 = kahdeksan | kahdeksas
number.9 = yhdeksän | yhdeksäs
number.10 = kymmenen | kymmenes
number.11 = yksitoista | yhdestoista
number.12 = kaksitoista | kahdestoista
number.13 = kolmetoista | kolmastoista
number.14 = neljätoista | neljästoista
number.15 = viisitoista | viidestoista
number.16 = kuusitoista | kuudestoista
number.17 = seitsemäntoista | seitsemästoista
number.18 = kahdeksantoista | kahdeksastoista
number.19 = yhdeksäntoista | yhdeksästoista
number.20 = kaksikymmentä | kahdeskymmenes
number.21 = kaksikymmentäyksi | kahdeskymmenesensimmäinen
number.22 = kaksikymmentäkaksi | kahdeskymmenestoinen
number.23 = kaksikymmentäkolme | kahdeskymmeneskolmas
number.24 = kaksikymmentäneljä | kahdeskymmenesneljäs
number.25 = kaksikymmentäviisi | kahdeskymmenesviides
number.26 = kaksikymmentäkuusi | kahdeskymmeneskuudes
number.27 = kaksikymmentäseitsemän | kahdeskymmenesseitsemäs
number.28 = kaksikymmentäkahdeksan | kahdeskymmeneskahdeksas
number.29 = kaksikymmentäyhdeksän | kahdeskymmenesyhdeksäs
number.30 = kolmekymmentä | kolmaskymmenes
number.31 = kolmekymmentäyksi | kolmaskymmenesensimmäinen
# LOCALIZATION NOTE (alphabet):
# list all lower and uppercase letters if your language has an alphabet
# otherwise leave it empty
alphabet = abcdefghijklmnopqrstuvwxyzåäöABCDEFGHIJKLMNOPQRSTUVWXYZÅÄÖ
|