From: Kridsada Thanabulpong Date: Sun, 9 Dec 2012 23:23:34 +0000 (+0700) Subject: Better wording for past. X-Git-Tag: 2.0.0~30^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F543%2Fhead;p=thirdparty%2Fmoment.git Better wording for past. --- diff --git a/lang/th.js b/lang/th.js index 98b213114..517aeff2a 100644 --- a/lang/th.js +++ b/lang/th.js @@ -32,7 +32,7 @@ }, relativeTime : { future : "อีก %s", - past : "%sที่ผ่านมา", + past : "%sที่แล้ว", s : "ไม่กี่วินาที", m : "1 นาที", mm : "%d นาที", diff --git a/test/lang/th.js b/test/lang/th.js index a59bf5e27..2a856e009 100644 --- a/test/lang/th.js +++ b/test/lang/th.js @@ -131,13 +131,13 @@ exports["lang:th"] = { "suffix" : function(test) { test.expect(2); test.equal(moment(30000).from(0), "อีก ไม่กี่วินาที", "prefix"); - test.equal(moment(0).from(30000), "ไม่กี่วินาทีที่ผ่านมา", "suffix"); + test.equal(moment(0).from(30000), "ไม่กี่วินาทีที่แล้ว", "suffix"); test.done(); }, "now from now" : function(test) { test.expect(1); - test.equal(moment().fromNow(), "ไม่กี่วินาทีที่ผ่านมา", "now from now should display as in the past"); + test.equal(moment().fromNow(), "ไม่กี่วินาทีที่แล้ว", "now from now should display as in the past"); test.done(); },