forked from andresaraujo/timeago.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dv_messages.dart
74 lines (72 loc) · 2.11 KB
/
dv_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
74
import 'package:timeago/src/messages/lookupmessages.dart';
/// Divehi Messages
class DvMessages implements LookupMessages {
@override
String prefixAgo() => '';
@override
String prefixFromNow() => '';
@override
String suffixAgo() => 'ކުރިން';
@override
String suffixFromNow() => 'ފަހުން';
@override
String lessThanOneMinute(int seconds) => 'ހިނދުކޮޅެއް';
@override
String aboutAMinute(int minutes) => 'މިނެޓެއް ހާއިރު';
@override
String minutes(int minutes) => '$minutes މިނެޓު';
@override
String aboutAnHour(int minutes) => 'ގަޑިއިރެއް ހާއިރު';
@override
String hours(int hours) => '$hours ގަޑިއިރު';
@override
String aDay(int hours) => 'އެއް ދުވަސް';
@override
String days(int days) => '$days ދުވަސް';
@override
String aboutAMonth(int days) => 'މަހެއް ހާ ދުވަސް';
@override
String months(int months) => '$months މަސް';
@override
String aboutAYear(int year) => 'އަހަރެއް ހާ ދުވަސް';
@override
String years(int years) => '$years އަހަރު';
@override
String wordSeparator() => ' ';
}
/// Divehi short Messages
class DvShortMessages implements LookupMessages {
@override
String prefixAgo() => '';
@override
String prefixFromNow() => '';
@override
String suffixAgo() => '';
@override
String suffixFromNow() => '';
@override
String lessThanOneMinute(int seconds) => 'މިހާރު';
@override
String aboutAMinute(int minutes) => '1 މިނެޓް';
@override
String minutes(int minutes) => '$minutes މިނެޓް';
@override
String aboutAnHour(int minutes) => '~1 ގ';
@override
@override
String hours(int hours) => '$hours ގ';
@override
String aDay(int hours) => '~1 ދުވަސް';
@override
String days(int days) => '$days ދުވަސް';
@override
String aboutAMonth(int days) => '~1 މަސް';
@override
String months(int months) => '$months މަސް';
@override
String aboutAYear(int year) => '~1 އަހަރު';
@override
String years(int years) => '$years އަހަރު';
@override
String wordSeparator() => ' ';
}