UNPKG

@bull-board/ui

Version:

A Dashboard UI built on top of bull or bullmq.

1 lines 2.03 kB
"use strict";(self.webpackChunk_bull_board_ui=self.webpackChunk_bull_board_ui||[]).push([["59158"],{37205(e,u){function n(e){return e.replace(/sekuntia?/,"sekunnin")}function t(e){return e.replace(/minuuttia?/,"minuutin")}function o(e){return e.replace(/tuntia?/,"tunnin")}function i(e){return e.replace(/(viikko|viikkoa)/,"viikon")}function r(e){return e.replace(/(kuukausi|kuukautta)/,"kuukauden")}function a(e){return e.replace(/(vuosi|vuotta)/,"vuoden")}Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0;var s={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:n},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:n},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:function(e){return"puolen minuutin"}},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:t},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:t},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:o},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:o},xDays:{one:"p\xe4iv\xe4",other:"{{count}} p\xe4iv\xe4\xe4",futureTense:function(e){return e.replace(/päivää?/,"p\xe4iv\xe4n")}},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:i},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:i},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:r},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:r},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:a},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:a},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:a},almostXYears:{one:"l\xe4hes vuosi",other:"l\xe4hes {{count}} vuotta",futureTense:a}};u.default=function(e,u,n){var t=s[e],o=1===u?t.one:t.other.replace("{{count}}",String(u));if(null!=n&&n.addSuffix)if(n.comparison&&n.comparison>0)return t.futureTense(o)+" kuluttua";else return o+" sitten";return o},e.exports=u.default}}]);