🚀 RELEASE: HESK v3.1.1
Signed-off-by: Luke Tainton <Luke.Tainton@mail.bcu.ac.uk>
This commit is contained in:
committed by
Luke Tainton
parent
d7fc040b1e
commit
e0d6aa511b
38
hesk/js/timeago/locales/jquery.timeago.fi.js
Normal file
38
hesk/js/timeago/locales/jquery.timeago.fi.js
Normal file
@@ -0,0 +1,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.
|
||||
}));
|
||||
Reference in New Issue
Block a user