Skip to content

Commit

Permalink
Added italian translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed Oct 26, 2015
1 parent d05a549 commit de82b90
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#PHP Humanizer

[![Build Status](https://travis-ci.org/coduo/php-humanizer.svg?branch=master)](https://travis-ci.org/coduo/php-humanizer)
[![Latest Stable Version](https://poser.pugx.org/coduo/php-humanizer/v/stable)](https://packagist.org/packages/coduo/php-humanizer)
[![Total Downloads](https://poser.pugx.org/coduo/php-humanizer/downloads)](https://packagist.org/packages/coduo/php-humanizer)
[![Latest Unstable Version](https://poser.pugx.org/coduo/php-humanizer/v/unstable)](https://packagist.org/packages/coduo/php-humanizer)
[![Latest Stable Version](https://poser.pugx.org/coduo/php-humanizer/v/stable)](https://packagist.org/packages/coduo/php-humanizer)
[![Total Downloads](https://poser.pugx.org/coduo/php-humanizer/downloads)](https://packagist.org/packages/coduo/php-humanizer)
[![Latest Unstable Version](https://poser.pugx.org/coduo/php-humanizer/v/unstable)](https://packagist.org/packages/coduo/php-humanizer)
[![License](https://poser.pugx.org/coduo/php-humanizer/license)](https://packagist.org/packages/coduo/php-humanizer)

Humanize values to make them readable for regular people ;)
Expand Down Expand Up @@ -180,6 +180,7 @@ Currently we support following languages:
* [Turkish](src/Coduo/PHPHumanizer/Resources/translations/difference.tr.yml)
* [French](src/Coduo/PHPHumanizer/Resources/translations/difference.fr.yml)
* [Português - Brasil](src/Coduo/PHPHumanizer/Resources/translations/difference.pt_BR.yml)
* [Italian](src/Coduo/PHPHumanizer/Resources/translations/difference.it.yml)

# Credits

Expand Down
35 changes: 35 additions & 0 deletions src/Coduo/PHPHumanizer/Resources/translations/difference.it.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
just_now:
past: "[0,Inf] adesso"
future: "[0,Inf] adesso"
second:
past: "{1} %count% secondo fa|[2,Inf] %count% secondi fa"
future: "{1} %count% secondo da adesso|[2,Inf] %count% secondi da adesso"
minute:
past: "{1} %count% minuto fa|[2,Inf] %count% minuti fa"
future: "{1} %count% minuto da adesso|[2,Inf] %count% minuti da adesso"
hour:
past: "{1} %count% ora fa|[2,Inf] %count% ore fa"
future: "{1} %count% ora da adesso|[2,Inf] %count% ore da adesso"
day:
past: "{1} %count% giorno fa|[2,Inf] %count% giorni fa"
future: "{1} %count% giorno da adesso|[2,Inf] %count% giorni da adesso"
week:
past: "{1} %count% settimana fa|[2,Inf] %count% settimane fa"
future: "{1} %count% settimana da adesso|[2,Inf] %count% settimane da adesso"
month:
past: "{1} %count% mese fa|[2,Inf] %count% mesi fa"
future: "{1} %count% mese da adesso|[2,Inf] %count% mesi da adesso"
year:
past: "{1} %count% anno fa|[2,Inf] %count% anni fa"
future: "{1} %count% anno da adesso|[2,Inf] %count% anni da adesso"

compound:
second: "{1} %count% secondo|[2,Inf] %count% secondi"
minute: "{1} %count% minuto|[2,Inf] %count% minuti"
hour: "{1} %count% ora|[2,Inf] %count% ore"
day: "{1} %count% giorno|[2,Inf] %count% giorni"
week: "{1} %count% settimana|[2,Inf] %count% settimane"
month: "{1} %count% mese|[2,Inf] %count% mesi"
year: "{1} %count% anno|[2,Inf] %count% anni"
ago: "fa"
from_now: "da adesso"

0 comments on commit de82b90

Please sign in to comment.