forked from andresaraujo/timeago.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathde_messages.dart
73 lines (71 loc) · 1.89 KB
/
de_messages.dart
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
import 'package:timeago/src/messages/lookupmessages.dart';
/// German Messages
class DeMessages implements LookupMessages {
@override
String prefixAgo() => 'vor';
@override
String prefixFromNow() => 'in';
@override
String suffixAgo() => '';
@override
String suffixFromNow() => '';
@override
String lessThanOneMinute(int seconds) => 'weniger als einer Minute';
@override
String aboutAMinute(int minutes) => 'einer Minute';
@override
String minutes(int minutes) => '$minutes Minuten';
@override
String aboutAnHour(int minutes) => '~1 Stunde';
@override
String hours(int hours) => '$hours Stunden';
@override
String aDay(int hours) => '~1 Tag';
@override
String days(int days) => '$days Tagen';
@override
String aboutAMonth(int days) => '~1 Monat';
@override
String months(int months) => '$months Monaten';
@override
String aboutAYear(int year) => '~1 Jahr';
@override
String years(int years) => '$years Jahren';
@override
String wordSeparator() => ' ';
}
/// German short Messages
class DeShortMessages implements LookupMessages {
@override
String prefixAgo() => '';
@override
String prefixFromNow() => '';
@override
String suffixAgo() => '';
@override
String suffixFromNow() => '';
@override
String lessThanOneMinute(int seconds) => 'Jetzt';
@override
String aboutAMinute(int minutes) => '1 Min.';
@override
String minutes(int minutes) => '$minutes Min.';
@override
String aboutAnHour(int minutes) => '~1 Std.';
@override
String hours(int hours) => '$hours Std.';
@override
String aDay(int hours) => '~1 Tg.';
@override
String days(int days) => '$days Tg.';
@override
String aboutAMonth(int days) => '~1 Mo.';
@override
String months(int months) => '$months Mo.';
@override
String aboutAYear(int year) => '~1 Jr.';
@override
String years(int years) => '$years Jr.';
@override
String wordSeparator() => ' ';
}