]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Fixing french locale Aujourd'hui instead of Ajourd'hui 193/head
authorHubert SABLONNIÈRE <hubert.sablonniere@gmail.com>
Sat, 3 Mar 2012 14:08:18 +0000 (15:08 +0100)
committerHubert SABLONNIÈRE <hubert.sablonniere@gmail.com>
Sat, 3 Mar 2012 14:08:18 +0000 (15:08 +0100)
lang/fr.js
test/lang/fr.js

index f0d8df7be3515d15c99cda335a4f46a9bdb5aad6..c9b08ed2b83f01086cf56378d6c11fc00ffe627c 100644 (file)
@@ -18,7 +18,7 @@
                 pm : 'pm'
             },
             calendar : {
-                sameDay: "[Ajourd'hui à] LT",
+                sameDay: "[Aujourd'hui à] LT",
                 nextDay: '[Demain à] LT',
                 nextWeek: 'dddd [à] LT',
                 lastDay: '[Hier à] LT',
index 8dd7619ae5b3af59394aa64fa4d31645d8e70830..f8fa098308cf40c7db3dcc61f4ce84d8fe815ef1 100644 (file)
@@ -180,11 +180,11 @@ exports["lang:fr"] = {
     
         var a = moment().hours(2).minutes(0).seconds(0);
     
-        test.equal(moment(a).calendar(),                     "Ajourd'hui à 02:00",     "today at the same time");
-        test.equal(moment(a).add({ m: 25 }).calendar(),      "Ajourd'hui à 02:25",     "Now plus 25 min");
-        test.equal(moment(a).add({ h: 1 }).calendar(),       "Ajourd'hui à 03:00",     "Now plus 1 hour");
+        test.equal(moment(a).calendar(),                     "Aujourd'hui à 02:00",    "today at the same time");
+        test.equal(moment(a).add({ m: 25 }).calendar(),      "Aujourd'hui à 02:25",    "Now plus 25 min");
+        test.equal(moment(a).add({ h: 1 }).calendar(),       "Aujourd'hui à 03:00",    "Now plus 1 hour");
         test.equal(moment(a).add({ d: 1 }).calendar(),       "Demain à 02:00",         "tomorrow at the same time");
-        test.equal(moment(a).subtract({ h: 1 }).calendar(),  "Ajourd'hui à 01:00",     "Now minus 1 hour");
+        test.equal(moment(a).subtract({ h: 1 }).calendar(),  "Aujourd'hui à 01:00",    "Now minus 1 hour");
         test.equal(moment(a).subtract({ d: 1 }).calendar(),  "Hier à 02:00",           "yesterday at the same time");
         test.done();
     },