-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from leszekkrol/patch-5
Added Polish locale
- Loading branch information
Showing
2 changed files
with
22 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,20 @@ | ||
import 'package:jiffy/src/relative_time/lookup_messages.dart'; | ||
|
||
class PlLocale extends LookUpMessages { | ||
String prefixAgo() => ''; | ||
String prefixFromNow() => 'w'; | ||
String suffixAgo() => 'temu'; | ||
String suffixFromNow() => ''; | ||
String lessThanOneMinute(int seconds) => 'chwilę temu'; | ||
String aboutAMinute(int minutes) => 'minutę temu'; | ||
String minutes(int minutes) => '$minutes min'; | ||
String aboutAnHour(int minutes) => 'godzinę temu'; | ||
String hours(int hours) => '$hours h'; | ||
String aDay(int hours) => 'dzień temu'; | ||
String days(int days) => '$days dni'; | ||
String aboutAMonth(int days) => 'miesiąc temu'; | ||
String months(int months) => '$months msc'; | ||
String aboutAYear(int year) => 'rok temu'; | ||
String years(int years) => '$years lat'; | ||
String wordSeparator() => ' '; | ||
} |
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