]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[Lang fr] Fixed typo 614/head
authorFrancis Besset <francis.besset@gmail.com>
Fri, 8 Feb 2013 17:36:06 +0000 (18:36 +0100)
committerFrancis Besset <francis.besset@gmail.com>
Fri, 8 Feb 2013 17:36:06 +0000 (18:36 +0100)
lang/fr.js
test/lang/fr.js

index f0b569d3340ef656c32ee7563eeda7d6d727a92e..1db25b586515443797b5c43609c820d7f487cefc 100644 (file)
@@ -35,7 +35,7 @@ require('../moment').lang('fr', {
         dd : "%d jours",
         M : "un mois",
         MM : "%d mois",
-        y : "une an",
+        y : "un an",
         yy : "%d ans"
     },
     ordinal : function (number) {
index a8987c4d26806bd8ec327b01a67e3964f843c961..2951b2df9679b5623f1f2e17648475fcc2c171cd 100644 (file)
@@ -164,10 +164,10 @@ exports["lang:fr"] = {
         test.equal(start.from(moment([2007, 1, 28]).add({M:1}), true),   "un mois",    "1 month = a month");
         test.equal(start.from(moment([2007, 1, 28]).add({M:5}), true),   "5 mois",   "5 months = 5 months");
         test.equal(start.from(moment([2007, 1, 28]).add({d:344}), true), "11 mois",  "344 days = 11 months");
-        test.equal(start.from(moment([2007, 1, 28]).add({d:345}), true), "une an",     "345 days = a year");
-        test.equal(start.from(moment([2007, 1, 28]).add({d:547}), true), "une an",     "547 days = a year");
+        test.equal(start.from(moment([2007, 1, 28]).add({d:345}), true), "un an",     "345 days = a year");
+        test.equal(start.from(moment([2007, 1, 28]).add({d:547}), true), "un an",     "547 days = a year");
         test.equal(start.from(moment([2007, 1, 28]).add({d:548}), true), "2 ans",    "548 days = 2 years");
-        test.equal(start.from(moment([2007, 1, 28]).add({y:1}), true),   "une an",     "1 year = a year");
+        test.equal(start.from(moment([2007, 1, 28]).add({y:1}), true),   "un an",     "1 year = a year");
         test.equal(start.from(moment([2007, 1, 28]).add({y:5}), true),   "5 ans",    "5 years = 5 years");
         test.done();
     },