summaryrefslogtreecommitdiff
path: root/locales/jquery.timeago.fi.js
blob: b5f7e696def38aaae7595012be0d2cbb5ab0622a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(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) {
  // Finnish
  jQuery.timeago.settings.strings = {
    prefixAgo: null,
    prefixFromNow: null,
    suffixAgo: "sitten",
    suffixFromNow: "tulevaisuudessa",
    seconds: "alle minuutti",
    minute: "minuutti",
    minutes: "%d minuuttia",
    hour: "tunti",
    hours: "%d tuntia",
    day: "päivä",
    days: "%d päivää",
    month: "kuukausi",
    months: "%d kuukautta",
    year: "vuosi",
    years: "%d vuotta"
  };
  
  // 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.
}));