UNPKG

react-timeago

Version:

A simple Time-Ago component for ReactJs

18 lines (14 loc) 699 B
/* @flow */ import type { L10nsStrings } from '../formatters/buildFormatter' // Finnish declare const strings: L10nsStrings declare export default typeof strings // The above is not a great localization because one would usually // write "2 days ago" in Finnish as "2 päivää sitten", however // one would write "2 days into the future" as "2:n päivän päästä" // which cannot be achieved with localization support this simple. // This is because Finnish has word suffixes (attached directly // to the end of the word). The word "day" is "päivä" in Finnish. // As workaround, the above localizations will say // "2 päivää tulevaisuudessa" which is understandable but // not as fluent.