tlvince-react-timeago
Version:
A simple Time-Ago component for ReactJs
22 lines (19 loc) • 701 B
Flow
/* @flow */
import type {L10nsStrings} from '../formatters/buildFormatter'
// Hebrew
const strings: L10nsStrings = {
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 שנים' }
}
export default strings