From: Iskren Chernev Date: Thu, 5 Dec 2013 21:36:44 +0000 (-0800) Subject: Backing out merged pull requests in master X-Git-Tag: 2.5.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d1187127a8f194dbd807986cfc868e2fbfbc0f0;p=thirdparty%2Fmoment.git Backing out merged pull requests in master Backed out PRs: #1308 #1312 #1333 --- diff --git a/lang/it.js b/lang/it.js index 84b7698be..5b8a99fb1 100644 --- a/lang/it.js +++ b/lang/it.js @@ -38,7 +38,7 @@ return ((/^[0-9].+$/).test(s) ? "tra" : "in") + " " + s; }, past : "%s fa", - s : "alcuni secondi", + s : "secondi", m : "un minuto", mm : "%d minuti", h : "un'ora", diff --git a/package.json b/package.json index 8ac497d09..f584bf3fe 100644 --- a/package.json +++ b/package.json @@ -52,14 +52,5 @@ "test": "grunt" }, "ender": "./ender.js", - "dojoBuild": "package.js", - "jspm": { - "files": ["moment.js", "lang"], - "map": { - "moment": "./moment" - }, - "buildConfig": { - "uglify": true - } - } + "dojoBuild": "package.js" } diff --git a/test/lang/it.js b/test/lang/it.js index 321a5805e..8495b96eb 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), "alcuni secondi", "44 seconds = seconds"); + 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: 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 alcuni secondi", "prefix"); - test.equal(moment(0).from(30000), "alcuni secondi fa", "suffix"); + test.equal(moment(30000).from(0), "in secondi", "prefix"); + test.equal(moment(0).from(30000), "secondi fa", "suffix"); test.done(); }, "fromNow" : function (test) { test.expect(2); - test.equal(moment().add({s: 30}).fromNow(), "in alcuni secondi", "in seconds"); + test.equal(moment().add({s: 30}).fromNow(), "in secondi", "in seconds"); test.equal(moment().add({d: 5}).fromNow(), "tra 5 giorni", "in 5 days"); test.done(); },