-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 #258 from lamartire/master
Add georgian locales
- Loading branch information
Showing
1 changed file
with
27 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,27 @@ | ||
import dayjs from 'dayjs' | ||
|
||
const locale = { | ||
name: 'ka', | ||
weekdays: 'კვირა_ორშაბათი_სამშაბათი_გარემო_ხუთშაბათი_პარასკევი_შაბათს'.split('_'), | ||
months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'), | ||
relativeTime: { | ||
future: '%s შემდეგ', | ||
past: '%s წინ', | ||
s: 'წამი', | ||
m: 'წუთი', | ||
mm: '%d წუთი', | ||
h: 'საათი', | ||
hh: '%d საათის', | ||
d: 'დღეს', | ||
dd: '%d დღის განმავლობაში', | ||
M: 'თვის', | ||
MM: '%d თვის', | ||
y: 'წელი', | ||
yy: '%d წლის' | ||
}, | ||
ordinal: n => n | ||
} | ||
|
||
dayjs.locale(locale, null, true) | ||
|
||
export default locale |