Open nkbt opened 7 years ago
happened because of
const translationsTemplates = ngettext => ({ hours: num => ngettext`one hour|${{num}} hours`, days: num => ngettext`one day|${{num}} days`, weeks: num => ngettext`one week|${{num}} weeks`, months: num => ngettext`one month|${{num}} months`, years: num => ngettext`one year|${{num}} years` });
So it is fixed with
hours: num => ngettext(num)`one hour|${{num}} hours`
Per #15 this error case will be caught because it does not match ngettext(integer) invocation.
ngettext(integer)
happened because of
So it is fixed with