forked from andresaraujo/timeago.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
km_messages.dart
73 lines (71 loc) · 2.09 KB
/
km_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';
/// Cambodian messages
class KmMessages 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() => '';
}
/// Cambodian short messages
class KmShortMessages 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
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() => '';
}