forked from andresaraujo/timeago.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathja_messages.dart
37 lines (36 loc) · 1008 Bytes
/
ja_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';
/// Japanese messages
class JaMessages implements LookupMessages {
@override
String prefixAgo() => '';
@override
String prefixFromNow() => '今から';
@override
String suffixAgo() => '前';
@override
String suffixFromNow() => '後';
@override
String lessThanOneMinute(int seconds) => '${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() => '';
}