jquery.timeago.fi.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. (function (factory) {
  2. if (typeof define === 'function' && define.amd) {
  3. define(['jquery'], factory);
  4. } else if (typeof module === 'object' && typeof module.exports === 'object') {
  5. factory(require('jquery'));
  6. } else {
  7. factory(jQuery);
  8. }
  9. }(function (jQuery) {
  10. // Finnish
  11. jQuery.timeago.settings.strings = {
  12. prefixAgo: null,
  13. prefixFromNow: null,
  14. suffixAgo: "sitten",
  15. suffixFromNow: "tulevaisuudessa",
  16. seconds: "alle minuutti",
  17. minute: "minuutti",
  18. minutes: "%d minuuttia",
  19. hour: "tunti",
  20. hours: "%d tuntia",
  21. day: "päivä",
  22. days: "%d päivää",
  23. month: "kuukausi",
  24. months: "%d kuukautta",
  25. year: "vuosi",
  26. years: "%d vuotta"
  27. };
  28. // The above is not a great localization because one would usually
  29. // write "2 days ago" in Finnish as "2 päivää sitten", however
  30. // one would write "2 days into the future" as "2:n päivän päästä"
  31. // which cannot be achieved with localization support this simple.
  32. // This is because Finnish has word suffixes (attached directly
  33. // to the end of the word). The word "day" is "päivä" in Finnish.
  34. // As workaround, the above localizations will say
  35. // "2 päivää tulevaisuudessa" which is understandable but
  36. // not as fluent.
  37. }));