Skip to content

Commit

Permalink
Merge pull request #25 from nickolay-yakovliev/master
Browse files Browse the repository at this point in the history
Support de locale
  • Loading branch information
catamphetamine committed Nov 4, 2019
2 parents 92f8208 + 47e316d commit 43060d7
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
34 changes: 34 additions & 0 deletions locale-more-styles/de/long-time.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"year": {
"one": "{0} Jahr",
"other": "{0} Jahre"
},
"month": {
"one": "{0} Monat",
"other": "{0} Monate"
},
"week": {
"one": "{0} Woche",
"other": "{0} Wochen"
},
"day": {
"one": "{0} Tag",
"other": "{0} Tage"
},
"hour": {
"one": "{0} Stunde",
"other": "{0} Stunden"
},
"minute": {
"one": "{0} Minute",
"other": "{0} Minuten"
},
"second": {
"one": "{0} Sekunde",
"other": "{0} Sekunden"
},
"now": {
"future": "in einem Moment",
"past": "gerade jetzt"
}
}
2 changes: 2 additions & 0 deletions locale/de/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module.exports = {
long: locale.long,
short: locale.short,
narrow: locale.narrow,
// Additional styles.
'long-time': require('../../locale-more-styles/de/long-time.json'),
// Quantifier.
quantify: locale.quantify
}

0 comments on commit 43060d7

Please sign in to comment.