ngx-timeago
Version:
Live updating timestamps in Angular 6+.
16 lines (15 loc) • 616 B
JavaScript
export const strings = {
prefixAgo: 'לפני',
prefixFromNow: 'עוד',
seconds: 'פחות מדקה',
minute: 'דקה',
minutes: '%d דקות',
hour: 'שעה',
hours: function (number) { return (number === 2) ? 'שעתיים' : '%d שעות'; },
day: 'יום',
days: function (number) { return (number === 2) ? 'יומיים' : '%d ימים'; },
month: 'חודש',
months: function (number) { return (number === 2) ? 'חודשיים' : '%d חודשים'; },
year: 'שנה',
years: function (number) { return (number === 2) ? 'שנתיים' : '%d שנים'; },
};