forked from andresaraujo/timeago.dart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fa_messages.dart
37 lines (36 loc) · 1.03 KB
/
fa_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';
/// Farsi Messages
class FaMessages 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() => ' ';
}