-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Showing
2 changed files
with
22 additions
and
4 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,18 @@ | ||
module.exports = function(number, index) { | ||
return [ | ||
['poco fa', 'tra poco'], | ||
['%s secondi fa', '%s secondi da ora'], | ||
['un minuto fa', 'un minuto da ora'], | ||
['%s minuti fa', '%s minuti da ora'], | ||
['un\'ora fa', 'un\'ora da ora'], | ||
['%s ore fa', '%s ore da ora'], | ||
['un giorno fa', 'un giorno da ora'], | ||
['%s giorni fa', '%s giorni da ora'], | ||
['una settimana fa', 'una settimana da ora'], | ||
['%s settimane fa', '%s settimane da ora'], | ||
['un mese fa', 'un mese da ora'], | ||
['%s mesi fa', '%s mesi da ora'], | ||
['un anno fa', 'un anno da ora'], | ||
['%s anni fa', '%s anni da ora'] | ||
][index]; | ||
} |
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