UNPKG

timeago

Version:

jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago").

31 lines (30 loc) 841 B
(function (factory) { if (typeof define === 'function' && define.amd) { define(['jquery'], factory); } else if (typeof module === 'object' && typeof module.exports === 'object') { factory(require('jquery')); } else { factory(jQuery); } }(function (jQuery) { // Vietnamese jQuery.timeago.settings.strings = { prefixAgo: 'cách đây', prefixFromNow: null, suffixAgo: "trước", suffixFromNow: "kể từ bây giờ", seconds: "chưa đến một phút", minute: "khoảng một phút", minutes: "%d phút", hour: "khoảng một tiếng", hours: "khoảng %d tiếng", day: "một ngày", days: "%d ngày", month: "khoảng một tháng", months: "%d tháng", year: "khoảng một năm", years: "%d năm", wordSeparator: " ", numbers: [] }; }));