From de82b90dd07e26273b0d4664a7a9c7fec7bc91a4 Mon Sep 17 00:00:00 2001 From: omissis Date: Mon, 26 Oct 2015 15:26:59 +0100 Subject: [PATCH] Added italian translations. --- README.md | 7 ++-- .../Resources/translations/difference.it.yml | 35 +++++++++++++++++++ 2 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 src/Coduo/PHPHumanizer/Resources/translations/difference.it.yml diff --git a/README.md b/README.md index b3c9c41..e5d6ed7 100644 --- a/README.md +++ b/README.md @@ -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 ;) @@ -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 diff --git a/src/Coduo/PHPHumanizer/Resources/translations/difference.it.yml b/src/Coduo/PHPHumanizer/Resources/translations/difference.it.yml new file mode 100644 index 0000000..ac3e622 --- /dev/null +++ b/src/Coduo/PHPHumanizer/Resources/translations/difference.it.yml @@ -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"