-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Vietnamese vi locale * Add Vietnamese vi locale * Add Vietnamese vi locale Co-authored-by: Kris Luu <krisluu@Kriss-MacBook-Pro.local>
- Loading branch information
Kris
and
Kris Luu
authored
Oct 12, 2020
1 parent
cfbb443
commit 08dd489
Showing
2 changed files
with
36 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
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,35 @@ | ||
// Copyright (c) 2016, rinukkusu. All rights reserved. Use of this source code | ||
// is governed by a BSD-style license that can be found in the LICENSE file. | ||
|
||
import '../localedata.dart'; | ||
import '../identifier_position.dart'; | ||
|
||
class LocaleVi implements ILocaleData { | ||
final String _localeString; | ||
String get localeString => _localeString; | ||
|
||
LocaleVi([this._localeString = "vi"]); | ||
|
||
String get seconds => 'vài giây'; | ||
|
||
String get aMinute => 'một phút'; | ||
String get minutes => '%i phút'; | ||
|
||
String get anHour => 'một giờ'; | ||
String get hours => '%i giờ'; | ||
|
||
String get aDay => 'một ngày'; | ||
String get days => '%i ngày'; | ||
|
||
String get aMonth => 'một tháng'; | ||
String get months => '%i tháng'; | ||
|
||
String get aYear => 'một năm'; | ||
String get years => '%i năm'; | ||
|
||
String get futureIdentifier => 'tới'; | ||
String get pastIdentifier => 'trước'; | ||
|
||
IdentifierPosition get futurePosition => IdentifierPosition.append; | ||
IdentifierPosition get pastPosition => IdentifierPosition.append; | ||
} |