forked from andresaraujo/timeago.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zh_messages.dart
37 lines (36 loc) · 1 KB
/
zh_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
import 'package:timeago/src/messages/lookupmessages.dart';
/// Chinese messages
class ZhMessages 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() => ' ';
}