-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bbf6605
commit 5c98467
Showing
1 changed file
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import 'package:timeago/src/messages/lookupmessages.dart'; | ||
|
||
/// Serbian Messages | ||
class SrMessages 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) => '~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() => ' '; | ||
} | ||
|
||
/// Serbian short Messages | ||
class SrShortMessages 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() => ' '; | ||
} |