From: antonellopasella Date: Tue, 26 Nov 2013 09:46:55 +0000 (+0100) Subject: Testing the new translation for "fer seconds" X-Git-Tag: 2.5.0~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76d5f44039e06e5ae4756b8f201f35ba71ac58e1;p=thirdparty%2Fmoment.git Testing the new translation for "fer seconds" --- diff --git a/test/lang/it.js b/test/lang/it.js index 8495b96eb..321a5805e 100644 --- a/test/lang/it.js +++ b/test/lang/it.js @@ -136,7 +136,7 @@ exports["lang:it"] = { test.expect(30); var start = moment([2007, 1, 28]); - test.equal(start.from(moment([2007, 1, 28]).add({s: 44}), true), "secondi", "44 seconds = seconds"); + test.equal(start.from(moment([2007, 1, 28]).add({s: 44}), true), "alcuni secondi", "44 seconds = seconds"); test.equal(start.from(moment([2007, 1, 28]).add({s: 45}), true), "un minuto", "45 seconds = a minute"); test.equal(start.from(moment([2007, 1, 28]).add({s: 89}), true), "un minuto", "89 seconds = a minute"); test.equal(start.from(moment([2007, 1, 28]).add({s: 90}), true), "2 minuti", "90 seconds = 2 minutes"); @@ -172,15 +172,15 @@ exports["lang:it"] = { "suffix" : function (test) { test.expect(2); - test.equal(moment(30000).from(0), "in secondi", "prefix"); - test.equal(moment(0).from(30000), "secondi fa", "suffix"); + test.equal(moment(30000).from(0), "in alcuni secondi", "prefix"); + test.equal(moment(0).from(30000), "alcuni secondi fa", "suffix"); test.done(); }, "fromNow" : function (test) { test.expect(2); - test.equal(moment().add({s: 30}).fromNow(), "in secondi", "in seconds"); + test.equal(moment().add({s: 30}).fromNow(), "in alcuni secondi", "in seconds"); test.equal(moment().add({d: 5}).fromNow(), "tra 5 giorni", "in 5 days"); test.done(); },